/* ── Variables ── */
:root {
  --brand: #00AEEF;
  --brand-light: #33C1FF;
  --bg: #050505;
  --text: #f0f0f0;
  --text-muted: #999;
  --border: rgba(255,255,255,0.1);
  --glass: rgba(255,255,255,0.04);
  --glass-strong: rgba(0,0,0,0.6);
  --section-pad: clamp(4rem, 8vw, 8rem);
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
}

::selection {
  background: rgba(0,174,239,0.25);
  color: inherit;
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.05); }
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 48px 48px; }
}

@keyframes aurora {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes scanLine {
  0% { top: -2px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@keyframes codeFloat {
  0% { opacity: 0; transform: translateY(20px); }
  15%, 70% { opacity: 0.7; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-20px); }
}

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

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

@keyframes pulseRing {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.05); opacity: 0.6; }
}

@keyframes centerPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes drawPath {
  to { stroke-dashoffset: 0; }
}

@keyframes nodePop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(2); opacity: 0; }
}

@keyframes networkLineIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes networkPulse {
  0%, 100% { opacity: 0; }
  20%, 80% { opacity: 1; }
}

@keyframes networkNodeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes networkDotPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-badge, .hero h1, .hero-desc, .hero-actions, .stats { animation: none !important; }
  .hero-bg *, .hero-orbit *, .circuit-tree * { animation: none !important; }
  .marquee { animation: none !important; }
  .hero-badge .dot { animation: none !important; }
  .hero-code-snippet { opacity: 0.4 !important; }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Typography ── */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.gradient-text {
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  background: linear-gradient(to bottom right, var(--brand), var(--brand-light), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-label .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  -webkit-text-stroke: 1px rgba(0,174,239,0.3);
  color: transparent;
}

.section-label .line {
  width: 3rem;
  height: 1px;
  background: rgba(0,174,239,0.3);
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: padding 0.5s, background 0.5s, border-color 0.5s, box-shadow 0.5s;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 0.75rem 0;
  backdrop-filter: blur(24px);
  background: rgba(0,0,0,0.6);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.navbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
}

.navbar-logo { position: relative; z-index: 2; flex-shrink: 0; }

.logo {
  height: 2.5rem;
  width: auto;
  transition: height 0.5s;
}

.navbar.scrolled .logo { height: 2rem; }

.nav-pill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(24px);
  transition: background 0.5s, box-shadow 0.5s, border-color 0.5s;
}

.navbar.scrolled .nav-pill {
  background: rgba(0,0,0,0.6);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.nav-links {
  display: flex;
  gap: 0.15rem;
  list-style: none;
}

.nav-links a {
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: #ccc;
  transition: color 0.3s, background 0.3s;
}

.nav-links a:hover {
  color: var(--brand);
  background: rgba(0,174,239,0.08);
}

.nav-links a.active {
  color: var(--brand) !important;
  background: rgba(0,174,239,0.12);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
}

.btn-nav {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-arrow {
  font-size: 1.125rem;
  line-height: 1;
  transition: transform 0.3s;
}

.btn-nav:hover .btn-arrow {
  transform: translate(2px, -2px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--brand);
  color: #000;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0,174,239,0.3);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,174,239,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,174,239,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 80%);
  animation: gridDrift 20s linear infinite;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.hero-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-aurora-1 {
  top: -10%; left: -5%;
  width: min(50vw, 600px);
  height: min(50vw, 600px);
  background: rgba(0,174,239,0.08);
  animation: aurora 12s ease-in-out infinite;
}

.hero-aurora-2 {
  bottom: 10%; right: -10%;
  width: min(45vw, 500px);
  height: min(45vw, 500px);
  background: rgba(0,174,239,0.06);
  animation: aurora 15s ease-in-out infinite 3s;
}

.hero-aurora-3 {
  top: 40%; left: 30%;
  width: min(30vw, 360px);
  height: min(30vw, 360px);
  background: rgba(139,92,246,0.05);
  animation: aurora 18s ease-in-out infinite 6s;
}

.hero-scan {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.2;
}

.hero-scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,174,239,0.6), transparent);
  animation: scanLine 4s ease-in-out infinite;
}

.hero-code-float {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-code-snippet {
  position: absolute;
  left: var(--x);
  top: var(--y);
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  font-size: 0.65rem;
  color: rgba(0,174,239,0.7);
  white-space: nowrap;
  animation: codeFloat 8s ease-in-out infinite;
  animation-delay: calc(var(--delay) + 1.5s);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

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

.hero-visual {
  position: relative;
  display: none;
  aspect-ratio: 1;
  max-width: 420px;
  margin: 0 auto;
}

.hero-orbit {
  position: absolute;
  inset: 0;
}

.hero-orbit-glow {
  position: absolute;
  inset: 20%;
  background: rgba(0,174,239,0.1);
  border-radius: 50%;
  filter: blur(48px);
  animation: pulseRing 4s ease-in-out infinite;
}

.hero-orbit-ring {
  position: absolute;
  inset: 0;
  animation: orbitSpin 40s linear infinite;
}

.hero-orbit-ring .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,174,239,0.1);
}

