:root {
  --bg: #06070d;
  --bg-alt: #0b0f1d;
  --card: rgba(255,255,255,.05);
  --border: rgba(255,255,255,.12);
  --blue: #3b82f6;
  --blue-light: #8ab4ff;
  --blue-dark: #5b9dff;
  --olive: #8b5cf6;
  --olive-light: #b9a2ff;
  --olive-dark: #a78bfa;
  --white: #ffffff;
  --ink: #f4f6ff;
  --muted: #9aa3c4;
  --radius: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(ellipse 900px 600px at 15% -10%, rgba(59,130,246,.16), transparent 60%),
    radial-gradient(ellipse 900px 700px at 90% 10%, rgba(139,92,246,.16), transparent 60%),
    radial-gradient(ellipse 1000px 800px at 50% 100%, rgba(59,130,246,.08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-family: 'Inter', "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; }

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

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* PRELOADER */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.preloader-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-light), var(--olive));
  background-size: 220% 220%;
  animation: logoGradient 3s ease-in-out infinite, preloaderPulse 1.6s ease-in-out infinite;
}
@keyframes preloaderPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,.4), 0 0 30px rgba(139,92,246,.3); }
  50% { box-shadow: 0 0 0 10px rgba(59,130,246,0), 0 0 46px rgba(139,92,246,.55); }
}
.preloader-bar {
  width: 220px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,.1);
  overflow: hidden;
}
.preloader-fill {
  width: 0%;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--olive));
  transition: width .25s ease-out;
}
.preloader-text {
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* MOUSE-FOLLOW GLOW (global) */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  margin-left: -240px;
  margin-top: -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.16), rgba(139,92,246,.09) 45%, transparent 72%);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  will-change: transform;
  opacity: 0;
  transition: opacity .4s ease;
}
.cursor-glow.active { opacity: 1; }

/* FLOATING LIGHT STREAKS (global) */
.light-streaks {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.light-streak {
  position: absolute;
  top: -20%;
  width: 1.5px;
  height: 160px;
  background: linear-gradient(180deg, transparent, rgba(139,178,255,.45), transparent);
  filter: blur(.5px);
  opacity: 0;
  animation: streakDrift linear infinite;
}
@keyframes streakDrift {
  0% { transform: translateY(0) translateX(0) rotate(12deg); opacity: 0; }
  12% { opacity: .5; }
  85% { opacity: .5; }
  100% { transform: translateY(135vh) translateX(60px) rotate(12deg); opacity: 0; }
}

@media (max-width: 700px) {
  .cursor-glow { display: none; }
}

/* GLASSMORPHISM (applies backdrop blur to translucent --card surfaces) */
.service-card, .pricing-card, .faq-item, .contact-form input, .contact-form textarea, .compare-table {
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

/* 3D TILT UTILITY (applied via JS to cards throughout the site) */
.tilt-3d {
  transition: transform .4s cubic-bezier(.22,1,.36,1);
  transform-style: preserve-3d;
  will-change: transform;
  animation: cardFloat3D 5s ease-in-out infinite;
}
.tilt-3d.interacting { animation-play-state: paused; }
@keyframes cardFloat3D {
  0%, 100% { transform: rotateX(0deg) rotateY(0deg) translateY(0); }
  50% { transform: rotateX(5deg) rotateY(-6deg) translateY(-10px); }
}

.accent-blue { color: var(--blue-dark); }
.accent-white { color: var(--ink); }
.accent-olive { color: var(--olive-dark); }

.eyebrow {
  color: var(--olive-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.eyebrow.center, h2.center { text-align: center; }
h2.center { margin-left: auto; margin-right: auto; }

h1, h2, h3 { font-weight: 800; line-height: 1.15; }
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 40px; max-width: 560px; }
h3 { font-size: 19px; margin-bottom: 8px; }
p { color: var(--muted); }

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

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--olive));
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 8px 28px rgba(59,130,246,.4), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 14px 34px rgba(59,130,246,.5), 0 0 24px rgba(139,92,246,.4), 0 0 0 1px rgba(255,255,255,.1) inset;
}
.btn-ghost {
  background: rgba(255,255,255,.04);
  color: var(--ink);
  border: 1.5px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-light); background: rgba(59,130,246,.08); }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 7, 13, .5);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(120deg, var(--blue-light), var(--blue-dark), var(--blue-light));
  background-size: 220% 220%;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.5px;
  animation: logoGradient 4s ease-in-out infinite, logoPulse 3s ease-in-out infinite;
}
.logo-mark.small { width: 28px; height: 28px; font-size: 12px; border-radius: 7px; }
.logo-text .accent-white { color: var(--ink); }
.logo-text {
  background: linear-gradient(90deg, var(--blue-light) 0%, var(--white) 25%, var(--blue-light) 50%, var(--blue-light) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoShimmer 5s linear infinite;
}
.logo-text .accent-white {
  background: none;
  -webkit-text-fill-color: var(--ink);
}

@keyframes logoGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 139, 255, .45); }
  50% { box-shadow: 0 0 14px 4px rgba(47, 139, 255, .35); }
}
@keyframes logoShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: -250% 50%; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta { color: #fff; }
.nav-links a.active { color: var(--ink); position: relative; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-light), var(--blue-dark));
}
.nav-links a.active.nav-cta::after { display: none; }

