/* styles.css */

/* ============================================
   Design System & Custom Properties
   ============================================ */
:root {
  /* Colors - Warm ink with coral accents */
  --ink: #0a0a0b;
  --ink-light: #18181b;
  --ink-muted: #27272a;
  --surface: #fafaf9;
  --surface-warm: #f5f5f4;
  --text-primary: #0a0a0b;
  --text-secondary: #52525b;
  --text-muted: #a1a1aa;
  --text-inverse: #fafaf9;
  
  /* Accent - Warm coral/amber gradient */
  --accent: #f97316;
  --accent-light: #fb923c;
  --accent-dark: #ea580c;
  --accent-glow: rgba(249, 115, 22, 0.15);
  
  /* Subtle gradients */
  --gradient-hero: linear-gradient(135deg, #fef3c7 0%, #fecaca 50%, #e9d5ff 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
  --gradient-dark: linear-gradient(180deg, var(--ink) 0%, #1f1f23 100%);
  
  /* Typography */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* 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;
  --space-4xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px var(--accent-glow);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.875rem 1.5rem;
  background: var(--ink);
  color: var(--text-inverse);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-arrow {
  transition: transform var(--transition-base);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.875rem 1.5rem;
  background: transparent;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9375rem;
  border: 1px solid var(--ink-muted);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--text-inverse);
  border-color: var(--ink);
}

.btn-ghost {
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.btn-ghost:hover {
  color: var(--text-primary);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.play-icon {
  font-size: 0.75rem;
}

/* ============================================
   Navigation
   ============================================ */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-lg) var(--space-xl);
  transition: all var(--transition-base);
}

.main-nav.scrolled {
  background: rgba(250, 250, 249, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  font-size: 1.25rem;
}

.logo-icon {
  font-size: 1.5rem;
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8rem var(--space-xl) var(--space-4xl);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.5;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease backwards;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

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

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--ink);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease 0.1s backwards;
}

.hero-title-accent {
  font-style: italic;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
  animation: fadeInUp 0.6s ease 0.3s backwards;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  animation: fadeInUp 0.6s ease 0.4s backwards;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--ink);
}

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

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--ink-muted);
  opacity: 0.2;
}

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

/* Hero Visual / Dashboard Preview */
.hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: var(--space-3xl) auto 0;
  animation: fadeInUp 0.8s ease 0.5s backwards;
}

