/* =========================================================
   10Inch Labs — Landing Page Styles
   ========================================================= */

:root {
  --bg: #06000f;
  --bg-2: #0a0218;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f3ff;
  --text-dim: #a39bc4;
  --text-mute: #6e6691;

  --c1: #a855f7;   /* purple */
  --c2: #06b6d4;   /* cyan */
  --c3: #ec4899;   /* magenta */
  --c4: #fbbf24;   /* gold accent */

  --gradient: linear-gradient(135deg, var(--c1) 0%, var(--c3) 50%, var(--c2) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(6, 182, 212, 0.15));

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius: 18px;
  --radius-lg: 28px;

  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-display);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
}

@media (max-width: 980px), (pointer: coarse) {
  body { cursor: auto; }
  .cursor, .cursor-dot { display: none !important; }
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--c1); color: white; }

/* =========================================================
   Custom cursor
   ========================================================= */
.cursor {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(168, 85, 247, 0.65);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  mix-blend-mode: difference;
  backdrop-filter: blur(2px);
}
.cursor.hover {
  width: 64px;
  height: 64px;
  border-color: var(--c2);
  background: rgba(6, 182, 212, 0.08);
}
.cursor-dot {
  position: fixed;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

/* =========================================================
   Backgrounds & decorations
   ========================================================= */
.bg-orbs {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -3;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  will-change: transform;
}
.orb-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, var(--c1) 0%, transparent 70%);
  top: -10%; left: -10%;
  animation: float1 22s ease-in-out infinite;
}
.orb-2 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, var(--c2) 0%, transparent 70%);
  top: 30%; right: -15%;
  animation: float2 26s ease-in-out infinite;
}
.orb-3 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--c3) 0%, transparent 70%);
  bottom: -10%; left: 30%;
  animation: float3 30s ease-in-out infinite;
  opacity: 0.4;
}

@keyframes float1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(180px, 120px) scale(1.15); }
}
@keyframes float2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-200px, 100px) scale(0.9); }
}
@keyframes float3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(120px, -150px) scale(1.1); }
}

#particles {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.55;
}

.noise {
  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 viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  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 at 50% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 70%);
}

