/* ---------- 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,
.btn-primary:link,
.btn-primary:visited {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover,
.btn-primary:focus { transform: translateY(-1px); box-shadow: var(--shadow-md); color:#fff; }
.btn-ghost,
.btn-ghost:link,
.btn-ghost:visited {
  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: 64px;
  width: auto;
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin: -10px 6px -10px -6px;
  filter: brightness(0) invert(1);
}
@media (max-width: 640px) {
  .brand-full-nav { height: 48px; margin: -8px 4px -8px -4px; }
}
.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;
  white-space: nowrap;
  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: max(100vh, 820px);
  padding: 130px 0 0;
  display: flex;
  align-items: flex-end;
  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: 0 22px 32px;
  margin-top: auto;
}
.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: 'Orbitron', 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 .5rem;
  color: #fff;
  line-height: 1.1;
}
.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: 64px 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 36px; }
.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: 18px;
}
.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, var(--s1, #6b85ff), var(--s2, #3a5cf0));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}

/* Rainbow accent per step — same palette family as trust-card */
.steps li:nth-child(1) { --s1: #6b85ff; --s2: #3a5cf0; }   /* indigo */
.steps li:nth-child(2) { --s1: #34d399; --s2: #059669; }   /* emerald */
.steps li:nth-child(3) { --s1: #fbbf24; --s2: #f59e0b; }   /* amber */
.steps li:nth-child(4) { --s1: #f472b6; --s2: #db2777; }   /* pink */
.steps li {
  background:
    radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--s1, #6b85ff) 9%, transparent) 0%, transparent 55%),
    var(--bg-card);
}
.steps li:hover {
  border-color: color-mix(in srgb, var(--s1, #6b85ff) 45%, transparent);
  box-shadow: 0 14px 36px -14px color-mix(in srgb, var(--s1, #6b85ff) 55%, transparent);
}

/* Pricing */
.promo-banner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0 auto 28px;
  max-width: 920px;
  padding: 16px 22px;
  border-radius: 16px;
  background: linear-gradient(120deg,
    color-mix(in srgb, var(--s1, #6b85ff) 22%, transparent),
    color-mix(in srgb, #ffb547 28%, transparent));
  border: 1px solid color-mix(in srgb, #ffb547 60%, transparent);
  box-shadow: 0 18px 40px -22px color-mix(in srgb, #ffb547 70%, transparent);
  animation: promoPulse 2.6s ease-in-out infinite;
}
.promo-banner::before {
  content: "";
  position: absolute; inset: -2px;
  border-radius: inherit;
  background: linear-gradient(120deg, #ffb547, #ff7849, #6b85ff);
  z-index: -1;
  filter: blur(18px);
  opacity: .35;
}
.promo-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ff7849;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 18px -6px rgba(255, 120, 73, .7);
}
.promo-banner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text, #f5f7ff);
}
.promo-banner a {
  font-weight: 700;
  color: #ff7849;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.promo-banner a:hover { color: #ffb547; }
@keyframes promoPulse {
  0%, 100% { box-shadow: 0 18px 40px -22px color-mix(in srgb, #ffb547 70%, transparent); }
  50%      { box-shadow: 0 22px 50px -18px color-mix(in srgb, #ff7849 80%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .promo-banner { animation: none; }
}

.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-maint-label {
  display: inline-block;
  background: rgba(76, 124, 255, 0.14);
  color: var(--blue-400);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 6px;
  margin-right: 6px;
  vertical-align: middle;
}
[data-theme="light"] .price-maint-label {
  background: rgba(31, 51, 168, 0.10);
  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: 12px; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-list a,
.contact-list a:link,
.contact-list a:visited {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.55);
  text-underline-offset: 3px;
  transition: color .2s, text-decoration-color .2s;
}
.contact-list a:hover,
.contact-list a:focus { color: #c8d4ff; text-decoration-color: #c8d4ff; }
.contact-list .ic {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(107,133,255,.32), rgba(255,255,255,.10));
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(58,92,240,.22);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.contact-list li:hover .ic {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(107,133,255,.5), rgba(255,255,255,.16));
  box-shadow: 0 10px 22px rgba(58,92,240,.35);
}
.contact-list .ic svg { width: 18px; height: 18px; display: block; }

.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 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { max-width: 320px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: #cfd5ee; transition: color .2s ease; }
.footer-links a:hover { color: #fff; }

.footer-social {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px;
}
.footer-social a {
  display: inline-flex; align-items: center; gap: 14px;
  color: #cfd5ee;
  font-size: .95rem;
  transition: color .2s ease;
}
.footer-social a:hover { color: #fff; }
.footer-social svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: #cfd5ee;
  transition: color .2s ease, transform .2s ease;
}
.footer-social a:hover svg { color: var(--blue-400); transform: translateY(-1px); }
.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: 1023px) {
  .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; white-space: normal; }
}

@media (max-width: 680px) {
  .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: 44px 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;
}

/* ========================================================================
   Sub-page styles (about / careers / contact / privacy / terms)
   ======================================================================== */
.page-hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -20%, rgba(58,92,240,.30), transparent 60%),
    radial-gradient(900px 400px at 0% 0%, rgba(107,133,255,.18), transparent 65%),
    linear-gradient(180deg, #050818 0%, #0a1238 100%);
  color: #fff;
  padding: 170px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107,133,255,.4), transparent);
}
.page-hero .eyebrow {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #cfd5ee;
  margin-bottom: 14px;
}
.page-hero h1 {
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.2;
  margin: 0 0 12px;
  background: linear-gradient(135deg, #fff 0%, #b9c4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero p.lead {
  max-width: 680px;
  color: #cfd5ee;
  font-size: .98rem;
  line-height: 1.6;
  margin: 0;
}
.page-breadcrumb {
  font-size: .8rem;
  color: #8c97c0;
  margin-bottom: 14px;
}
.page-breadcrumb a { color: #b9c4ff; }
.page-breadcrumb a:hover { color: #fff; }
.page-breadcrumb span { margin: 0 6px; opacity: .6; }

.page-section {
  padding: 56px 0;
}
.page-content {
  max-width: 760px;
  margin: 0 auto;
  color: var(--ink);
  line-height: 1.7;
  font-size: .95rem;
}
.page-content h2 {
  margin: 36px 0 12px;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.005em;
}
.page-content h3 {
  margin: 24px 0 8px;
  font-size: 1rem;
  font-weight: 700;
}
.page-content p { margin: 0 0 12px; }
.page-content ul, .page-content ol { margin: 0 0 16px; padding-left: 20px; }
.page-content li { margin-bottom: 6px; }
.page-content a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.page-content a:hover { color: var(--blue-700); }
/* Don't underline / recolor anchors that are styled as buttons */
.page-content a.btn,
.page-content a.btn:hover { text-decoration: none; }
.page-content a.btn-primary,
.page-content a.btn-primary:hover { color: #fff; }
.page-content a.btn-ghost { color: var(--ink); }
.page-content a.btn-ghost:hover { color: var(--blue-700); }
.page-content .updated {
  display: inline-block;
  font-size: .78rem;
  color: var(--muted);
  padding: 5px 11px;
  background: rgba(58,92,240,.08);
  border: 1px solid rgba(58,92,240,.18);
  border-radius: 999px;
  margin-bottom: 22px;
}

/* Value/feature grid for About */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}
.value-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(107,133,255,.5);
  box-shadow: 0 14px 40px rgba(58,92,240,.12);
}
.value-card .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(58,92,240,.18), rgba(107,133,255,.06));
  border: 1px solid rgba(107,133,255,.3);
  display: grid; place-items: center;
  margin-bottom: 14px;
  color: var(--blue-600);
}
.value-card .ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.value-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.value-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Careers job cards */
.job-list { display: grid; gap: 16px; margin-top: 24px; }
.job-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.job-card:hover {
  border-color: rgba(107,133,255,.5);
  box-shadow: 0 14px 40px rgba(58,92,240,.10);
  transform: translateY(-2px);
}
.job-card h3 { margin: 0 0 4px; font-size: 1.1rem; }
.job-card .meta { color: var(--muted); font-size: .9rem; }
.job-card .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.job-card .tag {
  font-size: .78rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(58,92,240,.10);
  color: var(--blue-600);
  border: 1px solid rgba(58,92,240,.18);
}

/* Contact info cards */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}
.contact-card .ico {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(58,92,240,.18), rgba(107,133,255,.06));
  border: 1px solid rgba(107,133,255,.3);
  display: grid; place-items: center;
  color: var(--blue-600);
}
.contact-card .ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h3 { margin: 0 0 6px; font-size: 1rem; }
.contact-card a, .contact-card span { color: var(--ink); font-weight: 600; }

@media (max-width: 880px) {
  .value-grid, .contact-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .value-grid, .contact-cards { grid-template-columns: 1fr; }
  .page-hero { padding: 140px 0 50px; }
  .page-section { padding: 40px 0; }
}

/* ===== FAQ accordion (SEO section) ===== */
.faq-list { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq-item {
  background: var(--card, rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px 20px;
  transition: border-color .2s ease, background .2s ease;
}
.faq-item[open] { border-color: rgba(120,140,255,0.45); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  opacity: .7;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 12px 0 0;
  opacity: .85;
  line-height: 1.65;
}

/* Pricing tables on service & location pages */
.page-content table.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 28px;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  overflow: hidden;
}
.page-content table.pricing-table th,
.page-content table.pricing-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  vertical-align: top;
}
.page-content table.pricing-table th {
  background: rgba(255,255,255,0.04);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.82rem;
  text-transform: uppercase;
  opacity: 0.85;
}
.page-content table.pricing-table tr:last-child td {
  border-bottom: 0;
}
.page-content table.pricing-table td:last-child {
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .page-content table.pricing-table {
    font-size: 0.85rem;
  }
  .page-content table.pricing-table th,
  .page-content table.pricing-table td {
    padding: 9px 10px;
  }
}
.page-content ol { padding-left: 22px; line-height: 1.7; }
.page-content ol li { margin-bottom: 8px; }
.page-content h2 { margin-top: 36px; }
.page-content h3 { margin-top: 24px; }

/* ========================================================================
   RESPONSIVE ENHANCEMENTS (v2, 2026-05-26)
   Adds tablet (768-1024px) and small-phone (<=480px) refinements without
   touching existing rules. Mobile-first additions are placed last so they
   override correctly when matching the same selectors.
   ======================================================================== */

/* ---- Global overflow / fluid safety ---- */
html, body { overflow-x: hidden; }
img, video, iframe, svg, canvas { max-width: 100%; height: auto; }
/* Prevent grid/flex children from blowing out their containers */
.services-grid > *,
.steps > *,
.price-grid > *,
.addons-grid > *,
.footer-grid > *,
.hero-grid > *,
.about-grid > *,
.cta-grid > *,
.value-grid > *,
.contact-cards > *,
.job-list > * { min-width: 0; }
/* Long unbroken strings (URLs, code) should wrap on small screens */
p, li, h1, h2, h3, h4, td, th, a { overflow-wrap: anywhere; word-break: break-word; }
code, pre { overflow-wrap: anywhere; word-break: break-word; }

/* iOS Safari: inputs with font-size <16px trigger auto-zoom on focus */
@media (max-width: 768px) {
  .field input,
  .field select,
  .field textarea { font-size: 16px; }
}

/* Pricing tables: horizontal scroll on small screens (no layout shift) */
.page-content table.pricing-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (min-width: 720px) {
  .page-content table.pricing-table { display: table; }
}

/* ---- Large desktop (>=1280px) keeps current layout ---- */

/* ---- Tablet landscape & small desktop (1024px - 1199px) ---- */
@media (max-width: 1199px) {
  .container { padding: 0 24px; }
  .nav { max-width: 100%; margin: 0 18px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .price-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .hero-grid { gap: 40px; }
  .section { padding: 56px 0; }
}

/* ---- Tablet portrait (768px - 1023px) ---- */
@media (max-width: 1023px) {
  .container { padding: 0 22px; }
  .nav { padding: 8px 14px; }

  /* Hero collapses to single column earlier than the previous 960px rule */
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { height: 380px; max-width: 520px; margin: 0 auto; }
  .hero-odyssey { min-height: 88vh; }
  .hero-odyssey-content { padding: 100px 22px 80px; }

  /* 2-up grids for tablets */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .price-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { max-width: 100%; grid-column: 1 / -1; }

  .page-hero { padding: 140px 0 50px; }
  .page-section { padding: 40px 0; }
  .section { padding: 52px 0; }

  /* Trust strip - 2 per row on tablet */
  .trust { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Mobile (<=767px) ---- */
@media (max-width: 767px) {
  :root { --maxw: 100%; }
  .container { padding: 0 16px; }

  /* Nav: ensure mobile menu pops correctly even at 767 */
  .nav-toggle { display: block; }
  .nav { padding: 8px 12px; gap: 8px; }
  .nav-links {
    position: absolute; top: 64px; left: 12px; right: 12px;
    background: rgba(10, 12, 22, .95);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    backdrop-filter: saturate(180%) blur(22px);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
    flex-direction: column; align-items: stretch;
    padding: 12px;
    gap: 4px;
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    box-shadow: 0 18px 50px rgba(0,0,0,.45);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; border-radius: 12px; width: 100%; text-align: left; }
  .nav-links .btn { width: 100%; justify-content: center; padding: 12px 14px; }
  [data-theme="light"] .nav-links {
    background: rgba(255,255,255,.96);
    border-color: var(--line);
  }

  /* Hero shrinks gracefully on phones */
  .hero { padding: 40px 0 60px; }
  .hero-odyssey { min-height: 92vh; }
  .hero-odyssey-content { padding: 80px 18px 70px; }
  .hero-title { letter-spacing: .05em; }
  .hero-desc { font-size: .98rem; padding: 0 6px; }
  .hero-cta-row { width: 100%; }
  .hero-cta-row .btn { width: 100%; max-width: 320px; }
  .hero-visual { height: 360px; }
  .hero-glow, .hero-planet { width: 320px; height: 320px; }

  /* All grids collapse to single column */
  .services-grid,
  .steps,
  .price-grid,
  .addons-grid,
  .value-grid,
  .contact-cards,
  .footer-grid { grid-template-columns: 1fr; gap: 14px; }
  .price-grid { max-width: 100%; }

  .trust { grid-template-columns: 1fr 1fr; }
  .section, .section-cta { padding: 40px 0; }
  .page-hero { padding: 120px 0 32px; }
  .page-section { padding: 28px 0; }
  .section-head { margin-bottom: 24px; }

  /* Job cards: stack content + button on small screens */
  .job-card { flex-direction: column; align-items: flex-start; }
  .job-card .btn { width: 100%; justify-content: center; }

  /* Footer cleanup */
  .footer { padding: 44px 0 20px; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; }
  .footer-brand { max-width: 100%; }

  /* Contact form padding */
  .contact-form { padding: 20px; gap: 12px; }
  .addons { padding: 20px; }

  /* Hero brand logo on phones */
  .brand-full-nav { height: 44px; margin: -8px 4px -8px -4px; }

  /* Pricing cards: tighter padding */
  .price-card { padding: 24px 20px; }
  .price-tag .amount { font-size: 2.2rem; }
}

/* ---- Small phone (<=480px) ---- */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  h2 { font-size: clamp(1.35rem, 5.5vw, 1.75rem); }
  .nav-wrap { top: 10px; }
  .nav { padding: 6px 10px; border-radius: 22px; }
  .brand-full-nav { height: 40px; }
  .hero-pill { font-size: .85rem; padding: 8px 14px; margin-bottom: 18px; }
  .hero-title { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .hero-subtitle { font-size: clamp(1.2rem, 6vw, 1.9rem); }
  .hero-odyssey-content { padding: 70px 14px 60px; }
  .hero-glow, .hero-planet { width: 260px; height: 260px; }
  .hero-feature { display: none; }
  .btn, .hero-cta-row .btn, .hero-discover { padding: 12px 18px; font-size: .92rem; }
  .price-card { padding: 22px 16px; }
  .price-tag .amount { font-size: 2rem; }
  .price-tag .currency { font-size: 1.25rem; }
  .price-head h3 { font-size: 1.1rem; }
  .svc-card { padding: 22px 18px; }
  .steps li { padding: 22px 18px; }
  .section, .section-cta { padding: 32px 0; }
  .page-hero { padding: 110px 0 28px; }
  .page-hero h1 { font-size: clamp(1.4rem, 5.5vw, 1.85rem); }
  .page-section { padding: 30px 0; }
  .addons-note { font-size: .82rem; }
  .footer { padding: 36px 0 18px; }
  .footer h4 { margin-bottom: 10px; }
  .footer-links { gap: 8px; }
  /* Hide decorative cards that overlap on tiny screens */
  .card-code, .card-mobile, .card-uptime, .card-stat,
  .chip-1, .chip-2, .chip-3,
  .orb-1, .orb-2 { display: none; }
  .hero-visual { height: 0; padding: 0; margin: 0; }
}

/* ---- Landscape phones (height-constrained) ---- */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero-odyssey { min-height: 100vh; }
  .hero-odyssey-content { padding: 70px 18px 30px; }
  .hero-glow, .hero-planet { width: 280px; height: 280px; }
  .nav-wrap { top: 8px; }
}

/* ---- Reduced motion respect ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-lightning { display: none; }
}

/* ============================================================
   Industries grid — compact 4-column variant of services-grid
   Keeps the section visually lighter than the main Services row
   ============================================================ */
.industries-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.industries-grid .svc-card {
  padding: 18px 18px 18px 22px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.012));
  --ic: #6b85ff;          /* accent color per card (set via nth-child) */
  overflow: hidden;
}
.industries-grid .svc-card h3 {
  font-size: 0.98rem;
  margin: 0 0 6px;
  letter-spacing: -0.005em;
  line-height: 1.3;
  position: relative;
  padding-right: 16px;    /* leave room for the dot */
}
.industries-grid .svc-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}
.industries-grid .svc-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--ic) 50%, transparent);
  box-shadow: 0 14px 30px -16px color-mix(in srgb, var(--ic) 55%, transparent);
}

/* Left-edge accent stripe (animated grow on hover) */
.industries-grid .svc-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  width: 3px;
  height: 72%;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--ic), color-mix(in srgb, var(--ic) 35%, transparent));
  opacity: .55;
  transform: scaleY(.55);
  transform-origin: center;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s, box-shadow .3s;
  z-index: 1;
  /* disable the inherited cosmic conic-border on the compact variant */
  -webkit-mask: none;
          mask: none;
  padding: 0;
}
.industries-grid .svc-card:hover::before {
  transform: scaleY(1);
  opacity: 1;
  box-shadow: 0 0 14px color-mix(in srgb, var(--ic) 70%, transparent);
}

/* Pulsing corner dot */
.industries-grid .svc-card::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ic);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--ic) 55%, transparent);
  animation: industryPulse 2.4s ease-out infinite;
  z-index: 1;
  /* override inherited radial-gradient hover halo */
  inset: auto 16px auto auto;
  opacity: 1;
}
.industries-grid .svc-card:hover::after {
  animation-duration: 1.2s;
}
@keyframes industryPulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ic) 65%, transparent); }
  70%  { box-shadow: 0 0 0 10px color-mix(in srgb, var(--ic) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ic) 0%, transparent); }
}

