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

:root {
  --navy: #1E3A5F;
  --navy-deep: #0F1F33;
  --teal: #0D9488;
  --teal-light: #14B8A6;
  --teal-glow: rgba(13, 148, 136, 0.15);
  --gold: #F59E0B;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --radius: 10px;
  --radius-lg: 16px;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.2; }

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
}

h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-label.light { color: var(--teal-light); }

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 640px;
  margin-bottom: 48px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 31, 51, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.15rem;
}

.nav-logo-img { width: 52px; height: 52px; border-radius: 6px; }
.nav-logo-text { font-weight: 700; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
}

.nav-cta:hover { background: var(--teal-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, #1a4a6e 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
}

.hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-light);
  margin-bottom: 24px;
}

.hero h1 { color: var(--white); margin-bottom: 24px; }

.hero-accent { color: var(--teal-light); }

.hero-sub {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== HERO VISUAL — ANIMATED BROWSER ===== */
.hero-visual {
  flex: 0 0 420px;
  position: relative;
  --build-cycle: 14s;
  isolation: isolate;
}

.hero-visual::before,
.hero-visual::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
}

.hero-visual::before {
  width: 360px;
  height: 240px;
  top: 22px;
  left: 38px;
  background: radial-gradient(circle at center, rgba(20, 184, 166, 0.28), rgba(20, 184, 166, 0));
  filter: blur(18px);
}

.hero-visual::after {
  width: 180px;
  height: 180px;
  bottom: 20px;
  right: -8px;
  background: radial-gradient(circle at center, rgba(13, 148, 136, 0.14), rgba(13, 148, 136, 0));
  filter: blur(24px);
}

.browser-frame {
  position: relative;
  background: linear-gradient(160deg, rgba(19, 37, 59, 0.92), rgba(13, 26, 44, 0.9));
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 30px 70px rgba(0,0,0,0.46),
    0 0 88px rgba(20, 184, 166, 0.18);
  transform: perspective(1200px) rotateY(-8deg) rotateX(5deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.browser-frame:hover {
  transform: perspective(1200px) rotateY(-4deg) rotateX(3deg) translateY(-2px);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.03));
  border-bottom: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.browser-controls {
  display: flex;
  gap: 6px;
}

.control-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.4);
}

.control-red { background: #ff5f57; }
.control-yellow { background: #ffbd2e; }
.control-green { background: #28c840; }

.browser-url {
  flex: 1;
  min-height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(8, 17, 30, 0.55);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: rgba(198, 233, 230, 0.8);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
}

.url-lock {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  border: 1.2px solid rgba(255,255,255,0.5);
  position: relative;
  flex: 0 0 auto;
}

.url-lock::before {
  content: '';
  position: absolute;
  left: 1px;
  bottom: 7px;
  width: 4px;
  height: 4px;
  border: 1.2px solid rgba(255,255,255,0.5);
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}

.url-typed {
  display: inline-flex;
  gap: 0.01em;
  letter-spacing: 0.03em;
}

.url-typed span {
  opacity: 0;
  color: rgba(211, 248, 243, 0.88);
  animation: typeChar var(--build-cycle) steps(1, end) infinite;
  animation-delay: calc(0.35s + (var(--i) * 0.085s));
}

.url-caret {
  width: 2px;
  height: 12px;
  border-radius: 1px;
  background: var(--teal-light);
  box-shadow: 0 0 8px rgba(20, 184, 166, 0.6);
  animation: caretPresence var(--build-cycle) linear infinite, caretBlink 0.92s steps(1, end) infinite;
}

.browser-body {
  padding: 14px;
  min-height: 304px;
  position: relative;
  background:
    linear-gradient(165deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01)),
    radial-gradient(circle at 8% 8%, rgba(20, 184, 166, 0.08), rgba(20, 184, 166, 0));
}

.build-grid {
  position: absolute;
  inset: 14px;
  border-radius: 10px;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.26) 0.7px, transparent 0.8px),
    linear-gradient(rgba(255,255,255,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 12px 12px, 56px 56px, 56px 56px;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  animation: gridPhase var(--build-cycle) linear infinite;
}

.site-stage {
  position: relative;
  z-index: 2;
  animation: stageReveal var(--build-cycle) linear infinite;
}

.site-nav-mock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(-20px);
  will-change: transform, opacity;
  animation: navBuild var(--build-cycle) cubic-bezier(0.24, 1, 0.32, 1) infinite;
}

.mock-logo {
  width: 38px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(20, 184, 166, 0.95), rgba(13, 148, 136, 0.42));
  box-shadow: 0 0 16px rgba(13, 148, 136, 0.28);
}

.mock-nav-links {
  display: flex;
  gap: 10px;
}

.mock-nav-links a {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,0.2);
  text-decoration: none;
  transition: background 0.2s ease;
  cursor: pointer;
}

.mock-nav-links a:hover {
  background: rgba(255,255,255,0.45);
}

.mock-nav-links a:nth-child(1) { width: 32px; }
.mock-nav-links a:nth-child(2) { width: 24px; }
.mock-nav-links a:nth-child(3) { width: 30px; }

.nav-accent-line {
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(20, 184, 166, 0), rgba(20, 184, 166, 0.95) 24%, rgba(20, 184, 166, 0.95) 76%, rgba(20, 184, 166, 0));
  transform-origin: center;
  transform: scaleX(0.3);
  opacity: 0;
  will-change: transform, opacity;
  animation: accentBuild var(--build-cycle) cubic-bezier(0.19, 1, 0.22, 1) infinite;
}

.site-hero-mock {
  margin: 22px 0 24px;
  padding-right: 52px;
  position: relative;
}

.mock-headline {
  width: 80%;
  height: 18px;
  border-radius: 8px;
  background: linear-gradient(95deg, rgba(255,255,255,0.92), rgba(255,255,255,0.28));
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  will-change: transform, opacity;
  animation: headlineDrop var(--build-cycle) cubic-bezier(0.2, 1, 0.32, 1) infinite;
}

.mock-subtext {
  margin-top: 12px;
  width: 62%;
  height: 8px;
  border-radius: 99px;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.12);
}

.mock-subtext::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(20, 184, 166, 0.2), rgba(20, 184, 166, 0.95), rgba(20, 184, 166, 0.2));
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  animation: subtextDraw var(--build-cycle) cubic-bezier(0.19, 1, 0.22, 1) infinite;
}

.mock-btn-row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(14px) scale(0.86);
  will-change: transform, opacity;
  animation: ctaPop var(--build-cycle) cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

.mock-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  height: 30px;
  padding: 0 14px;
  border-radius: 8px;
  overflow: hidden;
  transition: filter 0.2s ease;
}

.mock-btn:hover {
  filter: brightness(1.2);
}

.mock-btn-primary {
  border: 1px solid rgba(20, 184, 166, 0.9);
}

