/* ── Landing Page Styles ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #000000;
  --amber: #FB8B1E;
  --amber-light: rgba(251, 139, 30, 0.12);
  --amber-dark: #e07a18;
  --gray-50: #F9F9F9;
  --gray-100: #F5F5F5;
  --gray-200: #E8E8E8;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --gray-900: #111111;
  --text: #000000;
  --white: #ffffff;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Navbar ──────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 40px;
  transition: box-shadow 0.25s;
}

.nav-scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
}

.nav-logo {
  width: 32px;
  height: 32px;
  background: var(--black);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
}

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

.nav-links a {
  font-size: 14px;
  color: var(--gray-500);
  transition: color 0.15s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width 0.2s;
}
.nav-links a:hover { color: var(--black); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.18s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--amber-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(251,139,30,0.35);
}

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

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-lg { height: 52px; padding: 0 32px; font-size: 15px; }
.btn-xl { height: 56px; padding: 0 40px; font-size: 16px; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  padding: 100px 40px 80px;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  animation: heroFadeUp 0.7s ease both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-block;
  background: var(--black);
  color: var(--amber);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 99px;
  padding: 5px 14px;
  margin-bottom: 24px;
}

.hero-headline {
  font-size: 68px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -2.5px;
  color: var(--black);
  margin-bottom: 24px;
}

/* Typewriter amber span */
.hero-amber {
  color: var(--amber);
  position: relative;
}
#tw-firm::after {
  content: '|';
  font-weight: 300;
  color: var(--amber);
  animation: blink 0.8s step-end infinite;
  margin-left: 1px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-sub {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-note {
  font-size: 12px;
  color: var(--gray-400);
}

.social-proof {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.avatar-stack { display: flex; }

.avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
  margin-left: -8px;
  background: var(--amber);
}
.avatar-circle:first-child { margin-left: 0; }
.avatar-circle:nth-child(2) { background: #374151; }
.avatar-circle:nth-child(3) { background: #1a56db; }
.avatar-circle:nth-child(4) { background: #057a55; }
.avatar-circle:nth-child(5) { background: #7e3af2; }

.social-proof-text { font-size: 13px; color: var(--gray-500); }

.school-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 680px;
}

.school-badge {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  transition: all 0.2s;
}
.school-badge:hover {
  background: var(--black);
  color: white;
  border-color: var(--black);
}

/* ── Firm Ticker ─────────────────────────────────────────────────────────── */
.ticker-section {
  background: var(--black);
  padding: 20px 0;
  overflow: hidden;
  text-align: center;
}

.ticker-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #444;
  margin-bottom: 12px;
}

.ticker-wrap { overflow: hidden; width: 100%; }

.ticker-inner {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  animation: tickerScroll 32s linear infinite;
}
.ticker-inner:hover { animation-play-state: paused; }

.ticker-inner span {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  transition: color 0.2s;
}
.ticker-inner span:not(.ticker-sep):hover { color: var(--amber); }

.ticker-sep { color: #333 !important; }

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

/* ── Stats Strip ─────────────────────────────────────────────────────────── */
.stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 56px 40px;
  background: white;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 32px;
}

.stat-number {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--black);
  line-height: 1;
  font-family: 'DM Mono', monospace;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 56px;
  background: var(--gray-200);
  flex-shrink: 0;
}

/* ── Product Screenshot ──────────────────────────────────────────────────── */
.product-section {
  background: var(--gray-100);
  padding: 80px 40px;
  text-align: center;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--amber);
  margin-bottom: 16px;
}

.section-headline {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 500px;
  margin: 0 auto 48px;
}

.screenshot-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.screenshot-browser {
  background: #E0E0E0;
  border-radius: 12px 12px 0 0;
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.browser-dot { width: 12px; height: 12px; border-radius: 50%; }
.browser-dot:nth-child(1) { background: #ff5f57; }
.browser-dot:nth-child(2) { background: #febc2e; }
.browser-dot:nth-child(3) { background: #28c840; }

.browser-url {
  margin-left: 12px;
  background: white;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--gray-500);
  font-family: 'DM Mono', monospace;
}

.screenshot-inner {
  background: #111;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.2);
}

.app-mockup {
  display: flex;
  min-height: 380px;
}

.mockup-sidebar {
  width: 180px;
  background: #000;
  border-right: 1px solid #1a1a1a;
  padding: 16px;
  flex-shrink: 0;
}

.mockup-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.mockup-logo-icon {
  width: 28px;
  height: 28px;
  background: var(--amber);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #000;
  font-family: monospace;
}

.mockup-sidebar-title {
  font-size: 11px;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}

.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 2px;
  font-size: 12px;
  color: #888;
  transition: all 0.15s;
  cursor: default;
}
.mockup-nav-item:hover { color: #bbb; background: #111; }
.mockup-nav-item.active {
  background: rgba(251,139,30,0.12);
  color: var(--amber);
  border-left: 3px solid var(--amber);
}

.mockup-content {
  flex: 1;
  background: #0d0d0d;
  padding: 16px;
}

.mockup-table-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #1a1a1a;
  margin-bottom: 6px;
  font-size: 11px;
  color: #ccc;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}
.mockup-table-row:hover { border-color: #333; }

/* staggered row animation */
@keyframes rowSlideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}
.mockup-row-animate {
  animation: rowSlideIn 0.4s ease both;
}

.mockup-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #000;
  flex-shrink: 0;
}

.mockup-badge {
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 600;
}
.badge-green { background: rgba(16,185,129,0.15); color: #10b981; }
.badge-amber { background: rgba(251,139,30,0.15); color: var(--amber); }
.badge-red   { background: rgba(239,68,68,0.15);  color: #ef4444; }

/* Floating annotation cards */
.annotation-card {
  position: absolute;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  z-index: 10;
}
.annotation-black {
  background: var(--black);
  color: white;
  top: 20px;
  left: -20px;
  animation: floatA 3s ease-in-out infinite;
}
.annotation-amber {
  background: var(--amber);
  color: var(--black);
  bottom: 40px;
  right: -20px;
  animation: floatB 3.5s ease-in-out infinite;
}
@keyframes floatA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── How It Works ─────────────────────────────────────────────────────────── */
.how-section {
  background: white;
  padding: 88px 40px;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
  align-items: start;
}

.step-card {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: 14px;
  padding: 32px;
  text-align: left;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--amber-light), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
}
.step-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border-color: var(--amber);
  transform: translateY(-3px);
}
.step-card:hover::before { opacity: 1; }

.step-number {
  font-family: 'DM Mono', monospace;
  font-size: 52px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
}

.step-body {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
  position: relative;
}

/* ── Features ─────────────────────────────────────────────────────────────── */
.features-section {
  background: var(--black);
  padding: 88px 40px;
  text-align: center;
}

.features-section .section-headline { color: white; }
.features-section .section-sub { color: #777; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1060px;
  margin: 0 auto;
}

.feature-card {
  background: #0e0e0e;
  border: 1px solid #1f1f1f;
  border-radius: 12px;
  padding: 28px;
  text-align: left;
  transition: all 0.25s;
  cursor: default;
}
.feature-card:hover {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber), 0 8px 32px rgba(251,139,30,0.1);
  transform: translateY(-2px);
}

.feature-icon { font-size: 28px; margin-bottom: 14px; }

.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.feature-body {
  font-size: 13px;
  color: #777;
  line-height: 1.65;
}

/* ── Case Studies ─────────────────────────────────────────────────────────── */
.cases-section {
  background: var(--gray-100);
  padding: 88px 0 60px;
  overflow: hidden;
}

.cases-header {
  text-align: center;
  padding: 0 40px;
  margin-bottom: 48px;
}

.cases-track-wrap {
  overflow: hidden;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  border-radius: 18px;
}

.cases-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.case-card {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  background: white;
}

/* Left column */
.case-left {
  padding: 48px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-outcome-badge {
  display: inline-flex;
  align-self: flex-start;
  background: var(--amber);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 99px;
}

.case-student {
  display: flex;
  align-items: center;
  gap: 14px;
}

.case-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--amber);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}

.case-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}
.case-school {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 2px;
}