/* =========================================================
   Layout
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.section {
  padding: 140px 0;
  position: relative;
}
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.04), transparent);
}
.section-stats {
  padding: 100px 0;
}

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  z-index: 100;
  transition: top 0.3s ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: rgba(10, 2, 24, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 100px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}
.nav.scrolled .nav-inner {
  background: rgba(6, 0, 15, 0.85);
  border-color: var(--border-strong);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 18px;
}
.logo-mark {
  font-family: var(--font-mono);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 22px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s, transform 0.25s cubic-bezier(0.2, 0.9, 0.2, 1);
  position: relative;
  display: inline-block;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--gradient);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--text);
  color: #0a0218;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.25s, box-shadow 0.25s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.4);
}

.nav-burger {
  display: none;
  background: transparent;
  border: 0;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 70px; left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(6, 0, 15, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    gap: 16px;
  }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.3s, background 0.3s;
  position: relative;
  isolation: isolate;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.35), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gradient);
  background-size: 200% 200%;
  z-index: -1;
  filter: blur(20px);
  opacity: 0.6;
  animation: gradient-shift 6s ease infinite;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(168, 85, 247, 0.5);
}
.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--surface-2);
  transform: translateY(-2px);
}
.btn-block { width: 100%; justify-content: center; }

@keyframes gradient-shift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  max-width: var(--container);
  margin: 0 auto;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  background: var(--surface);
  backdrop-filter: blur(10px);
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-bottom: 28px;
}

.dot-pulse {
  width: 8px; height: 8px;
  background: #10b981;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}
.dot-pulse.small { width: 6px; height: 6px; }
.dot-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #10b981;
  opacity: 0.5;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hero-title {
  font-size: clamp(40px, 6.4vw, 84px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line > span { display: inline-block; }

.gradient-text {
  background: var(--gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 8s ease infinite;
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-mute);
  font-size: 13px;
  flex-wrap: wrap;
}
.trust-stars {
  display: inline-flex;
  gap: 2px;
}

/* Hero floating spec card */
.hero-card {
  position: relative;
  background: rgba(15, 5, 30, 0.7);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 0;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(168, 85, 247, 0.2), transparent 60%);
  pointer-events: none;
}
.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}
.card-dots { display: flex; gap: 6px; }
.card-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.card-dots span:first-child { background: #ff5f57; }
.card-dots span:nth-child(2) { background: #febc2e; }
.card-dots span:nth-child(3) { background: #28c840; }
.card-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
}
.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.metric-label {
  font-size: 12px;
  color: var(--text-mute);
  font-family: var(--font-mono);
}
.metric-value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 18px;
}
.bars {
  margin-top: 8px;
  display: flex;
  gap: 6px;
  height: 80px;
  align-items: flex-end;
}
.bar {
  flex: 1;
  height: var(--h);
  background: var(--gradient);
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
  animation: bar-grow 1.2s cubic-bezier(0.2, 0.9, 0.2, 1) backwards;
}
.bar:nth-child(1) { animation-delay: 0.1s; }
.bar:nth-child(2) { animation-delay: 0.2s; }
.bar:nth-child(3) { animation-delay: 0.3s; }
.bar:nth-child(4) { animation-delay: 0.4s; }
.bar:nth-child(5) { animation-delay: 0.5s; }
.bar:nth-child(6) { animation-delay: 0.6s; }
.bar:nth-child(7) { animation-delay: 0.7s; }
@keyframes bar-grow {
  from { height: 0; opacity: 0; }
  to { height: var(--h); opacity: 0.85; }
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--text-dim), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--c1), var(--c2));
  animation: scroll-tick 2s ease-in-out infinite;
}
@keyframes scroll-tick {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 130px 24px 60px;
  }
  .hero-card { display: none; }
}

/* =========================================================
   Marquee
   ========================================================= */
.marquee-section {
  padding: 30px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
  overflow: hidden;
}
.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  will-change: transform;
}
.marquee-track > * {
  margin-right: 36px;
  flex-shrink: 0;
}
.marquee-track .dot {
  color: var(--c1);
  font-size: 8px;
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* =========================================================
   Section heading
   ========================================================= */
.section-head {
  max-width: 760px;
  margin-bottom: 80px;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c1);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.section-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 600px;
}

/* =========================================================
   Services
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
.service-card {
  position: relative;
  padding: 40px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.2, 1), border-color 0.4s, background 0.4s;
  transform-style: preserve-3d;
  backdrop-filter: blur(10px);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(168,85,247,0.6), transparent 50%, rgba(6,182,212,0.6));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  background: var(--surface-2);
  transform: translateY(-6px);
}
.card-glow {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  transform: translate(-50%, -50%);
}
.service-card:hover .card-glow { opacity: 1; }

.service-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--gradient-soft);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  margin-bottom: 24px;
  color: var(--c1);
}
.service-icon svg { width: 28px; height: 28px; }

.service-num {
  position: absolute;
  top: 36px;
  right: 36px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.1em;
}

.service-card h3 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.service-card > p {
  color: var(--text-dim);
  margin-bottom: 22px;
  font-size: 15px;
}
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  font-size: 14px;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 8px;
  border-left: 1.5px solid var(--c2);
  border-bottom: 1.5px solid var(--c2);
  transform: rotate(-45deg);
}

@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 32px 24px; }
}

/* Wide / featured service card (Analytics) */
.service-card-wide {
  grid-column: 1 / -1;
  padding: 40px 44px 44px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(6, 182, 212, 0.06));
  border-color: var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.service-card-wide::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 0% 0%, rgba(168, 85, 247, 0.25), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(6, 182, 212, 0.2), transparent 40%);
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}
.service-card-wide > .wide-header,
.service-card-wide > .wide-grid { position: relative; z-index: 1; }

