:root {
  color-scheme: dark;
  --bg: #060814;
  --bg-2: #0b1024;
  --panel: rgba(13, 19, 43, 0.72);
  --panel-2: rgba(255,255,255,0.07);
  --text: #eef5ff;
  --muted: #a7b3ca;
  --line: rgba(255,255,255,0.13);
  --cyan: #25e6ff;
  --violet: #7c5cff;
  --pink: #ff4fd8;
  --green: #4dffb2;
  --shadow: 0 28px 90px rgba(0,0,0,.45);
  --radius: 26px;
  --max: 1180px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 50% -10%, #1b2456 0%, transparent 40%), var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: .75rem 1rem;
  background: var(--cyan);
  color: #001018;
  border-radius: 999px;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

.site-bg { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.orb { position: absolute; width: 38rem; height: 38rem; border-radius: 50%; filter: blur(80px); opacity: .25; }
.orb-a { left: -12rem; top: 4rem; background: var(--cyan); }
.orb-b { right: -14rem; top: 16rem; background: var(--pink); }
.grid-glow {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 72%);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(18px);
  background: rgba(6, 8, 20, .58);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.header.scrolled { border-color: var(--line); background: rgba(6,8,20,.82); }
.nav {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.brand { display: inline-flex; align-items: center; gap: .72rem; font-weight: 850; letter-spacing: -.03em; }
.brand-mark {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 0 22px rgba(37,230,255,.22);
  background: rgba(255,255,255,.08);
  flex: 0 0 auto;
}
.brand-text {
  font-size: 1.12rem;
  color: var(--text);
  text-shadow: 0 0 18px rgba(231,238,255,.12);
}
.brand-text span {
  color: var(--cyan);
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.05rem;
  color: var(--muted);
  font-size: .94rem;
}
.nav-menu a { padding: .6rem .2rem; transition: color .2s ease; }
.nav-menu a:hover, .nav-menu a.active { color: var(--text); }
.nav-cta {
  margin-left: .35rem;
  padding: .72rem 1rem;
  border: 1px solid rgba(37,230,255,.32);
  border-radius: 999px;
  background: rgba(37,230,255,.08);
  color: #dffbff;
  box-shadow: inset 0 0 24px rgba(37,230,255,.08);
}
.nav-toggle { display: none; }

.section {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 6.6rem 1.25rem;
}
.section.compact { padding-top: 2rem; padding-bottom: 2.5rem; }
.hero-copy, .hero-visual, .split-copy { min-width: 0; }
.hero {
  min-height: min(860px, calc(100svh - var(--header-h)));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .92fr);
  align-items: center;
  gap: 3.5rem;
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  color: #cfeeff;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
}
.eyebrow span {
  width: .75rem; height: .75rem; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px var(--cyan);
}
h1, h2, h3 { line-height: 1.05; margin: 0; letter-spacing: -.055em; color: #f7fbff; text-shadow: 0 2px 24px rgba(0,0,0,.34); }
h1 { font-size: clamp(3rem, 6.4vw, 5.9rem); max-width: 12.5ch; }
h2 { font-size: clamp(2.15rem, 5vw, 4.25rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 42rem; margin: 1.35rem 0 0; color: #dbe8ff; text-shadow: 0 1px 16px rgba(0,0,0,.35); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-actions.centered { justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: .9rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #06111a;
  background: linear-gradient(135deg, var(--cyan), #77f6ff 42%, var(--pink));
  border-color: transparent;
  box-shadow: 0 18px 50px rgba(37,230,255,.24);
}
.btn-ghost { color: var(--text); background: rgba(255,255,255,.055); }
.btn-ghost:hover { border-color: rgba(255,255,255,.3); }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  max-width: 34rem;
  margin: 2.1rem 0 0;
}
.hero-metrics div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.055);
}
.hero-metrics dt { font-size: 1.35rem; font-weight: 900; letter-spacing: -.04em; }
.hero-metrics dd { margin: .05rem 0 0; color: var(--muted); font-size: .88rem; }

.visual-shell {
  position: relative;
  padding: .72rem;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.17);
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  box-shadow: var(--shadow), 0 0 80px rgba(124,92,255,.18);
  transform: perspective(900px) rotateY(-6deg) rotateX(3deg);
}
.visual-shell::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(37,230,255,.8), transparent 35%, rgba(255,79,216,.7));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.visual-shell img { border-radius: 26px; aspect-ratio: 16 / 9; object-fit: cover; opacity: .9; }
.terminal-card, .status-card {
  position: absolute;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(4, 8, 18, .72);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px rgba(0,0,0,.34);
}
.terminal-card {
  left: -1.25rem;
  bottom: 1.25rem;
  width: min(78%, 330px);
  padding: 1rem;
  border-radius: 20px;
}
.terminal-dots { display: flex; gap: .38rem; margin-bottom: .75rem; }
.terminal-dots span { width: .58rem; height: .58rem; border-radius: 50%; background: var(--cyan); }
.terminal-dots span:nth-child(2) { background: var(--violet); }
.terminal-dots span:nth-child(3) { background: var(--pink); }
.terminal-card p { margin: 0 0 .4rem; color: var(--text); }
.terminal-card code, .command-box code { color: #9ff7ff; white-space: normal; }
.status-card {
  top: 1.3rem;
  right: -1rem;
  display: flex;
  gap: .7rem;
  align-items: center;
  padding: .8rem 1rem;
  border-radius: 999px;
}
.status-card p { margin: 0; color: var(--text); font-weight: 750; font-size: .92rem; }
.pulse { width: .75rem; height: .75rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(77,255,178,.8); animation: pulse 1.7s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(77,255,178,0); } 100% { box-shadow: 0 0 0 0 rgba(77,255,178,0); } }

