/* =====================================================================
   ZENTRIVA SYSTEMS — Performance Marketing Agency
   Design system: Motion-Driven · Dark Premium · Tech
   Fonts: Space Grotesk (display) · DM Sans (body) · Space Mono (labels)
   ===================================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Space+Mono:wght@400;700&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Surfaces */
  --bg: #06070C;
  --bg-2: #0A0C14;
  --surface: #0E1220;
  --surface-2: #141A2B;
  --surface-3: #1B2238;

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text: #F4F6FB;
  --text-muted: #9AA3B8;
  --text-dim: #69718C;

  /* Brand */
  --violet: #7C5CFF;
  --violet-2: #9D7BFF;
  --cyan: #22D3EE;
  --green: #34D399;
  --pink: #F472B6;

  /* Signature gradients */
  --grad: linear-gradient(120deg, #7C5CFF 0%, #22D3EE 100%);
  --grad-soft: linear-gradient(120deg, #9D7BFF 0%, #5EEAD4 100%);
  --grad-text: linear-gradient(100deg, #C4B5FD 0%, #67E8F9 55%, #6EE7B7 100%);

  /* Glow */
  --glow-violet: 0 0 0 1px rgba(124, 92, 255, 0.4), 0 18px 60px -12px rgba(124, 92, 255, 0.55);
  --glow-cyan: 0 18px 60px -12px rgba(34, 211, 238, 0.45);

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --gutter: clamp(20px, 5vw, 48px);

  /* Z-scale */
  --z-bg: 0;
  --z-base: 10;
  --z-nav: 80;
  --z-cursor: 90;
  --z-modal: 100;

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Lenis adds its own; keep fallback */
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: rgba(124, 92, 255, 0.35); color: #fff; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #20263a; border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #2c3450; }

/* =====================================================================
   TYPOGRAPHY
   ===================================================================== */
h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text);
}

.display {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
h2.section-title { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }

.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--violet-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet-2));
}
.eyebrow.center::before { display: none; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-muted); max-width: 60ch; }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* =====================================================================
   LAYOUT
   ===================================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.wide { max-width: var(--container-wide); }
.section { position: relative; padding-block: clamp(72px, 11vw, 150px); }
.section.tight { padding-block: clamp(48px, 7vw, 90px); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { margin-top: 18px; }

.divider { height: 1px; background: var(--border); border: 0; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  color: #0A0410;
  background: var(--grad);
  box-shadow: 0 10px 40px -10px rgba(124, 92, 255, 0.65);
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.55) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform .8s var(--ease-out);
}
.btn-primary:hover { box-shadow: 0 16px 50px -8px rgba(124, 92, 255, 0.8); transform: translateY(-2px); }
.btn-primary:hover::after { transform: translateX(130%); }

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255,255,255,0.28); transform: translateY(-2px); }

.btn-lg { padding: 18px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  color: var(--text);
  transition: gap .3s var(--ease-out), color .3s;
}
.text-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.text-link:hover { color: var(--violet-2); }
.text-link:hover svg { transform: translateX(4px); }

/* =====================================================================
   BACKGROUND FX (aurora, grid, grain)
   ===================================================================== */
.fx { position: fixed; inset: 0; z-index: var(--z-bg); pointer-events: none; overflow: hidden; }
.fx-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 25%, transparent 80%);
  animation: gridPan 28s linear infinite;
}
@keyframes gridPan { to { background-position: 64px 64px; } }

