:root {
  --accent: #18baf3;
  --accent-strong: #08a7e5;
  --accent-soft: rgba(24, 186, 243, 0.12);
  --accent-glow: rgba(24, 186, 243, 0.28);
  --bg: #071018;
  --bg-deep: #04090e;
  --surface: #0c1720;
  --surface-2: #101e29;
  --surface-3: #152633;
  --text: #f2f8fb;
  --text-2: #a8bac5;
  --text-3: #718894;
  --line: rgba(142, 184, 204, 0.15);
  --line-strong: rgba(62, 194, 245, 0.32);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --header-bg: rgba(7, 16, 24, 0.78);
  --grid: rgba(115, 166, 190, 0.065);
  --banner: url('images/banner-dark.png');
  color-scheme: dark;
}

[data-theme="light"] {
  --accent: #079ed9;
  --accent-strong: #007fbb;
  --accent-soft: rgba(7, 158, 217, 0.1);
  --accent-glow: rgba(7, 158, 217, 0.2);
  --bg: #f3fafc;
  --bg-deep: #eaf5f8;
  --surface: #ffffff;
  --surface-2: #edf7fa;
  --surface-3: #e2f0f4;
  --text: #10212c;
  --text-2: #4c6471;
  --text-3: #738a95;
  --line: rgba(34, 89, 112, 0.14);
  --line-strong: rgba(7, 158, 217, 0.3);
  --shadow: 0 24px 70px rgba(36, 91, 112, 0.14);
  --header-bg: rgba(243, 250, 252, 0.82);
  --grid: rgba(22, 112, 150, 0.07);
  --banner: url('images/banner-light.png');
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  transition: background .25s ease, color .25s ease;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  z-index: -3;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section-space { padding-top: 128px; padding-bottom: 128px; }
.ambient { position: fixed; border-radius: 50%; filter: blur(110px); opacity: .18; pointer-events: none; z-index: -2; }
.ambient-one { width: 520px; height: 520px; background: var(--accent); top: -240px; right: -180px; }
.ambient-two { width: 420px; height: 420px; background: #305cff; top: 48%; left: -320px; opacity: .09; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 74px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  gap: 44px;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-image { width: 54px; height: 54px; display: block; object-fit: cover; border-radius: 8px; }
.footer-brand-image { width: 66px; height: 66px; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 32px; }
.desktop-nav a, .footer-links a { color: var(--text-2); font-size: 13px; transition: color .2s ease; }
.desktop-nav a:hover, .footer-links a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle { width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text-2); cursor: pointer; display: grid; place-items: center; transition: border .2s, color .2s, transform .2s; }
.theme-toggle:hover { color: var(--accent); border-color: var(--line-strong); transform: translateY(-1px); }
.theme-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

.button { min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .01em; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #001018; background: var(--accent); box-shadow: 0 10px 30px rgba(24, 186, 243, .2); }
.button-primary:hover { background: #49c9f7; box-shadow: 0 14px 36px rgba(24, 186, 243, .3); }
[data-theme="light"] .button-primary { color: #fff; }
.button-outline { border-color: var(--line-strong); background: var(--accent-soft); color: var(--accent); }
.button-ghost { border-color: var(--line); background: var(--surface); color: var(--text); }
.button-small { min-height: 38px; padding: 0 15px; }

.hero { min-height: 760px; padding-top: 105px; padding-bottom: 100px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 70px; }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; display: flex; align-items: center; gap: 9px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft), 0 0 18px var(--accent); }
.hero h1 { font-size: clamp(54px, 6.1vw, 86px); line-height: .98; letter-spacing: -.055em; margin: 24px 0 26px; max-width: 680px; }
h1 span, h2 span { color: var(--accent); }
.hero-lead { max-width: 620px; color: var(--text-2); font-size: 17px; line-height: 1.72; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta { margin-top: 38px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--text-3); font-size: 11px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: .06em; }
.hero-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }
.hero-visual { position: relative; min-width: 0; }
.visual-glow { position: absolute; width: 75%; height: 60%; left: 14%; top: 15%; background: var(--accent); filter: blur(100px); opacity: .16; }
.workflow-card { position: relative; border: 1px solid var(--line-strong); border-radius: 15px; background: color-mix(in srgb, var(--surface) 92%, transparent); box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.04); overflow: hidden; transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); }
.workflow-toolbar { height: 48px; padding: 0 15px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; color: var(--text-3); font: 10px ui-monospace, SFMono-Regular, monospace; }
.window-dots { display: flex; gap: 5px; }.window-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); opacity: .45; }.window-dots span:first-child { background: #ff6363; }.window-dots span:nth-child(2) { background: #f6bf4d; }.window-dots span:nth-child(3) { background: #45cc7d; }
.live-badge { margin-left: auto; color: #50d98c; border: 1px solid rgba(80,217,140,.25); background: rgba(80,217,140,.08); border-radius: 20px; padding: 4px 8px; display: flex; align-items: center; gap: 5px; }.live-badge i { width: 5px; height: 5px; background: #50d98c; border-radius: 50%; box-shadow: 0 0 8px #50d98c; }
.workflow-canvas { height: 410px; position: relative; background-image: radial-gradient(circle, var(--line-strong) 1px, transparent 1px); background-size: 23px 23px; overflow: hidden; }
.connections { position: absolute; inset: 0; width: 100%; height: 100%; }.connections path { fill: none; stroke: var(--accent); stroke-width: 2; filter: drop-shadow(0 0 4px var(--accent-glow)); stroke-dasharray: 7 5; animation: dash 16s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -160; } }
.flow-node { position: absolute; width: 132px; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: 0 12px 28px rgba(0,0,0,.22); font-family: ui-monospace, SFMono-Regular, monospace; overflow: hidden; }
.node-camera { left: 24px; top: 68px; }.node-vision { left: 40%; top: 159px; }.node-robot { right: 18px; top: 78px; }.node-dashboard { right: 16px; bottom: 74px; width: 146px; }
.node-top { height: 31px; padding: 0 8px; background: var(--surface-3); display: flex; align-items: center; gap: 6px; color: var(--text); font-size: 9px; font-weight: 700; }
.node-icon { color: var(--accent); }.status-dot { width: 5px; height: 5px; margin-left: auto; background: #50d98c; border-radius: 50%; box-shadow: 0 0 7px #50d98c; }
.node-row { height: 30px; padding: 0 8px; display: flex; align-items: center; color: var(--text-3); font-size: 8px; gap: 6px; }.node-row b, .node-row em { width: 7px; height: 7px; border: 2px solid var(--accent); background: var(--surface); border-radius: 50%; }.node-row b { margin-left: auto; margin-right: -12px; }.node-row em { margin-left: -12px; }
.node-value { margin: 0 7px 8px; padding: 5px; color: var(--accent); background: var(--accent-soft); border-radius: 4px; font-size: 7px; }
.mini-bars { height: 20px; margin: 0 8px 8px; display: flex; align-items: end; gap: 3px; }.mini-bars span { flex: 1; height: 30%; background: var(--accent); opacity: .55; border-radius: 2px 2px 0 0; }.mini-bars span:nth-child(2) { height: 75%; }.mini-bars span:nth-child(3) { height: 52%; }.mini-bars span:nth-child(4) { height: 88%; }.mini-bars span:nth-child(5) { height: 63%; }
.canvas-label { position: absolute; color: var(--text-3); font: 7px ui-monospace, monospace; letter-spacing: .12em; opacity: .55; }.label-perception { left: 25px; top: 26px; }.label-control { right: 72px; top: 26px; }
.floating-chip { position: absolute; padding: 9px 12px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: var(--shadow); color: var(--text-2); font: 9px ui-monospace, monospace; }.chip-one { left: -28px; bottom: 48px; }.chip-two { right: -20px; top: 68px; }.floating-chip i { display: inline-block; width: 6px; height: 6px; background: #50d98c; border-radius: 50%; margin-right: 7px; box-shadow: 0 0 8px #50d98c; }

.brand-strip { height: 210px; border-block: 1px solid var(--line); background: #111; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.brand-strip-first { margin-top: 74px; }
[data-theme="light"] .brand-strip { background: #f6fdff; }
.theme-banner { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; opacity: .92; }
.section-heading { max-width: 700px; margin-bottom: 54px; }.section-heading.centered { text-align: center; margin-inline: auto; }.section-heading.centered .eyebrow { justify-content: center; }
.section-heading h2, .agent-copy h2, .start-copy h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1.06; letter-spacing: -.045em; margin: 17px 0 22px; }
.section-heading p, .agent-copy p, .start-copy p { color: var(--text-2); font-size: 16px; line-height: 1.7; max-width: 650px; margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-card { min-height: 300px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; position: relative; overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow); }.feature-wide { grid-column: span 2; }
.feature-number { position: absolute; top: 18px; right: 20px; color: var(--text-3); font: 10px ui-monospace, monospace; }
.feature-icon { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 48px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 18px; }
.feature-card h3 { margin: 0 0 10px; font-size: 19px; }.feature-card p { color: var(--text-2); line-height: 1.6; font-size: 13px; margin: 0; max-width: 470px; }
.feature-tags { display: flex; gap: 7px; margin-top: 20px; }.feature-tags span { padding: 5px 8px; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--line-strong); border-radius: 4px; font: 8px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .07em; }
.code-line { margin-top: 22px; padding: 11px 13px; border: 1px solid var(--line); background: var(--bg-deep); border-radius: 6px; color: var(--text-2); font: 10px ui-monospace, monospace; }.code-line span { color: var(--accent); margin-right: 8px; }
.icon-graph { display: flex; align-items: center; justify-content: center; gap: 4px; }.icon-graph span { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }.icon-graph span:nth-child(2) { transform: translateY(-7px); }

.lifecycle { background: var(--bg-deep); border-block: 1px solid var(--line); position: relative; overflow: hidden; }
.lifecycle::after { content: ""; position: absolute; width: 700px; height: 300px; border-radius: 50%; left: 50%; bottom: -280px; transform: translateX(-50%); box-shadow: 0 0 160px var(--accent-glow); }
.lifecycle-track { display: flex; align-items: flex-start; position: relative; z-index: 1; margin-top: 74px; }
.life-step { width: 170px; text-align: center; }.life-step b { width: 54px; height: 54px; margin: 0 auto 21px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--accent); background: var(--surface); display: grid; place-items: center; font: 11px ui-monospace, monospace; box-shadow: 0 0 0 8px var(--accent-soft); }.life-step.active b { color: #001018; background: var(--accent); box-shadow: 0 0 28px var(--accent-glow); }
.life-step h3 { font-size: 17px; margin: 0 0 8px; }.life-step p { color: var(--text-3); font-size: 11px; line-height: 1.55; margin: 0; }
.track-line { flex: 1; height: 54px; display: flex; align-items: center; }.track-line::before { content: ""; width: 100%; height: 1px; background: var(--line-strong); }.track-line i { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; margin-left: -50%; box-shadow: 0 0 9px var(--accent); }

.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.package-card { min-height: 200px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; display: grid; grid-template-columns: 48px 1fr; gap: 17px; position: relative; transition: border-color .2s, transform .2s; }.package-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.package-mark { width: 46px; height: 46px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--line-strong); border-radius: 9px; font: 700 12px ui-monospace, monospace; }
.package-card h3 { margin: 3px 0 8px; font-size: 17px; }.package-card p { margin: 0; color: var(--text-2); font-size: 12px; line-height: 1.55; }.package-card > span { grid-column: 2; align-self: end; color: var(--text-3); font: 9px ui-monospace, monospace; }

.agent-band { border-block: 1px solid var(--line); background: linear-gradient(130deg, var(--surface), var(--bg-deep)); }
.agent-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }.text-link { display: inline-flex; gap: 10px; margin-top: 28px; color: var(--accent); font-size: 13px; font-weight: 700; }.text-link:hover span { transform: translateX(4px); }.text-link span { transition: transform .2s; }
.terminal { background: #050b10; color: #c5d8e1; border: 1px solid var(--line-strong); border-radius: 13px; overflow: hidden; box-shadow: var(--shadow); font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.terminal-top { height: 43px; padding: 0 14px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(255,255,255,.08); }.terminal-top span { width: 7px; height: 7px; border-radius: 50%; background: #73848d; }.terminal-top span:first-child { background: #ff6262; }.terminal-top span:nth-child(2) { background: #f3bd45; }.terminal-top span:nth-child(3) { background: #48cb7c; }.terminal-top b { margin-left: 8px; color: #71838e; font-weight: 400; }
.terminal-body { padding: 22px; line-height: 1.85; min-height: 280px; }.terminal-body p { margin: 0; }.terminal-body i { color: var(--accent); font-style: normal; margin-right: 8px; }.terminal-body .muted { color: #657985; padding-left: 17px; }.terminal-body .cyan { color: #43caef; padding-left: 17px; }

.start-card { padding: 64px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; position: relative; overflow: hidden; }.start-card::before { content: ""; position: absolute; width: 400px; height: 400px; right: -240px; top: -240px; background: var(--accent); border-radius: 50%; filter: blur(90px); opacity: .2; }
.start-copy { position: relative; }.start-copy h2 { margin-bottom: 14px; }.install-box { margin-top: 38px; max-width: 760px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg-deep); position: relative; }
.install-tabs { height: 43px; display: flex; align-items: end; gap: 4px; padding: 0 12px; border-bottom: 1px solid var(--line); }.install-tab { height: 43px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--text-3); cursor: pointer; font-size: 11px; }.install-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.install-command { min-height: 114px; padding: 18px 80px 18px 20px; position: relative; display: flex; align-items: center; }.install-command code { color: var(--text-2); font: 11px/1.75 ui-monospace, SFMono-Regular, Menlo, monospace; }.copy-button { position: absolute; right: 14px; top: 14px; padding: 7px 10px; color: var(--text-3); background: var(--surface); border: 1px solid var(--line); border-radius: 5px; cursor: pointer; font-size: 10px; }.copy-button:hover { color: var(--accent); border-color: var(--line-strong); }
.start-links { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; position: relative; }

.site-footer { min-height: 140px; padding-top: 40px; padding-bottom: 40px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 10px 28px; }.footer-brand { grid-row: span 2; }.site-footer p { color: var(--text-3); font-size: 12px; margin: 0; }.footer-links { display: flex; gap: 22px; }.copyright { color: var(--text-3); font-size: 10px; grid-column: 3; }

.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }.reveal.visible { opacity: 1; transform: translateY(0); }.reveal-delay, .reveal-delay-1 { transition-delay: .12s; }.reveal-delay-2 { transition-delay: .22s; }

