/* ============================================================
   WhatsinIT — Design System
   "Hyperspace meets handshake"
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Design tokens ────────────────────────────────────────── */
:root {
  --void:          #030810;
  --deep:          #050d1a;
  --surface:       #0a1628;
  --surface-2:     #0f1f38;
  --glass:         rgba(10, 22, 40, 0.65);
  --glass-light:   rgba(255, 255, 255, 0.04);

  --electric:      #00c2ff;
  --electric-dim:  rgba(0, 194, 255, 0.12);
  --electric-glow: rgba(0, 194, 255, 0.35);
  --gold:          #f59e0b;
  --gold-dim:      rgba(245, 158, 11, 0.12);
  --gold-glow:     rgba(245, 158, 11, 0.3);
  --violet:        #8b5cf6;
  --violet-dim:    rgba(139, 92, 246, 0.12);

  --text:          #e2e8f0;
  --text-dim:      #94a3b8;
  --text-faint:    #4a6080;

  --border:        rgba(0, 194, 255, 0.12);
  --border-gold:   rgba(245, 158, 11, 0.2);

  --radius-sm:     8px;
  --radius:        14px;
  --radius-lg:     22px;
  --radius-xl:     32px;

  --font-head:     'Space Grotesk', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;

  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--void);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Animated background ──────────────────────────────────── */
.site-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Grid overlay */
.site-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,194,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,194,255,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-drift 40s linear infinite;
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float-orb var(--dur, 20s) ease-in-out infinite;
  opacity: 0.6;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,194,255,0.18) 0%, transparent 65%);
  top: -200px; left: -150px;
  --dur: 22s;
}
.orb-2 {
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(245,158,11,0.1) 0%, transparent 65%);
  bottom: -300px; right: -200px;
  --dur: 28s;
  animation-direction: reverse;
}
.orb-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 65%);
  top: 40%; left: 55%;
  --dur: 18s;
}

/* Scanning line */
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,194,255,0.4), transparent);
  animation: scan 8s linear infinite;
  opacity: 0.5;
}

/* ── Keyframes ────────────────────────────────────────────── */
@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 60px 60px, 60px 60px; }
}
@keyframes float-orb {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(60px, 40px) scale(1.05); }
  66%     { transform: translate(-40px, 70px) scale(0.97); }
}
@keyframes scan {
  0%   { top: -2px; opacity: 0; }
  5%   { opacity: 0.5; }
  95%  { opacity: 0.5; }
  100% { top: 100vh; opacity: 0; }
}
@keyframes glow-pulse {
  0%,100% { box-shadow: 0 0 20px var(--electric-glow), 0 0 40px rgba(0,194,255,0.15); }
  50%     { box-shadow: 0 0 35px var(--electric-glow), 0 0 70px rgba(0,194,255,0.25); }
}
@keyframes border-spin {
  from { background-position: 0% 50%; }
  to   { background-position: 200% 50%; }
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes reveal-left {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes reveal-right {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes glitch {
  0%,100% { clip-path: none; transform: none; }
  5%  { clip-path: polygon(0 20%,100% 20%,100% 25%,0 25%); transform: translateX(-3px); }
  10% { clip-path: polygon(0 60%,100% 60%,100% 65%,0 65%); transform: translateX(3px); }
  15% { clip-path: none; transform: none; }
}
@keyframes counter-pop {
  0%   { transform: scale(0.8); opacity: 0; }
  60%  { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes typing-cursor {
  0%,100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ── Scroll reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.from-left  { transform: translateX(-28px); }
.reveal.from-right { transform: translateX(28px); }
.reveal.visible {
  opacity: 1;
  transform: translate(0);
}

/* ── Main content wrapper ─────────────────────────────────── */
main { position: relative; z-index: 1; }

/* ── Navigation ───────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(3, 8, 16, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.site-nav.scrolled {
  background: rgba(3, 8, 16, 0.92);
  border-bottom-color: rgba(0, 194, 255, 0.2);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.nav-logo-mark {
  width: 34px; height: 34px;
  border: 1.5px solid var(--electric);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--electric);
  box-shadow: 0 0 12px var(--electric-glow), inset 0 0 8px rgba(0,194,255,0.05);
  animation: glow-pulse 3s ease-in-out infinite;
}
.nav-logo-text { color: var(--text); }
.nav-logo-text span { color: var(--electric); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.03em;
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--electric);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  box-shadow: 0 0 6px var(--electric-glow);
}
.nav-links a:hover { color: var(--electric); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--electric);
  border-radius: var(--radius-sm);
  color: var(--electric);
  transition: all var(--transition);
}
.nav-cta:hover {
  background: var(--electric);
  color: var(--void);
  box-shadow: 0 0 20px var(--electric-glow);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  text-transform: uppercase;
  font-size: 0.82rem;
}

/* Ripple */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 60%);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s, opacity 0.5s;
}
.btn:active::after {
  transform: scale(2.5);
  opacity: 1;
  transition: 0s;
}

.btn-primary {
  background: var(--electric);
  color: var(--void);
  box-shadow: 0 0 20px var(--electric-glow), 0 4px 15px rgba(0,0,0,0.3);
}
.btn-primary:hover {
  box-shadow: 0 0 40px var(--electric-glow), 0 0 80px rgba(0,194,255,0.15), 0 4px 20px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--electric);
  border: 1px solid var(--electric);
  box-shadow: inset 0 0 0 0 var(--electric);
  transition: all var(--transition), box-shadow 0.3s;
}
.btn-outline:hover {
  background: var(--electric-dim);
  box-shadow: 0 0 20px var(--electric-glow), inset 0 0 15px rgba(0,194,255,0.05);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--void);
  box-shadow: 0 0 20px var(--gold-glow), 0 4px 15px rgba(0,0,0,0.3);
}
.btn-gold:hover {
  box-shadow: 0 0 40px var(--gold-glow), 0 4px 20px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}

/* ── Glass card ───────────────────────────────────────────── */
.glass-card {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(160%);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
/* Animated gradient border on hover */
.glass-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  background: linear-gradient(135deg,
    transparent 0%,
    rgba(0,194,255,0.4) 25%,
    rgba(245,158,11,0.4) 50%,
    rgba(139,92,246,0.4) 75%,
    transparent 100%);
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition);
  animation: border-spin 3s linear infinite;
}
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glass);
  backdrop-filter: blur(24px);
  border-radius: var(--radius);
  z-index: -1;
}
.glass-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(0,194,255,0.1);
}
.glass-card:hover::before { opacity: 1; }

