/* ================================================================
   AUTHENTIC TECH — REVAMPED DESIGN SYSTEM
   Theme: Industrial Precision · Deep dark · Neon-on-black editorial
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Barlow+Condensed:wght@400;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Variables ── */
:root {
  --bg:          #080a0f;
  --bg-2:        #0c0f17;
  --bg-card:     #10141f;
  --bg-glass:    rgba(16,20,31,0.7);
  --border:      rgba(255,255,255,0.07);
  --border-hi:   rgba(255,255,255,0.14);

  --text-1:      #f0f2f8;
  --text-2:      #8a90a8;
  --text-3:      #4a5070;

  --neon:        #00e5ff;
  --neon-dim:    rgba(0,229,255,0.15);
  --neon-glow:   0 0 30px rgba(0,229,255,0.35);
  --volt:        #c8ff00;
  --volt-dim:    rgba(200,255,0,0.12);
  --hot:         #ff3d6e;
  --hot-dim:     rgba(255,61,110,0.12);

  --ff-display:  'Bebas Neue', sans-serif;
  --ff-body:     'Barlow', sans-serif;
  --ff-cond:     'Barlow Condensed', sans-serif;
  --ff-mono:     'JetBrains Mono', monospace;

  --r-sm:        6px;
  --r-md:        12px;
  --r-lg:        20px;
  --r-xl:        32px;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h:       72px;
  --container:   1240px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ── Utilities ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── Custom cursor ── */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none; mix-blend-mode: exclusion;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  pointer-events: none;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease-out), width 0.3s, height 0.3s, border-color 0.3s;
}
.cursor-ring.hovering {
  width: 64px; height: 64px;
  border-color: var(--neon);
  mix-blend-mode: normal;
}

/* ── Loading bar ── */
.loading-bar {
  position: fixed; top: 0; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--neon), var(--volt));
  z-index: 9997;
  transition: width 0.3s ease;
}

/* ── Noise overlay ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
}

/* ── Typography Scale ── */
.display-hero {
  font-family: var(--ff-display);
  font-size: clamp(5rem, 12vw, 14rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.display-xl {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 7vw, 8rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.display-lg {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.display-md {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1;
  text-transform: uppercase;
}
.heading-xl { font-family: var(--ff-cond); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.2; letter-spacing: 0.01em; }
.heading-md { font-family: var(--ff-cond); font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.label-tag {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon);
}
.body-lg { font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.75; font-weight: 300; }
.body-sm { font-size: 0.875rem; line-height: 1.6; }

/* ── Gradient text ── */
.grad-neon {
  background: linear-gradient(135deg, var(--neon) 0%, var(--volt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-hot {
  background: linear-gradient(135deg, var(--hot) 0%, #ff9f43 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Chip / Badge ── */
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.chip-neon { background: var(--neon-dim); border: 1px solid rgba(0,229,255,0.3); color: var(--neon); }
.chip-volt { background: var(--volt-dim); border: 1px solid rgba(200,255,0,0.3); color: var(--volt); }
.chip-hot  { background: var(--hot-dim);  border: 1px solid rgba(255,61,110,0.3); color: var(--hot); }
.chip-dot::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--ff-cond);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none; border-radius: var(--r-sm);
  cursor: pointer; transition: all 0.25s var(--ease-out);
  position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.07);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--neon);
  color: #000;
  font-weight: 700;
}
.btn-primary:hover { box-shadow: var(--neon-glow); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--border-hi);
}
.btn-outline:hover { border-color: var(--neon); color: var(--neon); }

.btn-ghost {
  background: transparent;
  color: var(--text-2);
}
.btn-ghost:hover { color: var(--neon); }

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }

.btn-icon { transition: transform 0.2s; }
.btn:hover .btn-icon { transform: translateX(3px); }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s, border-color 0.4s;
}
.nav.scrolled {
  background: rgba(8,10,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center;
  height: var(--nav-h);
  gap: 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--ff-cond);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 28px; height: 28px;
  background: var(--neon);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  margin-left: auto;
}
.nav-link {
  font-family: var(--ff-cond);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 1px; background: var(--neon);
  transition: left 0.2s var(--ease-out), right 0.2s var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: var(--text-1); }
.nav-link:hover::after, .nav-link.active::after { left: 0.75rem; right: 0.75rem; }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: 1rem; }
.theme-toggle {
  background: transparent; border: 1px solid var(--border);
  color: var(--text-2); padding: 0.4rem 0.6rem;
  border-radius: var(--r-sm); font-size: 0.9rem;
  transition: all 0.2s;
}
.theme-toggle:hover { border-color: var(--neon); color: var(--neon); }

.nav-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px;
  background: transparent; border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 8px;
}
.nav-hamburger span {
  display: block; height: 1.5px; background: var(--text-1);
  transform-origin: center;
  transition: all 0.3s var(--ease-out);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 99;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 0.5rem;
  opacity: 0; pointer-events: none;
  transform: translateY(-20px);
  transition: all 0.4s var(--ease-out);
}
.nav-mobile.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.nav-mobile .nav-link {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-1);
}

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: none;
  background-size: 0;
  mask-image: none;
}

