/* ===================================================================
   LumiLogix — marketing site
   Palette: the logo's navy + blue, on the dashboard's slate neutrals,
   with the app's teal (#0f766e) as the accent so the site and the
   product read as one family.
   Tokens marked (app) are lifted verbatim from the running dashboard.
   =================================================================== */

:root {
  /* Brand — from the logo mark */
  --navy-900: #0b1b3a;
  --navy-800: #12275c;
  --navy-700: #16337a;
  --blue-800: #1e40af;   /* (app) */
  --blue-700: #1d4ed8;   /* (app) */
  --blue-600: #2563eb;   /* (app) primary action */
  --blue-500: #3b82f6;   /* (app) */
  --sky-400:  #38bdf8;
  --sky-200:  #bae6fd;

  /* Accent — the dashboard's teal */
  --teal-600: #0f766e;   /* (app) */
  --teal-400: #2dd4bf;

  /* Neutrals — the dashboard's slate ramp */
  --white:     #ffffff;
  --slate-50:  #f8fafc;  /* (app) */
  --slate-100: #f1f5f9;  /* (app) */
  --slate-200: #e2e8f0;  /* (app) */
  --slate-300: #cbd5e1;  /* (app) */
  --slate-500: #64748b;  /* (app) body text */
  --slate-700: #334155;  /* (app) */
  --slate-900: #0f172a;  /* (app) headings */
  --line: rgba(15, 23, 42, 0.1);

  /* Semantic — same values the dashboard uses for these states */
  --ok: #16a34a;
  --ok-soft: #dcfce7;
  --warn: #f59e0b;
  --warn-soft: #fef3c7;
  --bad: #dc2626;
  --bad-soft: #fee2e2;

  /* System */
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 30px 60px rgba(11, 27, 58, 0.16);
  --container: 1160px;
  --font: 'Trebuchet MS', 'Segoe UI', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
}

* { box-sizing: border-box; }