.mock-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 8px;
  animation: ctaFill var(--build-cycle) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.mock-btn-ghost {
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
}

.mock-btn-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}

.mock-btn span {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.95);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-dot-pattern {
  position: absolute;
  top: -6px;
  right: 0;
  width: 88px;
  height: 68px;
  background-image: radial-gradient(circle, rgba(20, 184, 166, 0.45) 1.1px, transparent 1.2px);
  background-size: 10px 10px;
  opacity: 0;
  transform: translateY(8px);
  animation: dotPatternReveal var(--build-cycle) cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.site-cards-mock {
  display: flex;
  gap: 10px;
}

.mock-card {
  display: block;
  text-decoration: none;
  flex: 1;
  border-radius: 10px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(40px);
  box-shadow: none;
  will-change: transform, opacity;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.mock-card:hover {
  border-color: rgba(20, 184, 166, 0.4);
  transform: translateY(-2px) !important;
}

.mock-card:nth-child(1) {
  animation: cardBuild1 var(--build-cycle) cubic-bezier(0.2, 1, 0.3, 1) infinite, cardPolish var(--build-cycle) linear infinite;
}

.mock-card:nth-child(2) {
  animation: cardBuild2 var(--build-cycle) cubic-bezier(0.2, 1, 0.3, 1) infinite, cardPolish var(--build-cycle) linear infinite;
}

.mock-card:nth-child(3) {
  animation: cardBuild3 var(--build-cycle) cubic-bezier(0.2, 1, 0.3, 1) infinite, cardPolish var(--build-cycle) linear infinite;
}

.mock-card-img {
  height: 54px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(20, 184, 166, 0.14), rgba(20, 184, 166, 0.02));
}

.mock-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(20, 184, 166, 0), rgba(20, 184, 166, 0.58), rgba(20, 184, 166, 0));
  transform: translateX(-125%);
  opacity: 0;
}

.mock-card:nth-child(1) .mock-card-img::after { animation: imageSweep1 var(--build-cycle) linear infinite; }
.mock-card:nth-child(2) .mock-card-img::after { animation: imageSweep2 var(--build-cycle) linear infinite; }
.mock-card:nth-child(3) .mock-card-img::after { animation: imageSweep3 var(--build-cycle) linear infinite; }

.mock-card-line {
  margin-top: 7px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255,255,255,0.2);
}

.mock-card-line:nth-child(2) { width: 78%; }
.mock-card-line:nth-child(3) { width: 56%; }

.code-float {
  position: absolute;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-size: 0.64rem;
  color: rgba(130, 255, 236, 0.9);
  background: linear-gradient(155deg, rgba(20, 184, 166, 0.14), rgba(20, 184, 166, 0.04));
  border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: 7px;
  padding: 5px 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  will-change: transform, opacity;
}

.code-float-1 {
  top: 32px;
  right: -88px;
  animation: snippetFloat1 var(--build-cycle) ease-in-out infinite;
}

.code-float-2 {
  bottom: 108px;
  left: -76px;
  animation: snippetFloat2 var(--build-cycle) ease-in-out infinite;
}

.code-float-3 {
  top: 176px;
  left: -92px;
  animation: snippetFloat3 var(--build-cycle) ease-in-out infinite;
}

.code-float-4 {
  right: -110px;
  bottom: 34px;
  animation: snippetFloat4 var(--build-cycle) ease-in-out infinite;
}

.palette-strip {
  position: absolute;
  right: 18px;
  bottom: -18px;
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(20, 184, 166, 0.32);
  background: rgba(15, 31, 51, 0.7);
  box-shadow: 0 10px 26px rgba(0,0,0,0.33);
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  animation: paletteReveal var(--build-cycle) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.palette-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  animation: palettePulse 2.4s ease-in-out infinite;
}

.palette-dot:nth-child(1) { background: var(--navy); }
.palette-dot:nth-child(2) { background: var(--navy-deep); animation-delay: 0.18s; }
.palette-dot:nth-child(3) { background: var(--teal); animation-delay: 0.36s; }
.palette-dot:nth-child(4) { background: var(--teal-light); animation-delay: 0.54s; }

.build-cursor {
  position: absolute;
  top: 52px;
  left: 36px;
  width: 18px;
  height: 24px;
  background: linear-gradient(155deg, rgba(237, 255, 252, 0.95), rgba(20, 184, 166, 0.95));
  clip-path: polygon(0 0, 0 100%, 32% 72%, 55% 100%, 66% 94%, 44% 64%, 100% 64%);
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(20, 184, 166, 0.65));
  will-change: transform, opacity;
  animation: cursorMove var(--build-cycle) cubic-bezier(0.45, 0.03, 0.3, 1) infinite;
}

.build-cursor::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.7);
  box-shadow: 0 0 10px rgba(20, 184, 166, 0.72);
}

@keyframes typeChar {
  0%, 1.5% { opacity: 0; }
  2%, 92% { opacity: 1; }
  94%, 100% { opacity: 0; }
}

@keyframes caretPresence {
  0%, 92% { opacity: 1; }
  94%, 100% { opacity: 0; }
}

@keyframes caretBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.22; }
}

@keyframes gridPhase {
  0%, 4% { opacity: 0; }
  9% { opacity: 0.03; }
  16% { opacity: 0.05; }
  82% { opacity: 0.045; }
  92% { opacity: 0.05; }
  100% { opacity: 0; }
}

@keyframes stageReveal {
  0%, 92% { opacity: 1; }
  98%, 100% { opacity: 0; }
}

