/* =========================================================================
   ASTRA Intelligence — Public Landing Page
   Dark, premium, GOLD-accented SaaS aesthetic. The PDF design source is
   violet; per project decision the landing is retuned to the existing app's
   gold brand for color consistency with the logged-in product.

   Section map (built across phases):
     0. Tokens + reset            (Phase 2)
     1. Layout primitives         (Phase 2)
     2. Buttons                   (Phase 2)
     3. Eyebrows + headings       (Phase 2)
     4. Navbar                    (Phase 2)
     5. Hero                      (Phase 2)
     -- later phases append below --
   ========================================================================= */

/* ============================ 0. TOKENS + RESET ========================== */
.lp {
    /* Surfaces */
    --lp-bg: #08080c;
    --lp-bg-alt: #0c0c12;
    --lp-panel: #0e0e16;
    --lp-panel-2: #12121c;
    --lp-border: #1c1c26;
    --lp-border-strong: #2a2a38;

    /* Text */
    --lp-text: #ffffff;
    --lp-text-muted: #9ca3af;
    --lp-text-dim: #828b9c;   /* lifted from #6b7280 to meet WCAG AA for small text */

    /* Accent — gold brand (retuned from the PDF's violet) */
    --lp-accent: #fbbf24;
    --lp-accent-2: #fcd34d;
    --lp-accent-soft: #fde68a;
    --lp-accent-dim: #b88a16;
    --lp-accent-grad: linear-gradient(90deg, #fbbf24, #fde68a);
    --lp-accent-bg: rgba(251, 191, 36, 0.12);
    --lp-accent-border: rgba(251, 191, 36, 0.40);

    /* Semantic */
    --lp-ok: #34d399;
    --lp-danger: #ef6b6b;

    /* Radii + shadow */
    --lp-radius: 16px;
    --lp-radius-sm: 10px;
    --lp-glow: 0 0 0 1px var(--lp-border), 0 20px 60px -20px rgba(0, 0, 0, 0.8);
    --lp-glow-gold: 0 0 80px -20px rgba(251, 191, 36, 0.35);

    /* Fonts — reuse the app's families (already loaded) */
    --lp-font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --lp-font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body.lp {
    margin: 0;
    padding: 0;
    background: var(--lp-bg);
    color: var(--lp-text);
    font-family: var(--lp-font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    overflow-x: hidden;
}

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

/* ========================= 1. LAYOUT PRIMITIVES ========================== */
.lp-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-section { padding: 96px 0; }
.lp-section--alt { background: var(--lp-bg-alt); }

/* ============================== 2. BUTTONS =============================== */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1;
    padding: .85rem 1.5rem;
    border-radius: var(--lp-radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 3px; }

/* Gold filled — primary brand action (navbar Get Started, final CTA) */
.lp-btn--accent {
    background: var(--lp-accent);
    color: #1a1405;
    box-shadow: 0 8px 24px -8px rgba(251, 191, 36, 0.5);
}
.lp-btn--accent:hover { background: var(--lp-accent-2); }

/* Light/white — hero primary */
.lp-btn--light {
    background: #f4ecd4;
    color: #14110a;
}
.lp-btn--light:hover { background: #ffffff; }

/* Dark — secondary */
.lp-btn--dark {
    background: var(--lp-panel);
    color: var(--lp-text);
    border-color: var(--lp-border-strong);
}
.lp-btn--dark:hover { border-color: var(--lp-accent-border); background: var(--lp-panel-2); }

/* WhatsApp contact */
.lp-btn--whatsapp {
    background: transparent;
    color: var(--lp-text-muted);
    border-color: var(--lp-border-strong);
    padding: .6rem .9rem;
}
.lp-btn--whatsapp:hover { color: #25d366; border-color: rgba(37, 211, 102, 0.5); }
.lp-btn--whatsapp svg { width: 18px; height: 18px; }

.lp-btn--sm { padding: .55rem 1rem; font-size: .85rem; }

/* ====================== 3. EYEBROWS + HEADINGS =========================== */
.lp-eyebrow {
    display: inline-block;
    font-family: var(--lp-font-mono);
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .72rem;
    font-weight: 600;
    color: var(--lp-accent);          /* neutral / brand */
}
.lp-eyebrow--danger { color: var(--lp-danger); }   /* "IT IS NOT" / negatives */
.lp-eyebrow--ok { color: var(--lp-ok); }

.lp-h2 {
    font-size: clamp(1.9rem, 4.2vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: .6rem 0 0;
}
.lp-grad {
    background: var(--lp-accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lp-sub {
    color: var(--lp-text-muted);
    font-size: 1.05rem;
    max-width: 42rem;
    margin: 1rem auto 0;
}
.lp-section-head { text-align: center; margin-bottom: 56px; }
.lp-hl-ok { color: var(--lp-ok); font-weight: 700; }

/* ============================== 4. NAVBAR ================================ */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(14, 14, 22, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--lp-border);
}
.lp-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 1rem;
}
.lp-brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.05rem; }
.lp-brand-mark {
    display: grid; place-items: center;
    width: 34px; height: 34px;
    border-radius: 9px;
    background: var(--lp-accent-grad);
    color: #14110a;
    font-weight: 800; font-size: .85rem;
    font-family: var(--lp-font-mono);
}
.lp-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.lp-brand-name { letter-spacing: -0.01em; }
.lp-brand-name span { color: var(--lp-text-muted); font-weight: 600; }
.lp-brand-tagline {
    font-size: .64rem;
    font-weight: 500;
    letter-spacing: .01em;
    color: var(--lp-text-dim);
    margin-top: 2px;
    white-space: nowrap;
}

.lp-nav-links { display: flex; align-items: center; gap: 2rem; }
.lp-nav-links a {
    color: var(--lp-text-muted);
    font-size: .92rem;
    font-weight: 500;
    transition: color .15s;
}
.lp-nav-links a:hover { color: var(--lp-text); }

.lp-nav-actions { display: flex; align-items: center; gap: .6rem; }

/* Resources dropdown (mega menu) */
.lp-nav-item { position: relative; }
.lp-nav-dd {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: .92rem;
    font-weight: 500;
    color: var(--lp-text-muted);
    padding: 0;
    transition: color .15s;
}
.lp-nav-dd:hover { color: var(--lp-text); }
.lp-nav-dd:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 4px; border-radius: 4px; }
.lp-nav-dd-caret { transition: transform .2s ease; }
.lp-nav-dd[aria-expanded="true"] { color: var(--lp-text); }
.lp-nav-dd[aria-expanded="true"] .lp-nav-dd-caret { transform: rotate(180deg); }

.lp-mega {
    position: absolute;
    top: calc(100% + 18px);
    right: 0;
    width: min(760px, 86vw);
    background: var(--lp-panel);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-glow);
    padding: 1.5rem 1.75rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 110;
}
.lp-nav-dd[aria-expanded="true"] + .lp-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.lp-mega-title {
    font-family: var(--lp-font-mono);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .68rem;
    color: var(--lp-accent);
    margin: 0 0 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--lp-border);
}
.lp-mega-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.lp-mega-col h4 { font-size: .92rem; font-weight: 700; margin: 0 0 .4rem; color: var(--lp-text); }
.lp-mega-col p { color: var(--lp-text-dim); font-size: .76rem; line-height: 1.45; margin: 0 0 .85rem; }
.lp-mega-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.lp-mega-col a { color: var(--lp-text-muted); font-size: .85rem; transition: color .15s; }
.lp-mega-col a:hover { color: var(--lp-accent); }

/* Products mega — left-anchored, narrower, single column of product rows */
.lp-mega--products { right: auto; left: 0; width: min(420px, 88vw); }
.lp-mega-heading { font-size: 1rem; font-weight: 800; color: var(--lp-text); margin: 0 0 .4rem; letter-spacing: -0.01em; }
.lp-mega-lead { color: var(--lp-text-muted); font-size: .82rem; line-height: 1.5; margin: 0 0 1.25rem; }
.lp-products { display: flex; flex-direction: column; gap: .35rem; }
.lp-product {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: .7rem .75rem;
    border-radius: var(--lp-radius-sm);
    border: 1px solid transparent;
    transition: background .15s ease, border-color .15s ease;
}
.lp-product:hover { background: var(--lp-bg-alt); border-color: var(--lp-border); }
.lp-product-icon {
    flex-shrink: 0;
    width: 38px; height: 38px;
    border-radius: 10px;
    display: grid; place-items: center;
    background: var(--lp-accent-bg);
    border: 1px solid var(--lp-accent-border);
    color: var(--lp-accent);
}
.lp-product-icon svg { width: 19px; height: 19px; }
.lp-product-text { display: flex; flex-direction: column; gap: .15rem; }
.lp-product-text strong { color: var(--lp-text); font-size: .92rem; font-weight: 700; }
.lp-product-text span { color: var(--lp-text-dim); font-size: .78rem; line-height: 1.4; }

/* Sign In — borderless text link (no btn padding/border) */
.lp-signin {
    color: var(--lp-text-muted);
    font-size: .9rem;
    font-weight: 600;
    padding: 0 .25rem;
    transition: color .15s;
}
.lp-signin:hover { color: var(--lp-text); }
.lp-signin:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 3px; border-radius: 4px; }

/* WhatsApp — borderless small text link (no btn padding/border) */
.lp-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--lp-text-muted);
    font-size: .84rem;
    font-weight: 600;
    padding: 0 .25rem;
    transition: color .15s;
}
.lp-whatsapp-link:hover { color: #25d366; }
.lp-whatsapp-link svg { width: 15px; height: 15px; }
.lp-whatsapp-link:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 3px; border-radius: 4px; }

