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

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:          #030312;
  --bg-2:        #07071e;
  --fg:          #e8ecf4;
  --accent:      #00d2ff;
  --accent-2:    #a855f7;
  --mid:         #8892b0;
  --light:       #c4cde0;
  --border:      rgba(255, 255, 255, 0.07);
  --border-acc:  rgba(0, 210, 255, 0.18);

  --ease-snap:   cubic-bezier(0.86, 0, 0.07, 1);
  --ease-spring: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-action: cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ============================================================
   BASE
   ============================================================ */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 1px;
  width: 0%;
  background: var(--accent);
  z-index: 1000;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.6);
}

/* ============================================================
   GRAIN OVERLAY
   ============================================================ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.045;
  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)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ============================================================
   CANVAS — full-page fixed background
   ============================================================ */
#nexus-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* All chrome above canvas */
header, main, footer, #preloader, .mobile-menu {
  position: relative;
  z-index: 1;
}
header       { z-index: 998; }
#preloader   { z-index: 999; }
.mobile-menu { z-index: 997; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: min(92%, 1400px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section      { padding: 90px 0; }
.section-hero { padding: 130px 0 120px; min-height: 100vh; display: flex; align-items: center; position: relative; }

/* ============================================================
   UTILITY
   ============================================================ */
.accent { color: var(--accent); }

.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mid);
  margin-bottom: 72px;
}

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s var(--ease-snap);
}

#preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.preloader-wordmark {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.5em;
  color: var(--fg);
  animation: preloader-pulse 1.4s var(--ease-spring) infinite alternate;
}

@keyframes preloader-pulse {
  from { opacity: 0.2; transform: scale(0.97); }
  to   { opacity: 1;   transform: scale(1); }
}

.preloader-bar {
  width: 140px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  animation: fill-bar 1.3s var(--ease-action) forwards;
}

@keyframes fill-bar {
  to { width: 100%; }
}

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 26px 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.5s var(--ease-action), box-shadow 0.5s var(--ease-action);
  backface-visibility: hidden;
}

header.scrolled {
  background: rgba(3, 3, 18, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.logo {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: opacity 0.3s var(--ease-snap);
}

.logo:hover { opacity: 0.7; }

nav a {
  display: inline-block;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.72rem;
  padding: 20px 0;
  margin-left: 32px;
  position: relative;
  text-decoration: none;
  color: var(--mid);
  transition: color 0.4s var(--ease-snap);
}

nav a:hover { color: var(--fg); }

nav a::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  position: absolute;
  left: 0;
  bottom: 10px;
  transform-origin: right center;
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-snap);
}

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-email {
  text-transform: none !important;
  letter-spacing: 0.01em !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 999;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--fg);
  transition: transform 0.45s var(--ease-snap), opacity 0.3s;
  transform-origin: center;
}

.hamburger.open span:first-child { transform: translateY(4px) rotate(45deg); }
.hamburger.open span:last-child  { transform: translateY(-4px) rotate(-45deg); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 18, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-snap);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: center;
}

.mobile-link {
  font-size: 2.6rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--fg);
  text-decoration: none;
  transition: color 0.3s var(--ease-snap);
  line-height: 1.15;
}

.mobile-link:hover { color: var(--accent); }

/* ============================================================
   HERO
   ============================================================ */
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  gap: 48px;
}

.hero-copy {
  max-width: 860px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 36px;
  display: block;
}