.logos { text-align: center; }
.logos p { margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; }
.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}
.logo-row span {
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dbe7ff;
  background: rgba(255,255,255,.04);
}

.section-heading { max-width: 760px; margin-bottom: 2.2rem; }
.section-heading p:last-child { font-size: 1.08rem; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.feature-card, .step, .dashboard-card, .security-panel, .faq-list details, .cta-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.078), rgba(255,255,255,.035));
  box-shadow: 0 22px 70px rgba(0,0,0,.23);
}
.feature-card {
  min-height: 230px;
  padding: 1.35rem;
  border-radius: var(--radius);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.feature-card:hover { transform: translateY(-5px); border-color: rgba(37,230,255,.38); background: rgba(37,230,255,.075); }
.icon {
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  margin-bottom: 1.25rem;
  border-radius: 18px;
  background: rgba(37,230,255,.12);
  color: var(--cyan);
  font-size: 1.35rem;
}
.feature-card p, .step p { margin-bottom: 0; }

.workflow { position: relative; }
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.step { padding: 1.25rem; border-radius: var(--radius); position: relative; overflow: hidden; }
.step::after {
  content: "";
  position: absolute; inset: auto 1rem 1rem auto;
  width: 5rem; height: 5rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,.24), transparent 65%);
}
.step span { display: inline-block; color: var(--cyan); font-weight: 900; margin-bottom: 1rem; }

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1fr);
  align-items: center;
  gap: 2rem;
}
.check-list { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .8rem; }
.check-list li { color: #dce8ff; position: relative; padding-left: 2rem; }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: -.05rem;
  color: var(--green); font-weight: 900;
}
.dashboard-card { padding: 1rem; border-radius: 30px; background: rgba(8,13,31,.7); }
.dashboard-top { display: flex; align-items: center; gap: .48rem; padding: .55rem .6rem 1rem; color: var(--muted); }
.dashboard-top span { width: .65rem; height: .65rem; border-radius: 50%; background: var(--pink); }
.dashboard-top span:nth-child(2) { background: var(--violet); }
.dashboard-top span:nth-child(3) { background: var(--cyan); }
.dashboard-top strong { margin-left: auto; color: #dce8ff; }
.agent-list { display: grid; gap: .72rem; }
.agent-list div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .8rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.05);
}
.agent-list em { color: var(--muted); font-style: normal; font-size: .9rem; }
.agent-dot { width: .8rem; height: .8rem; border-radius: 50%; box-shadow: 0 0 18px currentColor; }
.cyan { background: var(--cyan); color: var(--cyan); }
.violet { background: var(--violet); color: var(--violet); }
.pink { background: var(--pink); color: var(--pink); }
.green { background: var(--green); color: var(--green); }
.command-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(37,230,255,.1), rgba(124,92,255,.1));
  border: 1px solid rgba(37,230,255,.2);
}
.command-box p { grid-column: 1 / -1; margin: 0; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; }
.command-box button {
  border: 0;
  color: #06111a;
  background: var(--cyan);
  border-radius: 999px;
  padding: .55rem .9rem;
  font-weight: 800;
  cursor: pointer;
}

