/* CSS Tokens and Base Styles */

/* ===== GLOBAL MOTION + COLOR RULES ===== */
:root {
  /* Standard Animation Durations */
  --t-fast: 0.2s;
  --t-med: 0.3s;
  --t-slow: 0.6s;

  /* Standard Easings */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.645, 0.045, 0.355, 1);
  --ease-pop: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Standard Shadows & Glows */
  --shadow-1: 0 4px 12px rgba(0, 0, 0, 0.16);
  --shadow-2: 0 8px 24px rgba(0, 0, 0, 0.2);
  --glow-brand: 0 0 20px rgba(124, 92, 255, 0.3);
  --glow-proof: 0 0 20px rgba(38, 222, 129, 0.3);
  --glow-teal: 0 0 20px rgba(29, 209, 161, 0.3);
}

/* ===== DESIGN TOKENS ===== */
:root {
  /* Background Colors */
  --bg-0: #0a0b0f;
  --bg-1: #141522;
  --panel: #1a1b2a;
  --panel-2: #1f2937;
  --panel-border: rgba(255, 255, 255, 0.08);

  /* Text Colors */
  --text-0: #e8ecf1;
  --text-1: #8a93a5;
  --muted: #8a93a5;

  /* Brand Colors */
  --brand-0: #7c5cff;
  --brand-1: #1dd1a1;
  --brand-2: #26de81;

  /* Interactive States */
  --hover: rgba(124, 92, 255, 0.1);
  --selected: rgba(124, 92, 255, 0.2);

  /* Legacy Aliases for Compatibility */
  --bg: var(--bg-0);
  --surface: var(--bg-1);
  --surface-2: var(--panel-2);
  --border: var(--panel-border);
  --accent: var(--brand-0);
  --accent-2: var(--brand-1);
  --success: var(--brand-2);
  --text: var(--text-0);
  --text-muted: var(--text-1);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.16);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-glow: var(--glow-brand);

  /* Typography */
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Breakpoints */
  --bp-sm: 640px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  background: rgba(10, 11, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: all var(--t-fast) var(--ease-out);
}

.nav.scrolled {
  background: rgba(10, 11, 15, 0.95);
  backdrop-filter: blur(30px);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
}

.nav.scrolled .container {
  padding: var(--space-sm) var(--space-lg);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  border-radius: var(--radius-sm);
  font-weight: bold;
  font-size: 14px;
}

.nav-title {
  font-weight: 600;
  font-size: 18px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  position: relative;
  width: 24px;
  height: 24px;
  justify-content: center;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all var(--t-fast) var(--ease-out);
  position: relative;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu {
  display: flex;
  gap: var(--space-lg);
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--t-fast) var(--ease-out);
  position: relative;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.active {
  color: var(--brand-0);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-0);
  border-radius: 1px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    z-index: 10000;
    /* Above nav-menu */
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-3xl) var(--space-xl);
    gap: var(--space-xl);
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--t-med) var(--ease-out);
    z-index: 9999;
    /* Ensure it's on top of everything */
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    box-shadow: var(--shadow-2);
  }

  .nav-menu::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--t-fast) var(--ease-out);
  }

  .nav-menu.active::before {
    opacity: 1;
  }

  .nav-link {
    padding: var(--space-md);
    width: 100%;
    text-align: center;
    font-size: 24px;
    /* Larger text for mobile menu */
    font-weight: 700;
    color: var(--text-0);
    border-radius: var(--radius-md);
    transition: all var(--t-fast) var(--ease-out);
  }

  .nav-link:hover {
    background: var(--hover);
    color: var(--brand-0);
  }

  .nav-link.active {
    color: var(--brand-0);
    text-shadow: 0 0 10px rgba(124, 92, 255, 0.3);
  }

  .nav-link.active::after {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
}

.btn:hover {
  background: var(--surface);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-1);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-0), var(--brand-1));
  border-color: var(--brand-0);
  color: white;
  position: relative;
  overflow: hidden;
  background-size: 200% 200%;
  animation: gradientShift 8s var(--ease-smooth) infinite;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left var(--t-med) var(--ease-out);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #8b6dff, #2de1b1);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-1);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  position: relative;
  transition: all var(--t-fast) var(--ease-out);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--brand-2);
  color: var(--brand-2);
  box-shadow: 0 0 15px rgba(38, 222, 129, 0.2);
}