/* Header strip — overrides absolute positioning of flag/num for wide cards */
.wide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}
.service-card-wide .service-flag,
.service-card-wide .service-num {
  position: static;
  top: auto;
  left: auto;
  right: auto;
}
.service-card-wide .service-num {
  font-size: 14px;
  color: var(--text-mute);
}
.service-card-wide .service-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(168, 85, 247, 0.45);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}
.flag-dot {
  width: 6px; height: 6px;
  background: var(--c1);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--c1);
  animation: liveBlink 1.8s ease-in-out infinite;
}

.wide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.wide-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.wide-left-top {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wide-left h3 {
  font-size: 30px;
  margin-bottom: 0;
}
.wide-left-top p {
  margin: 0;
  font-size: 15.5px;
  color: var(--text-dim);
  max-width: 580px;
}

.wide-right {
  min-width: 0;
  width: 100%;
}

.service-icon-lg {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  margin: 0;
}
.service-icon-lg svg { width: 32px; height: 32px; }
.service-card-wide .service-icon { margin-top: 0; }

/* Data flow diagram (Analytics card, fills left column) */
.data-flow {
  margin-top: 8px;
  padding: 22px 22px 26px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.data-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.04), rgba(6, 182, 212, 0.04));
  pointer-events: none;
}
.flow-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  position: relative;
}
.flow-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  position: relative;
}
.flow-node {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.flow-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: rgba(15, 5, 30, 0.6);
  color: var(--text-dim);
  transition: color 0.3s, border-color 0.3s, transform 0.3s;
}
.flow-icon svg { width: 20px; height: 20px; }
.flow-node:hover .flow-icon {
  color: var(--c2);
  border-color: var(--c2);
  transform: translateY(-2px);
}
.flow-node-accent .flow-icon {
  color: var(--c1);
  border-color: rgba(168, 85, 247, 0.5);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(6, 182, 212, 0.08));
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.2);
}
.flow-node span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
}
.flow-node em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.flow-arrow {
  flex: 0 0 18px;
  align-self: flex-start;
  margin-top: 19px;       /* aligns with vertical center of 40px icon */
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
  position: relative;
  opacity: 0.5;
}
.flow-arrow::before,
.flow-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--c2);
  transform-origin: right center;
}
.flow-arrow::before { transform: translateY(-2px) rotate(35deg); }
.flow-arrow::after  { transform: translateY(2px)  rotate(-35deg); }
.flow-arrow {
  overflow: visible;
}
/* Animated data dot traveling across the flow */
.flow-track::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c2);
  box-shadow: 0 0 10px var(--c2);
  top: 18px;
  left: 0;
  animation: flowDot 6s linear infinite;
  pointer-events: none;
}
@keyframes flowDot {
  0%   { left: 6%;  opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: 94%; opacity: 0; }
}

@media (max-width: 720px) {
  .flow-track { flex-wrap: wrap; gap: 14px; justify-content: center; }
  .flow-node { flex: 0 0 28%; }
  .flow-arrow { display: none; }
  .flow-track::after { display: none; }
  .flow-node em { display: none; }
}

/* Tech stack pills */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tech-pill {
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.service-card-wide:hover .tech-pill {
  border-color: rgba(168, 85, 247, 0.4);
}
.tech-pill:hover {
  color: var(--text);
  border-color: var(--c2);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .service-card-wide { padding: 28px 24px 32px; gap: 24px; }
  .wide-grid { grid-template-columns: 1fr; gap: 28px; }
  .wide-left h3 { font-size: 26px; }
}

/* =========================================================
   Live data dashboard widget (inside Analytics card)
   ========================================================= */
.data-dashboard {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  position: relative;
  transform: rotate(0.6deg);
  animation: dashFloat 8s ease-in-out infinite;
}
@keyframes dashFloat {
  0%, 100% { transform: rotate(0.6deg) translateY(0); }
  50% { transform: rotate(-0.4deg) translateY(-6px); }
}
.data-dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(6, 182, 212, 0.15), transparent 60%);
  pointer-events: none;
}