.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb-1 { width: 540px; height: 540px; background: radial-gradient(circle, #7C5CFF, transparent 65%); top: -180px; left: -120px; animation: float1 18s ease-in-out infinite; }
.orb-2 { width: 460px; height: 460px; background: radial-gradient(circle, #22D3EE, transparent 65%); top: 8%; right: -160px; animation: float2 22s ease-in-out infinite; }
.orb-3 { width: 600px; height: 600px; background: radial-gradient(circle, #6EE7B7, transparent 70%); bottom: -260px; left: 30%; opacity: .3; animation: float3 26s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(60px,40px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-50px,60px)} }
@keyframes float3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(40px,-50px)} }

.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: var(--grad); z-index: var(--z-nav);
  box-shadow: 0 0 12px rgba(124,92,255,.7);
}

/* =====================================================================
   CUSTOM CURSOR
   ===================================================================== */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: var(--z-cursor); pointer-events: none; border-radius: 50%; mix-blend-mode: difference; }
.cursor-dot { width: 7px; height: 7px; background: #fff; transform: translate(-50%, -50%); }
.cursor-ring { width: 36px; height: 36px; border: 1.5px solid rgba(255,255,255,0.6); transform: translate(-50%, -50%); transition: width .25s var(--ease-out), height .25s var(--ease-out), background .25s, border-color .25s; }
.cursor-ring.hover { width: 58px; height: 58px; background: rgba(255,255,255,0.08); border-color: transparent; }
body.has-cursor { cursor: none; }
body.has-cursor a, body.has-cursor button { cursor: none; }

/* =====================================================================
   NAVBAR
   ===================================================================== */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 32px); max-width: var(--container-wide);
  z-index: var(--z-nav);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 11px 11px 11px 22px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: rgba(10, 12, 20, 0.6);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: border-color .4s, background .4s, box-shadow .4s;
}
.nav.scrolled .nav-inner { background: rgba(10, 12, 20, 0.82); border-color: var(--border-strong); box-shadow: 0 12px 40px -20px rgba(0,0,0,0.9); }

.logo { display: inline-flex; align-items: center; gap: 11px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.12rem; letter-spacing: -0.02em; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-text .logo-dim { color: var(--text-dim); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; padding: 9px 14px; border-radius: var(--r-pill);
  font-size: 0.95rem; color: var(--text-muted); font-weight: 500;
  transition: color .25s, background .25s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--text); }

/* dropdown */
.nav-item { position: relative; }
.nav-dd-trigger { display: inline-flex; align-items: center; gap: 6px; }
.nav-dd-trigger svg { width: 14px; height: 14px; transition: transform .3s; }
.nav-item:hover .nav-dd-trigger svg { transform: rotate(180deg); }
.nav-dd {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 330px; padding: 10px; border-radius: var(--r-lg);
  background: rgba(14, 18, 32, 0.96); border: 1px solid var(--border-strong);
  backdrop-filter: blur(20px); box-shadow: 0 24px 60px -20px rgba(0,0,0,0.8);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .28s var(--ease-out), transform .28s var(--ease-out), visibility .28s;
  transition-delay: .2s; /* grace period: stay open ~200ms after the cursor leaves */
}
/* invisible bridge across the gap so the cursor can travel from the trigger
   to the menu without ever leaving a hoverable element (prevents early close) */
.nav-dd::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav-item:hover .nav-dd,
.nav-item:focus-within .nav-dd,
.nav-dd:hover {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0); transition-delay: 0s;
}
.nav-dd a { display: flex; align-items: center; gap: 13px; padding: 11px 12px; border-radius: var(--r-md); transition: background .25s; }
.nav-dd a:hover { background: rgba(255,255,255,0.05); }
.nav-dd a > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.nav-dd-ico { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(124,92,255,0.12); border: 1px solid rgba(124,92,255,0.25); }
.nav-dd-ico svg { width: 19px; height: 19px; color: var(--violet-2); }
.nav-dd-title { display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.95rem; }
.nav-dd-sub { display: block; font-size: 0.78rem; color: var(--text-dim); margin-top: 2px; white-space: nowrap; }
.nav-dd-price { margin-left: auto; flex: none; align-self: center; font-family: 'Space Mono', monospace; font-size: 0.82rem; color: var(--cyan); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); background: rgba(255,255,255,0.04); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-burger span { width: 18px; height: 1.7px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease-out), opacity .25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.7px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 70; background: rgba(6,7,12,0.96); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a { font-family: 'Space Grotesk', sans-serif; font-size: 1.7rem; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--text-muted); transition: color .25s, padding-left .3s; }
.mobile-menu a:hover { color: var(--text); padding-left: 10px; }
.mobile-menu .mm-cta { margin-top: 28px; border: 0; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; padding-top: clamp(140px, 20vh, 200px); padding-bottom: clamp(60px, 9vw, 110px); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px;
  border-radius: var(--r-pill); border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.04); font-size: 0.85rem; color: var(--text-muted); margin-bottom: 28px;
}
.hero-badge .pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero-badge .pulse::after { content:""; position:absolute; inset:-4px; border-radius:50%; border:1px solid var(--green); animation: pulseRing 2s ease-out infinite; }
@keyframes pulseRing { 0%{transform:scale(.6);opacity:1} 100%{transform:scale(1.9);opacity:0} }
.hero-badge b { color: var(--text); font-weight: 600; }