/* Mobile nav toggle (hamburger) — shown ≤860px via the responsive block */
.lp-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--lp-border-strong);
    border-radius: 8px;
    padding: 9px;
    cursor: pointer;
    color: var(--lp-text);
}
.lp-nav-toggle:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 2px; }
.lp-nav-toggle-bars { display: flex; flex-direction: column; justify-content: space-between; width: 20px; height: 14px; }
.lp-nav-toggle-bars span { display: block; height: 2px; width: 100%; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.lp-nav-toggle[aria-expanded="true"] .lp-nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.lp-nav-toggle[aria-expanded="true"] .lp-nav-toggle-bars span:nth-child(2) { opacity: 0; }
.lp-nav-toggle[aria-expanded="true"] .lp-nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =============================== 5. HERO ================================= */
.lp-hero {
    position: relative;
    padding: 88px 0 96px;
    text-align: center;
    overflow: hidden;
}
.lp-hero::before {
    content: "";
    position: absolute;
    inset: -20% 0 auto 0;
    height: 600px;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(251, 191, 36, 0.14), transparent 70%);
    pointer-events: none;
}
.lp-hero-inner { position: relative; z-index: 1; }

.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--lp-font-mono);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .72rem;
    font-weight: 600;
    color: var(--lp-accent);
    background: var(--lp-accent-bg);
    border: 1px solid var(--lp-accent-border);
    border-radius: 999px;
    padding: .45rem 1rem;
}