/* Corner accent */
.glass-card .card-corner {
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: 60px;
  overflow: hidden;
}
.glass-card .card-corner::after {
  content: '';
  position: absolute;
  top: -1px; right: -1px;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 40px 40px 0;
  border-color: transparent rgba(0,194,255,0.15) transparent transparent;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }

.display-xl {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.display-lg {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.display-md {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
}

.gradient-text {
  background: linear-gradient(135deg, var(--electric) 0%, var(--violet) 50%, var(--electric) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}
.gradient-text-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #fde68a 50%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--electric);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mono-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--electric);
  box-shadow: 0 0 6px var(--electric-glow);
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 8rem 0; }
.section-sm { padding: 5rem 0; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  background: var(--gold-dim);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--gold);
  margin-bottom: 2rem;
  animation: float 4s ease-in-out infinite;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-glow);
  animation: glow-pulse 2s ease-in-out infinite;
}

.hero-title {
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: normal;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.hero-stat-number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--electric);
  display: block;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-orb {
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}
.hero-orb::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(0,194,255,0.2);
}
.hero-orb::after {
  content: '';
  position: absolute;
  inset: 50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,255,0.15) 0%, transparent 70%);
  animation: glow-pulse 3s ease-in-out infinite;
}
.hero-orb-inner {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--electric) 0%, rgba(0,194,255,0.3) 50%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 40px var(--electric-glow), 0 0 80px rgba(0,194,255,0.2);
}
.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(0,194,255,0.2);
}
.hero-orbit-1 {
  inset: -30px;
  animation: spin 20s linear infinite;
}
.hero-orbit-2 {
  inset: -70px;
  animation: spin 35s linear infinite reverse;
  border-color: rgba(245,158,11,0.15);
}
.hero-orbit-node {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 10px var(--electric-glow);
  top: -5px;
  left: calc(50% - 5px);
}
.hero-orbit-node.gold {
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-tags {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.hero-tags.left { left: -80px; }
.hero-tags.right { right: -80px; }

.hero-tag {
  padding: 0.4rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  background: var(--glass);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  animation: float calc(3s + var(--d, 0s)) ease-in-out infinite;
}

/* ── Services ─────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--electric-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}
.glass-card:hover .service-icon {
  background: var(--electric);
  box-shadow: 0 0 20px var(--electric-glow);
  transform: scale(1.1);
}
.service-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.service-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}
.service-tag {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--electric);
  background: var(--electric-dim);
  border: 1px solid rgba(0,194,255,0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* ── About section ────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  background: var(--surface);
  position: relative;
}
.about-photo-frame .placeholder-face {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-faint);
  font-size: 4rem;
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
}
.about-badge .number {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--electric);
  line-height: 1;
  display: block;
}
.about-badge .label {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--glass-light);
  transition: all var(--transition);
}
.value-item:hover {
  border-color: rgba(0,194,255,0.25);
  background: var(--electric-dim);
  transform: translateX(6px);
}
.value-icon {
  font-size: 1.25rem;
  min-width: 2rem;
}
.value-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}
.value-text span {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ── Process ──────────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
/* Connector line */
.process-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 1px;
  background: linear-gradient(90deg,
    var(--electric), rgba(0,194,255,0.3), rgba(245,158,11,0.3), var(--gold));
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--electric);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--electric);
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px var(--electric-glow);
  transition: all var(--transition);
}
.process-step:nth-child(4) .step-number {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}
.process-step:hover .step-number {
  transform: scale(1.15);
  background: var(--electric);
  color: var(--void);
}
.step-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.step-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── Stats ────────────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(180deg, transparent, rgba(0,194,255,0.03) 50%, transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--electric-dim); }
.stat-number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--electric);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-item:nth-child(3) .stat-number { color: var(--gold); }
.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ── Portfolio preview ────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.portfolio-card {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  cursor: pointer;
}
.portfolio-card-bg {
  width: 100%; height: 100%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: transform var(--transition-slow);
}
.portfolio-card:hover .portfolio-card-bg { transform: scale(1.05); }
.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3,8,16,0.95) 100%);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio-card:hover .portfolio-card-overlay { opacity: 1; }
.portfolio-card-label {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--electric);
  margin-bottom: 0.4rem;
}
.portfolio-card-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
}

