:root {
  --bg: #0a0f0d;
  --bg-2: #0e1512;
  --panel: rgba(18, 26, 22, 0.75);
  --border: rgba(106, 222, 168, 0.16);
  --border-strong: rgba(106, 222, 168, 0.4);
  --mint: #6ADEA8;
  --teal: #5CE8D9;
  --deep: #047727;
  --amber: #e0b45c;
  --orange: #d97a4e;
  --text: #e9f2ec;
  --muted: #8ba396;
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 15, 13, 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-chip {
  display: inline-flex; align-items: center; justify-content: center;
  background: #f4f6f5; border-radius: 8px; padding: 5px 9px;
}
.logo-chip img { display: block; height: 20px; width: auto; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: .4px; color: var(--text); }
.nav nav a { margin-left: 22px; color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 500; transition: color .2s; }
.nav nav a:hover { color: var(--mint); }
@media (max-width: 720px) { .nav nav { display: none; } }

.hero {
  padding: 110px 0 90px;
  background:
    radial-gradient(700px 420px at 15% 0%, rgba(92, 232, 217, 0.08), transparent 60%),
    radial-gradient(900px 500px at 85% 20%, rgba(106, 222, 168, 0.10), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 2.5px; font-size: 12px; font-weight: 600;
  color: var(--mint); margin-bottom: 16px;
}
.hero h1 { font-size: 58px; line-height: 1.05; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 22px; }
.glow-text {
  background: linear-gradient(92deg, var(--mint), var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 40px rgba(106, 222, 168, 0.25);
}
.hero .lead { font-size: 18px; max-width: 620px; color: var(--muted); margin-bottom: 32px; }
@media (max-width: 720px) { .hero { padding: 70px 0 60px; } .hero h1 { font-size: 38px; } }

.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: all .2s; }
.btn-primary { background: var(--mint); color: #06251a; box-shadow: 0 0 24px rgba(106, 222, 168, 0.35); }
.btn-primary:hover { background: var(--teal); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn-ghost-dark { background: transparent; color: var(--mint); border-color: var(--border-strong); }
.btn-ghost-dark:hover { border-color: var(--mint); }
.btn-sm { padding: 8px 16px; font-size: 13px; margin-top: 12px; }

.section { padding: 90px 0; border-bottom: 1px solid var(--border); }
.section h2 { font-size: 36px; font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; }
.section-lead { font-size: 16.5px; color: var(--muted); max-width: 700px; margin-bottom: 36px; }
.section-lead.small { font-size: 14px; margin-top: 24px; margin-bottom: 0; }
@media (max-width: 720px) { .section h2 { font-size: 27px; } }

.twin-section { background: var(--bg-2); }
.dash {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 0 60px rgba(106, 222, 168, 0.03);
}
.kpi-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi {
  background: rgba(10, 16, 13, 0.7); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 14px 12px;
}
.kpi-v { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.5px; color: var(--text); }
.kpi-v.good { color: var(--mint); text-shadow: 0 0 18px rgba(106, 222, 168, 0.4); }
.kpi-l { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-top: 4px; }
@media (max-width: 960px) { .kpi-strip { grid-template-columns: repeat(3, 1fr); } }

.dash-grid { display: grid; grid-template-columns: 300px 1fr 300px; gap: 16px; align-items: stretch; }
@media (max-width: 1080px) { .dash-grid { grid-template-columns: 1fr; } }

.panel {
  background: rgba(10, 16, 13, 0.7); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.panel h3 { font-size: 14px; font-weight: 700; letter-spacing: .3px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.panel h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 20px 0 10px; }
.panel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.panel-dot.mint { background: var(--mint); box-shadow: 0 0 10px var(--mint); }

.field { display: block; margin-bottom: 14px; font-size: 13.5px; }
.field > span { display: block; color: var(--muted); margin-bottom: 6px; }
.field input[type="number"], .field select {
  width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px;
  background: rgba(20, 30, 25, 0.8); color: var(--text); font-size: 14px; font-family: inherit;
}
.field input[type="number"]:focus, .field select:focus { outline: none; border-color: var(--mint); }
.field input[type="range"] { width: 100%; accent-color: var(--mint); }

.task-head, .task-row { display: grid; grid-template-columns: 1fr 56px 96px 24px; gap: 8px; align-items: center; }
.task-head { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 14px 0 8px; }
.task-row { margin-bottom: 8px; }
.task-row input[type="text"], .task-row input[type="number"] {
  width: 100%; padding: 7px 9px; border: 1px solid var(--border); border-radius: 7px;
  background: rgba(20, 30, 25, 0.8); color: var(--text); font-size: 13px; font-family: inherit;
}
.task-row input[type="range"] { width: 100%; accent-color: var(--mint); }
.task-row button { background: none; border: none; color: var(--orange); font-size: 17px; cursor: pointer; }

.stage { display: flex; flex-direction: column; gap: 12px; min-height: 480px; }
#twin-canvas-wrap {
  position: relative; flex: 1; min-height: 420px;
  background: radial-gradient(600px 400px at 50% 40%, rgba(92, 232, 217, 0.05), transparent 70%), #05080a;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
#twin-canvas { display: block; width: 100%; height: 100%; cursor: grab; }
#twin-canvas:active { cursor: grabbing; }
.stage-label {
  position: absolute; top: 14px; font-size: 10px; letter-spacing: 2px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border);
  color: var(--muted); background: rgba(5, 8, 10, 0.6); backdrop-filter: blur(4px);
}
.left-label { left: 14px; }
.right-label { right: 14px; color: var(--teal); border-color: rgba(92, 232, 217, 0.35); }
.stage-hint {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  font-size: 10.5px; letter-spacing: 1px; color: rgba(139, 163, 150, 0.6); pointer-events: none;
}
.twin-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px; text-align: center; padding: 30px;
}

.bars {
  background: rgba(10, 16, 13, 0.7); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px;
}
.bar-row { display: grid; grid-template-columns: 130px 1fr 48px; gap: 10px; align-items: center; margin-bottom: 7px; font-size: 12px; }
.bar-row:last-child { margin-bottom: 0; }
.bar-name { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { background: rgba(106, 222, 168, 0.08); border-radius: 6px; height: 10px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 6px; background: var(--teal); transition: width .3s; }
.bar-fill.auto-mid { background: var(--amber); }
.bar-fill.auto-high { background: var(--orange); }
.bar-val { color: var(--muted); text-align: right; }

.sim-readout { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 12px 0; margin-top: 6px; }
.sim-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); padding: 4px 0; }
.sim-row strong { color: var(--text); }
.sim-row strong.good { color: var(--mint); }

.actions .action {
  background: rgba(106, 222, 168, 0.06); border-left: 3px solid var(--mint);
  border-radius: 8px; padding: 10px 12px; font-size: 13px; margin-bottom: 8px;
}
.actions .action em { color: var(--muted); font-style: normal; }

.disclaimer { margin-top: 18px; font-size: 12.5px; color: var(--muted); font-style: italic; }

/* ---------- Steps / cards / pricing ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; transition: border-color .25s;
}
.step:hover { border-color: var(--border-strong); }
.step-n { display: block; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--mint); margin-bottom: 14px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: border-color .25s; }
.card:hover { border-color: var(--border-strong); }
.card h3 { font-size: 17px; margin-bottom: 8px; color: var(--text); }
.card p { font-size: 14px; color: var(--muted); }
.price .amount { font-size: 32px; font-weight: 800; color: var(--mint); margin: 8px 0 12px; letter-spacing: -1px; }
.price .amount span { font-size: 13px; font-weight: 500; color: var(--muted); }
.price.featured { border-color: var(--border-strong); box-shadow: 0 0 30px rgba(106, 222, 168, 0.08); }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; padding: 12px 14px; font-size: 11px; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--mint); border-bottom: 1px solid var(--border-strong);
}
.table td { padding: 13px 14px; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: top; }
.table td:first-child { color: var(--text); font-weight: 600; }
.table tbody tr:hover { background: rgba(106, 222, 168, 0.04); }

.footer { padding: 44px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 12px; }
.footer p { color: var(--muted); font-size: 13.5px; max-width: 480px; }

.video-section { background: var(--bg); }
.video-frame {
  position: relative; max-width: 1000px; margin: 12px auto 0;
  border: 1px solid var(--border-strong); border-radius: 16px; overflow: hidden;
  aspect-ratio: 16 / 9; background: #05080a;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(106, 222, 168, 0.08);
}
.video-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #05080a; }
.video-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  color: var(--muted); font-size: 14px; text-align: center; padding: 20px;
}
.video-placeholder span { font-size: 46px; color: var(--mint); text-shadow: 0 0 26px rgba(106, 222, 168, 0.5); }
.video-placeholder code { color: var(--mint); background: rgba(106,222,168,.08); padding: 2px 8px; border-radius: 6px; }

#intro {
  position: fixed; inset: 0; z-index: 9999; background: #05080a;
  display: flex; align-items: center; justify-content: center;
}
.intro-center { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.intro-logo-chip {
  display: inline-flex; background: #f4f6f5; padding: 16px 24px; border-radius: 14px;
  transition: box-shadow .6s ease, transform .6s ease;
}
.intro-logo-chip img { display: block; height: 46px; width: auto; }
.intro-word {
  font-size: 14px; font-weight: 600; letter-spacing: 7px; text-transform: uppercase;
  color: var(--muted); opacity: 0; transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease, color .6s ease;
}
.intro-center.lit .intro-logo-chip {
  box-shadow: 0 0 60px rgba(106, 222, 168, 0.55), 0 0 130px rgba(92, 232, 217, 0.28);
  transform: scale(1.05);
}
.intro-center.lit .intro-word {
  opacity: 1; transform: none; color: var(--mint);
  text-shadow: 0 0 18px rgba(106, 222, 168, 0.5);
}
.intro-dark {
  position: absolute; inset: 0; z-index: 2; background: #05080a;
  -webkit-mask-image: radial-gradient(circle 0px at 15% 50%, transparent 0%, black 100%);
  mask-image: radial-gradient(circle 0px at 15% 50%, transparent 0%, black 100%);
}
