/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:      #1B3A6B;
    --blue:      #2E75B6;
    --bg-alt:    #F2F7FB;
    --text:      #1A1A2E;
    --muted:     #6B7280;
    --border:    #E5E7EB;
    --white:     #FFFFFF;
    --radius:    12px;
    --shadow:    0 4px 24px rgba(27, 58, 107, 0.10);
    --shadow-sm: 0 2px 12px rgba(27, 58, 107, 0.06);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(1.875rem, 3.5vw, 2.875rem); }
h2 { font-size: clamp(1.625rem, 2.75vw, 2.125rem); }
h3 { font-size: 1.0625rem; font-weight: 600; }
p  { color: var(--muted); line-height: 1.75; }

/* ===== LAYOUT ===== */
.container   { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section     { padding: 96px 0; }
.section--alt  { background: var(--bg-alt); }
.section--dark { background: var(--navy); }

.section-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--blue);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-headline { color: var(--text); margin-bottom: 20px; }
.section-body     { max-width: 620px; margin-bottom: 48px; }

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
}

.btn--primary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}
.btn--primary:hover {
    background: var(--navy);
    border-color: var(--navy);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(46, 117, 182, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn--outline:hover {
    background: var(--navy);
    color: var(--white);
}

.btn--white {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}
.btn--white:hover {
    background: var(--bg-alt);
    border-color: var(--bg-alt);
}

/* ===== INPUT ===== */
.input {
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    color: var(--text);
    background: var(--white);
}
.input:focus { border-color: var(--blue); }
.input--dark {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--white);
}
.input--dark::placeholder { color: rgba(255, 255, 255, 0.45); }
.input--dark:focus { border-color: rgba(255, 255, 255, 0.65); }

/* ===== NAV ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.nav__inner {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__logo {
    font-size: 1.1875rem;
    font-weight: 800;
    color: var(--navy);
    text-decoration: none;
    letter-spacing: -0.02em;
    margin-right: auto;
}

.nav__links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav__links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav__links a:hover { color: var(--navy); }

/* ===== HERO ===== */
.hero { padding: 96px 0; overflow: hidden; }

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 64px;
    align-items: center;
}