.btn-ghost::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--brand-2), transparent, var(--brand-2));
  border-radius: inherit;
  opacity: 0;
  z-index: -1;
  transition: opacity var(--t-fast) var(--ease-out);
}

.btn-ghost:hover::before {
  opacity: 0.3;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.3s ease;
}

.card:hover {
  background: var(--surface-2);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* Premium Panel System */
.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--t-fast) var(--ease-out);
}

.panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-0), var(--brand-1), var(--brand-2));
  opacity: 0.7;
  transition: opacity var(--t-fast) var(--ease-out);
}

.panel:hover {
  background: var(--panel-2);
  border-color: var(--brand-0);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

.panel:hover::before {
  opacity: 1;
}

/* Panel accent variants */
.panel[data-accent="proof"]::before {
  background: linear-gradient(90deg, var(--brand-2), var(--brand-1));
}

.panel[data-accent="proof"]:hover {
  border-color: var(--brand-2);
  box-shadow: var(--glow-proof);
}

.panel[data-accent="teal"]::before {
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
}

.panel[data-accent="teal"]:hover {
  border-color: var(--brand-1);
  box-shadow: var(--glow-teal);
}

.panel[data-accent="brand"]::before {
  background: linear-gradient(90deg, var(--brand-0), var(--brand-1));
}

.panel[data-accent="brand"]:hover {
  border-color: var(--brand-0);
  box-shadow: var(--glow-brand);
}

/* Section Card variant */
.section-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-lg) 0;
  position: relative;
  overflow: hidden;
  transition: all var(--t-fast) var(--ease-out);
}

.section-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-0), transparent);
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease-out);
}

.section-card:hover {
  background: var(--panel-2);
  border-color: var(--brand-0);
  box-shadow: var(--shadow-1);
  transform: translateY(-1px);
}

.section-card:hover::before {
  opacity: 0.6;
}

/* Reveal System */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(2px);
  transition: all var(--t-med) var(--ease-smooth);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Staggered reveal delays */
.reveal[data-delay="1"] {
  transition-delay: 0.1s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.2s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.3s;
}

.reveal[data-delay="4"] {
  transition-delay: 0.4s;
}

.reveal[data-delay="5"] {
  transition-delay: 0.5s;
}

/* Reduced motion override for reveal */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .reveal.revealed {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Interactive Utility */
.interactive {
  position: relative;
  transition: all var(--t-fast) var(--ease-out);
  cursor: pointer;
}

.interactive:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
}

.interactive:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.interactive:focus-visible {
  outline: 2px solid var(--brand-0);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Interactive variants */
.interactive-lift {
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}

.interactive-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.interactive-glow {
  transition: all var(--t-fast) var(--ease-out);
}

.interactive-glow:hover {
  box-shadow: var(--glow-brand);
  border-color: var(--brand-0);
}

.interactive-sheen {
  position: relative;
  overflow: hidden;
  transition: all var(--t-fast) var(--ease-out);
}

.interactive-sheen::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent);
  transition: left var(--t-med) var(--ease-out);
}

.interactive-sheen:hover::before {
  left: 100%;
}

.interactive-sheen:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
}

/* Story Rail System */
.story-rail {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.story-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all var(--t-fast) var(--ease-out);
}

.story-step:hover {
  background: var(--panel-2);
  border-color: var(--brand-0);
  box-shadow: var(--shadow-1);
  transform: translateX(4px);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--brand-0), var(--brand-1));
  color: white;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
  min-width: 0;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  border: 1px solid var(--panel-border);
  transition: all var(--t-fast) var(--ease-out);
}

.step-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.step-icon[data-accent="brand"] {
  background: var(--panel-2);
  border-color: var(--brand-0);
}

.step-icon[data-accent="teal"] {
  background: var(--panel-2);
  border-color: var(--brand-1);
}

.step-icon[data-accent="proof"] {
  background: var(--panel-2);
  border-color: var(--brand-2);
}

.step-icon:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-1);
}

.story-step h3 {
  margin: 0 0 var(--space-sm);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-0);
}

.story-step p {
  margin: 0 0 var(--space-md);
  color: var(--text-1);
  line-height: 1.5;
}