.hero h1 { margin-bottom: 26px; }
.hero .lead { font-size: clamp(1.1rem, 1.7vw, 1.32rem); margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust { margin-top: 46px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero-trust .label { font-family: 'Space Mono', monospace; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); }

/* hero visual: animated dashboard card */
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.hero-visual { position: relative; }

.glass-card {
  position: relative; border-radius: var(--r-lg); border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(20,26,43,0.9), rgba(10,12,20,0.85));
  backdrop-filter: blur(14px); box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9);
  overflow: hidden;
}
.glass-card::before { content:""; position:absolute; inset:0; border-radius: inherit; padding:1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity:.5; }

.dash { padding: 22px; }
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; background: #2a3147; }
.dash-dots span:first-child { background: #ff5f57; } .dash-dots span:nth-child(2){ background:#febc2e;} .dash-dots span:nth-child(3){ background:#28c840;}
.dash-live { font-family:'Space Mono',monospace; font-size:0.7rem; letter-spacing:.15em; color: var(--green); display:flex; align-items:center; gap:7px; }
.dash-live .pulse { width:7px;height:7px;border-radius:50%;background:var(--green); box-shadow:0 0 0 0 rgba(52,211,153,.6); animation: livePulse 1.8s infinite; }
@keyframes livePulse { 0%{box-shadow:0 0 0 0 rgba(52,211,153,.5)} 70%{box-shadow:0 0 0 8px rgba(52,211,153,0)} 100%{box-shadow:0 0 0 0 rgba(52,211,153,0)} }

.dash-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.kpi { padding: 14px; border-radius: var(--r-md); background: rgba(255,255,255,0.03); border: 1px solid var(--border); }
.kpi-label { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.kpi-val { font-family:'Space Grotesk',sans-serif; font-size: 1.6rem; font-weight: 600; margin-top: 4px; }
.kpi-delta { font-size: 0.78rem; font-family:'Space Mono',monospace; margin-top: 2px; }
.kpi-delta.up { color: var(--green); } .kpi-delta.down { color: var(--pink); }

.chart-box { padding: 16px; border-radius: var(--r-md); background: rgba(255,255,255,0.02); border: 1px solid var(--border); }
.chart-box .chart-title { font-size: 0.74rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; display:flex; justify-content:space-between; }

/* floating mini-cards around dashboard */
.float-card {
  position: absolute; padding: 12px 16px; border-radius: var(--r-md);
  background: rgba(14,18,32,0.92); border: 1px solid var(--border-strong); backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.8); display: flex; align-items: center; gap: 11px;
}
.float-card .fc-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.float-card .fc-ico svg { width: 18px; height: 18px; }
.float-card .fc-label { font-size: 0.72rem; color: var(--text-dim); }
.float-card .fc-val { font-family:'Space Grotesk',sans-serif; font-weight: 600; font-size: 0.95rem; }
.fc-a { top: -26px; right: -10px; animation: bob 5s ease-in-out infinite; }
.fc-b { bottom: -30px; left: -24px; animation: bob 6s ease-in-out infinite .6s; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* =====================================================================
   MARQUEE
   ===================================================================== */
.marquee { position: relative; overflow: hidden; padding-block: 26px; border-block: 1px solid var(--border); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scrollX 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size: 1.25rem; color: var(--text-dim); white-space: nowrap; transition: color .3s; }
.marquee-item:hover { color: var(--text); }
.marquee-item svg { width: 24px; height: 24px; }
@keyframes scrollX { to { transform: translateX(calc(-50% - 28px)); } }

/* =====================================================================
   STATS
   ===================================================================== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 30px 26px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); position: relative; overflow: hidden; }
.stat::after { content:""; position:absolute; top:0; left:0; right:0; height:2px; background: var(--grad); opacity:0; transition: opacity .4s; }
.stat:hover::after { opacity: 1; }
.stat-num { font-family:'Space Grotesk',sans-serif; font-size: clamp(2.4rem,4vw,3.2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.stat-num .suffix { color: var(--violet-2); }
.stat-label { margin-top: 12px; color: var(--text-muted); font-size: 0.95rem; }

/* =====================================================================
   SERVICE CARDS
   ===================================================================== */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; padding: 32px;
  border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface);
  overflow: hidden; transition: transform .5s var(--ease-out), border-color .4s, background .4s;
}
.svc-card::before { content:""; position:absolute; width:280px; height:280px; border-radius:50%; background: radial-gradient(circle, rgba(124,92,255,0.22), transparent 70%); top:-140px; right:-100px; opacity:0; transition: opacity .5s; pointer-events:none; }
.svc-card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.svc-card:hover::before { opacity: 1; }
.svc-card.featured { border-color: rgba(124,92,255,0.4); background: linear-gradient(165deg, rgba(124,92,255,0.08), var(--surface)); }
.svc-badge { position: absolute; top: 20px; right: 20px; font-family:'Space Mono',monospace; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--r-pill); background: var(--grad); color: #0A0410; font-weight: 700; }