.lp-hero h1 {
    font-size: clamp(2.4rem, 6.5vw, 4.4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 1.4rem 0 0;
}
.lp-hero h1 .lp-grad { display: block; }

.lp-hero-sub {
    color: var(--lp-text-muted);
    font-size: 1.15rem;
    max-width: 40rem;
    margin: 1.5rem auto 0;
}

.lp-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.2rem;
    flex-wrap: wrap;
}

.lp-capabilities {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.4rem;
    margin-top: 3rem;
    font-family: var(--lp-font-mono);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .7rem;
    color: var(--lp-text-dim);
}
.lp-capabilities span { white-space: nowrap; }
.lp-capabilities .lp-cap-dot { color: var(--lp-accent); }

/* ---- Stylized dashboard product mockup (CSS only, no copied imagery) ---- */
.lp-mockup-wrap {
    position: relative;
    margin: 4rem auto 0;
    max-width: 920px;
    padding: 0 8px;
}
.lp-mockup {
    position: relative;
    background: linear-gradient(180deg, var(--lp-panel-2), var(--lp-panel));
    border: 1px solid var(--lp-border-strong);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-glow), var(--lp-glow-gold);
    overflow: hidden;
    text-align: left;
}
.lp-mockup-bar {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .8rem 1.1rem;
    border-bottom: 1px solid var(--lp-border);
    background: rgba(0, 0, 0, 0.2);
}
.lp-mockup-dots { display: flex; gap: .4rem; }
.lp-mockup-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--lp-border-strong); }
.lp-mockup-tag {
    font-family: var(--lp-font-mono);
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lp-text-dim);
}
.lp-mockup-body {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 1rem;
    padding: 1.2rem;
}
.lp-mockup-chart {
    position: relative;
    min-height: 240px;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    background:
        linear-gradient(0deg, rgba(251, 191, 36, 0.06), transparent 60%),
        var(--lp-bg-alt);
    overflow: hidden;
}
.lp-mockup-chart svg { display: block; width: 100%; height: 100%; }
.lp-mockup-side { display: flex; flex-direction: column; gap: .8rem; }
.lp-mockup-tile {
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    background: var(--lp-bg-alt);
    padding: .9rem 1rem;
}
.lp-mockup-tile .k {
    font-family: var(--lp-font-mono);
    font-size: .62rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lp-text-dim);
}
.lp-mockup-tile .v { font-size: 1.35rem; font-weight: 800; margin-top: .3rem; }
.lp-mockup-tile .v.up { color: var(--lp-ok); }
.lp-mockup-pill {
    display: inline-block;
    font-family: var(--lp-font-mono);
    font-size: .6rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--lp-accent);
    background: var(--lp-accent-bg);
    border: 1px solid var(--lp-accent-border);
    border-radius: 999px;
    padding: .25rem .6rem;
    margin-top: .4rem;
}

