/* ===== DESIGN TOKENS ===== */
:root {
  /* Healthcare Color Palette */
  --primary-900: #042f2e;
  --primary-800: #0a3d3c;
  --primary-700: #0f5554;
  --primary-600: #0d7377;
  --primary-500: #0d9488;
  --primary-400: #2dd4bf;
  --primary-300: #5eead4;
  --primary-200: #99f6e4;
  --primary-100: #ccfbf1;

  --accent-600: #0284c7;
  --accent-500: #06b6d4;
  --accent-400: #22d3ee;
  --accent-300: #67e8f9;

  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-300: #6ee7b7;

  --bg-dark: #0a1628;
  --bg-card: #0f2137;
  --bg-card-hover: #132b45;
  --bg-surface: #111d32;

  --text-primary: #f0fdfa;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --gradient-primary: linear-gradient(135deg, var(--primary-500), var(--accent-500));
  --gradient-hero: linear-gradient(160deg, #0a1628 0%, #0f2e2d 40%, #0a1628 100%);
  --gradient-card: linear-gradient(145deg, rgba(13, 148, 136, 0.08), rgba(6, 182, 212, 0.04));
  --gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(13, 148, 136, 0.15) 0%, transparent 60%);

  --glass-bg: rgba(15, 33, 55, 0.6);
  --glass-border: rgba(13, 148, 136, 0.15);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul { list-style: none; }

/* ===== UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-400);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: var(--radius-full);
  background: rgba(13, 148, 136, 0.06);
}

.section-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-400);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ===== SCROLL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--primary-300);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--primary-900) !important;
  font-weight: 600 !important;
  font-size: 0.9rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
  cursor: pointer;
  border: none;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.35);
  color: var(--primary-900) !important;
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background: url('../../assets/images/hero-bg.png') center/cover no-repeat;
  opacity: 0.15;
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-400);
  opacity: 0;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.2);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--primary-300);
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease forwards;
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-500);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary-400), var(--accent-400), var(--emerald-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--primary-900);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-secondary:hover {
  border-color: var(--primary-400);
  background: rgba(13, 148, 136, 0.08);
  color: var(--primary-300);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  animation: fadeInUp 0.8s ease 0.8s forwards;
  opacity: 0;
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 1s ease 0.5s forwards;
  opacity: 0;
}

.hero-visual-decoration {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 96px;
  height: 96px;
  opacity: 0.18;
  pointer-events: none;
  filter: drop-shadow(0 12px 28px rgba(13, 148, 136, 0.28));
  animation: floatIcon 6.5s ease-in-out infinite;
}

.hero-visual-decoration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(-4deg) scale(1); }
  50% { transform: translateY(12px) rotate(4deg) scale(1.04); }
}

.hero-visual-card {
  width: 100%;
  max-width: 480px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(13, 148, 136, 0.1), transparent, rgba(6, 182, 212, 0.08), transparent);
  animation: rotate-border 8s linear infinite;
  z-index: -1;
}

@keyframes rotate-border {
  to { transform: rotate(360deg); }
}

.visual-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.visual-dots {
  display: flex;
  gap: 6px;
}

.visual-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.visual-dots span:nth-child(1) { background: #ef4444; }
.visual-dots span:nth-child(2) { background: #f59e0b; }
.visual-dots span:nth-child(3) { background: #22c55e; }

.visual-title-bar {
  flex: 1;
  height: 12px;
  background: rgba(148, 163, 184, 0.1);
  border-radius: 6px;
}

.visual-code {
  font-family: 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.visual-code .line {
  display: flex;
  gap: 8px;
  padding: 2px 0;
  opacity: 0;
  animation: typeIn 0.5s ease forwards;
}

.visual-code .line:nth-child(1) { animation-delay: 1s; }
.visual-code .line:nth-child(2) { animation-delay: 1.3s; }
.visual-code .line:nth-child(3) { animation-delay: 1.6s; }
.visual-code .line:nth-child(4) { animation-delay: 1.9s; }
.visual-code .line:nth-child(5) { animation-delay: 2.2s; }
.visual-code .line:nth-child(6) { animation-delay: 2.5s; }
.visual-code .line:nth-child(7) { animation-delay: 2.8s; }
.visual-code .line:nth-child(8) { animation-delay: 3.1s; }

@keyframes typeIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.code-keyword { color: var(--accent-400); }
.code-function { color: var(--emerald-400); }
.code-string { color: var(--primary-300); }
.code-comment { color: var(--text-muted); font-style: italic; }
.code-number { color: #f59e0b; }
.code-bracket { color: var(--text-muted); }

.visual-progress {
  margin-top: 20px;
  padding: 16px;
  background: rgba(13, 148, 136, 0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(13, 148, 136, 0.1);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.progress-bar {
  height: 6px;
  background: rgba(148, 163, 184, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
  width: 0;
  animation: fillBar 2s ease 3.5s forwards;
}

@keyframes fillBar {
  to { width: 87%; }
}

/* Floating elements */
.floating-badge {
  position: absolute;
  padding: 10px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--glass-shadow);
  animation: floating 3s ease-in-out infinite;
}