.dash-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}
.dash-url {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-mute);
  text-align: center;
}
.dash-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #10b981;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.dash-live-dot {
  width: 6px; height: 6px;
  background: #10b981;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 8px #10b981;
  animation: liveBlink 2s ease-in-out infinite;
}
@keyframes liveBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.dash-body {
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.dash-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.dash-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.dash-val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dash-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
}

.dash-chart {
  height: 90px;
  position: relative;
}
.dash-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.dash-line {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: drawLine 2.4s cubic-bezier(0.4, 0.8, 0.4, 1) forwards 0.4s;
  transition: d 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.dash-line.live {
  animation: none;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}
.dash-area {
  opacity: 0;
  animation: fadeArea 1.6s ease forwards 1.6s;
  transition: d 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.dash-pulse {
  opacity: 0;
  animation: pulseDot 2.8s ease forwards 2.6s, pulseRing 2.4s ease infinite 2.6s;
  transform-origin: center;
  transform-box: fill-box;
  transition: cy 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.dash-val {
  transition: text-shadow 0.5s ease;
}
.dash-val.flash {
  text-shadow: 0 0 18px rgba(168, 85, 247, 0.7);
}
.dash-kpi strong {
  transition: opacity 0.3s ease;
}
.dash-kpi strong.flash {
  animation: kpiFlash 0.6s ease;
}
@keyframes kpiFlash {
  0% { color: var(--text); }
  50% { color: var(--c2); text-shadow: 0 0 10px rgba(6, 182, 212, 0.5); }
  100% { color: var(--text); text-shadow: none; }
}
.dash-trend.flash {
  animation: trendFlash 0.6s ease;
}
@keyframes trendFlash {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.dash-insight p {
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.dash-insight p.swap {
  opacity: 0;
  transform: translateY(-6px);
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
@keyframes fadeArea {
  to { opacity: 1; }
}
@keyframes pulseDot {
  to { opacity: 1; }
}
@keyframes pulseRing {
  0%, 100% { r: 4; filter: drop-shadow(0 0 0 rgba(6, 182, 212, 0.8)); }
  50% { r: 5.5; filter: drop-shadow(0 0 8px rgba(6, 182, 212, 1)); }
}

.dash-insight {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(6, 182, 212, 0.06));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.dash-insight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.06) 50%, transparent 70%);
  animation: shimmer 3.5s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}
.dash-insight-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  color: white;
  position: relative;
  z-index: 1;
  animation: sparkSpin 4s linear infinite;
}
.dash-insight-icon svg { width: 14px; height: 14px; }
@keyframes sparkSpin {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(180deg); }
}
.dash-insight strong {
  display: block;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--c1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
  position: relative;
  z-index: 1;
}
.dash-insight p {
  font-size: 12.5px;
  color: var(--text);
  line-height: 1.45;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Section labels inside dashboard */
.dash-section-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Channel breakdown */
.dash-channels {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.channel-row {
  display: grid;
  grid-template-columns: 90px 1fr 38px;
  gap: 10px;
  align-items: center;
  padding: 5px 0;
  font-size: 11.5px;
  font-family: var(--font-mono);
}
.channel-name { color: var(--text-dim); }
.channel-pct { color: var(--text); text-align: right; font-weight: 600; }
.channel-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.channel-bar-fill {
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--c), var(--c2));
  border-radius: 4px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px var(--c);
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.dash-kpi {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dash-kpi span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dash-kpi strong {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

/* Live activity feed */
.dash-feed {
  display: flex;
  flex-direction: column;
}
.feed-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #10b981;
  text-transform: lowercase;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.feed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.feed-item {
  display: grid;
  grid-template-columns: 10px auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1), background 0.3s;
}
.feed-item.new {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.4);
  animation: feedSlide 0.55s cubic-bezier(0.2, 0.9, 0.2, 1) backwards;
}
@keyframes feedSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.feed-dot {
  width: 8px; height: 8px;
  background: var(--c, #10b981);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--c, #10b981);
}
.feed-item strong {
  color: var(--text);
  font-weight: 600;
}
.feed-meta {
  color: var(--text-mute);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-query {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  overflow: hidden;
}
.dash-prompt { color: var(--c1); font-weight: 700; }
.dash-query-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
}
.dash-cursor {
  display: inline-block;
  width: 6px;
  height: 11px;
  background: var(--c2);
  animation: caret 1s steps(2) infinite;
}
@keyframes caret {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* =========================================================
   Hero rotating word
   ========================================================= */
.word-rotator {
  display: inline-flex;
  vertical-align: bottom;
  height: 1em;
  overflow: hidden;
  position: relative;
}
.word-track {
  display: flex;
  flex-direction: column;
  animation: wordCycle 14s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}
.word-track > span {
  display: block;
  height: 1em;
  line-height: 1.02;
  white-space: nowrap;
}
@keyframes wordCycle {
  0%,  16% { transform: translateY(0%); }
  20%, 36% { transform: translateY(-100%); }
  40%, 56% { transform: translateY(-200%); }
  60%, 76% { transform: translateY(-300%); }
  80%, 96% { transform: translateY(-400%); }
  100%     { transform: translateY(-500%); }
}

/* =========================================================
   Hero background art (animated wireframe orb)
   ========================================================= */
.hero-bg-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-orb {
  width: min(940px, 92vw);
  height: min(940px, 92vw);
  opacity: 0.55;
  filter: drop-shadow(0 0 60px rgba(168, 85, 247, 0.25));
  transform: translateX(8%);
}
.orb-rotate {
  animation: orbSpin 90s linear infinite;
  transform-origin: 400px 400px;
}
@keyframes orbSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.orb-nodes circle {
  filter: drop-shadow(0 0 6px currentColor);
  animation: nodePulse 3.5s ease-in-out infinite;
}
.orb-nodes circle:nth-child(1) { animation-delay: 0s; }
.orb-nodes circle:nth-child(2) { animation-delay: 0.4s; }
.orb-nodes circle:nth-child(3) { animation-delay: 0.8s; }
.orb-nodes circle:nth-child(4) { animation-delay: 1.2s; }
.orb-nodes circle:nth-child(5) { animation-delay: 1.6s; }
.orb-nodes circle:nth-child(6) { animation-delay: 2.0s; }
.orb-nodes circle:nth-child(7) { animation-delay: 2.4s; }
.orb-nodes circle:nth-child(8) { animation-delay: 2.8s; }
@keyframes nodePulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); transform-box: fill-box; transform-origin: center; }
  50% { opacity: 1; transform: scale(1.4); transform-box: fill-box; transform-origin: center; }
}
@media (max-width: 980px) {
  .hero-orb { opacity: 0.35; transform: translateX(0); }
}

/* =========================================================
   Scroll progress bar
   ========================================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  background-size: 200% 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 200;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.6);
  animation: gradient-shift 6s ease infinite;
  pointer-events: none;
}

/* =========================================================
   Floating hero badges
   ========================================================= */
.hero-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.float-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(15, 5, 30, 0.7);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text);
  letter-spacing: 0.02em;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  opacity: 0;
  animation: badgeIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, badgeBob 6s ease-in-out infinite;
}
.fb-dot {
  width: 6px; height: 6px;
  background: var(--c1);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--c1);
}
.fb-1 {
  top: 18%;
  left: 4%;
  animation-delay: 0.6s, 0.6s;
  border-color: rgba(168, 85, 247, 0.4);
}
.fb-2 {
  top: 88%;
  left: 6%;
  animation-delay: 1.0s, 1.0s;
  border-color: rgba(6, 182, 212, 0.4);
  color: var(--c2);
}
.fb-3 {
  top: 14%;
  right: 38%;
  animation-delay: 1.4s, 1.4s;
}
.fb-4 {
  top: 88%;
  right: 6%;
  animation-delay: 1.8s, 1.8s;
  border-color: rgba(251, 191, 36, 0.4);
  color: #fbbf24;
}
.fb-4 {
  top: 78%;
  right: 5%;
  animation-delay: 0.8s, 0.8s;
  border-color: rgba(236, 72, 153, 0.4);
  color: #f9a8d4;
}
@keyframes badgeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes badgeBob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}
@media (max-width: 980px) {
  .hero-floats { display: none; }
}