.case-quote {
  font-size: 16px;
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.7;
  border-left: 3px solid var(--amber);
  padding-left: 16px;
  flex: 1;
}

.case-target {
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 500;
}

/* Right column */
.case-right {
  background: #0d0d0d;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.case-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  flex: 1;
}

.case-stat {
  background: #161616;
  border: 1px solid #222;
  border-radius: 10px;
  padding: 20px;
  transition: border-color 0.2s;
}
.case-stat:hover { border-color: var(--amber); }

.case-stat-val {
  font-size: 32px;
  font-weight: 800;
  color: var(--amber);
  font-family: 'DM Mono', monospace;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}

.case-stat-lbl {
  font-size: 11px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.case-result-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(251,139,30,0.1);
  border: 1px solid rgba(251,139,30,0.25);
  border-radius: 10px;
  padding: 14px 18px;
}

.case-result-icon { font-size: 20px; flex-shrink: 0; }

.case-result-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  line-height: 1.4;
}

/* Controls */
.cases-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
  padding: 0 40px;
}

.case-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300, #d1d5db);
  background: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
  color: var(--black);
}
.case-arrow:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: white;
  transform: scale(1.08);
}

.case-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.case-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--gray-300, #d1d5db);
  transition: all 0.25s;
  cursor: pointer;
}
.case-dot.active {
  background: var(--amber);
  width: 24px;
}
.case-dot:hover { background: var(--amber); opacity: 0.7; }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.pricing-section {
  background: white;
  padding: 88px 40px;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  padding-top: 16px;
}

