/* ===========================================================
   Orbit3 — Modern Dark Design System
   Style: Trust & Authority + Modern Dark (glassmorphism + aurora)
   Accent: brand turquoise. Type: Space Grotesk + DM Sans.
   Built with design intelligence from UI UX Pro Max.
   =========================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg-deep: #07090c;
  --bg-base: #0a0d12;
  --bg-elevated: #11151c;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --fg: #eef2f6;
  --fg-muted: #9aa6b2;
  --fg-faint: #6b7682;

  --accent: #2dd4bf;          /* brand turquoise */
  --accent-2: #14b8a6;
  --accent-strong: #0d9488;
  --accent-ink: #04201c;      /* text on accent */
  --accent-glow: rgba(45, 212, 191, 0.22);

  --aurora-1: rgba(45, 212, 191, 0.40);
  --aurora-2: rgba(34, 211, 238, 0.30);
  --aurora-3: rgba(56, 109, 224, 0.28);

  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 10px 40px var(--accent-glow);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1180px;

  --font-head: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--fg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.5em; color: #fff; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.12rem; }
p { margin: 0 0 1rem; color: var(--fg-muted); }
strong { color: var(--fg); font-weight: 600; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-deep), var(--bg-base)); }
.center { text-align: center; }
.measure { max-width: 720px; margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

/* ---------- Eyebrow / gradient text / pill ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); opacity: 0.7; }
.eyebrow--center { justify-content: center; }
.text-gradient {
  background: linear-gradient(100deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--fg-muted); max-width: 60ch; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.82rem; color: var(--fg-muted);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.97rem;
  padding: 13px 26px; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  color: var(--accent-ink); box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 50px var(--accent-glow); }
.btn-ghost { background: var(--surface); color: var(--fg); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--accent); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 1.03rem; }
.btn-block { width: 100%; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; color: var(--accent);
  transition: gap 0.25s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover { gap: 12px; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 13, 18, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 0.95rem; color: var(--fg-muted); padding: 8px 14px; border-radius: 10px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: var(--surface); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

/* dropdown */
.dropdown { position: relative; }
.dropdown > a::after { content: "▾"; font-size: 0.7em; margin-left: 6px; opacity: 0.6; }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 8px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--fg-muted); font-size: 0.92rem; }
.dropdown-menu a:hover { background: var(--surface); color: #fff; }

/* mobile nav toggle (CSS-only) */
.nav-toggle { display: none; }
.nav-burger { display: none; }

/* ---------- Aurora hero ---------- */
.hero { position: relative; padding: clamp(72px, 11vw, 150px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora::before, .aurora::after, .aurora .blob {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55;
  animation: drift 16s var(--ease) infinite alternate;
}
.aurora::before { width: 560px; height: 560px; background: var(--aurora-1); top: -180px; left: -100px; }
.aurora::after { width: 520px; height: 520px; background: var(--aurora-3); top: -140px; right: -120px; animation-delay: -6s; }
.aurora .blob { width: 460px; height: 460px; background: var(--aurora-2); bottom: -240px; left: 38%; animation-delay: -10s; }
.hero-grid-overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.5;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 22px; max-width: 16ch; }
.hero.center h1 { margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero.center .hero-actions { justify-content: center; }
.hero-trust { margin-top: 26px; font-size: 0.9rem; color: var(--fg-faint); }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, 30px) scale(1.12); }
}

/* ---------- Cards (glassmorphism) ---------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, var(--border-strong), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); background: var(--surface-2); }
.card:hover::after { opacity: 1; }
.card h3, .card h4 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card--feature .card-icon { margin-bottom: 18px; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(180deg, var(--accent-glow), transparent);
  border: 1px solid var(--border-strong); color: var(--accent);
}
.card-icon svg { width: 26px; height: 26px; }
.card--primary { background: linear-gradient(165deg, rgba(45,212,191,0.10), var(--surface)); border-color: rgba(45,212,191,0.28); }
.card-tag {
  position: absolute; top: 22px; right: 22px; font-family: var(--font-head);
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); padding: 4px 10px; border: 1px solid rgba(45,212,191,0.3); border-radius: var(--radius-pill);
}

/* glass panel (for images / split visuals) */
.glass-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 14px; box-shadow: var(--shadow-md); overflow: hidden;
}
.glass-panel img { border-radius: 14px; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--fg-muted); }
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.checklist strong { display: block; color: var(--fg); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.stat-num { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: #fff; line-height: 1; }
.stat-num span { color: var(--accent); }
.stat-label { margin-top: 8px; font-size: 0.9rem; color: var(--fg-muted); }

/* ---------- Logo marquee ---------- */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 38px 56px; }
.logos img { height: 34px; width: auto; opacity: 0.6; filter: grayscale(1) brightness(1.6); transition: opacity 0.3s var(--ease), filter 0.3s var(--ease); }
.logos img:hover { opacity: 1; filter: grayscale(0) brightness(1); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); text-align: center;
  background: linear-gradient(150deg, var(--bg-elevated), var(--bg-deep)); border: 1px solid var(--border); }
.cta-band .aurora { opacity: 0.7; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 24px; }
.step { position: relative; padding-left: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; color: var(--accent);
  background: var(--surface); border: 1px solid var(--border-strong);
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.85rem; color: var(--fg-muted); font-family: var(--font-head); font-weight: 500; }
.input, .textarea {
  width: 100%; font: inherit; color: var(--fg);
  background: var(--bg-deep); border: 1px solid var(--border); border-radius: 12px;
  padding: 13px 15px; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--fg-faint); }
.input:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.textarea { min-height: 130px; resize: vertical; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding: 72px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 30px; margin-bottom: 16px; }
.footer-brand p { max-width: 30ch; font-size: 0.95rem; }
.footer-col h4 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: var(--fg-muted); font-size: 0.95rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--fg-faint); }
.footer-bottom a { color: var(--fg-muted); }
.footer-bottom a:hover { color: var(--accent); }
.social { display: inline-flex; gap: 10px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 10px; border: 1px solid var(--border); color: var(--fg-muted); transition: all 0.2s var(--ease); }
.social a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 120px) 0 clamp(40px, 6vw, 64px); }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: 0.85rem; color: var(--fg-faint); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.hide-mobile { } .show-mobile { display: none; }
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: #fff; cursor: pointer; }
  .nav-burger svg { width: 22px; height: 22px; }
  .nav-toggle:checked ~ .mobile-menu { display: block; }
  .mobile-menu { display: none; position: fixed; inset: 72px 0 0; z-index: 99;
    background: var(--bg-base); border-top: 1px solid var(--border); padding: 24px; overflow-y: auto; }
  .mobile-menu a { display: block; padding: 14px 8px; font-family: var(--font-head); font-size: 1.1rem; color: var(--fg); border-bottom: 1px solid var(--border); }
  .mobile-menu .btn { margin-top: 20px; width: 100%; }
  .mobile-menu .mm-label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-faint); margin-top: 18px; }
}
@media (min-width: 861px) { .mobile-menu, .nav-burger { display: none !important; } }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split .order-first { order: -1; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  body { font-size: 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