/* ── CTA section ──────────────────────────────────────────── */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,194,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title { margin-bottom: 1rem; }
.cta-subtitle {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-faint);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-links a::before {
  content: '›';
  color: var(--electric);
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  transform: translateX(-4px);
}
.footer-links a:hover { color: var(--electric); }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
}
.footer-bottom span { color: var(--electric); }

/* ── Dividers ─────────────────────────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border) 0%, transparent 100%);
}

/* ── Alert / flash ────────────────────────────────────────── */
.alert {
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid;
}
.alert--success { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.3); color: #86efac; }
.alert--error   { background: rgba(239,68,68,0.1);  border-color: rgba(239,68,68,0.3);  color: #fca5a5; }
.alert--info    { background: var(--electric-dim);  border-color: var(--border);         color: var(--electric); }

/* ── Form elements ────────────────────────────────────────── */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: rgba(10,22,40,0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px var(--electric-dim), 0 0 15px rgba(0,194,255,0.1);
}
.form-textarea { min-height: 140px; resize: vertical; }

/* ── Hero — homepage layout ───────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 9rem 2rem 5rem;
  min-height: 100vh;
  align-items: center;
}
.hero-content { max-width: 580px; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(0,194,255,0.2);
  border-radius: 100px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  margin-bottom: 2rem;
}
.label-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 8px var(--electric-glow);
  animation: glow-pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  align-items: flex-start;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--electric);
  line-height: 1;
}
.stat-pct, .stat-plus {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--electric);
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.3rem;
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* Hero visual — new ring design */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.hero-orb-ring {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(0,194,255,0.18);
  animation: spin 25s linear infinite;
}
.hero-orb-ring--2 {
  width: 280px; height: 280px;
  border-color: rgba(245,158,11,0.15);
  animation-duration: 18s;
  animation-direction: reverse;
}
.hero-core {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,255,0.25) 0%, transparent 70%);
  border: 1px solid rgba(0,194,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: glow-pulse 4s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(0,194,255,0.2), 0 0 80px rgba(0,194,255,0.08);
}
.hero-core-inner {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid rgba(0,194,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-tags {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-tag {
  position: absolute;
  padding: 0.4rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  background: var(--glass);
  backdrop-filter: blur(12px);
  white-space: nowrap;
}
.hero-tag--1 { top: 10%;  left: 0%;  animation: float 5s ease-in-out infinite; }
.hero-tag--2 { top: 25%;  right: 0%; animation: float 4s ease-in-out infinite 0.5s; }
.hero-tag--3 { bottom: 30%; left: 5%; animation: float 6s ease-in-out infinite 1s; }
.hero-tag--4 { bottom: 15%; right: 5%; animation: float 4.5s ease-in-out infinite 1.5s; }
.hero-tag--5 { top: 60%;  left: 50%; transform: translateX(-50%); animation: float 5.5s ease-in-out infinite 0.8s; }

/* Trust bar */
.trust-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.trust-label {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-faint);
  white-space: nowrap;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-faint);
}
.trust-sep { color: var(--border); }

/* Sections — shared layout */
.services, .process, .portfolio-preview, .about-teaser, .portfolio-preview {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-eyebrow {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--electric);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Service cards — extended */
.service-card {
  padding: 2rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.service-card--featured {
  border-color: rgba(245,158,11,0.3);
  background: rgba(245,158,11,0.04);
}
.service-badge {
  position: absolute;
  top: -1px; right: 1.5rem;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(245,158,11,0.3);
  padding: 0.2rem 0.75rem;
  border-radius: 0 0 6px 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex: 1;
}
.service-features li {
  font-size: 0.82rem;
  color: var(--text-dim);
  padding-left: 1.25rem;
  position: relative;
}
.service-features li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--electric);
}
.service-card--featured .service-features li::before { color: var(--gold); }
.service-link {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--electric);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}
.service-link:hover { gap: 0.75rem; }
.service-card--featured .service-link { color: var(--gold); }