/* Hover shimmer sweep (background gradient that moves across the card) */
.industries-grid .svc-card {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.012)),
    linear-gradient(115deg,
      transparent 30%,
      color-mix(in srgb, var(--ic) 16%, transparent) 50%,
      transparent 70%);
  background-size: 100% 100%, 220% 100%;
  background-position: 0 0, -120% 0;
  background-repeat: no-repeat;
  transition:
    transform .35s cubic-bezier(.2,.8,.2,1),
    border-color .3s,
    box-shadow .3s,
    background-position .9s cubic-bezier(.2,.8,.2,1);
}
.industries-grid .svc-card:hover {
  background-position: 0 0, 120% 0;
}

/* Per-card accent palette (12 unique colors) */
.industries-grid .svc-card:nth-child(1)  { --ic: #6b85ff; } /* indigo */
.industries-grid .svc-card:nth-child(2)  { --ic: #a78bfa; } /* violet */
.industries-grid .svc-card:nth-child(3)  { --ic: #f472b6; } /* pink */
.industries-grid .svc-card:nth-child(4)  { --ic: #34d399; } /* emerald */
.industries-grid .svc-card:nth-child(5)  { --ic: #fbbf24; } /* amber */
.industries-grid .svc-card:nth-child(6)  { --ic: #22d3ee; } /* cyan */
.industries-grid .svc-card:nth-child(7)  { --ic: #fb7185; } /* rose */
.industries-grid .svc-card:nth-child(8)  { --ic: #facc15; } /* yellow */
.industries-grid .svc-card:nth-child(9)  { --ic: #8b5cf6; } /* purple */
.industries-grid .svc-card:nth-child(10) { --ic: #2dd4bf; } /* teal */
.industries-grid .svc-card:nth-child(11) { --ic: #fb923c; } /* orange */
.industries-grid .svc-card:nth-child(12) { --ic: #60a5fa; } /* sky */

@media (max-width: 1199px) {
  .industries-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (max-width: 900px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .industries-grid { grid-template-columns: 1fr; }
  .industries-grid .svc-card { padding: 16px 16px 16px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .industries-grid .svc-card::after { animation: none; }
}

/* ============================================================
   FAQ — 2-column layout with illustration
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.faq-illustration {
  position: sticky;
  top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.faq-illustration img {
  width: 100%;
  max-width: 660px;
  height: auto;
  filter: drop-shadow(0 28px 60px rgba(58,92,240,.28));
  border-radius: 0;
  background: transparent;
  padding: 0;
  animation: faqFloat 6s ease-in-out infinite;
}
@keyframes faqFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@media (max-width: 1100px) {
  .faq-illustration img { max-width: 540px; }
}
@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .faq-illustration {
    position: static;
    margin-bottom: 4px;
  }
  .faq-illustration img { max-width: 480px; padding: 0; }
}
@media (max-width: 520px) {
  .faq-illustration img { max-width: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-illustration img { animation: none; }
}

/* ---- High-DPI image crispness for logo in nav ---- */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .brand-full-nav { image-rendering: -webkit-optimize-contrast; }
}

/* ============================================================
   Scroll reveal — fade + lift with per-child stagger
   Applied to anything with [data-reveal]. If the element is a
   grid, its direct children stagger automatically.
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .7s cubic-bezier(.2,.8,.2,1),
    transform .7s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
/* Stagger direct children of a revealing grid */
[data-reveal="stagger"] > * {
  opacity: 0;
  transform: translateY(22px) scale(.985);
  transition:
    opacity .65s cubic-bezier(.2,.8,.2,1),
    transform .65s cubic-bezier(.2,.8,.2,1);
}
[data-reveal="stagger"].is-visible > * { opacity: 1; transform: none; }
[data-reveal="stagger"].is-visible > *:nth-child(1)  { transition-delay: .04s; }
[data-reveal="stagger"].is-visible > *:nth-child(2)  { transition-delay: .10s; }
[data-reveal="stagger"].is-visible > *:nth-child(3)  { transition-delay: .16s; }
[data-reveal="stagger"].is-visible > *:nth-child(4)  { transition-delay: .22s; }
[data-reveal="stagger"].is-visible > *:nth-child(5)  { transition-delay: .28s; }
[data-reveal="stagger"].is-visible > *:nth-child(6)  { transition-delay: .34s; }
[data-reveal="stagger"].is-visible > *:nth-child(7)  { transition-delay: .40s; }
[data-reveal="stagger"].is-visible > *:nth-child(8)  { transition-delay: .46s; }
[data-reveal="stagger"].is-visible > *:nth-child(9)  { transition-delay: .52s; }
[data-reveal="stagger"].is-visible > *:nth-child(10) { transition-delay: .58s; }
[data-reveal="stagger"].is-visible > *:nth-child(11) { transition-delay: .62s; }
[data-reveal="stagger"].is-visible > *:nth-child(12) { transition-delay: .66s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal="stagger"] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   Polish — pricing, addons, industries on hover
   ============================================================ */
.price-card { transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .35s; }
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px -22px rgba(58,92,240,.35);
  border-color: rgba(107,133,255,.45);
}
.price-card.featured,
.price-card.price-featured {
  position: relative;
  box-shadow: 0 14px 50px -18px rgba(58,92,240,.45);
}
.price-card.featured::after,
.price-card.price-featured::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(107,133,255,.85), rgba(58,92,240,.25) 60%, rgba(107,133,255,.85));
  -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;
  pointer-events: none;
  opacity: .9;
}
.price-card.featured:hover,
.price-card.price-featured:hover { transform: translateY(-8px); }

.addon { transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s; }
.addon:hover {
  transform: translateY(-3px);
  border-color: rgba(107,133,255,.45);
  background: linear-gradient(180deg, rgba(107,133,255,.06), rgba(255,255,255,.02));
}

/* ============================================================
   Trust grid — "Why us" 6 cards (color-coded, numbered, iconic)
   ============================================================ */
.trust-card {
  --t1: #6b85ff;
  --t2: #3a5cf0;
  padding-top: 32px;
  background:
    radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--t1) 10%, transparent) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}
.trust-card::before {
  background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, var(--t1) 80%, var(--t2) 90%, transparent 100%);
}
.trust-card::after {
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), color-mix(in srgb, var(--t1) 18%, transparent), transparent 50%);
}
.trust-card:hover {
  box-shadow: 0 18px 50px -20px color-mix(in srgb, var(--t1) 55%, transparent);
}

/* Numbered corner badge */
.trust-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, color-mix(in srgb, var(--t1) 35%, transparent), transparent);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s;
}
.trust-card:hover .trust-num {
  transform: translateY(-2px) scale(1.05);
  background: linear-gradient(180deg, color-mix(in srgb, var(--t1) 70%, transparent), color-mix(in srgb, var(--t2) 25%, transparent));
  -webkit-background-clip: text;
          background-clip: text;
}

/* Icon recolor per card */
.trust-icon {
  background: linear-gradient(135deg, color-mix(in srgb, var(--t1) 28%, transparent), color-mix(in srgb, var(--t2) 8%, transparent));
  border-color: color-mix(in srgb, var(--t1) 35%, transparent);
  color: color-mix(in srgb, var(--t1) 80%, #fff);
}
.trust-card:hover .trust-icon {
  background: linear-gradient(135deg, color-mix(in srgb, var(--t1) 60%, transparent), color-mix(in srgb, var(--t2) 28%, transparent));
  box-shadow: 0 0 32px color-mix(in srgb, var(--t1) 55%, transparent);
  color: #fff;
}

.trust-card h3 {
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  position: relative;
  padding-right: 56px; /* leave room for big number */
}
.trust-card p { font-size: 15px; line-height: 1.65; }

/* Six distinct accent colors — cohesive cosmic palette */
.trust-card--1 { --t1: #6b85ff; --t2: #3a5cf0; } /* indigo */
.trust-card--2 { --t1: #34d399; --t2: #059669; } /* emerald — pricing */
.trust-card--3 { --t1: #a78bfa; --t2: #7c3aed; } /* violet — seniority */
.trust-card--4 { --t1: #fbbf24; --t2: #f59e0b; } /* amber — time/SLA */
.trust-card--5 { --t1: #22d3ee; --t2: #0891b2; } /* cyan — modern stack */
.trust-card--6 { --t1: #f472b6; --t2: #db2777; } /* pink — support/care */

@media (max-width: 680px) {
  .trust-num { font-size: 36px; top: 12px; right: 14px; }
  .trust-card h3 { padding-right: 48px; }
}


/* Nearby-cities internal-link block on location pages (SEO/GEO) */
.nearby-cities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.5rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}
.nearby-cities li { padding: 0.25rem 0; }
.nearby-cities a { text-decoration: none; }
.nearby-cities a:hover { text-decoration: underline; }