.svc-ico { width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center; background: rgba(124,92,255,0.1); border: 1px solid rgba(124,92,255,0.22); margin-bottom: 22px; }
.svc-ico svg { width: 27px; height: 27px; color: var(--violet-2); }
.svc-card h3 { margin-bottom: 8px; }
.svc-tier { font-family:'Space Mono',monospace; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.svc-card p { color: var(--text-muted); font-size: 0.96rem; flex: 1; }
.svc-price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 18px; }
.svc-price .amt { font-family:'Space Grotesk',sans-serif; font-size: 2.1rem; font-weight: 600; }
.svc-price .per { color: var(--text-dim); font-size: 0.86rem; }
.svc-meta { display:flex; gap: 18px; margin-bottom: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.svc-meta div { font-size: 0.82rem; color: var(--text-dim); }
.svc-meta b { display:block; color: var(--text); font-family:'Space Grotesk',sans-serif; font-size: 0.96rem; }

/* Whole-card click target (stretched-link pattern): the card's "View package"
   link must stay position:static so its ::after anchors to the relative .svc-card
   and covers the entire card, turning the whole card into one click/tab target. */
.svc-card.is-clickable { cursor: pointer; }
.svc-card a.text-link { position: static; }
.svc-card a.text-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }

/* feature list */
.feat-list { display: grid; gap: 11px; }
.feat-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-muted); font-size: 0.95rem; }
.feat-list .check { flex: none; width: 21px; height: 21px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.3); }
.feat-list .check svg { width: 12px; height: 12px; color: var(--green); }

/* =====================================================================
   BENTO / FEATURES
   ===================================================================== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(180px, auto); gap: 18px; }
.bento-item { position: relative; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); overflow: hidden; transition: border-color .4s, transform .5s var(--ease-out); }
.bento-item:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.bento-item.lg { grid-column: span 2; }
.bento-item.tall { grid-row: span 2; }
.bento-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.22); margin-bottom: 18px; }
.bento-ico svg { width: 23px; height: 23px; color: var(--cyan); }
.bento-item h3 { font-size: 1.2rem; margin-bottom: 8px; }
.bento-item p { color: var(--text-muted); font-size: 0.92rem; }

/* animated decorative ring */
.deco-ring { position: absolute; bottom: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%; border: 1px dashed rgba(255,255,255,0.12); animation: spin 24s linear infinite; }
.deco-ring::after { content:""; position:absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================================
   PROCESS
   ===================================================================== */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process::before { content:""; position:absolute; top: 34px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); }
.step { position: relative; }
.step-num { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font-family:'Space Grotesk',sans-serif; font-size: 1.5rem; font-weight: 600; background: var(--bg); border: 1px solid var(--border-strong); position: relative; z-index: 2; margin-bottom: 22px; transition: border-color .4s, box-shadow .4s; }
.step:hover .step-num { border-color: var(--violet); box-shadow: var(--glow-violet); }
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.92rem; }
.step-tag { font-family:'Space Mono',monospace; font-size:0.7rem; letter-spacing:.14em; color: var(--cyan); text-transform: uppercase; display:block; margin-bottom:6px; }

/* =====================================================================
   CTA SECTION
   ===================================================================== */
