/* ============================================
   StoreAI Marketing Site — "Spatial Intelligence"
   Dark premium aesthetic with luminous accents
   ============================================ */

:root {
  /* Core Palette */
  --bg: #06060b;
  --bg-elevated: #0c0c14;
  --bg-card: rgba(12, 12, 20, 0.8);
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  /* Text */
  --text: #f0f0f5;
  --text-secondary: #8a8a9a;
  --text-tertiary: #55556a;

  /* Accents */
  --cyan: #00d4ff;
  --cyan-dim: rgba(0, 212, 255, 0.15);
  --cyan-glow: rgba(0, 212, 255, 0.3);
  --coral: #ff6b35;
  --coral-dim: rgba(255, 107, 53, 0.15);
  --coral-glow: rgba(255, 107, 53, 0.3);
  --amber: #ffd700;
  --amber-dim: rgba(255, 215, 0, 0.15);
  --amber-glow: rgba(255, 215, 0, 0.3);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Sizing */
  --container: 1200px;
  --nav-height: 72px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* ─── Container ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Gradient Mesh Background ─── */
.gradient-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: orbFloat 20s ease-in-out infinite;
}
.mesh-orb--cyan {
  width: 600px; height: 600px;
  background: var(--cyan);
  top: -200px; left: -100px;
  opacity: 0.15;
  animation-delay: 0s;
}
.mesh-orb--coral {
  width: 500px; height: 500px;
  background: var(--coral);
  top: 40%; right: -150px;
  opacity: 0.1;
  animation-delay: -7s;
}
.mesh-orb--amber {
  width: 400px; height: 400px;
  background: var(--amber);
  bottom: -100px; left: 30%;
  opacity: 0.08;
  animation-delay: -14s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(80px, -40px) scale(1.1); }
  50% { transform: translate(-60px, 60px) scale(0.95); }
  75% { transform: translate(40px, 80px) scale(1.05); }
}

/* ─── Grid Pattern ─── */
.grid-pattern {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.nav--scrolled {
  background: rgba(6, 6, 11, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.nav__logo-icon { width: 28px; height: 28px; border-radius: 6px; }
.nav__links { display: flex; gap: 32px; }
.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--cyan);
  transition: width 0.3s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }
.nav__actions { display: flex; gap: 12px; }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(6, 6, 11, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 24px 24px;
  border-bottom: 1px solid var(--border);
}
.nav__mobile.active { display: flex; }
.nav__mobile-link {
  padding: 14px 0;
  font-size: 1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: color 0.3s;
}
.nav__mobile-link:hover { color: var(--text); }
.nav__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--cyan), #0091b3);
  color: #000;
  box-shadow: 0 0 24px var(--cyan-dim);
}
.btn--primary:hover {
  box-shadow: 0 0 40px var(--cyan-glow);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: var(--surface);
}
.btn--glass {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}
.btn--glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.btn--lg { padding: 14px 28px; font-size: 0.95rem; border-radius: 12px; }
.btn--full { width: 100%; justify-content: center; }