/* ======================= 6. CARDS + ✓/✗ LISTS =========================== */
.lp-card {
    background: var(--lp-panel);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 2rem;
    box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.9);
}
.lp-card--accent { border-color: var(--lp-accent-border); }
.lp-card-eyebrow {
    display: block;
    font-family: var(--lp-font-mono);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .72rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--lp-accent);
}
.lp-card-eyebrow--danger { color: var(--lp-danger); }
.lp-card-eyebrow--ok { color: var(--lp-ok); }
.lp-card-body { color: var(--lp-text-muted); font-size: 1.02rem; margin: 0; }

/* Two-card row */
.lp-cards-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 980px;
    margin: 0 auto;
}

/* ✓ / ✗ row lists */
.lp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .85rem; }
.lp-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    color: var(--lp-text-muted);
    font-size: 1rem;
}
.lp-list li::before {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: .8rem; font-weight: 700;
    margin-top: 1px;
}
.lp-list--ok li::before {
    content: "✓";
    background: rgba(52, 211, 153, 0.12);
    color: var(--lp-ok);
}
.lp-list--no li::before {
    content: "✗";
    background: rgba(239, 107, 107, 0.12);
    color: var(--lp-danger);
}
.lp-list--dot li::before {
    content: "•";
    background: rgba(156, 163, 175, 0.12);
    color: var(--lp-text-dim);
}

/* ===================== 7. FEATURE GRID (2x2) ============================ */
.lp-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 980px;
    margin: 0 auto;
}
.lp-feature {
    background: var(--lp-panel);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 1.75rem;
    transition: border-color .18s ease, transform .18s ease;
}
.lp-feature:hover { border-color: var(--lp-accent-border); transform: translateY(-3px); }
.lp-feature-visual {
    width: 100%;
    height: 120px;
    border-radius: var(--lp-radius-sm);
    border: 1px solid var(--lp-border);
    background:
        radial-gradient(circle at 30% 20%, rgba(251, 191, 36, 0.10), transparent 60%),
        var(--lp-bg-alt);
    display: grid;
    place-items: center;
    margin-bottom: 1.25rem;
    overflow: hidden;
}
.lp-feature-visual svg { width: 100%; height: 100%; display: block; }
/* A card holding a real image drops the fixed 120px frame so the whole image
   shows (full view, not cropped). */
.lp-feature-visual:has(img) {
    height: auto;
    border: none;
    background: none;
    overflow: visible;
}
.lp-feature-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--lp-radius-sm);   /* a bit of rounding */
}
/* Image placeholder shown until a real asset is added */
.lp-img-ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%; height: 100%;
    color: var(--lp-text-dim);
    font-family: var(--lp-font-mono);
    font-size: .62rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.lp-img-ph svg { width: 30px; height: 30px; opacity: .7; }
.lp-feature h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 .5rem; }
.lp-feature p { color: var(--lp-text-muted); margin: 0; font-size: .98rem; }

/* ===================== 8. BENEFIT CHIPS (value) ========================= */
.lp-chips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 980px;
    margin: 0 auto;
}
.lp-chip {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: var(--lp-panel);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    padding: 1rem 1.15rem;
    color: var(--lp-text);
    font-weight: 500;
    font-size: .98rem;
}
.lp-chip::before {
    content: "✓";
    flex-shrink: 0;
    width: 24px; height: 24px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: .82rem; font-weight: 700;
    background: rgba(52, 211, 153, 0.12);
    color: var(--lp-ok);
}