.cta-band { position: relative; border-radius: var(--r-xl); padding: clamp(40px, 7vw, 80px); overflow: hidden; border: 1px solid var(--border-strong); background: linear-gradient(150deg, rgba(124,92,255,0.16), rgba(34,211,238,0.08), var(--surface)); text-align: center; }
.cta-band::before { content:""; position:absolute; width: 600px; height: 600px; border-radius:50%; background: radial-gradient(circle, rgba(124,92,255,0.3), transparent 65%); top: -300px; left: 50%; transform: translateX(-50%); filter: blur(40px); }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.6rem); margin-bottom: 18px; position: relative; }
.cta-band p { max-width: 56ch; margin: 0 auto 34px; position: relative; }
.cta-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; position:relative; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { position: relative; border-top: 1px solid var(--border); padding-block: clamp(56px, 8vw, 84px) 36px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p { color: var(--text-muted); font-size: 0.95rem; max-width: 34ch; margin-bottom: 22px; }
.footer-col h4 { font-family:'Space Mono',monospace; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px; font-weight: 400; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: var(--text-muted); font-size: 0.95rem; transition: color .25s, padding-left .25s; }
.footer-col a:hover { color: var(--text); padding-left: 5px; }
.footer-contact a { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { width: 16px; height: 16px; color: var(--violet-2); flex: none; }

.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--border); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.86rem; color: var(--text-dim); }
.footer-legal a:hover { color: var(--text-muted); }
.footer-meta { font-size: 0.82rem; color: var(--text-dim); font-family:'Space Mono',monospace; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .3s; }
.socials a:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }

/* =====================================================================
   PAGE HEADER (sub pages)
   ===================================================================== */
.page-hero { position: relative; padding-top: clamp(150px, 22vh, 230px); padding-bottom: clamp(40px, 6vw, 70px); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-family:'Space Mono',monospace; font-size: 0.78rem; color: var(--text-dim); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--text-muted); }
.breadcrumb .sep { opacity: 0.5; }

/* =====================================================================
   SERVICE DETAIL
   ===================================================================== */
.svc-hero { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 50px; align-items: start; }
.svc-hero-aside { position: sticky; top: 110px; }
.price-card { padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--border-strong); background: var(--surface-2); position: relative; overflow: hidden; }
.price-card::before { content:""; position:absolute; inset:0; border-radius:inherit; padding:1px; background: var(--grad); -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; opacity:.45; }
.price-card .pc-tier { font-family:'Space Mono',monospace; letter-spacing:0.14em; text-transform:uppercase; font-size:0.72rem; color: var(--cyan); }
.price-card .pc-amt { font-family:'Space Grotesk',sans-serif; font-size: 3rem; font-weight: 600; margin: 10px 0 4px; }
.price-card .pc-note { color: var(--text-dim); font-size: 0.84rem; margin-bottom: 22px; }
.pc-rows { display: grid; gap: 14px; margin: 22px 0; padding-block: 22px; border-block: 1px solid var(--border); }
.pc-row { display: flex; justify-content: space-between; font-size: 0.9rem; }
.pc-row span:first-child { color: var(--text-dim); }
.pc-row span:last-child { font-family:'Space Grotesk',sans-serif; font-weight: 500; }

.content-block { max-width: 760px; }
.content-block h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 48px 0 18px; }
.content-block h3 { margin: 32px 0 12px; }
.content-block p { color: var(--text-muted); margin-bottom: 18px; }
.content-block ul.feat-list { margin: 20px 0; }

.deliverables { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin: 26px 0; }
.deliverable { padding: 22px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); transition: border-color .3s, transform .4s var(--ease-out); }
.deliverable:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.deliverable .d-ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.2); margin-bottom: 14px; }
.deliverable .d-ico svg { width: 21px; height: 21px; color: var(--cyan); }
.deliverable h4 { font-family:'Space Grotesk',sans-serif; font-size: 1.02rem; margin-bottom: 6px; }
.deliverable p { font-size: 0.88rem; margin: 0; }