.hero-glow-1 {
  position: absolute; z-index: 0;
  width: 600px; height: 600px;
  top: 10%; left: -10%;
  background: radial-gradient(circle, rgba(0,229,255,0.07) 0%, transparent 70%);
  filter: blur(60px);
  animation: float-slow 12s ease-in-out infinite;
}
.hero-glow-2 {
  position: absolute; z-index: 0;
  width: 500px; height: 500px;
  bottom: 5%; right: -5%;
  background: radial-gradient(circle, rgba(200,255,0,0.05) 0%, transparent 70%);
  filter: blur(80px);
  animation: float-slow 15s ease-in-out infinite reverse;
}
@keyframes float-slow {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(30px, -40px); }
}

.hero-content {
  position: relative; z-index: 2;
  padding: 3rem 0 5rem;
}

.hero-eyebrow { margin-bottom: 2rem; }

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(5.5rem, 13vw, 16rem);
  line-height: 0.87;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 2.5rem;
}
.hero-title .line-2 {
  display: block;
  -webkit-text-stroke: 1px rgba(255,255,255,0.25);
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-title .line-2 .filled {
  -webkit-text-stroke: 0;
  -webkit-text-fill-color: var(--neon);
  color: var(--neon);
  text-shadow: 0 0 60px rgba(0,229,255,0.4);
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  padding-bottom: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.hero-desc { color: var(--text-2); font-size: 1.05rem; max-width: 480px; font-weight: 300; }
.hero-actions { display: flex; align-items: center; gap: 1rem; justify-content: flex-end; flex-wrap: wrap; }

.hero-scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--ff-mono); font-size: 0.6rem; letter-spacing: 0.15em;
  color: var(--text-3); text-transform: uppercase; z-index: 2;
  animation: scroll-bounce 2s ease-in-out infinite;
}
.hero-scroll-indicator svg { width: 16px; height: 16px; }
@keyframes scroll-bounce {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* Stats bar */
.stats-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.stat-item:last-child { border-right: none; }
.stat-item::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  transform: scaleX(0);
  transition: transform 0.6s var(--ease-out);
}
.stat-item:hover::before { transform: scaleX(1); }
.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1;
  color: var(--text-1);
  letter-spacing: 0.02em;
}
.stat-num .suffix { color: var(--neon); }
.stat-label {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 0.5rem;
}

