/* ═══════════════════════════════════════════
   UBERIT s.r.o. — Main Stylesheet
   Dark Neumorphic + Glassmorphism Design
═══════════════════════════════════════════ */

:root {
  --bg:       #06061a;
  --bg2:      #09091f;
  --surface:  #0e0e2a;

  --cyan:     #00d4ff;
  --pink:     #ff2d78;
  --purple:   #8b1fff;
  --lime:     #39ff84;

  --text:     #ffffff;
  --muted:    rgba(210,220,255,0.72);
  --border:   rgba(255,255,255,0.07);

  --font:     'Exo 2', system-ui, -apple-system, sans-serif;
  --mono:     'Space Mono', monospace;
  --display:  'Orbitron', sans-serif;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  18px;
  --radius-xl:  22px;
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
  line-height: 1.6;
}
img, svg { display:block; max-width:100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; }
ul { list-style: none; }

/* ── SCANLINES OVERLAY ── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,0,0,0.018) 3px, rgba(0,0,0,0.018) 4px
  );
  pointer-events: none;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0,212,255,0.22); border-radius: 2px; }

/* ── PARTICLES CANVAS ── */
#bg-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
}

/* ── AMBIENT BLOBS ── */
.blob {
  position: fixed; border-radius: 50%;
  filter: blur(160px);
  pointer-events: none; z-index: 0;
}
.blob-1 { width:800px; height:800px; background:rgba(139,31,255,0.07); top:-300px; right:-200px; }
.blob-2 { width:600px; height:600px; background:rgba(0,212,255,0.045); bottom:5%; left:-150px; }
.blob-3 { width:400px; height:400px; background:rgba(255,45,120,0.045); top:50%; left:48%; }

/* ═══════════════════════════════════════
   NEUMORPHIC BUTTON SYSTEM
   Light source: top-left corner
   Elements physically emerge from surface
═══════════════════════════════════════ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  border: none; border-radius: var(--radius-md);
  font-family: var(--font); font-size: 0.82rem;
  font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; white-space: nowrap;
  transition: box-shadow 0.18s ease, transform 0.12s ease;
  user-select: none; outline: none; overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; top:0; left:0; right:0; height:50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  pointer-events: none;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* Primary — pink→purple */
.btn-primary {
  background: linear-gradient(140deg, #d42060 0%, #7010c8 100%);
  color: #fff;
  box-shadow:
    -3px -3px 8px rgba(212,32,96,0.22),
    5px 7px 20px rgba(0,0,0,0.70),
    0 0 35px rgba(180,20,200,0.18),
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -1px 0 rgba(0,0,0,0.30);
}
.btn-primary:hover {
  box-shadow:
    -4px -4px 12px rgba(212,32,96,0.28),
    7px 9px 28px rgba(0,0,0,0.75),
    0 0 55px rgba(180,20,200,0.30),
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -1px 0 rgba(0,0,0,0.30);
}
.btn-primary:active {
  box-shadow:
    inset 3px 3px 10px rgba(0,0,0,0.50),
    inset -1px -1px 4px rgba(212,32,96,0.10),
    0 0 20px rgba(180,20,200,0.15);
}

/* Secondary — cyan */
.btn-secondary {
  background: linear-gradient(140deg, #00b8dd 0%, #006888 100%);
  color: #fff;
  box-shadow:
    -3px -3px 8px rgba(0,200,230,0.18),
    5px 7px 20px rgba(0,0,0,0.70),
    0 0 28px rgba(0,200,220,0.14),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.30);
}
.btn-secondary:hover {
  box-shadow:
    -4px -4px 12px rgba(0,200,230,0.22),
    7px 9px 28px rgba(0,0,0,0.75),
    0 0 50px rgba(0,200,220,0.25),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.30);
}
.btn-secondary:active {
  box-shadow:
    inset 3px 3px 10px rgba(0,0,0,0.50),
    inset -1px -1px 4px rgba(0,200,230,0.10);
}