.security-panel { padding: 2rem; border-radius: 34px; }

.security-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .72fr);
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1.1rem;
}
.security-visual {
  width: 100%;
  max-height: 280px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-soft);
  background: rgba(255,255,255,.04);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.security-grid article { padding: 1rem; border-radius: 20px; background: rgba(255,255,255,.045); border: 1px solid var(--line); }
.security-grid p { margin-bottom: 0; }

.faq-list { display: grid; gap: .8rem; max-width: 850px; }
details { padding: 1.05rem 1.2rem; border-radius: 20px; }
summary { cursor: pointer; font-weight: 850; color: #eff7ff; }
summary::marker { color: var(--cyan); }
details p { margin-bottom: 0; }
.cta-card {
  max-width: 930px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem);
  text-align: center;
  border-radius: 38px;
  background: radial-gradient(circle at 50% 0%, rgba(37,230,255,.18), transparent 45%), rgba(255,255,255,.055);
}
.cta-card p:not(.eyebrow) { max-width: 620px; margin: 1rem auto 0; }


.coming-soon-toast {
  position: fixed;
  left: 50%;
  bottom: 1.35rem;
  transform: translate(-50%, 18px);
  z-index: 200;
  padding: .95rem 1.15rem;
  border-radius: 999px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(37,230,255,.18), rgba(124,92,255,.18));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.coming-soon-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
}
.footer p { margin: 0; }

.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.js .reveal { opacity: 1; transform: none; }
.js .reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle {
    margin-left: auto;
    width: 2.75rem; height: 2.75rem;
    display: grid; place-items: center;
    gap: .22rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.06);
    cursor: pointer;
  }
  .nav-toggle span:not(.sr-only) { width: 1.18rem; height: 2px; background: var(--text); border-radius: 999px; }
  .nav-menu.open {
    position: fixed;
    display: grid;
    inset: var(--header-h) 1rem auto 1rem;
    margin: 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(9, 13, 31, .96);
    box-shadow: var(--shadow);
  }
  .nav-menu.open a { padding: .85rem 1rem; border-radius: 14px; background: rgba(255,255,255,.045); }
  .hero, .split { grid-template-columns: 1fr; }
  .hero { gap: 2.2rem; padding-top: 3rem; }
  h1 { max-width: 13ch; }
  .visual-shell { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .security-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .section { padding: 4.5rem 1rem; max-width: 100%; overflow-x: clip; }
  .hero { min-height: auto; padding-top: 2.4rem; gap: 2rem; }
  .hero-copy, .hero-lead, .hero-actions, .visual-shell { max-width: 100%; }
  .eyebrow { font-size: .68rem; letter-spacing: .08em; max-width: 100%; flex-wrap: wrap; }
  h1 { font-size: clamp(2.35rem, 11.2vw, 3.35rem); max-width: 100%; overflow-wrap: break-word; hyphens: auto; }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-actions, .hero-metrics, .feature-grid, .timeline { grid-template-columns: 1fr; }
  .hero-actions { display: grid; }
  .btn { width: 100%; }
  .hero-metrics { display: grid; }
  .terminal-card { position: relative; left: auto; bottom: auto; width: 100%; margin-top: .85rem; }
  .visual-shell { padding: .5rem; border-radius: 24px; }
  .visual-shell img { border-radius: 18px; }
  .status-card { top: .95rem; right: .95rem; max-width: calc(100% - 1.9rem); }
  .feature-card { min-height: auto; }
  .agent-list div { grid-template-columns: auto 1fr; }
  .agent-list em { grid-column: 2; }
  .command-box { grid-template-columns: 1fr; }
  .command-box button { width: 100%; }
  .security-panel { padding: 1.15rem; border-radius: 24px; }
  .security-intro { display: grid; grid-template-columns: 1fr; gap: 1rem; }
  .security-visual { max-height: 190px; border-radius: 20px; }
  .footer { flex-direction: column; align-items: flex-start; }
}

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