.step-detail {
  font-size: 14px;
  color: var(--text-muted);
  padding: var(--space-sm);
  background: var(--bg-0);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--brand-0);
}

.story-connector {
  width: 2px;
  height: 30px;
  background: linear-gradient(180deg, var(--brand-0), var(--brand-1), var(--brand-2));
  margin: 0 auto;
  position: relative;
  left: 19px;
  opacity: 0.6;
}

/* Mobile responsive story rail */
@media (max-width: 768px) {
  .story-rail {
    gap: var(--space-md);
  }

  .story-step {
    padding: var(--space-md);
    flex-direction: column;
    text-align: center;
  }

  .story-step:hover {
    transform: translateY(-2px);
  }

  .step-number {
    margin: 0 auto var(--space-md);
  }

  .story-connector {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Story Rail Flow Animations */
.step-flow {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.7);
  transition: all var(--t-med) var(--ease-out);
  pointer-events: auto;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.story-step:hover .step-flow {
  opacity: 1;
  transform: scale(1);
}

/* Show pointer cursor when GIF is available */
.story-step:hover {
  cursor: pointer;
}

/* Mega expansion on click - 50% screen width */
.step-flow.expanded {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 50vw;
  height: 50vw;
  max-width: 50vh;
  max-height: 50vh;
  opacity: 1;
  z-index: 9999;
  pointer-events: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 3px solid var(--brand-0);
}

.step-flow.expanded .flow-gif {
  border-radius: var(--radius-lg);
}

.flow-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-full);
  transition: all var(--t-slow) var(--ease-out);
  cursor: zoom-in;
}

.step-flow.expanded .flow-gif {
  cursor: zoom-out;
}

/* Lazy loading styles */
.lazy-flow {
  opacity: 0;
  filter: blur(5px);
  transform: scale(0.8);
}

.lazy-flow.loaded {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.lazy-flow.loading {
  background: linear-gradient(90deg, var(--panel-2), var(--panel-1), var(--panel-2));
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* Step 1: Pulse Animation */
.step-flow-pulse {
  background: radial-gradient(circle, var(--brand-0), var(--brand-1));
  animation: flowPulse 2s ease-in-out infinite;
}

@keyframes flowPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(124, 92, 255, 0.7);
    transform: scale(0.8);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(124, 92, 255, 0);
    transform: scale(1);
  }
}

.story-step:hover .step-flow-pulse {
  animation: flowPulseHover 1.5s ease-in-out infinite;
}

@keyframes flowPulseHover {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(124, 92, 255, 0.9);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 15px rgba(124, 92, 255, 0);
    transform: scale(1.1);
  }
}

/* Step 2: Rotate Animation */
.step-flow-rotate {
  background: conic-gradient(from 0deg, var(--teal-0), var(--teal-1), var(--teal-2), var(--teal-0));
  animation: flowRotate 3s linear infinite;
}

@keyframes flowRotate {
  from {
    transform: scale(0.8) rotate(0deg);
  }

  to {
    transform: scale(0.8) rotate(360deg);
  }
}

.story-step:hover .step-flow-rotate {
  animation: flowRotateHover 2s linear infinite;
}

@keyframes flowRotateHover {
  from {
    transform: scale(1) rotate(0deg);
  }

  to {
    transform: scale(1) rotate(360deg);
  }
}

/* Step 3: Shimmer/Glow Animation */
.step-flow-shimmer {
  background: linear-gradient(45deg, var(--proof-green), var(--brand-0), var(--proof-green));
  background-size: 200% 200%;
  animation: flowShimmer 2s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(0, 255, 127, 0.5);
}

@keyframes flowShimmer {
  0% {
    background-position: 0% 50%;
    transform: scale(0.8);
  }

  50% {
    background-position: 100% 50%;
    transform: scale(0.9);
  }

  100% {
    background-position: 0% 50%;
    transform: scale(0.8);
  }
}

.story-step:hover .step-flow-shimmer {
  animation: flowShimmerHover 1.5s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(0, 255, 127, 0.8);
}

@keyframes flowShimmerHover {
  0% {
    background-position: 0% 50%;
    transform: scale(1);
  }

  50% {
    background-position: 100% 50%;
    transform: scale(1.1);
  }

  100% {
    background-position: 0% 50%;
    transform: scale(1);
  }
}