/* Ghost — dark neumorphic surface */
.btn-ghost {
  background: linear-gradient(145deg, #111132, #0c0c25);
  color: var(--text);
  box-shadow:
    -4px -4px 10px rgba(255,255,255,0.04),
    5px 6px 16px rgba(0,0,0,0.72),
    2px 3px 6px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.btn-ghost:hover {
  color: var(--cyan);
  box-shadow:
    -5px -5px 14px rgba(255,255,255,0.05),
    7px 8px 22px rgba(0,0,0,0.78),
    0 0 22px rgba(0,212,255,0.07),
    inset 0 1px 0 rgba(0,212,255,0.08);
}
.btn-ghost:active {
  box-shadow:
    inset 3px 3px 10px rgba(0,0,0,0.55),
    inset -2px -2px 6px rgba(255,255,255,0.04);
  color: var(--cyan);
}

/* Lime — green accent CTA */
.btn-lime {
  background: linear-gradient(140deg, #2adb65 0%, #00a040 100%);
  color: #021a0a;
  box-shadow:
    -3px -3px 8px rgba(57,255,132,0.22),
    5px 7px 20px rgba(0,0,0,0.70),
    0 0 35px rgba(57,255,132,0.20),
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.25);
}
.btn-lime:hover {
  box-shadow:
    -4px -4px 12px rgba(57,255,132,0.28),
    7px 9px 28px rgba(0,0,0,0.75),
    0 0 55px rgba(57,255,132,0.32),
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.25);
}

/* Small variant */
.btn-sm { padding: 0.55rem 1.3rem; font-size: 0.74rem; border-radius: var(--radius-sm); }
.btn-sm::before { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }

/* Full width */
.btn-full { width: 100%; padding: 1rem 2rem; }

/* ═══════════════════════════════════════
   NEUMORPHIC TABS
═══════════════════════════════════════ */
.tabs-wrap {
  display: flex; gap: 3px; padding: 4px;
  background: linear-gradient(180deg, rgba(10,10,30,0.92) 0%, rgba(6,6,18,0.96) 100%);
  border-radius: var(--radius-md);
  box-shadow:
    inset 1px 1px 4px rgba(0,0,0,0.60),
    inset -1px -1px 2px rgba(255,255,255,0.04),
    0 4px 14px rgba(0,0,0,0.40),
    0 0 0 1px rgba(255,255,255,0.04);
}
.tab-btn {
  position: relative;
  padding: 0.48rem 1.15rem;
  border: none; border-radius: 7px; background: transparent;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  transition: all 0.2s; cursor: pointer;
}
.tab-btn:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.tab-btn.active {
  background: linear-gradient(145deg, #18184c, #111140);
  color: var(--cyan);
  box-shadow:
    -2px -2px 5px rgba(255,255,255,0.05),
    3px 3px 10px rgba(0,0,0,0.65),
    0 0 0 1px rgba(0,212,255,0.14),
    0 0 16px rgba(0,212,255,0.07);
}
.tab-btn.active::after {
  content: '';
  position: absolute; bottom: 2px; left: 25%; right: 25%;
  height: 1.5px;
  background: var(--cyan); border-radius: 1px;
  box-shadow: 0 0 6px var(--cyan);
}

/* ═══════════════════════════════════════
   NEUMORPHIC INPUT
═══════════════════════════════════════ */
.input {
  width: 100%; padding: 0.88rem 1.2rem;
  background: linear-gradient(180deg, #050514 0%, #090920 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  color: var(--text); font-family: var(--font); font-size: 0.88rem;
  outline: none;
  box-shadow:
    inset 2px 2px 8px rgba(0,0,0,0.55),
    inset -1px -1px 3px rgba(255,255,255,0.03),
    0 3px 10px rgba(0,0,0,0.35);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.input::placeholder { color: rgba(240,242,255,0.22); }
.input:focus {
  border-color: rgba(0,212,255,0.35);
  box-shadow:
    inset 2px 2px 8px rgba(0,0,0,0.55),
    inset -1px -1px 3px rgba(255,255,255,0.03),
    0 3px 10px rgba(0,0,0,0.35),
    0 0 20px rgba(0,212,255,0.08),
    0 0 0 2px rgba(0,212,255,0.07);
}
textarea.input { resize: vertical; min-height: 110px; }

/* ═══════════════════════════════════════
   GLASS PANEL (contact form slide-in)
═══════════════════════════════════════ */
.glass-overlay {
  position: fixed; inset: 0; z-index: 499;
  background: rgba(0,0,0,0.42);
  opacity: 0; pointer-events: none;
  transition: opacity 0.38s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.glass-overlay.open { opacity: 1; pointer-events: all; }

.glass-panel {
  position: fixed; top: 1.2rem; right: 1.2rem; bottom: 1.2rem;
  width: min(480px, calc(100vw - 2.4rem));
  z-index: 500;
  transform: translateX(calc(100% + 1.2rem));
  transition: transform 0.50s cubic-bezier(0.34, 1.05, 0.64, 1);
  border-radius: 20px;
  overflow: hidden;

  background: rgba(8, 8, 28, 0.07);
  backdrop-filter: blur(72px) saturate(2.8) brightness(1.15);
  -webkit-backdrop-filter: blur(72px) saturate(2.8) brightness(1.15);

  border: 1px solid rgba(255,255,255,0.11);
  box-shadow:
    -24px 0 70px rgba(0,0,0,0.45),
    -6px 0 24px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.glass-panel.open { transform: translateX(0); }

.panel-body {
  padding: 5rem 2.8rem 3rem;
  height: 100%; overflow-y: auto;
  background: linear-gradient(160deg,
    rgba(0,212,255,0.025) 0%, transparent 40%,
    rgba(139,31,255,0.02) 100%);
  scrollbar-width: thin;
  scrollbar-color: rgba(0,212,255,0.2) transparent;
}
.panel-body::-webkit-scrollbar { width: 3px; }
.panel-body::-webkit-scrollbar-thumb { background: rgba(0,212,255,0.2); }

.panel-eyebrow {
  font-size: 0.63rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 0.4rem;
}
.panel-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 2rem; }
.panel-close {
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; cursor: pointer; position: relative;
  box-shadow: -1px -1px 3px rgba(255,255,255,0.05), 2px 2px 8px rgba(0,0,0,0.55);
  /* no ::before inherited — standalone element */
}
.panel-close::before { display: none !important; }
.panel-close svg { display: block; flex-shrink: 0; }
.panel-close:hover {
  color: #fff;
  background: linear-gradient(145deg, rgba(255,45,120,0.22), rgba(255,45,120,0.08));
  border-color: rgba(255,45,120,0.40);
  box-shadow: 0 0 16px rgba(255,45,120,0.25), 2px 2px 8px rgba(0,0,0,0.55);
}

/* Honeypot — musí být vizuálně skryté, ale ne display:none (boti to detekují) */
.hp-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-label {
  font-size: 0.67rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}
.panel-form { display: flex; flex-direction: column; gap: 1.2rem; }
.panel-divider {
  margin-top: 2rem; padding-top: 1.8rem;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.8rem;
}

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 4rem;
  background: rgba(6,6,22,0.78);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border-bottom: 1px solid rgba(255,255,255,0.055);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 8px 32px rgba(0,0,0,0.50);
  transition: padding 0.3s;
}
.site-nav.scrolled { padding: 0.7rem 4rem; }

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 0.9rem; }
.logo-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, #14144a 0%, #0c0c30 100%);
  box-shadow:
    -3px -3px 7px rgba(255,255,255,0.05),
    4px 5px 14px rgba(0,0,0,0.70),
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 20px rgba(139,31,255,0.10);
  flex-shrink: 0;
}
.logo-icon::before {
  content: '';
  position: absolute; top:0; left:10%; right:10%; height:46%;
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, transparent 100%);
  border-radius: var(--radius-md) var(--radius-md) 50% 50%;
}
.logo-name {
  font-family: var(--display);
  font-size: 1.0rem; font-weight: 700; letter-spacing: 0.18em; color: #fff;
  text-shadow: 0 0 24px rgba(0,212,255,0.35);
  line-height: 1;
}
.logo-sub {
  font-size: 0.56rem; letter-spacing: 0.32em;
  color: rgba(0,212,255,0.65); text-transform: uppercase;
}

/* Nav tabs strip */
.nav-tabs {
  display: flex; gap: 3px; padding: 4px;
  background: linear-gradient(180deg, rgba(10,10,30,0.92) 0%, rgba(6,6,18,0.96) 100%);
  border-radius: var(--radius-md);
  box-shadow:
    inset 1px 1px 4px rgba(0,0,0,0.60),
    inset -1px -1px 2px rgba(255,255,255,0.04),
    0 4px 14px rgba(0,0,0,0.40),
    0 0 0 1px rgba(255,255,255,0.04);
}
.nav-tab {
  position: relative; padding: 0.48rem 1.15rem;
  border: none; border-radius: 7px; background: transparent;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  transition: all 0.2s; cursor: pointer; text-decoration: none;
}
.nav-tab:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-tab.active {
  background: linear-gradient(145deg, #18184c, #111140);
  color: var(--cyan);
  box-shadow:
    -2px -2px 5px rgba(255,255,255,0.05),
    3px 3px 10px rgba(0,0,0,0.65),
    0 0 0 1px rgba(0,212,255,0.14),
    0 0 16px rgba(0,212,255,0.07);
}
.nav-tab.active::after {
  content: '';
  position: absolute; bottom: 2px; left: 25%; right: 25%;
  height: 1.5px; background: var(--cyan); border-radius: 1px;
  box-shadow: 0 0 6px var(--cyan);
}

/* Mobile hamburger */
/* ── Sound toggle button ── */
.btn-sound {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0; flex-shrink: 0;
  background: linear-gradient(145deg, #111132, #0c0c25);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--muted);
  box-shadow: -2px -2px 5px rgba(255,255,255,0.04), 3px 3px 8px rgba(0,0,0,0.60);
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn-sound:hover { color: var(--cyan); border-color: rgba(0,212,255,0.35); }
.btn-sound.sound-on {
  color: var(--cyan);
  border-color: rgba(0,212,255,0.35);
  box-shadow: -2px -2px 5px rgba(255,255,255,0.04), 3px 3px 8px rgba(0,0,0,0.60),
              0 0 8px rgba(0,212,255,0.18);
}

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #111132, #0c0c25);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow:
    -2px -2px 5px rgba(255,255,255,0.04),
    3px 3px 8px rgba(0,0,0,0.60);
}
.nav-burger span {
  display: block; width: 18px; height: 1.5px;
  background: var(--text); border-radius: 1px;
  transition: all 0.3s;
}

/* ═══════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════ */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  text-align: center;
  padding: 8rem 2rem 2.5rem;
  overflow: hidden;
}
/* Bold purple→pink gradient backdrop */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 75% 60% at 15% 50%, rgba(100,10,180,0.50) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 85% 25%, rgba(200,20,80,0.28) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 50% 110%, rgba(0,100,200,0.10) 0%, transparent 60%);
  pointer-events: none;
}

