/* ================================================================
   LANDING PAGE — scoped under .lp-root to avoid conflicts with
   the main app styles (dashboard, sidebar, etc.)
================================================================ */

/* CSS custom properties cascade from .lp-root to all descendants */
.lp-root {
    --c-black:  #080808;
    --c-navy:   #0b0a23;
    --c-indigo: #30278d;
    --c-violet: #7a5cff;
    --c-blue:   #387cfb;
    --c-blue-2: #238be7;
    --c-cyan:   #00e5ff;
    --c-bg:     #fafafa;
    --c-white:  #ffffff;

    --text:          #14132B;
    --text-muted:    #5B5F78;
    --text-subtle:   #8A8FA8;
    --border:        #E6E7EE;
    --border-strong: #D2D5E0;

    --shadow-sm: 0 1px 2px rgba(11,10,35,0.04);
    --shadow-md: 0 1px 2px rgba(11,10,35,0.04), 0 8px 24px rgba(11,10,35,0.06);
    --shadow-lg: 0 20px 50px -16px rgba(11,10,35,0.18), 0 8px 24px rgba(11,10,35,0.06);

    --radius:    12px;
    --radius-sm: 8px;

    font-family: 'Cairo', sans-serif;
    background:  var(--c-bg);
    color:       var(--text);
    font-size:   15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

.lp-root *, .lp-root *::before, .lp-root *::after { box-sizing: border-box; }
.lp-root a { color: inherit; text-decoration: none; }

/* ── Wrapper ── */
.lp-root .wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ============================================================
   NAV
============================================================ */
.lp-root .nav {
    height: 68px;
    display: flex;
    align-items: center;
    background: rgba(11,10,35,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: #fff;
    position: sticky; top: 0; z-index: 50;
}
.lp-root .nav-inner   { display: flex; align-items: center; gap: 36px; width: 100%; }
.lp-root .nav-brand   { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.lp-root .brand-mark  {
    width: 30px; height: 30px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--c-violet) 0%, var(--c-blue) 100%);
    display: grid; place-items: center;
    color: #fff;
    box-shadow: 0 6px 14px rgba(122,92,255,0.35), inset 0 0 0 1px rgba(255,255,255,0.16);
}
.lp-root .brand-mark svg { width: 16px; height: 16px; }
.lp-root .nav-links   { display: flex; gap: 28px; font-size: 14px; color: rgba(255,255,255,0.7); }
.lp-root .nav-links a:hover { color: #fff; }
.lp-root .nav-spacer  { flex: 1; }
.lp-root .nav-actions { display: flex; gap: 8px; align-items: center; }
.lp-root .nav-link    { font-size: 14px; color: rgba(255,255,255,0.7); padding: 6px 10px; }
.lp-root .nav-link:hover { color: #fff; }

/* ============================================================
   BUTTONS
============================================================ */
.lp-root .btn {
    height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: all 140ms ease;
    white-space: nowrap;
}
.lp-root .btn:hover      { border-color: var(--border-strong); transform: translateY(-1px); }
.lp-root .btn svg        { width: 14px; height: 14px; }
.lp-root .btn-primary    {
    background: linear-gradient(135deg, var(--c-violet) 0%, var(--c-blue) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(122,92,255,0.35);
}
.lp-root .btn-primary:hover { box-shadow: 0 8px 20px rgba(122,92,255,0.45); transform: translateY(-1px); color: #fff; }
.lp-root .btn-dark       { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
.lp-root .btn-dark:hover { background: var(--c-black); border-color: var(--c-black); color: #fff; }
.lp-root .btn-outline-light {
    background: transparent;
    border-color: rgba(255,255,255,0.18);
    color: #fff;
}
.lp-root .btn-outline-light:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.28); color: #fff; }
.lp-root .btn-lg { height: 46px; padding: 0 22px; font-size: 14.5px; }

/* ============================================================
   HERO
============================================================ */
.lp-root .hero {
    position: relative;
    background: linear-gradient(180deg, var(--c-navy) 0%, var(--c-black) 100%);
    color: #fff;
    overflow: hidden;
    padding: 72px 0 96px;
}
.lp-root .hero::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(900px 500px at 85% 0%,  rgba(122,92,255,0.22), transparent 60%),
        radial-gradient(800px 500px at 5%  30%, rgba(56,124,251,0.18), transparent 60%);
    pointer-events: none;
}
.lp-root .hero::after {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 80%);
    pointer-events: none;
}
.lp-root .hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}
.lp-root .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 5px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.04);
    border-radius: 999px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.78);
    margin-bottom: 22px;
    backdrop-filter: blur(6px);
}
.lp-root .eyebrow .pill {
    font-size: 10.5px; font-weight: 600; color: #fff;
    background: linear-gradient(135deg, var(--c-violet), var(--c-blue));
    padding: 3px 9px; border-radius: 999px;
    letter-spacing: 0.04em; text-transform: uppercase;
}
.lp-root .hero h1 {
    font-size: 56px; line-height: 1.06; letter-spacing: -0.03em;
    font-weight: 700; margin: 0 0 20px; color: #fff; text-wrap: balance;
}
.lp-root .hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--c-violet) 0%, var(--c-blue-2) 60%, var(--c-cyan) 110%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-root .hero p.lede {
    font-size: 17px; color: rgba(255,255,255,0.72); line-height: 1.55;
    max-width: 540px; margin: 0 0 28px; text-wrap: pretty;
}
.lp-root .hero-cta  { display: flex; gap: 10px; align-items: center; margin-bottom: 28px; }
.lp-root .hero-trust {
    display: flex; align-items: center; gap: 22px;
    font-size: 12.5px; color: rgba(255,255,255,0.6);
}
.lp-root .hero-trust .item { display: inline-flex; align-items: center; gap: 6px; }
.lp-root .hero-trust svg  { width: 12px; height: 12px; color: var(--c-cyan); }