.hero-headline {
  font-size: clamp(3.6rem, 9.5vw, 7.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.06em;
  margin-bottom: 40px;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.78;
  letter-spacing: -0.01em;
  color: var(--mid);
  max-width: 520px;
  margin-bottom: 52px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

/* Outlined button */
.btn-outline {
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid var(--border-acc);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  text-decoration: none;
  will-change: transform;
  transition: background 0.35s var(--ease-snap), border-color 0.35s var(--ease-snap), transform 0.5s var(--ease-spring);
}

.btn-outline:hover {
  background: rgba(0, 210, 255, 0.1);
  border-color: rgba(0, 210, 255, 0.45);
}

/* Ghost button — matches btn-outline box style */
.btn-ghost {
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid var(--border-acc);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  text-decoration: none;
  will-change: transform;
  transition: background 0.35s var(--ease-snap), border-color 0.35s var(--ease-snap), transform 0.5s var(--ease-spring);
}

.btn-ghost:hover {
  background: rgba(0, 210, 255, 0.1);
  border-color: rgba(0, 210, 255, 0.45);
}

/* Live connection counter */
.hero-counter {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
  user-select: none;
}

.counter-number {
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  color: rgba(0, 210, 255, 0.18);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 3ch;
  text-align: right;
  transition: color 0.4s;
}

.counter-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.18);
  line-height: 1.5;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 52px;
  left: 4%;
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 72px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scroll-drop 2.2s var(--ease-snap) infinite;
}

@keyframes scroll-drop {
  0%   { top: -50%; }
  100% { top: 120%; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.service-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0 48px;
  align-items: baseline;
  padding: 52px 44px 52px 0;
  border-top: 1px solid var(--border);
  transition: border-color 0.4s var(--ease-snap);
}

.service-item:nth-child(even) {
  padding-left: 44px;
  padding-right: 0;
  border-left: 1px solid var(--border);
}

.service-item:last-child { border-bottom: 1px solid var(--border); }
.service-item:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--border); }
.service-item:hover { border-color: var(--border-acc); }

.service-num {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  padding-top: 8px;
}

.service-body { flex: 1; }

.service-name {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  letter-spacing: -0.01em;
  color: var(--mid);
  max-width: 520px;
}

.service-tag {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(0, 210, 255, 0.35);
  align-self: flex-start;
  padding-top: 10px;
  white-space: nowrap;
}

/* ============================================================
   AI PHONE SECTION
   ============================================================ */
.phone-section {
  background: rgba(7, 7, 30, 0.6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.phone-headline {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.phone-intro {
  font-size: 1.05rem;
  line-height: 1.82;
  letter-spacing: -0.01em;
  color: var(--mid);
  margin-bottom: 56px;
}

.phone-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.phone-feature {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.phone-feature:last-child { border-bottom: 1px solid var(--border); }

.feature-num {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  padding-top: 4px;
  flex-shrink: 0;
}

.feature-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--fg);
}

.feature-text p {
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--mid);
  letter-spacing: -0.01em;
}

/* ============================================================
   CAPABILITIES GRID
   ============================================================ */
.capabilities-headline {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.12;
  margin-bottom: 80px;
  text-align: center;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.cap-item {
  background: var(--bg);
  padding: 44px 36px;
  transition: background 0.4s var(--ease-snap);
}

.cap-item:hover { background: rgba(0, 210, 255, 0.04); }

.cap-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
  margin-bottom: 24px;
  transition: opacity 0.3s, box-shadow 0.3s;
}

.cap-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(0, 210, 255, 0);
  transition: inset 0.55s var(--ease-spring), border-color 0.55s var(--ease-spring);
}

.cap-item:hover .cap-dot {
  opacity: 1;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.6);
}

.cap-item:hover .cap-dot::after {
  inset: -11px;
  border-color: rgba(0, 210, 255, 0.35);
}

.cap-item h4 {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin-bottom: 14px;
}

.cap-item p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--mid);
  letter-spacing: -0.01em;
}

/* ============================================================
   WORK / CASE STUDIES
   ============================================================ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.work-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  transition: border-color 0.4s var(--ease-snap);
}

.work-card:hover { border-color: var(--border-acc); }

.work-shot {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.work-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.work-shot-label {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.2);
}

.work-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 32px 36px 36px;
}

.work-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 16px;
}

.work-name {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 14px;
}

.work-desc {
  font-size: 0.92rem;
  line-height: 1.75;
  letter-spacing: -0.01em;
  color: var(--mid);
  margin-bottom: 28px;
}

.work-proves {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.proves-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--mid);
  margin-bottom: 12px;
}

.proves-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proves-list li {
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0, 210, 255, 0.75);
  background: rgba(0, 210, 255, 0.05);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 2px;
  padding: 5px 10px;
}

/* ============================================================
   TECH STACK
   ============================================================ */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 44px 40px;
}