.dashboard-preview {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: 0;
  overflow: hidden;
  box-shadow: 
    var(--shadow-xl),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.preview-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

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

.preview-title {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.preview-content {
  display: flex;
  min-height: 300px;
}

.preview-sidebar {
  width: 60px;
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.sidebar-item {
  width: 100%;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.sidebar-item.active {
  background: var(--accent);
}

.preview-main {
  flex: 1;
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-md);
}

.preview-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-1 {
  grid-column: span 2;
}

.card-header {
  width: 40%;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

/* Checklist Items in Dashboard Preview */
.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-box {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: transparent;
  transition: all 0.3s ease;
}

.checklist-item.checked .check-box {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.check-text {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  flex: 1;
}

.checklist-item:nth-child(1) .check-text { width: 85%; }
.checklist-item:nth-child(2) .check-text { width: 70%; }
.checklist-item:nth-child(3) .check-text { width: 90%; }
.checklist-item:nth-child(4) .check-text { width: 60%; }

/* Platform Icons */
.platform-icons {
  display: flex;
  gap: 8px;
  margin-bottom: var(--space-md);
}

.platform-icon {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.platform-icon:first-child { background: #1877f2; color: white; }
.platform-icon:nth-child(2) { background: #0a66c2; color: white; }
.platform-icon:nth-child(3) { background: #ea4335; color: white; }

.card-bar {
  height: 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

.bar-1 { width: 85%; background: var(--accent); opacity: 0.9; }
.bar-2 { width: 60%; }

/* AI Sparkle */
.ai-sparkle {
  font-size: 24px;
  margin-bottom: var(--space-sm);
  animation: sparkle 2s ease infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.card-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-lines span {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  animation: typewriter 1.5s ease infinite;
}

.card-lines span:nth-child(1) { width: 100%; animation-delay: 0s; }
.card-lines span:nth-child(2) { width: 80%; animation-delay: 0.2s; }
.card-lines span:nth-child(3) { width: 45%; animation-delay: 0.4s; }

@keyframes typewriter {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ============================================
   Logos Section
   ============================================ */
.logos-section {
  padding: var(--space-4xl) var(--space-xl);
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.logos-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xl);
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4xl);
  flex-wrap: wrap;
}

.logo-item {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-muted);
  opacity: 0.6;
  transition: opacity var(--transition-base);
}

.logo-item:hover {
  opacity: 1;
}

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

.section-tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: var(--accent-glow);
  color: var(--accent-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--ink);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
  padding: var(--space-4xl) var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(20px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card.visible:hover {
  transform: translateY(-4px);
}

.feature-card-large {
  grid-column: span 1;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  max-width: 48px;
  max-height: 48px;
  background: var(--ink);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  overflow: hidden;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  max-width: 24px;
  max-height: 24px;
  color: white;
  flex-shrink: 0;
}

.feature-title {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Expandable Feature Cards */
.feature-card[data-expandable] {
  cursor: pointer;
  position: relative;
}

.feature-card-header {
  display: flex;
  flex-direction: column;
}

.feature-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding: 0.625rem 1rem;
  background: var(--surface-warm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
  align-self: flex-start;
}

.feature-expand-btn:hover {
  background: var(--ink);
  color: var(--text-inverse);
  border-color: var(--ink);
}

.expand-icon {
  transition: transform var(--transition-base);
}

.feature-card.is-active .expand-icon {
  transform: rotate(180deg);
}

/* Active feature button styling */
.feature-card.is-active .feature-expand-btn {
  background: var(--ink);
  color: var(--text-inverse);
  border-color: var(--ink);
}

/* Keep per-card details as hidden templates (JS clones into overlay) */
.feature-details-panel {
  display: none;
}

/* Feature Details Overlay (centered, no dimmed backdrop) */
.feature-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.feature-overlay.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: none;
}

.feature-overlay-surface {
  width: min(1200px, 100%);
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-height: min(80vh, 760px);
  overflow: auto;
  pointer-events: auto;
}

.feature-details-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl);
}

.feature-details-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.feature-details-header > div:nth-child(2) {
  flex: 1;
}

.feature-details-header .feature-title {
  margin-bottom: var(--space-xs);
}

.feature-details-header .feature-desc {
  margin: 0;
}

.feature-close-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-warm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  font-size: 1.25rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.feature-close-btn:hover {
  background: var(--ink);
  color: var(--text-inverse);
  border-color: var(--ink);
}

.feature-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.detail-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.detail-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
}

.detail-content {
  flex: 1;
}

.detail-content strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}

.detail-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Responsive adjustments for feature details */
@media (max-width: 1024px) {
  .feature-details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .feature-details-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-details-header {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .feature-close-btn {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
  }
  
  .feature-details-content {
    padding: var(--space-xl) var(--space-md);
  }
}

.feature-visual {
  margin-top: auto;
  padding-top: var(--space-xl);
}

.checklist-visual {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.mini-checklist {
  display: flex;
  gap: 6px;
}

.mini-check {
  width: 24px;
  height: 24px;
  border: 2px solid var(--ink-muted);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.mini-check.done {
  background: var(--accent);
  border-color: var(--accent);
  position: relative;
}

.mini-check.done::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.checklist-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
  padding: var(--space-4xl) var(--space-xl);
  background: var(--ink);
  color: var(--text-inverse);
}

.testimonials-section .section-tag {
  background: rgba(249, 115, 22, 0.2);
  color: var(--accent-light);
}

.testimonials-section .section-title {
  color: white;
}

.testimonials-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.testimonial-featured {
  background: var(--gradient-accent);
  border-color: transparent;
}

.testimonial-featured:hover {
  background: var(--gradient-accent);
}

.testimonial-content {
  margin-bottom: var(--space-xl);
}

.testimonial-content p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-featured .testimonial-content p {
  color: white;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.testimonial-featured .author-avatar {
  background: rgba(0, 0, 0, 0.2);
  color: white;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: white;
}

.author-role {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.testimonial-featured .author-role {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-section {
  padding: var(--space-4xl) var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: start;
}

.pricing-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

.pricing-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1rem;
  background: var(--gradient-accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
}

.pricing-header {
  margin-bottom: var(--space-lg);
}

.pricing-name {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}

.pricing-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.pricing-price {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--ink);
}

.price-period {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-features {
  margin-bottom: var(--space-xl);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.pricing-features .check {
  color: var(--accent);
  font-weight: 600;
}

.pricing-cta {
  width: 100%;
  justify-content: center;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  position: relative;
  padding: var(--space-4xl) var(--space-xl);
  overflow: hidden;
}

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

.cta-gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.6;
}

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

.cta-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--ink);
  margin-bottom: var(--space-md);
}

.cta-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

.cta-actions {
  margin-bottom: var(--space-lg);
}

.cta-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================
   Footer
   ============================================ */
.main-footer {
  background: var(--ink);
  color: var(--text-inverse);
  padding: var(--space-4xl) var(--space-xl) var(--space-xl);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: var(--space-4xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand .logo {
  margin-bottom: var(--space-md);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  display: flex;
  gap: var(--space-4xl);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-column h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-sm);
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .feature-card-large {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .stat-divider {
    width: 40px;
    height: 1px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card-large {
    grid-column: span 1;
  }
  
  .preview-sidebar {
    display: none;
  }
  
  .preview-main {
    grid-template-columns: 1fr;
  }
  
  .card-1 {
    grid-column: span 1;
  }
  
  .footer-container {
    flex-direction: column;
    gap: var(--space-2xl);
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: var(--space-2xl);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }
  
  .logos-row {
    gap: var(--space-xl);
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 6rem var(--space-md) var(--space-2xl);
  }
  
  .nav-container {
    padding: 0 var(--space-md);
  }
  
  .hero-visual {
    margin-top: var(--space-2xl);
  }
  
  .btn-large {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }
}

/* ============================================
   Staggered Animation Delays
   ============================================ */
.feature-card:nth-child(1) { transition-delay: 0ms; }
.feature-card:nth-child(2) { transition-delay: 100ms; }
.feature-card:nth-child(3) { transition-delay: 200ms; }
.feature-card:nth-child(4) { transition-delay: 300ms; }
.feature-card:nth-child(5) { transition-delay: 400ms; }

.testimonial-card:nth-child(1) { transition-delay: 0ms; }
.testimonial-card:nth-child(2) { transition-delay: 150ms; }
.testimonial-card:nth-child(3) { transition-delay: 300ms; }

.pricing-card:nth-child(1) { transition-delay: 0ms; }
.pricing-card:nth-child(2) { transition-delay: 150ms; }
.pricing-card:nth-child(3) { transition-delay: 300ms; }