/* timeline */
.timeline { position: relative; padding-left: 34px; margin: 26px 0; }
.timeline::before { content:""; position:absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--violet), var(--cyan)); }
.tl-item { position: relative; padding-bottom: 28px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content:""; position:absolute; left: -34px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--violet); }
.tl-item h4 { font-family:'Space Grotesk',sans-serif; font-size: 1.05rem; margin-bottom: 5px; }
.tl-item p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }
.tl-item .tl-day { font-family:'Space Mono',monospace; font-size: 0.72rem; color: var(--cyan); letter-spacing: 0.1em; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 32px; }
.contact-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); transition: border-color .3s, transform .4s var(--ease-out); }
.contact-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.contact-card .cc-ico { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(124,92,255,0.1); border: 1px solid rgba(124,92,255,0.22); }
.contact-card .cc-ico svg { width: 22px; height: 22px; color: var(--violet-2); }
.contact-card .cc-label { font-size: 0.76rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.contact-card .cc-val { font-family:'Space Grotesk',sans-serif; font-weight: 500; font-size: 1.04rem; margin-top: 3px; word-break: break-word; }
.contact-card .cc-val a:hover { color: var(--violet-2); }

.form-card { padding: clamp(26px, 4vw, 40px); border-radius: var(--r-lg); border: 1px solid var(--border-strong); background: var(--surface); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.84rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.field label .req { color: var(--violet-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--r-md);
  background: var(--bg-2); border: 1px solid var(--border-strong); color: var(--text);
  font-family: inherit; font-size: 0.98rem; transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124,92,255,0.15); background: var(--surface); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239AA3B8' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-note { font-size: 0.82rem; color: var(--text-dim); margin-top: 16px; }
.form-success { display: none; padding: 16px 18px; border-radius: var(--r-md); background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.3); color: var(--green); font-size: 0.92rem; margin-bottom: 20px; align-items: center; gap: 10px; }
.form-success.show { display: flex; }

/* =====================================================================
   LEGAL PAGES
   ===================================================================== */
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 110px; }
.legal-toc h4 { font-family:'Space Mono',monospace; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.legal-toc ul { display: grid; gap: 4px; }
.legal-toc a { display: block; padding: 8px 12px; border-radius: var(--r-sm); font-size: 0.88rem; color: var(--text-muted); border-left: 2px solid transparent; transition: color .25s, background .25s, border-color .25s; }
.legal-toc a:hover, .legal-toc a.active { color: var(--text); background: rgba(255,255,255,0.04); border-left-color: var(--violet); }

.legal-content { max-width: 760px; }
.legal-content .updated { font-family:'Space Mono',monospace; font-size: 0.82rem; color: var(--text-dim); margin-bottom: 36px; padding: 12px 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); display: inline-block; }
.legal-content section { padding-top: 20px; margin-bottom: 36px; scroll-margin-top: 120px; }
.legal-content h2 { font-size: 1.5rem; margin-bottom: 16px; display: flex; align-items: baseline; gap: 12px; }
.legal-content h2 .n { font-family:'Space Mono',monospace; font-size: 0.9rem; color: var(--violet-2); }
.legal-content h3 { font-size: 1.1rem; margin: 24px 0 10px; }
.legal-content p, .legal-content li { color: var(--text-muted); margin-bottom: 14px; font-size: 0.97rem; }
.legal-content ul { padding-left: 4px; display: grid; gap: 8px; margin-bottom: 18px; }
.legal-content ul li { display: flex; gap: 11px; }
.legal-content ul li::before { content:""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); margin-top: 9px; }
.legal-content a { color: var(--cyan); border-bottom: 1px solid rgba(34,211,238,0.3); transition: border-color .25s; }
.legal-content a:hover { border-color: var(--cyan); }
.legal-content table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 0.9rem; }
.legal-content th, .legal-content td { text-align: left; padding: 12px 14px; border: 1px solid var(--border); }
.legal-content th { background: var(--surface); font-family:'Space Grotesk',sans-serif; color: var(--text); font-weight: 600; }
.legal-content td { color: var(--text-muted); }

/* =====================================================================
   COOKIE BANNER
   ===================================================================== */
.cookie-banner {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%) translateY(140%);
  width: calc(100% - 32px); max-width: 560px; z-index: var(--z-modal);
  padding: 22px 24px; border-radius: var(--r-lg); border: 1px solid var(--border-strong);
  background: rgba(14,18,32,0.95); backdrop-filter: blur(18px); box-shadow: 0 30px 70px -20px rgba(0,0,0,0.9);
  transition: transform .6s var(--ease-out);
}
.cookie-banner.show { transform: translateX(-50%) translateY(0); }
.cookie-banner h4 { font-size: 1.05rem; margin-bottom: 8px; display:flex; align-items:center; gap:9px; }
.cookie-banner h4 svg { width: 19px; height: 19px; color: var(--violet-2); }
.cookie-banner p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 18px; }
.cookie-banner p a { color: var(--cyan); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 11px 20px; font-size: 0.9rem; }

/* =====================================================================
   PAGE-SPECIFIC ANIMATED ACCENTS (a different small motif per screen)
   ===================================================================== */
