/* ==========================================================================
 * Saqqar landing page — "mission control / spacecraft" aesthetic.
 * Self-contained (no Tailwind). Uses design tokens from app.css.
 * ====================================================================== */

.lp { background: var(--bg); color: var(--text); min-height: 100vh;
  font-family: 'Inter', 'Tajawal', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.lp * { box-sizing: border-box; }
.lp a { text-decoration: none; color: inherit; }
.lp img { display: block; max-width: 100%; }

:root { --lp-edge: rgba(148, 163, 184, 0.14); --lp-glass: rgba(8, 12, 22, 0.72); }
html[data-theme="light"] { --lp-edge: rgba(15, 23, 42, 0.12); --lp-glass: rgba(255, 255, 255, 0.78); }

/* ---------- shared bits ---------- */
.lp-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: 28px; }
.lp-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--brand-cyan-strong); display: inline-flex; align-items: center; gap: 8px;
}
.lp-label::before { content: ""; width: 22px; height: 1px; background: var(--brand-cyan); opacity: 0.7; }
.lp-h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; line-height: 1.08; margin: 16px 0 0; letter-spacing: -0.02em; }
.lp-sub { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 620px; margin: 14px 0 0; }

.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding-inline: 26px; border-radius: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; border: 1px solid transparent; transition: transform .12s, filter .15s, background .15s, border-color .15s;
  white-space: nowrap;
}
.lp-btn svg { width: 16px; height: 16px; }
.lp a.lp-btn--primary,
.lp .lp-btn--primary { background: var(--brand-gradient); color: #fff; box-shadow: 0 10px 30px rgba(6,182,212,0.28); }
.lp-btn--primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.lp-btn--ghost { background: transparent; border-color: var(--lp-edge); color: var(--text); }
.lp-btn--ghost:hover { border-color: var(--brand-cyan); color: var(--brand-cyan); }

/* ---------- nav ---------- */
.lp-nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  height: 78px; padding-inline: 32px; justify-content: center;
  background: var(--lp-glass); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--lp-edge);
}
.lp-nav-inner { width: 100%; max-width: 1240px; display: flex; align-items: center; gap: 20px; }
.lp-nav-brand { display: flex; align-items: center; }
.lp-nav-logo { height: 64px; width: auto; }
html[data-theme="dark"]  .lp-logo--dark,  html.dark  .lp-logo--dark  { display: none; }
html[data-theme="light"] .lp-logo--light, html.light .lp-logo--light { display: none; }
.lp-nav-links { display: flex; align-items: center; gap: 30px; margin-inline-start: 36px; }
.lp-nav-links a { position: relative; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0.01em; padding-block: 6px; }
.lp-nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; border-radius: 2px; background: var(--brand-cyan); transition: width .2s ease; }
.lp-nav-links a:hover { color: var(--text); }
.lp-nav-links a:hover::after { width: 100%; }
.lp-nav-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; }
.lp-nav-actions .lp-btn { height: 44px; padding-inline: 20px; }
.lp-nav-sep { width: 1px; height: 24px; background: var(--lp-edge); }
.lp-signin { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); padding: 8px 6px; }
.lp-signin:hover { color: var(--brand-cyan); }

