/* =========================================================
   iAide landing page
   Palette: #060F1E / #081528 / #15B79E / #9BBA58
   ========================================================= */

:root {
  color-scheme: dark;
  --bg: #060f1e;
  --bg-2: #081528;
  --panel: #0b1a30;
  --card: #0e2038;
  --card-2: #0c1b31;
  --line: rgba(130, 170, 210, 0.15);
  --line-strong: rgba(130, 170, 210, 0.24);
  --text: #edf3fb;
  --text-2: #c7d5e6;
  --muted: #8fa3bc;
  --muted-2: #6c829c;
  --teal: #15b79e;
  --teal-2: #3ee0c4;
  --teal-3: #8ffff0;
  --lime: #9bba58;
  --lime-2: #c8f07a;
  --red: #ff7a7a;
  --amber: #fbbf24;
  --green: #22c55e;
  --radius: 18px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  --font: "Microsoft YaHei UI", "PingFang SC", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "DIN Alternate", "Consolas", "SFMono-Regular", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 620px at 10% -8%, rgba(21, 183, 158, 0.14), transparent 65%),
    radial-gradient(760px 520px at 100% 4%, rgba(155, 186, 88, 0.08), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(21, 183, 158, 0.35); color: #fff; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
svg { display: block; }

:focus-visible {
  outline: 2px solid var(--teal-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--teal);
  color: #04120f;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn .icon { width: 16px; height: 16px; }
.btn-primary {
  background: linear-gradient(135deg, var(--teal-2), var(--teal));
  color: #04120f;
  box-shadow: 0 12px 34px rgba(21, 183, 158, 0.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 42px rgba(21, 183, 158, 0.32); }
.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}
.btn-ghost:hover { border-color: rgba(62, 224, 196, 0.5); background: rgba(21, 183, 158, 0.08); transform: translateY(-1px); }
.btn-lg { padding: 15px 24px; font-size: 15px; border-radius: 12px; }
.btn-sm { padding: 9px 14px; font-size: 12px; border-radius: 8px; }
.btn-text { background: transparent; color: var(--muted); padding: 9px 8px; }
.btn-text:hover { color: var(--text); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  background: rgba(6, 15, 30, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(6, 15, 30, 0.86);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { border-radius: 9px; }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.brand-tag {
  margin-left: 4px;
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.nav-links { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 13px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-ghost { padding: 10px 14px; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
}
.nav-toggle .icon { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 0;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 180, 200, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 180, 200, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 65% at 55% 18%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 55% 18%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero::before {
  width: 520px;
  height: 520px;
  left: -180px;
  top: -180px;
  background: rgba(21, 183, 158, 0.12);
}
.hero::after {
  width: 460px;
  height: 460px;
  right: -160px;
  top: 160px;
  background: rgba(155, 186, 88, 0.07);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 46px;
  align-items: center;
}
.hero-copy { padding: 20px 0 40px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(21, 183, 158, 0.28);
  border-radius: 999px;
  background: rgba(21, 183, 158, 0.07);
  color: #a9e8dc;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-2);
  box-shadow: 0 0 0 4px rgba(62, 224, 196, 0.12);
  animation: pulseDot 2.4s ease-in-out infinite;
}
.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.grad {
  background: linear-gradient(100deg, #ffffff 2%, #cffff6 42%, #9bffea 72%, #c8f07a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}
.nowrap { white-space: nowrap; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  max-width: 560px;
}
.hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--text);
}
.hero-stats span { color: var(--muted-2); font-size: 11px; }

.hero-visual { position: relative; min-width: 0; padding: 10px 12px 30px 0; }
.hero-glow {
  position: absolute;
  inset: 18% -8% -16% 4%;
  background: radial-gradient(ellipse at 55% 55%, rgba(21, 183, 158, 0.2), transparent 68%);
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}

/* ---------- App mock window ---------- */
.app-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(130, 180, 220, 0.18);
  border-radius: 16px;
  background: linear-gradient(180deg, #0a1729, #071321);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.hero-app {
  width: 100%;
  transform: rotate(-1.2deg);
  transition: transform 0.5s ease;
}
.hero-app:hover { transform: rotate(0deg) translateY(-2px); }
.window-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(130, 170, 210, 0.1);
  background: #0a1526;
}
.traffic { display: flex; gap: 5px; }
.traffic i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.traffic i:nth-child(1) { background: #ff5f57; opacity: 0.85; }
.traffic i:nth-child(2) { background: #febc2e; opacity: 0.85; }
.traffic i:nth-child(3) { background: #28c840; opacity: 0.85; }
.window-title { margin: 0 auto; color: #7e93ac; font-size: 9px; letter-spacing: 0.04em; }
.window-ctl { display: flex; gap: 10px; color: #5e7590; font-size: 9px; }
.app-body { display: grid; grid-template-columns: 148px 1fr; min-height: 366px; }

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 10px;
  border-right: 1px solid rgba(130, 170, 210, 0.1);
  background: rgba(3, 10, 20, 0.34);
  color: #a8b8cb;
  font-size: 8px;
}
.balance { display: flex; align-items: baseline; justify-content: space-between; padding: 2px 2px 4px; }
.balance span { color: #7f94ab; }
.balance strong { color: var(--teal-2); font: 700 17px/1 var(--mono); letter-spacing: -0.03em; }
.balance small { margin-left: 3px; color: #7f94ab; font: 500 8px/1 var(--font); }
.redeem { display: grid; gap: 4px; }
.redeem input {
  width: 100%;
  height: 21px;
  padding: 0 6px;
  border: 1px solid rgba(130, 170, 210, 0.16);
  border-radius: 4px;
  background: #071221;
  color: #cbd8e7;
  font-size: 7.5px;
  outline: none;
}
.redeem button {
  height: 21px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(135deg, #2dd4b8, #12a88f);
  color: #04120f;
  font-size: 8px;
  font-weight: 700;
}
.side-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 1px 1px;
  color: #9db0c5;
  font-size: 8px;
}
.switch {
  position: relative;
  width: 21px;
  height: 11px;
  border-radius: 99px;
  background: #23364d;
  display: inline-block;
}
.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8296ad;
  transition: transform 0.2s;
}
.switch.on { background: rgba(124, 92, 255, 0.55); }
.switch.on::after { transform: translateX(10px); background: #c9beff; }
.side-two { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.side-two label { color: #7f94ab; font-size: 7px; display: grid; gap: 2px; }
.side-two input {
  width: 100%;
  height: 18px;
  padding: 0 5px;
  border: 1px solid rgba(130, 170, 210, 0.14);
  border-radius: 3px;
  background: #071221;
  color: #dbe7f5;
  font-size: 8px;
  outline: none;
}
.prob { display: flex; align-items: center; gap: 4px; color: #8da1b8; font-size: 7.5px; }
.prob span { width: 20px; }
.prob b { width: 22px; text-align: right; color: #b9c8d9; font-weight: 500; }
.prob-bar { flex: 1; height: 3px; border-radius: 99px; background: #192b42; overflow: hidden; }
.prob-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #159e89, #3ee0c4); }
.side-logout { margin-top: auto; padding: 6px 2px 0; border-top: 1px solid rgba(130, 170, 210, 0.1); color: #647d97; font-size: 7.5px; }

.mock-main { padding: 10px 11px 12px; min-width: 0; }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mock-head h3 { margin: 0; font-size: 11px; font-weight: 650; color: #e8f0fa; }
.mock-add {
  padding: 4px 8px;
  border: 1px solid rgba(21, 183, 158, 0.4);
  border-radius: 5px;
  background: rgba(21, 183, 158, 0.1);
  color: #5eead4;
  font-size: 7.5px;
}
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.table-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 124px;
  padding: 8px 9px;
  border: 1px solid rgba(130, 170, 210, 0.16);
  border-radius: 9px;
  background: #0d1e36;
}
.table-card.is-live { border-color: rgba(21, 183, 158, 0.34); box-shadow: inset 0 0 0 1px rgba(21, 183, 158, 0.04); }
.table-card.is-idle { opacity: 0.84; }
.tc-top { display: flex; align-items: center; gap: 5px; }
.tc-id { padding: 1px 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.04); color: #7f94ab; font: 600 7.5px/1.5 var(--mono); }
.tc-time { margin-left: auto; color: var(--lime-2); font: 700 11px/1 var(--mono); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.tc-plus {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(130, 170, 210, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  color: #9db0c5;
  font-size: 10px;
  line-height: 1;
  padding: 0;
}
.tc-name { display: flex; justify-content: space-between; align-items: center; color: #e8f0fa; font-size: 9.5px; font-weight: 650; }
.tc-more { color: #5e7590; font-size: 11px; line-height: 1; }
.tc-lines { display: grid; gap: 1.5px; color: #93a7bd; font-size: 7.5px; line-height: 1.45; }
.tc-lines b { margin-right: 3px; color: #647d97; font-weight: 500; }
.tc-lines em { font-style: normal; font-weight: 700; }
.tc-lines .fold, .fold { color: #ff8b8b; }
.tc-lines .raise, .raise { color: #5eead4; }
.tc-empty { display: flex; align-items: center; min-height: 42px; color: #647d97; font-size: 7.5px; }
.tc-foot { display: flex; align-items: center; gap: 5px; margin-top: auto; color: #7f94ab; font-size: 7px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px rgba(34, 197, 94, 0.8); flex: none; }
.status-dot.amber { background: var(--amber); box-shadow: 0 0 7px rgba(251, 191, 36, 0.7); }
.status-dot.gray { background: #64748b; box-shadow: none; }
.tc-status { white-space: nowrap; }
.tc-profile { margin-left: auto; padding: 1px 4px; border-radius: 3px; background: rgba(255, 255, 255, 0.04); color: #9db0c5; font-size: 6.5px; }
.tc-start {
  padding: 3px 6px;
  border: 1px solid rgba(21, 183, 158, 0.35);
  border-radius: 4px;
  background: rgba(21, 183, 158, 0.1);
  color: #5eead4;
  font-size: 7px;
  line-height: 1;
}
.table-add-card {
  min-height: 124px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px dashed rgba(130, 170, 210, 0.18);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.012);
  color: #5e7590;
  font-size: 8px;
}
.table-add-card span { font-size: 16px; line-height: 1; color: #7f94ab; }

.float-card {
  position: absolute;
  right: -10px;
  bottom: -24px;
  z-index: 4;
  width: 188px;
  padding: 10px 11px;
  border: 1px solid rgba(21, 183, 158, 0.35);
  border-radius: 12px;
  background: linear-gradient(180deg, #0e2138, #091625);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
  color: #9fb2c8;
  font-size: 8px;
  animation: floatY 6s ease-in-out infinite;
}
.fc-top { display: flex; align-items: center; gap: 6px; color: #7f94ab; font: 600 7px/1 var(--mono); }
.fc-time { margin-left: auto; color: var(--lime-2); font-size: 9px; }
.fc-live { display: inline-flex; align-items: center; gap: 3px; color: #ff9b9b; font-size: 6px; letter-spacing: 0.12em; }
.fc-live i { width: 4px; height: 4px; border-radius: 50%; background: #ff6b6b; animation: pulseDot 1.8s infinite; }
.fc-name { margin: 6px 0 5px; color: #eef5ff; font-size: 9.5px; font-weight: 650; }
.fc-row { display: flex; justify-content: space-between; padding: 2px 0; color: #8fa3b8; }
.fc-row b { color: #dbe7f5; font-weight: 600; }
.fc-row b.fold { color: #ff8b8b; }
.fc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(130, 170, 210, 0.1); color: #7f94ab; font-size: 7px; }
.fc-foot button { padding: 3px 6px; border: 1px solid rgba(21, 183, 158, 0.35); border-radius: 4px; background: rgba(21, 183, 158, 0.08); color: #5eead4; font-size: 6.5px; }

.hero-marquee {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 58px;
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
  color: #7f94ab;
  font-size: 11.5px;
  letter-spacing: 0.02em;
}
.hero-marquee i { width: 3px; height: 3px; border-radius: 50%; background: rgba(21, 183, 158, 0.65); }

/* ---------- Section basics ---------- */
.section { position: relative; padding: 104px 0; scroll-margin-top: 92px; }
.section-split {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.014), rgba(255, 255, 255, 0.004));
}
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--teal-2);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.section-head h2, .split-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 780;
}
.section-head p {
  margin: 0 auto;
  max-width: 660px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}
.section-lead { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.9; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 183, 158, 0.14), transparent 68%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(21, 183, 158, 0.34); background: linear-gradient(180deg, rgba(21, 183, 158, 0.06), rgba(255, 255, 255, 0.012)); }
.feature-card:hover::after { opacity: 1; }
.icon-wrap {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(21, 183, 158, 0.22);
  border-radius: 12px;
  background: rgba(21, 183, 158, 0.09);
  color: var(--teal-2);
}
.icon-wrap .icon { width: 22px; height: 22px; }
.feature-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; }
.ticks li { position: relative; padding-left: 18px; color: var(--muted-2); font-size: 12px; line-height: 1.6; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 7px;
  height: 7px;
  border: 1.5px solid rgba(62, 224, 196, 0.75);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(6, 15, 30, 0.9);
}
.ticks-lg li { font-size: 13px; padding-left: 20px; }
.ticks-lg li::before { top: 8px; width: 8px; height: 8px; background: var(--teal); border: 0; box-shadow: 0 0 10px rgba(21, 183, 158, 0.45); }

/* ---------- Split / strategy ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.reverse .split-copy { order: 2; }
.split.reverse .split-visual { order: 1; }
.split-copy h2 { max-width: 520px; }
.split-copy .section-lead { max-width: 540px; }
.split-copy .ticks-lg { margin-top: 24px; }

.strategy-controls {
  margin-top: 26px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0a182b;
  display: grid;
  gap: 9px;
  max-width: 460px;
}
.control-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.control-label { color: var(--muted); font-size: 11.5px; }
.control-value { color: var(--teal-2); font-size: 11.5px; font-weight: 650; font-variant-numeric: tabular-nums; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: #071221; gap: 2px; }
.seg button {
  padding: 4px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted-2);
  font-size: 10.5px;
  transition: background 0.2s, color 0.2s;
}
.seg button.active { background: rgba(21, 183, 158, 0.16); color: var(--teal-2); font-weight: 650; }
.fake-range { position: relative; height: 4px; margin: 1px 2px 4px; border-radius: 99px; background: #1a2b42; }
.fake-range i { position: absolute; inset: 0 auto 0 0; width: 46%; border-radius: inherit; background: linear-gradient(90deg, #0e8f7d, #3ee0c4); opacity: 0.7; }
.fake-range b {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d8fff8;
  box-shadow: 0 0 0 3px rgba(21, 183, 158, 0.18);
  transform: translate(-50%, -50%);
}
.fake-range.slim { height: 3px; margin-bottom: 2px; }
.fake-range.slim i { opacity: 0.95; }

.split-visual { min-width: 0; }
.visual-stack { position: relative; padding: 6px 14px 30px 4px; }
.decision-card {
  position: relative;
  padding: 18px 20px 16px;
  border: 1px solid rgba(130, 170, 210, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, #0c1d34, #081426);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  transform: rotate(-1.1deg);
}
.dc-bar { display: flex; align-items: center; justify-content: space-between; color: var(--muted-2); font-size: 9.5px; letter-spacing: 0.05em; }
.live-tag { display: inline-flex; align-items: center; gap: 5px; color: #ff9b9b; font-size: 8.5px; letter-spacing: 0.14em; }
.live-tag i { width: 5px; height: 5px; border-radius: 50%; background: #ff6b6b; box-shadow: 0 0 8px rgba(255, 107, 107, 0.7); animation: pulseDot 1.8s infinite; }
.dc-hand { display: flex; align-items: center; gap: 9px; margin: 16px 0 15px; }
.playing-card {
  width: 52px;
  height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: linear-gradient(160deg, #ffffff, #e8eef5);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1;
  gap: 2px;
}
.playing-card span:first-child { font-size: 20px; }
.playing-card span:last-child { font-size: 19px; }
.playing-card.black { color: #101b2b; }
.playing-card.red { color: #c62f45; }
.dc-meta { display: grid; gap: 3px; }
.dc-meta b { color: #eef5ff; font-size: 13px; font-weight: 650; }
.dc-meta span { color: var(--muted-2); font-size: 10.5px; }
.dc-board { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 9px; background: rgba(3, 10, 20, 0.45); border: 1px solid rgba(130, 170, 210, 0.1); }
.dc-board span { color: var(--muted-2); font-size: 10px; }
.dc-board b { color: #e6eef8; font: 600 13px/1 var(--mono); letter-spacing: 0.04em; }
.dc-board em { margin-left: auto; color: var(--muted-2); font-size: 10px; font-style: normal; }
.dc-action { display: flex; align-items: baseline; gap: 9px; margin-top: 14px; }
.dc-action span { color: var(--muted-2); font-size: 10.5px; }
.dc-action strong { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.dc-action em { margin-left: auto; color: var(--muted-2); font-size: 10px; font-style: normal; }
.dc-action strong.fold { color: #ff8b8b; }
.dc-reason { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid rgba(130, 170, 210, 0.1); color: var(--muted-2); font-size: 10.5px; line-height: 1.7; }
.mini-strategy {
  position: absolute;
  right: -4px;
  bottom: 2px;
  display: flex;
  gap: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(130, 170, 210, 0.18);
  border-radius: 11px;
  background: #0b1a30;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  transform: rotate(1deg);
}
.mini-strategy div { display: grid; gap: 1px; }
.mini-strategy span { color: var(--muted-2); font-size: 8px; }
.mini-strategy b { color: var(--text-2); font: 650 11px/1.4 var(--mono); }

/* ---------- Float section ---------- */
.float-stage { display: flex; flex-direction: column; align-items: center; }
.mode-tabs {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(3, 10, 20, 0.5);
}
.mode-tabs button {
  padding: 7px 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted-2);
  font-size: 11.5px;
  transition: background 0.2s, color 0.2s;
}
.mode-tabs button.active { background: rgba(21, 183, 158, 0.16); color: var(--teal-2); }
.float-window { width: 100%; max-width: 560px; transform-origin: top center; transition: max-width 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.4s; }
.float-window.mini { max-width: 268px; transform: translateX(0); }
.float-window.mini .window-bar { display: none; }
.fw-full { display: grid; grid-template-columns: 132px 1fr; min-height: 300px; }
.float-window.mini .fw-full { display: none; }
.fw-side { padding: 14px 12px; border-right: 1px solid rgba(130, 170, 210, 0.1); background: rgba(3, 10, 20, 0.28); display: grid; align-content: start; gap: 10px; }
.fw-balance span { display: block; color: var(--muted-2); font-size: 8px; }
.fw-balance b { color: var(--teal-2); font: 700 18px/1.2 var(--mono); }
.fw-setting { display: flex; align-items: center; justify-content: space-between; color: var(--muted-2); font-size: 8px; }
.fw-setting b { color: var(--text-2); font-weight: 500; }
.dot-on { width: 16px; height: 8px; border-radius: 99px; background: rgba(124, 92, 255, 0.5); position: relative; }
.dot-on::after { content: ""; position: absolute; right: 1.5px; top: 1.5px; width: 5px; height: 5px; border-radius: 50%; background: #c9beff; }
.fw-main { padding: 14px; display: flex; flex-direction: column; }
.fw-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: var(--muted-2); font-size: 9px; }
.fw-head b { color: var(--text); font-size: 11px; }
.fw-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fw-log { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(130, 170, 210, 0.1); color: var(--muted-2); font-size: 8px; }
.fw-log span { display: inline-flex; align-items: center; gap: 4px; }
.fw-log i { width: 4px; height: 4px; border-radius: 50%; background: var(--green); }
.fw-card { padding: 10px; border: 1px solid rgba(130, 170, 210, 0.12); border-radius: 9px; background: #0c1b31; }
.fw-card.live { border-color: rgba(21, 183, 158, 0.3); }
.fw-card.idle { opacity: 0.78; }
.fw-add {
  min-height: 96px;
  border: 1px dashed rgba(130, 170, 210, 0.18);
  border-radius: 9px;
  background: transparent;
  color: var(--muted-2);
  font-size: 9px;
}
.fw-card-top { display: flex; justify-content: space-between; color: var(--muted-2); font-size: 8px; }
.fw-card-top span { color: var(--lime-2); font: 700 10px/1 var(--mono); }
.fw-card-name { margin: 6px 0 8px; color: var(--text); font-size: 10px; }
.fw-card-line { display: flex; justify-content: space-between; color: var(--muted-2); font-size: 8px; }
.fw-card-line em { font-style: normal; font-weight: 700; }
.fw-card-foot { display: flex; align-items: center; gap: 4px; margin-top: 9px; color: var(--muted-2); font-size: 7.5px; }
.fw-card-foot i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.fw-card-foot i.amber { background: var(--amber); }
.fw-mini { display: none; padding: 13px 14px 12px; }
.float-window.mini .fw-mini { display: block; }
.fm-top { display: flex; align-items: center; gap: 7px; color: var(--muted-2); font-size: 9px; }
.fm-top span { margin-left: auto; color: var(--lime-2); font: 700 13px/1 var(--mono); }
.fm-live { width: 5px; height: 5px; border-radius: 50%; background: #ff6b6b; }
.fm-name { margin: 8px 0; color: var(--text); font-size: 12px; font-weight: 650; }
.fm-row { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid rgba(130, 170, 210, 0.1); color: var(--muted-2); font-size: 9px; }
.fm-row b { color: #ff8b8b; }
.fm-foot { display: flex; align-items: center; justify-content: space-between; color: var(--muted-2); font-size: 8.5px; }
.fm-foot span { display: inline-flex; align-items: center; gap: 4px; }
.fm-foot i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.fm-foot button { padding: 4px 8px; border: 1px solid rgba(21, 183, 158, 0.35); border-radius: 5px; background: rgba(21, 183, 158, 0.1); color: var(--teal-2); font-size: 8px; }
.stage-note { margin: 20px 0 0; color: var(--muted-2); font-size: 10.5px; text-align: center; }

.feature-list { display: grid; gap: 18px; margin-top: 28px; }
.feature-line { display: flex; gap: 13px; align-items: flex-start; }
.fl-icon { width: 34px; height: 34px; flex: none; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(21, 183, 158, 0.22); border-radius: 9px; background: rgba(21, 183, 158, 0.07); color: var(--teal-2); }
.fl-icon .icon { width: 17px; height: 17px; }
.feature-line b { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 650; }
.feature-line p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

/* ---------- Browsers ---------- */
.browser-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.browser-card {
  padding: 24px 14px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}
.browser-card:hover { transform: translateY(-3px); border-color: rgba(21, 183, 158, 0.34); }
.browser-logo {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #04120f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 24px rgba(0, 0, 0, 0.3);
}
.logo-ads { background: linear-gradient(135deg, #4af3d4, #0e9b85); }
.logo-bit { background: linear-gradient(135deg, #d7f58a, #93b44f); }
.logo-ix { background: linear-gradient(135deg, #8fd8ff, #2d8ec9); }
.logo-ic { background: linear-gradient(135deg, #c9beff, #7c5cff); }
.logo-roxy { background: linear-gradient(135deg, #ffd59b, #e08a32); }
.browser-card h3 { margin: 0 0 2px; font-size: 13px; font-weight: 650; }
.browser-card p { margin: 0; color: var(--muted-2); font-size: 10.5px; }
.browser-note-row { display: grid; gap: 12px; margin-top: 22px; }
.code-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #081528;
}
.code-label { display: grid; gap: 1px; flex: none; }
.code-label span { color: var(--text-2); font-size: 11px; font-weight: 650; }
.code-label small { color: var(--muted-2); font-size: 9.5px; }
.code-card code { flex: 1; min-width: 0; color: var(--teal-3); font: 500 12.5px/1.5 var(--mono); letter-spacing: 0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(21, 183, 158, 0.3);
  border-radius: 7px;
  background: rgba(21, 183, 158, 0.08);
  color: var(--teal-2);
  font-size: 10.5px;
  flex: none;
}
.copy-btn .icon { width: 13px; height: 13px; }
.copy-btn.copied { background: rgba(34, 197, 94, 0.14); border-color: rgba(34, 197, 94, 0.4); color: #86efac; }
.note { margin: 0; color: var(--muted-2); font-size: 10.5px; }
.browser-footnote { margin-top: 22px; }

/* ---------- Billing ---------- */
.billing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.billing-demo {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #0b1b30, #081426);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}
.demo-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-2);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}
.wallet-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-right: 110px; }
.wallet-row span { display: block; color: var(--muted-2); font-size: 10.5px; }
.wallet-row strong { color: var(--teal-2); font: 800 34px/1.15 var(--mono); letter-spacing: -0.04em; }
.wallet-row small { margin-left: 4px; color: var(--muted); font: 500 11px/1 var(--font); }
.wallet-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(21, 183, 158, 0.22);
  border-radius: 12px;
  background: rgba(21, 183, 158, 0.08);
  color: var(--teal-2);
}
.budget-card {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(130, 170, 210, 0.14);
  border-radius: 14px;
  background: #071322;
}
.budget-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.budget-head span { color: var(--text-2); font-size: 12px; }
.budget-head b { color: var(--lime-2); font: 700 24px/1.1 var(--mono); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.budget-bar { height: 6px; margin: 12px 0 8px; border-radius: 99px; background: #16283e; overflow: hidden; }
.budget-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0e9b85, #3ee0c4 70%, #c8f07a); transition: width 0.4s ease; }
.budget-meta { display: flex; justify-content: space-between; color: var(--muted-2); font-size: 9.5px; }
.budget-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.demo-note { min-height: 18px; margin: 12px 0 0; color: var(--muted-2); font-size: 10px; line-height: 1.6; }
.billing-rules { display: grid; gap: 0; }
.billing-rule { display: flex; gap: 17px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.billing-rule:first-child { padding-top: 4px; }
.billing-rule:last-child { border-bottom: 0; }
.rule-num { flex: none; color: rgba(62, 224, 196, 0.5); font: 800 20px/1.2 var(--mono); letter-spacing: -0.04em; }
.billing-rule h3 { margin: 0 0 4px; font-size: 14px; font-weight: 650; }
.billing-rule p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }

/* ---------- Health ---------- */
.health-card {
  padding: 20px;
  border: 1px solid rgba(130, 170, 210, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, #0c1d34, #081426);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}
.health-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: var(--muted); font-size: 10px; letter-spacing: 0.04em; }
.health-ok { display: inline-flex; align-items: center; gap: 5px; color: #86efac; }
.health-ok i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px rgba(34, 197, 94, 0.8); }
.health-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid rgba(130, 170, 210, 0.09); font-size: 10.5px; }
.health-row span { color: var(--muted); width: 72px; flex: none; }
.health-row b { font-weight: 600; }
.health-row b.ok { color: #6ee7b7; }
.health-row b.warn { color: #fbbf24; }
.health-row em { margin-left: auto; color: var(--muted-2); font-style: normal; font: 500 9.5px/1.4 var(--mono); }
.health-foot { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(130, 170, 210, 0.09); color: var(--muted-2); font-size: 8.5px; }

/* ---------- Flow ---------- */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flow-step {
  position: relative;
  padding: 26px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}
.flow-step:hover { transform: translateY(-3px); border-color: rgba(21, 183, 158, 0.3); }
.step-num {
  position: absolute;
  top: 10px;
  right: 16px;
  color: rgba(62, 224, 196, 0.12);
  font: 800 44px/1 var(--mono);
  letter-spacing: -0.06em;
}
.step-icon { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; border: 1px solid rgba(21, 183, 158, 0.22); border-radius: 10px; background: rgba(21, 183, 158, 0.08); color: var(--teal-2); }
.step-icon .icon { width: 18px; height: 18px; }
.flow-step h3 { margin: 0 0 6px; font-size: 14.5px; font-weight: 650; }
.flow-step p { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.75; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 900px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 2px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 550;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--teal-2); font-size: 20px; font-weight: 300; line-height: 1; transition: transform 0.2s; }
.faq-item[open] summary { color: var(--text); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 34px 20px 2px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.faq-item code { padding: 1px 5px; border-radius: 4px; background: rgba(21, 183, 158, 0.1); color: var(--teal-3); font: 500 11.5px/1.5 var(--mono); }

/* ---------- CTA ---------- */
.cta-section { padding: 100px 0 110px; }
.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 70px 28px 64px;
  border: 1px solid rgba(21, 183, 158, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(600px 280px at 50% -10%, rgba(21, 183, 158, 0.18), transparent 70%),
    linear-gradient(180deg, #0b1c32, #071322);
  text-align: center;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
}
.cta-glow { position: absolute; width: 360px; height: 360px; left: 50%; top: -180px; transform: translateX(-50%); border-radius: 50%; background: rgba(62, 224, 196, 0.16); filter: blur(80px); pointer-events: none; }
.cta-panel h2 { position: relative; margin: 0 auto 14px; font-size: clamp(32px, 4vw, 50px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 800; }
.cta-panel p { position: relative; max-width: 640px; margin: 0 auto; color: var(--muted); font-size: 14px; line-height: 1.85; }
.cta-actions { position: relative; display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.cta-note { position: relative; margin-top: 18px !important; color: var(--muted) !important; font-size: 11.5px !important; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: #050c18; padding: 46px 0 20px; }
.footer-main { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; }
.footer-brand { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 10px; }
.footer-brand img { grid-row: span 2; border-radius: 9px; }
.footer-brand b { font-size: 15px; display: block; line-height: 1.2; }
.footer-brand span { color: var(--muted-2); font-size: 10px; }
.footer-brand p { grid-column: 1 / -1; margin: 14px 0 0; color: var(--muted-2); font-size: 10.5px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-links b { display: block; margin-bottom: 8px; color: var(--text-2); font-size: 11px; font-weight: 650; }
.footer-links a { display: block; padding: 3px 0; color: var(--muted-2); font-size: 11px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 34px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 9.5px; flex-wrap: wrap; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.visible { opacity: 1; transform: none; }
html.snap .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
html.snap .hero-app { transform: none !important; }
html.snap .float-card { animation: none !important; }
html.snap .live-tag i,
html.snap .fc-live i,
html.snap .pill-dot { animation: none !important; }
.hero-copy .reveal:nth-child(1) { transition-delay: 0.02s; }
.hero-copy .reveal:nth-child(2) { transition-delay: 0.08s; }
.hero-copy .reveal:nth-child(3) { transition-delay: 0.15s; }
.hero-copy .reveal:nth-child(4) { transition-delay: 0.22s; }
.hero-copy .reveal:nth-child(5) { transition-delay: 0.3s; }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* =========================================================
   Actual iAide client UI (light Element Plus style)
   Used inside the dark landing-page mockups.
   ========================================================= */
.light-app {
  background: #f4f7fb;
  border: 1px solid #e4e7ed;
  color: #303133;
  box-shadow: 0 26px 70px rgba(9, 30, 66, 0.26);
}
.light-app * { box-sizing: border-box; }
.light-app input,
.light-app select,
.light-app button { font-family: var(--font); }

.light-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 12px;
  border-bottom: 1px solid #e4e7ed;
  background: #ffffff;
}
.lt-brand { display: flex; align-items: center; gap: 6px; color: #303133; font-size: 9px; font-weight: 650; }
.lt-brand img { width: 15px; height: 15px; border-radius: 4px; }
.lt-controls { display: flex; align-items: center; gap: 13px; color: #909399; font-size: 10px; line-height: 1; }

.light-body { display: grid; grid-template-columns: 188px 1fr; min-height: 398px; }
.light-sidebar {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px;
  border-right: 1px solid #e4e7ed;
  background: #f4f7fb;
}
.ls-brand { display: flex; align-items: center; gap: 7px; padding: 1px 2px 3px; }
.ls-brand img { width: 24px; height: 24px; border-radius: 6px; }
.ls-brand b { display: block; color: #303133; font-size: 9.5px; line-height: 1.15; }
.ls-brand span { display: block; color: #909399; font-size: 6.5px; line-height: 1.2; }

.lcard {
  padding: 8px;
  border: 1px solid #e4e7ed;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}
.lcard-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 6px; }
.lcard-head b { color: #303133; font-size: 8.5px; font-weight: 650; }
.ls-status { display: inline-flex; align-items: center; gap: 4px; color: #67c23a; font-size: 6.8px; }
.ls-status button {
  padding: 2px 5px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
  font-size: 6.5px;
  line-height: 1;
}
.ls-status i { width: 5px; height: 5px; border-radius: 50%; background: #67c23a; }
.lfield-label { margin-top: 5px; color: #909399; font-size: 6.8px; }
.lfield-name { color: #303133; font-size: 8.5px; }
.lbalance { display: flex; align-items: baseline; gap: 3px; margin: 1px 0 5px; }
.lbalance b { color: #409eff; font: 700 22px/1 var(--font); letter-spacing: -0.04em; }
.lbalance span { color: #909399; font-size: 7px; }
.lbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 8px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #ffffff;
  color: #606266;
  font-size: 7px;
  line-height: 1;
  white-space: nowrap;
}
.lbtn.blue { border-color: #409eff; background: #409eff; color: #ffffff; }
.lbtn.teal { margin-left: auto; border-color: #06b6d4; background: #06b6d4; color: #ffffff; }
.lbtn.full { width: 100%; margin-top: 5px; }
.lversion { margin: 1px 0 6px; color: #909399; font-size: 6.5px; }
.lversion a { margin-left: 4px; color: #409eff; }
.laccount-actions { display: flex; gap: 5px; }
.laccount-actions button {
  flex: 1;
  min-height: 18px;
  padding: 0 4px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
  font-size: 6.3px;
}
.laccount-actions button.danger { border-color: #fbc4c4; color: #f56c6c; }

.lrow { display: grid; grid-template-columns: 27px 1fr 12px; align-items: center; gap: 4px; margin-top: 4px; color: #606266; font-size: 7px; }
.lrow input {
  width: 100%;
  height: 18px;
  padding: 0 4px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #303133;
  font-size: 7.5px;
  text-align: right;
  outline: none;
}
.lunit { color: #909399; font-size: 6.5px; }
.lhint { margin: 4px 0 0; color: #909399; font-size: 6.3px; line-height: 1.4; }
.lswitch { position: relative; width: 21px; height: 11px; border-radius: 99px; background: #409eff; display: inline-block; flex: none; }
.lswitch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 7px; height: 7px; border-radius: 50%; background: #ffffff; }
.lswitch.off { background: #dcdfe6; }
.lswitch.off::after { right: auto; left: 2px; }

.light-main { min-width: 0; padding: 11px 12px; background: #f4f7fb; }
.lm-head { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }
.lm-head h1 { margin: 0; color: #303133; font-size: 15px; font-weight: 750; letter-spacing: -0.02em; }
.lm-count { color: #409eff; font-size: 11px; font-weight: 650; }
.lm-note { color: #909399; font-size: 6.8px; white-space: nowrap; }
.lm-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lm-actions a { color: #409eff; font-size: 6.8px; white-space: nowrap; }
.lm-actions .lbtn { min-height: 21px; padding: 0 9px; font-size: 7px; }

.lm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lt-card {
  padding: 8px;
  border: 1px solid #e4e7ed;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}
.lt-head { display: flex; align-items: center; gap: 5px; min-width: 0; }
.lt-slot { flex: none; padding: 1px 4px; border-radius: 4px; background: #ecf5ff; color: #409eff; font: 650 6.5px/1.5 var(--mono); }
.lt-head b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #303133; font-size: 8px; font-weight: 650; }
.lt-port { color: #909399; font-size: 6px; }
.lt-more { color: #c0c4cc; font-size: 9px; line-height: 1; }
.lt-timer { display: flex; align-items: center; gap: 5px; margin: 6px 0 5px; }
.lt-time { color: #303133; font: 700 13px/1 var(--mono); letter-spacing: 0.02em; }
.lt-plus {
  width: 13px;
  height: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #dcdfe6;
  border-radius: 50%;
  background: #fff;
  color: #606266;
  font-size: 8px;
  line-height: 1;
}
.lt-badge { padding: 1px 5px; border-radius: 3px; background: #f4f4f5; color: #909399; font-size: 5.8px; }
.lt-float { margin-left: auto; padding: 1px 4px; border: 1px solid #dcdfe6; border-radius: 3px; background: #fff; color: #909399; font-size: 6px; line-height: 1.4; }
.lt-bar { height: 3px; margin-bottom: 6px; border-radius: 99px; background: #ebeef5; overflow: hidden; }
.lt-bar i { display: block; height: 100%; border-radius: inherit; background: #409eff; }
.lt-foot { display: flex; align-items: center; gap: 5px; }
.lt-foot select {
  flex: 1;
  min-width: 0;
  height: 17px;
  padding: 0 2px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
  font-size: 6.3px;
  outline: none;
}
.lt-foot .lbtn { min-height: 17px; padding: 0 7px; font-size: 6.3px; }
.lt-foot .lswitch { width: 18px; height: 10px; }
.lt-foot .lswitch::after { width: 6px; height: 6px; }

/* Light floating mini window */
.float-card.light-float {
  width: 198px;
  padding: 9px 10px;
  border: 1px solid #e4e7ed;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(9, 30, 66, 0.28);
  color: #606266;
  font-size: 7px;
  animation: floatY 6s ease-in-out infinite;
}
.lf-head { display: flex; align-items: center; gap: 5px; color: #909399; font: 600 6.5px/1 var(--mono); }
.lf-time { margin-left: auto; color: #409eff; font-size: 10px; }
.lf-live { display: inline-flex; align-items: center; gap: 3px; color: #67c23a; font-size: 5.8px; }
.lf-live i { width: 4px; height: 4px; border-radius: 50%; background: #67c23a; }
.lf-close { color: #c0c4cc; font-size: 10px; line-height: 1; }
.lf-name { margin: 6px 0 5px; color: #303133; font-size: 9px; font-weight: 650; }
.lf-row { display: flex; justify-content: space-between; padding: 2px 0; color: #909399; font-size: 7px; }
.lf-row b { color: #303133; font-weight: 600; }
.lf-row b.fold { color: #f56c6c; }
.lf-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 5px; padding-top: 6px; border-top: 1px solid #ebeef5; color: #909399; font-size: 6.5px; }
.lf-foot span { display: inline-flex; align-items: center; gap: 3px; }
.lf-foot span i { width: 4px; height: 4px; border-radius: 50%; background: #67c23a; }
.lf-foot button { padding: 3px 7px; border: 1px solid #409eff; border-radius: 4px; background: #409eff; color: #fff; font-size: 6.3px; }

/* =========================================================
   Light UI overrides for strategy / float / billing / health
   ========================================================= */
.decision-card {
  background: #ffffff;
  border-color: #e4e7ed;
  color: #303133;
  box-shadow: 0 26px 60px rgba(9, 30, 66, 0.22);
}
.dc-bar { color: #909399; }
.dc-bar .live-tag { color: #409eff; }
.dc-bar .live-tag i { background: #409eff; box-shadow: 0 0 8px rgba(64, 158, 255, 0.55); }
.playing-card { border: 1px solid #e4e7ed; }
.dc-meta b { color: #303133; }
.dc-meta span { color: #909399; }
.dc-board { background: #f5f7fa; border-color: #e4e7ed; }
.dc-board span, .dc-board em { color: #909399; }
.dc-board b { color: #303133; }
.dc-action span, .dc-action em { color: #909399; }
.dc-action strong.fold { color: #f56c6c; }
.dc-reason { color: #909399; border-top-color: #ebeef5; }
.mini-strategy {
  background: #ffffff;
  border-color: #e4e7ed;
  box-shadow: 0 18px 40px rgba(9, 30, 66, 0.16);
}
.mini-strategy span { color: #909399; }
.mini-strategy b { color: #303133; }

.strategy-controls {
  background: #ffffff;
  border-color: #e4e7ed;
  box-shadow: 0 14px 34px rgba(9, 30, 66, 0.14);
}
.control-label { color: #606266; }
.control-value { color: #409eff; }
.strategy-controls .seg { background: #f5f7fa; border-color: #dcdfe6; }
.strategy-controls .seg button { color: #606266; }
.strategy-controls .seg button.active { background: #ecf5ff; color: #409eff; }
.strategy-controls .fake-range { background: #ebeef5; }
.strategy-controls .fake-range i { background: #409eff; opacity: 1; }
.strategy-controls .fake-range b { background: #ffffff; border: 2px solid #409eff; box-shadow: none; }

/* Float window */
.float-window.light-app {
  background: #f4f7fb;
  border-color: #e4e7ed;
  box-shadow: 0 26px 70px rgba(9, 30, 66, 0.26);
}
.float-window .window-bar {
  height: 30px;
  border-bottom-color: #e4e7ed;
  background: #ffffff;
}
.float-window .traffic { display: none; }
.float-window .window-title { color: #303133; font-size: 8px; }
.float-window .window-ctl { color: #909399; }
.float-window .fw-full { grid-template-columns: 150px 1fr; min-height: 300px; }
.float-window .fw-side { border-right-color: #e4e7ed; background: #f4f7fb; }
.float-window .fw-balance { white-space: nowrap; }
.float-window .fw-balance b, .float-window .fw-balance em { display: inline; }
.float-window .fw-balance span { color: #909399; }
.float-window .fw-balance b { color: #409eff; font-size: 17px; }
.float-window .fw-balance em { margin-left: 2px; color: #909399; font-size: 8px; font-style: normal; }
.float-window .fw-setting { color: #606266; }
.float-window .fw-setting b { color: #303133; }
.float-window .dot-on { background: #409eff; }
.float-window .dot-on::after { background: #ffffff; }
.float-window .fw-main { background: #f4f7fb; }
.float-window .fw-head { color: #909399; }
.float-window .fw-head b { color: #303133; }
.float-window .fw-card { background: #ffffff; border-color: #e4e7ed; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03); }
.float-window .fw-card.live { border-color: #b3d8ff; }
.float-window .fw-card-top { color: #909399; }
.float-window .fw-card-top span { color: #409eff; }
.float-window .fw-card-name { color: #303133; }
.float-window .fw-card-line { color: #909399; }
.float-window .fw-card-line em.fold { color: #f56c6c; }
.float-window .fw-card-line em.raise { color: #409eff; }
.float-window .fw-card-foot { color: #909399; }
.float-window .fw-card-foot i { background: #67c23a; }
.float-window .fw-card-foot i.amber { background: #e6a23c; }
.float-window .fw-card-foot i.gray { background: #c0c4cc; }
.float-window .fw-add { border-color: #dcdfe6; background: #ffffff; color: #909399; }
.float-window .fw-log { border-top-color: #ebeef5; color: #909399; }
.float-window .fw-log i { background: #67c23a; }
.float-window .fw-mini { background: #ffffff; }
.float-window .fm-top { color: #909399; }
.float-window .fm-top span { color: #409eff; }
.float-window .fm-live { background: #67c23a; }
.float-window .fm-name { color: #303133; }
.float-window .fm-row { border-top-color: #ebeef5; color: #909399; }
.float-window .fm-row b { color: #f56c6c; }
.float-window .fm-foot { color: #909399; }
.float-window .fm-foot i { background: #67c23a; }
.float-window .fm-foot button { border-color: #409eff; background: #409eff; color: #ffffff; }

/* Billing demo */
.billing-demo {
  background: #ffffff;
  border-color: #e4e7ed;
  color: #303133;
  box-shadow: 0 24px 60px rgba(9, 30, 66, 0.2);
}
.billing-demo .demo-badge { border-color: #dcdfe6; color: #909399; }
.billing-demo .wallet-row span { color: #909399; }
.billing-demo .wallet-row strong { color: #409eff; }
.billing-demo .wallet-row small { color: #909399; }
.billing-demo .wallet-icon { border-color: #b3d8ff; background: #ecf5ff; color: #409eff; }
.billing-demo .budget-card { background: #f5f7fa; border-color: #e4e7ed; }
.billing-demo .budget-head span { color: #303133; }
.billing-demo .budget-head b { color: #303133; }
.billing-demo .budget-bar { background: #e4e7ed; }
.billing-demo .budget-bar i { background: #409eff; }
.billing-demo .budget-meta { color: #909399; }
.billing-demo .btn-primary { border-color: #409eff; background: #409eff; color: #ffffff; box-shadow: none; }
.billing-demo .btn-ghost { border-color: #dcdfe6; background: #ffffff; color: #606266; }
.billing-demo .btn-text { color: #909399; }
.billing-demo .demo-note { color: #909399; }

/* Health card */
.health-card {
  background: #ffffff;
  border-color: #e4e7ed;
  color: #303133;
  box-shadow: 0 24px 60px rgba(9, 30, 66, 0.2);
}
.health-head { color: #909399; }
.health-row { border-top-color: #ebeef5; }
.health-row span { color: #606266; }
.health-row b.ok { color: #67c23a; }
.health-row b.warn { color: #e6a23c; }
.health-row em { color: #909399; }
.health-foot { border-top-color: #ebeef5; color: #909399; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { gap: 18px; }
  .hero-inner { gap: 36px; }
  .hero h1 { font-size: clamp(40px, 5.2vw, 58px); }
  .split { gap: 46px; }
  .billing-grid { gap: 40px; }
  .nav-ghost { display: none; }
}

@media (max-width: 960px) {
  .hero { padding-top: 52px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { padding-bottom: 10px; text-align: center; }
  .pill { margin: 0 auto; }
  .lead { margin: 0 auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-stats { margin-left: auto; margin-right: auto; }
  .hero-visual { max-width: 640px; margin: 0 auto; padding-right: 0; }
  .float-card { right: -2px; }
  .hero-marquee { margin-top: 36px; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 42px; }
  .split.reverse .split-copy, .split.reverse .split-visual { order: initial; }
  .split-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .split-copy { text-align: center; }
  .split-copy h2, .split-copy .section-lead { margin-left: auto; margin-right: auto; }
  .strategy-controls { margin-left: auto; margin-right: auto; text-align: left; }
  .ticks-lg { display: inline-grid; text-align: left; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .browser-grid { grid-template-columns: repeat(3, 1fr); }
  .billing-grid { grid-template-columns: 1fr; }
  .billing-demo { max-width: 560px; margin: 0 auto; width: 100%; }
  .billing-rules { max-width: 620px; margin: 0 auto; width: 100%; }
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .health-card { max-width: 520px; margin: 0 auto; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    z-index: 70;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 18px;
    border-bottom: 1px solid var(--line);
    background: #071322;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 2px; border-bottom: 1px solid rgba(130, 170, 210, 0.08); font-size: 14px; }
  .nav-toggle { display: inline-flex; }
  .nav-actions { margin-left: auto; }
}

@media (max-width: 700px) {
  .container { width: calc(100% - 36px); }
  .section { padding: 78px 0; }
  .section-head { margin-bottom: 36px; }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 14.5px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
  .hero-stats strong { font-size: 18px; }
  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-sidebar { display: none; }
  .mock-main { padding: 12px; }
  .mock-grid { grid-template-columns: 1fr 1fr; }
  .table-card { min-height: 116px; }
  .float-card { display: none; }
  .hero-app { transform: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .browser-grid { grid-template-columns: 1fr 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .code-card { flex-wrap: wrap; gap: 10px; }
  .code-card code { flex-basis: 100%; order: 3; }
  .code-label { flex: 1; }
  .billing-demo { padding: 20px 16px; }
  .wallet-row { padding-right: 0; }
  .wallet-icon { display: none; }
  .wallet-row strong { font-size: 30px; }
  .budget-head b { font-size: 21px; }
  .faq-item p { padding-right: 12px; }
  .cta-panel { padding: 54px 20px 48px; border-radius: 22px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 520px) {
  .brand-tag { display: none; }
  .nav-inner { height: 66px; }
  .nav-links { top: 66px; max-height: calc(100vh - 66px); }
  .nav-actions .btn-primary { padding: 9px 12px; font-size: 12px; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: 33px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .mock-grid { grid-template-columns: 1fr; }
  .mock-grid > :nth-child(n+3) { display: none; }
  .table-card { min-height: 112px; }
  .section-head h2, .split-copy h2 { font-size: 24px; }
  .visual-stack { padding-right: 4px; }
  .mini-strategy { position: static; margin-top: 12px; transform: none; justify-content: space-between; }
  .decision-card { transform: none; }
  .playing-card { width: 44px; height: 60px; }
  .dc-action strong { font-size: 22px; }
  .fw-cards { grid-template-columns: 1fr; }
  .fw-card:nth-child(n+2), .fw-add { display: none; }
  .float-window.mini { max-width: 100%; }
  .budget-actions .btn { flex: 1 1 auto; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive rules for the light client mockups */
@media (max-width: 700px) {
  .light-body { grid-template-columns: 1fr; min-height: 0; }
  .light-sidebar { display: none; }
  .light-main { padding: 10px; }
  .lm-head { flex-wrap: wrap; }
  .lm-note { display: none; }
  .lm-actions { width: 100%; margin-left: 0; justify-content: flex-end; }
  .light-app .lm-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .light-app .lm-grid { grid-template-columns: 1fr; }
  .light-app .lm-grid .lt-card:nth-child(n+3) { display: none; }
  .light-app .lm-actions a { display: none; }
  .float-window .fw-side { display: none; }
  .float-window .fw-full { grid-template-columns: 1fr; }
}