/* ─── Section Shared ─── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid var(--cyan-dim);
  border-radius: 100px;
  background: var(--cyan-dim);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}
.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: calc(var(--nav-height) + 48px) 24px 80px;
  max-width: var(--container);
  margin: 0 auto;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--cyan);
  padding: 8px 18px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero__title-line { display: block; }
.hero__title-line--accent {
  background: linear-gradient(135deg, var(--cyan), var(--coral) 60%, var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero__cta { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero__proof-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}
.hero__proof-row { display: flex; gap: 28px; }
.hero__proof-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.hero__proof-logo:hover { opacity: 0.8; }

/* Hero Visual */
.hero__visual { position: relative; }
.hero__mockup {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 60px var(--cyan-dim);
}
.hero__iso { width: 100%; height: auto; display: block; }
.iso-fixture { animation: isoFadeIn 0.8s var(--ease) both; }
@keyframes isoFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.scan-line { animation: scanMove 4s linear infinite; }
@keyframes scanMove {
  0% { opacity: 0; transform: translateY(-100px); }
  20% { opacity: 0.5; }
  80% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(100px); }
}
.pulse-ring { animation: pulseRing 2s ease infinite; }
@keyframes pulseRing {
  0% { r: 8; opacity: 0.5; }
  100% { r: 16; opacity: 0; }
}
.float-label { animation: floatUp 3s ease-in-out infinite alternate; }
@keyframes floatUp {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}
.data-point { animation: dataFade 2s ease infinite; }
@keyframes dataFade {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.hero__stat {
  position: absolute;
  padding: 12px 18px;
  background: rgba(6, 6, 11, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: statFloat 4s ease-in-out infinite alternate;
}
.hero__stat--tl { top: 16px; left: -24px; }
.hero__stat--br { bottom: 16px; right: -24px; animation-delay: -2s; }
.hero__stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--cyan);
}
.hero__stat-label {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@keyframes statFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

/* ─── Ticker ─── */
.ticker {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  overflow: hidden;
  background: var(--surface);
}
.ticker__track { display: flex; width: max-content; animation: tickerScroll 30s linear infinite; }
.ticker__content {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.ticker__dot {
  width: 4px; height: 4px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── Features ─── */
.features {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 20px;
}
.feature-card__icon svg { width: 32px; height: 32px; }
.feature-card__icon--cyan { background: var(--cyan-dim); color: var(--cyan); }
.feature-card__icon--coral { background: var(--coral-dim); color: var(--coral); }
.feature-card__icon--amber { background: var(--amber-dim); color: var(--amber); }
.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}
.feature-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.feature-card__tags span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-tertiary);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  letter-spacing: 0.02em;
}

/* ─── Platform Showcase ─── */
.platform {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: linear-gradient(180deg, transparent, var(--bg-elevated) 20%, var(--bg-elevated) 80%, transparent);
}
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 100px;
}
.showcase:last-child { margin-bottom: 0; }
.showcase--reverse { direction: rtl; }
.showcase--reverse > * { direction: ltr; }
.showcase__number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}
.showcase__title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.showcase__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}
.showcase__list { display: flex; flex-direction: column; gap: 12px; }
.showcase__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.showcase__list li svg { flex-shrink: 0; }

/* Screen Mockup */
.showcase__screen {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}
.screen-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}
.screen-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.screen-dot:first-child { background: rgba(255, 80, 80, 0.5); }
.screen-dot:nth-child(2) { background: rgba(255, 200, 40, 0.5); }
.screen-dot:nth-child(3) { background: rgba(40, 200, 80, 0.5); }