/* ---------- hero ---------- */
.lp-hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.lp-warp { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; pointer-events: none; }
.lp-hero::after { /* vignette + bottom fade into page */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 12%, transparent 40%, rgba(0,0,0,0.35) 100%),
    linear-gradient(to bottom, transparent 60%, var(--bg) 100%);
}
.lp-hero-inner { position: relative; z-index: 2; padding-top: 84px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.lp-hero-copy { min-width: 0; }
.lp-hero h1 {
  font-size: clamp(40px, 7vw, 84px); font-weight: 800; line-height: 1.02;
  letter-spacing: -0.03em; margin: 18px 0 0; max-width: 14ch;
}
.lp-hero h1 .lp-grad {
  background: linear-gradient(120deg, var(--brand-cyan-strong), var(--brand-purple));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lp-hero-sub { color: var(--muted); font-size: clamp(16px, 2vw, 20px); line-height: 1.6; max-width: 560px; margin: 22px 0 0; }
.lp-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.lp-hero-meta { display: flex; gap: 26px; margin-top: 44px; flex-wrap: wrap; }
.lp-hero-meta div { display: flex; flex-direction: column; gap: 2px; }
.lp-hero-meta b { font-size: 22px; font-weight: 800; }
.lp-hero-meta span { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }

/* hero floating console preview */
.lp-hero-visual { justify-self: end; width: 100%; max-width: 440px; }
.lp-hero-card {
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 18px; overflow: hidden;
  backdrop-filter: blur(12px); box-shadow: 0 36px 90px rgba(0,0,0,0.55);
  animation: lp-float 6.5s ease-in-out infinite;
}
@keyframes lp-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.lp-hero-card-body { padding: 20px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.7; }
.lp-hero-card-body .lp-line { margin-bottom: 12px; }
.lp-hero-metric { display: flex; align-items: center; gap: 22px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--lp-edge); }
.lp-hero-metric div { display: flex; flex-direction: column; }
.lp-hero-metric b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.lp-hero-metric span { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.lp-hero-metric svg { margin-inline-start: auto; width: 96px; height: 36px; }
.lp-spark { fill: none; stroke: url(#lpHeroStroke); stroke-width: 2.5; vector-effect: non-scaling-stroke;
  stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 300; stroke-dashoffset: 300; animation: lp-spark-draw 2s ease forwards .4s; }
@keyframes lp-spark-draw { to { stroke-dashoffset: 0; } }
@media (max-width: 980px) {
  .lp-hero-inner { grid-template-columns: 1fr; }
  .lp-hero-visual { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-hero-card { animation: none; }
  .lp-spark { stroke-dashoffset: 0; animation: none; }
}

.lp-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lp-scroll .lp-scroll-line { width: 1px; height: 34px; background: linear-gradient(var(--brand-cyan), transparent); animation: lp-scroll 1.8s ease-in-out infinite; }
@keyframes lp-scroll { 0%,100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- sections ---------- */
.lp-section { padding-block: 96px; position: relative; }
.lp-section--alt { background:
  linear-gradient(to bottom, transparent, rgba(6,182,212,0.03), transparent); }
.lp-section-head { max-width: 720px; }

/* stats cards */
.lp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lp-stat {
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 14px;
  padding: 22px 22px; display: flex; flex-direction: column; gap: 7px; position: relative; overflow: hidden;
  transition: border-color .15s, transform .15s;
}
.lp-stat:hover { border-color: rgba(6,182,212,0.4); transform: translateY(-3px); }
.lp-stat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-cyan), transparent); opacity: 0; transition: opacity .2s; }
.lp-stat:hover::before { opacity: .8; }
.lp-stat-ic { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-cyan-soft); color: var(--brand-cyan-strong); margin-bottom: 4px; }
.lp-stat-ic svg { width: 19px; height: 19px; }
.lp-stat b { display: block; font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--text); }
.lp-stat span { color: var(--muted); font-size: 13px; line-height: 1.4; }

/* capability cards */
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.lp-card {
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px;
  padding: 26px; position: relative; overflow: hidden; transition: transform .15s, border-color .15s;
}
.lp-card:hover { transform: translateY(-4px); border-color: rgba(6,182,212,0.45); }
.lp-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-cyan), transparent); opacity: 0; transition: opacity .2s; }
.lp-card:hover::before { opacity: .8; }
.lp-card-ic { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-cyan-soft); color: var(--brand-cyan-strong); margin-bottom: 16px; }
.lp-card-ic svg { width: 22px; height: 22px; }
.lp-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.lp-card p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }

/* how it works */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; counter-reset: step; }
.lp-step { position: relative; padding-top: 18px; border-top: 1px solid var(--lp-edge); }
.lp-step-no { font-size: 12px; font-weight: 800; letter-spacing: 0.2em; color: var(--brand-cyan-strong); }
.lp-step h3 { font-size: 19px; font-weight: 700; margin: 12px 0 8px; }
.lp-step p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }

/* mission console mockup */
.lp-console { margin-top: 44px; border: 1px solid var(--card-border); border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, rgba(2,6,18,0.9), rgba(8,12,22,0.9)); box-shadow: 0 30px 80px rgba(0,0,0,0.45); }
.lp-console-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--lp-edge); }
.lp-dot { width: 11px; height: 11px; border-radius: 50%; }
.lp-dot.r { background: #ff5f57; } .lp-dot.y { background: #febc2e; } .lp-dot.g { background: #28c840; }
.lp-console-title { margin-inline-start: 10px; font-size: 12px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.lp-console-body { padding: 22px; font-size: 14px; line-height: 1.7; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
/* The console panel is always dark, so force light text regardless of theme. */
.lp-console { color: #e2e8f0; }
.lp-console .lp-console-title { color: #94a3b8; }
.lp-console .lp-line .msg { color: #e2e8f0; }
.lp-console .lp-line .msg .dim { color: #94a3b8; }
.lp-line { display: flex; gap: 10px; margin-bottom: 12px; }
.lp-line .who { color: var(--brand-cyan-strong); font-weight: 700; flex-shrink: 0; }
.lp-line .who.agent { color: var(--brand-purple); }
.lp-line .msg { color: var(--text); }
.lp-line .msg .dim { color: var(--muted); }

/* final CTA */
.lp-liftoff { position: relative; overflow: hidden; text-align: center; padding-block: 110px;
  border-block: 1px solid var(--lp-edge);
  background: radial-gradient(80% 140% at 50% 0%, rgba(6,182,212,0.12), transparent 60%); }
.lp-liftoff h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -0.02em; margin: 16px 0 0; }
.lp-liftoff p { color: var(--muted); font-size: 17px; margin: 14px auto 0; max-width: 520px; }
.lp-liftoff .lp-hero-cta { justify-content: center; margin-top: 34px; }

/* footer */
.lp-footer { padding-block: 40px; border-top: 1px solid var(--lp-edge); }
.lp-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lp-footer-row small { color: var(--muted); font-size: 12.5px; }
.lp-footer-logo { height: 36px; width: auto; opacity: 0.9; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .lp-grid, .lp-steps { grid-template-columns: 1fr 1fr; }
  .lp-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .lp-nav-links { display: none; }
}
@media (max-width: 600px) {
  .lp-grid, .lp-steps, .lp-stats { grid-template-columns: 1fr; }
  .lp-nav-actions .lp-btn--ghost { display: none; }
  .lp-section { padding-block: 70px; }
  .lp-hero-meta { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-scroll .lp-scroll-line { animation: none; }
}

/* ---------- scroll-reveal ---------- */
.lp-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.lp-reveal.is-in { opacity: 1; transform: none; }
.lp-grid .lp-reveal.is-in, .lp-steps .lp-reveal.is-in { transition-delay: var(--d, 0s); }
.lp-grid .lp-card:nth-child(1), .lp-steps .lp-step:nth-child(1) { --d: 0s; }
.lp-grid .lp-card:nth-child(2), .lp-steps .lp-step:nth-child(2) { --d: .08s; }
.lp-grid .lp-card:nth-child(3), .lp-steps .lp-step:nth-child(3) { --d: .16s; }
.lp-grid .lp-card:nth-child(4) { --d: .24s; }
.lp-grid .lp-card:nth-child(5) { --d: .32s; }
.lp-grid .lp-card:nth-child(6) { --d: .40s; }
@media (prefers-reduced-motion: reduce) {
  .lp-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- extra polish ---------- */
/* faint star texture so sections below the hero aren't flat black */
.lp-section {
  background-image:
    radial-gradient(1px 1px at 18% 24%, var(--lp-star) , transparent 60%),
    radial-gradient(1px 1px at 72% 62%, var(--lp-star), transparent 60%),
    radial-gradient(1px 1px at 42% 84%, var(--lp-star), transparent 60%),
    radial-gradient(1px 1px at 88% 18%, var(--lp-star), transparent 60%);
  background-size: 260px 260px, 320px 320px, 200px 200px, 280px 280px;
}
:root { --lp-star: rgba(148,163,184,0.16); }
html[data-theme="light"] { --lp-star: rgba(15,23,42,0.10); }
.lp-section--alt { background-color: rgba(6,182,212,0.02); }
/* keep the alt gradient from the earlier rule layered over the stars */


/* card: soft corner glow */
.lp-card::after {
  content: ""; position: absolute; width: 160px; height: 160px; right: -60px; top: -60px;
  background: radial-gradient(circle, rgba(6,182,212,0.10), transparent 70%);
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.lp-card:hover::after { opacity: 1; }

/* ====================== dashboard / infographics ====================== */
.lp-dash { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; gap: 18px; margin-top: 44px; align-items: stretch; }
.lp-dash-card {
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 18px;
  padding: 24px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden;
}
.lp-dash-title { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* donut */
.lp-donut-wrap { position: relative; width: 184px; height: 184px; margin: 4px auto 0; }
.lp-donut {
  width: 100%; height: 100%; border-radius: 50%;
  background: conic-gradient(#06B6D4 0 35%, #8B5CF6 35% 65%, #22D3EE 65% 85%, #3B82F6 85% 100%);
  -webkit-mask: radial-gradient(closest-side, transparent 64%, #000 65%);
          mask: radial-gradient(closest-side, transparent 64%, #000 65%);
  transform: scale(.85); opacity: 0; transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .7s;
}
.is-in .lp-donut { transform: scale(1); opacity: 1; }
.lp-donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lp-donut-center b { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.lp-donut-center span { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.lp-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lp-legend-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text); cursor: default; }
.lp-legend-item i { width: 11px; height: 11px; border-radius: 3px; flex-shrink: 0; }
.lp-legend-item b { margin-inline-start: auto; font-weight: 700; color: var(--muted); }
.lp-legend-item:hover b { color: var(--text); }

/* bars */
.lp-bars { display: flex; align-items: flex-end; gap: 10px; height: 180px; padding-top: 8px; }
.lp-bar { flex: 1; height: 100%; display: flex; align-items: flex-end; position: relative; }
.lp-bar i {
  display: block; width: 100%; height: var(--h); border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, var(--brand-cyan-strong), var(--brand-cyan) 60%, rgba(6,182,212,0.35));
  transform: scaleY(0); transform-origin: bottom; transition: transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s), filter .15s;
}
.is-in .lp-bar i { transform: scaleY(1); }
.lp-bar:hover i { filter: brightness(1.25); }
.lp-bar-tip {
  position: absolute; top: -28px; left: 50%; transform: translateX(-50%) translateY(4px);
  background: var(--surface-2); border: 1px solid var(--lp-edge); color: var(--text);
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 7px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s;
}
.lp-bar:hover .lp-bar-tip { opacity: 1; transform: translateX(-50%) translateY(0); }
.lp-bars-x { display: flex; gap: 10px; margin-top: 8px; }
.lp-bars-x span { flex: 1; text-align: center; font-size: 11px; color: var(--muted); }

/* gauge */
.lp-gauge-wrap { position: relative; width: 168px; height: 168px; margin: 0 auto; }
.lp-gauge { width: 100%; height: 100%; transform: rotate(-90deg); }
.lp-gauge circle { fill: none; stroke-width: 11; }
.lp-gauge-track { stroke: var(--lp-edge); }
.lp-gauge-prog {
  stroke: url(#lpGaugeGrad); stroke-linecap: round;
  stroke-dasharray: 326.726; stroke-dashoffset: 326.726; transition: stroke-dashoffset 1.3s cubic-bezier(.2,.7,.2,1);
}
.is-in .lp-gauge-prog { stroke-dashoffset: 0; }
.lp-gauge-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lp-gauge-center b { font-size: 30px; font-weight: 800; }
.lp-gauge-center span { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.lp-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-kpi { text-align: center; padding: 14px 8px; border: 1px solid var(--lp-edge); border-radius: 12px; }
.lp-kpi b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.lp-kpi span { font-size: 12px; color: var(--muted); }

/* throughput line/area chart (full width) */
.lp-dash-wide {
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 18px;
  padding: 24px; margin-top: 18px; display: flex; flex-direction: column; gap: 12px;
}
.lp-dash-wide .lp-dash-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.lp-dash-wide .lp-dash-trend { font-size: 12px; font-weight: 700; color: var(--brand-cyan-strong); letter-spacing: 0.04em; }
.lp-line { width: 100%; height: auto; display: block; overflow: visible; }
.lp-line-path {
  fill: none; stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1600; stroke-dashoffset: 1600; transition: stroke-dashoffset 1.7s cubic-bezier(.3,.7,.3,1);
}
.is-in .lp-line-path { stroke-dashoffset: 0; }
.lp-line-grid line { stroke: var(--lp-edge); stroke-width: 1; vector-effect: non-scaling-stroke; }
.lp-line-area { opacity: 0; transition: opacity 1s ease .4s; }
.is-in .lp-line-area { opacity: 1; }
.lp-line-dot { fill: #22D3EE; opacity: 0; transition: opacity .3s .7s; }
.is-in .lp-line-dot { opacity: 1; animation: lp-dot-pulse 2.2s ease-in-out infinite .9s; }
@keyframes lp-dot-pulse { 0%,100% { r: 5; } 50% { r: 7.5; } }
.lp-line-x { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .lp-line-path { stroke-dashoffset: 0; transition: none; }
  .lp-line-area { opacity: 1; }
  .lp-line-dot { opacity: 1; animation: none; }
}

/* ====================== flow diagram infographic ====================== */
.lp-flow { display: flex; align-items: flex-start; gap: 6px; margin-top: 48px; }
.lp-flow-node { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 130px; flex-shrink: 0; text-align: center;
  opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.is-in.lp-flow .lp-flow-node { opacity: 1; transform: none; }
.lp-flow-ic { width: 66px; height: 66px; border-radius: 50%; border: 1px solid var(--card-border);
  background: var(--card-bg); display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand-cyan-strong); position: relative; box-shadow: 0 8px 24px rgba(0,0,0,0.28); }
.lp-flow-ic svg { width: 26px; height: 26px; }
.lp-flow-ic::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--brand-cyan); opacity: 0; }
.is-in.lp-flow .lp-flow-node .lp-flow-ic::after { animation: lp-ring 2.6s ease-out infinite; }
.is-in.lp-flow .lp-flow-node:nth-child(3) .lp-flow-ic::after { animation-delay: .5s; }
.is-in.lp-flow .lp-flow-node:nth-child(5) .lp-flow-ic::after { animation-delay: 1s; }
.is-in.lp-flow .lp-flow-node:nth-child(7) .lp-flow-ic::after { animation-delay: 1.5s; }
.is-in.lp-flow .lp-flow-node:nth-child(9) .lp-flow-ic::after { animation-delay: 2s; }
@keyframes lp-ring { 0% { transform: scale(.92); opacity: .55; } 100% { transform: scale(1.5); opacity: 0; } }
.lp-flow-label { font-size: 14px; font-weight: 700; }
.lp-flow-sub { font-size: 11.5px; color: var(--muted); }
.lp-flow-line { flex: 1; height: 2px; margin-top: 32px; border-radius: 2px; opacity: 0;
  background-image: linear-gradient(90deg, var(--brand-cyan) 0 7px, transparent 7px 15px); background-size: 15px 2px; }
.is-in.lp-flow .lp-flow-line { opacity: .85; animation: lp-flow-dash .7s linear infinite; }
@keyframes lp-flow-dash { to { background-position: 15px 0; } }
[dir="rtl"] .is-in.lp-flow .lp-flow-line { animation-direction: reverse; }
/* node entrance stagger */
.is-in.lp-flow .lp-flow-node:nth-child(1) { transition-delay: 0s; }
.is-in.lp-flow .lp-flow-node:nth-child(3) { transition-delay: .12s; }
.is-in.lp-flow .lp-flow-node:nth-child(5) { transition-delay: .24s; }
.is-in.lp-flow .lp-flow-node:nth-child(7) { transition-delay: .36s; }
.is-in.lp-flow .lp-flow-node:nth-child(9) { transition-delay: .48s; }
@media (max-width: 760px) {
  .lp-flow { flex-direction: column; align-items: center; gap: 0; }
  .lp-flow-node { width: auto; }
  .lp-flow-line { width: 2px; height: 34px; flex: none; margin: 4px 0;
    background-image: linear-gradient(180deg, var(--brand-cyan) 0 7px, transparent 7px 15px); background-size: 2px 15px; }
  .is-in.lp-flow .lp-flow-line { animation: lp-flow-dash-v .7s linear infinite; }
}
@keyframes lp-flow-dash-v { to { background-position: 0 15px; } }
@media (prefers-reduced-motion: reduce) {
  .lp-flow-node { opacity: 1; transform: none; }
  .lp-flow-line { opacity: .85; animation: none; }
  .lp-flow-ic::after { animation: none !important; }
}

@media (max-width: 900px) { .lp-dash { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .lp-donut, .lp-bar i, .lp-gauge-prog { transition: none; }
  .lp-donut { transform: none; opacity: 1; }
  .lp-bar i { transform: scaleY(1); }
  .lp-gauge-prog { stroke-dashoffset: 0; }
}
