/* Halaman depan ("/") -- sengaja TIDAK reset warna/tipografi dari main.css (dimuat sebelum
   file ini di landing.html), cuma menambah layout section marketing di atas token forest-*
   yang sudah ada supaya landing terasa satu identitas dgn app peta, bukan situs terpisah. */

.landing {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Hero ---------------------------------------------------------------------------- */

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    gap: 48px;
    align-items: center;
    padding: 96px 0 72px;
}

.landing-eyebrow {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--forest-700);
}

.landing-hero-text h1 {
    margin: 0 0 18px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--forest-900);
}

.landing-lede {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-muted);
    max-width: 52ch;
}

.landing-cta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.landing-cta-primary {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--forest-800) 0%, var(--forest-600) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.landing-cta-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.landing-cta-secondary {
    font-size: 14px;
    font-weight: 600;
    color: var(--forest-700);
    text-decoration: none;
    border-bottom: 1px solid var(--forest-300);
    padding-bottom: 2px;
}

.landing-cta-secondary:hover {
    color: var(--forest-800);
    border-color: var(--forest-700);
}

.landing-stats {
    display: flex;
    gap: 32px;
    margin: 0;
    flex-wrap: wrap;
}

.landing-stats dt {
    font-size: 26px;
    font-weight: 800;
    color: var(--forest-800);
    font-variant-numeric: tabular-nums;
}

.landing-stats dd {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--ink-muted);
}

.landing-hero-art svg {
    width: 100%;
    height: auto;
    display: block;
}

.art-card-bg {
    fill: var(--forest-50);
    stroke: var(--border-soft);
}

.art-s1 { fill: #2ecc71; }
.art-s2 { fill: #f1c40f; }
.art-s3 { fill: #e67e22; }
.art-n { fill: #e74c3c; }
.art-s1, .art-s2, .art-s3, .art-n {
    stroke: var(--forest-50);
    stroke-width: 3;
}

.art-grid path {
    stroke: rgba(255, 255, 255, 0.55);
    stroke-width: 1;
    stroke-dasharray: 3 4;
}

.art-node {
    fill: var(--forest-900);
    opacity: 0.35;
}

.art-legend rect {
    stroke: var(--border-soft);
}

.art-legend text {
    font-size: 13px;
    font-weight: 700;
    fill: var(--ink-muted);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* --- Section umum ---------------------------------------------------------------------- */

.landing-section {
    padding: 56px 0;
}

.landing-section-alt {
    margin: 0 -24px;
    padding: 56px 24px;
    background: var(--forest-50);
    border-radius: 24px;
}

.landing-section h2 {
    margin: 0 0 32px;
    font-size: clamp(22px, 2.6vw, 28px);
    color: var(--forest-900);
    text-align: center;
}

/* --- Cara kerja ------------------------------------------------------------------------ */

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

.landing-step {
    text-align: center;
    padding: 0 8px;
}

.landing-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--forest-700);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 14px;
}

.landing-step h3 {
    margin: 0 0 8px;
    font-size: 16px;
    color: var(--forest-900);
}

.landing-step p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-muted);
}

/* --- Kemampuan --------------------------------------------------------------------------- */

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

.landing-feature {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: var(--shadow-sm);
}

.landing-feature h3 {
    margin: 0 0 8px;
    font-size: 15px;
    color: var(--forest-800);
}

.landing-feature p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-muted);
}

/* --- CTA akhir + footer ------------------------------------------------------------------ */

.landing-final-cta {
    text-align: center;
    padding: 72px 0 48px;
}

.landing-final-cta h2 {
    margin: 0 0 24px;
    font-size: clamp(20px, 2.6vw, 26px);
    color: var(--forest-900);
}

.landing-footer {
    padding: 24px 0 48px;
    max-width: 360px;
    margin: 0 auto;
}

@media (max-width: 860px) {
    .landing-hero {
        grid-template-columns: 1fr;
        padding: 56px 0 48px;
        text-align: center;
    }
    .landing-lede {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }
    .landing-cta-row {
        justify-content: center;
    }
    .landing-stats {
        justify-content: center;
    }
    .landing-hero-art {
        order: -1;
        max-width: 340px;
        margin: 0 auto;
    }
    .landing-steps, .landing-features {
        grid-template-columns: 1fr;
    }
    .landing-section-alt {
        margin: 0 -24px;
        border-radius: 0;
    }
}