@keyframes navBuild {
  0%, 14% {
    opacity: 0;
    transform: translateY(-20px);
  }
  22%, 92% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@keyframes accentBuild {
  0%, 63% {
    opacity: 0;
    transform: scaleX(0.3);
  }
  70%, 92% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}

@keyframes headlineDrop {
  0%, 28% {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  36%, 92% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@keyframes subtextDraw {
  0%, 34% {
    opacity: 0;
    transform: scaleX(0);
  }
  43%, 92% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}

@keyframes ctaPop {
  0%, 38% {
    opacity: 0;
    transform: translateY(14px) scale(0.86);
  }
  46% {
    opacity: 1;
    transform: translateY(0) scale(1.06);
  }
  50%, 92% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(8px) scale(0.95);
  }
}

@keyframes ctaFill {
  0%, 42% { transform: scaleX(0); }
  52%, 100% { transform: scaleX(1); }
}

@keyframes cardBuild1 {
  0%, 43% {
    opacity: 0;
    transform: translateY(40px);
  }
  52%, 92% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes cardBuild2 {
  0%, 44.4% {
    opacity: 0;
    transform: translateY(40px);
  }
  53.4%, 92% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes cardBuild3 {
  0%, 45.8% {
    opacity: 0;
    transform: translateY(40px);
  }
  54.8%, 92% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes imageSweep1 {
  0%, 45% {
    opacity: 0;
    transform: translateX(-125%);
  }
  50% {
    opacity: 0.9;
    transform: translateX(-12%);
  }
  57%, 100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes imageSweep2 {
  0%, 46.4% {
    opacity: 0;
    transform: translateX(-125%);
  }
  51.4% {
    opacity: 0.9;
    transform: translateX(-12%);
  }
  58.4%, 100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes imageSweep3 {
  0%, 47.8% {
    opacity: 0;
    transform: translateX(-125%);
  }
  52.8% {
    opacity: 0.9;
    transform: translateX(-12%);
  }
  59.8%, 100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes cardPolish {
  0%, 65% {
    border-color: rgba(255,255,255,0.08);
    box-shadow: none;
  }
  73%, 92% {
    border-color: rgba(20, 184, 166, 0.45);
    box-shadow:
      0 0 0 1px rgba(20, 184, 166, 0.18),
      0 16px 24px rgba(13, 148, 136, 0.14);
  }
  100% {
    border-color: rgba(255,255,255,0.08);
    box-shadow: none;
  }
}

@keyframes dotPatternReveal {
  0%, 66% {
    opacity: 0;
    transform: translateY(8px);
  }
  74%, 92% {
    opacity: 0.55;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(2px);
  }
}

@keyframes paletteReveal {
  0%, 68% {
    opacity: 0;
    transform: translateY(10px) scale(0.92);
  }
  76%, 92% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(6px) scale(0.95);
  }
}

@keyframes palettePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.86;
  }
  50% {
    transform: scale(1.14);
    opacity: 1;
  }
}

@keyframes snippetFloat1 {
  0%, 18% {
    opacity: 0;
    transform: translate3d(10px, 10px, 0);
  }
  26%, 45% {
    opacity: 0.82;
    transform: translate3d(0, 0, 0);
  }
  56%, 100% {
    opacity: 0;
    transform: translate3d(16px, -4px, 0);
  }
}

@keyframes snippetFloat2 {
  0%, 30% {
    opacity: 0;
    transform: translate3d(-8px, 12px, 0);
  }
  40%, 62% {
    opacity: 0.8;
    transform: translate3d(0, 0, 0);
  }
  72%, 100% {
    opacity: 0;
    transform: translate3d(-18px, -6px, 0);
  }
}

@keyframes snippetFloat3 {
  0%, 45% {
    opacity: 0;
    transform: translate3d(-10px, 10px, 0);
  }
  54%, 80% {
    opacity: 0.78;
    transform: translate3d(0, 0, 0);
  }
  90%, 100% {
    opacity: 0;
    transform: translate3d(-14px, -8px, 0);
  }
}

@keyframes snippetFloat4 {
  0%, 58% {
    opacity: 0;
    transform: translate3d(10px, 10px, 0);
  }
  68%, 90% {
    opacity: 0.82;
    transform: translate3d(0, 0, 0);
  }
  100% {
    opacity: 0;
    transform: translate3d(14px, -8px, 0);
  }
}

@keyframes cursorMove {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.9);
  }
  14% {
    opacity: 0;
    transform: translate3d(12px, -8px, 0) scale(0.9);
  }
  18% {
    opacity: 0.95;
    transform: translate3d(78px, -2px, 0) scale(1);
  }
  28% {
    opacity: 0.95;
    transform: translate3d(322px, 8px, 0) scale(1);
  }
  37% {
    opacity: 0.92;
    transform: translate3d(92px, 82px, 0) scale(1);
  }
  45% {
    opacity: 0.92;
    transform: translate3d(212px, 154px, 0) scale(0.98);
  }
  54% {
    opacity: 0.9;
    transform: translate3d(72px, 216px, 0) scale(0.98);
  }
  59% {
    opacity: 0.88;
    transform: translate3d(196px, 216px, 0) scale(0.98);
  }
  64% {
    opacity: 0.86;
    transform: translate3d(322px, 216px, 0) scale(0.98);
  }
  72% {
    opacity: 0.86;
    transform: translate3d(328px, 66px, 0) scale(0.95);
  }
  84% {
    opacity: 0.8;
    transform: translate3d(338px, 50px, 0) scale(0.94);
  }
  92% {
    opacity: 0;
    transform: translate3d(344px, 40px, 0) scale(0.88);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.85);
  }
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
}

.service-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.08);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--teal);
  margin-bottom: 20px;
}

.service-icon svg { width: 100%; height: 100%; }

.service-card h3 { margin-bottom: 10px; color: var(--navy); }
.service-card p { font-size: 0.92rem; color: var(--gray-600); }

/* ===== SPLIT SECTIONS ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split.reverse .split-text { order: 2; }
.split.reverse .split-visual { order: 1; }

.split-text h2 { margin-bottom: 20px; }
.split-text p { font-size: 0.95rem; color: var(--gray-600); margin-bottom: 16px; }

.check-list {
  list-style: none;
  margin: 24px 0 32px;
}

.check-list li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 0.92rem;
  color: var(--gray-700);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5L6.5 10.5L4 8'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ===== WEB DESIGN ===== */
.web-design {
  padding: 100px 0;
  background: var(--gray-50);
}

/* Phone mockup */
.phone-mockup {
  --phone-cycle: 28s;
  width: min(280px, 100%);
  aspect-ratio: 280 / 530;
  margin: 0 auto;
  padding: 11px;
  border-radius: 34px;
  background: linear-gradient(172deg, #1B385B 0%, var(--navy-deep) 72%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 30px 54px rgba(15,31,51,0.24),
    0 12px 24px rgba(15,31,51,0.18);
  transform: translateY(0);
  will-change: transform;
  animation: phoneFloat 5.4s ease-in-out infinite;
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(30,58,95,0.12);
  background: linear-gradient(180deg, var(--white), #F7FAFC);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  width: 108px;
  height: 22px;
  background: var(--navy-deep);
  border-radius: 0 0 14px 14px;
  transform: translateX(-50%);
  box-shadow: 0 2px 5px rgba(15,31,51,0.35);
  z-index: 5;
}

.phone-statusbar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  margin-top: 4px;
  min-height: 20px;
  color: rgba(15,31,51,0.85);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-wifi {
  position: relative;
  width: 13px;
  height: 9px;
  overflow: hidden;
}

.status-wifi::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 100%,
    transparent 0 2px,
    rgba(15,31,51,0.82) 2px 2.8px,
    transparent 2.8px 4.2px,
    rgba(15,31,51,0.82) 4.2px 5px,
    transparent 5px 6.4px,
    rgba(15,31,51,0.82) 6.4px 7.2px,
    transparent 7.2px
  );
}

.status-wifi::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: rgba(15,31,51,0.82);
}

.status-battery {
  position: relative;
  width: 18px;
  height: 9px;
  border-radius: 2px;
  border: 1.4px solid rgba(15,31,51,0.8);
  padding: 1px;
  display: flex;
  align-items: center;
}

