﻿/* ============================================================
   TimberSentry Landing Page CSS
   ============================================================ */

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --color-primary:    #2E7D32;
    --color-primary-lt: #43A047;
    --color-primary-dk: #1B5E20;
    --color-accent:     #8BC34A;
    --color-bg:         #0D1A0D;
    --color-surface:    #132013;
    --color-card:       #192919;
    --color-border:     rgba(139, 195, 74, 0.15);
    --color-text:       #E8F5E9;
    --color-muted:      #9CBA9E;
    --color-red:        #EF5350;
    --color-yellow:     #FFC107;
    --radius:           14px;
    --radius-sm:        8px;
    --shadow-card:      0 8px 32px rgba(0,0,0,.45);
    --font:             'IBM Plex Sans', 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.65;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.1rem; font-weight: 600; }

a { color: inherit; text-decoration: none; }

/* ============================================================
   UTILITY
============================================================ */
.lp-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-section {
    padding: 96px 0;
}

.lp-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.lp-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

/* Buttons */
.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all .2s;
    white-space: nowrap;
}
.lp-btn-primary {
    background: var(--color-primary);
    color: #fff;
}
.lp-btn-primary:hover { background: var(--color-primary-lt); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(46,125,50,.5); }
.lp-btn-ghost { background: rgba(255,255,255,.07); color: var(--color-text); }
.lp-btn-ghost:hover { background: rgba(255,255,255,.13); }
.lp-btn-outline { background: transparent; color: var(--color-text); border: 1.5px solid rgba(255,255,255,.3); }
.lp-btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }
.lp-btn-lg { padding: 14px 30px; font-size: 1rem; border-radius: 10px; }
.lp-btn-full { width: 100%; justify-content: center; margin-top: 4px; }

/* ============================================================
   NAVBAR
============================================================ */
.lp-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(13,26,13,.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
}

.lp-nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.lp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    flex-shrink: 0;
}
.lp-logo-img {
    width: 150px;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    background: transparent;
    padding: 0;
    box-shadow: none;
    filter: brightness(0) invert(1);
}
.lp-nav-links {
    display: flex;
    gap: 28px;
    flex: 1;
}
.lp-nav-links a {
    font-size: 0.9rem;
    color: var(--color-muted);
    font-weight: 500;
    transition: color .2s;
}
.lp-nav-links a:hover { color: var(--color-text); }

.lp-nav-cta {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.lp-hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.4rem;
    cursor: pointer;
    margin-left: auto;
}

.lp-mobile-cta { display: none !important; }

@media (max-width: 768px) {
    .lp-nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--color-surface); padding: 16px 24px; border-bottom: 1px solid var(--color-border); }
    .lp-nav-links.open { display: flex; }
    .lp-nav-links a { font-size: 1rem; padding: 8px 0; color: var(--color-text); }
    .lp-nav-links a:hover { color: var(--color-accent); }

    .lp-nav-cta { display: none; }
    .lp-hamburger { display: block; }
    .lp-mobile-cta { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border-radius: 8px; margin-top: 10px; width: 100%; border: 1px solid rgba(255,255,255,.2); color: var(--color-text); background: rgba(255,255,255,.08); }
    /* Only show mobile CTA items when the mobile nav is open */
    .lp-nav-links:not(.open) .lp-mobile-cta { display: none; }
    .lp-mobile-cta:hover { background: rgba(255,255,255,.16); color: var(--color-accent); }
    .lp-mobile-cta-primary { background: var(--color-primary); color: #fff; border-color: transparent; }
    .lp-mobile-cta-primary:hover { background: var(--color-primary-lt); }
}

/* ============================================================
   HERO
============================================================ */
.lp-hero {
    min-height: 100vh;
    padding-top: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding-left: max(24px, calc((100vw - 1140px) / 2));
    padding-right: max(24px, calc((100vw - 1140px) / 2));
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

/* Hero background */
.lp-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.lp-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.18;
}
.lp-hero-orb1 {
    width: 600px; height: 600px;
    background: var(--color-primary);
    top: -100px; left: -80px;
}
.lp-hero-orb2 {
    width: 500px; height: 500px;
    background: var(--color-accent);
    bottom: -120px; right: -80px;
    opacity: 0.1;
}

