/* ========================================
   清晰FLOW 引导页样式
   深色系设计，参考 Linear、Vercel、Resend
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* 深色系色调 - 精确匹配 Figma 设计 */
  --color-deepest: #070b12;
  --color-deep-1: #0a0f1c;
  --color-deep-2: #0c1220;
  --color-card: #111827;
  --color-card-hover: #1a2332;
  --color-hover: #141e33;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(99, 102, 241, 0.3);
  
  /* 文字颜色 */
  --color-text-primary: #f9fafb;
  --color-text-secondary: #d1d5db;
  --color-text-muted: #9ca3af;
  --color-text-dim: #6b7280;
  
  /* 品牌色 */
  --color-brand: #6366f1;
  --color-brand-light: #818cf8;
  --color-brand-dark: #4f46e5;
  --color-brand-glow: rgba(99, 102, 241, 0.4);
  
  /* 功能色 */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-purple: #8b5cf6;
  --color-pink: #ec4899;
  
  /* 间距 */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  --spacing-4xl: 8rem;
  
  /* 动画 */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
  
  /* 阴影 */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  background: var(--color-deepest);
  color: var(--color-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  overflow-x: hidden;
}

/* ========================================
   Navigation
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 11, 18, 0.5);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.nav.scrolled {
  background: rgba(7, 11, 18, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.nav-brand:hover {
  opacity: 0.9;
}

.nav-logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
  transition: all var(--transition-base);
}

.nav-logo:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
}

.nav-brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.nav-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-brand);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

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

.nav-link:hover::after {
  transform: scaleX(1);
}

.btn-nav-cta {
  padding: 0.625rem 1.5rem;
  background: var(--color-brand);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--transition-base);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.btn-nav-cta:hover {
  background: var(--color-brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  padding: 8rem 2.5rem 4rem;
  background: var(--color-deepest);
  position: relative;
  overflow: hidden;
  min-height: auto;
}

/* 背景渐变效果 */
.hero-bg-gradient {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 1400px;
  height: 1400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.04) 30%, transparent 70%);
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.7; transform: translateX(-50%) scale(1.05); }
}

/* 网格背景 */
.hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  pointer-events: none;
}

/* 底部渐变过渡 */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, transparent, var(--color-deep-1));
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1.25rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 24px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #93c5fd;
  margin-bottom: 2.5rem;
  transition: all var(--transition-base);
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge svg {
  flex-shrink: 0;
  animation: blink 2s ease-in-out infinite;
}