.status-battery::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 3px;
  border-radius: 0 1px 1px 0;
  background: rgba(15,31,51,0.8);
}

.status-battery-fill {
  display: block;
  width: 11px;
  height: 100%;
  border-radius: 1px;
  background: rgba(15,31,51,0.8);
}

.phone-scene {
  position: relative;
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(30,58,95,0.09);
  background: linear-gradient(180deg, #FBFDFF 0%, #F4F7FA 100%);
}

.phone-search-stage {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: grid;
  gap: 8px;
  z-index: 3;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  isolation: isolate;
  animation: searchStageFlow var(--phone-cycle) cubic-bezier(0.24, 1, 0.32, 1) infinite;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(30,58,95,0.14);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(30,58,95,0.1);
  padding: 0 10px;
  opacity: 0;
  transform: translateY(8px);
  animation: searchBarFlow var(--phone-cycle) cubic-bezier(0.24, 1, 0.32, 1) infinite;
}

.search-icon {
  position: relative;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.4px solid rgba(75,85,99,0.72);
  flex: 0 0 auto;
}

.search-icon::after {
  content: '';
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 5px;
  height: 1.5px;
  border-radius: 999px;
  background: rgba(75,85,99,0.72);
  transform: rotate(42deg);
  transform-origin: left center;
}

.search-typed {
  display: inline-flex;
  gap: 0.01em;
  white-space: nowrap;
  color: var(--gray-600);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.search-typed span {
  opacity: 0;
  transform: translateY(2px);
  animation: searchTypeChar var(--phone-cycle) steps(1, end) infinite;
  animation-delay: calc((var(--phone-cycle) * 0.032) + (var(--i) * (var(--phone-cycle) * 0.0028)));
}

.search-caret {
  width: 2px;
  height: 11px;
  border-radius: 999px;
  margin-left: 2px;
  background: var(--teal);
  box-shadow: 0 0 8px rgba(13,148,136,0.42);
  opacity: 0;
  animation: searchCaretFlow var(--phone-cycle) steps(1, end) infinite;
}

.search-results-panel {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid rgba(30,58,95,0.12);
  box-shadow: 0 10px 20px rgba(30,58,95,0.1);
  padding: 7px 8px 8px;
  display: grid;
  gap: 4px;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  animation: searchResultsFlow var(--phone-cycle) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.search-result-item {
  position: relative;
  border-radius: 7px;
  border: 1px solid transparent;
  padding: 4px 5px;
  display: grid;
  gap: 1px;
  opacity: 0;
  transform: translateY(8px);
  animation: searchResultItemFlow var(--phone-cycle) cubic-bezier(0.22, 1, 0.36, 1) infinite;
  animation-delay: calc(var(--result-order, 0) * 0.2s);
}

.search-result-item.owned-site {
  border-color: rgba(13,148,136,0.42);
  background: linear-gradient(135deg, rgba(13,148,136,0.1), rgba(13,148,136,0.03));
}

.search-result-item.owned-site::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(20,184,166,0.48);
  box-shadow: 0 0 0 0 rgba(20,184,166,0);
  opacity: 0;
  animation: ownedResultFocus var(--phone-cycle) cubic-bezier(0.24, 1, 0.32, 1) infinite;
}

.result-title {
  color: #1a5fcc;
  font-size: 0.52rem;
  font-weight: 600;
  line-height: 1.25;
}

.result-url {
  color: #4c7b5f;
  font-size: 0.45rem;
  line-height: 1.2;
  font-weight: 500;
}

.search-result-item.owned-site .result-title {
  color: #144ca6;
  font-weight: 700;
}

.search-result-item.owned-site .result-url {
  color: #188038;
  font-weight: 700;
}

.result-desc {
  color: var(--gray-600);
  font-size: 0.46rem;
  line-height: 1.2;
}

.search-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,0.98), rgba(13,148,136,0.95));
  clip-path: polygon(0 0, 0 100%, 38% 72%, 56% 100%, 68% 94%, 49% 65%, 100% 65%);
  filter: drop-shadow(0 1px 5px rgba(15,31,51,0.36));
  opacity: 0;
  transform: translate3d(190px, 16px, 0) scale(0.95);
  animation: searchCursorFlow var(--phone-cycle) cubic-bezier(0.35, 0.08, 0.28, 1) infinite;
}

.search-cursor::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  left: 6px;
  top: 8px;
  border-radius: 50%;
  border: 1px solid rgba(13,148,136,0.38);
  opacity: 0;
  transform: scale(0.35);
  animation: searchCursorClick var(--phone-cycle) ease-out infinite;
}

.phone-site-stage {
  position: absolute;
  inset: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(18px);
  animation: siteStageFlow var(--phone-cycle) cubic-bezier(0.24, 1, 0.32, 1) infinite;
}

.site-hero {
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-light), var(--navy));
  padding: 10px 12px 12px;
  color: var(--white);
  box-shadow: 0 14px 24px rgba(30,58,95,0.2);
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  animation: siteHeroFlow var(--phone-cycle) cubic-bezier(0.24, 1, 0.32, 1) infinite;
}

.site-hero-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
  margin: 0 auto 4px;
  display: block;
  opacity: 0;
  transform: scale(0.8);
  animation: siteLogoFlow var(--phone-cycle) cubic-bezier(0.24, 1, 0.32, 1) infinite;
}

.site-hero-pill {
  display: inline-block;
  font-size: 0.44rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(15,31,51,0.26);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 2px 7px;
  margin-bottom: 8px;
}

.site-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}

.site-hero-tag {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.86);
  line-height: 1.4;
}

.site-main {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 52px;
}