/* =========================================================
   Border beam on service cards (animated traveling glow)
   ========================================================= */
.service-card {
  --beam-from: -90deg;
}
.service-card .beam,
.service-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--beam-from), transparent 0deg, var(--c1) 30deg, var(--c2) 60deg, transparent 90deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
  animation: beamSpin 4s linear infinite;
}
.service-card:hover::after {
  opacity: 0.85;
}
@keyframes beamSpin {
  to { --beam-from: 270deg; }
}
@property --beam-from {
  syntax: "<angle>";
  inherits: false;
  initial-value: -90deg;
}

/* =========================================================
   Active nav indicator
   ========================================================= */
.nav-links a.active {
  color: var(--text);
}
.nav-links a.active::after {
  width: 100%;
  background: var(--gradient);
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
}

/* =========================================================
   Process
   ========================================================= */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-line {
  position: absolute;
  top: 32px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c1), var(--c3), var(--c2), transparent);
  opacity: 0.5;
}
.process-step {
  position: relative;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: transform 0.4s, border-color 0.4s;
}
.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.process-num {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 18px;
  color: var(--c1);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  margin-top: -32px;
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
  box-shadow: 0 0 0 8px var(--bg);
}
.process-day {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c2);
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}
.process-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.process-content p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 880px) {
  .process { grid-template-columns: 1fr; gap: 32px; }
  .process-line { display: none; }
  .process-num { margin-top: 0; }
}

