/* ==========================================
   WHATSORDER LANDING PAGE
   PRODUCTION POLISH
========================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: #17211b;
    background: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}


/* ==========================================
   HEADER
========================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e8eee9;
    backdrop-filter: blur(12px);
}

.navbar {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
}

.brand-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #16a34a;
    color: #ffffff;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.95rem;
    font-weight: 600;
}

.nav-links a:hover {
    color: #16a34a;
}

.nav-actions {
    display: flex;
    gap: 10px;
}


/* ==========================================
   BUTTONS
========================================== */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.2s ease;
}

.button-primary {
    background: #16a34a;
    color: #ffffff;
}

.button-primary:hover {
    background: #15803d;
    transform: translateY(-1px);
}

.button-secondary {
    border: 1px solid #d7e1d9;
    background: #ffffff;
}

.button-secondary:hover {
    background: #f7faf8;
}

.button-light {
    background: #ffffff;
    color: #15803d;
}

.button-light:hover {
    background: #f1f8f3;
}


/* ==========================================
   HERO
========================================== */

.hero {
    padding: 96px 0 84px;
    background:
        radial-gradient(
            circle at top right,
            rgba(34, 197, 94, 0.14),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            #f9fffb 0%,
            #ffffff 100%
        );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 64px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    border-radius: 999px;
    background: #eaf8ee;
    color: #15803d;
    font-size: 0.84rem;
    font-weight: 800;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.7rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin-bottom: 24px;
}

.hero h1 span {
    color: #16a34a;
}

.hero-copy {
    max-width: 650px;
    font-size: 1.12rem;
    color: #5a675e;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

.hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #657168;
    font-size: 0.9rem;
}


/* ==========================================
   HERO DASHBOARD CARD
========================================== */

.hero-card {
    border: 1px solid #e4ebe6;
    border-radius: 24px;
    padding: 22px;
    background: #ffffff;
    box-shadow:
        0 26px 70px rgba(20, 83, 45, 0.12);
}

.mock-browser {
    border: 1px solid #e1e8e3;
    border-radius: 16px;
    overflow: hidden;
}

.mock-browser-top {
    display: flex;
    gap: 7px;
    padding: 13px;
    background: #f4f7f5;
    border-bottom: 1px solid #e4ebe6;
}

.mock-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5ce;
}

.mock-content {
    padding: 22px;
}

.mock-title {
    font-weight: 800;
    margin-bottom: 18px;
}

.mock-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.mock-stat {
    padding: 16px;
    border-radius: 14px;
    background: #f6faf7;
}

.mock-stat small {
    display: block;
    color: #758078;
    margin-bottom: 6px;
}

.mock-stat strong {
    font-size: 1.3rem;
}

.mock-order {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    border-top: 1px solid #edf1ee;
}

.status {
    padding: 5px 9px;
    border-radius: 999px;
    background: #eaf8ee;
    color: #15803d;
    font-size: 0.75rem;
    font-weight: 800;
}


/* ==========================================
   SECTIONS
========================================== */

.section {
    padding: 88px 0;
}

.section-soft {
    background: #f7faf8;
}

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.section-heading span {
    color: #16a34a;
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 10px 0 14px;
}

.section-heading p {
    color: #68736b;
}


/* ==========================================
   FEATURES
========================================== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    padding: 28px;
    border: 1px solid #e4ebe6;
    border-radius: 20px;
    background: #ffffff;
}

.feature-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #eaf8ee;
    margin-bottom: 18px;
    font-size: 1.3rem;
}

.feature-card h3 {
    margin-bottom: 9px;
}

.feature-card p {
    color: #68736b;
    font-size: 0.95rem;
}


/* ==========================================
   HOW IT WORKS
========================================== */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.step {
    position: relative;
    padding: 28px;
}

.step-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #16a34a;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 18px;
}

.step h3 {
    margin-bottom: 9px;
}

.step p {
    color: #68736b;
}


/* ==========================================
   PRICING
========================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.price-card {
    position: relative;
    padding: 28px 22px;
    border: 1px solid #e1e8e3;
    border-radius: 20px;
    background: #ffffff;
}

.price-card.featured {
    border: 2px solid #16a34a;
    box-shadow: 0 18px 50px rgba(22, 163, 74, 0.12);
}

.price-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    border-radius: 999px;
    background: #16a34a;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.price-card h3 {
    font-size: 1.15rem;
}

.price {
    margin: 15px 0 5px;
    font-size: 2rem;
    font-weight: 900;
}

.price small {
    font-size: 0.85rem;
    font-weight: 500;
    color: #7a857d;
}

.price-description {
    min-height: 48px;
    color: #6a756d;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.price-features {
    list-style: none;
    display: grid;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.price-features li::before {
    content: "✓";
    color: #16a34a;
    font-weight: 900;
    margin-right: 8px;
}

.price-card .button {
    width: 100%;
}


/* ==========================================
   CTA
========================================== */

.cta {
    padding: 76px 0;
}

.cta-box {
    text-align: center;
    padding: 58px 28px;
    border-radius: 28px;
    background:
        linear-gradient(
            135deg,
            #15803d,
            #16a34a
        );
    color: #ffffff;
}

.cta-box h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 14px;
}

.cta-box p {
    max-width: 650px;
    margin: 0 auto 26px;
    opacity: 0.92;
}


/* ==========================================
   FOOTER
========================================== */

.site-footer {
    padding: 34px 0;
    border-top: 1px solid #e7ece8;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: #727d75;
    font-size: 0.9rem;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 960px) {

    .nav-links {
        display: none;
    }

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

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

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

@media (max-width: 640px) {

    .container {
        width: min(100% - 26px, 1120px);
    }

    .hero {
        padding-top: 70px;
    }

    .nav-actions .button-secondary {
        display: none;
    }

    .feature-grid,
    .steps,
    .pricing-grid,
    .mock-stats {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

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