.floating-badge:nth-child(1) {
  top: -10px;
  right: -20px;
  animation-delay: 0s;
}

.floating-badge:nth-child(2) {
  bottom: 40px;
  left: -30px;
  animation-delay: 1s;
}

.floating-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.floating-icon.green {
  background: rgba(16, 185, 129, 0.15);
}

.floating-icon.blue {
  background: rgba(6, 182, 212, 0.15);
}

@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: 120px 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.06), transparent 70%);
  pointer-events: none;
}

.features-header {
  text-align: center;
  margin-bottom: 72px;
}

.features-header .section-subtitle {
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(13, 148, 136, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: transform var(--transition-base);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
}

.feature-icon.teal { background: rgba(13, 148, 136, 0.12); }
.feature-icon.cyan { background: rgba(6, 182, 212, 0.12); }
.feature-icon.green { background: rgba(16, 185, 129, 0.12); }
.feature-icon.blue { background: rgba(2, 132, 199, 0.12); }
.feature-icon.purple { background: rgba(147, 51, 234, 0.12); }
.feature-icon.amber { background: rgba(245, 158, 11, 0.12); }

.feature-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
  padding: 120px 0;
  background: var(--bg-surface);
  position: relative;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.how-header {
  text-align: center;
  margin-bottom: 80px;
}

.how-header .section-subtitle {
  margin: 0 auto;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-500), var(--emerald-500), var(--primary-500));
  opacity: 0.3;
}

.step-card {
  text-align: center;
  position: relative;
  padding: 0 12px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--primary-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-400);
  position: relative;
  z-index: 2;
  transition: all var(--transition-base);
}

.step-card:hover .step-number {
  background: var(--gradient-primary);
  color: var(--primary-900);
  transform: scale(1.15);
  box-shadow: 0 0 30px rgba(13, 148, 136, 0.4);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== DATASET TYPES SECTION ===== */
.dataset-types {
  padding: 120px 0;
  position: relative;
}

.dataset-header {
  text-align: center;
  margin-bottom: 64px;
}

.dataset-header .section-subtitle {
  margin: 0 auto;
}

.dataset-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.dataset-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 20px;
  transition: all var(--transition-base);
  cursor: default;
}

.dataset-card:hover {
  border-color: rgba(13, 148, 136, 0.35);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.dataset-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.dataset-card:hover .dataset-icon-wrap {
  transform: rotate(-8deg) scale(1.1);
}

.dataset-icon-wrap.teal { background: rgba(13, 148, 136, 0.12); }
.dataset-icon-wrap.cyan { background: rgba(6, 182, 212, 0.12); }
.dataset-icon-wrap.green { background: rgba(16, 185, 129, 0.12); }
.dataset-icon-wrap.purple { background: rgba(147, 51, 234, 0.12); }

.dataset-info h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.dataset-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.dataset-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dataset-tag {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 500;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.15);
  color: var(--primary-300);
}

/* ===== STATS SECTION ===== */
.stats-section {
  padding: 100px 0;
  background: var(--bg-surface);
  position: relative;
}

.stats-section::before,
.stats-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.stats-section::before { top: 0; }
.stats-section::after { bottom: 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-base);
}

.stat-item:hover {
  border-color: rgba(13, 148, 136, 0.3);
  transform: translateY(-4px);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 120px 0;
  position: relative;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials-header .section-subtitle {
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  border-color: rgba(13, 148, 136, 0.3);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-900);
}

