/* ═══════════════════════════════════════════════════════════
   RASTERA — Design System
   A premium, minimal SaaS aesthetic for locational intelligence.

   CONTENTS:
   1. Tokens & Variables
   2. Reset & Base
   3. Typography
   4. Layout Utilities
   5. Component: Buttons
   6. Component: Badges / Chips
   7. Component: Cards
   8. Component: Section Headings
   9. Navigation
   10. Hero
   11. Trust Indicators
   12. Capabilities (What We Do)
   13. How It Works
   14. Use Cases / Industries
   15. Product Mockup
   16. Credibility
   17. Vision
   18. Final CTA
   19. Footer
   20. Demo Page
   21. Forms
   22. Privacy / Legal Page
   23. About Page
   24. Team Page
   25. Animations & Micro-interactions
   26. Responsive
   ═══════════════════════════════════════════════════════════ */

/* ── 1. Tokens & Variables ───────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-primary:    #06080f;
  --bg-secondary:  #0c1021;
  --bg-surface:    #111631;
  --bg-surface-alt:#161d3e;
  --bg-elevated:   #1a2048;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default:rgba(255, 255, 255, 0.08);
  --border-hover:  rgba(255, 255, 255, 0.14);

  /* Brand gradient: blue → indigo → violet */
  --gradient-brand: linear-gradient(135deg, #4f8fff 0%, #6366f1 50%, #8b5cf6 100%);
  --gradient-brand-subtle: linear-gradient(135deg, rgba(79, 143, 255, 0.12) 0%, rgba(99, 102, 241, 0.08) 50%, rgba(139, 92, 246, 0.04) 100%);
  --gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);

  /* Accent colors */
  --clr-blue:      #4f8fff;
  --clr-indigo:    #6366f1;
  --clr-violet:    #8b5cf6;
  --clr-cyan:      #22d3ee;
  --clr-emerald:   #34d399;

  /* Text */
  --text-primary:  #f0f2f8;
  --text-secondary:#a0a8c4;
  --text-tertiary: #6b7394;
  --text-inverse:  #06080f;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", "Cascadia Code", monospace;

  /* Sizing */
  --max-w:     1200px;
  --max-w-narrow: 720px;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.15s;
  --duration-base: 0.25s;
  --duration-slow: 0.4s;
}

/* ── 2. Reset & Base ─────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--clr-blue);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}
a:hover { color: var(--clr-violet); }

img { max-width: 100%; display: block; }

::selection {
  background: rgba(99, 102, 241, 0.3);
  color: var(--text-primary);
}

/* ── 3. Typography ───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ── 4. Layout Utilities ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section--alt {
  background: var(--bg-secondary);
}

.section-header {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ── 5. Component: Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 0 0 1px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3), 0 0 0 1px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 16px;
}
.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 0.95rem;
}

/* ── 6. Component: Badges / Chips ────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-emerald);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chip--blue   { background: rgba(79, 143, 255, 0.1);  color: var(--clr-blue); }
.chip--indigo { background: rgba(99, 102, 241, 0.1);  color: var(--clr-indigo); }
.chip--violet { background: rgba(139, 92, 246, 0.1);  color: var(--clr-violet); }
.chip--cyan   { background: rgba(34, 211, 238, 0.1);  color: var(--clr-cyan); }
.chip--emerald{ background: rgba(52, 211, 153, 0.1);  color: var(--clr-emerald); }

/* ── 7. Component: Cards ─────────────────────────────────── */
.card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--duration-base) var(--ease-out);
}
.card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.card-icon--blue   { background: rgba(79, 143, 255, 0.1);  color: var(--clr-blue); }
.card-icon--indigo { background: rgba(99, 102, 241, 0.1);  color: var(--clr-indigo); }
.card-icon--violet { background: rgba(139, 92, 246, 0.1);  color: var(--clr-violet); }
.card-icon--cyan   { background: rgba(34, 211, 238, 0.1);  color: var(--clr-cyan); }
.card-icon--emerald{ background: rgba(52, 211, 153, 0.1);  color: var(--clr-emerald); }

.card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  line-height: 1.6;
}

/* ── 8. Component: Section Headings ──────────────────────── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-indigo);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-tertiary);
  line-height: 1.7;
  max-width: 560px;
}

.section-header--center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ── 9. Navigation ───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 8, 15, 0.7);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--duration-base) ease;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 38px;
  width: auto;
}

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 450;
  color: var(--text-tertiary);
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  transition: all var(--duration-fast) ease;
}
.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
  background: var(--gradient-brand) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 500 !important;
  margin-left: 8px;
}
.nav-cta:hover {
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
  background: var(--gradient-brand) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* ── 10. Hero ────────────────────────────────────────────── */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 800px;
  background: var(--gradient-glow);
  pointer-events: none;
  opacity: 0.8;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(79, 143, 255, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 .text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-tertiary);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* ── 11. Trust Indicators ────────────────────────────────── */