/* Step 4: Wave Animation */
.step-flow-wave {
  background: linear-gradient(90deg, var(--brand-0), var(--brand-1), var(--brand-2), var(--brand-1), var(--brand-0));
  background-size: 200% 100%;
  animation: flowWave 3s ease-in-out infinite;
  border-radius: var(--radius-full);
}

@keyframes flowWave {
  0% {
    background-position: 0% 50%;
    transform: scale(0.8) translateY(0);
  }

  50% {
    background-position: 100% 50%;
    transform: scale(0.9) translateY(-3px);
  }

  100% {
    background-position: 0% 50%;
    transform: scale(0.8) translateY(0);
  }
}

.story-step:hover .step-flow-wave {
  animation: flowWaveHover 2s ease-in-out infinite;
}

@keyframes flowWaveHover {
  0% {
    background-position: 0% 50%;
    transform: scale(1) translateY(0);
  }

  50% {
    background-position: 100% 50%;
    transform: scale(1.1) translateY(-5px);
  }

  100% {
    background-position: 0% 50%;
    transform: scale(1) translateY(0);
  }
}

/* Step 5: Bounce Animation */
.step-flow-bounce {
  background: radial-gradient(circle, var(--teal-0), var(--teal-1));
  animation: flowBounce 2s ease-in-out infinite;
}

@keyframes flowBounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: scale(0.8) translateY(0);
  }

  40% {
    transform: scale(0.9) translateY(-8px);
  }

  60% {
    transform: scale(0.85) translateY(-4px);
  }
}

.story-step:hover .step-flow-bounce {
  animation: flowBounceHover 1.5s ease-in-out infinite;
}

@keyframes flowBounceHover {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: scale(1) translateY(0);
  }

  40% {
    transform: scale(1.2) translateY(-10px);
  }

  60% {
    transform: scale(1.1) translateY(-5px);
  }
}

.card-title {
  margin: 0 0 var(--space-sm);
  font-size: 18px;
  font-weight: 600;
}

.card-meta {
  color: var(--text-muted);
  font-size: 14px;
}

/* Quote-like Statements */
.quote-statement {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  color: var(--text-0);
  margin: var(--space-xl) 0;
  position: relative;
  padding: var(--space-xl) var(--space-lg);
  background: linear-gradient(135deg, var(--panel), var(--panel-2));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  transition: all var(--t-fast) var(--ease-out);
}

.quote-statement::before {
  content: '"';
  position: absolute;
  top: var(--space-md);
  left: var(--space-lg);
  font-size: 60px;
  color: var(--brand-0);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.quote-statement::after {
  content: '"';
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-lg);
  font-size: 60px;
  color: var(--brand-0);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.quote-statement:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--brand-0);
}

.quote-statement:hover::before,
.quote-statement:hover::after {
  opacity: 0.5;
  color: var(--brand-1);
}

/* Special accent for key phrases */
.quote-statement .accent {
  color: var(--brand-2);
  font-weight: 700;
  position: relative;
}

.quote-statement .accent::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-2), transparent);
  opacity: 0.7;
}

/* Section subtitle enhancement */
.section-subtitle.quote {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-0);
  position: relative;
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--panel), var(--panel-2));
  border-radius: var(--radius-lg);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow-1);
  margin-bottom: var(--space-2xl);
}

.section-subtitle.quote::before {
  content: '"';
  position: absolute;
  top: var(--space-sm);
  left: var(--space-md);
  font-size: 40px;
  color: var(--brand-0);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.section-subtitle.quote::after {
  content: '"';
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-md);
  font-size: 40px;
  color: var(--brand-0);
  opacity: 0.3;
  font-family: Georgia, serif;
}

/* Footer quote styling */
.footer-thesis.quote-statement {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  padding: var(--space-lg);
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, var(--panel), var(--panel-2));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}

.footer-thesis.quote-statement::before {
  content: '"';
  position: absolute;
  top: var(--space-sm);
  left: var(--space-md);
  font-size: 30px;
  color: var(--brand-0);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.footer-thesis.quote-statement::after {
  content: '"';
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-md);
  font-size: 30px;
  color: var(--brand-0);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 var(--space-2xl);
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 0 var(--space-3xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero */
.hero {
  padding: var(--space-3xl) 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Aurora Background Layers */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse at center,
      rgba(124, 92, 255, 0.15) 0%,
      rgba(124, 92, 255, 0.08) 30%,
      transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(ellipse at center,
      rgba(29, 209, 161, 0.12) 0%,
      rgba(29, 209, 161, 0.06) 30%,
      transparent 70%);
  border-radius: 50%;
  filter: blur(35px);
  z-index: -2;
}

/* Noise texture overlay */
.hero-bg-noise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    repeating-linear-gradient(45deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.01) 2px,
      rgba(255, 255, 255, 0.01) 4px);
  z-index: -1;
  pointer-events: none;
}

