/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
  --bg: #080b14;
  --bg-2: #0d1120;
  --bg-3: #111827;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);

  --text: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #64748b;

  --primary: #7c3aed;
  --primary-light: #a78bfa;
  --primary-dark: #5b21b6;
  --accent: #06b6d4;
  --accent-2: #3b82f6;

  --gradient: linear-gradient(135deg, #7c3aed 0%, #2563eb 50%, #06b6d4 100%);
  --gradient-text: linear-gradient(135deg, #a78bfa, #60a5fa, #22d3ee);

  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;

  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);

  --font: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection {
  background: var(--primary);
  color: #fff;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mono { font-family: var(--mono); }

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-dark {
  background: var(--bg-2);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: var(--radius);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(124,58,237,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124,58,237,0.5);
}

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

.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--primary-light);
  color: var(--primary-light);
}

.btn-nav {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(8,11,20,0.85);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  flex-shrink: 0;
}


.nav-links {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: rgba(8,11,20,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}

.nav-mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.nav-mobile a:hover { color: var(--text); }
.nav-mobile a:last-child { border-bottom: none; margin-top: 8px; justify-content: center; }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 120px;
  overflow: hidden;
}

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

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  pointer-events: none;
}

.orb-1 {
  width: 600px; height: 600px;
  background: var(--primary);
  top: -200px; left: -200px;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb-2 {
  width: 500px; height: 500px;
  background: var(--accent);
  bottom: -100px; right: -100px;
  animation: orbFloat 14s ease-in-out infinite reverse;
}

.orb-3 {
  width: 400px; height: 400px;
  background: var(--accent-2);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat 10s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -30px); }
  66% { transform: translate(-20px, 20px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.hero-proof {
  display: flex;
  gap: 0;
  justify-content: center;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 48px;
  flex-wrap: wrap;
  gap: 24px;
  backdrop-filter: blur(12px);
}

.proof-item {
  text-align: center;
}

.proof-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1;
}

.proof-item strong + span {
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.proof-item small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-3);
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid var(--border-hover);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px;
  height: 4px;
  background: var(--text-2);
  border-radius: 50%;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(16px); opacity: 0; }
}

/* =============================================
   TICKER
   ============================================= */
.ticker-wrap {
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.ticker {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: tickerScroll 30s linear infinite;
  align-items: center;
}

.ticker span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-3);
  white-space: nowrap;
}

.ticker-sep {
  color: var(--primary);
  font-size: 0.6rem !important;
}

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

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
  transform: translateY(-4px);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(from var(--c) r g b / 0.12);
  background: color-mix(in srgb, var(--c) 12%, transparent);
  color: var(--c);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid color-mix(in srgb, var(--c) 20%, transparent);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 0.82rem;
  color: var(--text-3);
  padding-left: 16px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  opacity: 0.6;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  font-family: var(--mono);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
  box-shadow: 0 0 0 8px rgba(124,58,237,0.12);
}

.step-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-body p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 16px;
}

.step-badge {
  display: inline-block;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.25);
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}

.step-connector {
  flex-shrink: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin-top: 32px;
  position: relative;
  opacity: 0.4;
}

.step-connector::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  rotate: 45deg;
}

/* =============================================
   RESULTS
   ============================================= */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.result-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.result-number {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1;
}

.result-label {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.5;
}

.compare-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}

.compare-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.compare-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-2);
}

.compare-new {
  border-color: rgba(124,58,237,0.4);
  background: rgba(124,58,237,0.05);
}

.compare-new h4 {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.compare-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-card li {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
}

.x { color: #ef4444; font-weight: 700; }
.check { color: #22c55e; font-weight: 700; }

.compare-vs {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-3);
  flex-shrink: 0;
}

/* =============================================
   STACK
   ============================================= */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stack-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: border-color 0.3s, transform 0.3s;
}

.stack-card:hover {
  border-color: rgba(124,58,237,0.4);
  transform: translateY(-4px);
}

.stack-card::before {
  content: attr(data-category);
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--surface-hover);
  padding: 3px 8px;
  border-radius: 100px;
}

.stack-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at center, rgba(124,58,237,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.stack-card:hover .stack-glow { opacity: 1; }

.stack-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  position: relative;
}

.stack-role {
  font-size: 0.8rem;
  color: var(--text-3);
  position: relative;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.3s, transform 0.3s;
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg, var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.testimonial-author small {
  font-size: 0.78rem;
  color: var(--text-3);
}

/* =============================================
   CTA
   ============================================= */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb-cta-1 {
  width: 500px; height: 500px;
  background: var(--primary);
  top: -200px; right: -150px;
  opacity: 0.12;
  filter: blur(80px);
}

.orb-cta-2 {
  width: 400px; height: 400px;
  background: var(--accent);
  bottom: -100px; left: -100px;
  opacity: 0.1;
  filter: blur(80px);
}

.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cta-form input,
.cta-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: var(--text-3);
}

.cta-form input:focus,
.cta-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--surface-hover);
}

.cta-form .btn-primary {
  align-self: center;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-3);
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 24px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--radius-lg);
  margin-top: 40px;
}

.form-success.visible { display: flex; }

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  color: #22c55e;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success h3 { font-size: 1.3rem; font-weight: 700; }
.form-success p { color: var(--text-2); font-size: 0.95rem; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  padding: 72px 24px 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-3);
  margin-top: 16px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.social-links a:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: var(--surface-hover);
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-2);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text); }

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

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

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-3);
}

.footer-code {
  font-size: 0.8rem;
  color: var(--primary-light);
  font-family: var(--mono);
}

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* stagger siblings */
.services-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.4s; }
.services-grid .reveal:nth-child(6) { transition-delay: 0.5s; }

.steps .reveal:nth-child(3) { transition-delay: 0.15s; }
.steps .reveal:nth-child(5) { transition-delay: 0.3s; }
.steps .reveal:nth-child(7) { transition-delay: 0.45s; }

.results-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.results-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.results-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

.stack-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.stack-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.stack-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.stack-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.stack-grid .reveal:nth-child(6) { transition-delay: 0.40s; }
.stack-grid .reveal:nth-child(7) { transition-delay: 0.48s; }
.stack-grid .reveal:nth-child(8) { transition-delay: 0.56s; }

.testimonials-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.testimonials-grid .reveal:nth-child(3) { transition-delay: 0.3s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .stack-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { flex-direction: column; align-items: center; gap: 0; }
  .step { flex-direction: row; text-align: left; gap: 24px; max-width: 560px; width: 100%; padding: 0; }
  .step-number { flex-shrink: 0; margin-bottom: 0; }
  .step-connector { width: 2px; height: 40px; background: linear-gradient(180deg, var(--primary), var(--accent)); margin: 0 0 0 31px; }
  .step-connector::after { right: auto; left: 50%; top: auto; bottom: -5px; transform: translateX(-50%); border-top: none; border-right: none; border-bottom: 2px solid var(--accent); border-left: 2px solid var(--accent); rotate: -45deg; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav-links, .btn-nav { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile.open { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero-proof { gap: 16px; padding: 20px 24px; }
  .proof-divider { display: none; }
  .compare-wrap { flex-direction: column; }
  .compare-vs { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-links { flex-wrap: wrap; gap: 36px; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .results-grid { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}
