/**
* MyTradnix — Public Site
* Dark / Blue Modern theme, matched to the Tradenix React frontend.
* Replaces the legacy FlexStart light theme.
*/

/*--------------------------------------------------------------
# Design tokens
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;

  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-tertiary: #1c2128;
  --bg-card: #161b22;
  --bg-elevated: #1c2128;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);

  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-muted: #484f58;
  --text-link: #58a6ff;

  --accent: #2D6BF5;
  --accent-hover: #1D4ED8;
  --accent-soft: rgba(45, 107, 245, 0.12);

  --success: #3fb950;
  --danger: #f85149;
  --warning: #d29922;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
* { box-sizing: border-box; }

html,
body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}

img { max-width: 100%; height: auto; }
.img-fluid { max-width: 100%; height: auto; }

section {
  padding: 80px 0;
  overflow: hidden;
}
section:nth-of-type(even) { background-color: var(--bg-secondary); }

.section-header {
  text-align: center;
  padding-bottom: 48px;
}
.section-header h2 {
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.section-header p {
  margin: 12px 0 0 0;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-primary);
}
@media (max-width: 768px) {
  .section-header p { font-size: 26px; }
  section { padding: 56px 0; }
}

/*--------------------------------------------------------------
# Back to top
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  background: var(--accent);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  transition: all 0.3s;
}
.back-to-top i { font-size: 24px; color: #fff; line-height: 0; }
.back-to-top:hover { background: var(--accent-hover); }
.back-to-top.active { visibility: visible; opacity: 1; }

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  transition: all 0.3s;
  z-index: 997;
  padding: 16px 0;
  background: rgba(13, 17, 23, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.header.header-scrolled {
  background: rgba(13, 17, 23, 0.92);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.header .logo { line-height: 0; gap: 10px; }
.header .logo img { max-height: 34px; width: auto; }
.header .logo span {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
.navbar { padding: 0; }
.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}
.navbar li { position: relative; }
.navbar a, .navbar a:focus {
  display: flex;
  align-items: center;
  padding: 10px 0 10px 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.15s ease;
}
.navbar a:hover, .navbar .active, .navbar li:hover > a {
  color: var(--text-primary);
}
.navbar .getstarted, .navbar .getstarted:focus {
  background: var(--accent);
  padding: 9px 20px;
  margin-left: 28px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 600;
}
.navbar .getstarted:hover { color: #fff; background: var(--accent-hover); }

.mobile-nav-toggle {
  color: var(--text-primary);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.3s;
}
@media (max-width: 991px) {
  .mobile-nav-toggle { display: block; }
  .navbar ul { display: none; }
}
.navbar-mobile {
  position: fixed;
  overflow: hidden;
  inset: 0;
  background: rgba(13, 17, 23, 0.95);
  transition: 0.3s;
}
.navbar-mobile .mobile-nav-toggle { position: absolute; top: 18px; right: 18px; }
.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 60px; right: 15px; bottom: 15px; left: 15px;
  padding: 10px 0;
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  overflow-y: auto;
}
.navbar-mobile a, .navbar-mobile a:focus {
  padding: 12px 22px;
  font-size: 15px;
  color: var(--text-secondary);
}
.navbar-mobile a:hover, .navbar-mobile .active { color: var(--text-primary); }
.navbar-mobile .getstarted { margin: 15px; display: inline-block; }

/*--------------------------------------------------------------
# Hero — animated auto-trading engine (from Claude Design)
--------------------------------------------------------------*/
.hero {
  width: 100%;
  display: block;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(59, 130, 246, .10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(34, 211, 238, .06), transparent 60%),
    var(--bg-primary);
}
.hero .hero-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 72px 28px 64px 42px;
  display: grid;
  grid-template-columns: minmax(410px, 0.78fr) minmax(720px, 1.32fr);
  gap: 30px;
  align-items: center;
}