.hero-orbit-ring .ring-1 { inset: 8%; }
.hero-orbit-ring .ring-2 { inset: 18%; border-style: dashed; border-color: rgba(0,174,239,0.15); }
.hero-orbit-ring .ring-3 { inset: 28%; border-color: rgba(0,174,239,0.05); }

.orbit-item {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
  animation: orbitCounter 40s linear infinite;
}

.orbit-inner {
  position: absolute;
  inset: 35%;
  border: 2px solid rgba(0,174,239,0.2);
  border-radius: 50%;
  animation: orbitCounter 25s linear infinite;
}

.orbit-inner::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px rgba(0,174,239,0.5);
}

.orbit-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-center-pulse {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(0,174,239,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: centerPulse 3s ease-in-out infinite;
}

.orbit-center-pulse::after {
  content: '';
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 24px rgba(0,174,239,0.4);
}

.orbit-sweep {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: orbitSpin 6s linear infinite;
}

.orbit-sweep::after {
  content: '';
  width: 50%;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(0,174,239,0.4), transparent);
}

.circuit-tree {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 55%;
  height: 55%;
  color: var(--brand);
  opacity: 0.6;
  mix-blend-mode: screen;
}

.circuit-tree .tree-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 0.5;
  opacity: 0;
  animation: nodePop 1s ease forwards;
}

.circuit-tree .tree-ring:nth-child(1) { animation-delay: 0s; opacity: 0.2; }
.circuit-tree .tree-ring:nth-child(2) { animation-delay: 0.1s; opacity: 0.3; }
.circuit-tree .tree-ring:nth-child(3) { animation-delay: 0.2s; opacity: 0.5; stroke-width: 1; }

.circuit-tree .tree-path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawPath 1.5s ease forwards;
}

.circuit-tree .tree-path:nth-child(4) { animation-delay: 0.3s; stroke-width: 2; }
.circuit-tree .tree-path:nth-child(5) { animation-delay: 0.45s; stroke-width: 1.5; }
.circuit-tree .tree-path:nth-child(6) { animation-delay: 0.6s; stroke-width: 1.5; }
.circuit-tree .tree-path:nth-child(7) { animation-delay: 0.75s; stroke-width: 1.5; opacity: 0.8; }
.circuit-tree .tree-path:nth-child(8) { animation-delay: 0.9s; stroke-width: 1.5; opacity: 0.8; }
.circuit-tree .tree-path:nth-child(9) { animation-delay: 1.05s; stroke-width: 1.5; }
.circuit-tree .tree-path:nth-child(10) { animation-delay: 1.2s; stroke-width: 1; opacity: 0.6; }
.circuit-tree .tree-path:nth-child(11) { animation-delay: 1.35s; stroke-width: 1; opacity: 0.6; }

.circuit-tree .tree-node {
  fill: currentColor;
  transform-origin: center;
  transform: scale(0);
  animation: nodePop 0.4s ease forwards;
}

.circuit-tree .tree-node:nth-child(12) { animation-delay: 1.2s; }
.circuit-tree .tree-node:nth-child(13) { animation-delay: 1.3s; }
.circuit-tree .tree-node:nth-child(14) { animation-delay: 1.4s; }
.circuit-tree .tree-node:nth-child(15) { animation-delay: 1.5s; }
.circuit-tree .tree-node:nth-child(16) { animation-delay: 1.6s; }
.circuit-tree .tree-node:nth-child(17) { animation-delay: 1.7s; }
.circuit-tree .tree-node:nth-child(18) { animation-delay: 1.8s; }
.circuit-tree .tree-node:nth-child(19) { animation-delay: 1.9s; }

.circuit-tree .tree-pulse {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.4;
  transform-origin: 100px 110px;
  animation: ringPulse 3s ease-in-out infinite;
}

.hero-bracket {
  position: absolute;
  width: 32px; height: 32px;
  border-color: rgba(0,174,239,0.3);
  border-style: solid;
}

.hero-bracket.tl { top: 12%; left: 12%; border-width: 2px 0 0 2px; }
.hero-bracket.tr { top: 12%; right: 12%; border-width: 2px 2px 0 0; }
.hero-bracket.bl { bottom: 12%; left: 12%; border-width: 0 0 2px 2px; }
.hero-bracket.br { bottom: 12%; right: 12%; border-width: 0 2px 2px 0; }

.hero-terminal-wrap {
  margin-top: 2.5rem;
  max-width: 32rem;
}

.hero-terminal {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(24px);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,174,239,0.05);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot.red { background: rgba(248,113,113,0.8); }
.terminal-dot.yellow { background: rgba(250,204,21,0.8); }
.terminal-dot.green { background: rgba(74,222,128,0.8); }

.terminal-title,
.terminal-live,
.terminal-body,
.terminal-line,
.hero-code-snippet {
  font-family: var(--font-mono);
}