.site-info-card {
  display: flex;
  gap: 9px;
  align-items: stretch;
  border-radius: 10px;
  border: 1px solid rgba(30,58,95,0.12);
  background: var(--white);
  box-shadow: 0 10px 18px rgba(30,58,95,0.08);
  padding: 8px;
  opacity: 0;
  transform: translateY(12px);
  animation: cardFlow var(--phone-cycle) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.info-copy {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 3px;
}

.info-title {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.info-line {
  font-size: 0.5rem;
  color: var(--gray-600);
  line-height: 1.3;
}

.mini-map {
  width: 64px;
  border-radius: 8px;
  border: 1px solid rgba(13,148,136,0.28);
  background:
    linear-gradient(45deg, rgba(13,148,136,0.08) 25%, transparent 25% 50%, rgba(13,148,136,0.08) 50% 75%, transparent 75%),
    linear-gradient(135deg, #E5F5EC, #D8F0E4);
  background-size: 10px 10px, auto;
  position: relative;
  overflow: hidden;
  flex: 0 0 64px;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 16px;
  border-radius: 50% 50% 48% 48% / 58% 58% 42% 42%;
  background: var(--teal);
  box-shadow: 0 4px 10px rgba(13,148,136,0.38);
  transform: translate(-50%, -24px) scale(0.72);
  opacity: 0;
  animation: mapPinFlow var(--phone-cycle) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.map-pin::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.9);
}

.review-card {
  border-radius: 10px;
  border: 1px solid rgba(30,58,95,0.12);
  background: var(--white);
  box-shadow: 0 8px 14px rgba(30,58,95,0.07);
  padding: 7px 8px;
  opacity: 0;
  transform: translateY(14px);
}

.review-one { animation: reviewFlow var(--phone-cycle) cubic-bezier(0.22, 1, 0.36, 1) calc(var(--phone-cycle) * 0.35) infinite; }
.review-two { animation: reviewFlow var(--phone-cycle) cubic-bezier(0.22, 1, 0.36, 1) calc(var(--phone-cycle) * 0.375) infinite; }
.review-three { animation: reviewFlow var(--phone-cycle) cubic-bezier(0.22, 1, 0.36, 1) calc(var(--phone-cycle) * 0.40) infinite; }

.review-head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.48rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--teal));
}

.review-name {
  font-size: 0.52rem;
  font-weight: 600;
  color: var(--gray-700);
}

.review-stars {
  margin: 4px 0 5px;
  display: flex;
  gap: 3px;
}

.star {
  width: 10px;
  height: 10px;
  position: relative;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 79% 92%, 50% 70%, 21% 92%, 32% 56%, 2% 35%, 39% 35%);
  background: var(--gold);
  opacity: 0;
  transform: scale(0.68);
  animation: starAppear var(--phone-cycle) cubic-bezier(0.22, 1, 0.36, 1) var(--fill-delay) infinite;
}

.star::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  background: #D8DEE8;
  transform: scaleX(1);
  transform-origin: left center;
  animation: starFill var(--phone-cycle) cubic-bezier(0.22, 1, 0.36, 1) calc(var(--fill-delay) + (var(--phone-cycle) * 0.0033)) infinite;
}

.star.empty {
  opacity: 1;
  transform: scale(1);
  background: #D8DEE8;
  animation: none;
}

.star.empty::before { display: none; }

.review-lines {
  display: grid;
  gap: 4px;
}

.review-lines span {
  height: 3px;
  border-radius: 999px;
  background: var(--gray-200);
}

.review-lines .short { width: 70%; }

.site-cta-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 6px 6px;
  background: linear-gradient(180deg, rgba(247,250,252,0) 0%, #F7FAFC 38%, #F7FAFC 100%);
  opacity: 0;
  transform: translateY(24px);
  animation: ctaBarFlow var(--phone-cycle) cubic-bezier(0.24, 1, 0.32, 1) infinite;
}

.cta-btn {
  border-radius: 8px;
  text-align: center;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 8px 0;
  border: 1px solid rgba(30,58,95,0.16);
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
}

.cta-btn.call {
  background: var(--teal);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 8px 18px rgba(13,148,136,0.34);
  transform: translateY(8px) scale(0.95);
  animation: callButtonFlow var(--phone-cycle) cubic-bezier(0.24, 1, 0.32, 1) infinite;
}

.cta-btn.directions {
  position: relative;
  background: #EEF2F7;
  border-color: rgba(30,58,95,0.08);
  transform: translateY(8px) scale(0.95);
  animation: directionsButtonFlow var(--phone-cycle) cubic-bezier(0.24, 1, 0.32, 1) infinite;
}

.cta-btn.directions::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255,255,255,0.3);
  opacity: 0;
  animation: directionsButtonPress var(--phone-cycle) ease-out infinite;
}

.site-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,0.98), rgba(13,148,136,0.95));
  clip-path: polygon(0 0, 0 100%, 38% 72%, 56% 100%, 68% 94%, 49% 65%, 100% 65%);
  filter: drop-shadow(0 1px 5px rgba(15,31,51,0.36));
  opacity: 0;
  transform: translate3d(130px, 200px, 0) scale(0.95);
  z-index: 10;
  animation: siteCursorFlow var(--phone-cycle) cubic-bezier(0.35, 0.08, 0.28, 1) infinite;
}

.site-cursor::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  left: 6px;
  top: 8px;
  border-radius: 50%;
  border: 1px solid rgba(13,148,136,0.38);
  opacity: 0;
  transform: scale(0.35);
  animation: siteCursorClick var(--phone-cycle) ease-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes searchStageFlow {
  0%, 1.5% {
    opacity: 0;
    transform: translateY(12px);
  }
  4%, 24% {
    opacity: 1;
    transform: translateY(0);
  }
  27%, 100% {
    opacity: 0;
    transform: translateY(-12px);
  }
}