/* PAGE HEADER (inner pages) */
.page-header {
  padding: 64px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.page-header h1 { margin-bottom: 12px; }
.page-header p { max-width: 560px; margin: 0 auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  background:
    radial-gradient(ellipse 700px 500px at 25% 20%, rgba(59,130,246,.28), transparent 65%),
    radial-gradient(ellipse 800px 600px at 85% 75%, rgba(139,92,246,.24), transparent 65%),
    linear-gradient(180deg, #050710 0%, #06070d 60%, #04050a 100%);
  color: #fff;
}
.hero .eyebrow { color: #b9ceff; }
.hero-sub { color: rgba(255,255,255,.72); }
.hero .accent-blue { color: #eaf5ff; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; }
.hero-glow {
  position: absolute;
  top: -200px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.3), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* HERO 3D CANVAS (Three.js glowing sphere + particles) */
.hero-3d-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-3d-canvas canvas { display: block; width: 100% !important; height: 100% !important; }

/* HERO STARFIELD */
.hero-stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  opacity: .3;
  animation-name: twinkle;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: .15; transform: scale(.7); }
  50% { opacity: 1; transform: scale(1.3); }
}
.sparkle {
  position: absolute;
  width: var(--size, 22px);
  height: var(--size, 22px);
  background: radial-gradient(circle, #f2f8ff 0%, #6ab4ff 45%, transparent 72%);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  filter: drop-shadow(0 0 8px rgba(106,180,255,.75));
  animation-name: sparkleTwinkle;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes sparkleTwinkle {
  0%, 100% { opacity: .45; transform: scale(.85) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(10deg); }
}

/* FLOATING EMBLEM */
.hero-emblem {
  position: absolute;
  top: 6%;
  right: 2%;
  width: 320px;
  height: 320px;
  z-index: 1;
  pointer-events: none;
}
.emblem-badge {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 38% 32%, rgba(106,180,255,.4), rgba(10,14,26,0) 68%);
  filter: drop-shadow(0 0 50px rgba(47,139,255,.4));
  animation: emblemFloat 6s ease-in-out infinite;
}
.emblem-mark {
  font-size: 128px;
  font-weight: 900;
  letter-spacing: -5px;
  background: linear-gradient(135deg, #f2f8ff, #6ab4ff 45%, #1a5fd1 80%, #f2f8ff);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: .4;
  animation: logoGradient 5s ease-in-out infinite;
}
@keyframes emblemFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.03); }
}

/* GRID FLOOR */
.hero-grid-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(106,180,255,.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106,180,255,.28) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(320px) rotateX(62deg);
  transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, black, transparent);
  mask-image: linear-gradient(to top, black, transparent);
  animation: gridScroll 2.5s linear infinite;
}
@keyframes gridScroll {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 42px, 0 0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}
.hero-sub {
  margin: 20px 0 30px;
  font-size: 17px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-stats div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong { font-size: 18px; color: var(--white); }
.hero-stats span { font-size: 13px; color: rgba(255,255,255,.7); }

.hero-visual {
  position: relative;
  height: 380px;
  perspective: 1400px;
}
.device {
  position: absolute;
  background: #0e1220;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
  overflow: hidden;
}
.device.laptop {
  width: 100%;
  max-width: 460px;
  height: 280px;
  top: 10px;
  left: 0;
}
.device.phone {
  width: 150px;
  height: 300px;
  right: 10px;
  bottom: -10px;
  border-radius: 22px;
  border: 4px solid #1c2740;
}
.device .screen { padding: 18px; height: 100%; background: linear-gradient(160deg, #0e1830, #0a0e1a); }

/* 3D ANIMATED LAPTOP */
.laptop-3d {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  max-width: 460px;
  height: 280px;
}
.laptop-3d-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: laptopFloat 6s ease-in-out infinite;
}
.laptop-lid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 224px;
  background: #0e1220;
  border: 1px solid #33456e;
  border-radius: 14px 14px 3px 3px;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
  overflow: hidden;
  transform: rotateX(-6deg);
  transform-origin: bottom center;
  backface-visibility: hidden;
}
.laptop-lid .screen { padding: 18px; height: 100%; background: linear-gradient(160deg, #0e1830, #0a0e1a); }
.laptop-camera {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #263455;
  z-index: 2;
}
.laptop-base {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 112%;
  height: 34px;
  background: linear-gradient(180deg, #34456f, #16223d);
  border: 1px solid #3a4d78;
  border-radius: 4px 4px 10px 10px;
  transform: translateX(-50%) rotateX(90deg);
  transform-origin: top center;
  box-shadow: 0 14px 28px rgba(0,0,0,.55);
  backface-visibility: hidden;
}
.laptop-base::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(157, 195, 255, .8), transparent);
}
.laptop-trackpad {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 14px;
  border-radius: 3px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(157, 195, 255, .25);
}
.laptop-glow {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 10px;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(47,139,255,.4), transparent 70%);
  filter: blur(10px);
  transform: rotateX(90deg);
  transform-origin: top center;
}
@keyframes laptopFloat {
  0%, 100% { transform: rotateX(5deg) rotateY(-9deg) translateY(0); }
  50% { transform: rotateX(5deg) rotateY(-5deg) translateY(-14px); }
}
.mock-nav { display: flex; align-items: center; gap: 6px; margin-bottom: 22px; }
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-light); }
.mock-link { width: 30px; height: 4px; border-radius: 3px; background: #2a3550; margin-left: 8px; }
.mock-h { font-weight: 800; font-size: 22px; line-height: 1.25; color: var(--white); margin-bottom: 18px; }
.mock-h.small { font-size: 18px; }
.mock-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
}
.mock-card {
  margin-top: 40px;
  background: #fff;
  color: #0a0e1a;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: fit-content;
}
.mock-card span { color: #6b7280; font-size: 11px; }
.mock-card strong { font-size: 18px; }
.mock-card em { color: var(--olive-dark); font-style: normal; font-size: 12px; font-weight: 700; }

.logos-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.logos-strip p { text-align: center; font-size: 14px; letter-spacing: .5px; }

/* ABOUT */
.about { padding: 100px 0; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.about-copy h2 { margin-bottom: 18px; }
.about-copy p { font-size: 16px; max-width: 440px; }
.about-points { display: flex; flex-direction: column; gap: 26px; perspective: 1000px; }
.point-num { color: var(--olive-dark); font-weight: 800; font-size: 14px; }
.point p { font-size: 14px; }

/* GLOBAL REACH / 3D TILT */
.reach { padding: 60px 0 100px; }
.reach-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.reach-copy > p { font-size: 16px; max-width: 440px; }
.reach-copy h2 { margin-bottom: 18px; }

.reach-list {
  list-style: none;
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.reach-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}
.reach-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--olive-dark);
  background: rgba(139,92,246,.16);
  border-radius: 50%;
  padding: 3px;
  box-sizing: content-box;
}

