:root {
    color-scheme: dark;
    --card-border: rgba(0, 240, 255, 0.3);
    --card-border-hover: rgba(255, 94, 0, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --accent-orange: #ff5e00;
    --accent-blue: #00f0ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #02040a;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: flex-end; /* Push container to the right */
    align-items: center;
    padding: 2rem 0;
    position: relative;
    overflow-x: hidden;
    /* Luzes globais para integrar as pontas do site */
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 240, 255, 0.08), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 94, 0, 0.05), transparent 50%);
}

/* A Logo flutuando à esquerda perfeitamente integrada */
body::before {
    content: '';
    position: fixed;
    top: 50%; 
    left: 5%;
    transform: translateY(-50%);
    width: clamp(300px, 40vw, 600px); 
    height: clamp(300px, 40vw, 600px);
    background-image: url('assets/logo.png?v=3'); 
    background-size: contain; 
    background-position: center; 
    background-repeat: no-repeat;
    z-index: -1;
    mix-blend-mode: screen; 
    filter: contrast(1.2) brightness(1.1);
    /* Fading suave: Apaga as bordas quadradas transformando em um círculo que dissolve no fundo */
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 70%);
    mask-image: radial-gradient(circle at center, black 40%, transparent 70%);
}

.container {
    width: 100%;
    max-width: 1000px;
    padding: 0 4rem;
    position: relative;
    z-index: 1;
    /* Alinha o grid mais a direita, deixando a esquerda livre para o "F" */
    margin-left: auto;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 1.5rem;
}

h1, h2 {
    text-wrap: balance;
}

/* Cards Transparentes apenas com bordas */
.card {
    background: transparent; 
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(4px); /* Blur bem leve para não esconder o fundo */
    -webkit-backdrop-filter: blur(4px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--card-border-hover);
    box-shadow: inset 0 0 30px rgba(255, 94, 0, 0.1), 0 10px 30px rgba(0,0,0,0.5);
    background: rgba(0, 0, 0, 0.3); /* Escurece levemente no hover */
}

.card:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 4px;
}

.hero-card {
    grid-column: span 3;
    grid-row: span 2;
    justify-content: flex-end; 
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-height: 250px;
}

.hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 80%;
}

.product-card {
    grid-column: span 1;
    grid-row: span 1;
}

.product-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.4));
}

.highlight-card {
    grid-column: span 2;
    border-color: rgba(255, 94, 0, 0.4);
    box-shadow: inset 0 0 20px rgba(255, 94, 0, 0.05);
}

.info-card {
    grid-column: span 1;
    grid-row: span 1;
}

.info-card h3 {
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.5rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-top: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-blue);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 240, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

/* Responsivo */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-card {
        grid-column: span 2;
    }
    .container {
        padding: 0 2rem;
        margin-left: 0;
    }
    body::before {
        background-position: center;
        opacity: 0.4; /* Fica mais opaco no mobile para ler o texto em cima do F */
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        max-width: 100%;
    }
    .highlight-card {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .hero-card, .highlight-card, .product-card, .info-card {
        grid-column: span 1;
    }
}