.lp-tree-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(5, 1fr);
    pointer-events: none;
}
.lp-mini-tree {
    width: 48px;
    height: 60px;
    opacity: 0.4;
    animation: treeSway 4s ease-in-out infinite;
    align-self: end;
    justify-self: center;
}
.lp-mini-tree:nth-child(odd) { animation-delay: 1s; }
.lp-mini-tree:nth-child(3n) { animation-delay: 2s; }

@keyframes treeSway {
    0%, 100% { transform: rotate(-1.5deg); }
    50% { transform: rotate(1.5deg); }
}

.lp-hero-content {
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 560px;
    padding-top: 40px;
}

.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139,195,74,.12);
    border: 1px solid rgba(139,195,74,.3);
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 22px;
    letter-spacing: 0.04em;
}

.lp-pulse {
    width: 8px; height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(139,195,74,.6); }
    50% { box-shadow: 0 0 0 6px rgba(139,195,74,0); }
}

.lp-hero-accent {
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary-lt) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-hero-sub {
    color: var(--color-muted);
    font-size: 1.05rem;
    margin: 20px 0 32px;
    max-width: 500px;
}

.lp-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.lp-hero-stats {
    display: flex;
    gap: 20px;
    align-items: center;
}
.lp-stat { display: flex; flex-direction: column; }
.lp-stat-num { font-size: 1.4rem; font-weight: 800; color: var(--color-accent); line-height: 1; }
.lp-stat span:last-child { font-size: 0.72rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.lp-stat-div { width: 1px; height: 36px; background: var(--color-border); }

/* Hero card */
.lp-hero-card-wrap {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 460px;
    max-width: 100%;
    perspective: 1000px;
}

.lp-hero-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card), 0 0 60px rgba(46,125,50,.15);
    animation: cardFloat 5s ease-in-out infinite;
}
@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotateY(-2deg); }
    50% { transform: translateY(-10px) rotateY(2deg); }
}