.trust-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-tertiary);
  font-weight: 450;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--clr-indigo);
  flex-shrink: 0;
}

.used-for {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── 11b. Social Proof Bar ───────────────────────────────── */
.proof-bar {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  gap: 40px;
}

.proof-header {
  flex-shrink: 0;
}

.proof-items {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  flex: 1;
  justify-content: flex-end;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.proof-item svg {
  color: var(--clr-indigo);
  flex-shrink: 0;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .proof-bar {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 24px;
  }
  .proof-items {
    justify-content: center;
    gap: 16px;
  }
}

/* ── 12. Capabilities (What We Do) ───────────────────────── */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── 13. How It Works ────────────────────────────────────── */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  position: relative;
}

/* Connector line between steps */
.steps-row::before {
  content: "";
  position: absolute;
  top: 32px;
  left: calc(16.66% + 32px);
  right: calc(16.66% + 32px);
  height: 1px;
  background: linear-gradient(90deg, var(--clr-blue), var(--clr-indigo), var(--clr-violet));
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  position: relative;
  z-index: 1;
}

.step-icon--1 { background: linear-gradient(135deg, var(--clr-blue), #5b9aff); }
.step-icon--2 { background: linear-gradient(135deg, var(--clr-indigo), #818cf8); }
.step-icon--3 { background: linear-gradient(135deg, var(--clr-violet), #a78bfa); }

.step-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  max-width: 300px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── 14. Use Cases / Industries ──────────────────────────── */
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.use-case-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--duration-base) var(--ease-out);
}
.use-case-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.use-case-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.use-case-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.use-case-card p {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  line-height: 1.55;
}

.use-case-metric {
  margin-top: 10px;
}

.use-case-metric .chip {
  font-size: 0.68rem;
}

/* ── 15. Product Mockup ──────────────────────────────────── */
.mockup-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    0 20px 60px rgba(0,0,0,0.4),
    0 0 120px rgba(99, 102, 241, 0.06);
}

.mockup-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.mockup-dots span:first-child { background: rgba(255, 95, 86, 0.7); }
.mockup-dots span:nth-child(2) { background: rgba(255, 189, 46, 0.7); }
.mockup-dots span:nth-child(3) { background: rgba(39, 201, 63, 0.7); }

.mockup-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

.mockup-body {
  display: grid;
  grid-template-columns: 220px 1fr 260px;
  min-height: 420px;
}

/* Mockup sidebar */
.mockup-sidebar {
  border-right: 1px solid var(--border-subtle);
  padding: 16px;
}

.mockup-sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-bottom: 2px;
  transition: all var(--duration-fast) ease;
  cursor: default;
}
.mockup-sidebar-item:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
}
.mockup-sidebar-item.active {
  background: rgba(99, 102, 241, 0.1);
  color: var(--clr-indigo);
}

.mockup-sidebar-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.mockup-sidebar-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  padding: 16px 12px 8px;
  opacity: 0.6;
}

/* Mockup map canvas */
.mockup-canvas {
  position: relative;
  background:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px),
    radial-gradient(ellipse at 40% 40%, rgba(79, 143, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
  background-size: 40px 40px, 40px 40px, 100% 100%, 100% 100%;
  overflow: hidden;
}

/* Heatmap blobs */
.heatmap-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.5;
  pointer-events: none;
}

.heatmap-blob--1 {
  width: 120px; height: 120px;
  top: 20%; left: 25%;
  background: rgba(79, 143, 255, 0.25);
}
.heatmap-blob--2 {
  width: 80px; height: 80px;
  top: 50%; left: 55%;
  background: rgba(99, 102, 241, 0.3);
}
.heatmap-blob--3 {
  width: 100px; height: 100px;
  top: 30%; left: 65%;
  background: rgba(139, 92, 246, 0.2);
}
.heatmap-blob--4 {
  width: 60px; height: 60px;
  top: 60%; left: 30%;
  background: rgba(34, 211, 238, 0.2);
}
.heatmap-blob--5 {
  width: 90px; height: 90px;
  top: 15%; left: 45%;
  background: rgba(52, 211, 153, 0.15);
}

/* Map pin markers */
.map-pin {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-blue);
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: 0 0 8px rgba(79, 143, 255, 0.4);
}
.map-pin:nth-child(7) { top: 25%; left: 30%; }
.map-pin:nth-child(8) { top: 35%; left: 50%; background: var(--clr-violet); box-shadow: 0 0 8px rgba(139, 92, 246, 0.4); }
.map-pin:nth-child(9) { top: 55%; left: 40%; background: var(--clr-indigo); box-shadow: 0 0 8px rgba(99, 102, 241, 0.4); }
.map-pin:nth-child(10) { top: 45%; left: 65%; }
.map-pin:nth-child(11) { top: 70%; left: 55%; background: var(--clr-cyan); box-shadow: 0 0 8px rgba(34, 211, 238, 0.4); }
.map-pin:nth-child(12) { top: 20%; left: 70%; background: var(--clr-emerald); box-shadow: 0 0 8px rgba(52, 211, 153, 0.4); }