@keyframes accSpin { to { transform: rotate(360deg); } }
@keyframes accPing { 0% { transform: scale(.4); opacity: .9; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
@keyframes accFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes accBlink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes accBarRise { 0% { transform: scaleY(.28); } 100% { transform: scaleY(1); } }
@keyframes accCrumb { 0% { transform: translate(0,0) rotate(0); opacity: 0; } 12% { opacity: 1; } 100% { transform: translate(var(--cx,6px), 30px) rotate(220deg); opacity: 0; } }
@keyframes accDraw { to { stroke-dashoffset: 0; } }
@keyframes accScrollDot { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }
@keyframes accOrbit { from { transform: rotate(0) translateX(22px) rotate(0); } to { transform: rotate(360deg) translateX(22px) rotate(-360deg); } }
@keyframes accRings { 0% { transform: scale(.2); opacity: .85; } 100% { transform: scale(5); opacity: 0; } }

/* Scroll cue (homepage hero) */
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 9px; z-index: 3; color: var(--text-dim); transition: color .3s; }
.scroll-cue:hover { color: var(--text-muted); }
.scroll-cue .sc-track { width: 23px; height: 38px; border: 1.5px solid var(--border-strong); border-radius: 13px; display: flex; justify-content: center; padding-top: 7px; }
.scroll-cue .sc-dot { width: 4px; height: 8px; border-radius: 4px; background: var(--violet-2); animation: accScrollDot 1.8s var(--ease-in-out) infinite; }
.scroll-cue .sc-label { font-family: 'Space Mono', monospace; font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; }
@media (max-width: 1024px) { .scroll-cue { display: none; } }

/* Top-right hero accent (legal + contact pages) — sits in the empty side gutter */
.hero-accent { position: absolute; top: 158px; right: var(--gutter); width: 132px; height: 132px; z-index: 1; pointer-events: none; opacity: .85; }
.hero-accent svg { width: 100%; height: 100%; }
@media (max-width: 1080px) { .hero-accent { display: none; } }

/* Price-card corner motif (service pages) */
.acc-corner { position: absolute; top: 18px; right: 18px; width: 66px; height: 66px; z-index: 0; pointer-events: none; opacity: .6; }

/* --- Radar (PPC Express) --- */
.m-radar { position: absolute; inset: 0; border-radius: 50%; }
.m-radar i { position: absolute; border: 1px solid rgba(124,92,255,.32); border-radius: 50%; }
.m-radar i:nth-child(1) { inset: 0; } .m-radar i:nth-child(2) { inset: 22%; } .m-radar i:nth-child(3) { inset: 44%; }
.m-radar .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(34,211,238,.5), transparent 62%); animation: accSpin 3.4s linear infinite; }
.m-radar .blip { position: absolute; top: 24%; left: 60%; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: accPing 2.4s ease-out infinite; }

/* --- Orbit (Core Traffic Engine) --- */
.m-orbit { position: absolute; inset: 0; }
.m-orbit .path { position: absolute; inset: 18%; border: 1px dashed rgba(255,255,255,.2); border-radius: 50%; animation: accSpin 22s linear infinite; }
.m-orbit .core { position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 14px var(--violet); }
.m-orbit .sat { position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: accOrbit 3.6s linear infinite; }

/* --- Equalizer bars (E-Commerce Scale) --- */
.m-bars { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; gap: 5px; padding: 14px 12px; }
.m-bars span { width: 8px; border-radius: 3px 3px 0 0; background: linear-gradient(var(--cyan), var(--violet)); transform-origin: bottom; animation: accBarRise 1.3s var(--ease-in-out) infinite alternate; }
.m-bars span:nth-child(1) { height: 42%; animation-delay: 0s; }
.m-bars span:nth-child(2) { height: 72%; animation-delay: .18s; }
.m-bars span:nth-child(3) { height: 56%; animation-delay: .36s; }
.m-bars span:nth-child(4) { height: 92%; animation-delay: .54s; }

/* --- Concentric rings (Contact) --- */
.m-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.m-rings span { position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--violet-2); transform: scale(.2); animation: accRings 3s ease-out infinite; }
.m-rings span:nth-child(2) { animation-delay: 1s; border-color: var(--cyan); }
.m-rings span:nth-child(3) { animation-delay: 2s; border-color: var(--green); }
.m-rings .core { width: 14px; height: 14px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 16px rgba(124,92,255,.7); z-index: 1; }

