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

:root {
    --bg: #ffffff;
    --bg-card: #f7f7f8;
    --bg-elevated: #eeeef0;
    --text: #1a1a2e;
    --text-muted: #5a5a72;
    --accent: #16a34a;
    --accent-dim: #15803d;
    --red: #dc2626;
    --orange: #ea580c;
    --yellow: #ca8a04;
    --border: #e4e4e7;
    --radius: 12px;
    --radius-sm: 8px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

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

ul {
    list-style: none;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    transition: background 0.2s, transform 0.15s;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn:hover {
    background: var(--accent-dim);
    transform: translateY(-1px);
}

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

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--accent);
}

/* === HERO === */
.hero {
    padding: 140px 0 80px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-phone,
.cta-phone {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.hero-phone a,
.cta-phone a {
    color: var(--text);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hero-checks {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-checks li {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-checks li::before {
    content: "\2713";
    color: var(--accent);
    margin-right: 8px;
    font-weight: 700;
}

/* === GRID CARDS === */
.grid-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
}

.grid-card-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.grid-before .grid-card-label {
    color: var(--red);
}

.grid-after .grid-card-label {
    color: var(--accent);
}

.grid-caption {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
    text-align: center;
}

/* === MAP GRID === */
.map-container {
    width: 100%;
    height: 360px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.map-label b {
    color: #fff;
    font-size: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* === PROBLEM === */
.problem {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.stat-source {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.6;
    margin-top: 8px;
    font-style: italic;
    text-decoration: none;
}

a.stat-source:hover {
    opacity: 1;
    text-decoration: underline;
}

/* === SOLUTION === */
.solution {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 60px;
}

.solution-steps {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.step p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.pilot-badge {
    text-align: center;
    margin-top: 60px;
    padding: 16px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 50px;
    display: inline-flex;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.pilot-badge span {
    color: var(--accent);
    font-weight: 700;
    margin-right: 4px;
}

/* center the badge */
.solution .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.solution .section-header,
.solution .solution-grid {
    width: 100%;
}

/* === CTA === */
.cta-section {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.cta-inner {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.cta-inner > p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.cta-bio {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.cta-bio p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.bio-link {
    color: var(--text);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

/* === FOOTER === */
.footer {
    border-top: 1px solid var(--border);
    padding: 24px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-link {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* === MOBILE === */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-visual {
        order: -1;
    }

    .section-header h2,
    .cta-inner h2 {
        font-size: 1.75rem;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
    }

    .map-container {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .section-header h2,
    .cta-inner h2 {
        font-size: 1.5rem;
    }
}
