/* Landing Page — v2 (Economic Impact rewrite) */

/* ==============================
   Navigation
   ============================== */

.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(27, 58, 45, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 100;
}

.landing-nav .logo {
    font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
    font-size: 18px;
    color: white;
    text-decoration: none;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-diamond {
    color: var(--color-sage, #5A9E78);
    flex-shrink: 0;
}

.landing-nav .nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.landing-nav .btn-login {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 24px;
    border-radius: 6px;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.landing-nav .btn-login:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* ==============================
   Hero — split layout with image
   ============================== */

.hero {
    background: linear-gradient(135deg, #1B3A2D 0%, #244E3A 50%, #2D6B4A 100%);
    padding: 140px 40px 80px;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.3) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.2) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 520px;
}

.hero-eyebrow {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #5A9E78;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.beta-badge {
    display: inline-block;
    background: #C4956A;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 4px;
    line-height: 1;
}

.hero h1 {
    font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
    font-size: 46px;
    color: white;
    line-height: 1.12;
    letter-spacing: -1.2px;
    margin: 0 0 20px;
}

.hero-sub {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin: 0 0 32px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.05);
    aspect-ratio: 4/3;
}

.hero-image img {
    border-radius: 12px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay graph card */
.hero-overlay-card {
    position: absolute;
    bottom: -24px;
    right: -16px;
    background: rgba(27, 58, 45, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(90, 158, 120, 0.25);
    border-radius: 12px;
    padding: 18px 20px 14px;
    width: 260px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    z-index: 2;
}

.overlay-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.overlay-card-title {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.overlay-card-badge {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 11px;
    font-weight: 700;
    color: #5A9E78;
    background: rgba(90, 158, 120, 0.15);
    padding: 3px 8px;
    border-radius: 20px;
}

.overlay-chart {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 14px;
}

.overlay-card-stats {
    display: flex;
    gap: 24px;
}

.overlay-stat {
    display: flex;
    flex-direction: column;
}

.overlay-stat-num {
    font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
    font-size: 22px;
    color: white;
    line-height: 1;
}

.overlay-stat-label {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
}

/* ==============================
   Buttons
   ============================== */

.btn-hero-primary {
    background: #5A9E78;
    color: white;
    padding: 14px 36px;
    border-radius: 8px;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(90,158,120,0.3);
    display: inline-block;
}

.btn-hero-primary:hover {
    background: #4a8e68;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(90,158,120,0.4);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 12px 36px;
    border-radius: 8px;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
    color: white;
}

.btn-hero-outline-light {
    border-color: rgba(27,58,45,0.2);
    color: #1B3A2D;
}

.btn-hero-outline-light:hover {
    background: rgba(27,58,45,0.04);
    border-color: rgba(27,58,45,0.4);
    color: #1B3A2D;
}

/* ==============================
   Problem Section
   ============================== */

.problem-section {
    background: var(--color-paper, #FAFAF8);
    padding: 80px 40px;
}

.problem-inner {
    max-width: 880px;
    margin: 0 auto;
}

.problem-inner h2 {
    font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
    font-size: 34px;
    color: #1B3A2D;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 0 40px;
    text-align: center;
}

.problem-inner h2 span {
    color: var(--color-text-muted, #6B6B6B);
    font-style: italic;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.problem-card {
    background: white;
    border: 1px solid var(--color-border, #e8e6e2);
    border-radius: 12px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.problem-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(196, 149, 106, 0.1);
    color: #C4956A;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.problem-card h3 {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 15px;
    font-weight: 700;
    color: #1B3A2D;
    margin: 0 0 6px;
}

.problem-card p {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 14px;
    color: var(--color-text-muted, #6B6B6B);
    line-height: 1.6;
    margin: 0;
}

/* ==============================
   How It Works
   ============================== */

.how-it-works {
    background: white;
    padding: 80px 40px;
}

.section-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
    font-size: 32px;
    color: #1B3A2D;
    text-align: center;
    margin: 0 0 6px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 15px;
    color: var(--color-text-muted, #6B6B6B);
    text-align: center;
    margin: 0 0 48px;
}

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

.step-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: 12px;
    border: 1px solid var(--color-border-light, #f0eeea);
    background: var(--color-paper, #FAFAF8);
    transition: transform 0.2s, box-shadow 0.2s;
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(45, 107, 74, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 17px;
    font-weight: 700;
    color: #1B3A2D;
    margin: 0 0 12px;
}

.step-card p {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 14px;
    color: var(--color-text-muted, #6B6B6B);
    line-height: 1.7;
    margin: 0;
}

/* ==============================
   Economic Impact Section
   ============================== */

.impact-section {
    background: #1B3A2D;
    padding: 80px 40px;
}

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

.impact-text h2 {
    font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
    font-size: 32px;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 0 20px;
}

.impact-text p {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin: 0 0 28px;
}

.impact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.impact-list li {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.5;
}

.impact-list li svg {
    flex-shrink: 0;
}

/* Impact visual — abstract dashboard preview */
.impact-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.impact-stat-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 24px;
}

.impact-stat-label {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}

.impact-stat-map {
    width: 100%;
}

.mini-map {
    width: 100%;
    height: auto;
}

.impact-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.impact-mini-stat {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px 24px;
    text-align: center;
}

.mini-stat-number {
    font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
    font-size: 32px;
    color: #5A9E78;
    line-height: 1;
    margin-bottom: 4px;
}

.mini-stat-label {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==============================
   Works Everywhere
   ============================== */

.works-everywhere {
    background: var(--color-paper, #FAFAF8);
    padding: 64px 40px;
}

.pills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 700px;
    margin: 36px auto 0;
}

.pill {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 13px;
    font-weight: 500;
    color: #2D6B4A;
    background: white;
    border: 1px solid #d4e8d9;
    border-radius: 100px;
    padding: 8px 20px;
    white-space: nowrap;
    transition: all 0.2s;
}

.pill:hover {
    background: #2D6B4A;
    color: white;
    border-color: #2D6B4A;
}

/* ==============================
   Onboarding Section
   ============================== */

.onboarding-section {
    background: white;
    padding: 80px 40px;
}

.onboarding-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.onboarding-content h2 {
    font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
    font-size: 32px;
    color: #1B3A2D;
    letter-spacing: -0.5px;
    margin: 0 0 16px;
}

.onboarding-content > p {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 16px;
    color: var(--color-text-muted, #6B6B6B);
    line-height: 1.7;
    margin: 0 0 36px;
}

.onboarding-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.onboarding-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--color-paper, #FAFAF8);
    border: 1px solid var(--color-border-light, #f0eeea);
    border-radius: 10px;
}

.onboarding-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2D6B4A;
    color: white;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.onboarding-step span {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 15px;
    color: #1B3A2D;
    font-weight: 500;
}

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

.cta-section {
    background: var(--color-paper, #FAFAF8);
    padding: 80px 40px;
    text-align: center;
    border-top: 1px solid var(--color-border, #e8e6e2);
}

.cta-section h2 {
    font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
    font-size: 32px;
    color: #1B3A2D;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
    line-height: 1.3;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.cta-sub {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 16px;
    color: var(--color-text-muted, #6B6B6B);
    margin: 0 0 32px;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==============================
   Footer
   ============================== */

.landing-footer {
    background: #1B3A2D;
    padding: 28px 40px;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand .logo {
    font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-brand .credit {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 12px;
    color: rgba(255,255,255,0.2);
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: rgba(255,255,255,0.7);
}

/* ==============================
   Mobile Responsive
   ============================== */

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    .landing-nav {
        padding: 0 20px;
    }

    .hero {
        padding: 120px 24px 60px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-sub {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .problem-section,
    .how-it-works,
    .impact-section,
    .works-everywhere,
    .onboarding-section,
    .cta-section {
        padding: 60px 24px;
    }

    .problem-cards {
        grid-template-columns: 1fr;
    }

    .problem-inner h2 {
        font-size: 28px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        gap: 20px;
    }

    .pills-container {
        gap: 8px;
    }

    .pill {
        font-size: 12px;
        padding: 6px 16px;
    }

    .cta-section h2 {
        font-size: 26px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .section-title {
        font-size: 26px;
    }

    .impact-text h2 {
        font-size: 26px;
    }

    .impact-stat-row {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .problem-inner h2 {
        font-size: 24px;
    }

    .onboarding-step {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