.hero.scrolled::before,
.hero.scrolled::after {
  opacity: 0.6;
  filter: blur(25px);
}

.hero.scrolled .meta-image {
  transform: translateY(-5px) scale(0.98);
  box-shadow:
    0 0 30px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(124, 92, 255, 0.2);
}

.hero.scrolled .hero-left {
  transform: translateY(-2px);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  max-width: 1200px;
  width: 100%;
}

/* Hero Reveal Animations */
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-2);
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(15px);
  animation: heroEyebrowReveal 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.1s;
}

.hero-left {
  opacity: 0;
  transform: translateY(30px);
  animation: heroRevealLeft 0.6s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
  animation-delay: 0.2s;
}

.hero-right {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: heroRevealRight 0.6s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
  animation-delay: 0.4s;
}

.hero-left h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--brand-0), var(--brand-1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(20px);
  animation: heroTextReveal 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.6s;
}

.hero-left h1 .accent {
  position: relative;
  color: var(--brand-2);
  -webkit-text-fill-color: var(--brand-2);
}

.hero-left h1 .accent::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-2), transparent);
  opacity: 0.7;
}

/* Global Cursor Glow */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(circle at center,
      rgba(124, 92, 255, 0.15) 0%,
      rgba(124, 92, 255, 0.08) 30%,
      rgba(124, 92, 255, 0.03) 60%,
      transparent 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  filter: blur(2px);
}

/* Hide on mobile and reduced motion */
@media (max-width: 768px),
(prefers-reduced-motion: reduce) {
  .cursor-glow {
    display: none !important;
  }
}

.hero-subhead {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(15px);
  animation: heroTextReveal 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.8s;
}

.hero-subhead .accent {
  color: var(--brand-2);
  font-weight: 600;
}

.hero-actions .btn {
  opacity: 0;
  transform: translateY(10px);
  animation: heroButtonReveal 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-actions .btn:first-child {
  animation-delay: 1.0s;
}

.hero-actions .btn:last-child {
  animation-delay: 1.1s;
}

.proof-ticker {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.ticker-content {
  display: inline-flex;
  gap: 2.5rem;
  white-space: nowrap;
  will-change: transform;
}

.ticker-item {
  display: inline-block;
}

/* Animation Keyframes */
@keyframes heroEyebrowReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroRevealLeft {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroRevealRight {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroTextReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroButtonReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

  .hero-eyebrow,
  .hero-left,
  .hero-right,
  .hero-left h1,
  .hero-subhead,
  .hero-actions .btn,
  .proof-ticker {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.hero-subhead {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.hero-right {
  display: flex;
  justify-content: center;
}

.hero-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.meta-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  max-height: 300px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow:
    0 0 40px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(99, 102, 241, 0.2);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  display: block;
  cursor: pointer;
  object-fit: contain;
  padding: var(--space-lg);
}

.meta-image:hover {
  transform: translateY(-10px) scale(1.05) rotate(1deg);
  border-color: var(--accent);
  box-shadow:
    0 0 50px rgba(0, 0, 0, 0.8),
    0 0 100px rgba(124, 92, 255, 0.4);
}

.hero-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.hero-actions-secondary {
  display: flex;
  justify-content: center;
}

/* Video containers */
.video-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  width: 100%;
}

.demo-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border: none;
}

/* Full Screen Video Section */
.video-section {
  padding: 0;
  background: var(--bg);
}

.video-fullscreen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: var(--space-3xl) var(--space-md);
}

.video-container-full {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 1200px;
  margin-bottom: var(--space-xl);
}

.demo-video-full {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border: none;
}

.video-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

.section-video {
  margin-top: var(--space-lg);
  max-width: 400px;
}

/* Reels Grid */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.reel-item {
  display: flex;
  justify-content: center;
}

.reel-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 300px;
  transition: all 0.3s ease;
}

.reel-container:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  border-color: var(--accent);
}