/* Planogram Demo */
.screen-content--planogram { padding: 20px; }
.planogram-demo { display: flex; flex-direction: column; gap: 6px; }
.plano-shelf {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.plano-item {
  flex: 1;
  height: 36px;
  border-radius: 4px;
  transition: transform 0.3s var(--ease-bounce);
}
.plano-item:hover { transform: scale(1.08); }
.plano-item--a { background: linear-gradient(135deg, var(--cyan-dim), rgba(0, 212, 255, 0.3)); border: 1px solid rgba(0, 212, 255, 0.3); }
.plano-item--b { background: linear-gradient(135deg, var(--coral-dim), rgba(255, 107, 53, 0.3)); border: 1px solid rgba(255, 107, 53, 0.3); }
.plano-item--c { background: linear-gradient(135deg, var(--amber-dim), rgba(255, 215, 0, 0.3)); border: 1px solid rgba(255, 215, 0, 0.3); }

/* Layout Demo */
.screen-content--layout { padding: 20px; }
.layout-demo {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: rgba(255, 255, 255, 0.01);
  border-radius: 4px;
}
.layout-wall {
  position: absolute;
  background: var(--text-tertiary);
}
.layout-wall--top { top: 0; left: 0; right: 0; height: 3px; }
.layout-wall--bottom { bottom: 0; left: 0; right: 0; height: 3px; }
.layout-wall--left { top: 0; left: 0; bottom: 0; width: 3px; }
.layout-wall--right { top: 0; right: 0; bottom: 0; width: 3px; }
.layout-door {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-glow);
}
.layout-fixture {
  position: absolute;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 3px;
  transition: background 0.3s;
}
.layout-fixture:hover { background: rgba(0, 212, 255, 0.3); }
.layout-fixture--1 { top: 12%; left: 10%; width: 22%; height: 15%; }
.layout-fixture--2 { top: 12%; left: 40%; width: 22%; height: 15%; }
.layout-fixture--3 { top: 12%; right: 10%; width: 22%; height: 15%; }
.layout-fixture--4 { top: 40%; left: 10%; width: 35%; height: 12%; background: var(--coral-dim); border-color: rgba(255, 107, 53, 0.25); }
.layout-fixture--4:hover { background: rgba(255, 107, 53, 0.3); }
.layout-fixture--5 { top: 40%; right: 10%; width: 35%; height: 12%; background: var(--coral-dim); border-color: rgba(255, 107, 53, 0.25); }
.layout-fixture--5:hover { background: rgba(255, 107, 53, 0.3); }
.layout-fixture--6 { top: 65%; left: 20%; width: 60%; height: 10%; background: var(--amber-dim); border-color: rgba(255, 215, 0, 0.25); }
.layout-fixture--6:hover { background: rgba(255, 215, 0, 0.3); }
.layout-counter {
  position: absolute;
  bottom: 12%;
  right: 8%;
  width: 18%;
  height: 14%;
  border-radius: 50%;
  border: 1px dashed var(--text-tertiary);
}
.layout-label {
  position: absolute;
  font-size: 0.6rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.layout-label--1 { top: 30%; left: 18%; }
.layout-label--2 { top: 55%; left: 38%; }
.layout-label--3 { top: 78%; left: 38%; }

/* Phone Mockup */
.showcase__phone {
  display: flex;
  justify-content: center;
}
.phone-frame {
  position: relative;
  width: 260px;
  background: #111118;
  border-radius: 32px;
  border: 3px solid #2a2a3a;
  padding: 8px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
}
.phone-notch {
  width: 100px;
  height: 24px;
  background: #111118;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.phone-screen {
  background: var(--bg);
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 9/18;
}
.phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 40px 16px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}
.phone-scan-area {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  min-height: 180px;
}
.phone-scan-crosshair {
  width: 100px;
  height: 80px;
  border: 2px solid var(--cyan);
  border-radius: 8px;
  position: relative;
  animation: scanPulse 2s ease infinite;
  box-shadow: 0 0 20px var(--cyan-dim);
}
@keyframes scanPulse {
  0%, 100% { box-shadow: 0 0 20px var(--cyan-dim); }
  50% { box-shadow: 0 0 40px var(--cyan-glow); }
}
.phone-scan-label {
  margin-top: 16px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.phone-scan-label small {
  font-weight: 400;
  color: var(--text-tertiary);
  font-size: 0.65rem;
}
.phone-overlay {
  display: flex;
  justify-content: space-around;
  padding: 16px;
  background: rgba(0, 212, 255, 0.05);
  border-top: 1px solid rgba(0, 212, 255, 0.15);
}
.phone-overlay__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.phone-overlay__qty {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--cyan);
}
.phone-overlay__text {
  font-size: 0.6rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── Intelligence ─── */
.intelligence {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  overflow: hidden;
}
.intelligence__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.neural-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, var(--cyan-dim) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, var(--coral-dim) 0%, transparent 50%);
  opacity: 0.3;
}
.intelligence__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.intel-card {
  position: relative;
  padding: 32px;
  background: rgba(6, 6, 11, 0.6);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.intel-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.intel-card__glow {
  position: absolute;
  top: -50px; right: -50px;
  width: 120px; height: 120px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  transition: opacity 0.4s;
}
.intel-card:hover .intel-card__glow { opacity: 1; }
.intel-card__glow--cyan { background: var(--cyan); }
.intel-card__glow--coral { background: var(--coral); }
.intel-card__glow--amber { background: var(--amber); }
.intel-card__number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.intel-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.intel-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── Metrics ─── */
.metrics {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: linear-gradient(180deg, transparent, var(--bg-elevated) 30%, var(--bg-elevated) 70%, transparent);
}
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.metric {
  padding: 40px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  transition: all 0.4s var(--ease);
}
.metric:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 40px var(--cyan-dim);
  transform: translateY(-4px);
}
.metric__value {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  letter-spacing: -0.04em;
}
.metric__suffix {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--coral);
}
.metric__label {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ─── Architecture ─── */
.arch {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}
.arch__stack {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.arch__layer {
  width: 100%;
  padding: 20px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}
.arch__layer-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.arch__layer-items { display: flex; flex-wrap: wrap; gap: 8px; }
.arch__chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.arch__chip--accent {
  background: var(--cyan-dim);
  border-color: rgba(0, 212, 255, 0.2);
  color: var(--cyan);
}
.arch__chip--service {
  background: var(--coral-dim);
  border-color: rgba(255, 107, 53, 0.2);
  color: var(--coral);
}
.arch__chip--ai {
  background: var(--amber-dim);
  border-color: rgba(255, 215, 0, 0.2);
  color: var(--amber);
}
.arch__connector {
  display: flex;
  justify-content: center;
  padding: 4px 0;
}

/* ─── CTA ─── */
.cta {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan-dim) 0%, transparent 70%);
  opacity: 0.5;
  filter: blur(60px);
  pointer-events: none;
}
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.cta__desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 32px;
}
.cta__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ─── CTA Form ─── */
.cta__form { max-width: 560px; margin: 0 auto; }
.cta__form-inline {
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.cta__input {
  flex: 1;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cta__input::placeholder { color: var(--text-tertiary); }
.cta__input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-dim);
}
.cta__form-inline .btn { white-space: nowrap; flex-shrink: 0; }
.cta__form-msg {
  text-align: center;
  margin-top: 14px;
  font-size: 0.9rem;
}
.cta__form-msg--success { color: var(--cyan); }
.cta__form-msg--error { color: var(--coral); }