.hero__headline {
    color: var(--navy);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero__sub {
    font-size: 1.0625rem;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero__form {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.hero__meta { font-size: 0.8125rem; color: var(--muted); }

/* PHONE MOCKUP */
.hero__visual { display: flex; justify-content: center; }

.phone-mockup {
    width: 260px;
    height: 460px;
    background: var(--navy);
    border-radius: 38px;
    padding: 14px;
    box-shadow:
        0 40px 80px rgba(27, 58, 107, 0.28),
        0 0 0 1px rgba(255,255,255,0.08);
    position: relative;
}

.phone-screen {
    background: #F8FAFC;
    border-radius: 26px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    overflow: hidden;
}

.rating-card { text-align: center; width: 100%; }

.rating-card__logo { font-size: 2.25rem; margin-bottom: 10px; }

.rating-card__business {
    font-weight: 700;
    color: var(--text);
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.rating-card__question {
    color: var(--muted);
    font-size: 0.8125rem;
    margin-bottom: 20px;
}

.stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 12px; }

.star { font-size: 1.875rem; color: #D1D5DB; }
.star--filled { color: #FBBF24; }

.rating-card__hint {
    font-size: 0.75rem;
    color: var(--muted);
    margin: 0;
}

/* ===== PROOF BAR ===== */
.proof-bar {
    background: var(--bg-alt);
    padding: 28px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.proof-bar__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 14px;
}

.proof-bar__industries {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 28px;
}

.proof-bar__industries span {
    font-size: 0.9375rem;
    color: var(--text);
    font-weight: 500;
}

/* ===== PROBLEM ===== */
.pain-points { display: flex; flex-direction: column; gap: 28px; }

.pain-point {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 24px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
}

.pain-point__icon { font-size: 1.625rem; flex-shrink: 0; margin-top: 2px; }
.pain-point h3   { color: var(--text); margin-bottom: 6px; }
.pain-point p    { margin: 0; font-size: 0.9375rem; }

/* ===== HOW IT WORKS ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.step {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step__number {
    position: absolute;
    top: -13px;
    left: 24px;
    width: 26px;
    height: 26px;
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step__icon { font-size: 1.625rem; margin-bottom: 12px; }
.step h3    { color: var(--text); margin-bottom: 8px; }
.step p     { margin: 0; font-size: 0.9375rem; }

.step--split {
    grid-column: 1 / -1;
    background: transparent;
    box-shadow: none;
    padding: 0;
    padding-top: 12px;
}

.step--split .step__number { top: -2px; left: 0; }

.step__outcomes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 8px;
}

.outcome {
    border-radius: var(--radius);
    padding: 26px;
}

.outcome--positive {
    background: #F0FDF4;
    border: 1.5px solid #86EFAC;
}
.outcome--negative {
    background: #FFF7ED;
    border: 1.5px solid #FED7AA;
}

.outcome__icon { font-size: 1.375rem; margin-bottom: 10px; display: block; }
.outcome h3    { color: var(--text); margin-bottom: 6px; }
.outcome p     { margin: 0; font-size: 0.9375rem; }

/* ===== FEATURES ===== */
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.feature-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.feature-card__icon { font-size: 1.625rem; margin-bottom: 12px; display: block; }
.feature-card h3    { color: var(--text); margin-bottom: 8px; }
.feature-card p     { margin: 0; font-size: 0.9375rem; }

/* ===== PRICING ===== */
.pricing__inner { text-align: center; }

.pricing-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 52px 48px;
    max-width: 560px;
    margin: 48px auto 0;
    box-shadow: var(--shadow);
}

.pricing-card__body {
    font-size: 1.0625rem;
    color: var(--text);
    margin-bottom: 32px;
    line-height: 1.8;
}

.pricing-card__body strong {
    color: var(--navy);
    font-size: 1.5rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.testimonial-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.testimonial-card__stars {
    color: #FBBF24;
    font-size: 0.875rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.testimonial-card__quote {
    color: var(--text);
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.75;
    flex: 1;
    font-size: 0.9375rem;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: auto;
}

.testimonial-card__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-card__name     { font-weight: 600; color: var(--text); font-size: 0.875rem; margin-bottom: 2px; }
.testimonial-card__business { color: var(--muted); font-size: 0.8125rem; }

/* ===== STATS ===== */
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.stat-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.stat-card__number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.stat-card__label {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 900px) { .stats__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .stats__grid { grid-template-columns: 1fr; } }

/* ===== FINAL CTA ===== */
.final-cta { padding: 96px 0; }

.final-cta__inner {
    text-align: center;
    max-width: 580px;
    margin: 0 auto;
}

.final-cta__headline {
    color: var(--white);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.final-cta__sub {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.0625rem;
    margin-bottom: 40px;
}

.final-cta__form {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.final-cta__meta  { color: rgba(255, 255, 255, 0.55); font-size: 0.8125rem; margin-bottom: 10px; }
.final-cta__trust { color: rgba(255, 255, 255, 0.4);  font-size: 0.8125rem; }

/* ===== FOOTER ===== */
.footer { background: #0D1F40; padding: 64px 0 0; }

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer__logo    { font-size: 1.125rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.footer__tagline { color: rgba(255, 255, 255, 0.45); font-size: 0.875rem; }

.footer__col-title { font-weight: 600; color: var(--white); margin-bottom: 14px; font-size: 0.875rem; }
.footer__col ul    { list-style: none; display: flex; flex-direction: column; gap: 9px; }

.footer__col a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}
.footer__col a:hover { color: var(--white); }

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}
.footer__bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8125rem;
    text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero__inner              { grid-template-columns: 1fr; }
    .hero__visual             { display: none; }
    .steps                    { grid-template-columns: 1fr 1fr; }
    .step--split              { grid-column: 1 / -1; }
    .features__grid           { grid-template-columns: 1fr 1fr; }
    .testimonials__grid       { grid-template-columns: 1fr 1fr; }
    .footer__inner            { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
    .section { padding: 64px 0; }
    .nav__links               { display: none; }
    .nav__cta                 { display: none; }
    .hero                     { padding: 56px 0; }
    .hero__form               { flex-direction: column; }
    .steps                    { grid-template-columns: 1fr; }
    .step--split              { grid-column: 1; }
    .step__outcomes           { grid-template-columns: 1fr; }
    .features__grid           { grid-template-columns: 1fr; }
    .testimonials__grid       { grid-template-columns: 1fr; }
    .final-cta__form          { flex-direction: column; }
    .footer__inner            { grid-template-columns: 1fr 1fr; gap: 28px; }
    .proof-bar__industries    { gap: 10px 20px; }
    .pricing-card             { padding: 36px 28px; }
}

@media (max-width: 420px) {
    .footer__inner { grid-template-columns: 1fr; }
}