/* ----- left copy ----- */
.hero h1 {
  font-size: 64px;
  line-height: 1.04;
  letter-spacing: -.025em;
  font-weight: 800;
  margin: 0 0 22px;
  color: #f4f7ff;
}
.hero h1 .accent {
  background: linear-gradient(90deg, #60a5fa, #3b82f6 55%, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero h1 .accent .cursor {
  display: inline-block;
  width: .06em;
  height: .85em;
  background: #60a5fa;
  vertical-align: -0.05em;
  margin-left: 4px;
  animation: hero-blink 1s steps(2, end) infinite;
  border-radius: 1px;
  box-shadow: 0 0 12px rgba(96, 165, 250, .8);
}
@keyframes hero-blink { 50% { opacity: 0; } }
.hero p.sub {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 0 36px;
}
.hero .actions { display: flex; align-items: center; gap: 18px; }
.hero .hero-note {
  margin: 16px 0 0;
  max-width: 430px;
  color: #7b8aae;
  font-size: 12px;
  line-height: 1.5;
}
.hero .btn-get-started {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, rgba(22, 36, 70, .82), rgba(10, 18, 38, .86));
  color: #dbeafe;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1px solid rgba(96, 165, 250, .42);
  box-shadow:
    0 12px 28px rgba(15, 23, 42, .42),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: transform .15s ease, box-shadow .2s, border-color .2s, background .2s;
}
.hero .btn-get-started::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34, 197, 94, .72);
}
.hero .btn-get-started:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, .70);
  background: linear-gradient(180deg, rgba(30, 48, 88, .92), rgba(12, 22, 46, .94));
  box-shadow:
    0 16px 34px rgba(15, 23, 42, .52),
    0 0 24px rgba(59, 130, 246, .18),
    inset 0 1px 0 rgba(255, 255, 255, .10);
  color: #fff;
}
.hero .btn-get-started:hover i { transform: translateX(4px); }
.hero .btn-get-started i { transition: transform 0.2s ease; }