.lp-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(0,0,0,.3);
    border-bottom: 1px solid var(--color-border);
}
.lp-card-dot { width: 11px; height: 11px; border-radius: 50%; }
.lp-dot-red { background: #EF5350; }
.lp-dot-yellow { background: #FFC107; }
.lp-dot-green { background: #4CAF50; }
.lp-card-title { font-size: 0.78rem; color: var(--color-muted); margin-left: 6px; font-weight: 500; }

.lp-card-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }

.lp-card-map { border-radius: 8px; overflow: hidden; }
.lp-card-map svg { display: block; width: 100%; height: auto; }

.lp-card-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
}
.lp-metric { display: flex; flex-direction: column; gap: 3px; }
.lp-metric-label { font-size: 0.68rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.lp-metric-val { font-size: 1rem; font-weight: 700; }
.lp-green { color: #4CAF50; }
.lp-red { color: var(--color-red); }
.lp-yellow { color: var(--color-yellow); }

.lp-badge-status {
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    padding: 3px 10px;
}
.lp-badge-red { background: rgba(239,83,80,.2); color: var(--color-red); }
.lp-badge-green { background: rgba(76,175,80,.2); color: #4CAF50; }

.lp-card-ai {
    background: rgba(139,195,74,.07);
    border: 1px solid rgba(139,195,74,.2);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
}
.lp-ai-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    display: block;
    margin-bottom: 6px;
}
.lp-card-ai p {
    font-size: 0.82rem;
    color: var(--color-muted);
    font-style: italic;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .lp-hero { flex-direction: column; padding-top: 96px; text-align: center; }
    .lp-hero-row {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start;
        gap: 1.5rem;
    }
    .lp-hero-row, .lp-hero-row * {
        min-width: 0 !important;
    }
    .lp-hero-content, .lp-hero-card-wrap {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 auto;
    }
    .lp-hero-right {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    .lp-hero-actions, .lp-hero-stats { justify-content: center; }
    .lp-hero-card-wrap { width: 100% !important; max-width: 480px; }
    .lp-hero-card { margin: 0 auto; }
    @keyframes cardFloat { 0%,100% { transform: none; } }
}

/* ============================================================
   FEATURES
============================================================ */
.lp-features { background: var(--color-surface); }

.lp-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) { .lp-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lp-feature-grid { grid-template-columns: 1fr; } }

.lp-feature-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px 26px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.lp-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.5);
    border-color: rgba(139,195,74,.35);
}

.lp-feature-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.lp-feature-icon svg { width: 22px; height: 22px; }
.lp-icon-green  { background: rgba(46,125,50,.2);  color: #4CAF50; }
.lp-icon-blue   { background: rgba(21,101,192,.2); color: #42A5F5; }
.lp-icon-purple { background: rgba(106,27,154,.2); color: #CE93D8; }
.lp-icon-orange { background: rgba(230,81,0,.2);   color: #FFA726; }
.lp-icon-teal   { background: rgba(0,131,143,.2);  color: #4DD0E1; }

.lp-feature-card h3 { margin-bottom: 10px; }
.lp-feature-card p  { color: var(--color-muted); font-size: 0.9rem; }

/* ============================================================
   HOW IT WORKS
============================================================ */
.lp-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.lp-step {
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
}

.lp-step-num {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--color-primary);
    opacity: 0.7;
    line-height: 1;
    margin-bottom: 16px;
    font-variant-numeric: tabular-nums;
}
.lp-step h3 { margin-bottom: 10px; }
.lp-step p  { color: var(--color-muted); font-size: 0.9rem; }

.lp-step-arrow {
    font-size: 1.8rem;
    color: var(--color-primary);
    opacity: 0.5;
    align-self: center;
    flex-shrink: 0;
    margin-top: -20px;
}
@media (max-width: 700px) { .lp-step-arrow { display: none; } }

/* ============================================================
   INDICES
============================================================ */
/* ============================================================
   DUAL-SATELLITE SECTION
============================================================ */
.lp-dual-sat { background: var(--color-bg); }

.lp-sat-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 40px;
}
@media (max-width: 860px) {
    .lp-sat-grid { grid-template-columns: 1fr; }
    .lp-sat-vs   { text-align: center; }
}

.lp-sat-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lp-sat-badge {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 4px;
}

.lp-sat-card h3 { font-size: 1.15rem; }

.lp-sat-desc {
    color: var(--color-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.lp-sat-specs {
    list-style: none;
    font-size: 0.82rem;
    color: var(--color-muted);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lp-sat-specs li strong { color: var(--color-text); }

.lp-sat-chip {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--color-border);
    margin-top: 4px;
}
.lp-sat-chip svg { display: block; width: 100%; height: auto; }

.lp-sat-vs {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-accent);
    align-self: center;
    line-height: 1;
    padding: 0 8px;
}

.lp-dual-callout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: rgba(139,195,74,.06);
    border: 1px solid rgba(139,195,74,.2);
    border-radius: var(--radius);
    padding: 24px 28px;
}
.lp-dual-callout-icon { font-size: 2rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.lp-dual-callout strong { display: block; font-size: 1rem; margin-bottom: 6px; color: var(--color-text); }
.lp-dual-callout p { color: var(--color-muted); font-size: 0.875rem; margin: 0; }
.lp-dual-callout em { color: var(--color-accent); font-style: normal; font-weight: 600; }

/* ============================================================
   INDICES
============================================================ */
.lp-indices { background: var(--color-surface); }

.lp-indices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1000px) { .lp-indices-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .lp-indices-grid { grid-template-columns: 1fr; } }

.lp-index-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px 26px;
}

.lp-index-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.lp-index-card h3 { margin-bottom: 10px; }
.lp-index-card p  { color: var(--color-muted); font-size: 0.875rem; margin-bottom: 18px; }

.lp-index-formula {
    font-family: 'Courier New', monospace;
    font-size: 0.88rem;
    background: rgba(0,0,0,.3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: var(--color-accent);
}
.f-nir { color: #4CAF50; }
.f-red { color: var(--color-red); }

/* ============================================================
   CTA / LOGIN
============================================================ */
.lp-cta {
    background: linear-gradient(135deg, var(--color-bg) 0%, #0a1f0a 50%, var(--color-bg) 100%);
}

.lp-cta-inner {
    display: flex;
    gap: 64px;
    align-items: flex-start;
}
@media (max-width: 860px) {
    .lp-cta-inner { flex-direction: column; align-items: center; }
    .lp-cta-left, .lp-cta-right { max-width: 520px; width: 100%; }
}

.lp-cta-left { flex: 1; padding-top: 8px; }
.lp-cta-left p { color: var(--color-muted); font-size: 0.95rem; margin: 16px 0 24px; }

.lp-check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lp-check-list li {
    color: var(--color-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.lp-check-list li::before {
    content: '';
}
.lp-check-list li {
    padding-left: 0;
}

/* Auth card */
.lp-cta-right { flex-shrink: 0; width: 400px; max-width: 100%; }

.lp-auth-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.lp-auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    background: rgba(0,0,0,.03);
}
.lp-tab {
    flex: 1;
    padding: 14px;
    background: transparent;
    border: none;
    color: var(--color-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font);
    transition: all .2s;
    border-bottom: 2px solid transparent;
}
.lp-tab.active {
    color: var(--color-text);
    border-bottom-color: var(--color-accent);
    background: rgba(46,125,50,.12);
}
.lp-tab:hover:not(.active) { color: var(--color-text); }

/* Rounded top for auth tabs */
.lp-tab:first-child { border-top-left-radius: calc(var(--radius) - 2px); }
.lp-tab:last-child { border-top-right-radius: calc(var(--radius) - 2px); }

.lp-form {
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lp-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lp-form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.lp-form-group label small { font-size: 0.75rem; font-weight: 400; text-transform: none; letter-spacing: 0; opacity: 0.8; }
.lp-form-group input {
    background: rgba(0,0,0,.35);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: var(--color-text);
    font-size: 0.92rem;
    font-family: var(--font);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    width: 100%;
}
.lp-form-group input::placeholder { color: rgba(156,186,158,.4); }
.lp-form-group input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(46,125,50,.2);
}

.lp-form-switch {
    font-size: 0.82rem;
    color: var(--color-muted);
    text-align: center;
}
.lp-form-switch a { color: var(--color-accent); }
.lp-form-switch a:hover { text-decoration: underline; }

/* Google style for hero button variant */
.lp-btn-secondary {
    background: #fff;
    color: #374151;
    border: 1px solid #e5e7eb;
    padding: .6rem 1rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}
.lp-btn-secondary svg { vertical-align: middle; }

/* ============================================================
   FOOTER
============================================================ */
.lp-footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 32px 0;
}

.lp-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.lp-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
}

.lp-footer-copy {
    font-size: 0.82rem;
    color: var(--color-muted);
}

/* ============================================================
   Scroll animations (lightweight, no JS)
============================================================ */
@media (prefers-reduced-motion: no-preference) {
    .lp-feature-card, .lp-step, .lp-index-card {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeUp 0.6s ease forwards;
    }
    .lp-feature-card:nth-child(1) { animation-delay: 0.05s; }
    .lp-feature-card:nth-child(2) { animation-delay: 0.10s; }
    .lp-feature-card:nth-child(3) { animation-delay: 0.15s; }
    .lp-feature-card:nth-child(4) { animation-delay: 0.20s; }
    .lp-feature-card:nth-child(5) { animation-delay: 0.25s; }
    .lp-feature-card:nth-child(6) { animation-delay: 0.30s; }
    .lp-step:nth-child(1) { animation-delay: 0.05s; }
    .lp-step:nth-child(3) { animation-delay: 0.15s; }
    .lp-step:nth-child(5) { animation-delay: 0.25s; }
    .lp-index-card:nth-child(1) { animation-delay: 0.05s; }
    .lp-index-card:nth-child(2) { animation-delay: 0.12s; }
    .lp-index-card:nth-child(3) { animation-delay: 0.19s; }

    @keyframes fadeUp {
        to { opacity: 1; transform: translateY(0); }
    }
}

/* ============================================================
   SECTION SUBTITLE (shared)
============================================================ */
.lp-section-sub {
    color: var(--color-muted);
    font-size: 1rem;
    max-width: 580px;
    margin: 12px auto 0;
}

/* ============================================================
   THREE HOOKS
============================================================ */
.lp-hooks { background: var(--color-bg); }

.lp-hook-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.lp-hook-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.lp-hook-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0,0,0,.55);
    border-color: rgba(139,195,74,.35);
}

.lp-hook-num {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--color-primary);
    opacity: 0.22;
    line-height: 1;
    margin-bottom: -6px;
}

.lp-hook-tagline {
    color: var(--color-accent);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
}

.lp-hook-desc {
    color: var(--color-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.lp-hook-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.lp-hook-list li {
    font-size: 0.88rem;
    color: var(--color-muted);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}
.lp-hook-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.lp-hook-callout {
    background: rgba(139,195,74,.07);
    border: 1px solid rgba(139,195,74,.2);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 0.85rem;
    color: var(--color-muted);
    line-height: 1.55;
    margin-top: auto;
}
.lp-hook-callout strong { color: var(--color-text); }

.lp-hook-footnote {
    color: rgba(156,186,158,.8);
    font-size: 0.78rem;
    margin-top: 10px;
    line-height: 1.4;
}

@media (max-width: 900px) { .lp-hook-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ============================================================
   PRICING
============================================================ */
.lp-pricing { background: var(--color-surface); }

.lp-plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}

.lp-plan {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 36px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
}

.lp-plan-popular {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px var(--color-accent), var(--shadow-card);
}

.lp-plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #0D1A0D;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.lp-plan-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
}

.lp-plan-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
}
.lp-plan-price span {
    font-size: 1rem;
    color: var(--color-muted);
    font-weight: 400;
}

.lp-plan-tagline {
    color: var(--color-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: -8px;
}

.lp-plan-min {
    color: rgba(156,186,158,.75);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.lp-plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    margin-bottom: 4px;
}
.lp-plan-features li {
    font-size: 0.87rem;
    color: var(--color-text);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}
.lp-plan-features li::before {
    content: '✓';
    color: var(--color-accent);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.lp-plan-off { color: rgba(156,186,158,.45) !important; }
.lp-plan-off::before { content: '—' !important; color: rgba(139,195,74,.2) !important; }

.lp-plan-annual {
    text-align: center;
    font-size: 0.78rem;
    color: var(--color-accent);
    opacity: 0.8;
    margin-top: -6px;
}

.lp-pricing-note {
    text-align: center;
    color: var(--color-muted);
    font-size: 0.85rem;
    margin-top: 36px;
}

.lp-plan-enterprise {
    border-color: rgba(139,195,74,.3);
    border-style: dashed;
    background: rgba(13,26,13,.6);
}

@media (max-width: 900px) {
    .lp-plans {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
    .lp-plan-popular { order: -1; }
}

/* ============================================================
    HOW IT WORKS — DELIVERABLES GRID
============================================================ */
.lp-deliverables {
    margin-top: 60px;
    border-top: 1px solid var(--color-border);
    padding-top: 40px;
}
.lp-deliverables h3 {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 28px;
}
.lp-deliverables-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.lp-deliv-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 20px 18px;
}
.lp-deliv-icon {
    font-size: 1.5rem;
    margin-bottom: 4px;
}
.lp-deliv-item strong {
    font-size: 0.9rem;
    color: var(--color-text);
    font-weight: 700;
}
.lp-deliv-item span {
    font-size: 0.82rem;
    color: var(--color-muted);
    line-height: 1.5;
}
@media (max-width: 900px) {
    .lp-deliverables-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .lp-deliverables-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SCIENCE SECTION
============================================================ */
.lp-science-note {
    margin-top: 32px;
    padding: 16px 20px;
    background: rgba(139,195,74,.07);
    border: 1px solid rgba(139,195,74,.2);
    border-radius: var(--radius);
    font-size: 0.82rem;
    color: var(--color-muted);
    line-height: 1.6;
}
.lp-science-note strong {
    color: var(--color-accent);
}

/* ============================================================
   FAQ SECTION
============================================================ */
.lp-faq { background: var(--color-bg); }
.lp-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.lp-faq-item {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 22px 22px 18px;
}
.lp-faq-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
    user-select: none;
}
.lp-faq-item h4::after {
    content: ' ▸';
    color: var(--color-accent);
    font-size: 0.75rem;
}
.lp-faq-item.open h4::after { content: ' ▾'; }
.lp-faq-item p {
    font-size: 0.85rem;
    color: var(--color-muted);
    line-height: 1.65;
    display: none;
}
.lp-faq-item.open p { display: block; }
@media (max-width: 700px) {
    .lp-faq-grid { grid-template-columns: 1fr; }
}

/*  Mobile overrides (must come after all desktop rules to win specificity)  */
@media (max-width: 600px) {
    .lp-hero {
        flex-direction: column;
        align-items: stretch;
        padding-left: 0;
        padding-right: 0;
        gap: 18px;
        padding-top: 96px;
        padding-bottom: 32px;
        min-height: unset;
    }
    .lp-hero-content {
        max-width: 100%;
        padding-top: 12px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .lp-hero-card-wrap {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 18px auto;
    }
    .lp-hero-card {
        border-radius: 10px;
        box-shadow: 0 4px 16px rgba(46,125,50,.18);
    }
    .lp-card-header, .lp-card-body {
        padding-left: 10px;
        padding-right: 10px;
    }
    .lp-card-map svg {
        width: 100% !important;
        height: auto !important;
        min-width: 0;
        max-width: 100vw;
    }
    .lp-hero-stats {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px;
        align-items: stretch;
        justify-content: flex-start;
        margin-bottom: 10px;
    }
    .lp-stat-div {
        display: none !important;
    }
    .lp-stat {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .lp-stat span:first-child {
        flex: 0 0 auto;
    }
    .lp-stat span:last-child {
        flex: 1 1 auto;
        text-align: right;
        min-width: 0;
    }
    .lp-hero-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
        margin-bottom: 18px;
    }
    .lp-hero-row {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 1.5rem;
    }
    .lp-hero-row, .lp-hero-row * {
        min-width: 0 !important;
    }
    .lp-hero-content,
    .lp-hero-right {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    .lp-hero-actions > div { width: 100%; }
    .lp-hero-actions a { width: 100%; }
    .lp-hero-map-wrap {
        margin-top: 18px;
        margin-bottom: 0;
        width: 100% !important;
        left: 0;
        margin-left: 0;
    }
    .lp-hero-map-wrap #public-map {
        width: 100%;
        height: 220px;
        border-radius: 0;
        min-width: 0;
        max-width: 100%;
    }
    .lp-pubmap-legend {
        font-size: 0.62rem;
        gap: 0.5rem;
        padding-left: 0.3rem;
        margin-top: 0.3rem;
        justify-content: center;
    }
    .lp-pubmap-legend span {
        flex: 1 1 auto;
        min-width: 120px;
    }
    .lp-section {
        padding: 38px 0 32px 0;
    }
    .lp-section-header {
        margin-bottom: 28px;
        padding-left: 8px;
        padding-right: 8px;
        max-width: 100%;
    }
    .lp-hero-row,
    .lp-pubmap-meta,
    .lp-hero-actions,
    .lp-hero-stats,
    .lp-steps,
    .lp-deliverables-grid,
    .lp-plans,
    .lp-indices-grid,
    .lp-step,
    .lp-plan,
    .lp-index-card,
    .lp-feature-grid {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }
    .lp-pubmap-meta,
    .lp-hero-actions,
    .lp-steps {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .lp-step-arrow {
        display: none;
    }
    .lp-deliverables-grid,
    .lp-plans,
    .lp-indices-grid,
    .lp-feature-grid {
        grid-template-columns: 1fr !important;
    }
    .lp-card-body,
    .lp-card-map,
    .lp-card-metrics,
    .lp-card-ai {
        width: 100%;
        max-width: 100%;
    }
    .lp-plan-features li {
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .lp-hero-content h1 {
        font-size: 1.45rem;
    }
    .lp-hero-accent {
        font-size: 1.1rem;
    }
    .lp-hero-card {
        font-size: 0.95rem;
    }
    .lp-card-header, .lp-card-body {
        padding-left: 6px;
        padding-right: 6px;
    }
    .lp-hero-stats {
        font-size: 0.92rem;
    }
    .lp-btn, .lp-btn-lg, .lp-btn-primary, .lp-btn-outline {
        font-size: 0.98rem;
        padding: 10px 10px;
    }
}
