/* ClaimCheck Marketing Site - CSS Styling */

/* ============================================
   CSS Custom Properties & Design Tokens
   ============================================ */
:root {
  /* Primary Teal Palette */
  --primary-50: #f0fdfa;
  --primary-100: #ccfbf1;
  --primary-200: #99f6e4;
  --primary-300: #5eead4;
  --primary-400: #2dd4bf;
  --primary-500: #14b8a6;
  --primary-600: #0d9488;
  --primary-700: #0f766e;
  --primary-800: #115e59;
  --primary-900: #134e4a;

  /* Stone Neutrals */
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;

  /* Accent Orange */
  --accent-400: #fb923c;
  --accent-500: #f97316;
  --accent-600: #ea580c;

  /* Status Colors */
  --status-open: #0d9488;
  --status-progress: #8b5cf6;
  --status-pending: #f59e0b;
  --status-complete: #22c55e;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Typography */
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 40px -10px var(--primary-500);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--stone-800);
  background: var(--stone-50);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 0%, var(--primary-100) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, var(--primary-50) 0%, transparent 50%),
    linear-gradient(180deg, var(--stone-50) 0%, white 100%);
  z-index: -2;
  animation: backgroundShift 20s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
  0% { opacity: 1; }
  100% { opacity: 0.7; }
}

/* Noise Texture Overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.015;
  z-index: -1;
  pointer-events: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--stone-900);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-md);
  color: var(--stone-600);
}

a {
  color: var(--primary-700);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-500);
}

/* ============================================
   Layout Components
   ============================================ */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-3xl) 0;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) var(--space-xl);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(231, 229, 228, 0.5);
  transition: all var(--transition-base);
}

.nav.scrolled {
  padding: var(--space-sm) var(--space-xl);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--stone-900);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-700);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
}

.nav-links {
  display: flex;
  gap: var(--space-xs);
  list-style: none;
}

.nav-links a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--stone-600);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-700);
  background: var(--primary-50);
}

.nav-cta {
  margin-left: var(--space-md);
  padding: var(--space-sm) var(--space-lg) !important;
  font-size: 0.9rem !important;
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm);
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 1000;
  margin-top: var(--space-xs);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--stone-600);
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  color: var(--primary-700);
  background: var(--primary-50);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-full);
  color: var(--primary-700);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease-out;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary-500);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero h1 {
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--stone-500);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Floating Elements */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-300);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--primary-200);
  bottom: -50px;
  left: -50px;
  animation-delay: -5s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--accent-400);
  top: 50%;
  left: 10%;
  animation-delay: -10s;
  opacity: 0.2;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, -20px) rotate(5deg); }
  50% { transform: translate(-10px, 20px) rotate(-5deg); }
  75% { transform: translate(30px, 10px) rotate(3deg); }
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-700);
  color: white;
  box-shadow: 0 4px 14px -3px rgba(15, 118, 110, 0.4);
}

.btn-primary:hover {
  background: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -3px rgba(15, 118, 110, 0.5);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--stone-700);
  border: 1px solid var(--stone-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--stone-50);
  border-color: var(--stone-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-700);
  padding: var(--space-sm) var(--space-md);
}

.btn-ghost:hover {
  background: var(--primary-50);
}

.btn-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--stone-200);
  box-shadow: var(--shadow-sm);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--primary-700);
  font-size: 1.5rem;
  transition: all var(--transition-base);
}

.card:hover .card-icon {
  background: var(--primary-100);
  transform: scale(1.1);
}

.card h3 {
  margin-bottom: var(--space-sm);
}

.card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

/* ============================================
   Flow/Timeline Visualization
   ============================================ */
.flow-container {
  position: relative;
  padding: var(--space-2xl) 0;
}

.flow-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.flow-timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-500), var(--primary-200));
  border-radius: var(--radius-full);
}

.flow-step {
  display: flex;
  gap: var(--space-xl);
  position: relative;
  animation: fadeInLeft 0.5s ease-out both;
}

.flow-step:nth-child(1) { animation-delay: 0.1s; }
.flow-step:nth-child(2) { animation-delay: 0.2s; }
.flow-step:nth-child(3) { animation-delay: 0.3s; }
.flow-step:nth-child(4) { animation-delay: 0.4s; }
.flow-step:nth-child(5) { animation-delay: 0.5s; }
.flow-step:nth-child(6) { animation-delay: 0.6s; }
.flow-step:nth-child(7) { animation-delay: 0.7s; }
.flow-step:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.flow-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: white;
  border: 3px solid var(--primary-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-700);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
  transition: all var(--transition-base);
}

.flow-step:hover .flow-number {
  background: var(--primary-700);
  color: white;
  transform: scale(1.1);
}

.flow-content {
  flex: 1;
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--stone-200);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.flow-step:hover .flow-content {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
}

.flow-content h4 {
  color: var(--stone-900);
  margin-bottom: var(--space-sm);
}

.flow-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.flow-meta {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

.flow-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: var(--stone-100);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  color: var(--stone-600);
  font-weight: 500;
}

.flow-tag.highlight {
  background: var(--primary-50);
  color: var(--primary-700);
}

/* ============================================
   Screen Preview Cards
   ============================================ */
.screen-preview {
  background: white;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--stone-200);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.screen-preview:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.screen-header {
  background: var(--stone-800);
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

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

.screen-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--stone-600);
}