/* ── Ticker ── */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  background: var(--bg-2);
}
.ticker-track {
  display: flex; gap: 0; width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker-item {
  font-family: var(--ff-cond);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 0 2.5rem;
  white-space: nowrap;
  transition: color 0.2s;
  display: flex; align-items: center; gap: 0.6rem;
}
.ticker-item:hover { color: var(--neon); }
.ticker-sep { color: var(--neon); opacity: 0.4; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ── Section label ── */
.section-eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.section-eyebrow::before {
  content: '';
  display: block; width: 32px; height: 1px;
  background: var(--neon);
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.svc-card {
  background: var(--bg-card);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  grid-column: span 4;
}
.svc-card-featured { grid-column: span 8; }
.svc-card:hover { background: var(--bg-2); }
.svc-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--neon), var(--volt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.svc-card:hover::before { transform: scaleX(1); }

.svc-number {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: 2rem;
}
.svc-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: var(--neon-dim);
  border: 1px solid rgba(0,229,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.3s;
}
.svc-card:hover .svc-icon { box-shadow: var(--neon-glow); }
.svc-title {
  font-family: var(--ff-cond);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.svc-desc { color: var(--text-2); font-size: 0.9rem; line-height: 1.7; font-weight: 300; }
.svc-tags {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-top: 1.5rem;
}
.svc-tag {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--border-hi);
  border-radius: 3px;
  color: var(--text-3);
  text-transform: uppercase;
  transition: all 0.2s;
}
.svc-card:hover .svc-tag { border-color: rgba(0,229,255,0.2); color: var(--text-2); }

.svc-card-featured .svc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  height: 100%;
}
.svc-stat-block {
  display: flex; flex-direction: column; gap: 1rem;
  justify-content: center; padding-top: 2.5rem;
}
.svc-stat-pill {
  padding: 1.25rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color 0.2s;
}
.svc-card:hover .svc-stat-pill { border-color: rgba(0,229,255,0.15); }
.svc-stat-pill .label-tag { margin-bottom: 0.3rem; }
.svc-stat-pill .num {
  font-family: var(--ff-display);
  font-size: 2.25rem;
  line-height: 1;
}

/* ── Why Grid ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-features { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
.why-feat {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.25rem; border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color 0.2s, background 0.2s;
}
.why-feat:hover { border-color: rgba(0,229,255,0.2); background: var(--neon-dim); }
.why-feat-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: var(--r-sm);
  background: var(--neon-dim);
  border: 1px solid rgba(0,229,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.why-feat-title { font-family: var(--ff-cond); font-weight: 700; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.25rem; }
.why-feat-desc { font-size: 0.875rem; color: var(--text-2); font-weight: 300; }

/* Why visual */
.why-visual { position: relative; }
.why-visual-frame {
  width: 100%; aspect-ratio: 1/1.1;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg-card);
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.why-visual-frame::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(0,229,255,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(200,255,0,0.04) 0%, transparent 60%);
}
.why-code-block {
  position: relative; z-index: 1;
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  line-height: 1.9;
  color: var(--text-3);
  padding: 2rem;
  width: 100%;
}
.code-line-num { color: var(--text-3); opacity: 0.3; user-select: none; margin-right: 1.5rem; }
.code-keyword { color: var(--neon); }
.code-string  { color: var(--volt); }
.code-fn      { color: #c084fc; }
.code-comment { color: var(--text-3); font-style: italic; }
.code-bracket { color: #fb923c; }

.why-float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.why-float-1 { top: -1.5rem; right: -1.5rem; min-width: 160px; }
.why-float-2 { bottom: 2rem; left: -1.5rem; min-width: 140px; }
.why-float-num {
  font-family: var(--ff-display);
  font-size: 2rem; line-height: 1;
  margin-top: 0.25rem;
}

/* ── Process Steps ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 2rem; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), var(--border), transparent);
  z-index: 0;
}
.process-step {
  padding: 0 2rem 2rem;
  position: relative;
  border-right: 1px solid var(--border);
}
.process-step:last-child { border-right: none; }
.process-step-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  position: relative; z-index: 1;
  margin-bottom: 2.5rem;
  transition: all 0.3s;
}
.process-step:hover .process-step-dot {
  background: var(--neon);
  border-color: var(--neon);
  box-shadow: 0 0 20px rgba(0,229,255,0.5);
}
.process-step-num {
  font-family: var(--ff-display);
  font-size: 5rem;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: 2.5rem; right: 1.5rem;
  transition: color 0.3s;
  pointer-events: none;
}
.process-step:hover .process-step-num { color: rgba(0,229,255,0.06); }
.process-step-title {
  font-family: var(--ff-cond);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.process-step-desc { font-size: 0.875rem; color: var(--text-2); font-weight: 300; line-height: 1.7; }

/* ── Tech Logos ── */
.tech-logos {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: center;
}
.tech-logo {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--ff-cond);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: all 0.2s;
  cursor: default;
}
.tech-logo:hover { border-color: rgba(0,229,255,0.25); color: var(--text-1); background: var(--neon-dim); }
.tech-logo-icon { color: var(--neon); font-style: normal; }

/* ── Testimonials ── */
.testimonials-scroll-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.testimonials-track {
  display: flex; gap: 1.5rem; width: max-content;
  animation: ticker 40s linear infinite;
}
.testimonials-track:hover { animation-play-state: paused; }
.testimonial-card {
  width: 380px; flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover { border-color: rgba(0,229,255,0.2); box-shadow: 0 0 40px rgba(0,229,255,0.04); }
.testimonial-stars { color: var(--volt); letter-spacing: 0.1em; font-size: 0.8rem; margin-bottom: 1rem; }
.testimonial-text {
  font-size: 0.925rem; line-height: 1.7; color: var(--text-2); font-weight: 300;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 0.875rem; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--neon), var(--volt));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-cond); font-weight: 700; font-size: 0.8rem;
  color: #000; flex-shrink: 0;
}
.testimonial-name { font-family: var(--ff-cond); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; }
.testimonial-role { font-size: 0.75rem; color: var(--text-3); margin-top: 0.15rem; }