.tilt-wrap {
  perspective: 1200px;
  display: flex;
  justify-content: center;
}
.tilt-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 20px;
  transform-style: preserve-3d;
  transform: rotateX(0deg) rotateY(0deg) scale(1);
  transition: transform .5s cubic-bezier(.22,1,.36,1);
  animation: tiltFloat 6s ease-in-out infinite;
  box-shadow: 0 30px 70px rgba(0, 60, 160, .35), 0 0 0 1px rgba(90,160,255,.15);
  border-radius: 20px;
  overflow: hidden;
}
.tilt-card.dragging { transition: transform .05s linear; animation-play-state: paused; }
.tilt-card img {
  display: block;
  width: 100%;
  border-radius: 20px;
  transform: translateZ(0);
  pointer-events: none;
}
.tilt-glow {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.25), transparent 55%);
  opacity: 0;
  transition: opacity .3s ease;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.tilt-card.dragging .tilt-glow { opacity: 1; }

@keyframes tiltFloat {
  0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50% { transform: translateY(-14px) rotateX(2deg) rotateY(-3deg); }
}

@media (max-width: 900px) {
  .reach-inner { grid-template-columns: 1fr; text-align: center; }
  .reach-copy p:last-child { margin: 0 auto; }
  .reach-visual { order: -1; }
}