/* Map overlay tooltip */
.map-tooltip {
  position: absolute;
  top: 32%;
  left: 46%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  pointer-events: none;
  z-index: 2;
}

.map-tooltip strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.map-tooltip-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 0;
}

.map-tooltip-val {
  color: var(--clr-blue);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

/* Mockup right panel */
.mockup-panel {
  border-left: 1px solid var(--border-subtle);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.panel-card-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.panel-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.panel-stat-label {
  font-size: 0.78rem;
  color: var(--text-tertiary);
}

.panel-stat-value {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Mini bar chart */
.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
  margin-top: 8px;
}

.mini-bar {
  flex: 1;
  border-radius: 2px;
  min-height: 4px;
  transition: height var(--duration-base) var(--ease-out);
}

/* Legend */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--text-tertiary);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Risk overlay bars */
.risk-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.risk-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.risk-label {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  width: 80px;
  flex-shrink: 0;
}

.risk-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.04);
  border-radius: 3px;
  overflow: hidden;
}

.risk-fill {
  height: 100%;
  border-radius: 3px;
  transition: width var(--duration-slow) var(--ease-out);
}

/* ── 16. Credibility ─────────────────────────────────────── */
.credibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.credibility-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.credibility-bullets li {
  display: flex;
  gap: 16px;
}

.credibility-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-indigo);
}

.credibility-icon svg {
  width: 20px;
  height: 20px;
}

.credibility-bullets h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.credibility-bullets p {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  line-height: 1.55;
}

.capability-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  transition: all var(--duration-base) var(--ease-out);
}
.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

/* ── 17. Vision ──────────────────────────────────────────── */
.vision-section {
  text-align: center;
}

.vision-quote {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin: 0 auto 64px;
  font-style: italic;
}

.vision-quote em {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

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

.pillar {
  text-align: center;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.02);
  color: var(--clr-indigo);
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
}

.pillar h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.pillar p {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  line-height: 1.55;
}

/* ── 18. Final CTA ───────────────────────────────────────── */
.cta-block {
  background: var(--gradient-brand-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-block h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.cta-block p {
  color: var(--text-tertiary);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-block .hero-buttons {
  position: relative;
  margin-bottom: 0;
}

/* ── 19. Footer ──────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
}

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

.footer-brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.footer-tagline {
  width: 100%;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  margin-top: 4px;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  transition: color var(--duration-fast) ease;
}
.footer-links a:hover { color: var(--text-primary); }

.footer-legal {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  opacity: 0.7;
}

/* ── 20. Demo Page ───────────────────────────────────────── */
.demo-hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
}

.demo-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: var(--gradient-glow);
  pointer-events: none;
  opacity: 0.5;
}

.demo-hero .container {
  position: relative;
  z-index: 1;
}

.demo-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.demo-hero p {
  font-size: 1.05rem;
  color: var(--text-tertiary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.demo-sections {
  padding: 0 0 120px;
}

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

.demo-form-section {
  scroll-margin-top: 100px;
}

/* Form info side panel */
.form-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.form-info p {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.form-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.form-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.perk-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.1);
  color: var(--clr-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
}

.calendly-box {
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--border-default);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.calendly-box p {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

/* Divider */
.demo-divider {
  text-align: center;
  padding: 80px 0 40px;
  position: relative;
}

.demo-divider::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--border-default));
}

/* ── 21. Forms ───────────────────────────────────────────── */
.form-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-card h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 24px;
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-sans);
  transition: all var(--duration-fast) ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
  opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7394' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

/* ── 22. Privacy / Legal Page ────────────────────────────── */
.legal-page {
  padding: 140px 0 96px;
  min-height: 100vh;
}

.legal-content {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-content .updated {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 40px 0 12px;
  color: var(--text-primary);
}

.legal-content p,
.legal-content ul {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--clr-indigo);
}
.legal-content a:hover {
  color: var(--clr-blue);
}

