/* ==========================================================================
   OmnitraHQ — Design Tokens (from Omnitra Brand System v1.0)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Core palette */
  --obsidian: #080B10;
  --midnight-navy: #0D1726;
  --omnitra-blue: #12345A;
  --steel-blue: #2E5D87;
  --cool-slate: #667585;
  --silver-mist: #AEB8C2;
  --ice: #EAF0F5;
  --white: #FFFFFF;

  /* Neon accents (digital) */
  --neon: #39F2FF;
  --neon-soft: #9FDDEA;

  /* Aurora accents (ambient only) */
  --aurora-green: #42E6A4;
  --aurora-violet: #876BFF;
  --aurora-cyan: #35D4E8;

  /* Semantic */
  --bg: var(--obsidian);
  --surface: var(--midnight-navy);
  --surface-raised: #101E31;
  --border: rgba(174, 184, 194, 0.14);
  --border-strong: rgba(174, 184, 194, 0.26);
  --text-primary: var(--white);
  --text-secondary: var(--silver-mist);
  --text-muted: var(--cool-slate);

  --font-display: 'Sora', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); }
h3 { font-size: 1.3rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--text-secondary); max-width: 62ch; }
p.lede { font-size: 1.2rem; color: var(--silver-mist); max-width: 46ch; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------- Nav ---------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 11, 16, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand .mark { height: 34px; width: auto; flex-shrink: 0; display: block; }
.brand .sub { color: var(--cool-slate); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.06em; display: block; margin-top: -2px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--silver-mist);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.current { color: var(--white); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: block;
    background: none;
    border: 1px solid var(--border-strong);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}

/* --------------------------------- Buttons -------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--neon);
  color: #04151A;
  box-shadow: 0 0 0 rgba(57, 242, 255, 0);
}
.btn-primary:hover {
  box-shadow: 0 0 28px rgba(57, 242, 255, 0.45);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--neon-soft); background: rgba(159, 221, 234, 0.06); }

.btn-block { width: 100%; }

/* ---------------------------------- Hero ---------------------------------- */

.hero {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
}

.hero-aurora {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(circle at 20% 30%, rgba(66, 230, 164, 0.16), transparent 55%),
    radial-gradient(circle at 75% 20%, rgba(135, 107, 255, 0.20), transparent 50%),
    radial-gradient(circle at 55% 60%, rgba(53, 212, 232, 0.16), transparent 55%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.eyebrow {
  color: var(--neon-soft);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
  display: inline-block;
}

.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--neon); }

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--cool-slate);
}

/* Hero visual: animated "always-on" console */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 460px;
  min-width: 0;
  margin: 0 auto;
}

.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.orb-ring.r2 { inset: 40px; }
.orb-ring.r3 { inset: 80px; }

.orb-core {
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(159, 221, 234, 0.9), rgba(57, 242, 255, 0.35) 45%, rgba(18, 52, 90, 0.1) 72%);
  box-shadow: 0 0 60px rgba(57, 242, 255, 0.35), inset 0 0 40px rgba(57, 242, 255, 0.2);
}

.orb-wave {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60%;
  height: 60%;
  transform: translate(-50%, -50%);
}

.pulse-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 12px 3px rgba(57, 242, 255, 0.7);
}

.console-card {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
  background: rgba(13, 23, 38, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
}
.console-card .row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; color: var(--silver-mist); }
.console-card .row:not(:last-child) { border-bottom: 1px solid var(--border); }
.console-card .status { color: var(--aurora-green); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.console-card .status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--aurora-green); box-shadow: 0 0 8px var(--aurora-green); }

/* -------------------------------- Sections -------------------------------- */

section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.on-surface { background: var(--midnight-navy); }
.on-ice { background: var(--ice); color: var(--omnitra-blue); }
.on-ice p { color: var(--steel-blue); }
.on-ice h2, .on-ice h3 { color: var(--omnitra-blue); }

/* Pain / solution pairing */
.pair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 780px) { .pair-grid { grid-template-columns: 1fr; } }