/* =========================================================
   Why Us
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: transform 0.4s, border-color 0.4s, background 0.4s;
  position: relative;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.why-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--gradient-soft);
  border-radius: 12px;
  color: var(--c2);
  margin-bottom: 20px;
}
.why-icon svg { width: 24px; height: 24px; }
.why-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.why-card p {
  color: var(--text-dim);
  font-size: 14.5px;
}
@media (max-width: 880px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Stats
   ========================================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  padding: 40px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: left;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: border-color 0.4s, transform 0.4s;
}
.stat:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.stat::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.stat:hover::before { opacity: 1; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-num [data-counter].counting {
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}
.metric-value [data-counter].counting,
[data-counter].counting {
  font-family: var(--font-mono);
}
.stat-label {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  backdrop-filter: blur(10px);
  transition: transform 0.4s, border-color 0.4s;
}
.testimonial:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  color: var(--c1);
  opacity: 0.4;
  margin-bottom: -20px;
}
.testimonial p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 28px;
  line-height: 1.6;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 14px;
  color: white;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.testimonial-author span {
  display: block;
  font-size: 12px;
  color: var(--text-mute);
  font-family: var(--font-mono);
}
@media (max-width: 980px) {
  .testimonials { grid-template-columns: 1fr; }
}

/* =========================================================
   CTA / Contact
   ========================================================= */
.section-cta { padding: 80px 0 140px; }
.cta-card {
  position: relative;
  padding: clamp(40px, 6vw, 80px);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.08), rgba(6, 0, 15, 0.6));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  text-align: center;
}
.cta-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4), transparent 70%);
  border-radius: 50%;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  filter: blur(60px);
  pointer-events: none;
}
.cta-title {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 18px 0 16px;
  position: relative;
}
.cta-sub {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto 36px;
  position: relative;
}

