*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --line: rgba(178, 213, 255, 0.2);
  --line-bright: rgba(111, 202, 255, 0.54);
  --text: #f7fbff;
  --muted: #9ca9c3;
  --soft: #5e6f91;
  --blue: #2478ff;
  --cyan: #73dcff;
  --font: 'Inter', Arial, sans-serif;
  --page-width: min(1440px, calc(100% - clamp(32px, 5vw, 88px)));
}
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 44%, rgba(19, 70, 179, 0.35), transparent 32%), radial-gradient(circle at 10% 64%, rgba(115, 220, 255, 0.28), transparent 22%), radial-gradient(circle at 90% 66%, rgba(36, 120, 255, 0.4), transparent 24%), linear-gradient(180deg, #02040f 0%, #050817 54%, #02040f 100%);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.site-nav {
  position: fixed;
  top: 22px;
  left: 50%;
  z-index: 20;
  width: var(--page-width);
  height: 56px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 8px 10px 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(2, 6, 20, 0.72);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 9px; min-width: 0; font-size: 14px; font-weight: 600; }
.brand-ai {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}
.brand-mark {
  width: 146px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  color: #fff;
  background: transparent;
  border: 0;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.site-nav nav {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 0;
  background: transparent;
}
.site-nav nav a {
  position: relative;
  padding: 2px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.site-nav nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: #73dcff;
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.site-nav nav a:hover {
  color: var(--text);
}
.site-nav nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}
.nav-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-login,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.nav-login {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: #d6e3ff;
}
.nav-cta {
  background: #fff;
  color: #061023;
}
.hero-section { min-height: auto; padding: 86px 0 20px; display: flex; align-items: flex-start; }
.hero-shell {
  position: relative;
  width: var(--page-width);
  min-height: min(660px, calc(100svh - 140px));
  margin: 0 auto;
  padding: clamp(32px, 4.5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: clamp(34px, 5vw, 86px);
  overflow: hidden;
  border: 1px solid rgba(118, 190, 255, 0.22);
  border-radius: 10px;
  background: radial-gradient(circle at 78% 50%, rgba(36, 120, 255, 0.22), transparent 35%), linear-gradient(180deg, rgba(10, 24, 58, 0.72), rgba(1, 4, 16, 0.88));
  box-shadow: 0 42px 140px rgba(0,0,0,0.54), inset 0 1px 0 rgba(255,255,255,0.08);
}
.hero-shell::after, .contact-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 210px;
  pointer-events: none;
  background: radial-gradient(ellipse at 12% 100%, rgba(115, 220, 255, 0.78), transparent 38%), radial-gradient(ellipse at 86% 100%, rgba(36, 120, 255, 0.88), transparent 40%);
  filter: blur(16px);
  opacity: 0.86;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.eyebrow { color: var(--cyan); font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
h1 {
  margin-top: 18px;
  color: var(--text);
  font-size: clamp(42px, 5.6vw, 66px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  max-width: 820px;
}
.hero-copy { width: min(660px, 100%); margin-top: 20px; color: #b7c4db; font-size: 17px; line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.primary-action, .secondary-action, .price-card a, .contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.primary-action { background: linear-gradient(180deg, #4e9cff, #115df0); box-shadow: 0 0 34px rgba(36, 120, 255, 0.62); }
.secondary-action { background: rgba(255,255,255,0.06); color: #d6e3ff; }
.orb-stage { position: relative; z-index: 2; display: grid; place-items: center; min-height: 460px; }
.orb-stage canvas { width: min(500px, 100%); aspect-ratio: 1; display: block; filter: drop-shadow(0 0 42px rgba(36, 120, 255, 0.55)); }
.orb-core {
  position: absolute;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle, rgba(255,255,255,0.1), rgba(19, 55, 157, 0.54));
  box-shadow: inset 0 0 22px rgba(255,255,255,0.08), 0 0 40px rgba(36, 120, 255, 0.36);
}
.orb-core img { width: 76px; height: auto; display: block; filter: brightness(0) invert(1); }
.signal-strip, .models-section, .pricing-section, .contact-section { width: var(--page-width); margin: 0 auto; }
.signal-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--line); }
.signal-strip div { padding: 24px; background: rgba(3, 8, 24, 0.82); }
.signal-strip strong, .signal-strip span { display: block; }
.signal-strip strong { color: var(--text); font-size: 18px; }
.signal-strip span { color: var(--muted); margin-top: 6px; }
.models-section, .pricing-section, .contact-section { padding: 110px 0 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
h2 { max-width: 760px; color: var(--text); font-size: clamp(34px, 5vw, 64px); line-height: 1.02; letter-spacing: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-grid article, .price-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 38%), rgba(4, 9, 25, 0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
}
.feature-grid article { min-height: 250px; padding: 24px; }
.feature-grid span { color: var(--cyan); font-size: 12px; font-weight: 700; }
.feature-grid h3, .price-card h3 { margin-top: 42px; color: var(--text); font-size: 24px; line-height: 1.1; }
.feature-grid p, .price-card li { margin-top: 14px; color: var(--muted); line-height: 1.6; }
.pricing-section { position: relative; overflow: visible; padding-bottom: 92px; }
.pricing-backdrop {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  color: rgba(30, 128, 255, 0.2);
  font-size: clamp(90px, 19vw, 260px);
  line-height: 1;
  font-weight: 800;
  pointer-events: none;
}
.pricing-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; padding-top: 58px; align-items: stretch; }
.price-card { min-height: 420px; padding: 28px; display: flex; flex-direction: column; }
.price-card.featured {
  border-color: var(--line-bright);
  background: radial-gradient(circle at 90% 10%, rgba(115, 220, 255, 0.28), transparent 30%), linear-gradient(135deg, rgba(255,255,255,0.12), transparent 38%), rgba(5, 12, 31, 0.8);
  box-shadow: 0 0 60px rgba(36, 120, 255, 0.38), inset 0 1px 0 rgba(255,255,255,0.14);
}
.price-card p { color: var(--text); font-size: 16px; font-weight: 600; }
.price-card h3 { margin-top: 8px; color: var(--muted); font-size: 18px; }
.price-card strong { display: block; margin-top: 10px; color: var(--text); font-size: clamp(28px, 3vw, 38px); line-height: 1; white-space: nowrap; }
.price-card ul { margin-top: 30px; list-style: none; flex: 1; }
.price-card li { position: relative; padding-left: 28px; margin-top: 16px; }
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.14);
}
.price-card li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 6px; height: 3px; border-left: 1px solid #fff; border-bottom: 1px solid #fff; transform: rotate(-45deg); }
.price-card a { width: 100%; margin-top: 34px; background: #fff; color: #071020; }
.free-plan {
  border-color: rgba(115, 220, 255, 0.4);
}
.topup-plan {
  background: radial-gradient(circle at 50% 0%, rgba(115, 220, 255, 0.18), transparent 35%), linear-gradient(135deg, rgba(255,255,255,0.08), transparent 38%), rgba(4, 9, 25, 0.72);
}
.contact-section {
  position: relative;
  margin-top: 0;
  margin-bottom: 44px;
  padding: 96px clamp(20px, 5vw, 70px) 120px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(4, 9, 25, 0.78);
  text-align: center;
}
.contact-section > * { position: relative; z-index: 1; }
.contact-section h2 { margin: 12px auto 0; }
.contact-form {
  width: min(720px, 100%);
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0,0,0,0.2);
}
.contact-form input {
  min-width: 0;
  height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  outline: none;
  background: rgba(255,255,255,0.04);
  color: var(--text);
}
.contact-form input::placeholder { color: var(--soft); }
.contact-form button { background: #fff; color: #071020; border: 0; }
.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.site-footer a:hover { color: var(--text); }
.doc-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 118px 0 70px;
}
.doc-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(118, 190, 255, 0.22);
  border-radius: 24px;
  padding: clamp(34px, 6vw, 70px);
  background: radial-gradient(circle at 86% 30%, rgba(36, 120, 255, 0.24), transparent 34%), linear-gradient(180deg, rgba(10, 24, 58, 0.76), rgba(1, 4, 16, 0.9));
  box-shadow: 0 42px 140px rgba(0,0,0,0.46), inset 0 1px 0 rgba(255,255,255,0.08);
}
.doc-hero h1 {
  margin-top: 14px;
  font-size: clamp(42px, 6vw, 76px);
}
.doc-hero p:not(.eyebrow) {
  width: min(680px, 100%);
  margin-top: 16px;
  color: #b7c4db;
  font-size: 17px;
  line-height: 1.6;
}
.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.doc-panel,
.legal-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 38%), rgba(4, 9, 25, 0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
}
.doc-panel {
  padding: 28px;
}
.doc-panel.wide {
  grid-column: 1 / -1;
}
.doc-panel h2,
.legal-panel h2 {
  color: var(--text);
  font-size: 24px;
  line-height: 1.15;
}
.doc-panel p,
.legal-panel p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.65;
}
.doc-panel pre {
  margin-top: 18px;
  overflow-x: auto;
  padding: 18px;
  border: 1px solid rgba(178, 213, 255, 0.16);
  border-radius: 16px;
  background: rgba(0,0,0,0.28);
  color: #d6e3ff;
}
.doc-panel code {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.7;
}
.legal-panel {
  margin-top: 24px;
  padding: clamp(28px, 5vw, 54px);
}
.legal-panel h2:not(:first-child) {
  margin-top: 34px;
}
@media (max-width: 900px) {
  .site-nav { grid-template-columns: 1fr auto; }
  .site-nav nav { display: none; }
  .hero-shell { grid-template-columns: 1fr; padding: 28px; min-height: auto; }
  .orb-stage { min-height: 250px; order: -1; }
  .orb-stage canvas { width: min(260px, 100%); }
  .orb-core { width: 62px; height: 62px; }
  .orb-core img { width: 58px; }
  .signal-strip, .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid { padding-top: 30px; }
  .pricing-section { padding-bottom: 64px; }
  .contact-form { grid-template-columns: 1fr; border-radius: 24px; }
  .doc-grid { grid-template-columns: 1fr; }
  .doc-page { padding-top: 100px; }
}
@media (max-width: 560px) {
  :root { --page-width: calc(100% - 24px); }
  .site-nav { top: 12px; height: 52px; padding-left: 12px; }
  .brand-mark { width: 124px; height: 34px; }
  .hero-section { padding: 74px 0 14px; }
  .hero-shell { border-radius: 8px; min-height: auto; padding: 24px; }
  h1 { font-size: 36px; line-height: 1.04; }
  .hero-copy { font-size: 15px; }
  .brand-ai { display: inline; }
  .nav-actions { gap: 6px; }
  .nav-login,
  .nav-cta { padding: 0 12px; }
}

/* Sharper Subaxis radius pass */
.site-nav,
.nav-cta,
.nav-login,
.primary-action,
.secondary-action,
.price-card a,
.contact-form button,
.contact-form,
.contact-form input {
  border-radius: 4px;
}

.hero-shell,
.signal-strip,
.feature-grid article,
.price-card,
.contact-section,
.doc-hero,
.doc-panel,
.legal-panel {
  border-radius: 8px;
}

.doc-panel pre {
  border-radius: 8px;
}

@media (max-width: 900px) {
  .contact-form { border-radius: 4px; }
}

@media (max-width: 560px) {
  .hero-shell,
  .signal-strip { border-radius: 8px; }
}
