/* =====================================================================
   GovLink – Public landing page
   Dark base with blue, gold, green and red accents. Used by Pages/Landing.cshtml
   ===================================================================== */
:root {
    --ld-ink: #050a16;
    --ld-navy: #0a1430;
    --ld-panel: rgba(16, 26, 54, .55);
    --ld-panel-strong: rgba(14, 23, 48, .82);
    --ld-border: rgba(255, 255, 255, .09);
    --ld-text: #eef2fb;
    --ld-muted: #9aa6c3;
    --ld-blue: #3b82f6;
    --ld-blue-2: #60a5fa;
    --ld-gold: #f2b33d;
    --ld-gold-2: #ffd77a;
    --ld-green: #22c55e;
    --ld-green-2: #4ade80;
    --ld-red: #ef4444;
    --ld-red-2: #fb7185;
    --ld-ease: cubic-bezier(.22, .8, .24, 1);
    --ld-radius: 22px;
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body.ld {
    margin: 0; min-height: 100vh; overflow-x: hidden;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--ld-text); background: var(--ld-ink);
    -webkit-font-smoothing: antialiased;
}
.ld h1, .ld h2, .ld h3, .ld h4, .ld h5 { font-family: "Sora", "Plus Jakarta Sans", system-ui, sans-serif; letter-spacing: -.02em; color: #fff; }
:where(.ld) a { color: inherit; }
.ld ::selection { background: rgba(242, 179, 61, .35); }
.ld-wrap { width: min(1220px, 100% - 40px); margin-inline: auto; }

/* ---------- buttons ---------- */
.ld-btn { display: inline-flex; align-items: center; justify-content: center; gap: .2rem; border-radius: 14px; font-weight: 700;
    text-decoration: none; padding: .8rem 1.4rem; border: 1px solid transparent; white-space: nowrap;
    transition: transform .2s var(--ld-ease), box-shadow .25s, background .25s, border-color .25s; }
.ld-btn-sm { padding: .5rem 1rem; font-size: .88rem; border-radius: 12px; }
.ld-btn-lg { padding: 1rem 1.6rem; font-size: 1.02rem; }
.ld-btn-gold { color: #241600; background: linear-gradient(135deg, var(--ld-gold-2), var(--ld-gold) 55%, #d98f14);
    box-shadow: 0 10px 30px -10px rgba(242,179,61,.7), inset 0 1px 0 rgba(255,255,255,.5); }
.ld-btn-gold:hover { color: #241600; transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(242,179,61,.85), inset 0 1px 0 rgba(255,255,255,.5); }
.ld-btn-ghost { color: #fff; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ld-btn-ghost:hover { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.32); transform: translateY(-2px); }

/* ---------- nav ---------- */
.ld-nav { position: fixed; z-index: 100; top: 0; left: 0; right: 0; padding: 14px 0; transition: padding .3s, background .3s, box-shadow .3s; }
.ld-nav.is-solid { padding: 8px 0; background: rgba(5, 10, 22, .72); box-shadow: 0 10px 30px -18px rgba(0,0,0,.9);
    backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid var(--ld-border); }
.ld-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.ld-brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.3rem; color: #fff; text-decoration: none; }
.ld-brand b { background: linear-gradient(90deg, var(--ld-gold-2), var(--ld-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ld-brand-mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.16); }
.ld-brand-mark img { width: 26px; height: 26px; object-fit: contain; }
.ld-links { display: flex; gap: 6px; }
.ld-links a { color: var(--ld-muted); text-decoration: none; font-weight: 600; font-size: .92rem; padding: .45rem .8rem; border-radius: 10px; transition: color .2s, background .2s; }
.ld-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.ld-nav-cta { display: flex; gap: 8px; }
@media (max-width: 991.98px) { .ld-links { display: none; } }
@media (max-width: 420px) { .ld-nav-cta .ld-btn-ghost { display: none; } }

/* ---------- hero ---------- */
.ld-hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden;
    background: radial-gradient(1200px 700px at 80% 10%, #0d1d45 0%, transparent 60%), radial-gradient(900px 600px at 0% 100%, #0b2a20 0%, transparent 60%), var(--ld-ink); }
.ld-constellation { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.ld-orbs i { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .55; animation: ld-drift 24s ease-in-out infinite alternate; }
.ld-orbs .o1 { width: 520px; height: 520px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(59,130,246,.55), transparent 65%); }
.ld-orbs .o2 { width: 420px; height: 420px; left: -140px; bottom: -120px; background: radial-gradient(circle, rgba(34,197,94,.45), transparent 65%); animation-duration: 30s; }
.ld-orbs .o3 { width: 300px; height: 300px; right: 30%; bottom: -80px; background: radial-gradient(circle, rgba(239,68,68,.35), transparent 65%); animation-duration: 34s; }
.ld-orbs .o4 { width: 260px; height: 260px; left: 38%; top: 6%; background: radial-gradient(circle, rgba(242,179,61,.35), transparent 65%); animation-duration: 28s; }
@keyframes ld-drift { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(30px,24px,0) scale(1.08); } 100% { transform: translate3d(-24px,-18px,0) scale(.95); } }
.ld-grid { position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); }

.ld-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.ld-eyebrow { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: .45rem .9rem .45rem .5rem; border-radius: 999px;
    font-size: .84rem; font-weight: 600; color: #dbe4fb; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ld-live { display: inline-flex; align-items: center; gap: 6px; padding: .2rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .08em; color: #fff; background: linear-gradient(135deg, #dc2626, var(--ld-red)); }
.ld-live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: ld-pulse 1.6s ease-out infinite; }
.ld-live.sm { font-size: .62rem; padding: .15rem .5rem; }
@keyframes ld-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.8); } 100% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } }

.ld-hero h1 { font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.6rem); font-weight: 800; line-height: 1.04; margin: 22px 0 18px; }
.ld-grad { background: linear-gradient(92deg, var(--ld-gold-2) 0%, var(--ld-gold) 25%, var(--ld-green-2) 55%, var(--ld-blue-2) 80%, var(--ld-red-2) 100%);
    background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ld-shine 8s linear infinite; }
@keyframes ld-shine { to { background-position: 200% center; } }
.ld-lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); line-height: 1.65; color: #c3cde6; max-width: 600px; margin-bottom: 30px; }
.ld-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ld-cta.center { justify-content: center; }
.ld-trust { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 38px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); }
.ld-trust div { display: flex; flex-direction: column; }
.ld-trust strong { font-family: "Sora", sans-serif; font-size: 1.6rem; font-weight: 800; color: #fff; }
.ld-trust span { font-size: .82rem; color: var(--ld-muted); }

/* hero dashboard */
.ld-hero-visual { position: relative; }
.ld-glass { background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--ld-radius); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.12);
    backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); }
.ld-dash { padding: 18px; transform: perspective(1400px) rotateY(-8deg) rotateX(4deg); transition: transform .6s var(--ld-ease); }
.ld-hero-visual:hover .ld-dash { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.ld-dash-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: .8rem; color: var(--ld-muted); }
.ld-dash-head .dots { display: flex; gap: 5px; }
.ld-dash-head .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--ld-red); }
.ld-dash-head .dots i:nth-child(2) { background: var(--ld-gold); }
.ld-dash-head .dots i:nth-child(3) { background: var(--ld-green); }
.ld-dash-head .title { flex: 1; font-weight: 700; color: #dbe4fb; }
.ld-dash-main { padding: 16px 18px 6px; border-radius: 16px; background: rgba(5,10,22,.45); border: 1px solid rgba(255,255,255,.06); }
.ld-dash-main .lbl { font-size: .8rem; color: var(--ld-muted); font-weight: 600; }
.ld-dash-main .big { font-family: "Sora", sans-serif; font-size: 2.6rem; font-weight: 800; line-height: 1.1; color: #fff; }
.ld-dash-main .delta { font-size: .8rem; font-weight: 700; color: var(--ld-green-2); }
.ld-spark { width: 100%; height: 76px; margin-top: 8px; display: block; overflow: visible; }
.ld-spark-line { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: ld-draw 2.4s var(--ld-ease) .5s forwards; }
@keyframes ld-draw { to { stroke-dashoffset: 0; } }
.ld-dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.ld-mini { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.ld-mini > i { width: 34px; height: 34px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; font-size: .9rem; }
.ld-mini span { display: flex; flex-direction: column; font-size: .72rem; color: var(--ld-muted); line-height: 1.25; min-width: 0; }
.ld-mini b { font-family: "Sora", sans-serif; font-size: 1.02rem; color: #fff; white-space: nowrap; }
.ld-mini.blue > i { background: rgba(59,130,246,.18); color: var(--ld-blue-2); }
.ld-mini.green > i { background: rgba(34,197,94,.18); color: var(--ld-green-2); }
.ld-mini.gold > i { background: rgba(242,179,61,.18); color: var(--ld-gold-2); }
.ld-mini.red > i { background: rgba(239,68,68,.18); color: var(--ld-red-2); }
.ld-pipe { margin-top: 14px; }
.ld-pipe-lbl { display: flex; justify-content: space-between; font-size: .75rem; color: var(--ld-muted); font-weight: 600; margin-bottom: 6px; }
.ld-pipe-bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.06); }
.ld-pipe-bar i { display: block; height: 100%; transform-origin: left; animation: ld-grow 1.4s var(--ld-ease) .8s both; }
.ld-pipe-bar .b { background: var(--ld-blue); } .ld-pipe-bar .g { background: var(--ld-gold); } .ld-pipe-bar .gr { background: var(--ld-green); } .ld-pipe-bar .r { background: var(--ld-red); }
@keyframes ld-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ld-pipe-key { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: .7rem; color: var(--ld-muted); }
.ld-pipe-key span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 3px; margin-right: 5px; vertical-align: 0; }
.ld-pipe-key .b::before { background: var(--ld-blue); } .ld-pipe-key .g::before { background: var(--ld-gold); } .ld-pipe-key .gr::before { background: var(--ld-green); } .ld-pipe-key .r::before { background: var(--ld-red); }

.ld-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: .55rem .85rem; border-radius: 14px; font-size: .8rem; font-weight: 700;
    color: #fff; background: rgba(10,20,48,.75); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 16px 40px -14px rgba(0,0,0,.8);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: ld-bob 6s ease-in-out infinite; white-space: nowrap; }
.ld-chip i { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; font-size: .75rem; }
.ld-chip.c1 { left: -30px; top: -20px; } .ld-chip.c1 i { background: var(--ld-gold); color: #241600; }
.ld-chip.c2 { right: -26px; top: 38%; animation-delay: -2s; } .ld-chip.c2 i { background: var(--ld-blue); }
.ld-chip.c3 { left: 8%; bottom: -22px; animation-delay: -4s; } .ld-chip.c3 i { background: var(--ld-green); color: #04230f; }
@keyframes ld-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.ld-scroll { position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%); width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.2); animation: ld-bob 2.6s ease-in-out infinite; }

@media (max-width: 991.98px) {
    .ld-hero { padding: 110px 0 80px; min-height: auto; }
    .ld-hero-inner { grid-template-columns: 1fr; gap: 50px; }
    .ld-dash { transform: none; }
    .ld-chip.c1 { left: -6px; top: -18px; }
    .ld-chip.c2 { right: -6px; top: auto; bottom: 34%; }
    .ld-scroll { display: none; }
}
@media (max-width: 575.98px) { .ld-chip { display: none; } .ld-dash-row { grid-template-columns: 1fr; } }

/* ---------- ticker ---------- */
.ld-ticker { position: relative; overflow: hidden; padding: 16px 0; border-block: 1px solid var(--ld-border);
    background: linear-gradient(90deg, rgba(59,130,246,.08), rgba(242,179,61,.08), rgba(34,197,94,.08), rgba(239,68,68,.08));
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ld-ticker-track { display: flex; gap: 46px; width: max-content; animation: ld-marquee 46s linear infinite; }
.ld-ticker:hover .ld-ticker-track { animation-play-state: paused; }
.ld-ticker span { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: #dbe4fb; white-space: nowrap; }
.ld-ticker span i { color: var(--ld-gold); }
.ld-ticker span:nth-child(4n+2) i { color: var(--ld-blue-2); }
.ld-ticker span:nth-child(4n+3) i { color: var(--ld-green-2); }
.ld-ticker span:nth-child(4n+4) i { color: var(--ld-red-2); }
@keyframes ld-marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.ld-section { position: relative; padding: 110px 0; }
.ld-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.ld-head h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); font-weight: 800; margin: 14px 0 12px; }
.ld-head p { color: var(--ld-muted); font-size: 1.05rem; margin: 0; }
.ld-kicker { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; }
.ld-kicker.gold { color: var(--ld-gold-2); background: rgba(242,179,61,.12); border: 1px solid rgba(242,179,61,.25); }
.ld-kicker.blue { color: var(--ld-blue-2); background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.28); }
.ld-kicker.green { color: var(--ld-green-2); background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.28); }
.ld-kicker.red { color: var(--ld-red-2); background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.28); }

