/* ---------- Theme (Dark Cosmic) ---------- */
:root {
  --blue-900: #0a1238;
  --blue-800: #122062;
  --blue-700: #1f33a8;
  --blue-600: #2b46d6;
  --blue-500: #3a5cf0;
  --blue-400: #6b85ff;
  --blue-50:  rgba(58,92,240,.12);
  --ink:      #e9edff;
  --muted:    #9aa6cf;
  --bg:       #04070f;
  --bg-soft:  #0a1024;
  --bg-card:  rgba(255,255,255,.04);
  --bg-card-strong: rgba(255,255,255,.06);
  --line:     rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.16);
  --radius:   16px;
  --radius-sm:10px;
  --shadow-sm: 0 4px 14px rgba(0,0,0,.35);
  --shadow-md: 0 18px 50px rgba(0,0,0,.55), 0 0 30px rgba(58,92,240,.18);
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 800px at 80% -10%, rgba(58,92,240,.18), transparent 60%),
    radial-gradient(1000px 700px at -10% 30%, rgba(107,133,255,.12), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(43,70,214,.18), transparent 60%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5rem;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { color: var(--muted); margin: 0 0 1rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-600);
  font-weight: 700;
  background: var(--blue-50);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.grad {
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color:#fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-700); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Nav (floating pill style, matches Hero Odyssey reference) ---------- */
.nav-wrap {
  position: fixed; top: 18px; left: 0; right: 0; z-index: 50;
  background: transparent;
  border: 0;
  pointer-events: none;
  transition: top .2s ease;
}
.nav-wrap.scrolled { top: 10px; }
.nav {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between;
  height: auto;
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 16px;
  background: rgba(10, 12, 22, .55);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.nav-wrap.scrolled .nav {
  background: rgba(10, 12, 22, .8);
  border-color: rgba(255,255,255,.12);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: #fff; font-weight: 800;
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  font-family: 'Plus Jakarta Sans';
  letter-spacing: -.05em;
  box-shadow: var(--shadow-sm);
}
.brand-logo {
  width: 40px; height: 40px; border-radius: 8px;
  display: block; object-fit: contain;
}
.brand-full {
  display: block;
  height: 90px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.brand-full-nav {
  height: 96px;
  width: auto;
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin: -20px 8px -20px -8px;
  filter: brightness(0) invert(1);
}
@media (max-width: 640px) {
  .brand-full-nav { height: 70px; margin: -14px 4px -14px -6px; }
}
.brand-name {
  font-family: 'Plus Jakarta Sans';
  font-weight: 800; font-size: 1.2rem;
}
.brand-name span { color: var(--blue-600); }

.nav-links {
  display: flex; gap: 4px; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: rgba(255,255,255,.85); padding: 8px 14px; border-radius: 999px;
  font-weight: 500; font-size: .9rem;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-links .btn {
  color: #fff;
  background: rgba(40, 45, 70, .85);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: .88rem;
  box-shadow: none;
}
.nav-links .btn:hover {
  color: #fff;
  background: rgba(60, 70, 110, .9);
  transform: none;
}

.nav-toggle {
  display: none;
  background: transparent; border: 1px solid var(--line);
  width: 42px; height: 42px; border-radius: 10px;
  cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--ink);
  margin: 5px auto; width: 20px; border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(58,92,240,.15), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(107,133,255,.18), transparent 60%),
    linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
  padding: 70px 0 90px;
  overflow: hidden;
}

/* ---------- Hero Odyssey (lightning) ---------- */
.hero-odyssey {
  background: #000;
  color: #fff;
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.hero-lightning {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 2;
  display: block;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.80);
  z-index: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute; left: 50%; top: 55%;
  width: 800px; height: 800px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.18), rgba(30,56,107,.08) 55%, transparent 72%);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}
.hero-planet {
  position: absolute; left: 50%; top: 55%;
  width: 600px; height: 600px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 25% 90%, #1e386b 15%, rgba(0,0,0,.87) 70%, rgba(0,0,0,.93) 100%);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: 3;
  pointer-events: none;
}
.hero-odyssey-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 820px;
  padding: 120px 22px 140px;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 22px;
  background: rgba(20, 22, 32, .55);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #f3f6ff; font-size: 1rem; font-weight: 500;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 28px;
  transition: background .2s ease, transform .2s ease;
}
.hero-pill:hover { background: rgba(255,255,255,.12); color: #fff; transform: translateY(-1px); }
.hero-pill svg { transition: transform .2s ease; }
.hero-pill:hover svg { transform: translateX(3px); }

.hero-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 300;
  letter-spacing: -.02em;
  margin: 0 0 .25rem;
  color: #fff;
  line-height: 1.05;
}
.hero-subtitle {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 300;
  margin: 0 0 1.4rem;
  background: linear-gradient(90deg, #f3f6ff 0%, #c8d4ff 50%, #93a8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -.01em;
}
.hero-desc {
  color: #b9c1de;
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}
.hero-cta-row {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  margin-bottom: 36px;
}
.hero-cta-row .btn {
  font-weight: 700;
  letter-spacing: .01em;
  padding: 14px 26px;
  font-size: 1rem;
}
.hero-cta-row .btn-primary {
  color: #ffffff !important;
  background: linear-gradient(135deg, #4f6cff, #7a92ff);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 10px 30px rgba(58,92,240,.45), inset 0 1px 0 rgba(255,255,255,.25);
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.hero-cta-row .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(58,92,240,.6), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn-on-dark {
  color: #ffffff !important;
  border-color: rgba(255,255,255,.45) !important;
  background: rgba(255,255,255,.08) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.btn-on-dark:hover {
  background: rgba(255,255,255,.18) !important;
  border-color: rgba(255,255,255,.7) !important;
  color: #ffffff !important;
}

.hue-slider {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  width: 160px;
  margin: 0 auto 14px;
  font-size: .7rem;
  color: rgba(255,255,255,.6);
}
.hue-slider label { color: rgba(255,255,255,.85); font-size: .7rem; font-weight: 500; }
.hue-value { color: rgba(255,255,255,.55); font-size: .65rem; }
.hue-slider input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 3px;
  background: linear-gradient(to right, #3a5cf0 0%, #3a5cf0 var(--val, 61%), rgba(255,255,255,.18) var(--val, 61%), rgba(255,255,255,.18) 100%);
  border-radius: 999px;
  outline: none;
  position: relative;
}
.hue-slider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 0 0 2px rgba(58,92,240,.35), 0 0 6px rgba(58,92,240,.6);
}
.hue-slider input[type=range]::-moz-range-thumb {
  width: 11px; height: 11px; border: none; border-radius: 50%;
  background: #fff; cursor: pointer; box-shadow: 0 0 0 2px rgba(255,255,255,.15);
}

/* Discover Our Services pill button */
.hero-discover {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 32px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.hero-discover:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.35);
  color: #fff;
  transform: translateY(-2px);
}
@media (max-width: 720px) {
  .hero-discover { padding: 12px 24px; font-size: .9rem; }
}

/* Floating feature dots */
.hero-feature {
  position: absolute;
  z-index: 4;
  display: flex; align-items: center; gap: 10px;
  color: #fff;
  font-size: .9rem;
  opacity: 0;
  animation: heroFeatureIn .8s ease forwards;
  pointer-events: none;
}
.hero-feature .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.15), 0 0 14px rgba(120,160,255,.7);
  animation: heroDotPulse 2.4s ease-in-out infinite;
  flex: none;
}
.hero-feature strong { display: block; font-weight: 600; font-size: .95rem; }
.hero-feature small { display: block; color: rgba(255,255,255,.65); font-size: .78rem; }
.feat-1 { left: 2%;   top: 72%; animation-delay: .3s; }
.feat-2 { left: 14%;  top: 50%; animation-delay: .55s; }
.feat-3 { right: 14%; top: 50%; animation-delay: .8s; }
.feat-4 { right: 2%;  top: 72%; animation-delay: 1.05s; }