.terminal-title {
  font-size: 0.625rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.terminal-live {
  margin-left: auto;
  font-size: 0.625rem;
  color: var(--brand);
  animation: pulse 1.5s ease-in-out infinite;
}

.terminal-body {
  padding: 1rem;
  min-height: 180px;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.terminal-line { color: var(--text-muted); margin-bottom: 0.35rem; }
.terminal-line.highlight { color: var(--brand); font-weight: 600; }

#terminal-cursor {
  display: inline-block;
  width: 8px; height: 16px;
  background: rgba(0,174,239,0.8);
  vertical-align: middle;
  animation: pulse 0.6s step-end infinite;
}

.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease both;
}

.hero h1 { animation: fadeInUp 0.8s ease 0.15s both; }
.hero-desc { animation: fadeInUp 0.8s ease 0.3s both; }
.hero-actions { animation: fadeInUp 0.8s ease 0.45s both; }
.stats { animation: fadeInUp 0.8s ease 0.6s both; }

.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1,
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6.5vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}

.hero h1 .muted,
.hero-title .muted {
  color: #737373;
  font-weight: 700;
}

.hero-desc {
  max-width: 28rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  color: #737373;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.stats { display: flex; flex-wrap: wrap; gap: 1rem; }

.stat {
  padding: 0.75rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s;
}

.stat:hover { border-color: rgba(0,174,239,0.3); }

.stat .val {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.stat .lbl {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #666;
  margin-top: 0.15rem;
}

/* ── Marquee ── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  background: rgba(255,255,255,0.02);
}

.marquee {
  display: flex;
  gap: 2rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #666;
  white-space: nowrap;
}

.marquee span::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0,174,239,0.5);
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Sections ── */
section { padding: var(--section-pad) 0; }

.section-header { margin-bottom: 3rem; }

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 600px;
}

.section-header p {
  color: #737373;
  max-width: 480px;
  margin-top: 1rem;
  font-weight: 400;
  line-height: 1.75;
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.service-card {
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--glass);
  transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,174,239,0.3);
}

.service-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(0,174,239,0.08), transparent);
}

.service-card .tag {
  font-size: 0.65rem;
  font-family: monospace;
  color: rgba(0,174,239,0.6);
  letter-spacing: 0.1em;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.75rem 0;
}

.service-card.featured h3 { font-size: 1.75rem; }

.service-card p { font-size: 0.875rem; color: #737373; line-height: 1.65; }

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

.about-grid p { color: #737373; margin-bottom: 1rem; line-height: 1.75; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.value-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.value-card:hover { border-color: rgba(0,174,239,0.3); }

.value-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.value-card p { font-size: 0.8rem; color: #737373; margin: 0; line-height: 1.6; }

.founded {
  display: inline-block;
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.founded .year {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.founded .sub { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); }

/* ── Process ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.process-card {
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--glass);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.3s;
}

.process-card:hover { border-color: rgba(0,174,239,0.3); }

.process-card .step {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  -webkit-text-stroke: 1px rgba(0,174,239,0.3);
  color: transparent;
  margin-bottom: 1rem;
}

.process-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.process-card p { font-size: 0.8rem; color: #737373; line-height: 1.6; }

/* ── Contact ── */
.contact-box {
  border-radius: 2rem;
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-info {
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--brand);
  color: #000;
  position: relative;
  overflow: hidden;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.contact-info > p { opacity: 0.7; margin-bottom: 2rem; max-width: 320px; }

.contact-detail { margin-bottom: 1.25rem; }

.contact-detail .lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.5;
  margin-bottom: 0.25rem;
}

.contact-detail .val { font-weight: 600; }

.contact-detail a:hover { text-decoration: underline; }

.contact-form-wrap { padding: clamp(2rem, 5vw, 4rem); }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(0,174,239,0.02);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,174,239,0.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.contact-form-wrap .btn { width: 100%; justify-content: center; margin-top: 0.5rem; font-size: 1rem; padding: 1rem; }

/* ── Footer ── */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer .logo { height: 3rem; margin: 0 auto 2rem; }

.footer-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  -webkit-text-stroke: 1px rgba(0,174,239,0.25);
  color: transparent;
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-social { display: flex; gap: 1.5rem; }

.footer-social a:hover { color: var(--brand); }

/* ── Responsive ── */
@media (min-width: 900px) {
  .hero-layout { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .hero-visual { display: block; }
  .hero-code-float { display: block; }
}

@media (max-width: 899px) {
  .hero-code-float { display: none; }
  .hero-terminal-wrap { max-width: 100%; }
}

@media (max-width: 900px) {
  .service-card.featured { grid-column: span 1; }
  .about-grid, .contact-box { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-pill {
    display: none;
    position: fixed;
    top: 4.75rem;
    left: 1rem;
    right: 1rem;
    transform: none;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(0,0,0,0.85);
    border-color: var(--border);
    box-shadow: 0 16px 48px rgba(0,0,0,0.35);
    z-index: 99;
  }

  .nav-pill.open { display: block; }

  .nav-links { flex-direction: column; gap: 0.25rem; }

  .nav-links a { padding: 0.75rem 1rem; }

  .nav-actions .btn { display: none; }
  .menu-toggle { display: block; }

  .values-grid { grid-template-columns: 1fr; }
}