/* ===================== 9. COMPARISON TABLE ============================== */
.lp-table-wrap { max-width: 920px; margin: 0 auto; overflow-x: auto; }
.lp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
    background: var(--lp-panel);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    overflow: hidden;
}
.lp-table th, .lp-table td {
    text-align: left;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--lp-border);
    font-size: .98rem;
}
.lp-table thead th {
    font-family: var(--lp-font-mono);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .72rem;
    color: var(--lp-text-dim);
    font-weight: 600;
}
.lp-table tbody tr:last-child td { border-bottom: none; }
.lp-table td:first-child { color: var(--lp-text-muted); font-weight: 600; }
.lp-table .lp-col-typical { color: var(--lp-text-muted); }
/* Emphasized ASTRA column */
.lp-table .lp-col-astra {
    color: var(--lp-text);
    font-weight: 600;
    background: var(--lp-accent-bg);
    border-left: 1px solid var(--lp-accent-border);
    border-right: 1px solid var(--lp-accent-border);
}
.lp-table thead .lp-col-astra { color: var(--lp-accent); }

/* ============================ 10. PRICING =============================== */
.lp-pricing {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 880px;
    margin: 0 auto;
    align-items: start;
}
.lp-plan {
    position: relative;
    background: var(--lp-panel);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}
.lp-plan--featured {
    border-color: var(--lp-accent-border);
    box-shadow: var(--lp-glow-gold);
}
.lp-plan-badge {
    position: absolute;
    top: -12px; left: 50%; transform: translateX(-50%);
    font-family: var(--lp-font-mono);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .66rem;
    font-weight: 700;
    color: #1a1405;
    background: var(--lp-accent-grad);
    border-radius: 999px;
    padding: .35rem .9rem;
    white-space: nowrap;
}
.lp-plan-name {
    font-family: var(--lp-font-mono);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .78rem;
    color: var(--lp-text-muted);
    margin: 0;
}
.lp-plan-price { margin: 1rem 0 .25rem; display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.lp-plan-price .amt { font-size: 2.6rem; font-weight: 900; letter-spacing: -0.02em; }
.lp-plan-price .per { color: var(--lp-text-muted); font-size: .95rem; }
.lp-plan-was { color: var(--lp-text-dim); text-decoration: line-through; font-size: .95rem; }
.lp-plan-save { color: var(--lp-ok); font-weight: 600; font-size: .92rem; margin: 0 0 .85rem; }
.lp-plan-promo {
    color: var(--lp-text-muted);
    font-size: .85rem;
    line-height: 1.45;
    margin: 0 0 1.25rem;
    padding: .65rem .8rem;
    background: var(--lp-accent-bg);
    border: 1px solid var(--lp-accent-border);
    border-radius: var(--lp-radius-sm);
}
.lp-trial-note {
    font-family: var(--lp-font-mono);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .72rem;
    font-weight: 600;
    color: var(--lp-ok);
    margin: .85rem 0 0;
}
.lp-plan .lp-list { margin: 1rem 0 1.75rem; }
.lp-plan .lp-list li { font-size: .95rem; }
.lp-plan .lp-btn { width: 100%; margin-top: auto; }
.lp-plan-fineprint { color: var(--lp-text-dim); font-size: .78rem; margin: 1rem 0 0; text-align: center; }

/* ============================== 11. FAQ ================================= */
.lp-faq { max-width: 760px; margin: 0 auto; }
.lp-faq-item { border-bottom: 1px solid var(--lp-border); }
.lp-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--lp-text);
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 1.35rem 0;
}
.lp-faq-q:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 4px; }
.lp-faq-icon { flex-shrink: 0; color: var(--lp-accent); transition: transform .2s ease; font-size: 1.4rem; line-height: 1; }
.lp-faq-q[aria-expanded="true"] .lp-faq-icon { transform: rotate(45deg); }
.lp-faq-a {
    overflow: hidden;
    max-height: 0;
    transition: max-height .25s ease;
    color: var(--lp-text-muted);
}
.lp-faq-a p { margin: 0 0 1.35rem; }
.lp-faq-q[aria-expanded="true"] + .lp-faq-a { max-height: 320px; }