.cta-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  position: relative;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  resize: vertical;
}
.cta-form input::placeholder,
.cta-form textarea::placeholder { color: var(--text-mute); }
.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
  outline: none;
  border-color: var(--c1);
  background: rgba(168, 85, 247, 0.06);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.12);
}
.cta-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a39bc4' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.cta-form select option { background: #0a0218; color: var(--text); }
.form-note {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 4px;
}
.form-note.success { color: #10b981; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin: 18px 0 22px;
  max-width: 320px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-dim);
  transition: 0.25s;
}
.footer-socials a:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--c1);
  transform: translateY(-2px);
}
.footer-col h4 {
  font-size: 13px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--text-dim);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-col li {
  color: var(--text-dim);
  font-size: 14px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-bottom-links a {
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--text); }
.footer-bottom-links .sep { opacity: 0.4; }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal:nth-child(5) { transition-delay: 0.24s; }
.reveal:nth-child(6) { transition-delay: 0.30s; }

.hero-title .line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-title .line.in > span {
  transform: translateY(0);
}

/* =========================================================
   Legal pages (privacy / terms)
   ========================================================= */
.legal-body { cursor: auto; }
.legal-body .cursor, .legal-body .cursor-dot { display: none; }

.legal {
  padding: 160px 0 80px;
  position: relative;
}
.legal .container { max-width: 820px; }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-bottom: 40px;
  transition: color 0.2s, transform 0.2s;
}
.legal-back:hover {
  color: var(--text);
  transform: translateX(-3px);
}

.legal-head {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.legal-head h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 14px 0 18px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 28px;
}
.legal-meta strong { color: var(--text-dim); font-weight: 500; }
.legal-meta .sep { opacity: 0.4; }

.legal-intro {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.7;
}
.legal-intro a {
  color: var(--c2);
  border-bottom: 1px solid rgba(6, 182, 212, 0.4);
  transition: border-color 0.2s;
}
.legal-intro a:hover { border-bottom-color: var(--c2); }

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 44px;
  font-size: 16px;
  line-height: 1.75;
}
.legal-content section { scroll-margin-top: 120px; }
.legal-content h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  color: var(--text);
  position: relative;
  padding-left: 18px;
}
.legal-content h2::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 4px;
  height: 18px;
  background: var(--gradient);
  border-radius: 2px;
}
.legal-content p {
  color: var(--text-dim);
  margin-bottom: 14px;
}
.legal-content p:last-child { margin-bottom: 0; }
.legal-content strong { color: var(--text); font-weight: 600; }
.legal-content em { color: var(--text); font-style: normal; font-family: var(--font-mono); font-size: 0.95em; }
.legal-content a {
  color: var(--c2);
  border-bottom: 1px solid rgba(6, 182, 212, 0.35);
  transition: border-color 0.2s, color 0.2s;
}
.legal-content a:hover { color: var(--c1); border-bottom-color: var(--c1); }

.legal-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
  margin-bottom: 4px;
}
.legal-content li {
  position: relative;
  padding-left: 24px;
  color: var(--text-dim);
}
.legal-content li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 1.5px;
  background: var(--c1);
  border-radius: 2px;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 18px 0;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.legal-card-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  font-size: 14.5px;
  align-items: baseline;
}
.legal-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.legal-card-row a { color: var(--c2); }

.legal-note {
  padding: 14px 18px;
  background: rgba(168, 85, 247, 0.06);
  border-left: 2px solid var(--c1);
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-dim);
}

.legal-disclaimer {
  margin-top: 40px;
  padding: 20px 24px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .legal { padding: 130px 0 60px; }
  .legal-card-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Footer address block */
.footer-address {
  font-style: normal;
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.7;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
