/*
 * landing.css — Landing Page Styles
 * ===================================
 *
 * Complete landing page styles:
 *   - Sticky navbar with glass morphism
 *   - Hero section with two-column layout
 *   - Trust metrics grid
 *   - How it works cards
 *   - Pricing comparison
 *   - Testimonials
 *   - CTA section
 *   - Footer
 */


/* ─── Shared ────────────────────────────────────────────────────────────── */
.text-accent { color: var(--accent); }


/* ═══════════════════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════════════════ */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid var(--border);
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

html.dark .nav {
    background: rgba(15, 23, 41, 0.85);
}

.nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__logo-icon {
    color: var(--accent);
    font-size: 32px;
}

.nav__logo-text {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text);
}

.nav__links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav__link:hover {
    color: var(--accent);
}

.nav__cta {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.nav__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    font-size: 28px;
}

/* Desktop: show links, hide hamburger */
@media (min-width: 768px) {
    .nav__links {
        display: flex;
    }
    .nav__hamburger {
        display: none;
    }
}

/* Navbar theme toggle */
.nav__theme-toggle {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}

.nav__theme-toggle:hover {
    color: var(--accent);
    background: rgba(37, 99, 235, 0.08);
}

.nav__theme-toggle .material-symbols-outlined {
    font-size: 22px;
}

/* Mobile menu open state */
.nav__links--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    gap: 1rem;
    z-index: 49;
}


/* ═══════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    overflow: hidden;
    padding: 2rem 0 2.5rem;
    background: var(--bg);
    background-image: radial-gradient(circle at top right, rgba(37, 99, 235, 0.06), transparent 60%);
}

.hero__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero__content {
    flex: 1;
    text-align: center;
}

.hero__urgency {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(239, 68, 68, 0.12);
    color: var(--danger);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.hero__urgency-icon {
    font-size: 16px;
}

.hero__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero__title-sub {
    display: block;
    font-size: 0.75em;
    margin-top: 0.3em;
}

.hero__highlight {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(37, 99, 235, 0.3);
    text-decoration-thickness: 6px;
    text-underline-offset: 4px;
}

.hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.375rem);
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 1.5rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero__subtitle strong {
    color: var(--text);
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.hero__cta {
    width: 100%;
    max-width: 360px;
}

.hero__social-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.hero__avatars {
    display: flex;
    margin-right: -4px;
}

.hero__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--bg);
    object-fit: cover;
    margin-right: -8px;
}

.hero__avatar:last-child {
    margin-right: 0;
}

.hero__social-text {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
}

.hero__disclaimer {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-weight: 500;
}

/* Hero visual / mockup */
.hero__visual {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 400px;
    display: none;
}

@media (min-width: 1024px) {
    .hero__visual {
        display: block;
    }
}

.hero__mockup {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border: 8px solid var(--border);
    transform: rotate(1deg);
}

html.dark .hero__mockup {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.hero__mockup-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero__mockup-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent);
}

html.dark .hero__mockup-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.hero__stat-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    max-width: 220px;
    transform: rotate(-2deg);
}

html.dark .hero__stat-card {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.hero__stat-number {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 4px;
}

.hero__stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Desktop: side-by-side hero */
@media (min-width: 1024px) {
    .hero__inner {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }
    .hero__content {
        text-align: left;
    }
    .hero__title {
        margin-left: 0;
        margin-right: 0;
    }
    .hero__subtitle {
        margin-left: 0;
        margin-right: 0;
    }
    .hero__actions {
        flex-direction: row;
        justify-content: flex-start;
    }
    .hero__cta {
        width: auto;
    }
}

@media (min-width: 640px) {
    .hero__actions {
        flex-direction: row;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   TRUST METRICS
   ═══════════════════════════════════════════════════════════════════════════ */
.trust {
    background: var(--bg-darker);
    padding: 3rem 0;
}

.trust__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.trust__icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.trust__item:hover .trust__icon-wrap {
    transform: scale(1.1);
}

.trust__icon {
    font-size: 36px;
    color: var(--accent);
    font-variation-settings: 'wght' 600;
}

.trust__title {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text);
}

.trust__desc {
    color: var(--text-muted);
    font-weight: 500;
    max-width: 300px;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .trust__inner {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════════════════════ */
.how-it-works {
    padding: 6rem 0;
    background: var(--bg);
}

.how-it-works__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.how-it-works__header {
    text-align: center;
    margin-bottom: 4rem;
}

.how-it-works__header h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 1.5rem;
}

.how-it-works__subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.how-it-works__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.how-it-works__card {
    padding: 2.5rem;
    border-radius: var(--radius-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}

.how-it-works__card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

html.dark .how-it-works__card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.how-it-works__number {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.how-it-works__card h3 {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.how-it-works__card p {
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .how-it-works__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════════════════ */
.pricing {
    padding: 6rem 0;
    background: var(--bg-darker);
}

.pricing__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.pricing__inner h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 3rem;
}

.pricing__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
}

.pricing__card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border);
    position: relative;
}

.pricing__card--dimmed {
    opacity: 0.55;
    filter: grayscale(0.5);
}

.pricing__card--featured {
    border: 3px solid var(--accent);
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.06), 0 12px 32px rgba(0, 0, 0, 0.08);
}

html.dark .pricing__card--featured {
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.06), 0 12px 32px rgba(0, 0, 0, 0.3);
}

.pricing__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 6px 20px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pricing__plan-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing__price {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: var(--text);
}

.pricing__price--accent {
    color: var(--accent);
    font-size: 2.75rem;
}

.pricing__period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing__features {
    margin-bottom: 2rem;
}

.pricing__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-weight: 600;
}