.reel-video {
  width: 100%;
  height: auto;
  aspect-ratio: 9/16;
  /* Portrait orientation */
  border: none;
}

/* Landscape Videos */
.landscape-videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-lg);
  max-width: 1200px;
  margin: var(--space-xl) auto 0;
}

.landscape-item {
  display: flex;
  justify-content: center;
}

.landscape-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 500px;
  transition: all 0.3s ease;
}

.landscape-container:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  border-color: var(--accent);
}

.landscape-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  /* Landscape orientation */
  border: none;
}

/* Proof Ticker */
.proof-ticker {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-top: var(--space-lg);
  overflow: hidden;
  position: relative;
}

.proof-ticker::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand-1), var(--brand-0));
  animation: signalPulse 3s ease-in-out infinite;
}

.ticker-content {
  display: flex;
  animation: ticker 20s linear infinite;
}

.ticker-item {
  padding: 0 var(--space-lg);
  color: var(--text-1);
  font-size: 14px;
  white-space: nowrap;
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  cursor: pointer;
  transition: color 0.2s ease;
}

.ticker-item:hover {
  color: var(--text-0);
}

.ticker-item::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 8px var(--brand-2);
  animation: pulse 2s ease-in-out infinite;
}

.ticker-item:nth-child(2)::before {
  background: var(--brand-1);
  box-shadow: 0 0 8px var(--brand-1);
}

.ticker-item:nth-child(3)::before {
  background: var(--brand-0);
  box-shadow: 0 0 8px var(--brand-0);
}

.ticker-item:nth-child(4)::before {
  background: var(--warning);
  box-shadow: 0 0 8px var(--warning);
}

/* Tooltip styles */
.ticker-item::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--panel-2);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: var(--space-xs) var(--space-sm);
  font-size: 12px;
  color: var(--text-0);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(-50%) translateY(5px);
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.ticker-item:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes signalPulse {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Difference Section */
.difference-text {
  text-align: center;
  font-size: 18px;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Pitch Steps */
.pitch-step {
  padding: var(--space-3xl) 0;
}

.pitch-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-xl);
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.pitch-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: white;
}

