:root {
    --bg-dark: #030610;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --neon-cyan: #00f3ff;
    --neon-purple: #bc13fe;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --gradient-glow: linear-gradient(135deg, #00f3ff 0%, #bc13fe 100%);
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Space+Grotesk:wght@300;400;600;700&display=swap');

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

body {
    background-color: var(--bg-dark);
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Space Grotesk', sans-serif;
}

/* --- BACKGROUND --- */
.immersive-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: url('/imagems/hero_bg.png') no-repeat center center/cover;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* AUMENTO DRASTICO DE OPACIDADE: de 0.6 para 0.9 */
    background: radial-gradient(circle at center, rgba(3, 6, 16, 0.85) 0%, rgba(3, 6, 16, 0.98) 100%);
    z-index: -1;
}

/* --- PADRONIZAÇÃO DE CARDS (Estilo "Login Card") --- */
.hero-card,
.feature-card,
.segment-card,
.comparison-wrapper,
.about-box {
    background: rgba(10, 12, 20, 0.85);
    /* Fundo muito escuro e uniforme */
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    border-radius: 24px;
    padding: 2.5rem;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.hero-card:hover,
.feature-card:hover,
.segment-card:hover,
.about-box:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
}

/* Corrigindo textos específicos dentro dos cards novos */
.feature-card p,
.segment-card p,
.about-box p {
    color: #cbd5e1 !important;
    /* Cinza claro para leitura */
    font-size: 1rem;
    line-height: 1.7;
}

/* Títulos com sombra pesada para destacar do fundo */
.section-title,
.hero-title,
h1,
h2 {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

/* --- HEADER --- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    padding: 1.5rem 0;
    backdrop-filter: blur(10px);
    background: rgba(3, 6, 16, 0.7);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo span {
    font-family: 'Space Grotesk';
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--neon-cyan);
}

.nav-links .btn-cta {
    background: var(--gradient-glow);
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    margin-left: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nav-links .btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
    color: #000;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff 50%, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text .highlight {
    color: var(--neon-cyan);
    -webkit-text-fill-color: var(--neon-cyan);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
}

/* --- GLASS CARD FORM --- */
.hero-card {
    background: rgba(20, 25, 40, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.input-modern {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    margin-bottom: 1rem;
    font-family: 'Outfit';
    transition: all 0.3s;
}

.input-modern:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

.btn-start {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-glow);
    border: none;
    border-radius: 12px;
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(188, 19, 254, 0.4);
}

/* --- VISUALS --- */
.brain-visual {
    position: absolute;
    right: -10%;
    top: 20%;
    z-index: -1;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- CARDS GRID --- */
.features {
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.feature-card {
    background: rgba(3, 6, 16, 0.7);
    /* Fundo muito mais escuro para contraste */
    backdrop-filter: blur(10px);
    /* Blur para suavizar o fundo */
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card p {
    color: #e2e8f0 !important;
    /* Texto quase branco para leitura */
    font-size: 1rem;
    line-height: 1.6;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    background: rgba(3, 6, 16, 0.85);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Logo Enhanced */
.logo-img {
    height: 70px;
    /* Aumentado de 32px para 70px */
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
    transition: filter 0.3s;
    padding: 0;
}

.logo-img:hover {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

/* GNP Section */
.gnp-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.gnp-content {
    max-width: 1400px;
    /* Aumentado de 900px para caber 3 cards */
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
    z-index: 2;
    position: relative;
}

.gnp-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(188, 19, 254, 0.15);
    /* Fundo roxo suave */
    border: 1px solid var(--neon-purple);
    color: #fff;
    /* Texto branco para leitura */
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    /* Mais peso */
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.2);
    /* Glow */
}

/* Sections - General */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.section-subtitle {
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
    font-size: 1.1rem;
}

/* Comparison Table */
.comparison-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.comparison-wrapper {
    background: rgba(20, 25, 40, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.comp-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comp-row:last-child {
    border-bottom: none;
}

.comp-header {
    background: rgba(255, 255, 255, 0.03);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: #fff;
}

.comp-cell {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.comp-cell.move-col {
    background: rgba(0, 243, 255, 0.02);
    color: var(--neon-cyan);
    font-weight: 500;
    position: relative;
}

.comp-cell.move-col::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--neon-cyan);
    opacity: 0.5;
}

/* User Segments (B2C/B2B) */
.user-segments-section {
    padding: 6rem 0;
}

.segment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.segment-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    transition: all 0.3s;
}

/* Efeito de hover B2C */
.segment-card.b2c:hover {
    border-color: var(--neon-purple);
    box-shadow: 0 0 30px rgba(188, 19, 254, 0.1);
}

/* Efeito de hover B2B */
.segment-card.b2b:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
}

.segment-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.segment-list {
    list-style: none;
    margin-top: 2rem;
}

.segment-list li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.segment-list li::before {
    content: '✓';
    color: var(--neon-cyan);
    font-weight: bold;
}

/* Footer & About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: left;
}

.about-box h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.about-box p {
    color: var(--text-secondary);
}

/* --- OVERRIDE FINAL PARA DARK GLASS (LEGIBILIDADE MÁXIMA) --- */
.hero-card,
.feature-card,
.segment-card,
.comparison-wrapper,
.about-box {
    background: rgba(10, 12, 20, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(24px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
    border-radius: 20px;
    padding: 2.5rem;
}

.feature-card p,
.segment-card p,
.about-box p {
    color: #cbd5e1 !important;
    /* Texto claro garantido */
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-card {
        margin-top: 2rem;
    }

    .nav-links {
        display: none;
    }

    .comp-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .comp-cell {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .comp-header {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}