/* impact */
.ld-impact { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ld-impact-card { position: relative; overflow: hidden; padding: 28px 24px 24px; border-radius: var(--ld-radius); background: var(--ld-panel); border: 1px solid var(--ld-border);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: transform .35s var(--ld-ease), border-color .35s; }
.ld-impact-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c); }
.ld-impact-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 70%); }
.ld-impact-card:hover { transform: translateY(-6px); border-color: var(--c); }
.ld-impact-card > i { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 1.2rem; color: var(--c); background: var(--glow); margin-bottom: 18px; }
.ld-impact-card strong { display: block; font-family: "Sora", sans-serif; font-size: clamp(2rem, 1.5rem + 1.4vw, 2.8rem); font-weight: 800; line-height: 1.05; }
.ld-impact-card span { display: block; font-weight: 700; margin: 6px 0 8px; }
.ld-impact-card small { display: block; color: var(--ld-muted); font-size: .82rem; }
.blue { --c: var(--ld-blue); --glow: rgba(59,130,246,.18); }
.gold { --c: var(--ld-gold); --glow: rgba(242,179,61,.18); }
.green { --c: var(--ld-green); --glow: rgba(34,197,94,.18); }
.red { --c: var(--ld-red); --glow: rgba(239,68,68,.18); }
@media (max-width: 991.98px) { .ld-impact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ld-impact { grid-template-columns: 1fr; } }