.screen-dots span:nth-child(1) { background: #ff5f57; }
.screen-dots span:nth-child(2) { background: #febc2e; }
.screen-dots span:nth-child(3) { background: #28c840; }

.screen-url {
  flex: 1;
  background: var(--stone-700);
  border-radius: var(--radius-md);
  padding: var(--space-xs) var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--stone-400);
}

.screen-body {
  padding: var(--space-xl);
  min-height: 300px;
  background: linear-gradient(135deg, var(--stone-50), white);
}

/* ============================================
   Stats & Metrics
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

.stat-card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--stone-200);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--stone-500);
  font-weight: 500;
}

/* ============================================
   Role Cards
   ============================================ */
.role-card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--stone-200);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.role-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.role-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--stone-100);
}

.role-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
}

.role-info h4 {
  margin-bottom: var(--space-xs);
}

.role-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: var(--primary-50);
  color: var(--primary-700);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.role-permissions {
  list-style: none;
}

.role-permissions li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  color: var(--stone-600);
  font-size: 0.9rem;
}

.role-permissions li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: var(--status-complete);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ============================================
   Status Badges
   ============================================ */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.status-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-open {
  background: rgba(13, 148, 136, 0.1);
  color: var(--status-open);
}
.status-open::before { background: var(--status-open); }

.status-progress {
  background: rgba(139, 92, 246, 0.1);
  color: var(--status-progress);
}
.status-progress::before { background: var(--status-progress); }

.status-pending {
  background: rgba(245, 158, 11, 0.1);
  color: var(--status-pending);
}
.status-pending::before { background: var(--status-pending); }

.status-complete {
  background: rgba(34, 197, 94, 0.1);
  color: var(--status-complete);
}
.status-complete::before { background: var(--status-complete); }

/* ============================================
   Page Header
   ============================================ */
.page-header {
  padding: calc(80px + var(--space-3xl)) 0 var(--space-2xl);
  text-align: center;
  position: relative;
}

.page-header h1 {
  margin-bottom: var(--space-md);
}

.page-header p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--stone-500);
}

.breadcrumb span {
  color: var(--stone-400);
}

.breadcrumb .current {
  color: var(--primary-700);
  font-weight: 500;
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--primary-50);
  color: var(--primary-700);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

/* ============================================
   Quote/Highlight Box
   ============================================ */
.highlight-box {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-600));
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.highlight-box h3 {
  color: white;
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
  position: relative;
}

.highlight-box p {
  color: var(--primary-100);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* ============================================
   Table of Contents
   ============================================ */
.toc {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--stone-200);
  padding: var(--space-xl);
  position: sticky;
  top: 100px;
}

.toc h4 {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--stone-100);
}

.toc-list {
  list-style: none;
}

.toc-list li {
  margin-bottom: var(--space-sm);
}

.toc-list a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--stone-600);
  font-size: 0.9rem;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.toc-list a:hover {
  background: var(--primary-50);
  color: var(--primary-700);
}

.toc-list a::before {
  content: '→';
  color: var(--stone-400);
  transition: all var(--transition-fast);
}

.toc-list a:hover::before {
  color: var(--primary-500);
  transform: translateX(4px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--stone-900);
  color: var(--stone-400);
  padding: var(--space-2xl);
  margin-top: var(--space-3xl);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-logo .logo-icon {
  width: 32px;
  height: 32px;
  font-size: 1rem;
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.footer-links a {
  color: var(--stone-400);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-primary { color: var(--primary-700); }
.text-muted { color: var(--stone-500); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* ============================================
   Mobile Navigation
   ============================================ */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--stone-700);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-menu-checkbox {
  display: none;
}

.mobile-menu-checkbox:checked ~ .mobile-menu-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-checkbox:checked ~ .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-checkbox:checked ~ .mobile-menu-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav-menu {
  display: none;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-cta.desktop-only {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .mobile-nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    z-index: 9999;
    padding-top: 80px;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    overflow-y: auto;
  }

  .mobile-menu-checkbox:checked ~ .mobile-nav-menu {
    display: flex;
  }

  .mobile-nav-menu a {
    display: block;
    padding: var(--space-md) var(--space-xl);
    color: var(--stone-700);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.25rem;
    text-align: center;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    width: 80%;
    max-width: 300px;
  }

  .mobile-nav-menu a:hover {
    background: var(--primary-50);
    color: var(--primary-700);
  }

  .mobile-nav-menu .mobile-nav-divider {
    width: 60%;
    max-width: 200px;
    height: 1px;
    background: var(--stone-200);
    margin: var(--space-sm) 0;
  }

  .mobile-nav-menu .mobile-nav-section {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--stone-400);
    margin-top: var(--space-md);
    margin-bottom: var(--space-xs);
  }

  .mobile-nav-menu .btn-primary {
    margin-top: var(--space-lg);
    width: 80%;
    max-width: 300px;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding: calc(80px + var(--space-2xl)) var(--space-md) var(--space-2xl);
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

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

  .flow-step {
    flex-direction: column;
    align-items: flex-start;
  }

  .flow-timeline::before {
    display: none;
  }

  .flow-number {
    margin-bottom: var(--space-md);
  }

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

/* ============================================
   Print Styles
   ============================================ */
@media print {
  .nav, .footer {
    display: none;
  }

  body::before, body::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: var(--space-xl);
  }

  .card, .flow-content, .screen-preview {
    break-inside: avoid;
  }
}