.badge-version {
  margin-left: 0.5rem;
  padding: 0.125rem 0.5rem;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #60a5fa;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.title-main {
  display: block;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.title-highlight {
  display: block;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn-hero-primary,
.btn-hero-secondary {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.btn-hero-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 0.5s ease;
}

.btn-hero-primary:hover::before {
  left: 100%;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(59, 130, 246, 0.45);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-features {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.hero-feature svg {
  color: #10b981;
  flex-shrink: 0;
}

/* Product Screenshot */
.hero-screenshot {
  animation: fadeInUp 0.8s ease-out 0.5s both;
  perspective: 1500px;
}

.screenshot-window {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  transition: all var(--transition-slow);
}

.screenshot-window:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.window-header {
  display: flex;
  align-items: center;
  padding: 0.875rem 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.window-dots {
  display: flex;
  gap: 0.5rem;
  margin-right: auto;
}

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

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
}

.screenshot-content {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(17, 24, 39, 0.8) 100%);
}

.screenshot-placeholder {
  display: flex;
  gap: 1.5rem;
  min-height: 400px;
}

.placeholder-sidebar {
  width: 200px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-item {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.sidebar-item.active {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.sidebar-item:hover:not(.active) {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
}

.placeholder-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.main-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all var(--transition-base);
  cursor: pointer;
}

.card:hover {
  transform: translateY(-2px);
}

.card-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.card-purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0.05) 100%);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.card-green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.card-icon {
  font-size: 1.5rem;
}

.card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.card-action {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  transition: all var(--transition-fast);
}

.card-blue .card-action {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.card-purple .card-action {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
}

.card-green .card-action {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.main-table {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr 0.5fr;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.table-row:last-child {
  border-bottom: none;
}

.table-header {
  background: rgba(0, 0, 0, 0.3);
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}

.table-row:not(.table-header) {
  color: var(--color-text-secondary);
}

.text-blue {
  color: #60a5fa;
  font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
}

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

/* ========================================
   Stats Section
   ======================================== */

.stats {
  padding: var(--spacing-3xl) 2.5rem;
  background: var(--color-deepest);
  border-bottom: 1px solid var(--color-border);
}

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

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

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

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--color-border);
}

/* ========================================
   Pain Points Section
   ======================================== */

.pain-points {
  padding: var(--spacing-4xl) 2.5rem;
  background: var(--color-deep-1);
}

.pain-points-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.badge-dot-red {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

.badge-dot-blue {
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
}

.badge-dot-purple {
  width: 8px;
  height: 8px;
  background: #8b5cf6;
  border-radius: 50%;
}

.badge-dot-gray {
  width: 8px;
  height: 8px;
  background: #6b7280;
  border-radius: 50%;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: var(--spacing-2xl);
}

.pain-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: left;
  transition: all var(--transition-slow);
}

.pain-card:hover {
  background: var(--color-card-hover);
  border-color: rgba(239, 68, 68, 0.3);
  transform: translateY(-4px);
}

.pain-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition-base);
}

.pain-icon-red {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.pain-card:hover .pain-icon {
  transform: scale(1.1);
}

.pain-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}

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

/* ========================================
   Solutions Section
   ======================================== */

.solutions {
  padding: var(--spacing-4xl) 2.5rem;
  background: var(--color-deep-2);
}

.solutions-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: var(--spacing-2xl);
}

.solution-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: left;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.solution-blue::before {
  background: linear-gradient(90deg, #3b82f6, #6366f1);
}

.solution-purple::before {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.solution-green::before {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.solution-card:hover::before {
  opacity: 1;
}

.solution-card:hover {
  background: var(--color-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.solution-blue:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.solution-purple:hover {
  border-color: rgba(139, 92, 246, 0.3);
}

.solution-green:hover {
  border-color: rgba(16, 185, 129, 0.3);
}

.solution-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all var(--transition-base);
}

.solution-blue .solution-icon {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
}

.solution-purple .solution-icon {
  background: rgba(139, 92, 246, 0.1);
  color: #a78bfa;
}

.solution-green .solution-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
}

.solution-card:hover .solution-icon {
  transform: scale(1.1) rotate(5deg);
}

.solution-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.solution-subtitle {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.solution-blue .solution-subtitle {
  color: #60a5fa;
}

.solution-purple .solution-subtitle {
  color: #a78bfa;
}

.solution-green .solution-subtitle {
  color: #34d399;
}

.solution-desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.solution-tag {
  padding: 0.375rem 0.875rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.solution-card:hover .solution-tag {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-secondary);
}

/* ========================================
   Features Section (New Design)
   ======================================== */

.features {
  padding: var(--spacing-4xl) 2.5rem;
  background: var(--color-deep-1);
  position: relative;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.features-grid-new {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: var(--spacing-2xl);
}

.feature-card-new {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  text-align: left;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.feature-card-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-mask {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.06) 0%, rgba(239, 68, 68, 0.02) 100%);
}

.feature-mask::before {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

.feature-mask:hover {
  border-color: rgba(239, 68, 68, 0.3);
}

.feature-clean {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.06) 0%, rgba(245, 158, 11, 0.02) 100%);
}

.feature-clean::before {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.feature-clean:hover {
  border-color: rgba(245, 158, 11, 0.3);
}

.feature-convert {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, rgba(59, 130, 246, 0.02) 100%);
}

.feature-convert::before {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.feature-convert:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.feature-compute {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.06) 0%, rgba(139, 92, 246, 0.02) 100%);
}

.feature-compute::before {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.feature-compute:hover {
  border-color: rgba(139, 92, 246, 0.3);
}

.feature-aggregate {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(16, 185, 129, 0.02) 100%);
}

.feature-aggregate::before {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.feature-aggregate:hover {
  border-color: rgba(16, 185, 129, 0.3);
}

.feature-card-new:hover::before {
  opacity: 1;
}

.feature-card-new:hover {
  background: var(--color-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

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

.feature-mask .feature-dot {
  background: #ef4444;
}

.feature-clean .feature-dot {
  background: #f59e0b;
}

.feature-convert .feature-dot {
  background: #3b82f6;
}

.feature-compute .feature-dot {
  background: #8b5cf6;
}

.feature-aggregate .feature-dot {
  background: #10b981;
}

.feature-label {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.feature-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.feature-list-new {
  list-style: none;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 2;
}

.feature-list-new li {
  position: relative;
  padding-left: 0;
  transition: color var(--transition-fast);
}

.feature-card-new:hover .feature-list-new li {
  color: var(--color-text-primary);
}

/* ========================================
   UX Experience Section
   ======================================== */

.ux-experience {
  padding: var(--spacing-4xl) 2.5rem;
  background: var(--color-deep-1);
  position: relative;
}

.ux-experience-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.ux-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  text-align: left;
}

.ux-feature-card {
  background: var(--color-deep-2);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ux-feature-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 24px rgba(99,102,241,0.1);
}

.ux-feature-card-wide {
  grid-column: 1 / -1;
}

.ux-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ux-icon-blue   { background: rgba(99,102,241,0.15); color: #818cf8; }
.ux-icon-green  { background: rgba(76,175,125,0.15); color: #4caf7d; }
.ux-icon-purple { background: rgba(167,139,250,0.15); color: #a78bfa; }
.ux-icon-orange { background: rgba(251,146,60,0.15);  color: #fb923c; }
.ux-icon-teal   { background: rgba(45,212,191,0.15);  color: #2dd4bf; }

.ux-feature-body {
  flex: 1;
  min-width: 0;
}

.ux-feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 0.5rem;
}

.ux-feature-desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0 0 1rem;
}

/* Diff preview */
.ux-diff-preview {
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.78rem;
  font-family: 'SF Mono', monospace;
}

.ux-diff-row {
  display: grid;
  grid-template-columns: 90px 1fr 20px 1fr;
  gap: 0.25rem;
  align-items: center;
  padding: 3px 6px;
  border-radius: 4px;
  margin-bottom: 3px;
}

.ux-diff-unchanged { background: transparent; }
.ux-diff-modified  { background: rgba(251,191,36,0.1); }
.ux-diff-added     { background: rgba(76,175,125,0.12); }
.ux-diff-deleted   { background: rgba(239,68,68,0.1); }

.ux-diff-label { color: var(--color-text-secondary); font-size: 0.75rem; }
.ux-diff-val   { color: var(--color-text-primary); }
.ux-diff-old   { color: #f87171; text-decoration: line-through; opacity: 0.7; }
.ux-diff-new   { color: #4caf7d; font-weight: 600; }
.ux-diff-empty { color: var(--color-text-secondary); opacity: 0.5; }
.ux-diff-arrow { color: var(--color-text-secondary); text-align: center; }

/* Nav bar preview */
.ux-nav-preview {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 0.75rem;
}

.ux-nav-track {
  width: 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 5px;
  position: relative;
  height: 120px;
  flex-shrink: 0;
}

.ux-nav-marker {
  position: absolute;
  left: 1px;
  width: 8px;
  height: 6px;
  background: #4caf7d;
  border-radius: 2px;
  opacity: 0.8;
}

.ux-nav-marker-current {
  opacity: 1;
  box-shadow: 0 0 6px rgba(76,175,125,0.6);
}

.ux-nav-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ux-nav-line {
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
}

.ux-nav-line-changed {
  background: rgba(76,175,125,0.25);
  border-left: 2px solid #4caf7d;
}

.ux-nav-line-active {
  background: rgba(76,175,125,0.4);
  border-left: 2px solid #4caf7d;
  box-shadow: 0 0 6px rgba(76,175,125,0.3);
}

.ux-nav-tip {
  font-size: 0.72rem;
  color: var(--color-text-secondary);
  white-space: nowrap;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Formula preview */
.ux-formula-preview {
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 0.75rem;
}

.ux-formula-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.ux-formula-label {
  font-size: 0.72rem;
  color: var(--color-text-secondary);
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.ux-formula-code {
  font-family: 'SF Mono', monospace;
  font-size: 0.78rem;
  color: #a78bfa;
  background: rgba(167,139,250,0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

.ux-formula-results { display: flex; flex-direction: column; gap: 4px; }

.ux-formula-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.ux-formula-field { color: var(--color-text-secondary); flex: 1; }
.ux-formula-arrow { color: var(--color-text-secondary); }

.ux-formula-result {
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
}

.ux-result-alert { background: rgba(239,68,68,0.15); color: #f87171; }
.ux-result-ok    { background: rgba(76,175,125,0.15); color: #4caf7d; }

/* Rule list preview */
.ux-rulelist-preview {
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ux-rule-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  transition: background 0.15s;
}

.ux-rule-item:hover    { background: rgba(255,255,255,0.05); }
.ux-rule-item-active   { background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.3); }

.ux-rule-seq  { color: var(--color-text-secondary); font-size: 0.72rem; width: 16px; flex-shrink: 0; }
.ux-rule-name { color: var(--color-text-primary); flex: 1; }
.ux-rule-drag { color: var(--color-text-secondary); opacity: 0.4; cursor: grab; font-size: 1rem; }

.ux-rule-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ux-rule-mask      { background: #818cf8; }
.ux-rule-clean     { background: #fb923c; }
.ux-rule-compute   { background: #a78bfa; }
.ux-rule-aggregate { background: #2dd4bf; }

/* Steps preview */
.ux-steps-preview {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.ux-step {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

.ux-step-num {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.ux-step-text {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
}

.ux-step-arrow {
  color: var(--color-text-secondary);
  opacity: 0.5;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .ux-features-grid {
    grid-template-columns: 1fr;
  }
  .ux-feature-card-wide {
    grid-column: 1;
  }
  .ux-feature-card {
    flex-direction: column;
  }
  .ux-steps-preview {
    flex-direction: column;
    align-items: flex-start;
  }
  .ux-step-arrow {
    transform: rotate(90deg);
  }
}

/* ========================================
   Workflow Section (New Design)
   ======================================== */

.workflow {
  padding: var(--spacing-4xl) 2.5rem;
  background: var(--color-deep-2);
  position: relative;
}

.workflow-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.workflow-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: var(--spacing-2xl);
  margin-bottom: var(--spacing-xl);
}

.workflow-tab {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: inherit;
}

.workflow-tab svg {
  flex-shrink: 0;
}

.workflow-tab.active {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

.workflow-tab:hover:not(.active) {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.tab-badge {
  padding: 0.25rem 0.625rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.workflow-tab.active .tab-badge {
  background: rgba(59, 130, 246, 0.2);
}

.workflow-content {
  position: relative;
}

.workflow-panel {
  display: none;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 3rem;
}

.workflow-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  animation: fadeInUp 0.6s ease-out;
}

.workflow-info {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.workflow-panel-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.workflow-panel-desc {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.workflow-formats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.workflow-format-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.workflow-format-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.format-tag {
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  font-size: 0.875rem;
  color: #60a5fa;
  font-weight: 600;
  font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
}

.format-tag-purple {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
}

.format-tag-orange {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.workflow-features {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.workflow-features-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 1.25rem;
}

.workflow-features-list {
  list-style: none;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 2.2;
  text-align: left;
}

.workflow-features-list li {
  position: relative;
  padding-left: 1.75rem;
}

.workflow-features-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: #60a5fa;
  font-size: 0.75rem;
}

/* ========================================
   Section Common Styles
   ======================================== */

.section-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  font-weight: 400;
  margin-bottom: 0;
}

/* ========================================
   Use Cases Section
   ======================================== */

.use-cases {
  padding: var(--spacing-4xl) 2.5rem;
  background: var(--color-deep-1);
}

.use-cases-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: var(--spacing-2xl);
}

.use-case-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: left;
  transition: all var(--transition-slow);
}

.use-case-card:hover {
  background: var(--color-card-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.use-case-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition-base);
}

.use-case-card:hover .use-case-icon {
  transform: scale(1.1);
  background: rgba(59, 130, 246, 0.15);
}

.use-case-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}

.use-case-desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.use-case-list {
  list-style: none;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 2;
}

.use-case-list li {
  position: relative;
  padding-left: 1.5rem;
}

.use-case-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

/* ========================================
   Comparison Section
   ======================================== */

.comparison {
  padding: var(--spacing-4xl) 2.5rem;
  background: var(--color-deep-2);
}

.comparison-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.comparison-subsection {
  margin-top: calc(var(--spacing-3xl) - 0.5rem);
}

.comparison-sub-badge {
  margin-bottom: 1rem;
}

.comparison-subtitle {
  max-width: 920px;
  margin: 0 auto;
  font-size: 1.75rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
}

.comparison-note {
  max-width: 860px;
  margin: 1rem auto 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.comparison-table {
  margin-top: var(--spacing-2xl);
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
}

.comparison-table-ai {
  position: relative;
  background:
    linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, rgba(17, 24, 39, 0.92) 16%),
    var(--color-card);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.comparison-table-ai::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(129, 140, 248, 0.18);
  pointer-events: none;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1.8fr;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--color-border);
}

.comparison-header-ai {
  background: linear-gradient(90deg, rgba(79, 70, 229, 0.24) 0%, rgba(17, 24, 39, 0.62) 100%);
}

.comparison-col {
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-align: left;
}

.comparison-highlight {
  color: #60a5fa;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1.8fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background var(--transition-fast);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-row-ai:hover {
  background: rgba(129, 140, 248, 0.045);
}

.comparison-cell {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.comparison-cell:first-child {
  font-weight: 600;
  color: var(--color-text-primary);
  font-size: 0.9375rem;
}

.comparison-issue {
  font-size: 0.875rem;
  color: #ef4444;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comparison-solution {
  background: rgba(59, 130, 246, 0.05);
}

.comparison-solution-ai {
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.12) 0%, rgba(16, 185, 129, 0.05) 100%);
}

.comparison-benefit {
  font-size: 0.9375rem;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

/* ========================================
   Final CTA Section
   ======================================== */

.final-cta {
  padding: var(--spacing-4xl) 2.5rem;
  background: linear-gradient(135deg, #070b12 0%, #0a0f1c 100%);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

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

.final-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 2rem;
}

.final-cta-badge svg {
  color: #fbbf24;
}

.final-cta-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

.final-cta-highlight {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.final-cta-desc {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.btn-final-primary,
.btn-final-secondary {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.btn-final-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.btn-final-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(59, 130, 246, 0.45);
}

.btn-final-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.btn-final-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.final-cta-features {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.final-cta-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.final-cta-feature svg {
  color: #10b981;
  flex-shrink: 0;
}

/* ========================================
   Scenarios Section
   ======================================== */

.scenarios {
  padding: var(--spacing-4xl) 2.5rem;
  background: var(--color-deep-1);
}

.scenarios-container {
  max-width: 1400px;
  margin: 0 auto;
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.scenario-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.scenario-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.scenario-card:hover::after {
  opacity: 1;
}

.scenario-card:hover {
  background: var(--color-card-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.scenario-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  display: block;
  transition: transform var(--transition-base);
}

.scenario-card:hover .scenario-icon {
  transform: scale(1.1) rotate(5deg);
}

.scenario-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}

.scenario-desc {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

.scenario-card:hover .scenario-desc {
  color: var(--color-text-primary);
}

/* ========================================
   CTA Section
   ======================================== */

.cta {
  padding: var(--spacing-4xl) 2.5rem;
  background: var(--color-deep-2);
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-brand) 20%, var(--color-purple) 50%, var(--color-brand) 80%, transparent 100%);
  box-shadow: 0 0 40px var(--color-brand-glow);
  animation: glowMove 3s ease-in-out infinite;
}

@keyframes glowMove {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

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

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

.cta-title {
  font-size: 3.25rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: 3rem;
  font-weight: 400;
}

.cta-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}

.btn-cta-primary,
.btn-cta-secondary {
  padding: 1.125rem 2.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.btn-cta-primary {
  background: linear-gradient(135deg, var(--color-brand) 0%, #8b5cf6 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(99, 102, 241, 0.5);
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ========================================
   Footer
   ======================================== */

.footer {
  padding: 2rem 2.5rem;
  background: var(--color-deepest);
  border-top: 1px solid var(--color-border);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 2rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1 1 320px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  letter-spacing: -0.5px;
}

.footer-brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

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

.footer-right {
  text-align: right;
  flex: 1 1 320px;
}

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

.footer-bottom {
  flex: 1 1 100%;
  text-align: center;
}

.footer-icp {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.75rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .features-grid-new {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .stat-number {
    font-size: 3rem;
  }
}

@media (max-width: 1024px) {
  .hero {
    padding: 8rem 2rem 6rem;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .stats-container {
    flex-wrap: wrap;
    gap: 2rem;
  }
  
  .stat-divider {
    display: none;
  }
  
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .workflow-tabs {
    flex-direction: column;
    align-items: stretch;
  }
  
  .workflow-panel.active {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .comparison-header,
  .comparison-row {
    grid-template-columns: 1fr;
  }
  
  .comparison-col,
  .comparison-cell {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .comparison-subtitle {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 1rem 1.5rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .nav-link {
    display: none;
  }
  
  .hero {
    padding: 7rem 1.5rem 5rem;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 0.875rem;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .hero-feature {
    justify-content: center;
  }
  
  .screenshot-placeholder {
    flex-direction: column;
    min-height: auto;
  }
  
  .placeholder-sidebar {
    width: 100%;
  }
  
  .main-cards {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 1.875rem;
  }
  
  .section-desc {
    font-size: 1rem;
  }
  
  .stats-container {
    flex-direction: column;
    gap: 2rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .pain-grid {
    grid-template-columns: 1fr;
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid-new {
    grid-template-columns: 1fr;
  }
  
  .workflow-tabs {
    gap: 0.75rem;
  }
  
  .workflow-tab {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
  
  .workflow-panel {
    padding: 2rem 1.5rem;
  }
  
  .scenarios-grid {
    grid-template-columns: 1fr;
  }
  
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
  
  .comparison-table {
    overflow-x: auto;
  }

  .comparison-subtitle {
    font-size: 1.375rem;
  }

  .comparison-note {
    font-size: 0.9375rem;
  }
  
  .final-cta-title {
    font-size: 2.25rem;
  }
  
  .final-cta-desc {
    font-size: 1rem;
  }
  
  .final-cta-buttons {
    flex-direction: column;
    gap: 0.875rem;
  }
  
  .btn-final-primary,
  .btn-final-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .final-cta-features {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .cta-title {
    font-size: 2.25rem;
  }
  
  .cta-subtitle {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 0.875rem;
  }
  
  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-left {
    flex-direction: column;
    gap: 1rem;
    flex: 1 1 100%;
  }
  
  .footer-right {
    text-align: center;
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.875rem;
  }
  
  .section-title {
    font-size: 1.625rem;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary,
  .btn-cta-primary,
  .btn-cta-secondary {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .workflow-tab {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================================
   Utility Classes & Animations
   ======================================== */

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.slide-in-up {
  animation: slideInUp 0.6s ease-out;
}

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

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print styles */
@media print {
  .nav,
  .hero-cta,
  .cta,
  .footer {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* ========================================
   Business Contact Overlay
   ======================================== */
.biz-contact-overlay {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(15, 23, 42, 0.14);
}

.biz-contact-overlay[hidden] {
  display: none;
}

.biz-contact-card {
  position: absolute;
  top: 78px;
  right: 24px;
  width: 296px;
  max-width: calc(100vw - 32px);
}

.biz-contact-shell {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(214, 226, 245, 0.95);
  background:
    radial-gradient(circle at top right, rgba(77, 142, 255, 0.18), transparent 34%),
    radial-gradient(circle at left bottom, rgba(14, 165, 233, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.98) 100%);
  box-shadow: 0 22px 56px rgba(16, 33, 58, 0.16), 0 10px 24px rgba(21, 94, 239, 0.10);
  backdrop-filter: blur(14px);
}

.biz-contact-shell::before {
  content: '';
  position: absolute;
  inset: auto -26px -34px auto;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 94, 239, 0.12) 0%, rgba(21, 94, 239, 0) 70%);
  pointer-events: none;
}

.biz-contact-close {
  position: absolute;
  top: -10px;
  right: -2px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid #dbe4f2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #5b6b84;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(16, 33, 58, 0.10);
}

.biz-contact-close:hover {
  color: #1f2b3d;
  border-color: #bdd2f6;
}

.biz-contact-top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.biz-contact-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: #eef4ff;
  color: #155eef;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.biz-contact-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.biz-contact-tag {
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid #d8e3f4;
  background: rgba(255, 255, 255, 0.82);
  color: #49607e;
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.biz-contact-qr-panel {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid #d8e6fb;
  background: rgba(255, 255, 255, 0.88);
}

.biz-contact-qr {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(21, 94, 239, 0.08);
}

.biz-contact-qr-note {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.5;
  color: #51627c;
  text-align: center;
}

@media (max-width: 768px) {
  .biz-contact-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
  }

  .biz-contact-card {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 400px;
  }
}