@keyframes searchBarFlow {
  0%, 2% {
    opacity: 0;
    transform: translateY(8px);
  }
  4.8%, 24% {
    opacity: 1;
    transform: translateY(0);
  }
  27%, 100% {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes searchTypeChar {
  0%, 0.4% {
    opacity: 0;
    transform: translateY(2px);
  }
  0.8%, 24% {
    opacity: 1;
    transform: translateY(0);
  }
  27%, 100% {
    opacity: 0;
    transform: translateY(-1px);
  }
}

@keyframes searchCaretFlow {
  0%, 3.2% { opacity: 0; }
  3.4%, 4.8% { opacity: 1; }
  4.9%, 6.3% { opacity: 0.2; }
  6.4%, 7.8% { opacity: 1; }
  7.9%, 9.3% { opacity: 0.2; }
  9.4%, 10.8% { opacity: 1; }
  10.9%, 12.3% { opacity: 0.2; }
  12.4%, 13.8% { opacity: 1; }
  13.9%, 100% { opacity: 0; }
}

@keyframes searchResultsFlow {
  0%, 9% {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  11.5%, 24% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  27%, 100% {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
}

@keyframes searchResultItemFlow {
  0%, 10.5% {
    opacity: 0;
    transform: translateY(8px);
  }
  12.6%, 24% {
    opacity: 1;
    transform: translateY(0);
  }
  27%, 100% {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes ownedResultFocus {
  0%, 19% {
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(20,184,166,0);
  }
  20.5% {
    opacity: 0.55;
    box-shadow: 0 0 0 2px rgba(20,184,166,0.18);
  }
  22% {
    opacity: 0.85;
    box-shadow:
      0 0 0 2px rgba(20,184,166,0.26),
      0 8px 16px rgba(13,148,136,0.26),
      inset 0 1px 0 rgba(255,255,255,0.55);
  }
  23.5% {
    opacity: 0.5;
    box-shadow: 0 0 0 1px rgba(20,184,166,0.18);
  }
  26%, 100% {
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(20,184,166,0);
  }
}

@keyframes searchCursorFlow {
  0%, 16% {
    opacity: 0;
    transform: translate3d(190px, 16px, 0) scale(0.95);
  }
  17.5% {
    opacity: 0.96;
    transform: translate3d(178px, 20px, 0) scale(1);
  }
  20.5% {
    opacity: 0.96;
    transform: translate3d(106px, 142px, 0) scale(1);
  }
  21.5% {
    opacity: 0.96;
    transform: translate3d(109px, 145px, 0) scale(0.96);
  }
  22% {
    opacity: 0.96;
    transform: translate3d(109px, 145px, 0) scale(0.9);
  }
  23%, 24.5% {
    opacity: 0.96;
    transform: translate3d(109px, 145px, 0) scale(0.9);
  }
  25%, 100% {
    opacity: 0;
    transform: translate3d(109px, 145px, 0) scale(0.9);
  }
}

@keyframes searchCursorClick {
  0%, 21.8% {
    opacity: 0;
    transform: scale(0.35);
  }
  22.2% {
    opacity: 0.46;
    transform: scale(0.85);
  }
  23% {
    opacity: 0;
    transform: scale(1.4);
  }
  23.2%, 100% {
    opacity: 0;
    transform: scale(0.35);
  }
}

/* Site cursor: moves to Directions button after CTA bar appears */
@keyframes siteCursorFlow {
  0%, 62% {
    opacity: 0;
    transform: translate3d(176px, 188px, 0) scale(0.95);
  }
  64% {
    opacity: 0.96;
    transform: translate3d(178px, 196px, 0) scale(1);
  }
  72% {
    opacity: 0.96;
    transform: translate3d(192px, 401px, 0) scale(1);
  }
  74% {
    opacity: 0.96;
    transform: translate3d(195px, 404px, 0) scale(0.96);
  }
  74.5% {
    opacity: 0.96;
    transform: translate3d(195px, 404px, 0) scale(0.9);
  }
  76%, 85% {
    opacity: 0.96;
    transform: translate3d(195px, 404px, 0) scale(0.9);
  }
  88%, 100% {
    opacity: 0;
    transform: translate3d(195px, 404px, 0) scale(0.9);
  }
}

@keyframes siteCursorClick {
  0%, 74.2% {
    opacity: 0;
    transform: scale(0.35);
  }
  74.8% {
    opacity: 0.46;
    transform: scale(0.85);
  }
  75.6% {
    opacity: 0;
    transform: scale(1.4);
  }
  76%, 100% {
    opacity: 0;
    transform: scale(0.35);
  }
}

@keyframes siteStageFlow {
  0%, 24% {
    opacity: 0;
    transform: translateY(18px);
  }
  27%, 89% {
    opacity: 1;
    transform: translateY(0);
  }
  92%, 100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes siteHeroFlow {
  0%, 25% {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  28%, 89% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  92%, 100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
}

@keyframes siteLogoFlow {
  0%, 26% {
    opacity: 0;
    transform: scale(0.8);
  }
  29%, 89% {
    opacity: 1;
    transform: scale(1);
  }
  92%, 100% {
    opacity: 0;
    transform: scale(0.8);
  }
}

@keyframes cardFlow {
  0%, 28% {
    opacity: 0;
    transform: translateY(12px);
  }
  32%, 89% {
    opacity: 1;
    transform: translateY(0);
  }
  92%, 100% {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes mapPinFlow {
  0%, 30% {
    opacity: 0;
    transform: translate(-50%, -24px) scale(0.72);
  }
  34% {
    opacity: 1;
    transform: translate(-50%, 2px) scale(1);
  }
  35.3% {
    opacity: 1;
    transform: translate(-50%, -4px) scale(0.95);
  }
  37%, 89% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
  92%, 100% {
    opacity: 0;
    transform: translate(-50%, 8px) scale(0.9);
  }
}

@keyframes reviewFlow {
  0%, 0.5% {
    opacity: 0;
    transform: translateY(14px);
  }
  2.5%, 54% {
    opacity: 1;
    transform: translateY(0);
  }
  57%, 100% {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes starAppear {
  0%, 0.8% {
    opacity: 0;
    transform: scale(0.68);
  }
  2.4%, 48% {
    opacity: 1;
    transform: scale(1);
  }
  51%, 100% {
    opacity: 0;
    transform: scale(0.68);
  }
}

@keyframes starFill {
  0%, 1% { transform: scaleX(1); }
  2.8%, 48% { transform: scaleX(0); }
  51%, 100% { transform: scaleX(1); }
}

@keyframes ctaBarFlow {
  0%, 49% {
    opacity: 0;
    transform: translateY(24px);
  }
  52%, 89% {
    opacity: 1;
    transform: translateY(0);
  }
  92%, 100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes callButtonFlow {
  0%, 51% { transform: translateY(8px) scale(0.95); }
  54% { transform: translateY(0) scale(1); }
  57% { transform: translateY(0) scale(1.03); }
  60% { transform: translateY(0) scale(1); }
  63% { transform: translateY(0) scale(1.03); }
  66%, 89% { transform: translateY(0) scale(1); }
  92% { transform: translateY(3px) scale(0.96); }
  100% { transform: translateY(8px) scale(0.95); }
}

@keyframes directionsButtonFlow {
  0%, 51% { transform: translateY(8px) scale(0.95); }
  54% { transform: translateY(0) scale(1); }
  57% { transform: translateY(0) scale(1.03); }
  60% { transform: translateY(0) scale(1); }
  63% { transform: translateY(0) scale(1.03); }
  66%, 73% { transform: translateY(0) scale(1); }
  74.5% { transform: translateY(1px) scale(0.95); }
  76% { transform: translateY(0) scale(1.02); }
  78%, 89% { transform: translateY(0) scale(1); }
  92% { transform: translateY(3px) scale(0.96); }
  100% { transform: translateY(8px) scale(0.95); }
}

@keyframes directionsButtonPress {
  0%, 73.5% {
    opacity: 0;
  }
  74.5% {
    opacity: 1;
  }
  77% {
    opacity: 0;
  }
  77.5%, 100% {
    opacity: 0;
  }
}

/* ===== SOFTWARE ===== */
.software {
  padding: 100px 0;
  background: var(--white);
}

.product-highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin: 24px 0;
}

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.product-highlight h4 { margin-bottom: 4px; color: var(--navy); }
.product-highlight p { font-size: 0.88rem; color: var(--gray-600); margin: 0; }

.capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.cap-item {
  padding: 14px 16px;
  border-left: 3px solid var(--teal);
  background: var(--gray-50);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.cap-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.cap-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* Software pipeline animation */
.pipeline-viewport {
  --pipeline-cycle: 24s;
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background:
    radial-gradient(120% 85% at 50% 6%, rgba(20, 184, 166, 0.22) 0%, rgba(20, 184, 166, 0) 55%),
    #0f1019;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.pipeline-viewport::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 100% 24px, 24px 100%;
  opacity: 0.35;
  pointer-events: none;
}

.pipeline-track {
  position: absolute;
  inset: 0;
  height: 1580px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 0;
  animation: pipelinePan var(--pipeline-cycle) ease-in-out infinite;
  will-change: transform;
}

.pipeline-stage {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Stage 1: Terminal */
.term-window {
  width: min(370px, 92%);
  border-radius: 14px;
  overflow: hidden;
  background: #1a1b26;
  border: 1px solid rgba(125, 207, 255, 0.22);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}

.term-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #12131d;
  border-bottom: 1px solid rgba(125, 207, 255, 0.16);
}

.term-titlebar .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.term-titlebar .dot.red { background: #ff5f57; }
.term-titlebar .dot.yellow { background: #febc2e; }
.term-titlebar .dot.green { background: #28c840; }

.term-title {
  margin-left: 8px;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  font-family: 'SF Mono', 'Fira Code', monospace;
  text-transform: lowercase;
}

.term-body {
  padding: 16px 18px 20px;
  font-size: 0.82rem;
  line-height: 1.65;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
}

.term-line {
  opacity: 0;
  transform: translateY(4px);
  animation: termLineReveal var(--pipeline-cycle) linear infinite;
}

.tl-1 { animation-delay: 0s; }
.tl-2 { animation-delay: 0.38s; }
.tl-3 { animation-delay: 0.76s; }
.tl-4 { animation-delay: 1.14s; }
.tl-5 { animation-delay: 1.52s; }
.tl-6 { animation-delay: 1.9s; }
.tl-7 { animation-delay: 2.28s; }

.term-prompt { color: #7dcfff; }
.term-cmd { color: #f8fafc; }
.term-output { color: #9ece6a; }

.term-success {
  color: #e0af68;
  animation: termSuccessGlow var(--pipeline-cycle) linear infinite;
}

/* Stage 2: Wire */
.stage-wire {
  --wire-overlap-top: 92px;
  --wire-overlap-bottom: 70px;
  --wire-travel: calc(100% + var(--wire-overlap-top) + var(--wire-overlap-bottom) - 1px);
  overflow: visible;
  z-index: 1;
}

.wire-line {
  position: absolute;
  left: 50%;
  top: calc(-1 * var(--wire-overlap-top));
  bottom: calc(-1 * var(--wire-overlap-bottom));
  width: 2px;
  border-radius: 999px;
  transform: translateX(-50%) scaleY(0.05);
  transform-origin: bottom center;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.98) 0%, rgba(20, 184, 166, 0.9) 100%);
  box-shadow: 0 0 10px rgba(20, 184, 166, 0.58);
  animation: wireEnergize var(--pipeline-cycle) linear infinite;
}

.signal-dot {
  position: absolute;
  left: 50%;
  top: calc(100% + var(--wire-overlap-bottom) - 7px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translate(-50%, 0) scale(0.5);
  background: #2dd4bf;
  box-shadow: 0 0 0 6px rgba(45, 212, 191, 0.24), 0 0 18px rgba(45, 212, 191, 0.76);
  animation:
    signalTravel var(--pipeline-cycle) linear infinite,
    signalPulse 1.1s ease-in-out infinite;
}

/* Stage 3: Servers */
.server-rack {
  width: min(380px, 94%);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
}

.server-cylinder {
  width: 94px;
  height: 198px;
  position: relative;
}

.cyl-top {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(20, 184, 166, 0.78);
  background: radial-gradient(circle at 50% 30%, #2f547f, #1e3a5f 70%);
  z-index: 2;
}

.cyl-body {
  position: absolute;
  top: 32px;
  bottom: 14px;
  left: 0;
  right: 0;
  border-left: 2px solid rgba(20, 184, 166, 0.62);
  border-right: 2px solid rgba(20, 184, 166, 0.62);
  border-bottom: 2px solid rgba(20, 184, 166, 0.48);
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #1f3e65 0%, #12253e 100%);
  overflow: hidden;
}

.cyl-body::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  top: -62%;
  height: 62%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0), rgba(45, 212, 191, 0.34), rgba(45, 212, 191, 0));
  opacity: 0;
  animation: scanSweep var(--pipeline-cycle) linear infinite;
}

.cyl-light {
  position: absolute;
  bottom: 26px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #334155;
  animation: cylLight var(--pipeline-cycle) linear infinite;
}

.cyl-2 .cyl-light,
.cyl-2 .cyl-body::after {
  animation-delay: 0.45s;
}

.cyl-3 .cyl-light,
.cyl-3 .cyl-body::after {
  animation-delay: 0.9s;
}

.stage-servers,
.stage-terminal {
  z-index: 2;
}

/* Stage 4: Dashboard */
.stage-dashboard {
  min-height: 420px;
  align-items: center;
  z-index: 2;
}

.easel-board {
  width: 90%;
  max-width: 420px;
  padding: 16px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #ffffff;
  box-shadow: 0 22px 46px rgba(2, 6, 23, 0.18);
  animation: boardLive var(--pipeline-cycle) linear infinite;
}

.dash-header {
  height: 34px;
  margin-bottom: 12px;
  padding: 0 12px;
  border-radius: 10px;
  background: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #14b8a6;
}

.dash-title-bar {
  width: 88px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
}

.dash-charts {
  padding: 0;
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px;
}

.dash-bars {
  height: 108px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.bar {
  flex: 1;
  height: var(--bar-height);
  transform-origin: bottom;
  transform: scaleY(0.05);
  border-radius: 8px 8px 2px 2px;
  animation: barGrow var(--pipeline-cycle) ease-out infinite;
}

.bar-1 { --bar-height: 56%; background: #14b8a6; animation-delay: 0s; }
.bar-2 { --bar-height: 74%; background: #7c3aed; animation-delay: 0.22s; }
.bar-3 { --bar-height: 48%; background: #f59e0b; animation-delay: 0.44s; }
.bar-4 { --bar-height: 82%; background: #3b82f6; animation-delay: 0.66s; }
.bar-5 { --bar-height: 64%; background: #ef4444; animation-delay: 0.88s; }

.dash-pie {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pie-chart {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  position: relative;
  background: conic-gradient(
    #14b8a6 0deg 108deg,
    #7c3aed 108deg 198deg,
    #f59e0b 198deg 270deg,
    #3b82f6 270deg 324deg,
    #ef4444 324deg 360deg
  );
  opacity: 0;
  transform: scale(0.65);
  animation: pieReveal var(--pipeline-cycle) ease-out infinite;
}

.pie-chart::after {
  content: '';
  position: absolute;
  inset: 25%;
  border-radius: 50%;
  background: #ffffff;
}

.dash-metrics {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.dash-line-chart {
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 8px;
}

.line-svg {
  width: 100%;
  height: 40px;
  display: block;
}

.chart-line {
  fill: none;
  stroke: #14b8a6;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: lineChartDraw var(--pipeline-cycle) ease-out infinite;
}

.metric {
  flex: 1;
  background: #f0fdfa;
  border-radius: 6px;
  padding: 6px 8px;
  border-left: 3px solid #14b8a6;
  opacity: 0;
  transform: translateY(6px);
  animation: metricReveal var(--pipeline-cycle) ease-out infinite;
}

.metric-2 { animation-delay: calc(var(--pipeline-cycle) * 0.01); }

.metric-value {
  display: block;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 700;
}

.metric-label {
  font-size: 0.55rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@keyframes pipelinePan {
  0%, 8% { transform: translateY(-1120px); }
  15%, 18% { transform: translateY(-760px); }
  30%, 35% { transform: translateY(-400px); }
  50%, 55% { transform: translateY(0); }
  70%, 80% { transform: translateY(0); }
  88%, 92% { transform: translateY(0); }
  95%, 100% { transform: translateY(-1120px); }
}

@keyframes termLineReveal {
  0%, 1.5% {
    opacity: 0;
    transform: translateY(4px);
  }
  4%, 86% {
    opacity: 1;
    transform: translateY(0);
  }
  90%, 100% {
    opacity: 0;
    transform: translateY(4px);
  }
}

@keyframes termSuccessGlow {
  0%, 8% {
    text-shadow: 0 0 0 rgba(224, 175, 104, 0);
  }
  10%, 84% {
    text-shadow: 0 0 12px rgba(224, 175, 104, 0.62);
  }
  90%, 100% {
    text-shadow: 0 0 0 rgba(224, 175, 104, 0);
  }
}

@keyframes wireEnergize {
  0%, 9% {
    opacity: 0.08;
    transform: translateX(-50%) scaleY(0.06);
  }
  10%, 22% {
    opacity: 1;
    transform: translateX(-50%) scaleY(1);
  }
  23%, 86% {
    opacity: 0.62;
    transform: translateX(-50%) scaleY(1);
  }
  90%, 100% {
    opacity: 0;
    transform: translateX(-50%) scaleY(0.06);
  }
}

@keyframes signalTravel {
  0%, 8% {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.55);
  }
  10% {
    opacity: 1;
    transform: translate(-50%, 0) scale(0.92);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, calc(-1 * var(--wire-travel))) scale(1);
  }
  22%, 100% {
    opacity: 0;
    transform: translate(-50%, calc(-1 * var(--wire-travel))) scale(0.45);
  }
}

@keyframes signalPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.2), 0 0 12px rgba(45, 212, 191, 0.55); }
  50% { box-shadow: 0 0 0 8px rgba(45, 212, 191, 0.15), 0 0 20px rgba(45, 212, 191, 0.88); }
}

@keyframes cylLight {
  0%, 24% {
    background: #334155;
    box-shadow: 0 0 0 rgba(45, 212, 191, 0);
  }
  26%, 86% {
    background: #2dd4bf;
    box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.25), 0 0 16px rgba(45, 212, 191, 0.75);
  }
  90%, 100% {
    background: #334155;
    box-shadow: 0 0 0 rgba(45, 212, 191, 0);
  }
}

@keyframes scanSweep {
  0%, 24% {
    opacity: 0;
    transform: translateY(-140%);
  }
  27%, 36% {
    opacity: 0.65;
    transform: translateY(175%);
  }
  37%, 100% {
    opacity: 0;
    transform: translateY(175%);
  }
}

@keyframes boardLive {
  0%, 48% {
    opacity: 0.9;
    transform: translateY(14px) scale(0.96);
  }
  52%, 86% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  90%, 100% {
    opacity: 0.88;
    transform: translateY(10px) scale(0.97);
  }
}

@keyframes barGrow {
  0%, 50% {
    transform: scaleY(0.05);
  }
  56%, 86% {
    transform: scaleY(1);
  }
  90%, 100% {
    transform: scaleY(0.05);
  }
}

@keyframes pieReveal {
  0%, 50% {
    opacity: 0;
    transform: scale(0.62) rotate(-24deg);
  }
  56%, 86% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  90%, 100% {
    opacity: 0;
    transform: scale(0.74) rotate(16deg);
  }
}

@keyframes lineChartDraw {
  0%, 56% { stroke-dashoffset: 300; }
  62%, 85% { stroke-dashoffset: 0; }
  90%, 100% { stroke-dashoffset: 300; }
}

@keyframes metricReveal {
  0%, 63% {
    opacity: 0;
    transform: translateY(6px);
  }
  67%, 85% {
    opacity: 1;
    transform: translateY(0);
  }
  90%, 100% {
    opacity: 0;
    transform: translateY(6px);
  }
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 0;
  background: var(--gray-50);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.step-card {
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all 0.25s ease;
}

.step-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.08);
  transform: translateY(-4px);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-card h3 { margin-bottom: 10px; color: var(--navy); }
.step-card p { font-size: 0.88rem; color: var(--gray-600); }

.how-cta {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.how-cta p {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 24px;
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 48px 0 40px;
}

.team-card {
  padding: 36px 32px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-align: center;
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.team-card h3 { margin-bottom: 4px; color: var(--navy); }

.team-location {
  font-size: 0.82rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card p:last-child {
  font-size: 0.9rem;
  color: var(--gray-600);
  text-align: left;
}

.about-cta {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--gray-50);
}

.contact-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  color: var(--white);
}

.contact-box h2 { color: var(--white); margin-bottom: 16px; }
.contact-box p { color: rgba(255,255,255,0.65); margin-bottom: 24px; font-size: 1rem; }

.contact-email {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal-light);
  padding: 12px 32px;
  border: 2px solid var(--teal);
  border-radius: 8px;
  transition: all 0.2s;
}

.contact-email:hover {
  background: var(--teal);
  color: var(--white);
}

.contact-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4) !important;
}

/* ===== FOOTER ===== */
.footer {
  padding: 24px 0;
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  font-weight: 500;
}

.footer-logo {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ===== ANIMATIONS ===== */
.js .fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-text { order: 1; }
  .split.reverse .split-visual { order: 2; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .capabilities { grid-template-columns: 1fr; }

  .hero-inner { flex-direction: column; gap: 40px; }
  .hero-visual { flex: none; width: 100%; max-width: 420px; margin: 0 auto; }
  .browser-frame { transform: none; }
  .browser-frame:hover { transform: none; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-links.open { display: flex; }

  .nav-toggle { display: flex; }

  .hero { min-height: auto; padding: 100px 24px 60px; }
  .hero-content { margin: 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }

  .hero-visual { max-width: 340px; }
  .code-float { display: none; }
  .build-cursor { display: none; }

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

  .contact-box { padding: 40px 24px; }
  .contact-email { font-size: 1rem; padding: 10px 24px; }

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