/* Process — horizontal steps */
.process { background: none; }
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
}
.process-step .step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--electric);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--electric);
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px var(--electric-glow);
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}
.process-step:last-child .step-number {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}
.process-step:hover .step-number {
  transform: scale(1.15);
  background: var(--electric);
  color: var(--void);
}
.step-body h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.step-body p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.process-connector {
  flex: 0 0 80px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0,194,255,0.4), rgba(245,158,11,0.2));
  align-self: 28px;
  margin-top: 28px;
}

/* About teaser — two columns */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--radius);
}
.about-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--electric-dim);
  border: 2px solid var(--electric);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--electric);
  font-size: 1.1rem;
  box-shadow: 0 0 20px var(--electric-glow);
  flex-shrink: 0;
}
.about-card-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
}
.about-card-text span {
  font-size: 0.82rem;
  color: var(--text-dim);
}
.about-floating-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  align-self: flex-start;
}
.floating-num {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--electric);
}
.about-floating-stat span:last-child { font-size: 0.82rem; color: var(--text-dim); }
.about-floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-dim);
  align-self: flex-start;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.6);
  animation: glow-pulse 2s ease-in-out infinite;
}
.about-content { display: flex; flex-direction: column; gap: 0; }
.about-content .section-eyebrow { text-align: left; margin-bottom: 0.75rem; }
.about-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.25;
}
.about-content p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about-cta { margin-top: 2rem; }

/* Portfolio preview cards — content style */
.portfolio-preview { padding-top: 2rem; }
.portfolio-card {
  aspect-ratio: auto;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: all var(--transition);
  cursor: default;
}
.portfolio-card:hover {
  border-color: rgba(0,194,255,0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.portfolio-tag {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--electric);
  background: var(--electric-dim);
  border: 1px solid rgba(0,194,255,0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1rem;
  align-self: flex-start;
}
.portfolio-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.portfolio-card p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.25rem;
}
.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.portfolio-tech span {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--text-faint);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.portfolio-card--cta {
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: dashed;
  border-color: rgba(0,194,255,0.15);
  background: transparent;
  min-height: 220px;
}
.portfolio-card--cta:hover { border-color: rgba(0,194,255,0.3); transform: none; }
.portfolio-cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.portfolio-cta-inner p {
  color: var(--text-dim);
  font-size: 1rem;
  margin: 0;
  flex: none;
}

/* CTA banner */
.cta-banner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 7rem;
  text-align: center;
  position: relative;
}
.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,194,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-content .section-eyebrow { text-align: center; margin-bottom: 0.75rem; }
.cta-content h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 1rem;
}
.cta-content p {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.btn-lg {
  font-size: 1.05rem;
  padding: 1rem 2.25rem;
}

/* Footer extras */
.site-footer { padding: 5rem 2rem 2rem; max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--border); }
.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-top: 0.75rem;
  max-width: 260px;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  transition: all var(--transition);
}
.social-link:hover {
  border-color: var(--electric);
  color: var(--electric);
  box-shadow: 0 0 12px var(--electric-glow);
}
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-faint);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--electric); }
.footer-heading {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1rem;
  display: block;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #22c55e;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
}
.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-faint);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--electric); }

/* Nav scrolled state */
.site-nav.scrolled {
  background: rgba(3, 8, 16, 0.92);
  box-shadow: 0 1px 0 var(--border);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; padding: 8rem 2rem 4rem; }
  .hero-visual { min-height: 300px; }
  .hero-orb-ring { width: 280px; height: 280px; }
  .hero-orb-ring--2 { width: 200px; height: 200px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { flex-wrap: wrap; }
  .process-connector { display: none; }
  .process-step { flex: 0 0 48%; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-teaser { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .site-nav .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 6rem 1.5rem 3rem; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .process-step { flex: 0 0 100%; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .services, .process, .portfolio-preview, .about-teaser, .cta-banner { padding: 4rem 1.5rem; }
  .trust-bar { padding: 1.5rem; }
  .site-footer { padding: 4rem 1.5rem 2rem; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 1rem; }
  .stat-divider { display: none; }
}