@media (max-width: 1200px) {
  .feat-2 { left: 4%; top: 64%; }
  .feat-3 { right: 4%; top: 64%; }
  .feat-1, .feat-4 { display: none; }
}

@keyframes heroFeatureIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroDotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,255,255,.12), 0 0 14px rgba(120,160,255,.5); }
  50%      { box-shadow: 0 0 0 7px rgba(255,255,255,.05), 0 0 24px rgba(120,160,255,.9); }
}

@media (max-width: 720px) {
  .hero-feature small { display: none; }
  .feat-1, .feat-4 { display: none; }
  .feat-2 { left: 6%;  top: 56%; }
  .feat-3 { right: 6%; top: 56%; }
  .hero-odyssey-content { padding: 90px 18px 100px; }
  .hero-glow, .hero-planet { width: 380px; height: 380px; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.hero-copy .lead { font-size: 1.1rem; max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5rem 0 1.4rem; }

.badges {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 1.6rem;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  list-style: none; padding: 14px; margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-size: .9rem;
}
.trust li { color: var(--muted); }
.trust strong { display: block; color: var(--ink); font-weight: 700; }

/* Hero visual */
.hero-visual {
  position: relative;
  height: 520px;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: .55;
}
.orb-1 { width: 320px; height: 320px; background: var(--blue-500); top: -40px; right: -30px; }
.orb-2 { width: 260px; height: 260px; background: var(--blue-400); bottom: -40px; left: 0; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(58,92,240,.55); }
  70%  { box-shadow: 0 0 0 14px rgba(58,92,240,0); }
  100% { box-shadow: 0 0 0 0 rgba(58,92,240,0); }
}

.card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  animation: float-y 6s ease-in-out infinite;
}
.card-code {
  top: 10px; left: 0; right: 80px;
  padding: 16px 18px 14px;
  font-family: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  font-size: .9rem;
  animation-delay: -1s;
}
.card-code .dots { display: flex; gap: 6px; margin-bottom: 12px; }
.card-code .dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: #e2e6f3;
}
.card-code .dots span:nth-child(1) { background: #ff6b6b; }
.card-code .dots span:nth-child(2) { background: #ffd166; }
.card-code .dots span:nth-child(3) { background: #06d6a0; }
.card-code pre { margin: 0 0 12px; color: #2b3666; line-height: 1.55; }
.card-code .t-k { color: var(--blue-600); font-weight: 700; }
.card-code .t-v { color: #b14fc1; }
.card-code .t-s { color: #0a8c5a; }
.card-code .t-c { color: #94a0c2; font-style: italic; }
.card-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-family: 'Inter', sans-serif;
}
.card-tags span {
  font-size: .72rem;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-weight: 600;
}

.card-stat {
  bottom: 110px; left: 10px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  animation-delay: -3s;
}
.stat-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  color: #fff; display: grid; place-items: center;
  font-size: 1.2rem;
}
.stat-num { font-weight: 800; font-family: 'Plus Jakarta Sans'; font-size: 1.15rem; }
.stat-label { color: var(--muted); font-size: .85rem; }

.card-mobile {
  width: 160px; height: 250px;
  bottom: 20px; right: 10px;
  padding: 12px 10px;
  background: linear-gradient(180deg, #fff, #f4f6ff);
  animation-delay: -2s;
}
.mobile-notch {
  width: 50px; height: 6px; border-radius: 4px;
  background: #cfd5ee;
  margin: 0 auto 8px;
}
.mobile-screen {
  height: calc(100% - 14px);
  background: linear-gradient(180deg, #eef1ff, #ffffff);
  border-radius: 12px;
  padding: 12px 10px;
  display: flex; flex-direction: column; gap: 9px;
}
.m-row { display: flex; align-items: center; gap: 8px; }
.m-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  flex-shrink: 0;
}
.m-lines { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.m-lines span {
  height: 6px; border-radius: 3px;
  background: #cfd5ee;
}
.m-lines span.short { width: 60%; }
.mobile-screen .bar {
  height: 10px; border-radius: 5px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
  opacity: .85;
}
.mobile-screen .bar.short { width: 60%; opacity: .5; }
.m-cta {
  margin-top: auto;
  height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  box-shadow: 0 6px 14px rgba(58,92,240,.35);
}

.card-uptime {
  top: 30px; right: -10px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  animation-delay: -4s;
}
.pulse {
  width: 12px; height: 12px; border-radius: 50%;
  background: #06d6a0;
  animation: pulse-ring 2s infinite;
}
.card-uptime .stat-num { font-size: 1rem; }
.card-uptime .stat-label { font-size: .78rem; }

.chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  animation: float-y 5s ease-in-out infinite;
}
.chip-1 { top: 200px; left: -10px; animation-delay: -1.5s; }
.chip-2 { top: 250px; right: 30px; animation-delay: -2.5s; }
.chip-3 { bottom: 0; left: 100px; animation-delay: -3.5s; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; position: relative; }
.section-alt {
  background:
    radial-gradient(800px 400px at 90% 10%, rgba(58,92,240,.10), transparent 60%),
    var(--bg-soft);
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-head p { font-size: 1.05rem; }
.section-head .eyebrow {
  background: rgba(58,92,240,.14);
  color: #b3c1ff;
  border: 1px solid rgba(107,133,255,.25);
}

/* Services — animated cosmic cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.svc-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s;
  isolation: isolate;
}
.svc-card::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, rgba(107,133,255,.9) 80%, rgba(58,92,240,.6) 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.svc-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), rgba(107,133,255,.12), transparent 50%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
  z-index: -1;
}
.svc-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}
.svc-card:hover::before { opacity: 1; animation: svcRotate 4s linear infinite; }
.svc-card:hover::after { opacity: 1; }
.svc-card h3 { color: #fff; }
.svc-card p { margin: 0; color: var(--muted); }
@keyframes svcRotate { to { --ang: 360deg; } }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

.svc-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(58,92,240,.25), rgba(107,133,255,.10));
  border: 1px solid rgba(107,133,255,.3);
  color: #c8d4ff;
  display: grid; place-items: center;
  margin-bottom: 18px;
  transition: transform .3s, background .3s, color .3s;
}
.svc-card:hover .svc-icon {
  transform: scale(1.08) rotate(-4deg);
  background: linear-gradient(135deg, rgba(58,92,240,.55), rgba(107,133,255,.25));
  color: #fff;
  box-shadow: 0 0 30px rgba(107,133,255,.5);
}
.svc-icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  counter-reset: stp;
}
.steps li {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
  position: relative;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.steps li:hover {
  transform: translateY(-4px);
  border-color: rgba(107,133,255,.4);
  box-shadow: 0 10px 30px rgba(58,92,240,.2);
}
.steps h3 { color: #fff; }
.steps p { color: var(--muted); margin: 0; }
.step-num {
  font-family: 'Plus Jakarta Sans';
  font-weight: 800;
  font-size: 1.6rem;
  background: linear-gradient(135deg, #6b85ff, #3a5cf0);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--bg-card-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(107,133,255,.35);
}
.price-featured {
  background: linear-gradient(180deg, rgba(58,92,240,.18), rgba(58,92,240,.06));
  border: 2px solid var(--blue-500);
  box-shadow: var(--shadow-md);
}
[data-theme="light"] .price-card { background: #fff; }
[data-theme="light"] .price-featured { background: linear-gradient(180deg, #ffffff, #f4f7ff); }
.price-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.price-head h3 { margin-bottom: 6px; font-size: 1.25rem; }
.price-head p { font-size: .92rem; min-height: 2.6em; }

.price-tag {
  display: flex; align-items: baseline; gap: 6px;
  margin: 8px 0 4px;
  color: var(--ink);
}
.price-tag .currency {
  font-family: 'Plus Jakarta Sans';
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--blue-400);
}
[data-theme="light"] .price-tag .currency { color: var(--blue-700); }
.price-tag .amount {
  font-family: 'Plus Jakarta Sans';
  font-weight: 800;
  font-size: 2.6rem;
  letter-spacing: -.02em;
  line-height: 1;
}
.price-tag .per {
  font-size: .9rem;
  color: var(--muted);
  margin-left: 4px;
}
.price-sub {
  color: var(--muted);
  font-size: .88rem;
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}
.price-sub em {
  color: var(--blue-400);
  font-style: normal;
  font-weight: 600;
}
[data-theme="light"] .price-sub em { color: var(--blue-700); }
.price-list {
  list-style: none; padding: 0; margin: 0 0 22px;
  display: grid; gap: 10px;
  flex: 1;
}
.price-list li {
  position: relative;
  padding-left: 26px;
  font-size: .94rem;
  color: var(--ink);
}
[data-theme="light"] .price-list li { color: #2b3666; }
.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 18px; height: 18px;
  background: rgba(58,92,240,.25);
  color: #c8d4ff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .72rem;
  font-weight: 700;
}
[data-theme="light"] .price-list li::before { background: var(--blue-50); color: var(--blue-700); }

/* Pricing CTAs need visible text in dark mode */
.price-card .btn-ghost { color: var(--ink); border-color: var(--line-strong); background: rgba(255,255,255,.04); }
.price-card .btn-ghost:hover { background: rgba(58,92,240,.18); border-color: var(--blue-500); color: #fff; }
[data-theme="light"] .price-card .btn-ghost { color: var(--ink); background: transparent; border-color: var(--line-strong); }
[data-theme="light"] .price-card .btn-ghost:hover { background: var(--blue-50); color: var(--blue-700); }

.addons {
  margin-top: 50px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.addons-title {
  margin: 0 0 18px;
  font-size: 1.1rem;
}
.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.addon {
  background: var(--bg-card-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
}
[data-theme="light"] .addon { background: #fff; }
.addon strong { color: var(--ink); font-weight: 600; }
.addon span { color: var(--blue-400); font-weight: 700; white-space: nowrap; }
[data-theme="light"] .addon span { color: var(--blue-700); }
.addons-note {
  margin: 18px 0 0;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
}
.addons-note strong { color: var(--ink); }

/* About */
.about-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 60px; align-items: center;
}
.facts {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px;
}
.facts li {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: grid; gap: 4px;
}
.facts strong { color: var(--ink); font-weight: 700; }
.facts span { color: var(--muted); font-size: .94rem; }

/* CTA / Contact */
.section-cta {
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(135deg, var(--blue-800), var(--blue-600));
  color: #fff;
}
.section-cta h2 { color: #fff; }
.section-cta p { color: rgba(255,255,255,.82); }
.cta-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
  align-items: center;
}
.contact-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 10px; }
.contact-list a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact-list .ic {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(255,255,255,.14);
  margin-right: 8px;
}

.contact-form {
  background: rgba(10, 16, 36, .55);
  color: #e9edff;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: grid; gap: 14px;
}
.contact-form .field label { color: #e9edff; }
.field { display: grid; gap: 6px; }
.field label { font-size: .9rem; font-weight: 600; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  font: inherit;
  color: #f3f6ff;
  background: rgba(255,255,255,.06);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field select option { color: #0f1840; background: #fff; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(233,237,255,.5); }

[data-theme="light"] .contact-form {
  background: #ffffff;
  color: #0f1840;
  border-color: #e2e7f5;
  box-shadow: var(--shadow-md);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
[data-theme="light"] .contact-form .field label { color: #1f2746; }
[data-theme="light"] .field input,
[data-theme="light"] .field select,
[data-theme="light"] .field textarea {
  background: #fff;
  color: #0f1840;
  border-color: #d9def0;
}
[data-theme="light"] .field input::placeholder,
[data-theme="light"] .field textarea::placeholder { color: #8893b8; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(58,92,240,.15);
}
.field textarea { resize: vertical; }
.form-status { margin: 4px 0 0; font-size: .9rem; min-height: 1.2em; }
.form-status.ok { color: #0a8c5a; }
.form-status.err { color: #c0392b; }

/* Footer */
.footer {
  background: #0a1238;
  color: #cfd5ee;
  padding: 60px 0 24px;
}
.footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.footer .brand { color: #fff; }
.footer .brand-name { color: #fff; }
.footer .brand-name span { color: var(--blue-400); }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: #cfd5ee; }
.footer-links a:hover { color: #fff; }
.muted { color: #9aa3c7; font-size: .9rem; }
.footer-base {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; font-size: .9rem; flex-wrap: wrap; gap: 10px;
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { height: 440px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    padding: 14px 22px;
    gap: 4px;
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .hero { padding: 50px 0 70px; }
  .hero-visual { height: 420px; }
  .card-code { right: 40px; }
  .card-mobile { width: 140px; height: 220px; }
  .card-uptime { right: 0; }
  .chip-1 { left: 0; }
  .chip-2 { right: 10px; }
  .chip-3 { left: 60px; }
}

/* ---------- Theme Toggle Button ---------- */
.theme-toggle {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-grid; place-items: center;
  cursor: pointer;
  margin-left: 6px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.theme-toggle:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); transform: translateY(-1px); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle {
  background: #fff;
  border-color: #d9def0;
  color: #1f2746;
}
[data-theme="light"] .theme-toggle:hover { background: #f1f4ff; }

/* ---------- LIGHT THEME OVERRIDES ----------
   Hero (Odyssey) keeps its cosmic look in both modes. */
[data-theme="light"] {
  --ink:      #0f1840;
  --muted:    #4d5a86;
  --bg:       #f6f8ff;
  --bg-soft:  #eef2ff;
  --bg-card:  #ffffff;
  --bg-card-strong: #ffffff;
  --line:     #e2e7f5;
  --line-strong: #c8d0e8;
  --blue-50:  rgba(58,92,240,.10);
  --shadow-sm: 0 4px 14px rgba(31,51,168,.10);
  --shadow-md: 0 18px 50px rgba(31,51,168,.18);
}
[data-theme="light"] body {
  background: var(--bg);
  background-image:
    radial-gradient(1100px 700px at 85% -10%, rgba(58,92,240,.10), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(107,133,255,.10), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(43,70,214,.08), transparent 60%);
}
[data-theme="light"] a { color: var(--blue-700); }
[data-theme="light"] a:hover { color: var(--blue-600); }

/* Nav */
[data-theme="light"] .nav-wrap { background: transparent; }
[data-theme="light"] .nav {
  background: rgba(255,255,255,.75);
  border-color: rgba(31,51,168,.08);
  box-shadow: 0 10px 30px rgba(31,51,168,.10);
}
[data-theme="light"] .nav-wrap.scrolled .nav {
  background: rgba(255,255,255,.92);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(31,51,168,.14);
}
[data-theme="light"] .brand-full-nav { filter: none; }
[data-theme="light"] .nav-links a { color: var(--ink); }
[data-theme="light"] .nav-links a:hover { background: var(--blue-50); color: var(--blue-700); }
[data-theme="light"] .nav-links .btn { color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); border-color: transparent; }
[data-theme="light"] .nav-toggle { border-color: var(--line); }
[data-theme="light"] .nav-toggle span { background: var(--ink); }
[data-theme="light"] .theme-toggle { background: #fff; border-color: #d9def0; color: #1f2746; }
[data-theme="light"] .theme-toggle:hover { background: #f1f4ff; }

/* Buttons */
[data-theme="light"] .btn-ghost { color: var(--ink); border-color: var(--line-strong); }
[data-theme="light"] .btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-700); background: var(--blue-50); }

/* Sections */
[data-theme="light"] .section-alt {
  background:
    radial-gradient(800px 400px at 90% 10%, rgba(58,92,240,.08), transparent 60%),
    var(--bg-soft);
}
[data-theme="light"] .section-head .eyebrow {
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid rgba(58,92,240,.2);
}

/* Service cards */
[data-theme="light"] .svc-card {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: 0 2px 10px rgba(31,51,168,.05);
}
[data-theme="light"] .svc-card h3 { color: var(--ink); }
[data-theme="light"] .svc-card p  { color: var(--muted); }
[data-theme="light"] .svc-icon {
  background: linear-gradient(135deg, rgba(58,92,240,.14), rgba(107,133,255,.06));
  border-color: rgba(58,92,240,.25);
  color: var(--blue-700);
}
[data-theme="light"] .svc-card:hover .svc-icon {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
  box-shadow: 0 10px 24px rgba(58,92,240,.35);
}

/* Steps */
[data-theme="light"] .steps li {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 2px 10px rgba(31,51,168,.05);
}
[data-theme="light"] .steps h3 { color: var(--ink); }

/* Pricing — already light-toned, just normalize */
[data-theme="light"] .price-card { background: #fff; }
[data-theme="light"] .price-list li { color: var(--ink); }
[data-theme="light"] .addons { background: #fff; }
[data-theme="light"] .addon { background: var(--bg-soft); }

/* About / Facts */
[data-theme="light"] .facts li { background: #fff; border-color: var(--line); }

/* Contact form on CTA section keeps white card; CTA keeps blue gradient (works in both modes) */

/* Footer in light mode */
[data-theme="light"] .footer {
  background: #0a1238; /* keep dark footer for contrast in both modes */
  color: #cfd5ee;
}

/* Hero always stays dark cosmic, even in light mode */
[data-theme="light"] .hero-odyssey,
[data-theme="light"] .hero-odyssey * {
  color-scheme: dark;
}
[data-theme="light"] .hero-odyssey {
  background: #000;
  color: #fff;
}
[data-theme="light"] .hero-odyssey .hero-title,
[data-theme="light"] .hero-odyssey .hero-subtitle,
[data-theme="light"] .hero-odyssey .hero-desc,
[data-theme="light"] .hero-odyssey h1,
[data-theme="light"] .hero-odyssey h2,
[data-theme="light"] .hero-odyssey h3 {
  color: #fff;
}
[data-theme="light"] .hero-odyssey .hero-pill,
[data-theme="light"] .hero-odyssey .hero-pill:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: #e7ecff;
}
[data-theme="light"] .hero-odyssey .btn-on-dark {
  color: #fff !important;
  border-color: rgba(255,255,255,.45) !important;
  background: rgba(255,255,255,.08) !important;
}
[data-theme="light"] .hero-odyssey .btn-on-dark:hover {
  background: rgba(255,255,255,.18) !important;
  border-color: rgba(255,255,255,.7) !important;
}
[data-theme="light"] .hero-odyssey .hue-slider {
  color: rgba(255,255,255,.6);
}
[data-theme="light"] .hero-odyssey .hue-slider label,
[data-theme="light"] .hero-odyssey .hue-value {
  color: rgba(255,255,255,.8);
}

/* Mobile menu panel */
@media (max-width: 680px) {
  [data-theme="light"] .nav-links {
    background: #fff;
    border-bottom-color: var(--line);
  }
}

/* Respect prefers-reduced-motion for theme transition */
html { transition: background-color .25s ease; }
body, .nav-wrap, .svc-card, .steps li, .price-card, .addon, .facts li, .theme-toggle {
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