.pair-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}
.pair-card.problem { background: linear-gradient(180deg, rgba(18,52,90,0.35), rgba(13,23,38,0.6)); }
.pair-card.solution { background: linear-gradient(180deg, rgba(66,230,164,0.08), rgba(13,23,38,0.6)); border-color: rgba(66,230,164,0.25); }
.pair-card h3 { margin-bottom: 14px; }
.pair-card ul { padding-left: 20px; margin: 0; color: var(--text-secondary); }
.pair-card li { margin-bottom: 10px; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
}
.feature-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(57, 242, 255, 0.1);
  border: 1px solid rgba(57, 242, 255, 0.25);
  margin-bottom: 18px;
  color: var(--neon);
}
.feature-card p { margin-bottom: 0; font-size: 0.94rem; }

/* Stat row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
@media (max-width: 780px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: left; }
.stat .num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--neon-soft); display: block; }
.stat .label { color: var(--cool-slate); font-size: 0.88rem; }

/* Comparison table */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
table.compare { width: 100%; border-collapse: collapse; min-width: 620px; }
table.compare th, table.compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.94rem; }
table.compare th { color: var(--cool-slate); font-weight: 500; font-size: 0.82rem; }
table.compare td.hq { color: var(--white); font-weight: 600; }
table.compare tr:last-child td { border-bottom: none; }
table.compare td.yes { color: var(--aurora-green); }
table.compare td.no { color: var(--cool-slate); }
.compare-col-hq { background: rgba(57, 242, 255, 0.05); border-left: 1px solid rgba(57,242,255,0.2); border-right: 1px solid rgba(57,242,255,0.2); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--omnitra-blue), var(--midnight-navy) 70%);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(135,107,255,0.18), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p.lede { margin: 0 auto 30px; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}
@media (max-width: 820px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 38px;
  position: relative;
}
.price-card.featured {
  border-color: rgba(57, 242, 255, 0.4);
  box-shadow: 0 0 60px rgba(57, 242, 255, 0.08);
}
.price-badge {
  position: absolute;
  top: -14px; left: 38px;
  background: var(--neon);
  color: #04151A;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.price-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.price-card .plan-sub { color: var(--cool-slate); font-size: 0.92rem; margin-bottom: 26px; }
.price-figure { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.price-figure .amount { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; }
.price-figure .period { color: var(--cool-slate); font-size: 0.95rem; }
.price-setup { color: var(--silver-mist); font-size: 0.88rem; margin-bottom: 28px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 30px; }
.price-card li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--border); font-size: 0.94rem; color: var(--text-secondary); }
.price-card li:first-child { border-top: none; }
.price-card li .check { color: var(--aurora-green); flex-shrink: 0; }

.pricing-note {
  margin-top: 40px;
  padding: 20px 24px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--cool-slate);
  font-size: 0.9rem;
}

.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { margin-bottom: 0; }

/* Steps (real sequence — call flow) */
.step-list { counter-reset: step; display: grid; gap: 0; }
.step-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--border);
}
.step-item:first-child { border-top: none; }
.step-num {
  counter-increment: step;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  color: var(--neon-soft);
}
.step-num::before { content: counter(step); }
.step-item h3 { margin-bottom: 6px; }
.step-item p { margin-bottom: 0; }

/* Team / values */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }
.value-item h3 { font-size: 1.05rem; }
.value-item p { font-size: 0.92rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-method {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.contact-method:first-child { border-top: none; }
.contact-method .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(57,242,255,0.1); border: 1px solid rgba(57,242,255,0.25);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--neon);
}
.contact-method h3 { margin-bottom: 4px; font-size: 1rem; }
.contact-method a.link { color: var(--neon-soft); }

form.card-form {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 8px; }
.field label { font-size: 0.86rem; color: var(--silver-mist); }
.field input, .field textarea, .field select {
  background: var(--obsidian);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: var(--cool-slate); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 34px; }
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-links { display: flex; gap: 30px; flex-wrap: wrap; }
.footer-links a { color: var(--silver-mist); font-size: 0.92rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  color: var(--cool-slate); font-size: 0.82rem;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

/* Utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
/* Note: animated elements are visible by default (no opacity:0 here).
   JS opts them into a hidden-then-revealed state only once it has
   confirmed the animation library loaded — see js/main.js. This way
   a failed/blocked CDN script can never leave content invisible. */