.testimonial-avatar.teal { background: var(--primary-400); }
.testimonial-avatar.cyan { background: var(--accent-400); }
.testimonial-avatar.green { background: var(--emerald-400); }

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== PRICING SECTION ===== */
.pricing {
  padding: 120px 0;
  background: var(--bg-surface);
  position: relative;
}

.pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.pricing-header {
  text-align: center;
  margin-bottom: 64px;
}

.pricing-header .section-subtitle {
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 148, 136, 0.3);
}

.pricing-card.featured {
  border-color: var(--primary-500);
  background: linear-gradient(145deg, rgba(13, 148, 136, 0.12), rgba(6, 182, 212, 0.06));
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 18px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--gradient-primary);
  color: var(--primary-900);
  border-radius: var(--radius-full);
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.pricing-price .currency {
  font-size: 1.2rem;
  vertical-align: super;
  color: var(--text-secondary);
}

.pricing-price .period {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-features {
  margin: 28px 0;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.pricing-features li .check {
  color: var(--emerald-400);
  font-weight: bold;
}

.pricing-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
}

.pricing-btn.primary {
  background: var(--gradient-primary);
  color: var(--primary-900);
  border: none;
}

.pricing-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.35);
}

.pricing-btn.outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.pricing-btn.outline:hover {
  border-color: var(--primary-400);
  background: rgba(13, 148, 136, 0.08);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}

.cta-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 48px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.15;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-input-group {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}

.cta-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  background: rgba(10, 22, 40, 0.6);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.cta-input::placeholder {
  color: var(--text-muted);
}

.cta-input:focus {
  border-color: var(--primary-400);
}

/* ===== FOOTER ===== */
.footer {
  padding: 72px 0 32px;
  background: var(--bg-surface);
  border-top: 1px solid rgba(148, 163, 184, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--primary-400);
  color: var(--primary-400);
  background: rgba(13, 148, 136, 0.08);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--primary-300);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(148, 163, 184, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--primary-300);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .steps-container::before {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card:last-child {
    grid-column: span 2;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-container {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .dataset-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .cta-card {
    padding: 40px 24px;
  }

  .cta-input-group {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-value {
    font-size: 2rem;
  }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-700);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-600);
}

/* ===== CURSOR GLOW EFFECT ===== */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.15s ease;
  transform: translate(-50%, -50%);
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  background: rgba(13, 148, 136, 0.06);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-left: 8px;
}

.lang-toggle:hover {
  border-color: var(--primary-400);
  background: rgba(13, 148, 136, 0.12);
  color: var(--primary-300);
}

.lang-flag { font-size: 1rem; }
.lang-text { font-family: var(--font-display); letter-spacing: 1px; }

.lang-toggle.lang-switching {
  animation: lang-pop 0.4s ease;
}

@keyframes lang-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(0.88); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

/* ===== DATA VIZ HERO CARD ===== */
.data-viz-card { width: 100%; max-width: 480px; }