/* modules bento */
.ld-modules-sec { background: linear-gradient(180deg, transparent, rgba(10,20,48,.55) 20%, rgba(10,20,48,.55) 80%, transparent); }
.ld-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ld-mod { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 24px; border-radius: var(--ld-radius);
    background: linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid var(--ld-border);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform .35s var(--ld-ease), border-color .35s, box-shadow .35s; }
.ld-mod.wide { grid-column: span 2; }
.ld-mod::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s;
    background: linear-gradient(140deg, var(--c), transparent 45%, transparent 60%, var(--c));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.ld-mod::after { content: ""; position: absolute; width: 260px; height: 260px; right: -120px; bottom: -140px; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 70%); transition: transform .5s var(--ld-ease); }
.ld-mod:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px var(--c); }
.ld-mod:hover::before { opacity: 1; }
.ld-mod:hover::after { transform: scale(1.4); }
.ld-mod-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ld-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.1rem; color: var(--c); background: var(--glow); border: 1px solid rgba(255,255,255,.06); }
.ld-tag { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.ld-mod h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 8px; }
.ld-mod p { color: var(--ld-muted); font-size: .9rem; line-height: 1.55; margin-bottom: 20px; }
.ld-nums { position: relative; z-index: 1; margin-top: auto; display: flex; flex-wrap: wrap; gap: 14px 22px; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,.1); }
.ld-nums div { display: flex; flex-direction: column; min-width: 0; }
.ld-nums b { font-family: "Sora", sans-serif; font-size: 1.45rem; font-weight: 800; color: #fff; line-height: 1.1; }
.ld-nums span { font-size: .74rem; color: var(--ld-muted); font-weight: 600; }
@media (max-width: 1199.98px) { .ld-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ld-bento { grid-template-columns: 1fr; } .ld-mod.wide { grid-column: auto; } }

/* insights */
.ld-insights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ld-chart { padding: 22px; grid-column: span 1; }
.ld-chart.wide { grid-column: span 2; }
.ld-insights > .ld-chart:first-child { grid-column: span 2; grid-row: span 2; }
.ld-chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.ld-chart-head h4 { font-size: 1rem; font-weight: 700; margin: 0; display: flex; gap: 8px; align-items: center; }
.ld-chart-head h4 i { color: var(--ld-gold); }
.ld-chart-head span { font-size: .76rem; color: var(--ld-muted); }
.ld-canvas { position: relative; height: 380px; }
.ld-canvas.sm { height: 200px; }
.ld-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: center; }
.ld-facts div { display: flex; flex-direction: column; }
.ld-facts i { font-size: 1.1rem; margin-bottom: 8px; }
.ld-facts i.gold { color: var(--ld-gold); } .ld-facts i.blue { color: var(--ld-blue-2); } .ld-facts i.green { color: var(--ld-green-2); } .ld-facts i.red { color: var(--ld-red-2); }
.ld-facts b { font-family: "Sora", sans-serif; font-size: 1.7rem; font-weight: 800; }
.ld-facts span { font-size: .78rem; color: var(--ld-muted); }
@media (max-width: 1199.98px) {
    .ld-insights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ld-insights > .ld-chart:first-child { grid-row: auto; }
    .ld-canvas { height: 280px; }
}
@media (max-width: 640px) {
    .ld-insights { grid-template-columns: 1fr; }
    .ld-chart.wide, .ld-insights > .ld-chart:first-child { grid-column: auto; }
    .ld-facts { grid-template-columns: 1fr 1fr; }
}