/* ========================== 12. FINAL CTA ============================== */
.lp-cta {
    position: relative;
    text-align: center;
    padding: 104px 0;
    overflow: hidden;
}
.lp-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(251, 191, 36, 0.12), transparent 70%);
    pointer-events: none;
}
.lp-cta-inner { position: relative; z-index: 1; }
.lp-cta h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin: 0;
}
.lp-cta h2 .lp-grad { display: block; }
.lp-cta-sub { color: var(--lp-text-muted); font-size: 1.1rem; max-width: 36rem; margin: 1.25rem auto 0; }
.lp-cta-actions { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

/* ========================= 13. RESOURCES FOOTER ========================= */
.lp-footer { background: var(--lp-bg-alt); border-top: 1px solid var(--lp-border); }
.lp-footer-inner { padding: 1.5rem 0 2.25rem; }
.lp-footer-top { padding: 72px 0 56px; }
.lp-footer-heading { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 2.5rem; }
.lp-footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
.lp-footer-col h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 .5rem;
}
.lp-footer-col p { color: var(--lp-text-muted); font-size: .9rem; margin: 0 0 1.25rem; }
.lp-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .65rem; }
.lp-footer-links a { color: var(--lp-text-muted); font-size: .92rem; transition: color .15s; }
.lp-footer-links a:hover { color: var(--lp-accent); }

.lp-footer-bar {
    padding: 0 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.lp-disclaimer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--lp-border);
    display: flex;
    flex-direction: column;
    gap: .8rem;
    max-width: 1000px;
}
.lp-disclaimer p { color: var(--lp-text-dim); font-size: .8rem; line-height: 1.6; margin: 0; }
.lp-footer-fineprint {
    color: var(--lp-text-dim);
    font-size: .72rem;
    line-height: 1.6;
    max-width: 1000px;
    margin: 1.25rem 0 0;
    opacity: .85;
}
.lp-footer-copy { color: var(--lp-text-dim); font-size: .78rem; margin: 1.5rem 0 0; }

/* ============================ RESPONSIVE (base) ========================== */
@media (max-width: 860px) {
    /* --- Mobile nav: hamburger toggles a stacked panel --- */
    .lp-nav-toggle { display: inline-flex; }
    .lp-nav-inner { flex-wrap: wrap; height: auto; min-height: 68px; }
    .lp-nav-links, .lp-nav-actions { flex-basis: 100%; order: 3; }
    .lp-nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: .25rem;
        padding: .5rem 0;
        border-top: 1px solid var(--lp-border);
        margin-top: .5rem;
    }
    .lp-nav-actions {
        display: none;
        gap: .6rem;
        padding: .25rem 0 1rem;
    }
    .lp-nav.is-open .lp-nav-links,
    .lp-nav.is-open .lp-nav-actions { display: flex; }
    .lp-nav-links a, .lp-nav-dd { padding: .65rem 0; font-size: 1rem; }
    .lp-nav-actions .lp-btn { flex: 1; }

    /* Resources mega menu renders inline (full-width, stacked) on mobile */
    .lp-nav-item { width: 100%; }
    .lp-mega {
        position: static;
        width: 100%;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
        transform: none;
        opacity: 1;
        visibility: hidden;
        pointer-events: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
    }
    .lp-nav-dd[aria-expanded="true"] + .lp-mega {
        visibility: visible;
        pointer-events: auto;
        max-height: 1400px;
        padding: .25rem 0 .75rem;
    }
    .lp-mega-title { margin-bottom: .75rem; padding-bottom: .5rem; }
    .lp-mega-cols { grid-template-columns: 1fr; gap: 1.25rem; }

    /* --- Section stacking --- */
    .lp-mockup-body { grid-template-columns: 1fr; }
    .lp-section { padding: 72px 0; }
    .lp-cards-2 { grid-template-columns: 1fr; }
    .lp-features { grid-template-columns: 1fr; }
    .lp-chips { grid-template-columns: 1fr; }
    .lp-pricing { grid-template-columns: 1fr; }
    .lp-footer-bar { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 861px) and (max-width: 1040px) {
    .lp-chips { grid-template-columns: repeat(2, 1fr); }
}
/* Hide the long brand tagline on narrow screens to keep the navbar tidy */
@media (max-width: 640px) {
    .lp-brand-tagline { display: none; }
}
