/**
 * landing.css — Engajex Landing Page
 * Depende de: design-tokens.css, cards.css (via style.css @import)
 */

/* ============================================================
   BASE DA PÁGINA
   ============================================================ */
body.page-landing {
    background: var(--slate-950);
    color: var(--slate-100);
    overflow-x: hidden;
}


/* ============================================================
   NAVBAR
   ============================================================ */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: 1.125rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.landing-nav.scrolled {
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.landing-nav__logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.landing-nav__logo img {
    height: 32px;
    width: auto;
}

.landing-nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.landing-nav__links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-300);
    text-decoration: none;
    transition: color 0.15s ease;
}

.landing-nav__links a:hover {
    color: white;
}

.landing-nav__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.landing-nav__btn-outline {
    padding: 0.5rem 1.125rem;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-200);
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease;
    background: transparent;
}

.landing-nav__btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.landing-nav__btn-primary {
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--indigo-600), var(--violet-600));
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.3);
}

.landing-nav__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

/* Hamburger mobile */
.landing-nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.25rem;
}

.landing-nav__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate-300);
    border-radius: 2px;
    transition: all 0.3s ease;
}


/* ============================================================
   HERO
   ============================================================ */
.landing-hero {
    min-height: 100vh;
    padding: 8rem 5% 5rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Gradiente de fundo */
.landing-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99, 102, 241, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 60%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        var(--slate-950);
    z-index: 0;
}

/* Grade decorativa */
.landing-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 75%);
}

.landing-hero__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

/* Badge topo */
.landing-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--indigo-300);
    margin-bottom: 1.75rem;
    animation: fadeInDown 0.6s ease both;
}

.landing-hero__badge i {
    font-size: 0.75rem;
}

/* Headline */
.landing-hero__title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.12;
    color: white;
    margin: 0 0 1.5rem;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.landing-hero__title .highlight {
    background: linear-gradient(to right, var(--indigo-400), var(--violet-400), var(--cyan-400));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Subtítulo */
.landing-hero__subtitle {
    font-size: 1.125rem;
    color: var(--slate-400);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* CTAs */
.landing-hero__ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--indigo-600), var(--violet-600));
    color: white;
    border-radius: 0.625rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.hero-btn-primary:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.5);
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: rgba(255, 255, 255, 0.06);
    color: var(--slate-200);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.625rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Scroll indicator */
.landing-hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--slate-600);
    font-weight: 500;
    animation: bounce 2s infinite 1s;
}

.landing-hero__scroll i {
    font-size: 0.875rem;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}


/* ============================================================
   BARRA DE STATS
   ============================================================ */
.landing-stats {
    padding: 3rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.landing-stats__grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.landing-stats__item {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 1.25rem 2rem;
    position: relative;
}

.landing-stats__item + .landing-stats__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.landing-stats__value {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.375rem;
}

.landing-stats__value span {
    background: linear-gradient(to right, var(--indigo-400), var(--violet-400));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-stats__label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--slate-400);
    letter-spacing: 0.01em;
}


/* ============================================================
   SEÇÕES GENÉRICAS
   ============================================================ */
.landing-section {
    padding: 5rem 5%;
}

.landing-section__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--indigo-400);
    margin-bottom: 1rem;
}

.section-eyebrow::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--indigo-500);
    border-radius: 2px;
}

.landing-section__header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin: 0 0 1rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.landing-section__header p {
    font-size: 1.0625rem;
    color: var(--slate-400);
    line-height: 1.7;
    margin: 0;
}


/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Override card-feature para tema dark da landing */
.features-grid .card-feature {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
}

.features-grid .card-feature:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(99, 102, 241, 0.15);
}

.features-grid .card-feature__title {
    color: var(--slate-100);
}

.features-grid .card-feature__desc {
    color: var(--slate-400);
}


/* ============================================================
   LGPD SECTION
   ============================================================ */
.landing-lgpd {
    padding: 4rem 5%;
    background: linear-gradient(135deg,
        rgba(16, 185, 129, 0.04) 0%,
        transparent 50%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.landing-lgpd__inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.landing-lgpd__icon-wrap {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--emerald-500);
}

.landing-lgpd__content h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.625rem;
}

.landing-lgpd__content p {
    font-size: 0.9375rem;
    color: var(--slate-400);
    line-height: 1.7;
    margin: 0 0 1.25rem;
}

.landing-lgpd__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.lgpd-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3125rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--emerald-500);
}

.lgpd-tag i {
    font-size: 0.6875rem;
}


/* ============================================================
   ACESSO / CTA FINAL
   ============================================================ */
.landing-access {
    padding: 6rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.landing-access::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 65%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.landing-access__card {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 1.5rem;
    padding: 3rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.1),
                0 20px 60px rgba(0, 0, 0, 0.3);
}

.landing-access__card h2 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin: 0 0 0.75rem;
    letter-spacing: -0.025em;
}

.landing-access__card > p {
    font-size: 1rem;
    color: var(--slate-400);
    margin: 0 0 2rem;
    line-height: 1.65;
}

.access-email {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px dashed rgba(99, 102, 241, 0.35);
    border-radius: 0.75rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--indigo-300);
    font-family: var(--font-mono);
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
    margin-bottom: 2rem;
    word-break: break-all;
}

.access-email:hover {
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.5);
}

.access-email i {
    font-size: 0.9375rem;
    flex-shrink: 0;
}

.access-requirements {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    text-align: left;
    margin-top: 0.5rem;
}

.access-requirements h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate-400);
    margin: 0 0 0.875rem;
}

.access-requirements ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.access-requirements li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--slate-300);
}

.access-requirements li i {
    color: var(--emerald-500);
    font-size: 0.75rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}


/* ============================================================
   FOOTER
   ============================================================ */
.landing-footer {
    padding: 2rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.landing-footer__copy {
    font-size: 0.875rem;
    color: var(--slate-500);
}

.landing-footer__links {
    display: flex;
    gap: 1.5rem;
}

.landing-footer__links a {
    font-size: 0.875rem;
    color: var(--slate-500);
    text-decoration: none;
    transition: color 0.15s ease;
}

.landing-footer__links a:hover {
    color: var(--slate-300);
}


/* ============================================================
   ANIMAÇÕES DE ENTRADA (Intersection Observer)
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }


/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 768px) {
    .landing-nav__links {
        display: none;
    }

    .landing-nav__hamburger {
        display: flex;
    }

    .landing-hero {
        padding: 6rem 5% 4rem;
        text-align: center;
    }

    .landing-hero__ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        justify-content: center;
    }

    .landing-stats__grid {
        gap: 1rem;
    }

    .landing-stats__item + .landing-stats__item::before {
        display: none;
    }

    .landing-lgpd__inner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .landing-lgpd__badges {
        justify-content: center;
    }

    .landing-access__card {
        padding: 2rem 1.5rem;
    }

    .landing-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .landing-stats__grid {
        flex-direction: column;
    }
}