/* how it works */
.ld-flow { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.ld-flow::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
    background: linear-gradient(90deg, var(--ld-blue), var(--ld-gold), var(--ld-green), var(--ld-red)); opacity: .6; }
.ld-flow li { position: relative; text-align: center; padding: 0 10px; }
.ld-flow .n { position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 22px; display: grid; place-items: center;
    font-family: "Sora", sans-serif; font-size: 1.5rem; font-weight: 800; color: #fff; background: var(--ld-navy); border: 2px solid var(--c);
    box-shadow: 0 0 0 8px var(--ld-ink), 0 0 30px -4px var(--c); }
.ld-flow li > i { color: var(--ld-muted); font-size: 1.1rem; margin-bottom: 8px; }
.ld-flow h5 { font-weight: 700; margin-bottom: 6px; }
.ld-flow p { color: var(--ld-muted); font-size: .9rem; margin: 0; }
.ld-roles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 56px; }
.ld-roles span { display: inline-flex; align-items: center; gap: 8px; padding: .55rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
    background: rgba(255,255,255,.05); border: 1px solid var(--ld-border); color: #dbe4fb; }
.ld-roles span i { color: var(--ld-gold); }
.ld-roles span:nth-child(4n+2) i { color: var(--ld-blue-2); } .ld-roles span:nth-child(4n+3) i { color: var(--ld-green-2); } .ld-roles span:nth-child(4n+4) i { color: var(--ld-red-2); }
@media (max-width: 991.98px) { .ld-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } .ld-flow::before { display: none; } }
@media (max-width: 520px) { .ld-flow { grid-template-columns: 1fr; } }