/* Legal pages share the marketing palette and require no scripts or fonts. */
.legal-page { background: var(--slate-50); }
.legal-shell { width: min(100% - 40px, 820px); margin: 0 auto; }
.legal-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.legal-brand { color: var(--navy-800); font-size: 1.35rem; font-weight: 800; letter-spacing: .04em; }
.legal-brand span { color: var(--blue-600); }
.legal-language, .legal-main a, .legal-footer a, .collection-notice a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.legal-main { padding: 38px 0 56px; overflow-wrap: anywhere; }
.legal-main h1 { color: var(--navy-900); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; letter-spacing: -.025em; margin: 20px 0 12px; }
.legal-main h2 { color: var(--navy-800); font-size: 1.25rem; margin: 32px 0 10px; }
.legal-main p, .legal-main li { color: var(--slate-700); }
.legal-main li + li { margin-top: 8px; }
.legal-meta { font-size: .9rem; }
.legal-draft { padding: 15px 18px; border: 1px solid #e5bd65; background: #fff8e7; border-radius: 10px; color: #684507; }
.legal-contact { padding: 20px 24px; margin-top: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.legal-contact h2 { margin-top: 0; }
.legal-footer { border-top: 1px solid var(--line); padding: 24px 0 36px; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: .9rem; }
.legal-page a:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 5px; border-radius: 2px; }
.legal-skip { position: absolute; left: 20px; top: -100px; padding: 10px 15px; background: var(--white); z-index: 100; }
.legal-skip:focus { top: 10px; }
.collection-notice { font-size: .8rem; line-height: 1.6; color: var(--slate-700); margin: 12px 0; }
.collection-notice-dark { color: #e2e8f0; }
.collection-notice-dark a { color: var(--sky-200); }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--slate-900);
  background: var(--slate-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

img { max-width: 100%; display: block; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 99, 235, 0.36); }

.btn-outline {
  border-color: var(--blue-700);
  color: var(--blue-700);
  background: transparent;
}
.btn-outline:hover { background: var(--blue-700); color: #fff; transform: translateY(-2px); }

.btn-ghost { color: var(--navy-700); background: transparent; }
.btn-ghost:hover { background: rgba(37, 99, 235, 0.08); }

/* ---------- Top announcement bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--navy-900);
  color: var(--slate-50);
  font-size: 0.82rem;
  padding: 9px 16px;
  text-align: center;
  flex-wrap: wrap;
}
.topbar-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6);
  animation: pulse 2.4s infinite;
}
.topbar-link { color: var(--sky-400); font-weight: 700; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-mark {
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 14px rgba(37, 99, 235, 0.3));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}
.brand:hover .brand-mark { transform: scale(1.06); filter: drop-shadow(0 6px 20px rgba(56, 189, 248, 0.5)); }
.brand-text { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.brand-word { font-size: 1.16rem; font-weight: 900; letter-spacing: 0.08em; color: var(--navy-800); }
.brand-lumi { color: var(--navy-800); }
/* The logo sets the final X in the brighter blue — keep that one detail. */
.brand-x { color: var(--blue-600); }
.brand-tag {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-500);
}

/* The mark draws itself once on load: the ring sweeps round, the pixels
   settle in behind it. Both are switched off under prefers-reduced-motion. */
.ll-ring {
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  animation: llDraw 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}
@keyframes llDraw { to { stroke-dashoffset: 0; } }
.ll-pixels rect { opacity: 0; animation: llPop 0.5s ease forwards; transform-box: fill-box; transform-origin: center; }
.ll-pixels rect:nth-child(1) { animation-delay: 0.9s; }
.ll-pixels rect:nth-child(2) { animation-delay: 1.02s; }
.ll-pixels rect:nth-child(3) { animation-delay: 1.14s; }
.ll-pixels rect:nth-child(4) { animation-delay: 1.26s; }
.ll-pixels rect:nth-child(5) { animation-delay: 1.38s; }
@keyframes llPop {
  from { opacity: 0; transform: translateY(4px) scale(0.6); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.ll-speed line { stroke-dasharray: 20; stroke-dashoffset: 20; animation: llDash 0.6s ease 0.7s forwards; }
@keyframes llDash { to { stroke-dashoffset: 0; } }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--slate-500);
  position: relative;
  transition: color 0.18s ease;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--blue-600);
  transition: width 0.2s ease;
}
.nav-links a:hover { color: var(--navy-700); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-switch { color: var(--blue-700); font-size: .88rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.language-switch:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 4px; }
@media (min-width: 721px) and (max-width: 1180px) {
  .nav-links { gap: 12px; }
  .nav-actions { display: none; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% -10%, rgba(18, 39, 92, 0.22), transparent 42%),
    linear-gradient(160deg, var(--slate-50) 0%, var(--slate-100) 50%, #eef2f7 100%);
  padding: 72px 0 96px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 78%);
  pointer-events: none;
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(40px); pointer-events: none; }
.hero-orb-a { top: -80px; right: -60px; width: 320px; height: 320px; background: rgba(37, 99, 235, 0.18); }
.hero-orb-b { bottom: 0; left: -80px; width: 280px; height: 280px; background: rgba(15, 118, 110, 0.16); }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-800);
  background: rgba(37, 99, 235, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow-light { color: var(--sky-400); background: rgba(56, 189, 248, 0.16); }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--navy-900);
}
.grad {
  background: linear-gradient(120deg, var(--blue-600), var(--sky-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lede { font-size: 1.18rem; color: var(--slate-500); max-width: 36ch; margin: 0 0 28px; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.hero-trust li { font-size: 0.9rem; color: var(--slate-500); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.check { color: var(--teal-600); font-weight: 900; }

/* Hero panel (mock dashboard) */
.hero-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.4s ease;
}
.hero-panel:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.panel-head {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  background: var(--navy-800);
}
.panel-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.28); }
.panel-dot:nth-child(1) { background: var(--blue-600); }
.panel-dot:nth-child(2) { background: var(--sky-400); }
.panel-dot:nth-child(3) { background: var(--teal-600); }
.panel-title { color: var(--slate-50); font-size: 0.82rem; font-weight: 700; margin-left: 8px; }

.panel-body { padding: 22px; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.stat-card {
  background: var(--slate-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.stat-label { display: block; font-size: 0.74rem; color: var(--slate-500); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.stat-value { display: block; font-size: 1.9rem; font-weight: 900; color: var(--navy-700); line-height: 1.2; }

.panel-bars { background: var(--slate-100); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 18px; }
.bar-group { display: flex; align-items: flex-end; gap: 10px; height: 110px; }
.bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--teal-600), var(--navy-700));
  border-radius: 6px 6px 3px 3px;
  transform-origin: bottom;
  animation: grow 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.bar:nth-child(even) { background: linear-gradient(180deg, var(--blue-600), var(--blue-800)); }
.bar:nth-child(1){animation-delay:.05s}.bar:nth-child(2){animation-delay:.12s}.bar:nth-child(3){animation-delay:.19s}.bar:nth-child(4){animation-delay:.26s}.bar:nth-child(5){animation-delay:.33s}.bar:nth-child(6){animation-delay:.4s}.bar:nth-child(7){animation-delay:.47s}
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.panel-caption { display: block; margin-top: 12px; font-size: 0.74rem; color: var(--slate-500); font-weight: 600; }

.panel-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 0.74rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.pill-green { background: var(--ok-soft); color: #166534; }
.pill-amber { background: var(--warn-soft); color: #92400e; }
.pill-blue { background: #dbeafe; color: var(--blue-800); }

/* ---------- Trust strip ---------- */
.strip { background: var(--navy-900); color: var(--slate-50); padding: 28px 0; }
.strip-label { text-align: center; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(248, 250, 252, 0.6); margin: 0 0 14px; font-weight: 700; }
.strip-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; font-weight: 700; font-size: 0.98rem; color: var(--slate-50); }
.strip-items .dot { color: var(--sky-400); }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 14px; color: var(--navy-900); }
.section-head p { font-size: 1.1rem; color: var(--slate-500); margin: 0; }
.section-head-light h2 { color: #fff; }
.section-head-light p { color: rgba(248, 250, 252, 0.78); }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, 0.4); }
.feature-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  border-radius: 14px;
  background: var(--slate-100);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.feature h3 { margin: 0 0 8px; font-size: 1.22rem; color: var(--navy-800); }
.feature p { margin: 0; color: var(--slate-500); }

/* Trust strip (dark band) */
.band-section { background: linear-gradient(160deg, var(--navy-900), var(--navy-800) 60%, var(--navy-700)); color: var(--slate-50); }
.band-section .section-head h2 { color: #fff; }
.band-section .section-head p { color: rgba(248, 250, 252, 0.74); }
.band-section .eyebrow { color: var(--sky-400); background: rgba(56, 189, 248, 0.14); }
.band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.band-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.band-item:hover {
  transform: translateY(-4px);
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.4);
}
.band-icon { display: block; font-size: 1.7rem; line-height: 1; margin-bottom: 14px; }
.band-item h3 { margin: 0 0 8px; font-size: 1.02rem; color: #fff; line-height: 1.3; }
.band-item p { margin: 0; font-size: 0.9rem; color: rgba(248, 250, 252, 0.78); line-height: 1.55; }

/* Modules grid */
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.module {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--radius-sm);
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.module:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.module h4 { margin: 0 0 6px; font-size: 1.05rem; color: var(--navy-800); }
.module p { margin: 0; font-size: 0.92rem; color: var(--slate-500); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.step-num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--blue-700), var(--navy-700));
  color: var(--sky-400);
  font-weight: 900; font-size: 1.2rem;
  margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; font-size: 1.12rem; color: var(--navy-800); }
.step p { margin: 0; color: var(--slate-500); font-size: 0.95rem; }

/* Integrations (dark) */
.section-dark { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: var(--slate-50); }
.integration-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.integration {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.integration:hover { transform: translateY(-4px); background: rgba(255,255,255,0.07); }
.integration-tag {
  display: inline-block;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--navy-900);
  background: var(--sky-400);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.integration p { margin: 0; color: rgba(248, 250, 252, 0.84); font-size: 0.95rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  border: 2px solid var(--blue-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff; font-size: 0.74rem; font-weight: 800;
  padding: 5px 14px; border-radius: 999px;
  letter-spacing: 0.04em;
}
.price-card h3 { margin: 0 0 10px; font-size: 1.3rem; color: var(--navy-800); }
.price { margin: 0 0 6px; }
.price-amt { font-size: 2.4rem; font-weight: 900; color: var(--navy-900); }
.price-per { font-size: 1rem; color: var(--slate-500); font-weight: 600; }
.price-desc { margin: 0 0 20px; color: var(--slate-500); font-size: 0.95rem; min-height: 44px; }
.price-list { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.price-list li { padding: 8px 0 8px 26px; position: relative; font-size: 0.95rem; border-bottom: 1px solid var(--line); }
.price-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--teal-600); font-weight: 900; }

/* CTA */
.cta { padding: 92px 0; background: linear-gradient(135deg, var(--navy-700), var(--blue-700)); color: var(--slate-50); }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta-copy h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0 0 14px; color: #fff; letter-spacing: -0.02em; }
.cta-copy p { font-size: 1.12rem; color: rgba(248, 250, 252, 0.86); margin: 0; }
.cta-form { background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.84rem; font-weight: 700; color: var(--slate-900); margin-bottom: 6px; }
.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--slate-100);
  color: var(--slate-900);
  font-size: 0.98rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field input:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18); background: #fff; }
.form-note { margin: 14px 0 0; font-size: 0.9rem; font-weight: 700; min-height: 20px; text-align: center; color: var(--blue-700); }
.form-note a { color: var(--blue-800); text-decoration: underline; }
.form-alt { margin: 10px 0 0; font-size: 0.86rem; text-align: center; color: var(--slate-500); }
.form-alt a { color: var(--blue-700); font-weight: 700; text-decoration: underline; }

/* Footer */
.footer { background: var(--navy-900); color: rgba(248, 250, 252, 0.78); padding: 64px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand p { margin: 16px 0 0; max-width: 34ch; font-size: 0.95rem; }
/* Dark-background variant of the mark. The symbol's fills are custom
   properties, which inherit into the <use> shadow tree, so the same artwork
   re-colours here rather than needing a second copy. */
.footer .brand-mark {
  --ll-deep: #ffffff;
  --ll-house: #60a5fa;
  --ll-truck: #bae6fd;
  --ll-door: var(--navy-900);
  --ll-pixel: #7dd3fc;
  filter: none;
}
.footer .brand-word { color: #fff; }
.footer .brand-lumi { color: #fff; }
.footer .brand-x { color: var(--sky-400); }
.footer .brand-tag { color: rgba(248, 250, 252, 0.6); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { margin: 0 0 14px; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky-400); }
.footer-col a { display: block; padding: 5px 0; font-size: 0.94rem; color: rgba(248, 250, 252, 0.78); transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; font-size: 0.84rem; color: rgba(248, 250, 252, 0.55); }

.container-narrow { max-width: 820px; }

/* ---------- Problem → outcome ---------- */
.eyebrow-red { color: #b91c1c; background: rgba(185, 28, 28, 0.1); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.problem-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.problem-col h2 { font-size: 1.5rem; line-height: 1.2; margin: 0 0 20px; color: var(--navy-900); }
.problem-col-good { background: linear-gradient(160deg, #ffffff, #eff6ff); border-color: rgba(18, 39, 92, 0.25); }
.pain-list, .gain-list { list-style: none; margin: 0; padding: 0; }
.pain-list li, .gain-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  color: var(--slate-500); font-size: 0.98rem;
}
.pain-list li:last-child, .gain-list li:last-child { border-bottom: none; }
.x { color: #b91c1c; font-weight: 900; font-size: 1.1rem; line-height: 1.4; flex-shrink: 0; }
.c { color: var(--teal-600); font-weight: 900; flex-shrink: 0; }

/* ---------- Interactive explorer ---------- */
.explorer {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.explorer-tabs {
  display: flex; flex-wrap: wrap; gap: 4px;
  padding: 10px;
  background: var(--slate-100);
  border-bottom: 1px solid var(--line);
}
.tab {
  flex: 1 1 auto;
  border: none; background: transparent; cursor: pointer;
  padding: 12px 16px; border-radius: 10px;
  font-weight: 700; font-size: 0.92rem; color: var(--slate-500);
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.tab:hover { color: var(--navy-700); }
.tab.is-active { background: var(--navy-700); color: var(--slate-50); box-shadow: var(--shadow-sm); }

.panel { display: none; }
.panel.is-active { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; padding: 40px; animation: fade 0.4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-text h3 { font-size: 1.4rem; margin: 0 0 12px; color: var(--navy-800); line-height: 1.2; }
.panel-text > p { color: var(--slate-500); margin: 0 0 20px; font-size: 1.02rem; }
.cap-list { list-style: none; margin: 0; padding: 0; }
.cap-list li { position: relative; padding: 10px 0 10px 28px; font-size: 0.96rem; border-bottom: 1px solid var(--line); }
.cap-list li:last-child { border-bottom: none; }
.cap-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--blue-800); font-weight: 900; }

/* Mock visual inside explorer */
.panel-visual { display: flex; align-items: center; }
.vmock {
  width: 100%;
  background: var(--navy-800);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--slate-50);
  box-shadow: var(--shadow-md);
}
.vmock-head { font-weight: 800; font-size: 0.92rem; color: var(--sky-400); padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.12); margin-bottom: 12px; }
.vrow { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 0.9rem; }
.vrow.muted { opacity: 0.5; }
.vdot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); flex-shrink: 0; }
.vdot.done { background: #4ade80; }
.vdot.live { background: var(--warn); animation: pulse 1.8s infinite; }
.vtag { margin-left: auto; font-size: 0.74rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,0.12); }
.vtag.ok { background: rgba(74, 222, 128, 0.2); color: #86efac; }
.vtag.live { background: rgba(245, 158, 11, 0.22); color: #fcd34d; }
.vmock-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.82rem; color: rgba(248, 250, 252,0.7); }
.vbar { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 0.82rem; }
.vbar span { width: 54px; color: rgba(248, 250, 252,0.8); }
.vbar i { display: block; height: 16px; border-radius: 6px; background: var(--teal-600); margin-left: calc(var(--s)); width: var(--w); }
.vbar i.alt { background: var(--blue-600); }
.vflow { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.vstep { font-size: 0.74rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,0.1); color: rgba(248, 250, 252,0.7); }
.vstep.done { background: rgba(74,222,128,0.18); color: #86efac; }
.vstep.live { background: rgba(245, 158, 11, 0.22); color: #fcd34d; }

/* ---------- Product status ---------- */
.quote-section { background: var(--white); }
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.status-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.status-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.status-card h3 { margin: 12px 0 8px; font-size: 1.08rem; color: var(--navy-800); }
.status-card p { margin: 0; font-size: 0.93rem; color: var(--slate-500); line-height: 1.55; }

/* State chips — the whole point of this section, so they read at a glance. */
.status-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
/* Status badges keep the dashboard's semantic ramp — green ready, blue beta,
   amber partial — so a reader can tell the four apart at a glance. The brand
   re-skin must not flatten these into one colour. */
.status-tag.ready { background: var(--ok-soft); color: #166534; }
.status-tag.beta { background: #dbeafe; color: var(--blue-800); }
.status-tag.partial { background: var(--warn-soft); color: #92400e; }
.status-tag.soon { background: var(--slate-200); color: var(--slate-700); }

.status-note {
  margin: 32px auto 0; max-width: 620px; text-align: center;
  font-size: 0.98rem; color: var(--slate-500);
}

/* Inline "Beta" marker for headings elsewhere on the page. */
.tag-beta {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 999px;
  background: rgba(37, 99, 235, 0.18); color: var(--blue-800);
}

/* ---------- Comparison table ---------- */
.compare { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.compare-table thead th { background: var(--slate-100); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--slate-500); }
.compare-table td:first-child { font-weight: 700; color: var(--navy-800); }
.compare-table .col-rev { background: rgba(18, 39, 92, 0.06); color: var(--navy-700); }
.compare-table td.col-rev, .compare-table tbody td:nth-child(4) { background: rgba(18, 39, 92, 0.05); font-weight: 700; color: var(--blue-700); }
.compare-table .yes { color: var(--blue-700); font-weight: 800; }
.compare-table .no { color: #dc2626; font-weight: 800; }
.compare-table .partial { color: #b45309; }
/* The nth-child(4) rule above paints the whole LumiLogix column green, which
   would read as "yes" on the rows where we're honestly saying "partial". */
.compare-table tbody td:nth-child(4).partial { color: #92400e; font-weight: 700; }
.compare-table tbody tr:last-child td { border-bottom: none; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 22px; box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: rgba(37, 99, 235, 0.4); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.02rem; color: var(--navy-800);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { font-size: 1.4rem; color: var(--blue-600); font-weight: 400; transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { margin: 0 0 20px; color: var(--slate-500); font-size: 0.98rem; line-height: 1.6; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Animated pipeline ---------- */
.flow {
  margin: 8px 0 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 20px 12px;
  overflow-x: auto;
}
.flow-svg { display: block; width: 100%; min-width: 680px; height: auto; }
.flow-path { stroke-width: 3; fill: none; stroke-linecap: round; }
.flow-nodes text {
  font-size: 15px; font-weight: 700; fill: var(--navy-800); text-anchor: middle;
}
.flow-node circle { fill: #fff; stroke: var(--blue-600); stroke-width: 3; }
/* Each node pulses as the travelling dot reaches it: the dot takes 9s to cross
   five nodes, so a 9s cycle offset by --i keeps them in step. */
.flow-node circle { animation: flowPulse 9s ease-in-out infinite; animation-delay: calc(var(--i) * 1.8s); }
@keyframes flowPulse {
  0%, 8%   { r: 13; stroke-width: 3; filter: none; }
  4%       { r: 16; stroke-width: 4; }
  100%     { r: 13; stroke-width: 3; }
}
.flow-dot { filter: drop-shadow(0 0 6px rgba(37, 99, 235, 0.65)); }
.flow-steps { margin-top: 8px; }

/* ---------- TMS teaser band ----------
   Deliberately one quiet band, not a section with a feature grid: the TMS is
   named and interest is captured, nothing is claimed. */
.next-up { background: var(--slate-100); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.next-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700) 60%, var(--blue-800));
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-md);
}
.next-copy .eyebrow { margin-bottom: 14px; }
.next-copy h2 { margin: 0 0 10px; color: #fff; font-size: clamp(1.5rem, 2.6vw, 1.95rem); line-height: 1.2; }
.next-copy p { margin: 0; color: rgba(248, 250, 252, 0.8); font-size: 1rem; max-width: 48ch; }

.next-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky-400);
  margin-bottom: 10px;
}
.next-row { display: flex; gap: 10px; flex-wrap: wrap; }
.next-row input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.95rem;
}
.next-row input::placeholder { color: rgba(248, 250, 252, 0.5); }
.next-row input:focus {
  outline: none;
  border-color: var(--sky-400);
  background: rgba(255, 255, 255, 0.16);
}
.next-note { margin: 10px 0 0; font-size: 0.86rem; color: rgba(248, 250, 252, 0.72); min-height: 1.2em; }
.next-note a { color: var(--sky-400); text-decoration: underline; }

/* ---------- Hero + CTA supporting copy ---------- */
.hero-note { margin: 18px 0 0; font-size: 0.9rem; color: var(--slate-500); font-weight: 600; }
.cta-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.cta-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.96rem; color: rgba(255, 255, 255, 0.92); }
.cta-points .check { color: #fff; font-weight: 900; flex-shrink: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-panel { transform: none; }
  .feature-grid, .module-grid, .integration-grid, .pricing-grid, .status-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .band-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .cta-inner, .footer-inner, .next-inner { grid-template-columns: 1fr; gap: 28px; }
  .price-card-featured { transform: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .panel.is-active { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .tab { flex: 1 1 40%; }
}

/* Only shown inside the mobile drop-down; see the 720px block below. */
.nav-cta-mobile { display: none; }

@media (max-width: 720px) {
  .nav-links { display: none; }
  /* The header CTA has white-space: nowrap, so below 720px brand + button
     exceeded the viewport and stretched the whole page horizontally. It moves
     into the drop-down instead. */
  .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-cta-mobile { display: inline-flex; margin-top: 4px; }
  .brand-tag { display: none; }
  .brand-word { font-size: 1.02rem; }
  .nav.open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--slate-50); padding: 18px 24px; gap: 14px;
    box-shadow: var(--shadow-md); border-bottom: 1px solid var(--line);
  }
  .feature-grid, .module-grid, .integration-grid, .pricing-grid, .steps, .stat-row, .status-grid { grid-template-columns: 1fr; }
  .band-inner { grid-template-columns: 1fr; }
  .sec-card-wide { grid-column: span 1; }
  .section { padding: 64px 0; }
  .sec-grid { grid-template-columns: 1fr; }
  .trust-bar { flex-direction: column; gap: 8px; }
  .next-inner { padding: 28px 22px; }
  .trust-bar .trust-sep { display: none; }
}

/* ===================================================================
   LumiLogix — luminous enhancements (crazier + safe)
   =================================================================== */

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 200;
  background: transparent; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--blue-600), var(--sky-400), #dbeafe);
  box-shadow: 0 0 12px rgba(125, 178, 255, 0.7);
  transition: width 0.08s linear;
}

/* ---------- Cursor spotlight ---------- */
.spotlight {
  position: fixed; top: 0; left: 0;
  width: 520px; height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 178, 255, 0.14), transparent 62%);
  pointer-events: none; z-index: 1;
  opacity: 0; transition: opacity 0.4s ease;
  will-change: transform;
}
.spotlight.on { opacity: 1; }

/* ---------- Hero luminous layers ---------- */
.hero-particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.hero-aurora {
  position: absolute; inset: -20%;
  z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 55% at 20% 30%, rgba(37, 99, 235, 0.20), transparent 60%),
    radial-gradient(45% 50% at 85% 20%, rgba(56, 189, 248, 0.22), transparent 60%),
    radial-gradient(50% 60% at 60% 90%, rgba(18, 39, 92, 0.20), transparent 62%);
  filter: blur(20px);
  animation: aurora 18s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(-2%, 1.5%, 0) scale(1.08); }
  100% { transform: translate3d(2%, -1%, 0) scale(1.03); }
}
.hero-copy, .hero-panel { position: relative; z-index: 2; }

.eyebrow-spark {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 10px 2px rgba(125, 178, 255, 0.8);
  animation: pulse 2.4s infinite;
  vertical-align: middle; margin-right: 6px;
}
@keyframes shimmer { to { background-position: 200% center; } }
.grad-glow {
  /* Keeps the shimmer but stays legible on the pale hero: the light stop is a
     mid sky rather than #dbeafe, which vanished against the background. */
  background: linear-gradient(120deg, var(--blue-700), var(--sky-400) 45%, var(--blue-600));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s linear infinite;
}

/* ---------- Hero panel glow + live badge ---------- */
.hero-panel { position: relative; will-change: transform; }
.panel-glow {
  position: absolute; inset: -1px; border-radius: inherit; z-index: -1;
  background: linear-gradient(130deg, rgba(37, 99, 235,0.5), rgba(56, 189, 248,0.5));
  filter: blur(22px); opacity: 0.55;
}
.panel-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em;
  color: #86efac; text-transform: uppercase;
}
.panel-live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 8px #4ade80; animation: pulse 1.8s infinite;
}

/* ---------- Auto-scroll marquee ---------- */
.marquee {
  margin-top: 18px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 16px;
  white-space: nowrap; will-change: transform;
  animation: marquee 32s linear infinite;
  font-weight: 800; font-size: 1.02rem; color: var(--slate-50);
}
.marquee-track .dot { color: var(--sky-400); font-size: 0.7rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 3D tilt cards ---------- */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* ---------- Security section ---------- */
.security { position: relative; overflow: hidden; }
.sec-aurora {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(35% 40% at 12% 18%, rgba(37, 99, 235, 0.20), transparent 60%),
    radial-gradient(40% 45% at 88% 82%, rgba(56, 189, 248, 0.18), transparent 62%);
  animation: aurora 20s ease-in-out infinite alternate;
}
.security .container { position: relative; z-index: 1; }
.shield { margin-right: 4px; }

.trust-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px; margin: 0 auto 44px; max-width: 760px;
  padding: 14px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(248, 250, 252, 0.9); font-size: 0.94rem; text-align: center;
  backdrop-filter: blur(8px);
}
.trust-bar b { color: var(--sky-400); }
.trust-bar .trust-sep { color: rgba(255,255,255,0.3); }

.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sec-card-wide { grid-column: span 2; }
@media (max-width: 960px) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
.sec-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.sec-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(125, 178, 255, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(125, 178, 255, 0.25);
}
.sec-icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  font-size: 1.35rem; border-radius: 12px; margin-bottom: 14px;
  background: linear-gradient(145deg, rgba(37, 99, 235,0.25), rgba(56, 189, 248,0.18));
  border: 1px solid rgba(255,255,255,0.12);
}
.sec-card h3 { margin: 0 0 8px; font-size: 1.08rem; color: #fff; }
.sec-card p { margin: 0; font-size: 0.92rem; color: rgba(248, 250, 252, 0.82); line-height: 1.55; }

/* ---------- Reveal stagger ---------- */
.sec-grid .reveal.in:nth-child(2),
.band-inner .reveal.in:nth-child(2) { transition-delay: 0.06s; }
.sec-grid .reveal.in:nth-child(3),
.band-inner .reveal.in:nth-child(3) { transition-delay: 0.12s; }
.sec-grid .reveal.in:nth-child(4),
.band-inner .reveal.in:nth-child(4) { transition-delay: 0.18s; }

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-aurora, .sec-aurora, .marquee-track, .grad-glow,
  .eyebrow-spark, .topbar-dot, .panel-live-dot,
  .ll-ring, .ll-pixels rect, .ll-speed line, .flow-node circle { animation: none !important; }
  .spotlight { display: none; }
  .marquee-track { transform: none; }
  .grad-glow { -webkit-text-fill-color: initial; color: var(--blue-800); background: none; }
  /* The mark's draw-on animation leaves these hidden if it never runs. */
  .ll-ring { stroke-dashoffset: 0; }
  .ll-pixels rect { opacity: 1; }
  .ll-speed line { stroke-dashoffset: 0; }
  .flow-dot { display: none; }
}