.pitch-icon.orpheus {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.pitch-icon.gitviz {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.pitch-icon.nexus {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.pitch-icon.hurricane {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.pitch-icon.erd {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.pitch-details h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.pitch-details p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.pitch-details ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pitch-details li {
  padding: var(--space-xs) 0;
  color: var(--text-muted);
  font-size: 14px;
}

.pitch-details li::before {
  content: "•";
  color: var(--accent);
  margin-right: var(--space-sm);
}

/* Loop Section */
.loop-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.loop-diagram {
  margin-bottom: var(--space-lg);
}

.loop-svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.loop-node {
  cursor: pointer;
  transition: all 0.3s ease;
}

.loop-node:hover circle {
  fill: var(--accent);
  transform: scale(1.1);
}

.loop-node.active circle {
  fill: var(--accent);
  transform: scale(1.15);
}

.node-text {
  font-size: 12px;
  font-weight: 600;
  fill: var(--text);
}

.loop-status {
  text-align: center;
  font-size: 16px;
  color: var(--text-muted);
  margin-top: var(--space-md);
}

.current-step {
  color: var(--accent);
  font-weight: 600;
}

/* Evidence Grid */
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.evidence-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--t-fast) var(--ease-out);
  position: relative;
}

.evidence-card:hover {
  background: var(--surface-2);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.evidence-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.evidence-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  flex: 1;
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  margin-left: var(--space-sm);
}

.status-indicator::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  opacity: 0;
  animation: statusPulse 2s ease-in-out infinite;
}

.status-proof {
  background: var(--brand-2);
  box-shadow: 0 0 8px var(--brand-2);
}

.status-proof::before {
  background: var(--brand-2);
}

.status-teal {
  background: var(--brand-1);
  box-shadow: 0 0 8px var(--brand-1);
}

.status-teal::before {
  background: var(--brand-1);
}

.status-brand {
  background: var(--brand-0);
  box-shadow: 0 0 8px var(--brand-0);
}

.status-brand::before {
  background: var(--brand-0);
}

@keyframes statusPulse {

  0%,
  100% {
    opacity: 0;
    transform: scale(0.8);
  }

  50% {
    opacity: 0.3;
    transform: scale(1.2);
  }
}

.evidence-stats {
  display: flex;
  gap: var(--space-lg);
  margin: var(--space-md) 0;
  padding: var(--space-sm);
  background: var(--bg-0);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--brand-0);
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.evidence-card p {
  margin: 0 0 var(--space-md);
  color: var(--text-muted);
}

.evidence-card ul {
  margin: 0 0 var(--space-md);
  padding: 0;
  list-style: none;
}

.evidence-card li {
  padding: var(--space-xs) 0;
  color: var(--text-muted);
  font-size: 14px;
}

.evidence-card li::before {
  content: "•";
  color: var(--accent);
  margin-right: var(--space-sm);
}

.example {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  font-size: 12px;
  color: var(--accent);
  font-family: var(--font-mono);
  word-break: break-all;
  position: relative;
}

.example:hover {
  border-color: var(--accent);
  cursor: pointer;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  background: var(--surface-2);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.pricing-card h3 {
  margin: 0 0 var(--space-sm);
  font-size: 24px;
  font-weight: 600;
}

.price {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  margin: var(--space-sm) 0;
}

.price span {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
}

.price-desc {
  color: var(--text-muted);
  margin: 0 0 var(--space-lg);
}

.features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  text-align: center;
}

.features li {
  padding: var(--space-xs) 0;
  color: var(--text);
  text-align: center;
  display: block;
}

.contact-text {
  margin: var(--space-md) 0;
}

/* Contact */
.contact-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-info {
  width: 100%;
  max-width: 600px;
}

.contact-info h3 {
  margin: 0 0 var(--space-md);
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}

.contact-info p {
  margin: 0 0 var(--space-lg);
  color: var(--text-muted);
  text-align: center;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  text-align: center;
}

.contact-method {
  color: var(--text-muted);
}

.contact-method a {
  color: var(--accent);
  text-decoration: none;
}

.contact-method a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: var(--space-lg) 0;
  text-align: center;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-thesis {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.footer-meta {
  margin-top: var(--space-sm);
}

.footer-meta p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Utility Classes */
.mono {
  font-family: var(--font-mono);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: var(--space-lg) var(--space-md);
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    text-align: center;
  }

  .hero-left h1 {
    font-size: 24px;
    line-height: 1.0;
    margin-bottom: var(--space-xs);
  }

  .hero-subhead {
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
  }

  .hero-right {
    margin-bottom: var(--space-sm);
  }

  .hero-image-container {
    margin-bottom: 0;
  }

  .meta-image {
    max-width: 240px;
    max-height: 120px;
  }

  .proof-ticker {
    margin-top: 0;
    padding: var(--space-xs);
    font-size: 10px;
  }

  .ticker-content {
    animation: ticker-mobile 10s linear infinite;
  }

  .ticker-item {
    padding: 0 var(--space-xs);
    font-size: 9px;
  }

  @keyframes ticker-mobile {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-50%);
    }
  }

  .pitch-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-lg);
  }

  .loop-status {
    text-align: center;
  }

  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .reels-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
  }

  .video-fullscreen {
    min-height: 50vh;
    padding: var(--space-2xl) var(--space-md);
  }

  .video-container-full {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: var(--space-md) var(--space-sm);
  }

  .hero-content {
    gap: var(--space-xs);
  }

  .hero-left h1 {
    font-size: 20px;
    line-height: 1.0;
    margin-bottom: var(--space-xs);
  }

  .hero-subhead {
    font-size: 12px;
    line-height: 1.2;
    margin-bottom: var(--space-xs);
  }

  .hero-actions {
    gap: var(--space-xs);
    margin-bottom: var(--space-xs);
  }

  .hero-right {
    /* Move image above text on mobile */
    margin-bottom: var(--space-xs);
    width: 100%;
  }

  .meta-image {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
  }

  .btn {
    font-size: 12px;
    padding: var(--space-xs) var(--space-sm);
  }

  .proof-ticker {
    padding: var(--space-xs);
    font-size: 9px;
  }

  .ticker-item {
    font-size: 8px;
    padding: 0 var(--space-xs);
  }
}

/* Media containers for responsive videos */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.media iframe,
.media video {
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
}