/* ==========================================================================
   Fulfill'd — Page-Specific Styles

   Layout rules for the hero section, section backgrounds, and responsive
   breakpoints. References tokens.css custom properties.
   ========================================================================== */

/* ── Hero Section ───────────────────────────────────────────────────────── */

.fd-hero {
    position: relative;
    padding: 0 0 var(--fd-space-20);
    overflow: hidden;
    background: var(--fd-gradient-hero);
    padding-top: 88px; /* Offset for fixed nav */
}

.fd-hero__bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.fd-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    background: var(--fd-green-800);
}

.fd-shape--1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    animation: fd-float 20s ease-in-out infinite;
}

.fd-shape--2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -150px;
    animation: fd-float 15s ease-in-out infinite reverse;
}

.fd-shape--3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    animation: fd-float 25s ease-in-out infinite;
}

.fd-hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: var(--fd-space-10);
}

.fd-hero__title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    line-height: var(--fd-leading-tight);
    letter-spacing: -1.5px;
    color: var(--fd-gray-900);
    margin-bottom: var(--fd-space-5);
    animation: fd-fadeInUp 0.6s ease-out 0.1s both;
}

.fd-hero__subtitle {
    font-size: var(--fd-font-size-xl);
    line-height: var(--fd-leading-relaxed);
    color: var(--fd-gray-500);
    margin-bottom: var(--fd-space-8);
    max-width: 520px;
    animation: fd-fadeInUp 0.6s ease-out 0.2s both;
}

.fd-hero__actions {
    display: flex;
    gap: var(--fd-space-3);
    margin-bottom: var(--fd-space-12);
    animation: fd-fadeInUp 0.6s ease-out 0.3s both;
}

.fd-hero__stats {
    display: flex;
    align-items: center;
    gap: var(--fd-space-6);
    animation: fd-fadeInUp 0.6s ease-out 0.4s both;
}

.fd-stat__number {
    display: block;
    font-size: var(--fd-font-size-4xl);
    font-weight: 800;
    color: var(--fd-green-800);
    letter-spacing: -0.5px;
}

.fd-stat__label {
    display: block;
    font-size: var(--fd-font-size-xs);
    font-weight: 500;
    color: var(--fd-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 140px;
}

.fd-stat__divider {
    width: 1px;
    height: 48px;
    background: rgba(27, 122, 67, 0.15);
}

.fd-hero__visual {
    animation: fd-fadeInUp 0.8s ease-out 0.3s both;
}

/* ── Section Backgrounds ────────────────────────────────────────────────── */

.fd-section--features {
    background: #fff;
}

.fd-section--how {
    background: var(--fd-gray-50);
}

.fd-section--testimonials {
    background: var(--fd-gray-50);
}

.fd-section--pricing {
    background: #fff;
}

.fd-section--faq {
    background: var(--fd-gray-50);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .fd-hero__content {
        grid-template-columns: 1fr;
        gap: var(--fd-space-10);
    }

    .fd-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fd-pricing__grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .fd-pricing-card--featured {
        transform: none;
    }

    .fd-pricing-card--featured:hover {
        transform: translateY(-4px);
    }

    .fd-step {
        grid-template-columns: auto 1fr;
    }

    .fd-step__visual {
        grid-column: 1 / -1;
    }

    .fd-testimonials__grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .fd-footer__top {
        grid-template-columns: 1fr 1fr;
        gap: var(--fd-space-8);
    }
}

@media (max-width: 768px) {
    .fd-hero {
        padding-top: 76px;
    }

    .fd-nav__links {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: var(--fd-space-6);
        border-radius: 0 0 var(--fd-radius-2xl) var(--fd-radius-2xl);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
        z-index: var(--fd-z-nav);
    }

    .fd-nav__links.fd-nav__links--open {
        display: flex;
    }

    .fd-nav__toggle {
        display: flex;
    }

    .fd-hero__title {
        font-size: 32px;
    }

    .fd-hero__stats {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--fd-space-4);
    }

    .fd-stat__divider {
        display: none;
    }

    .fd-hero__actions {
        flex-direction: column;
    }

    .fd-features__grid {
        grid-template-columns: 1fr;
    }

    .fd-step {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .fd-step__number {
        font-size: 48px;
    }

    .fd-cta {
        padding: var(--fd-space-12) 28px;
        border-radius: var(--fd-radius-3xl);
    }

    .fd-cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .fd-trust__logos {
        gap: var(--fd-space-6);
    }

    .fd-footer__top {
        grid-template-columns: 1fr;
    }

    .fd-footer__bottom {
        flex-direction: column;
        gap: var(--fd-space-4);
        text-align: center;
    }

    .fd-section {
        padding: var(--fd-space-16) 0;
    }
}

@media (max-width: 480px) {
    .fd-container {
        padding: 0 var(--fd-space-4);
    }

    .fd-hero__title {
        font-size: 28px;
    }

    .fd-preview__grid {
        grid-template-columns: 1fr;
    }

    .fd-preview__row {
        grid-template-columns: 1fr 1fr;
        gap: 4px;
        font-size: 11px;
    }
}