.viz-title-text {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.data-chart {
  margin: 8px 0 16px;
  padding: 14px;
  background: rgba(0,0,0,0.15);
  border-radius: var(--radius-md);
  border: 1px solid rgba(13,148,136,0.1);
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.chart-legend {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 3px;
}

.legend-dot.original  { background: var(--accent-400); }
.legend-dot.synthetic { background: var(--emerald-400); }

.chart-bars {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.chart-bar-group {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.chart-bar-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-align: right;
  white-space: nowrap;
}

.chart-bar-pair {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.chart-bar-track {
  height: 7px;
  background: rgba(148,163,184,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.chart-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.chart-bar-fill.original  { background: linear-gradient(90deg, var(--accent-500), var(--accent-300)); }
.chart-bar-fill.synthetic { background: linear-gradient(90deg, var(--emerald-500), var(--emerald-300)); }

.chart-axis {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-top: 8px;
  padding: 0 2px;
}

.viz-metrics {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(13,148,136,0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(13,148,136,0.1);
}

.viz-metric { text-align: center; flex: 1; }

.viz-metric.highlight .viz-metric-val {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.viz-metric-val {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.viz-metric-label { font-size: 0.65rem; color: var(--text-muted); margin-top: 2px; }

.viz-arrow {
  font-size: 1.3rem;
  color: var(--primary-400);
  flex-shrink: 0;
  animation: pulse-arrow 2s ease-in-out infinite;
}

@keyframes pulse-arrow {
  0%, 100% { transform: translateX(0); opacity: 1; }
  50%       { transform: translateX(4px); opacity: 0.7; }
}

.viz-badge-small {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--emerald-400);
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* ===== LIVE DEMO SECTION ===== */
.live-demo {
  padding: 120px 0;
  background: var(--bg-surface);
  position: relative;
}

.live-demo::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.demo-header { text-align: center; margin-bottom: 64px; }
.demo-header .section-subtitle { margin: 0 auto; }

.demo-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.demo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.demo-left { display: flex; flex-direction: column; gap: 28px; }

.demo-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.demo-value-display {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-400);
  background: rgba(6,182,212,0.08);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(6,182,212,0.2);
}

.demo-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
  outline: none;
  cursor: pointer;
}

.demo-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary-400);
  cursor: pointer;
  border: 3px solid var(--bg-dark);
  box-shadow: 0 0 10px rgba(13,148,136,0.5);
  transition: transform var(--transition-fast);
}

.demo-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.demo-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary-400);
  cursor: pointer;
  border: 3px solid var(--bg-dark);
}

.demo-slider-range {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.demo-multiplier-label { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 12px; }

.demo-multipliers { display: flex; gap: 8px; }

.mult-btn {
  flex: 1;
  padding: 8px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.03);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mult-btn:hover, .mult-btn.active {
  background: rgba(13,148,136,0.15);
  border-color: var(--primary-400);
  color: var(--primary-300);
}

.mult-btn.active { box-shadow: 0 0 14px rgba(13,148,136,0.25); }

.demo-quality-row { display: flex; flex-direction: column; gap: 10px; }

.demo-quality-bar {
  height: 6px;
  background: rgba(148,163,184,0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}

.demo-quality-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--emerald-500), var(--emerald-300));
  transition: width 0.6s ease;
}

.demo-quality-fill.corr { background: linear-gradient(90deg, var(--accent-500), var(--accent-300)); }
.demo-quality-fill.priv { background: linear-gradient(90deg, var(--primary-500), var(--primary-300)); }

.demo-quality-text {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.demo-quality-pct { font-weight: 700; color: var(--emerald-400); }

.demo-arrow-col { display: flex; align-items: center; justify-content: center; }

.demo-arrow-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; }

.demo-arrow-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  animation: pulse-btn 2s ease-in-out infinite;
  box-shadow: 0 0 24px rgba(13,148,136,0.4);
}

@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 0 24px rgba(13,148,136,0.4); transform: scale(1); }
  50%       { box-shadow: 0 0 40px rgba(13,148,136,0.6); transform: scale(1.05); }
}

.demo-arrow-line {
  width: 2px; height: 32px;
  background: linear-gradient(to bottom, var(--primary-400), transparent);
  border-radius: 1px;
}

.demo-arrow-text {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary-400);
}

.demo-right { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

.demo-output-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.demo-output-badge {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  color: var(--emerald-400);
  font-size: 0.72rem;
  font-weight: 700;
}

.demo-output-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  transition: all 0.3s ease;
}

.demo-output-number.demo-number-pop { animation: number-pop 0.35s ease; }

@keyframes number-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.demo-output-unit { font-size: 0.85rem; color: var(--text-secondary); margin-top: -4px; }

.demo-ratio { font-size: 0.85rem; color: var(--text-secondary); }
.demo-ratio strong { color: var(--primary-300); font-family: var(--font-display); font-size: 1rem; }

.demo-chart-mini {
  width: 100%;
  background: rgba(0,0,0,0.15);
  border-radius: var(--radius-md);
  padding: 12px;
  border: 1px solid rgba(13,148,136,0.1);
}

.mini-chart-inner {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 60px;
}

.mini-bar-group { display: flex; gap: 2px; align-items: flex-end; flex: 1; }

.mini-bar { flex: 1; border-radius: 2px 2px 0 0; transition: height 0.5s ease; }
.mini-bar.original  { background: linear-gradient(to top, var(--accent-600), var(--accent-300)); opacity: 0.7; }
.mini-bar.synthetic { background: linear-gradient(to top, var(--emerald-600), var(--emerald-300)); }

.mini-chart-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.demo-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--primary-900);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.demo-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13,148,136,0.35);
}