/* ── 23. About Page ──────────────────────────────────────── */
.about-hero {
  padding: 140px 0 40px;
  text-align: center;
  position: relative;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: var(--gradient-glow);
  pointer-events: none;
  opacity: 0.5;
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.about-hero .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.about-prose {
  max-width: 760px;
  margin: 0 auto;
}

.about-prose p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-prose p:last-child {
  margin-bottom: 0;
}

.about-split {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.about-split--reverse {
  direction: ltr;
}

.about-split-label {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 4px;
}

.about-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  color: var(--clr-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-icon-wrap--violet {
  background: rgba(139, 92, 246, 0.1);
  color: var(--clr-violet);
}

.about-split-content {
  max-width: 600px;
}

.about-heading {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.about-split-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.about-credibility {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}

.about-credibility-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.1);
  color: var(--clr-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-credibility p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .about-hero {
    padding: 130px 0 24px;
  }

  .about-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-credibility {
    padding: 28px 24px;
  }

  .about-metrics {
    grid-template-columns: 1fr;
  }
}

/* ── 24. Team Page ───────────────────────────────────────── */
.team-hero {
  padding: 84px 0 24px;
  text-align: center;
  position: relative;
}

.team-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: var(--gradient-glow);
  pointer-events: none;
  opacity: 0.5;
}

.team-hero .container {
  position: relative;
  z-index: 1;
}

.team-hero .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.founder-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 56px;
}

.founder-photo-col {
  display: flex;
  justify-content: center;
}

.founder-photo {
  width: 260px;
  height: 310px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  object-fit: cover;
  object-position: center top;
}

.founder-name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.founder-bio p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.founder-bio p:last-child {
  margin-bottom: 0;
}

.founder-contact {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.founder-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.founder-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-indigo);
}

.founder-contact-item a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--duration-fast) ease;
}

.founder-contact-item a:hover {
  color: var(--clr-indigo);
}

@media (max-width: 768px) {
  .founder-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 32px;
  }

  .founder-photo-col {
    justify-content: center;
  }

  .founder-photo {
    width: 220px;
    height: 260px;
  }

  .team-hero {
    padding: 78px 0 14px;
  }
}

/* ── 27. Hero Benefits ──────────────────────────────────── */
.hero-benefits {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 450;
  color: var(--text-secondary);
}

.hero-benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-indigo);
}

/* ── 28. Problem Statement ─────────────────────────────── */
.problem-block {
  max-width: 720px;
  margin: 0 auto;
}

.problem-bullets {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.problem-bullet {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  transition: all var(--duration-base) var(--ease-out);
}

.problem-bullet:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-hover);
}

.problem-bullet-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-violet);
}

.problem-bullet p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ── 29. Capabilities 5-card grid ──────────────────────── */
#capabilities {
  scroll-margin-top: 80px;
}

#why-rastera {
  scroll-margin-top: 80px;
}

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

/* Center the last 2 cards in a 5-card grid */
.capabilities-grid--5 .card:nth-child(4) {
  grid-column: 1 / 2;
}

/* ── 30. Use Case Tiles ────────────────────────────────── */
#use-cases {
  scroll-margin-top: 80px;
}

.use-case-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.use-case-tile {
  text-align: center;
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--duration-base) var(--ease-out);
}

.use-case-tile:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.use-case-tile-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.use-case-tile h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.use-case-tile p {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* ── 31. Differentiators ───────────────────────────────── */
.differentiators-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.differentiators-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.differentiators-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  font-weight: 450;
  color: var(--text-secondary);
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--duration-base) var(--ease-out);
}

.differentiators-list li:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-hover);
}

.differentiators-list li svg {
  flex-shrink: 0;
  color: var(--clr-emerald);
}

/* ── 32. Case Study Teaser ─────────────────────────────── */
.case-study-block {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  background: var(--gradient-brand-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}

.case-study-block::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.case-study-block .section-label,
.case-study-block .section-title {
  position: relative;
}

.case-study-body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 16px;
  position: relative;
}

.case-study-note {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  font-style: italic;
  margin-bottom: 32px;
  position: relative;
}

.case-study-cta {
  position: relative;
}