/* ----- right — animated stage ----- */
.hero .stage {
  position: relative;
  height: 620px;
  min-width: 0;
  border-radius: 18px;
  background:
    radial-gradient(600px 300px at 70% 20%, rgba(34, 211, 238, .10), transparent 70%),
    linear-gradient(180deg, rgba(16, 26, 49, .95), rgba(10, 16, 32, .95));
  border: 1px solid rgba(110, 160, 255, .32);
  overflow: hidden;
  box-shadow:
    0 30px 80px -30px rgba(0, 0, 0, .7),
    0 0 0 1px rgba(59, 130, 246, .04),
    inset 0 1px 0 rgba(255, 255, 255, .04);
}
.hero .stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(110, 160, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 160, 255, .06) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(700px 500px at 60% 50%, #000 40%, transparent 80%);
  mask-image: radial-gradient(700px 500px at 60% 50%, #000 40%, transparent 80%);
}
.hero .stage::after {
  content: "";
  position: absolute;
  left: -20%;
  top: 0;
  bottom: 0;
  width: 60%;
  background: linear-gradient(90deg, transparent 0%, rgba(96, 165, 250, .04) 40%, rgba(96, 165, 250, .10) 50%, rgba(96, 165, 250, .04) 60%, transparent 100%);
  animation: hero-sweep 7s linear infinite;
  pointer-events: none;
}
@keyframes hero-sweep { 0% { transform: translateX(-30%); } 100% { transform: translateX(220%); } }

.hero .chrome {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(82, 120, 200, .18);
  background: linear-gradient(180deg, rgba(14, 23, 48, .9), rgba(14, 23, 48, .55));
  z-index: 6;
}
.hero .chrome .dots { display: flex; gap: 6px; }
.hero .chrome .dots span { width: 10px; height: 10px; border-radius: 50%; }
.hero .chrome .dots span:nth-child(1) { background: #ef4444aa; }
.hero .chrome .dots span:nth-child(2) { background: #f59e0baa; }
.hero .chrome .dots span:nth-child(3) { background: #22c55eaa; }
.hero .chrome .title { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #a9b6d6; letter-spacing: .04em; }
.hero .chrome .title b { color: #fff; }
.hero .chrome .right { margin-left: auto; display: flex; gap: 10px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #7b8aae; }
.hero .chrome .right .tag { padding: 3px 8px; border-radius: 5px; border: 1px solid rgba(82, 120, 200, .18); background: rgba(20, 32, 62, .6); }
.hero .chrome .right .tag.green { color: #86efac; border-color: rgba(34, 197, 94, .3); background: rgba(34, 197, 94, .08); }

.hero .panes {
  position: absolute;
  top: 44px; left: 0; right: 0; bottom: 32px;
  display: grid;
  grid-template-columns: 1fr 252px;
  gap: 0;
}
.hero .chartwrap { position: relative; overflow: hidden; border-right: 1px solid rgba(82, 120, 200, .18); }
.hero #chart { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.hero .overlay { position: absolute; inset: 0; pointer-events: none; }
.hero .ticker {
  position: absolute;
  top: 14px; left: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #cfd9f3;
  background: rgba(11, 18, 38, .7);
  border: 1px solid rgba(82, 120, 200, .18);
  border-radius: 8px;
  padding: 8px 12px;
  backdrop-filter: blur(6px);
  white-space: nowrap;
}
.hero .ticker > * { white-space: nowrap; flex-shrink: 0; }
.hero .ticker .sym { font-weight: 700; color: #fff; letter-spacing: .05em; }
.hero .ticker .px { color: #60a5fa; }
.hero .ticker .chg { color: #22c55e; }
.hero .ticker .chg.down { color: #ef4444; }

.hero .detect {
  position: absolute;
  border: 1px solid rgba(96, 165, 250, .6);
  border-radius: 4px;
  mix-blend-mode: screen;
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .15), 0 0 18px rgba(96, 165, 250, .25);
  transition: all .35s cubic-bezier(.2, .7, .2, 1);
  opacity: 0;
}
.hero .detect::before, .hero .detect::after {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  border: 2px solid #60a5fa;
}
.hero .detect::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.hero .detect::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.hero .detect .lbl {
  position: absolute;
  top: -22px; left: -1px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .06em;
  background: rgba(96, 165, 250, .18);
  border: 1px solid rgba(96, 165, 250, .5);
  color: #cfe1ff;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.hero .detect.fire { border-color: rgba(34, 211, 238, .85); }
.hero .detect.fire .lbl { background: rgba(34, 211, 238, .18); border-color: rgba(34, 211, 238, .7); color: #a5f3fc; }
.hero .detect.fire::before, .hero .detect.fire::after { border-color: #22d3ee; }

.hero .ticket {
  position: absolute;
  background: rgba(13, 22, 46, .92);
  border: 1px solid rgba(96, 165, 250, .45);
  border-radius: 10px;
  padding: 10px 12px 11px;
  width: 184px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #cfd9f3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 0 1px rgba(96, 165, 250, .1), 0 0 24px rgba(59, 130, 246, .18);
  backdrop-filter: blur(6px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px) scale(.96);
  transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1);
}
.hero .ticket.show { opacity: 1; transform: translateY(0) scale(1); }
.hero .ticket .ticket-row { display: flex; justify-content: space-between; gap: 12px; margin: 4px 0; color: #9bb1de; }
.hero .ticket .ticket-row b { color: #fff; font-weight: 600; text-align: right; }
.hero .ticket .head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px dashed rgba(110, 160, 255, .2); }
.hero .ticket .head .side { font-weight: 700; letter-spacing: .08em; padding: 2px 8px; border-radius: 4px; font-size: 10px; }
.hero .ticket.buy .head .side { background: rgba(34, 197, 94, .15); color: #86efac; border: 1px solid rgba(34, 197, 94, .4); }
.hero .ticket.sell .head .side { background: rgba(239, 68, 68, .15); color: #fca5a5; border: 1px solid rgba(239, 68, 68, .4); }
.hero .ticket .head .sym { color: #fff; font-weight: 700; }
.hero .ticket .head .t { margin-left: auto; color: #7b8aae; font-size: 10px; }
.hero .ticket .summary { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 7px; }
.hero .ticket .summary b { color: #fff; font-size: 15px; font-weight: 700; }
.hero .ticket .summary span { color: #9bb1de; }
.hero .ticket .meta { margin-top: 5px; color: #93c5fd; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.hero .ticket .bar { height: 2px; background: rgba(110, 160, 255, .12); border-radius: 2px; margin-top: 6px; overflow: hidden; }
.hero .ticket .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #60a5fa, #22d3ee); transition: width 1.2s ease; }
.hero .ticket.show .bar i { width: 100%; }

.hero .rail { display: flex; flex-direction: column; min-height: 0; overflow: hidden; background: linear-gradient(180deg, rgba(11, 18, 38, .6), rgba(11, 18, 38, .2)); }
.hero .rail .section { padding: 14px; border-bottom: 1px solid rgba(82, 120, 200, .18); }
.hero .rail .section:last-child {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 24px;
}
.hero .rail .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: #7b8aae;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero .rail .head .pill { font-size: 9.5px; padding: 2px 7px; border-radius: 99px; background: rgba(59, 130, 246, .12); border: 1px solid rgba(59, 130, 246, .35); color: #bcd2ff; letter-spacing: .1em; }

.hero .signal { display: grid; grid-template-columns: 1fr auto; gap: 6px; padding: 7px 0; border-bottom: 1px dashed rgba(110, 160, 255, .08); font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.hero .signal:last-child { border-bottom: 0; }
.hero .signal .name { color: #dbe4fb; }
.hero .signal .pct { font-weight: 700; }
.hero .signal .pct.hi { color: #22d3ee; }
.hero .signal .pct.md { color: #60a5fa; }
.hero .signal .pct.lo { color: #7b8aae; }
.hero .signal .meter { grid-column: 1/-1; height: 3px; background: rgba(110, 160, 255, .08); border-radius: 3px; overflow: hidden; margin-top: 2px; }
.hero .signal .meter i { display: block; height: 100%; background: linear-gradient(90deg, #3b82f6, #22d3ee); transition: width .8s ease; }

.hero .log { flex: 1; min-height: 0; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; line-height: 1.7; overflow: hidden; color: #9bb1de; }
.hero .log .ln { display: flex; gap: 8px; opacity: 0; transform: translateY(4px); transition: all .3s ease; white-space: nowrap; }
.hero .log .ln.in { opacity: 1; transform: translateY(0); }
.hero .log .t { color: #5b6786; }
.hero .log .ok { color: #86efac; }
.hero .log .info { color: #93c5fd; }
.hero .log .warn { color: #fcd34d; }

.hero .flow {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 32px;
  border-top: 1px solid rgba(82, 120, 200, .18);
  background: linear-gradient(180deg, rgba(11, 18, 38, .4), rgba(11, 18, 38, .85));
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero .flow .legend-inline {
  position: relative;
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  padding: 0 16px;
  height: 100%;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: #9bb1de;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-right: 1px solid rgba(82, 120, 200, .18);
  background: #0b1226;
  z-index: 3;
}
.hero .flow .legend-inline i { display: inline-block; width: 10px; height: 2px; background: #60a5fa; margin-right: 6px; vertical-align: middle; border-radius: 2px; }
.hero .flow .legend-inline .ma2 i { background: #22d3ee; }
.hero .flow .legend-inline .ma3 i { background: #a78bfa; }
.hero .flow .strip-viewport {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}
.hero .flow .strip-viewport::before,
.hero .flow .strip-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22px;
  z-index: 1;
  pointer-events: none;
}
.hero .flow .strip-viewport::before {
  left: 0;
  background: linear-gradient(90deg, rgba(11, 18, 38, .98), rgba(11, 18, 38, 0));
}
.hero .flow .strip-viewport::after {
  right: 0;
  background: linear-gradient(270deg, rgba(11, 18, 38, .98), rgba(11, 18, 38, 0));
}
.hero .flow .strip {
  display: flex;
  gap: 28px;
  flex: 0 0 auto;
  width: max-content;
  padding-left: 22px;
  white-space: nowrap;
  animation: hero-scroll 38s linear infinite;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #9bb1de;
}
.hero .flow .strip b { color: #fff; }
.hero .flow .strip .up { color: #22c55e; }
.hero .flow .strip .dn { color: #ef4444; }
@keyframes hero-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.hero .particles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero .particles span {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: #60a5fa;
  opacity: .4;
  box-shadow: 0 0 6px #60a5fa;
  animation: hero-float 8s linear infinite;
}
@keyframes hero-float {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: .6; }
  100% { transform: translateY(-300px); opacity: 0; }
}

@media (max-width: 1080px) {
  .hero { min-height: auto; }
  .hero .hero-inner { grid-template-columns: 1fr; gap: 32px; padding: 72px 24px 56px; }
  .hero .stage { order: 1; }
  .hero .copy { order: 2; }
  .hero .stage { height: 520px; }
  .hero h1 { font-size: 46px; }
  .hero .panes { grid-template-columns: 1fr 230px; }
}
@media (max-width: 720px) {
  .hero .hero-inner {
    gap: 24px;
    padding: 68px 14px 42px;
  }
  .hero h1 { font-size: 36px; }
  .hero p.sub {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero .hero-note { font-size: 11px; }
  .hero .stage {
    height: 390px;
    border-radius: 14px;
  }
  .hero .chrome {
    height: 38px;
    gap: 10px;
    padding: 0 12px;
  }
  .hero .chrome .dots { display: none; }
  .hero .chrome .title {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
  }
  .hero .chrome .right { gap: 6px; font-size: 9px; }
  .hero .chrome .right .tag { padding: 2px 6px; }
  .hero .panes { grid-template-columns: 1fr; }
  .hero .panes {
    top: 38px;
    bottom: 28px;
  }
  .hero .rail { display: none; }
  .hero .ticker {
    top: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
    gap: 8px;
    padding: 7px 9px;
    font-size: 10px;
    overflow: hidden;
  }
  .hero .ticker span:last-child { display: none; }
  .hero .detect .lbl {
    top: -20px;
    font-size: 8px;
    padding: 2px 5px;
  }
  .hero .ticket {
    width: 150px;
    padding: 9px 10px 10px;
    font-size: 10px;
  }
  .hero .ticket .head {
    gap: 6px;
    margin-bottom: 5px;
    padding-bottom: 5px;
  }
  .hero .ticket .head .sym {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .hero .ticket .head .side {
    padding: 2px 6px;
    font-size: 9px;
  }
  .hero .ticket .summary {
    gap: 8px;
    margin-top: 6px;
  }
  .hero .ticket .summary b { font-size: 13px; }
  .hero .ticket .meta { font-size: 9px; }
  .hero .flow { height: 28px; }
  .hero .flow .legend-inline { display: none; }
  .hero .flow .strip {
    gap: 20px;
    padding-left: 14px;
    font-size: 10px;
  }
}

/*--------------------------------------------------------------
# Generic card surface
--------------------------------------------------------------*/
.values .box,
.features .feature-box,
.features .feature-icons .content .icon-box,
.counts .count-box,
.contact .info-box,
.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.values .box:hover,
.features .feature-box:hover,
.features .feature-icons .content .icon-box:hover,
.counts .count-box:hover,
.contact .info-box:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  height: 100%;
}
.about h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 14px 0;
}
.about h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}
.about p {
  margin: 18px 0 0 0;
  color: var(--text-secondary);
}
.about .about-visual {
  height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(600px circle at 70% 30%, rgba(45,107,245,0.22), transparent 60%),
    var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 280px;
  overflow: hidden;
}
.about .about-visual img,
.features .feature-visual img,
.contact-us-img {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(88, 166, 255, 0.20);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.30);
  filter: brightness(1.08) contrast(1.05) saturate(1.08);
}
.about .about-visual img {
  object-fit: cover;
}

/*--------------------------------------------------------------
# Values
--------------------------------------------------------------*/
.values .box {
  padding: 34px 28px;
  text-align: center;
  height: 100%;
}
.values .box .v-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--text-link);
  font-size: 26px;
}
.values .box h3 {
  font-size: 19px;
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 12px;
}
.values .box p { color: var(--text-secondary); font-size: 14.5px; margin: 0; }

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts { padding: 70px 0; }
.counts .count-box {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px;
  width: 100%;
  height: 100%;
}
.counts .count-box i {
  font-size: 34px;
  line-height: 1;
  color: var(--text-link);
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  padding: 12px;
}
.counts .count-box span {
  font-size: 30px;
  display: block;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}
.counts .count-box p { padding: 0; margin: 4px 0 0 0; font-size: 13.5px; color: var(--text-secondary); }

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features .feature-box {
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}
.features .feature-box h3 {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 600;
  margin: 0;
}
.features .feature-box i {
  line-height: 0;
  background: var(--accent-soft);
  color: var(--text-link);
  padding: 6px;
  font-size: 20px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: 0.2s;
}
.features .feature-box:hover i { background: var(--accent); color: #fff; }

.features .feture-tabs { margin-top: 90px; }
.features .feture-tabs h3 {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 16px;
}
.features .feture-tabs .tab-content p { color: var(--text-secondary); }

.features .feature-icons {
  margin-top: 96px;
  position: relative;
}
.features .feature-icons::before {
  content: "";
  position: absolute;
  inset: -34px -20px;
  background:
    radial-gradient(520px circle at 18% 24%, rgba(45, 107, 245, 0.13), transparent 62%),
    radial-gradient(520px circle at 82% 70%, rgba(88, 166, 255, 0.08), transparent 64%);
  pointer-events: none;
}
.features .feature-icons > .col-12 {
  position: relative;
}
.features .feature-icons .icon-box {
  display: flex;
  gap: 18px;
  padding: 26px;
  height: 100%;
  min-height: 178px;
  background:
    linear-gradient(145deg, rgba(28, 33, 40, 0.96), rgba(22, 27, 34, 0.92)),
    var(--bg-card);
  border: 1px solid rgba(88, 166, 255, 0.13);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.20);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.features .feature-icons .icon-box:hover {
  transform: translateY(-4px);
  border-color: rgba(88, 166, 255, 0.30);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.30), 0 0 0 1px rgba(45, 107, 245, 0.08) inset;
}
.features .feature-icons .icon-box i {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: #8bc2ff;
  background:
    linear-gradient(145deg, rgba(45, 107, 245, 0.24), rgba(88, 166, 255, 0.08));
  border: 1px solid rgba(88, 166, 255, 0.20);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 26px rgba(45, 107, 245, 0.14);
  flex-shrink: 0;
}
.features .feature-icons .icon-box h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.features .feature-icons .icon-box p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}
.features .feature-icons .feature-visual {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(500px circle at 50% 40%, rgba(45,107,245,0.20), transparent 65%),
    var(--bg-secondary);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.features > .container > .row .feature-visual {
  min-height: 360px;
  padding: 22px;
  background:
    radial-gradient(420px circle at 18% 12%, rgba(45, 107, 245, 0.16), transparent 64%),
    linear-gradient(145deg, rgba(28, 33, 40, 0.92), rgba(13, 17, 23, 0.96));
  border: 1px solid rgba(88, 166, 255, 0.14);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}
.product-surface {
  width: 100%;
  max-width: 540px;
  min-height: 308px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(22, 27, 34, 0.98), rgba(13, 17, 23, 0.96));
  border: 1px solid rgba(88, 166, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 54px rgba(0, 0, 0, 0.24);
}
.surface-top {
  display: flex;
  gap: 8px;
  padding-bottom: 16px;
}
.surface-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(88, 166, 255, 0.36);
}
.surface-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(160px, 0.75fr);
  grid-template-rows: 1fr auto;
  gap: 14px;
}
.surface-chart,
.surface-panel,
.surface-flow {
  border-radius: var(--radius-md);
  background: rgba(22, 27, 34, 0.78);
  border: 1px solid rgba(88, 166, 255, 0.10);
}
.surface-chart {
  min-height: 198px;
  padding: 16px;
  background-image:
    linear-gradient(rgba(88, 166, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 166, 255, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
}
.surface-chart svg {
  width: 100%;
  height: 100%;
}
.chart-area {
  fill: url(#chartFill);
}
.chart-line {
  fill: none;
  stroke: #58a6ff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart-line.muted {
  stroke: rgba(88, 166, 255, 0.34);
  stroke-width: 2;
}
.surface-panel {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.metric-ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--bg-primary) 48%, transparent 50%),
    conic-gradient(from 30deg, #58a6ff 0 72%, rgba(88, 166, 255, 0.14) 72% 100%);
  box-shadow: 0 0 34px rgba(45, 107, 245, 0.16);
}
.surface-bars {
  display: grid;
  gap: 10px;
}
.surface-bars span {
  height: 8px;
  width: var(--w);
  border-radius: 999px;
  background: linear-gradient(90deg, #2D6BF5, #58a6ff);
  opacity: 0.82;
}
.surface-flow {
  grid-column: 1 / -1;
  min-height: 70px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.surface-flow::before {
  content: "";
  position: absolute;
  left: 54px;
  right: 54px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.42), transparent);
}
.surface-flow span {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(45, 107, 245, 0.16);
  border: 1px solid rgba(88, 166, 255, 0.20);
}
.workflow-visual {
  min-height: 360px;
  padding: 28px;
  background:
    radial-gradient(420px circle at 82% 18%, rgba(45, 107, 245, 0.12), transparent 62%),
    linear-gradient(145deg, rgba(28, 33, 40, 0.90), rgba(13, 17, 23, 0.96));
  border: 1px solid rgba(88, 166, 255, 0.14);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.20);
}
.workflow-surface {
  width: 100%;
  max-width: 600px;
  min-height: 260px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  position: relative;
}
.workflow-surface::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.22), transparent);
}
.workflow-node {
  position: relative;
  z-index: 1;
  min-height: 116px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(22, 27, 34, 0.94), rgba(13, 17, 23, 0.88));
  border: 1px solid rgba(88, 166, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 14px 30px rgba(0, 0, 0, 0.16);
}
.workflow-node::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  width: 13px;
  height: 1px;
  background: rgba(88, 166, 255, 0.24);
  transform: translateY(-50%);
}
.workflow-node:last-child::after {
  content: none;
}
.workflow-node i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: #8bc2ff;
  background: rgba(45, 107, 245, 0.13);
  border: 1px solid rgba(88, 166, 255, 0.18);
  font-size: 20px;
}
.workflow-node span {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 650;
}
.workflow-node.active {
  border-color: rgba(88, 166, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(29, 47, 78, 0.58), rgba(16, 27, 45, 0.90));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 16px 34px rgba(45, 107, 245, 0.10);
}
@media (max-width: 991px) {
  .workflow-surface {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: auto;
  }
  .workflow-surface::before {
    left: 50%;
    right: auto;
    top: 24px;
    bottom: 24px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(88, 166, 255, 0.32), transparent);
  }
  .workflow-node {
    min-height: 76px;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 16px;
  }
  .workflow-node::after {
    content: none;
  }
}

/*--------------------------------------------------------------
# F.A.Q
--------------------------------------------------------------*/
.faq .accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md) !important;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq .accordion-button {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text-primary);
  background: transparent;
  box-shadow: none;
}
.faq .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--text-link);
}
.faq .accordion-button:focus { box-shadow: none; }
.faq .accordion-button::after {
  filter: invert(0.7);
}
.faq .accordion-body {
  padding: 0 20px 20px 20px;
  color: var(--text-secondary);
  font-size: 14.5px;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: var(--text-secondary);
  padding: 30px;
  height: 100%;
}
.contact .info-box i {
  font-size: 30px;
  line-height: 1;
  color: var(--text-link);
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  padding: 12px;
  display: inline-block;
}
.contact .info-box h3 {
  font-size: 17px;
  color: var(--text-primary);
  font-weight: 700;
  margin: 18px 0 8px 0;
}
.contact .info-box p { padding: 0; font-size: 14px; margin: 0; }
.contact-us-img { max-height: 425px; object-fit: contain; }

/*--------------------------------------------------------------
# Doc / waitlist pages
--------------------------------------------------------------*/
.page-shell { padding: 140px 0 80px 0; min-height: 70vh; }
.page-shell h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}
.page-shell .lead {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 36px;
}
.doc-card {
  padding: 36px;
}
.doc-card h2 {
  font-size: 19px;
  margin: 28px 0 10px 0;
  color: var(--text-primary);
}
.doc-card h2:first-child { margin-top: 0; }
.doc-card p, .doc-card li { color: var(--text-secondary); font-size: 14.5px; }
.embed-frame {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
}
.footer .footer-top { padding: 60px 0 30px 0; }
.footer .footer-info { margin-bottom: 30px; }
.footer .footer-info .logo { line-height: 0; margin-bottom: 16px; display: inline-flex; }
.footer .footer-info .logo img { max-height: 32px; width: auto; }
.footer .footer-info .logo span {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.footer .footer-info p { font-size: 13px; line-height: 22px; color: var(--text-muted); }
.footer .social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-right: 8px;
  transition: 0.2s;
}
.footer .social-links a:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}
.footer h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 14px;
}
.footer .footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer .footer-links ul li { padding: 7px 0; display: flex; align-items: center; }
.footer .footer-links ul i { padding-right: 4px; color: var(--accent); font-size: 12px; }
.footer .footer-links ul a { color: var(--text-secondary); }
.footer .footer-links ul a:hover { color: var(--text-primary); }
.footer .footer-contact p { line-height: 26px; color: var(--text-secondary); }
.footer .copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}
.footer .credits { padding-top: 8px; text-align: center; font-size: 12px; color: var(--text-muted); }

/*--------------------------------------------------------------
# Waitlist form
--------------------------------------------------------------*/
.wl-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.wl-field { margin-bottom: 20px; }
.wl-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.wl-field input,
.wl-field select {
  width: 100%;
  padding: 12px 14px;
  font-size: 14.5px;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-input, #0d1117);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.wl-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238b949e' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.wl-field input::placeholder { color: var(--text-muted); }
.wl-field input:focus,
.wl-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 107, 245, 0.15);
}
.wl-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 13px 26px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.wl-submit:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(37, 99, 235, 0.5); }
.wl-submit i { transition: transform 0.2s ease; }
.wl-submit:hover i { transform: translateX(4px); }
.wl-note {
  margin: 18px 0 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
}
.wl-error {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 12px 14px;
  font-size: 13.5px;
  color: #fca5a5;
  background: var(--color-danger-bg, rgba(248, 81, 73, 0.12));
  border: 1px solid rgba(248, 81, 73, 0.35);
  border-radius: var(--radius-sm);
}
.wl-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  background: rgba(63, 185, 80, 0.10);
  border: 1px solid rgba(63, 185, 80, 0.35);
  border-radius: var(--radius-md);
}
.wl-success i { font-size: 24px; color: var(--success); line-height: 1; }
.wl-success strong { display: block; color: var(--text-primary); font-size: 15px; margin-bottom: 2px; }
.wl-success span { font-size: 13.5px; color: var(--text-secondary); }
.wl-back {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 500;
}

/*--------------------------------------------------------------
# Disable AOS delay on mobile
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] { transition-delay: 0 !important; }
}