/* videos */
.ld-video { position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden;
    border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 90px -30px rgba(59,130,246,.45); background: #000; }
.ld-video-slide { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: none; }
.ld-video-slide.is-on { display: block; }
.ld-video-dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.ld-video-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.45); transition: width .3s, background .3s; }
.ld-video-dots button.is-on { width: 28px; background: var(--ld-gold); }

/* plans */
.ld-plans { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.ld-plan { position: relative; flex: 1 1 240px; max-width: 300px; padding: 30px 24px 24px; text-align: center; border-radius: var(--ld-radius);
    background: var(--ld-panel); border: 1px solid var(--ld-border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform .35s var(--ld-ease); }
.ld-plan:hover { transform: translateY(-6px); }
.ld-plan.is-hot { border-color: rgba(242,179,61,.6); background: linear-gradient(170deg, rgba(242,179,61,.14), rgba(16,26,54,.6)); box-shadow: 0 30px 60px -30px rgba(242,179,61,.6); }
.ld-plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    padding: .35rem .9rem; border-radius: 999px; color: #241600; background: linear-gradient(135deg, var(--ld-gold-2), var(--ld-gold)); white-space: nowrap; }
.ld-plan h5 { font-weight: 700; }
.ld-plan-price { font-family: "Sora", sans-serif; font-size: 1.9rem; font-weight: 800; margin: 6px 0; }
.ld-plan-users { font-size: .85rem; color: var(--ld-muted); margin-bottom: 14px; }
.ld-plan p { font-size: .88rem; color: var(--ld-muted); min-height: 42px; }

/* final CTA */
.ld-final { padding-top: 40px; }
.ld-final-card { position: relative; overflow: hidden; text-align: center; padding: 70px 30px; border-radius: 32px; isolation: isolate;
    background: linear-gradient(160deg, rgba(14,23,48,.92), rgba(5,10,22,.92)); border: 1px solid rgba(255,255,255,.1); }
.ld-final-card::before { content: ""; position: absolute; inset: -2px; z-index: -2; border-radius: inherit;
    background: conic-gradient(from var(--ang, 0deg), var(--ld-blue), var(--ld-gold), var(--ld-green), var(--ld-red), var(--ld-blue)); animation: ld-spin 8s linear infinite; }
.ld-final-card::after { content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: 30px; background: linear-gradient(160deg, #0d1733, #060b18); }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ld-spin { to { --ang: 360deg; } }
.ld-final-glow { position: absolute; z-index: -1; width: 600px; height: 600px; left: 50%; top: -360px; transform: translateX(-50%); border-radius: 50%;
    background: radial-gradient(circle, rgba(242,179,61,.28), transparent 65%); }
.ld-final h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem); font-weight: 800; margin: 16px auto 14px; max-width: 760px; }
.ld-final p { color: #c3cde6; max-width: 620px; margin: 0 auto 30px; font-size: 1.05rem; }
.ld-perks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; color: var(--ld-muted); font-size: .9rem; font-weight: 600; }
.ld-perks i { color: var(--ld-green-2); margin-right: 6px; }

/* footer */
.ld-footer { padding: 34px 0; border-top: 1px solid var(--ld-border); font-size: .84rem; color: var(--ld-muted); }
.ld-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.ld-footer .ld-brand { font-size: 1.1rem; }
.ld-footer .ld-brand-mark { width: 34px; height: 34px; }
.ld-updated { color: #7d89a8; }

/* ---------- scroll reveal ---------- */
.ld-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ld-ease), transform .8s var(--ld-ease); transition-delay: var(--d, 0s); }
.ld-reveal.is-in { opacity: 1; transform: none; }
.no-js .ld-reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ld *, .ld *::before, .ld *::after { animation: none !important; transition: none !important; }
    .ld-reveal { opacity: 1; transform: none; }
    .ld-spark-line { stroke-dashoffset: 0; }
    .ld-dash { transform: none; }
}