@media (max-width: 600px) {
  .cta__form-inline { flex-direction: column; }
}

/* ─── Footer ─── */
.footer {
  position: relative;
  z-index: 1;
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__tagline {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-tertiary);
}
.footer__heading {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer__link {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color 0.3s;
}
.footer__link:hover { color: var(--text); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-tertiary);
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { color: var(--text-tertiary); transition: color 0.3s; }
.footer__legal a:hover { color: var(--text); }

/* ─── Reveal Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(var(--nav-height) + 32px);
  }
  .hero__visual { order: -1; }
  .hero__stat--tl { left: 8px; }
  .hero__stat--br { right: 8px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; gap: 40px; }
  .showcase--reverse { direction: ltr; }
  .intelligence__grid { grid-template-columns: repeat(2, 1fr); }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links, .nav__actions { display: none; }
  .nav__hamburger { display: flex; }
  .hero__title { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { justify-content: center; }
  .hero__proof-row { flex-wrap: wrap; gap: 16px; }
  .features__grid { grid-template-columns: 1fr; }
  .intelligence__grid { grid-template-columns: 1fr; }
  .metrics__grid { grid-template-columns: 1fr; }
  .metric { padding: 28px 20px; }
  .metric__value { font-size: 2.5rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-title { font-size: 1.8rem; }
  .feature-card { padding: 24px; }
  .showcase__number { font-size: 2.5rem; }
  .phone-frame { width: 220px; }
}