.hero-eyebrow {
  position: relative;
  font-size: 0.67rem; letter-spacing: 0.5em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 2rem;
  display: flex; align-items: center; gap: 1rem;
  text-shadow: 0 0 20px rgba(0,212,255,0.5);
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; width: 36px; height: 1px; flex-shrink: 0;
}
.hero-eyebrow::before { background: linear-gradient(90deg, transparent, var(--cyan)); }
.hero-eyebrow::after  { background: linear-gradient(90deg, var(--cyan), transparent); }

.hero-title {
  position: relative;
  font-family: var(--display);
  font-size: clamp(2.8rem, 8.5vw, 7rem);
  font-weight: 900; line-height: 0.95;
  letter-spacing: 0.01em; margin-bottom: 1.6rem;
  text-shadow: 0 0 60px rgba(0,212,255,0.12);
}
.hero-title .line-plain  { display: block; color: var(--text); }
.hero-title .line-grad {
  display: block;
  background: linear-gradient(125deg, #60eeff 0%, #ff3d85 55%, #a030ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(255,45,120,0.45));
}

.hero-sub {
  position: relative;
  max-width: 560px; color: rgba(210,225,255,0.85);
  font-size: 1.1rem; line-height: 1.75; margin-bottom: 3rem;
}
.hero-highlight {
  display: inline;
  font-weight: 700;
  font-size: 1.05em;
  background: linear-gradient(125deg, #60eeff 0%, #ff3d85 58%, #a030ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 14px rgba(0,212,255,0.30));
}

.hero-btns {
  position: relative;
  display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 0;
}

/* Orbit animation */
.orbit-wrap {
  position: absolute; inset: 0; z-index: -1;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.orbit-ring {
  position: absolute; border-radius: 50%;
}
.orbit-ring-1 { width:340px; height:340px; border:1px solid rgba(0,212,255,0.07); }
.orbit-ring-2 { width:560px; height:560px; border:1px solid rgba(255,45,120,0.05); border-style:dashed; animation: ring-spin 60s linear infinite; }
.orbit-ring-3 { width:780px; height:780px; border:1px solid rgba(139,31,255,0.035); }

@keyframes ring-spin { to { transform: rotate(360deg); } }

.orbit-dot {
  position: absolute; border-radius: 50%;
}
.orbit-dot-1 {
  width:10px; height:10px; background:var(--cyan);
  box-shadow:0 0 16px var(--cyan), 0 0 5px var(--cyan);
  top:calc(50% - 5px); left:calc(50% - 5px);
  animation: orbit-a 10s linear infinite;
}
.orbit-dot-2 {
  width:7px; height:7px; background:var(--pink);
  box-shadow:0 0 14px var(--pink);
  top:calc(50% - 3.5px); left:calc(50% - 3.5px);
  animation: orbit-b 16s linear infinite reverse;
}
.orbit-dot-3 {
  width:5px; height:5px; background:var(--purple);
  box-shadow:0 0 12px var(--purple);
  top:calc(50% - 2.5px); left:calc(50% - 2.5px);
  animation: orbit-c 24s linear infinite;
}
@keyframes orbit-a {
  0%   { transform: rotate(0deg)   translateX(170px); }
  100% { transform: rotate(360deg) translateX(170px); }
}
@keyframes orbit-b {
  0%   { transform: rotate(0deg)   translateX(280px); }
  100% { transform: rotate(360deg) translateX(280px); }
}
@keyframes orbit-c {
  0%   { transform: rotate(0deg)   translateX(390px); }
  100% { transform: rotate(360deg) translateX(390px); }
}

/* Hero terminal */
.hero-terminal {
  position: relative; z-index: 2;
  width: 100%; max-width: 660px;
  margin-top: 2.8rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(3, 3, 14, 0.88);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    -4px -4px 12px rgba(255,255,255,0.018),
    8px 12px 40px rgba(0,0,0,0.80),
    0 0 60px rgba(0,212,255,0.06),
    0 0 0 1px rgba(0,0,0,0.30);
  backdrop-filter: blur(8px);
  text-align: left;
}
.terminal-bar {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.65rem 1rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.015) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  user-select: none;
}
.t-dot { width: 11px; height: 11px; border-radius: 50%; }
.t-dot.red    { background: #ff5f56; box-shadow: 0 0 4px #ff5f5688; }
.t-dot.yellow { background: #ffbd2e; box-shadow: 0 0 4px #ffbd2e88; }
.t-dot.green  { background: #27c93f; box-shadow: 0 0 4px #27c93f88; }
.t-title {
  flex: 1; text-align: center;
  font-size: 0.67rem; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.22); font-family: var(--mono);
}
.terminal-body {
  padding: 1.1rem 1.4rem 1.3rem;
  min-height: 190px; max-height: 230px; overflow-y: auto;
  font-family: var(--mono); font-size: 0.78rem; line-height: 1.75;
  scrollbar-width: none;
}
.terminal-body::-webkit-scrollbar { display: none; }

.t-line { display: flex; align-items: baseline; gap: 0.55rem; flex-wrap: wrap; }
.t-prompt { color: var(--cyan); flex-shrink: 0; }
.t-text   { color: rgba(220,228,255,0.85); word-break: break-all; }
.t-cursor {
  display: inline-block; color: var(--cyan);
  animation: cur-blink 1s step-end infinite;
}
@keyframes cur-blink { 0%,100%{opacity:1} 50%{opacity:0} }

.t-tag {
  display: inline-block; flex-shrink: 0;
  font-size: 0.60rem; padding: 0.08rem 0.42rem;
  border-radius: 3px; letter-spacing: 0.14em;
  font-weight: 700; text-transform: uppercase;
}
.t-tag.info { background: rgba(0,212,255,0.13); color: var(--cyan); border: 1px solid rgba(0,212,255,0.18); }
.t-tag.ok   { background: rgba(39,201,63,0.12); color: #39ff84;   border: 1px solid rgba(39,255,100,0.18); }
.t-tag.warn { background: rgba(255,189,46,0.12); color: #ffbd2e;  border: 1px solid rgba(255,189,46,0.18); }
.t-tag.data { background: rgba(160,32,255,0.12); color: #c080ff;  border: 1px solid rgba(160,32,255,0.18); }

/* Neon hero illustration */
.hero-illustration {
  position: absolute; right: 7%; top: 50%;
  transform: translateY(-50%);
  width: clamp(200px, 28vw, 380px);
  opacity: 0.50; pointer-events: none;
}

/* ═══════════════════════════════════════
   STATS BAR
═══════════════════════════════════════ */
.stats-bar {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, #0e0e2c 0%, #080820 100%);
  border-top: 1px solid rgba(255,255,255,0.055);
  border-bottom: 1px solid rgba(255,255,255,0.055);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 -1px 0 rgba(0,0,0,0.50),
    0 10px 30px rgba(0,0,0,0.40);
  display: flex;
}
.stat-item {
  flex: 1; padding: 2.2rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.05);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item::before {
  content: '';
  position: absolute; top:0; left:20%; right:20%; height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
}
.stat-number {
  font-family: var(--display);
  font-size: 2.4rem; font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 0.4rem;
  filter: drop-shadow(0 0 12px rgba(0,212,255,0.35));
}
.stat-label {
  font-size: 0.67rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted);
}

/* ═══════════════════════════════════════
   SECTION SHARED
═══════════════════════════════════════ */
section { position: relative; z-index: 1; }
.section-wrap { max-width: 1240px; margin: 0 auto; padding: 5rem 2rem; }

.section-eyebrow {
  font-size: 0.65rem; letter-spacing: 0.45em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 0.9rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.section-eyebrow::before { content:''; width:20px; height:1px; background:var(--cyan); flex-shrink:0; }

.section-heading {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800; letter-spacing: 0.02em; line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(0,212,255,0.10);
}
.section-heading .accent {
  background: linear-gradient(125deg, var(--cyan), var(--pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-lead {
  color: var(--muted); font-size: 1rem;
  line-height: 1.72; max-width: 500px; margin-bottom: 3.5rem;
}

/* ═══════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════ */
#services { background: var(--bg2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

/* ── SERVICE CARD 3D FLIP ── */
.service-card {
  border-radius: var(--radius-xl);
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  cursor: default;
  display: flex;
  flex-direction: column;
}

.svc-inner {
  position: relative;
  border-radius: var(--radius-xl);
  flex: 1;
}

/* FRONT face */
.svc-front {
  height: 100%; display: flex; flex-direction: column;
  padding: 2.2rem; border-radius: var(--radius-xl);
  background: rgba(13, 13, 48, 0.42);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.07);
  position: relative; overflow: hidden; cursor: pointer;
  box-shadow:
    -3px -3px 8px rgba(255,255,255,0.025),
    5px 7px 22px rgba(0,0,0,0.65),
    2px 3px 8px rgba(0,0,0,0.35),
    0 0 0 1px rgba(0,0,0,0.20);
  /* flip animation */
  transition: transform 0.28s ease-in, box-shadow 0.3s ease, opacity 0s 0.28s;
  transform-origin: center;
}
.svc-front::before {
  content: '';
  position: absolute; top:0; left:15%; right:15%; height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
}
.service-card:not(.is-flipped):hover .svc-front {
  transform: translateY(-5px);
  box-shadow:
    -4px -4px 12px rgba(255,255,255,0.03),
    9px 11px 34px rgba(0,0,0,0.72),
    0 0 50px rgba(0,212,255,0.06);
}
/* front flips away */
.service-card.is-flipped .svc-front {
  transform: perspective(900px) rotateY(-90deg);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease-in, opacity 0s 0.28s;
}

.service-card.is-featured .svc-front {
  background: linear-gradient(145deg, #220d40 0%, #160820 55%, #0e0518 100%);
  box-shadow:
    -3px -3px 8px rgba(255,45,120,0.08),
    5px 7px 22px rgba(0,0,0,0.65),
    0 0 40px rgba(255,45,120,0.07),
    0 0 0 1px rgba(255,45,120,0.08);
}
.service-card.is-featured:not(.is-flipped):hover .svc-front {
  box-shadow:
    -4px -4px 12px rgba(255,45,120,0.10),
    9px 11px 34px rgba(0,0,0,0.72),
    0 0 60px rgba(255,45,120,0.12);
}

/* Per-card mouse spotlight on front */
.svc-front::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
    rgba(0,212,255,0.126) 0%,
    rgba(139,31,255,0.049) 40%,
    transparent 65%);
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.service-card.is-featured .svc-front::after {
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
    rgba(255,45,120,0.154) 0%,
    rgba(139,31,255,0.063) 40%,
    transparent 65%);
}
.service-card:not(.is-flipped):hover .svc-front::after { opacity: 1; }

/* BACK face — hidden by default, flips in after front leaves */
.svc-back {
  position: absolute; inset: 0;
  border-radius: var(--radius-xl);
  background: rgba(6, 8, 32, 0.82);
  backdrop-filter: blur(32px) saturate(1.8);
  -webkit-backdrop-filter: blur(32px) saturate(1.8);
  border: 1px solid rgba(0,212,255,0.18);
  box-shadow:
    0 0 60px rgba(0,212,255,0.07),
    5px 7px 22px rgba(0,0,0,0.65);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.4rem;
  overflow: hidden;
  /* hidden until flipped */
  opacity: 0;
  pointer-events: none;
  transform: perspective(900px) rotateY(90deg);
  transition: transform 0.28s ease-out 0.26s, opacity 0s 0.26s;
}
/* scrollable content area */
.svc-back-scroll {
  display: flex; flex-direction: column; gap: 0.65rem;
  overflow-y: auto; overflow-x: hidden;
}
.svc-back-scroll::-webkit-scrollbar { width: 2px; }
.svc-back-scroll::-webkit-scrollbar-track { background: transparent; }
.svc-back-scroll::-webkit-scrollbar-thumb { background: rgba(0,212,255,0.3); border-radius: 2px; }
/* back flips in */
.service-card.is-flipped .svc-back {
  opacity: 1;
  pointer-events: all;
  transform: perspective(900px) rotateY(0deg);
  transition: transform 0.28s ease-out 0.26s, opacity 0s 0.26s;
}
.service-card.is-featured .svc-back {
  border-color: rgba(255,45,120,0.22);
  box-shadow:
    0 0 60px rgba(255,45,120,0.08),
    5px 7px 22px rgba(0,0,0,0.65);
}

/* Back face content */
.svc-back-eyebrow {
  font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--cyan); font-family: var(--mono);
}
.service-card.is-featured .svc-back-eyebrow { color: var(--pink); }

.svc-back .svc-name {
  font-size: 1rem; font-weight: 700;
  font-family: var(--display); color: var(--text);
  letter-spacing: 0.04em; line-height: 1.2;
}
.svc-back-desc {
  font-size: 0.79rem; color: var(--muted); line-height: 1.5;
}
.svc-back-list {
  list-style: none; display: flex; flex-direction: column; gap: 0.35rem;
}
.svc-back-list li {
  font-size: 0.76rem; color: var(--muted);
  display: flex; align-items: flex-start; gap: 0.5rem;
}
.svc-back-list li::before {
  content: '›'; color: var(--cyan); font-weight: 700;
  flex-shrink: 0; margin-top: 0.05em;
}
.service-card.is-featured .svc-back-list li::before { color: var(--pink); }

.svc-back-actions {
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.svc-flip-back {
  background: none; border: 1px solid rgba(255,255,255,0.14);
  color: var(--muted); border-radius: var(--radius-sm);
  padding: 0.55rem 1.1rem; font-size: 0.75rem; font-family: var(--font);
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.svc-flip-back:hover { border-color: rgba(0,212,255,0.5); color: var(--cyan); }

/* Flip hint on front */
.svc-flip-hint {
  margin-top: auto; padding-top: 1rem;
  font-size: 0.72rem; color: var(--cyan);
  opacity: 0.55; letter-spacing: 0.06em;
  transition: opacity 0.2s;
  pointer-events: none;
}
.service-card.is-featured .svc-flip-hint { color: var(--pink); }
.svc-front:hover .svc-flip-hint { opacity: 0.9; }

/* Services grid — no ambient background glow, only per-card spotlight */
.services-grid {
  position: relative;
}

.svc-category {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.61rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.4rem;
}
.svc-cat-icon {
  width: 22px; height: 22px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.svc-cat-icon.cyan-icon {
  background: linear-gradient(145deg, #0d3545, #062030);
  box-shadow:
    -1px -1px 3px rgba(0,212,255,0.10),
    2px 2px 6px rgba(0,0,0,0.50),
    0 0 10px rgba(0,212,255,0.10);
}
.svc-cat-icon.pink-icon {
  background: linear-gradient(145deg, #3a0820, #240515);
  box-shadow:
    -1px -1px 3px rgba(255,45,120,0.10),
    2px 2px 6px rgba(0,0,0,0.50),
    0 0 10px rgba(255,45,120,0.12);
}

.svc-name { font-family: var(--display); font-size: 0.9rem; font-weight: 600; margin-bottom: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; }
.svc-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.4rem; flex-grow: 1; }
.svc-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--cyan); text-decoration: none;
  transition: gap 0.2s ease;
}
.svc-link:hover { gap: 0.7rem; }

/* ═══════════════════════════════════════
   GRADIENT CTA BAND
═══════════════════════════════════════ */
.cta-band {
  position: relative; z-index: 1;
  padding: 5rem 2rem; overflow: hidden;
  background:
    linear-gradient(135deg,
      rgba(100,10,180,0.85) 0%,
      rgba(160,20,100,0.70) 45%,
      rgba(30,60,160,0.40) 100%),
    var(--bg);
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(120,20,220,0.40) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 100% 50%, rgba(220,30,80,0.22) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute; bottom:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
}
.cta-inner {
  max-width: 1240px; margin: 0 auto; position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 3rem; flex-wrap: wrap;
}
.cta-title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 700;
  letter-spacing: 0.03em; line-height: 1.15; color: #fff;
  max-width: 520px;
}
.cta-title .dim { opacity: 0.65; }
.cta-eyebrow {
  font-size: 0.64rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: rgba(255,255,255,0.50); margin-bottom: 0.9rem;
}
.cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ═══════════════════════════════════════
   AI AGENTS SECTION
═══════════════════════════════════════ */
#ai-agents { background: var(--bg); }

.ai-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}

.feature-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.35rem 1rem 0.35rem 0.4rem;
  background: linear-gradient(145deg, rgba(0,212,255,0.10), rgba(0,212,255,0.04));
  border-radius: 20px; border: 1px solid rgba(0,212,255,0.14);
  font-size: 0.76rem; color: var(--cyan); margin-bottom: 0.85rem;
  box-shadow:
    -1px -1px 3px rgba(255,255,255,0.04),
    2px 2px 8px rgba(0,0,0,0.40),
    0 0 12px rgba(0,212,255,0.05);
}
.feature-tag .pulse-dot {
  width: 6px; height: 6px; background: var(--cyan); border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-anim 2s ease infinite;
}
@keyframes pulse-anim {
  0%, 100% { box-shadow: 0 0 5px var(--cyan); }
  50% { box-shadow: 0 0 16px var(--cyan), 0 0 6px var(--cyan); }
}

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.82rem; margin: 1.8rem 0 2.5rem; }
.feature-list li { display: flex; align-items: center; gap: 0.85rem; font-size: 0.87rem; color: var(--muted); }
.feat-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* ═══════════════════════════════════════
   TECH STACK
═══════════════════════════════════════ */
#tech-stack { background: var(--bg2); }

.tech-grid { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.tech-pill {
  padding: 0.5rem 1.15rem; border-radius: var(--radius-sm);
  font-size: 0.75rem; letter-spacing: 0.07em;
  background: linear-gradient(145deg, #121236, #0c0c24);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
  box-shadow:
    -2px -2px 5px rgba(255,255,255,0.03),
    3px 4px 10px rgba(0,0,0,0.55),
    0 0 0 1px rgba(0,0,0,0.20);
  transition: all 0.25s ease;
  position: relative; overflow: hidden; cursor: default;
}
.tech-pill::before {
  content: '';
  position: absolute; top:0; left:10%; right:10%; height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.tech-pill:hover {
  background: linear-gradient(145deg, #181850, #10103c);
  color: var(--text); border-color: rgba(0,212,255,0.20);
  transform: translateY(-2px);
  box-shadow:
    -3px -3px 7px rgba(255,255,255,0.04),
    4px 5px 14px rgba(0,0,0,0.62),
    0 0 18px rgba(0,212,255,0.07);
}

/* ═══════════════════════════════════════
   VALUES SECTION
═══════════════════════════════════════ */
#values { background: var(--bg); }

.values-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: end; margin-bottom: 3.5rem;
}
.values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.value-card {
  padding: 2rem; border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #121236, #0d0d26, #08081a);
  border: 1px solid rgba(255,255,255,0.055);
  position: relative; overflow: hidden;
  box-shadow:
    -2px -2px 6px rgba(255,255,255,0.025),
    4px 5px 14px rgba(0,0,0,0.60),
    2px 2px 6px rgba(0,0,0,0.35);
  transition: transform 0.3s ease;
}
.value-card::before {
  content: '';
  position: absolute; top:0; left:12%; right:12%; height:1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.18), transparent);
}
.value-card:hover { transform: translateY(-3px); }
.value-num {
  font-size: 3rem; font-weight: 900; font-family: var(--mono);
  color: rgba(0,212,255,0.06); line-height: 1; margin-bottom: 0.7rem;
}
.value-name { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.value-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* ═══════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════ */
#contact { background: var(--bg2); }
.contact-layout {
  display: flex; align-items: center;
  justify-content: space-between; gap: 3rem; flex-wrap: wrap;
}
.contact-cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900; letter-spacing: -0.02em; margin-bottom: 0.5rem;
}
.contact-cta-title .accent {
  background: linear-gradient(125deg, var(--cyan), var(--pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.contact-lead { color: var(--muted); font-size: 0.92rem; line-height: 1.65; max-width: 400px; margin-top: 0.5rem; }
.contact-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }

.info-card {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.9rem 1.3rem; border-radius: var(--radius-md);
  background: linear-gradient(145deg, #121236, #0d0d26);
  border: 1px solid rgba(255,255,255,0.055);
  position: relative; overflow: hidden;
  text-decoration: none; cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow:
    -2px -2px 5px rgba(255,255,255,0.025),
    4px 5px 14px rgba(0,0,0,0.60);
}
.info-card:hover {
  border-color: rgba(0,212,255,0.22);
  box-shadow: -2px -2px 5px rgba(255,255,255,0.03), 4px 5px 18px rgba(0,0,0,0.65), 0 0 20px rgba(0,212,255,0.07);
}
.info-card:hover .info-text { color: var(--text); }
.info-card::before {
  content: '';
  position: absolute; top:0; left:10%; right:10%; height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
}
.info-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #0d2e3a, #061c25);
  border: 1px solid rgba(0,212,255,0.14);
  box-shadow:
    -1px -1px 3px rgba(0,212,255,0.06),
    2px 3px 8px rgba(0,0,0,0.50),
    0 0 12px rgba(0,212,255,0.06);
}
.info-text { font-size: 0.85rem; color: var(--muted); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 2rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  background: linear-gradient(180deg, rgba(8,8,22,0.92) 0%, rgba(4,4,12,0.96) 100%);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.04);
}
.footer-logo { display: flex; align-items: center; gap: 0.8rem; }
.footer-copy { font-size: 0.74rem; color: var(--muted); }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.74rem; color: var(--muted); letter-spacing: 0.08em;
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--cyan); }

/* ═══════════════════════════════════════
   PRICING SECTION
═══════════════════════════════════════ */
#pricing { background: var(--bg); position: relative; overflow: hidden; }

#pricing-bg-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

.pricing-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-bottom: 3.5rem;
  font-size: 0.8rem; color: var(--muted); letter-spacing: 0.08em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; align-items: stretch;
  position: relative; z-index: 1;
}

.pricing-card {
  padding: 2.2rem; border-radius: var(--radius-xl);
  background: rgba(10, 10, 32, 0.14);
  backdrop-filter: blur(22px) saturate(1.8) brightness(1.08);
  -webkit-backdrop-filter: blur(22px) saturate(1.8) brightness(1.08);
  border: 1px solid rgba(255,255,255,0.11);
  position: relative; overflow: visible;
  box-shadow:
    -3px -3px 8px rgba(255,255,255,0.025),
    5px 7px 22px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.07);
  transition: transform 0.3s cubic-bezier(0.34,1.2,0.64,1), box-shadow 0.3s ease;
}
.pricing-card::before {
  content: '';
  position: absolute; top:0; left:15%; right:15%; height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  pointer-events: none; border-radius: 0;
}
.pricing-card:hover {
  transform: scale(1.05) translateY(-6px);
  box-shadow:
    -4px -4px 14px rgba(255,255,255,0.04),
    10px 14px 40px rgba(0,0,0,0.65),
    0 0 50px rgba(0,212,255,0.09),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

.pricing-card.is-popular {
  background: rgba(14, 32, 66, 0.16);
  border-color: rgba(0,212,255,0.22);
  transform: translateY(-10px);
  box-shadow:
    -3px -3px 10px rgba(0,212,255,0.10),
    6px 9px 28px rgba(0,0,0,0.70),
    0 0 55px rgba(0,212,255,0.10),
    0 0 0 1px rgba(0,212,255,0.08);
}
.pricing-card.is-popular:hover {
  transform: translateY(-14px);
  box-shadow:
    -4px -4px 14px rgba(0,212,255,0.14),
    9px 12px 36px rgba(0,0,0,0.75),
    0 0 70px rgba(0,212,255,0.16);
}

.popular-badge {
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  padding: 0.32rem 1.3rem;
  background: linear-gradient(140deg, #00b8dd 0%, #006a8a 100%);
  border-radius: 20px;
  font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: #fff;
  white-space: nowrap;
  box-shadow:
    0 0 22px rgba(0,212,255,0.40),
    0 3px 10px rgba(0,0,0,0.40),
    inset 0 1px 0 rgba(255,255,255,0.20);
}

.pricing-tier-badge {
  display: inline-flex; align-items: center;
  padding: 0.26rem 0.9rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  font-size: 0.63rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.3rem;
}
.pricing-card.is-popular .pricing-tier-badge {
  background: rgba(0,212,255,0.07);
  border-color: rgba(0,212,255,0.18);
  color: var(--cyan);
}

.pricing-name {
  font-family: var(--display);
  font-size: 1.25rem; font-weight: 600;
  letter-spacing: 0.08em; margin-bottom: 0.9rem;
  text-transform: uppercase;
}

.pricing-price {
  display: flex; align-items: baseline; gap: 0.4rem;
  margin-bottom: 0.9rem;
}
.price-amount {
  font-family: var(--display);
  font-size: 2.4rem; font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--pink) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 14px rgba(0,212,255,0.30));
}
.pricing-card.is-popular .price-amount {
  background: linear-gradient(135deg, #40eeff 0%, #00aed4 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 14px rgba(0,212,255,0.35));
}
.price-per {
  font-size: 0.82rem; color: var(--muted); letter-spacing: 0.05em;
}

.pricing-desc {
  font-size: 0.83rem; color: var(--muted);
  line-height: 1.62; margin-bottom: 1.6rem; min-height: 3.5em;
}

.pricing-divider {
  height: 1px; margin: 1.6rem 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
}
.pricing-card.is-popular .pricing-divider {
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.18), transparent);
}

.pricing-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.72rem;
}
.pricing-features li {
  display: flex; align-items: flex-start; gap: 0.72rem;
  font-size: 0.82rem; color: var(--muted); line-height: 1.4;
}
.pricing-features .pf-check {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px;
  color: var(--cyan);
  opacity: 0.70;
}
.pricing-card.is-popular .pricing-features .pf-check {
  opacity: 1;
  filter: drop-shadow(0 0 4px var(--cyan));
}

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pricing-card.is-popular { transform: translateY(0); }
  .pricing-card.is-popular:hover { transform: translateY(-4px); }
}