/* ── 33. Founder Credibility Block ─────────────────────── */
.founder-credibility-block {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.founder-credibility-body {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.founder-credibility-location {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}

/* ── 25. Animations & Micro-interactions ────────────────── */

/* Fade-in on scroll (JS-driven) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered card reveal */
.reveal-stagger .card,
.reveal-stagger .use-case-card,
.reveal-stagger .use-case-tile,
.reveal-stagger .step,
.reveal-stagger .pillar,
.reveal-stagger .stat-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.reveal-stagger.visible .card,
.reveal-stagger.visible .use-case-card,
.reveal-stagger.visible .use-case-tile,
.reveal-stagger.visible .step,
.reveal-stagger.visible .pillar,
.reveal-stagger.visible .stat-card {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.visible .card:nth-child(2),
.reveal-stagger.visible .use-case-card:nth-child(2),
.reveal-stagger.visible .use-case-tile:nth-child(2),
.reveal-stagger.visible .step:nth-child(2),
.reveal-stagger.visible .pillar:nth-child(2),
.reveal-stagger.visible .stat-card:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible .card:nth-child(3),
.reveal-stagger.visible .use-case-card:nth-child(3),
.reveal-stagger.visible .use-case-tile:nth-child(3),
.reveal-stagger.visible .step:nth-child(3),
.reveal-stagger.visible .pillar:nth-child(3),
.reveal-stagger.visible .stat-card:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible .card:nth-child(4),
.reveal-stagger.visible .use-case-card:nth-child(4),
.reveal-stagger.visible .use-case-tile:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible .card:nth-child(5),
.reveal-stagger.visible .use-case-card:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible .card:nth-child(6) { transition-delay: 0.4s; }

/* ── 26. Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .mockup-body {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar,
  .mockup-panel {
    border-right: none;
    border-left: none;
  }
  .mockup-sidebar {
    display: none;
  }
  .mockup-panel {
    border-top: 1px solid var(--border-subtle);
    flex-direction: row;
    flex-wrap: wrap;
  }
  .mockup-panel .panel-card {
    flex: 1;
    min-width: 200px;
  }
  .mockup-canvas {
    min-height: 300px;
  }
  .credibility-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .differentiators-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 24px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { margin-left: 0 !important; margin-top: 8px; display: inline-flex; }

  .section { padding: 80px 0; }
  .hero { padding: 130px 0 72px; }

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

  .steps-row {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .steps-row::before { display: none; }

  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .mockup-canvas {
    min-height: 240px;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .capabilities-grid--5 {
    grid-template-columns: 1fr;
  }

  .use-case-tiles {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .differentiators-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .case-study-block {
    padding: 48px 24px;
    border-radius: var(--radius-lg);
  }

  .hero-benefits {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .cta-block {
    padding: 56px 24px;
    border-radius: var(--radius-lg);
  }

  .demo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  .trust-bar {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn { width: 100%; justify-content: center; }
  .used-for { flex-direction: column; align-items: center; }
}

/* ── 35. Live Demo Tool ──────────────────────────────────── */

.live-demo-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

/* Score gauge */
.demo-score-row {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: left;
}

.score-gauge {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.score-gauge svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 8;
}

.gauge-fill {
  fill: none;
  stroke: var(--clr-indigo);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
}

.gauge-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 600;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.demo-score-meta {
  flex: 1;
}

.demo-score-headline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 6px;
  line-height: 1.3;
}

/* Driver breakdown */
.demo-drivers {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  max-width: 640px;
  margin: 0 auto 20px;
  text-align: left;
}

.drivers-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 18px;
}

.demo-driver {
  margin-bottom: 16px;
}

.demo-driver:last-child {
  margin-bottom: 0;
}

.driver-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
}

.driver-name {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.driver-val {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-indigo);
}

.driver-bar-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 5px;
}

.driver-bar-fill {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: 2px;
  width: 0;
  transition: width 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.driver-reason {
  font-size: 0.77rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* AI summary */
.demo-ai {
  max-width: 640px;
  margin: 0 auto 20px;
  text-align: left;
}

.ai-exec {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: 14px;
}

.ai-list {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-left-width: 3px;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 10px;
}

.ai-list--emerald { border-left-color: var(--clr-emerald); }
.ai-list--violet  { border-left-color: var(--clr-violet); }
.ai-list--blue    { border-left-color: var(--clr-blue); }

.ai-list-title {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}

.ai-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ai-list ul li {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}

.ai-list ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--text-tertiary);
}

/* Error state */
.demo-error {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-md);
  padding: 13px 18px;
  font-size: 0.87rem;
  color: var(--clr-violet);
  max-width: 640px;
  margin: 0 auto 16px;
  text-align: left;
}

/* Loading spinner */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.spin {
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

/* Section divider */
.section-divider {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-default), transparent);
}

@media (max-width: 600px) {
  .demo-score-row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

  .demo-score-meta {
    text-align: center;
  }
}