.stack-group {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.stack-cat {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 18px;
}

.stack-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-list li {
  font-size: 0.78rem;
  letter-spacing: -0.005em;
  color: var(--light);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 6px 12px;
  transition: border-color 0.3s var(--ease-snap), color 0.3s var(--ease-snap);
}

.stack-list li:hover {
  border-color: var(--border-acc);
  color: var(--fg);
}

/* ============================================================
   INLINE LINK
   ============================================================ */
.inline-link {
  display: inline-block;
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  text-decoration: none;
  color: var(--mid);
  padding-bottom: 4px;
  transition: color 0.4s var(--ease-snap);
}

.inline-link:hover { color: var(--fg); }

.inline-link::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  position: absolute;
  left: 0;
  bottom: 0;
  transform-origin: right center;
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-snap);
  backface-visibility: hidden;
}

.inline-link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0;
}

.cta-headline {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.08;
  margin-bottom: 36px;
  text-align: center;
}

.cta-sub {
  font-size: 1.1rem;
  line-height: 1.78;
  color: var(--mid);
  max-width: 520px;
  letter-spacing: -0.01em;
  margin-bottom: 64px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-decoration: none;
  position: relative;
  padding-bottom: 6px;
  transition: gap 0.5s var(--ease-spring), color 0.3s var(--ease-snap);
}

.cta-link::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  position: absolute;
  left: 0;
  bottom: 0;
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform 0.5s var(--ease-snap);
}

.cta-link:hover { gap: 28px; color: var(--fg); }
.cta-link:hover::after { transform: scaleX(0); transform-origin: right center; }

.cta-arrow {
  font-size: 1.1em;
  transition: transform 0.5s var(--ease-spring);
  display: inline-block;
}

.cta-link:hover .cta-arrow { transform: translateX(6px); }

/* ============================================================
   INQUIRY FORM
   ============================================================ */
.inquiry-wrap {
  margin-top: 72px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(0, 210, 255, 0.035);
  border: 1px solid rgba(0, 210, 255, 0.18);
  border-top: 2px solid rgba(0, 210, 255, 0.55);
  padding: 56px 64px 64px;
}

.inquiry-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 56px;
  color: var(--mid);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.inquiry-divider::before,
.inquiry-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.inquiry-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.inquiry-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.inquiry-field:last-of-type { margin-bottom: 0; }

.inquiry-label {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--mid);
  transition: color 0.3s var(--ease-snap);
}

.inquiry-field:focus-within .inquiry-label {
  color: var(--accent);
}

.inquiry-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding: 14px 18px;
  outline: none;
  width: 100%;
  transition: border-color 0.3s var(--ease-snap), background 0.3s var(--ease-snap);
}

.inquiry-input::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.inquiry-input:focus {
  border-color: rgba(0, 210, 255, 0.55);
  background: rgba(0, 210, 255, 0.05);
}

.inquiry-textarea {
  resize: none;
  line-height: 1.72;
}

.inquiry-actions {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.inquiry-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #030312;
  padding: 17px 36px;
  position: relative;
  transition: gap 0.4s var(--ease-spring), background 0.3s var(--ease-snap), transform 0.2s;
}

.inquiry-submit::after { display: none; }