.pricing__feature--negative {
    color: var(--text-muted);
}

.pricing__feature--negative .material-symbols-outlined {
    color: var(--danger);
    font-variation-settings: 'wght' 600;
}

.pricing__feature--positive {
    color: var(--text);
}

.pricing__feature--positive .material-symbols-outlined {
    color: var(--accent);
    font-variation-settings: 'wght' 600;
}

.pricing__cta {
    width: 100%;
}

@media (min-width: 768px) {
    .pricing__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════════════════════ */
.testimonials {
    padding: 6rem 0;
    background: var(--bg);
}

.testimonials__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.testimonials__inner h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.testimonials__card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border);
}

.testimonials__stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1.5rem;
    color: #eab308;
}

.testimonials__stars .material-symbols-outlined {
    font-size: 20px;
}

.testimonials__quote {
    font-size: 1rem;
    font-style: italic;
    font-weight: 500;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonials__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonials__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

html.dark .testimonials__avatar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.testimonials__name {
    font-weight: 900;
    font-size: 0.9rem;
    color: var(--text);
}

.testimonials__location {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .testimonials__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.cta-section {
    padding: 6rem 0;
    background: var(--accent);
    color: #fff;
    overflow: hidden;
    position: relative;
}

.cta-section__bg-icon {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    pointer-events: none;
}

.cta-section__bg-icon .material-symbols-outlined {
    font-size: 400px;
    position: absolute;
    right: -60px;
    bottom: -60px;
    transform: rotate(12deg);
}

.cta-section__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-section__inner h2 {
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.cta-section__subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.cta-section__btn {
    background: #fff;
    color: var(--accent-dark);
    font-weight: 900;
    font-size: 1.3rem;
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.cta-section__btn:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.cta-section__badges {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    opacity: 0.85;
}

.cta-section__badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 700;
}

.cta-section__badge .material-symbols-outlined {
    font-size: 20px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.footer {
    background: var(--bg);
    padding: 5rem 0 0;
    border-top: 1px solid var(--border);
}

.footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.footer__brand {
    grid-column: 1;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.footer__logo .material-symbols-outlined {
    font-size: 28px;
    color: var(--accent);
}

.footer__logo-text {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text);
}

.footer__desc {
    color: var(--text-muted);
    max-width: 360px;
    line-height: 1.7;
    font-weight: 500;
}

.footer__heading {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.footer__links li {
    margin-bottom: 0.75rem;
}

.footer__links a {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}

.footer__links a:hover {
    color: var(--accent);
}

.footer__bottom {
    max-width: 1280px;
    margin: 4rem auto 0;
    padding: 2rem 1rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 500;
}

@media (min-width: 768px) {
    .footer__inner {
        grid-template-columns: 2fr 1fr 1fr;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS (Landing-specific)
   ═══════════════════════════════════════════════════════════════════════════ */
.animate-fade-up {
    animation: fadeUp 0.5s ease both;
}

.animate-delay-1 { animation-delay: 0.12s; }
.animate-delay-2 { animation-delay: 0.24s; }
.animate-delay-3 { animation-delay: 0.36s; }
.animate-delay-4 { animation-delay: 0.45s; }
.animate-delay-5 { animation-delay: 0.60s; }