/* Hero visual */
.lp-root .hero-visual  { position: relative; }
.lp-root .console      {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 14px; overflow: hidden;
    box-shadow: 0 30px 60px -16px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}
.lp-root .console-bar  {
    height: 36px; background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; gap: 6px; padding: 0 14px;
}
.lp-root .console-bar .tl { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.lp-root .console-bar .url {
    margin-left: 14px; flex: 1; height: 22px;
    background: rgba(0,0,0,0.30); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px; font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: rgba(255,255,255,0.55);
    display: inline-flex; align-items: center; padding: 0 9px; max-width: 320px;
}
.lp-root .console-body {
    background: #fff; color: var(--text);
    display: grid; grid-template-columns: 56px 1fr; min-height: 360px;
}
/* Real screenshot variant — drops the SVG mockup and fills the frame with an image */
.lp-root .console-image { display: block; background: #fff; line-height: 0; }
.lp-root .console-image img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
}
.lp-root .console-side {
    background: var(--c-navy); padding: 14px 8px;
    display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.lp-root .cs-mark {
    width: 28px; height: 28px; border-radius: 6px;
    background: linear-gradient(135deg, var(--c-violet), var(--c-blue));
    margin-bottom: 8px; display: grid; place-items: center; color: #fff;
}
.lp-root .cs-mark svg { width: 14px; height: 14px; }
.lp-root .cs-item      {
    width: 32px; height: 30px; border-radius: 5px;
    color: rgba(255,255,255,0.45); display: grid; place-items: center;
}
.lp-root .cs-item svg  { width: 13px; height: 13px; }
.lp-root .cs-item.active { background: rgba(122,92,255,0.20); color: #fff; }

.lp-root .console-content { padding: 20px 22px; }
.lp-root .cc-head {
    display: flex; align-items: baseline; gap: 12px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px; margin-bottom: 16px;
}
.lp-root .cc-head h4  { margin: 0; font-size: 14px; font-weight: 600; color: var(--text); }
.lp-root .cc-head .sub { font-size: 12px; color: var(--text-subtle); }
.lp-root .cc-cards     { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 14px; }
.lp-root .cc-card      { border: 1px solid var(--border); border-radius: 7px; padding: 9px 11px; }
.lp-root .cc-card .lbl { font-size: 10px; color: var(--text-subtle); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.lp-root .cc-card .num { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; font-variant-numeric: tabular-nums; color: var(--text); }
.lp-root .cc-card .delta { font-size: 10px; color: #047857; margin-top: 1px; font-weight: 500; }
.lp-root .cc-card .delta.down { color: #B91C1C; }

.lp-root .cc-row       { border: 1px solid var(--border); border-radius: 7px; overflow: hidden; }
.lp-root .cc-row-head  {
    background: #FAFBFC; border-bottom: 1px solid var(--border);
    padding: 8px 12px; font-size: 10px; font-weight: 600;
    color: var(--text-subtle); text-transform: uppercase; letter-spacing: 0.05em; display: flex;
}
.lp-root .cc-row-head span:nth-child(1) { flex: 1.4; }
.lp-root .cc-row-head span:nth-child(2) { flex: 1; }
.lp-root .cc-row-head span:nth-child(3) { flex: 0 0 70px; text-align: right; }
.lp-root .cc-row-item  {
    display: flex; align-items: center; padding: 9px 12px;
    font-size: 12px; border-bottom: 1px solid var(--border);
}
.lp-root .cc-row-item:last-child { border-bottom: 0; }
.lp-root .cc-row-item .name { flex: 1.4; font-weight: 500; color: var(--text); }
.lp-root .cc-row-item .name .id {
    display: block; font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: var(--text-subtle); font-weight: 400; margin-top: 1px;
}
.lp-root .cc-row-item .sim { flex: 1; display: flex; align-items: center; gap: 8px; }
.lp-root .cc-row-item .sim .bar {
    flex: 1; height: 4px; background: #EEF1F6; border-radius: 2px; overflow: hidden; max-width: 90px;
}
.lp-root .cc-row-item .sim .bar div { height: 100%; background: linear-gradient(90deg, var(--c-blue), var(--c-violet)); }
.lp-root .cc-row-item .sim .bar.danger div { background: #B91C1C; }
.lp-root .cc-row-item .sim .pct { font-variant-numeric: tabular-nums; font-size: 11.5px; min-width: 40px; color: var(--text); }
.lp-root .cc-row-item .status { flex: 0 0 70px; text-align: right; }

/* Badge (landing page only — scoped) */
.lp-root .lp-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 3px; line-height: 1.4;
}
.lp-root .lp-badge svg { width: 9px; height: 9px; }
.lp-root .lp-badge.success { color: #047857; background: #E8F4EE; }
.lp-root .lp-badge.danger  { color: #B91C1C; background: #FBEAEA; }

/* ============================================================
   SECTIONS
============================================================ */
.lp-root section { padding: 88px 0; }
.lp-root .sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.lp-root .sec-eyebrow {
    display: inline-block; font-size: 12px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--c-blue); margin-bottom: 12px;
}
.lp-root .sec-head h2 {
    font-size: 38px; line-height: 1.12; letter-spacing: -0.025em;
    font-weight: 700; margin: 0 0 14px; color: var(--c-navy); text-wrap: balance;
}
.lp-root .sec-head p { font-size: 16px; color: var(--text-muted); margin: 0; text-wrap: pretty; }

/* ============================================================
   TRUST / VALUE
============================================================ */
.lp-root .trust-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.lp-root .trust-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 0; overflow: hidden;
    box-shadow: var(--shadow-sm); transition: all 200ms ease;
    display: flex; flex-direction: column;
}
.lp-root .trust-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }

/* Image area at the top of each card. Light tinted background so PNGs with
   transparency look intentional; aspect-ratio keeps cards aligned even when
   one image hasn't loaded yet (no CLS). */
.lp-root .trust-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #f6f7ff, #eef0fb);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.lp-root .trust-media img {
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    object-fit: contain;
    display: block;
}

.lp-root .trust-body { padding: 22px 28px 28px; }
.lp-root .trust-icon {
    width: 44px; height: 44px; border-radius: 11px;
    background: linear-gradient(135deg, rgba(122,92,255,0.10), rgba(56,124,251,0.10));
    color: var(--c-indigo); display: grid; place-items: center; margin-bottom: 16px;
}
.lp-root .trust-icon svg { width: 20px; height: 20px; }
.lp-root .trust-card h3 {
    font-size: 18px; font-weight: 600; margin: 0 0 8px; color: var(--c-navy); letter-spacing: -0.01em;
}
.lp-root .trust-card p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ============================================================
   HOW IT WORKS
============================================================ */
.lp-root .alt-bg { background: var(--c-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-root .steps  { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.lp-root .step   {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px; box-shadow: var(--shadow-sm); position: relative;
}
.lp-root .step-num {
    width: 32px; height: 32px; border-radius: 8px;
    background: linear-gradient(135deg, var(--c-violet), var(--c-blue));
    color: #fff; display: grid; place-items: center;
    font-size: 13px; font-weight: 700; font-family: 'JetBrains Mono', monospace;
    margin-bottom: 16px; box-shadow: 0 4px 10px rgba(122,92,255,0.25);
}
.lp-root .step h3 { font-size: 16px; margin: 0 0 6px; font-weight: 600; color: var(--c-navy); letter-spacing: -0.005em; }
.lp-root .step p  { font-size: 13.5px; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* ============================================================
   FEATURES
============================================================ */
.lp-root .features { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.lp-root .feature  {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px; box-shadow: var(--shadow-sm); transition: all 200ms ease;
}
.lp-root .feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.lp-root .feature-icon {
    width: 38px; height: 38px; border-radius: 9px;
    background: rgba(56,124,251,0.10); color: var(--c-blue);
    display: grid; place-items: center; margin-bottom: 16px;
}
.lp-root .feature-icon svg { width: 18px; height: 18px; }
.lp-root .feature h3 { font-size: 15.5px; font-weight: 600; margin: 0 0 6px; color: var(--c-navy); letter-spacing: -0.005em; }
.lp-root .feature p  { font-size: 13.5px; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* ============================================================
   DEVELOPER API
============================================================ */
.lp-root .dev-section {
    background: linear-gradient(180deg, var(--c-navy) 0%, var(--c-black) 100%);
    color: #fff; position: relative; overflow: hidden;
}
.lp-root .dev-section::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(700px 320px at 90% 0%,   rgba(122,92,255,0.20), transparent 60%),
        radial-gradient(700px 320px at 10% 100%, rgba(56,124,251,0.18),  transparent 60%);
    pointer-events: none;
}
.lp-root .dev-grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.lp-root .dev-grid h2 {
    font-size: 36px; line-height: 1.12; letter-spacing: -0.025em;
    font-weight: 700; margin: 0 0 14px; color: #fff; text-wrap: balance;
}
.lp-root .dev-grid p { font-size: 15.5px; color: rgba(255,255,255,0.7); margin: 0 0 22px; max-width: 460px; }
.lp-root .dev-grid .sec-eyebrow { color: var(--c-cyan); }
.lp-root .dev-feats { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 10px; }
.lp-root .dev-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.85); }
.lp-root .dev-feats li .check {
    width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%;
    background: rgba(0,229,255,0.15); color: var(--c-cyan);
    display: grid; place-items: center; margin-top: 2px;
}
.lp-root .dev-feats li .check svg { width: 10px; height: 10px; }

/* Code tabs */
.lp-root .code-tabs-lp {
    background: rgba(8,8,8,0.55);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 14px; overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px -16px rgba(0,0,0,0.55);
}
.lp-root .tabs-bar {
    height: 40px; background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: stretch; padding: 0 8px; gap: 2px;
}
.lp-root .lp-tab {
    border: 0; background: transparent;
    color: rgba(255,255,255,0.55); font-family: 'JetBrains Mono', monospace;
    font-size: 12px; padding: 0 14px; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
    border-bottom: 2px solid transparent; margin-bottom: -1px;
    transition: color 140ms;
}
.lp-root .lp-tab.active { color: #fff; border-bottom-color: var(--c-cyan); background: rgba(0,229,255,0.04); }
.lp-root .lp-tab:hover  { color: #fff; }
.lp-root .lp-tab .dot   { width: 6px; height: 6px; border-radius: 50%; background: var(--c-violet); }
.lp-root .lp-tab.active .dot { background: var(--c-cyan); }

.lp-root .code-body-lp {
    padding: 18px 22px; font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px; color: rgba(255,255,255,0.92); line-height: 1.7;
    min-height: 280px; overflow-x: auto;
}
.lp-root .code-body-lp .panel     { display: none; }
.lp-root .code-body-lp .panel.active { display: block; }
.lp-root .c-mute  { color: rgba(255,255,255,0.4); }
.lp-root .c-key   { color: #93B5FF; }
.lp-root .c-str   { color: #4ADE80; }
.lp-root .c-num   { color: #FACC15; }
.lp-root .c-fn    { color: #C4B5FD; }
.lp-root .c-kw    { color: var(--c-cyan); }
.lp-root .prompt  { color: var(--c-violet); }

/* ============================================================
   PRICING
============================================================ */
.lp-root .pricing    { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; align-items: stretch; }
.lp-root .price-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 30px 28px; display: flex; flex-direction: column;
    box-shadow: var(--shadow-sm); position: relative; transition: all 200ms ease;
}
.lp-root .price-card:hover { box-shadow: var(--shadow-md); }
.lp-root .price-card.featured {
    border: 1.5px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, var(--c-violet), var(--c-blue)) border-box;
    box-shadow: 0 24px 50px -16px rgba(122,92,255,0.30), 0 8px 24px rgba(11,10,35,0.06);
}
.lp-root .featured-pill {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--c-violet), var(--c-blue));
    color: #fff; font-size: 11px; font-weight: 600;
    padding: 4px 12px; border-radius: 999px; letter-spacing: 0.04em;
    text-transform: uppercase; box-shadow: 0 6px 16px rgba(122,92,255,0.35);
}
.lp-root .plan-name  { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.lp-root .plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.lp-root .plan-price .num { font-size: 38px; font-weight: 700; letter-spacing: -0.025em; color: var(--c-navy); }
.lp-root .plan-price .per { font-size: 13.5px; color: var(--text-muted); }
.lp-root .plan-desc  { font-size: 13.5px; color: var(--text-muted); margin: 0 0 22px; min-height: 40px; }
.lp-root .plan-cta   { margin-bottom: 22px; }
.lp-root .plan-cta .btn { width: 100%; justify-content: center; }
.lp-root .plan-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lp-root .plan-feats li { font-size: 13.5px; color: var(--text); display: flex; gap: 9px; align-items: flex-start; }
.lp-root .plan-feats li .check {
    width: 16px; height: 16px; flex: 0 0 16px; border-radius: 50%;
    background: rgba(56,124,251,0.10); color: var(--c-blue);
    display: grid; place-items: center; margin-top: 2px;
}
.lp-root .plan-feats li .check svg { width: 9px; height: 9px; }

/* ============================================================
   SECURITY
============================================================ */
.lp-root .security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lp-root .security-grid .sec-head { text-align: left; margin: 0 0 24px; }
.lp-root .security-grid .sec-head p { max-width: 480px; }
.lp-root .sec-bullets  { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.lp-root .sec-bullets li { display: flex; gap: 14px; align-items: flex-start; }
.lp-root .sec-bullets li .ic {
    width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px;
    background: linear-gradient(135deg, rgba(122,92,255,0.12), rgba(56,124,251,0.12));
    color: var(--c-indigo); display: grid; place-items: center;
}
.lp-root .sec-bullets li .ic svg { width: 18px; height: 18px; }
.lp-root .sec-bullets li .body strong { display: block; color: var(--c-navy); font-weight: 600; font-size: 15px; margin-bottom: 3px; }
.lp-root .sec-bullets li .body span  { color: var(--text-muted); font-size: 14px; }

.lp-root .security-card {
    background: linear-gradient(180deg, var(--c-navy), var(--c-black));
    border-radius: 16px; padding: 28px; color: #fff;
    position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.lp-root .security-card::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(500px 300px at 100% 0%, rgba(122,92,255,0.25), transparent 60%);
    pointer-events: none;
}
.lp-root .sec-card-head {
    position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
}
.lp-root .sec-card-head .lock {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(0,229,255,0.12); color: var(--c-cyan); display: grid; place-items: center;
}
.lp-root .sec-card-head .lock svg { width: 18px; height: 18px; }
.lp-root .sec-card-head h4  { margin: 0; font-size: 16px; font-weight: 600; color: #fff; }
.lp-root .sec-card-head .sub { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.lp-root .token-row {
    position: relative;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px; padding: 12px 14px; margin-bottom: 12px;
    display: flex; align-items: center; gap: 12px;
    font-family: 'JetBrains Mono', monospace; font-size: 12px; color: rgba(255,255,255,0.85);
}
.lp-root .token-row .key { color: var(--c-cyan); }
.lp-root .token-row .val { flex: 1; color: rgba(255,255,255,0.55); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-root .token-row .ind {
    width: 8px; height: 8px; border-radius: 50%; background: #4ADE80;
    box-shadow: 0 0 0 3px rgba(74,222,128,0.18); flex: 0 0 8px;
}
.lp-root .audit-list { position: relative; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.lp-root .audit-item {
    display: flex; align-items: center; gap: 10px; padding: 9px 12px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 7px; font-size: 12px;
}
.lp-root .audit-item .t { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(255,255,255,0.45); flex: 0 0 60px; }
.lp-root .audit-item .e { flex: 1; color: rgba(255,255,255,0.85); }
.lp-root .audit-item .b {
    font-size: 10px; padding: 2px 7px; border-radius: 3px; font-weight: 600;
    background: rgba(74,222,128,0.15); color: #4ADE80;
}
.lp-root .audit-item .b.warn { background: rgba(250,204,21,0.15); color: #FACC15; }

/* ============================================================
   FINAL CTA
============================================================ */
.lp-root .final-cta {
    background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-indigo) 50%, var(--c-violet) 130%);
    color: #fff; border-radius: 18px; padding: 64px;
    text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.lp-root .final-cta::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(500px 220px at 80% 80%, rgba(0,229,255,0.18), transparent 60%),
        radial-gradient(500px 220px at 20% 20%, rgba(122,92,255,0.30), transparent 60%);
    pointer-events: none;
}
.lp-root .final-cta h2 {
    position: relative; font-size: 38px; line-height: 1.1; margin: 0 0 12px;
    font-weight: 700; letter-spacing: -0.025em; color: #fff; text-wrap: balance;
}
.lp-root .final-cta p {
    position: relative; color: rgba(255,255,255,0.7); margin: 0 auto 30px;
    font-size: 16px; max-width: 560px;
}
.lp-root .final-actions { position: relative; display: flex; gap: 12px; justify-content: center; }

/* ============================================================
   FOOTER
============================================================ */
.lp-root footer { padding: 56px 0 28px; background: #fff; border-top: 1px solid var(--border); }
.lp-root .foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4,1fr); gap: 40px; margin-bottom: 36px; }
.lp-root .foot-brand p { font-size: 13.5px; color: var(--text-muted); margin: 14px 0 16px; max-width: 280px; }
.lp-root .foot-brand .nav-brand { color: var(--c-navy); }
.lp-root .foot-col h4 {
    font-size: 12px; font-weight: 600; color: var(--c-navy);
    text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 14px;
}
.lp-root .foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.lp-root .foot-col a  { font-size: 13.5px; color: var(--text-muted); }
.lp-root .foot-col a:hover { color: var(--text); }
.lp-root .foot-bottom {
    border-top: 1px solid var(--border); padding-top: 22px;
    display: flex; align-items: center; gap: 16px;
    font-size: 12.5px; color: var(--text-subtle);
}
.lp-root .foot-bottom .spacer { flex: 1; }
.lp-root .foot-bottom .links  { display: flex; gap: 18px; }

/* ============================================================
   USE-CASE IMAGE STRIP
============================================================ */
.lp-root .usecases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.lp-root .uc-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.lp-root .uc-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}
.lp-root .uc-media {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #eef0f8;
    position: relative;
}
.lp-root .uc-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 400ms ease;
}
.lp-root .uc-card:hover .uc-media img { transform: scale(1.04); }
.lp-root .uc-body { padding: 18px 18px 22px; }
.lp-root .uc-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--c-blue);
    margin-bottom: 8px;
}
.lp-root .uc-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--text);
    letter-spacing: -.01em;
}
.lp-root .uc-body p {
    margin: 0;
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
}
.lp-root .uc-cta { text-align: center; margin-top: 28px; }
.lp-root .btn-outline-dark {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--text);
}
.lp-root .btn-outline-dark:hover { background: #fff; }

/* ============================================================
   PRICING TOGGLE + LAUNCH PROMO
============================================================ */
.lp-root .pricing-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.lp-root .promo-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(217,119,6,.12), rgba(245,158,11,.12));
    color: #92400e;
    border: 1px solid rgba(217,119,6,.25);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .02em;
}
.lp-root .promo-pill .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #d97706;
    box-shadow: 0 0 0 4px rgba(217,119,6,.18);
    animation: lp-pulse 1.6s ease-in-out infinite;
}
@keyframes lp-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(217,119,6,.18); }
    50%      { box-shadow: 0 0 0 7px rgba(217,119,6,.05); }
}
.lp-root .currency-toggle {
    display: inline-flex;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 3px;
    box-shadow: var(--shadow-sm);
}
.lp-root .currency-toggle button {
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 140ms ease;
}
.lp-root .currency-toggle button:hover { color: var(--text); }
.lp-root .currency-toggle button.active {
    background: var(--c-indigo);
    color: #fff;
    box-shadow: 0 4px 10px rgba(48,39,141,.25);
}

/* 4-column pricing grid (Free + 3 paid) */
.lp-root .pricing.pricing-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Strikethrough original price (50%-off launch promo) */
.lp-root .plan-price .strike {
    align-self: flex-end;
    margin-bottom: 10px;
    margin-right: 6px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-subtle);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(217,119,6,.5);
}

/* ============================================================
   FAQ
============================================================ */
.lp-root .faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lp-root .faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}
.lp-root .faq-item[open] {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}
.lp-root .faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.lp-root .faq-item summary::-webkit-details-marker { display: none; }
.lp-root .faq-item summary::after {
    content: "+";
    font-size: 22px;
    font-weight: 400;
    color: var(--text-muted);
    transition: transform 160ms ease;
    line-height: 1;
}
.lp-root .faq-item[open] summary::after { content: "−"; }
.lp-root .faq-item > div {
    padding: 0 20px 18px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
    .lp-root .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .lp-root .hero h1   { font-size: 44px; }
    .lp-root .features,
    .lp-root .trust-grid,
    .lp-root .pricing   { grid-template-columns: repeat(2,1fr); }
    .lp-root .pricing.pricing-4 { grid-template-columns: repeat(2,1fr); }
    .lp-root .usecases-grid { grid-template-columns: repeat(2,1fr); }
    .lp-root .steps     { grid-template-columns: repeat(2,1fr); }
    .lp-root .dev-grid  { grid-template-columns: 1fr; gap: 36px; }
    .lp-root .security-grid { grid-template-columns: 1fr; gap: 40px; }
    .lp-root .foot-grid { grid-template-columns: 1fr 1fr; }
    .lp-root .sec-head h2 { font-size: 30px; }
}
@media (max-width: 640px) {
    .lp-root .wrap      { padding: 0 20px; }
    .lp-root .hero      { padding: 56px 0 64px; }
    .lp-root .hero h1   { font-size: 34px; }
    .lp-root .hero p.lede { font-size: 15px; }
    .lp-root .hero-cta  { flex-direction: column; align-items: stretch; }
    .lp-root .hero-cta .btn { width: 100%; justify-content: center; }
    .lp-root .hero-trust { flex-wrap: wrap; gap: 12px; }
    .lp-root .nav-links { display: none; }
    .lp-root .nav-actions .nav-link { display: none; }
    .lp-root section    { padding: 56px 0; }
    .lp-root .sec-head  { margin-bottom: 32px; }
    .lp-root .sec-head h2 { font-size: 26px; }
    .lp-root .features,
    .lp-root .trust-grid,
    .lp-root .pricing,
    .lp-root .pricing.pricing-4,
    .lp-root .usecases-grid,
    .lp-root .steps     { grid-template-columns: 1fr; }
    .lp-root .pricing-bar { flex-direction: column; gap: 12px; }
    .lp-root .final-cta { padding: 40px 24px; }
    .lp-root .final-cta h2 { font-size: 26px; }
    .lp-root .final-actions { flex-direction: column; }
    .lp-root .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .lp-root .foot-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}