/* SERVICES */
.services { padding: 100px 0; background: var(--bg-alt); }
.services h2 { margin-bottom: 50px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  perspective: 1200px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: 0 20px 45px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--blue); box-shadow: 0 24px 55px rgba(59,130,246,.18), inset 0 1px 0 rgba(255,255,255,.08); }
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(139,92,246,.16);
  color: var(--olive-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card p { font-size: 14.5px; }

/* PRICING */
.pricing { padding: 100px 0; }
.pricing h2 { margin-bottom: 12px; }
.pricing-sub {
  max-width: 480px;
  margin: 0 auto 50px;
  font-size: 16px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
  perspective: 1400px;
}
.pricing-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 45px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pricing-card:hover { transform: translateY(-6px); }
.pricing-featured {
  border: 1.5px solid var(--blue);
  background: linear-gradient(165deg, rgba(47,139,255,.12), var(--card) 45%);
  animation: blueRingPulse 2.4s ease-in-out infinite, cardFloat3D 5s ease-in-out infinite;
}
@keyframes blueRingPulse {
  0%, 100% {
    box-shadow: 0 20px 50px rgba(47,139,255,.2), 0 0 0 0 rgba(47,139,255,.35), 0 0 18px rgba(47,139,255,.25);
    border-color: rgba(47,139,255,.6);
  }
  50% {
    box-shadow: 0 20px 50px rgba(47,139,255,.2), 0 0 0 6px rgba(47,139,255,0), 0 0 40px rgba(90,170,255,.65);
    border-color: rgba(106,180,255,.95);
  }
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(47,139,255,.4);
}
.pricing-tier {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}
.pricing-tagline {
  font-size: 13px;
  margin-top: 4px;
  min-height: 32px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0 6px;
}
.pricing-amount {
  font-size: 34px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -1px;
}
.pricing-period {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}
.pricing-total {
  font-size: 12.5px;
  color: var(--blue-dark);
  font-weight: 600;
  margin-bottom: 18px;
}
.pricing-total strong { color: var(--ink); }
.pricing-alt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--olive-dark);
  background: rgba(139,92,246,.14);
  border: 1px solid rgba(139,92,246,.3);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 22px;
  width: fit-content;
}
.pricing-alt strong { color: var(--ink); }
.pricing-addon {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding-top: 14px;
  margin-bottom: 6px;
  border-top: 1px dashed var(--border);
}
.pricing-addon input { position: absolute; opacity: 0; width: 0; height: 0; }
.addon-box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,.03);
  position: relative;
  transition: background .2s ease, border-color .2s ease;
}
.addon-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity .15s ease;
}
.addon-checkbox:checked + .addon-box {
  background: linear-gradient(135deg, var(--blue), var(--olive));
  border-color: transparent;
}
.addon-checkbox:checked + .addon-box::after { opacity: 1; }
.addon-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.addon-label strong { color: var(--olive-dark); }
.addon-total {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity .3s ease, max-height .3s ease, margin .3s ease;
}
.addon-total.visible { opacity: 1; max-height: 40px; margin: 8px 0 16px; }
.addon-total strong { color: var(--blue-light); }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
  flex-grow: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--muted);
}
.pricing-features svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--olive-dark);
  background: rgba(139,92,246,.16);
  border-radius: 50%;
  padding: 3px;
  box-sizing: content-box;
}
.pricing-cta { text-align: center; }
.pricing-note {
  text-align: center;
  font-size: 14px;
  margin-top: 34px;
}
.pricing-note a { color: var(--blue-dark); font-weight: 600; }
.pricing-note a:hover { text-decoration: underline; }