/* ═══════════════════════════════════════
   CURSOR GLOW
═══════════════════════════════════════ */
.cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 600px; height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle,
    rgba(0,212,255,0.055) 0%,
    rgba(139,31,255,0.025) 40%,
    transparent 70%);
  transform: translate(var(--cx, -999px), var(--cy, -999px)) translate(-50%, -50%);
  will-change: transform;
  transition: transform 0.08s linear;
}

/* ═══════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .site-nav { padding: 1rem 2rem; }
  .hero-illustration { display: none; }
  .ai-layout { grid-template-columns: 1fr; gap: 3rem; }
  .values-intro { grid-template-columns: 1fr; gap: 1rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-tabs, .nav-cta-wrap { display: none; }
  .nav-burger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2.8rem, 12vw, 5rem); }
  .stat-item { padding: 1.5rem 1rem; }
  .stat-number { font-size: 2rem; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; gap: 2rem; }
  .contact-layout { flex-direction: column; }
  .site-footer { flex-direction: column; align-items: flex-start; padding: 2rem; }
  .section-wrap { padding: 4rem 1.5rem; }

  /* Mobile nav menu */
  .mobile-menu {
    position: fixed; inset: 0; z-index: 90;
    background: rgba(6,6,22,0.97);
    backdrop-filter: blur(20px);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 1.5rem;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.34,1.05,0.64,1);
  }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu a {
    font-size: 1.5rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted); transition: color 0.2s;
  }
  .mobile-menu a:hover { color: var(--cyan); }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-bar { flex-wrap: wrap; }
  .stat-item { min-width: 50%; }
}