/* "Available" badge (Contact heading) */
.avail-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px 7px 12px; border-radius: var(--r-pill); border: 1px solid rgba(52,211,153,.3); background: rgba(52,211,153,.08); font-size: .82rem; color: var(--text-muted); margin-bottom: 22px; }
.avail-badge .pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.avail-badge .pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--green); animation: accPing 2s ease-out infinite; }
.avail-badge b { color: var(--text); font-weight: 600; }

/* Send button plane micro-interaction (Contact) */
#contact-form button[type="submit"] svg { transition: transform .4s var(--ease-out); }
#contact-form button[type="submit"]:hover svg { transform: translate(4px, -4px); }

/* Stroke-draw motifs (Privacy shield / Terms doc) */
.m-draw .draw { stroke-dasharray: var(--len, 200); stroke-dashoffset: var(--len, 200); animation: accDraw 2.6s var(--ease-out) infinite alternate; }
.m-draw .draw.d2 { animation-delay: .5s; }
.m-draw .glow { animation: accBlink 2.6s var(--ease-in-out) infinite; }

/* Cookie + crumbs (Cookies page) */
.m-cookie { position: absolute; inset: 0; display: grid; place-items: center; }
.m-cookie .cookie { width: 78px; height: 78px; animation: accFloat 5s var(--ease-in-out) infinite; }
.m-cookie .crumb { position: absolute; top: 42%; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--violet-2); }
.m-cookie .crumb:nth-child(2) { --cx: -14px; animation: accCrumb 2.8s linear infinite; }
.m-cookie .crumb:nth-child(3) { --cx: 12px; animation: accCrumb 2.8s linear .9s infinite; }
.m-cookie .crumb:nth-child(4) { --cx: 2px; animation: accCrumb 2.8s linear 1.8s infinite; }

/* =====================================================================
   AMBIENT FLOATING ELEMENTS (decorative, every page — JS-generated)
   Small shapes that drift, rotate and twinkle behind the content.
   ===================================================================== */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fl { position: absolute; opacity: 0; color: var(--violet); will-change: transform, opacity; }
.fl-dot, .fl-ring, .fl-plus, .fl-tri { animation-name: floatUp; animation-timing-function: linear; animation-iteration-count: infinite; }
.fl-star { animation-name: twinkle; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
.fl-dot { border-radius: 50%; background: currentColor; }
.fl-ring { border-radius: 50%; border: 1.5px solid currentColor; }
.fl-plus { background:
  linear-gradient(currentColor, currentColor) center / 100% 1.6px no-repeat,
  linear-gradient(currentColor, currentColor) center / 1.6px 100% no-repeat; }
.fl-tri { background: currentColor; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.fl-star { background: currentColor; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }

@keyframes floatUp {
  0%   { transform: translate3d(0, 22px, 0) rotate(0deg) scale(.9); opacity: 0; }
  12%  { opacity: var(--op, .5); }
  88%  { opacity: var(--op, .5); }
  100% { transform: translate3d(var(--dx, 30px), -160px, 0) rotate(var(--rot, 120deg)) scale(1.05); opacity: 0; }
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); }
  50%      { opacity: var(--op, .85); transform: scale(1) rotate(45deg); }
}

/* =====================================================================
   REVEAL ANIMATIONS (JS toggles .in)
   ===================================================================== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }

/* word-by-word headline */
/* padding-bottom widens the overflow mask so descenders (g, y, p) aren't clipped;
   the equal negative margin keeps the original (tight) line spacing intact. */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.22em; margin-bottom: -0.22em; }
.split-word > span { display: inline-block; transform: translateY(130%); transition: transform .9s var(--ease-out); }
.split-ready .split-word > span { transform: translateY(130%); }
.split-in .split-word > span { transform: translateY(0); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 520px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-item.lg { grid-column: span 2; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process::before { display: none; }
  .svc-hero { grid-template-columns: 1fr; }
  .svc-hero-aside { position: relative; top: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-burger { display: flex; }
  .nav { top: 10px; width: calc(100% - 20px); }
  .deliverables { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-item.lg, .bento-item.tall { grid-column: auto; grid-row: auto; }
  .process { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { flex: 1; }
  .cookie-banner { bottom: 10px; }
}

@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr; }
  .dash-kpis { grid-template-columns: 1fr; }
}

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .split-word > span { transform: none !important; }
  .orb, .deco-ring, .marquee-track, .fx-grid { animation: none !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
  body.has-cursor { cursor: auto; }
}

/* touch devices: hide custom cursor */
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none !important; }
  body.has-cursor { cursor: auto; }
}