/* ── CTA Section ── */
.cta-section { position: relative; overflow: hidden; }
.cta-inner {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(3rem, 6vw, 6rem);
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  text-align: center;
}
.cta-inner::before {
  content: '';
  position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,229,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,229,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.cta-title {
  margin: 1rem 0 1.5rem;
  position: relative; z-index: 1;
}
.cta-desc { color: var(--text-2); max-width: 520px; margin: 0 auto 2.5rem; font-weight: 300; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: none;
  background-size: 0;
  mask-image: none;
}
.page-hero .container { position: relative; z-index: 2; text-align: center; }

/* ── Values Grid ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.value-card {
  background: var(--bg-card);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.value-card:hover { background: var(--bg-2); }
.value-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--neon), var(--volt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.value-card:hover::after { transform: scaleX(1); }
.value-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: block;
}
.value-title { font-family: var(--ff-cond); font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.value-desc { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; font-weight: 300; }

/* ── Team Grid ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}
.team-card:hover { border-color: rgba(0,229,255,0.2); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.team-avatar {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative; overflow: hidden;
}
.team-avatar::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, var(--bg-card));
}
.team-info { padding: 1.5rem; }
.team-name { font-family: var(--ff-cond); font-weight: 700; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; }
.team-role { font-family: var(--ff-mono); font-size: 0.65rem; letter-spacing: 0.1em; color: var(--neon); text-transform: uppercase; margin: 0.25rem 0 0.75rem; }
.team-bio { font-size: 0.83rem; color: var(--text-2); font-weight: 300; line-height: 1.65; }

/* ── About split ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* ── Service detail (services page) ── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-visual {
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  position: relative; overflow: hidden;
}
.service-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,229,255,0.05) 0%, transparent 70%);
}
.service-features { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.5rem; }
.service-feature {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.875rem; color: var(--text-2);
}
.service-feature::before {
  content: '→';
  color: var(--neon); flex-shrink: 0; font-size: 0.75rem; margin-top: 0.15rem;
  font-family: var(--ff-mono);
}

/* Pricing grid */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2.5rem 2rem;
  text-align: center; position: relative;
  transition: all 0.3s var(--ease-out);
}
.pricing-card:hover { transform: translateY(-6px); border-color: rgba(0,229,255,0.2); }
.pricing-card.featured {
  border-color: rgba(0,229,255,0.3);
  background: linear-gradient(135deg, rgba(0,229,255,0.04) 0%, rgba(200,255,0,0.02) 100%);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
}
.pricing-name { font-family: var(--ff-cond); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1.5rem; }
.pricing-price {
  font-family: var(--ff-display);
  font-size: 3.5rem; line-height: 1;
  margin-bottom: 0.25rem;
}
.pricing-period { font-size: 0.8rem; color: var(--text-3); margin-bottom: 2rem; }
.pricing-features { display: flex; flex-direction: column; gap: 0.6rem; text-align: left; margin-bottom: 2rem; }
.pricing-feature {
  display: flex; gap: 0.6rem; font-size: 0.875rem; color: var(--text-2);
}
.pricing-feature::before { content: '✓'; color: var(--neon); flex-shrink: 0; }