@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 100px; gap: 80px; }
  .hero-copy { max-width: 780px; }
  .hero-visual { width: min(680px, 100%); margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }.feature-wide { grid-column: span 1; }
  .package-grid { grid-template-columns: repeat(2, 1fr); }
  .agent-layout { grid-template-columns: 1fr; gap: 55px; }.terminal { max-width: 680px; }
  .lifecycle-track { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }.life-step { width: auto; text-align: left; display: flex; gap: 18px; }.life-step b { flex: 0 0 48px; width: 48px; height: 48px; margin: 0; }.track-line { display: none; }
}

@media (max-width: 680px) {
  .section-shell { width: calc(100% - 30px); max-width: 1180px; }.section-space { padding-top: 88px; padding-bottom: 88px; }
  .site-header { height: 64px; padding-inline: 15px; }.brand-image { width: 48px; height: 48px; }.header-actions .button { display: none; }
  .brand-strip-first { margin-top: 64px; }
  .hero { min-height: auto; padding-top: 88px; padding-bottom: 80px; }.hero-copy, .hero-visual { width: 100%; min-width: 0; }.hero h1 { font-size: clamp(40px, 10.6vw, 46px); }.hero-lead { font-size: 15px; }.hero-actions .button { width: 100%; }.hero-meta { line-height: 1.7; }
  .workflow-card { transform: none; }.workflow-canvas { height: 350px; }.flow-node { transform: scale(.82); transform-origin: top left; }.node-camera { left: 6px; }.node-vision { left: 32%; top: 144px; }.node-robot { right: -13px; }.node-dashboard { right: -22px; bottom: 48px; }.connections { opacity: .7; }.floating-chip { display: none; }
  .brand-strip { height: 118px; }.theme-banner { object-fit: contain; }
  .section-heading h2, .agent-copy h2, .start-copy h2 { font-size: 39px; }
  .feature-grid, .package-grid { grid-template-columns: 1fr; }.feature-card { min-height: 260px; }.feature-wide { grid-column: auto; }
  .lifecycle-track { grid-template-columns: 1fr; }.life-step p { max-width: 260px; }
  .start-card { padding: 32px 22px; }.install-command { padding-right: 18px; padding-bottom: 54px; }.copy-button { top: auto; bottom: 12px; left: 18px; right: auto; }
  .site-footer { grid-template-columns: 1fr; grid-template-rows: auto; text-align: center; justify-items: center; }.footer-brand, .copyright { grid-row: auto; grid-column: auto; }.footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