/* ── PRICING NOTE ── */
.pricing-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ── SERVICE CARD DETAIL PANEL ── */
.svc-detail {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
  margin-bottom: 0.5rem; padding: 0.6rem 0.75rem;
  background: rgba(0,212,255,0.04);
  border: 1px solid rgba(0,212,255,0.10);
  border-radius: var(--radius-md);
}
.service-card.is-featured .svc-detail {
  background: rgba(255,45,120,0.05);
  border-color: rgba(255,45,120,0.12);
}
.svc-detail-item {
  font-size: 0.72rem; color: var(--muted);
  padding: 0.28rem 0.65rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px; white-space: nowrap;
  letter-spacing: 0.02em;
}

/* ── LEGAL BOTTOM SHEET ── */
.legal-overlay {
  position: fixed; inset: 0; z-index: 490;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.legal-overlay.open { opacity: 1; pointer-events: all; }

.legal-sheet {
  position: fixed; left: 1.2rem; right: 1.2rem; bottom: 1.2rem;
  max-height: 78vh; z-index: 495;
  transform: translateY(calc(100% + 2rem));
  transition: transform 0.45s cubic-bezier(0.34, 1.05, 0.64, 1);
  border-radius: 20px; overflow: hidden;
  background: rgba(8, 8, 30, 0.08);
  backdrop-filter: blur(72px) saturate(2.8) brightness(1.15);
  -webkit-backdrop-filter: blur(72px) saturate(2.8) brightness(1.15);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 -24px 70px rgba(0,0,0,0.5), 0 -6px 24px rgba(0,0,0,0.3);
}
.legal-sheet.open { transform: translateY(0); }

.legal-drag-handle {
  width: 40px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.18);
  margin: 0.9rem auto 0;
}
.legal-sheet-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 2rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.legal-sheet-title {
  font-family: var(--display); font-size: 1.1rem; font-weight: 600;
  letter-spacing: 0.05em; color: var(--text);
}
.legal-content {
  padding: 1.5rem 2rem 2rem;
  overflow-y: auto; max-height: calc(78vh - 100px);
  color: var(--muted); font-size: 0.88rem; line-height: 1.75;
  scrollbar-width: thin; scrollbar-color: rgba(0,212,255,0.2) transparent;
}
.legal-content h3 {
  font-family: var(--display); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cyan); margin: 1.4rem 0 0.5rem;
}
.legal-content h3:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 0.6rem; }
.legal-content ul { padding-left: 1.2rem; margin-bottom: 0.6rem; }
.legal-content li { margin-bottom: 0.3rem; list-style: disc; }