.inquiry-submit:hover               { gap: 20px; background: rgba(0, 210, 255, 0.82); transform: translateY(-1px); }
.inquiry-submit:active              { transform: translateY(0); }
.inquiry-submit:disabled            { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

.inq-btn-arrow {
  font-size: 1.1em;
  display: inline-block;
  transition: transform 0.4s var(--ease-spring);
}

.inquiry-submit:hover .inq-btn-arrow { transform: translateX(4px); }

.inquiry-note {
  font-size: 0.8rem;
  color: var(--mid);
  letter-spacing: -0.01em;
}

.inquiry-error {
  margin-top: 16px;
  font-size: 0.82rem;
  color: #ff6b6b;
  letter-spacing: -0.01em;
  min-height: 1.2em;
}

/* Success state */
.inquiry-success {
  display: none;
  padding: 56px 0 8px;
}

.inquiry-success.visible {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.success-check {
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
}

.success-heading {
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.2;
}

.success-body {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.75;
  letter-spacing: -0.01em;
  max-width: 420px;
}

@media (max-width: 640px) {
  .inquiry-wrap   { padding: 36px 28px 44px; }
  .inquiry-row    { grid-template-columns: 1fr; gap: 0; }
  .inquiry-actions { flex-direction: column; align-items: flex-start; gap: 18px; }
  .inquiry-submit { width: 100%; justify-content: center; }
  .success-heading { font-size: 1.8rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 36px 28px; }
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.82s var(--ease-spring), transform 0.82s var(--ease-spring);
}

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

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}

.footer-links {
  display: flex;
  gap: 36px;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--mid);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* ============================================================
   SCRAMBLE
   ============================================================ */
.scramble-line { display: inline; }

.scramble-char {
  color: rgba(0, 210, 255, 0.45);
  font-family: monospace;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0 56px;
  align-items: start;
  margin-top: 80px;
}

.process-step {}

.process-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}

.process-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.15;
  margin-bottom: 22px;
}

.process-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--mid);
  letter-spacing: -0.01em;
}

.process-arrow {
  font-size: 1.4rem;
  color: rgba(0, 210, 255, 0.2);
  align-self: center;
  padding-top: 60px;
  user-select: none;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.stat-item {
  background: var(--bg);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.4s var(--ease-snap);
}

.stat-item:hover { background: rgba(0, 210, 255, 0.03); }

.stat-number {
  font-size: clamp(2.4rem, 3.8vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mid);
  line-height: 1.55;
}

/* ============================================================
   PRICING NOTE
   ============================================================ */
.pricing-note {
  font-size: 0.92rem;
  color: var(--mid);
  letter-spacing: -0.01em;
  margin-bottom: 64px;
  margin-top: -20px;
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 1680px) {
  .container { width: 85%; }
}



@media (max-width: 1024px) {
  .phone-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-counter { display: none; }

  .service-item {
    grid-template-columns: 56px 1fr;
    gap: 0 28px;
  }
  .service-tag { display: none; }
}

@media (max-width: 900px) {
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section      { padding: 70px 0; }
  .section-hero { padding: 110px 0 80px; }
  .cta-section  { padding: 80px 0; min-height: auto; }
  .section-label { margin-bottom: 48px; }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .process-arrow { display: none; }
  .process-step {
    padding: 44px 0;
    border-top: 1px solid var(--border);
  }
  .process-step:first-child { border-top: none; padding-top: 0; }

  .services-list { grid-template-columns: 1fr; }

  .service-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 40px 0;
  }

  .service-item:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }

  .service-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  .service-num { padding-top: 0; }
  .service-desc { max-width: none; }

  .capabilities-grid { grid-template-columns: 1fr; }
  .cap-item { padding: 36px 28px; }

  .phone-grid { gap: 40px; }

  .footer-inner {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 24px; }
}

@media (max-width: 640px) {
  nav              { display: none; }
  .hamburger       { display: flex; }
  .hero-headline   { font-size: clamp(3rem, 13vw, 5rem); }
  .cta-headline    { font-size: clamp(2.6rem, 11vw, 4.2rem); }
  .phone-headline  { font-size: clamp(2.4rem, 10vw, 3.8rem); }
  .capabilities-headline { font-size: clamp(2.4rem, 10vw, 3.8rem); }
  .scroll-indicator { display: none; }
  .hero-actions { flex-direction: column; align-items: center; gap: 20px; }
}