.pricing-card {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: 14px;
  padding: 32px;
  text-align: left;
  position: relative;
  transition: all 0.25s;
}
.pricing-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.pricing-card.popular {
  border: 2px solid var(--amber);
  padding-top: 44px;
}
.pricing-card.popular:hover {
  box-shadow: 0 12px 40px rgba(251,139,30,0.2);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--black);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
}

.pricing-plan-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.pricing-price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 4px;
}
.pricing-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-500);
}

.pricing-desc {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 24px;
}
.pricing-features li {
  font-size: 13px;
  color: var(--gray-700);
  padding: 5px 0;
  display: flex;
  gap: 8px;
}
.pricing-features .check { color: #10b981; }

/* ── CTA Banner ──────────────────────────────────────────────────────────── */
.cta-section {
  background: var(--black);
  padding: 96px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(251,139,30,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-headline {
  font-size: 52px;
  font-weight: 800;
  color: white;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  position: relative;
}

.cta-sub {
  font-size: 17px;
  color: #888;
  margin-bottom: 40px;
  position: relative;
}

.cta-note {
  margin-top: 20px;
  font-size: 12px;
  color: #444;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--black);
  border-top: 1px solid #151515;
  padding: 56px 40px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 36px;
}

.footer-brand-text {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand-desc {
  font-size: 13px;
  color: #444;
  line-height: 1.6;
}

.footer-col-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--amber);
  margin-bottom: 14px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 13px;
  color: #555;
  transition: color 0.15s;
}
.footer-links a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid #151515;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-bottom-text { font-size: 12px; color: #333; }

/* ── Animations / Reveal ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .case-card {
    grid-template-columns: 1fr;
  }
  .case-right { border-radius: 0 0 18px 18px; }
}

@media (max-width: 900px) {
  .hero-headline { font-size: 46px; letter-spacing: -1.5px; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .app-mockup { flex-direction: column; }
  .mockup-sidebar { width: 100%; height: auto; }
  .stats-strip { gap: 0; padding: 40px 24px; }
  .stat-item { padding: 0 16px; }
  .stat-number { font-size: 36px; }
}

@media (max-width: 600px) {
  .hero { padding: 60px 20px 40px; }
  .hero-headline { font-size: 34px; letter-spacing: -1px; }
  .hero-ctas { flex-direction: column; }
  .nav { padding: 0 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-headline { font-size: 34px; }
  .stats-strip { flex-direction: column; gap: 32px; }
  .stat-divider { width: 48px; height: 1px; }
  .cases-track-wrap { padding: 0 20px; }
  .case-left { padding: 28px; }
  .case-right { padding: 28px; }
  .case-stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .case-stat-val { font-size: 24px; }
  .annotation-card { display: none; }
  .section-headline { font-size: 30px; }
}