/* ── Contact Form ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.form-input, .form-textarea, .form-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.875rem 1rem;
  color: var(--text-1);
  font-size: 0.925rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--ff-body);
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-3); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a5070' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}
.form-select option { background: var(--bg-2); }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
}
.contact-info-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--neon-dim); border: 1px solid rgba(0,229,255,0.2);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
}
.contact-info-label { font-family: var(--ff-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.25rem; }
.contact-info-val { font-family: var(--ff-cond); font-weight: 600; font-size: 0.95rem; }

/* ── Footer ── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand-desc { font-size: 0.875rem; color: var(--text-2); font-weight: 300; line-height: 1.7; margin-top: 1rem; max-width: 300px; }
.footer-socials { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.social-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  color: var(--text-2);
  transition: all 0.2s;
}
.social-btn:hover { border-color: var(--neon); color: var(--neon); background: var(--neon-dim); }
.footer-col-title {
  font-family: var(--ff-mono);
  font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-link { font-size: 0.875rem; color: var(--text-2); transition: color 0.2s; }
.footer-link:hover { color: var(--neon); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem; flex-wrap: wrap; gap: 0.5rem;
}
.footer-copy { font-size: 0.8rem; color: var(--text-3); font-weight: 300; }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: none; }
.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ── Page transition overlay ── */
.page-overlay {
  position: fixed; inset: 0; z-index: 9996;
  background: var(--bg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.page-overlay.active { opacity: 1; }

/* ── Light theme ── */
[data-theme="light"] {
  --bg: #f5f6fa;
  --bg-2: #eceef5;
  --bg-card: #ffffff;
  --border: rgba(0,0,0,0.07);
  --border-hi: rgba(0,0,0,0.12);
  --text-1: #0c0f17;
  --text-2: #4a5070;
  --text-3: #8a90a8;
  --neon: #006be6;
  --neon-dim: rgba(0,107,230,0.08);
  --neon-glow: 0 0 30px rgba(0,107,230,0.25);
  --volt: #3c6e00;
  --volt-dim: rgba(60,110,0,0.08);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid .svc-card { grid-column: span 6; }
  .services-grid .svc-card-featured { grid-column: span 12; }
  .services-grid .svc-card-featured .svc-inner { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .why-visual { display: none; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border); padding: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-primary { display: none; }
  .nav-hamburger { display: flex; }
  .hero-title { font-size: clamp(4rem, 16vw, 8rem); }
  .hero-bottom { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-actions { justify-content: flex-start; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-inner .stat-item:nth-child(2n) { border-right: none; }
  .services-grid .svc-card, .services-grid .svc-card-featured { grid-column: span 12; }
  .about-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .service-detail { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail.reverse { direction: ltr; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-bar-inner { grid-template-columns: 1fr 1fr; }
}

/* ── Accessibility ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-right, .reveal-scale {
    opacity: 1; transform: none;
    transition: none;
  }
}
:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Print ── */
@media print {
  .nav, .footer, .cursor, .cursor-ring, .loading-bar, .hero-bg-grid { display: none; }
  body { background: white; color: black; }
}