/* PRICING COMPARISON TABLE */
.pricing-compare { padding: 20px 0 100px; }
.pricing-compare h2 { margin-left: auto; margin-right: auto; margin-bottom: 32px; }
.compare-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.compare-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: var(--card);
}
.compare-table th, .compare-table td {
  padding: 14px 20px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.compare-table thead th {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  background: var(--bg-alt);
  font-weight: 700;
}
.compare-table td:first-child,
.compare-table th:first-child {
  text-align: left;
  color: var(--ink);
  font-weight: 600;
  white-space: normal;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td.compare-dash { color: var(--border); }
.compare-highlight { background: rgba(47,139,255,.07); }
th.compare-highlight { color: var(--blue-dark); }

@media (max-width: 1080px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 700px; }
}

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

/* PROCESS */
.process { padding: 100px 0; }
.process h2 { margin-bottom: 50px; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  color: var(--blue-dark);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 16px;
}
.process-step p { font-size: 14px; }

/* FAQ */
.faq { padding: 100px 0; }
.faq h2 { margin-bottom: 50px; }
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  perspective: 1000px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.06);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  text-align: left;
  padding: 20px 22px;
  cursor: pointer;
}
.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(47,139,255,.15);
  color: var(--blue-dark);
  font-size: 18px;
  transition: transform .2s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq-answer p { padding: 0 22px 20px; font-size: 15px; }
.faq-item.open .faq-answer { max-height: 200px; }

/* CTA / CONTACT */
.cta {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta-glow {
  position: absolute;
  bottom: -250px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(47,139,255,.2), transparent 70%);
}
.cta-inner { position: relative; }
.cta h2 { margin: 0 auto 6px; max-width: none; }
.cta-tag { font-weight: 700; font-size: 18px; margin-bottom: 44px; }

.contact-form {
  max-width: 560px;
  margin: 0 auto 50px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-row { display: flex; gap: 14px; }
.form-row input {
  flex: 1;
  min-width: 0;
}
.contact-form input,
.contact-form textarea {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.contact-form button { align-self: flex-start; }
.form-note { color: var(--blue-dark); font-size: 14px; min-height: 20px; }

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}
.contact-method svg { width: 20px; height: 20px; color: var(--blue-dark); }
.contact-method:hover { color: var(--blue-dark); }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-inner p { font-size: 13px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner, .about-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 320px; margin-top: 20px; }
  .hero-emblem { width: 160px; height: 160px; top: -50px; right: 50%; transform: translateX(50%); opacity: .3; }
  .emblem-mark { font-size: 70px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 7, 13, .82);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
  }
  .nav.open .nav-links .nav-cta {
    margin-top: 4px;
  }
  .service-grid, .process-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .device.phone { display: none; }
  .laptop-3d { max-width: 100%; }
}
