/* ============================================
   TiltedTrades Landing Page - Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: #0a0a0f;
  color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', system-ui, sans-serif; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* --- Utility --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.container-sm { max-width: 1024px; margin: 0 auto; padding: 0 1rem; }
.container-xs { max-width: 768px; margin: 0 auto; padding: 0 1rem; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.grid { display: grid; }
.hidden { display: none; }

/* --- Colors --- */
:root {
  --primary: #0a0a0f;
  --surface: #12121a;
  --surface-hover: #1a1a25;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.15);
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --text-dim: #4b5563;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-600: #2563eb;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --purple-500: #a855f7;
  --purple-400: #c084fc;
  --emerald-500: #10b981;
  --red-500: #ef4444;
}

/* --- Typography --- */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.gradient-text {
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-400) 50%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 50;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: rgba(59,130,246,0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.nav-logo:hover .nav-logo-icon { background: rgba(59,130,246,0.2); }
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-link {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--blue-400); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-600);
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.btn-primary:hover {
  background: var(--blue-500);
  box-shadow: 0 4px 20px rgba(59,130,246,0.3);
  transform: translateY(-1px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

.btn-lg { padding: 1rem 2rem; font-size: 1rem; border-radius: 0.75rem; }

.btn-amber {
  background: var(--amber-500);
  color: #000;
}
.btn-amber:hover {
  background: var(--amber-400);
  box-shadow: 0 4px 20px rgba(245,158,11,0.3);
}

/* Mobile menu */
.mobile-menu-btn { display: block; padding: 0.5rem; color: var(--text-secondary); }
.mobile-menu {
  display: none;
  background: var(--primary);
  border-top: 1px solid var(--border);
  padding: 1rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: white; }

/* --- Sections --- */
section { padding: 5rem 0; position: relative; }
.section-alt { background: rgba(255,255,255,0.01); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 1rem; }
.section-header p { font-size: 1.125rem; color: var(--text-secondary); max-width: 640px; margin: 0 auto; }
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.badge-blue { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2); color: var(--blue-400); }
.badge-amber { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); color: var(--amber-400); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-content { text-align: center; }
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 2rem;
}
.hero-trust-item { display: flex; align-items: center; gap: 0.5rem; }

/* Hero background effects */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-bg-orb-1 { top: 20%; left: -8rem; width: 24rem; height: 24rem; background: rgba(59,130,246,0.1); }
.hero-bg-orb-2 { bottom: 20%; right: -8rem; width: 24rem; height: 24rem; background: rgba(59,130,246,0.05); }

/* Screenshot placeholder */
.screenshot-placeholder {
  background: linear-gradient(135deg, rgba(59,130,246,0.08) 0%, rgba(59,130,246,0.02) 100%);
  border: 1px dashed rgba(59,130,246,0.3);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  overflow: hidden;
  position: relative;
}
.screenshot-placeholder .dimensions {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
}
.hero-screenshot {
  width: 100%;
  aspect-ratio: 16/10;
  box-shadow: 0 25px 60px rgba(59,130,246,0.1);
}

/* --- Card --- */
.card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s;
}
.card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-2px);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon-blue { background: rgba(59,130,246,0.1); color: var(--blue-500); }
.card-icon-amber { background: rgba(245,158,11,0.1); color: var(--amber-500); }
.card-icon-purple { background: rgba(168,85,247,0.1); color: var(--purple-400); }
.card-icon-red { background: rgba(239,68,68,0.1); color: var(--red-500); }
.card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

.card-amber { border-color: rgba(245,158,11,0.2); }
.card-amber:hover { border-color: rgba(245,158,11,0.4); }

/* --- Pain Points --- */
.pain-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.pain-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}
.pain-card .pain-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  background: rgba(239,68,68,0.08);
}
.pain-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--red-500); }
.pain-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; }

/* --- Product Showcase Tabs --- */
.tabs-nav {
  display: flex;
  gap: 0.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.25rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tab-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all 0.2s;
  min-width: 100px;
}
.tab-btn:hover { color: var(--text-secondary); }
.tab-btn.active {
  background: rgba(59,130,246,0.15);
  color: var(--blue-400);
}
.tab-panel {
  display: none;
  animation: tabFadeIn 0.3s ease-out;
}
.tab-panel.active { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.tab-screenshot { aspect-ratio: 16/10; }
.tab-details h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; }
.tab-details p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.7; }
.tab-features { display: flex; flex-direction: column; gap: 0.5rem; }
.tab-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.tab-feature svg { flex-shrink: 0; margin-top: 2px; }

/* --- How It Works --- */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.step { text-align: center; position: relative; }
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(59,130,246,0.1);
  border: 2px solid rgba(59,130,246,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-500);
}
.step h3 { font-weight: 600; margin-bottom: 0.5rem; }
.step p { font-size: 0.875rem; color: var(--text-secondary); }
.step-connector {
  display: none;
  position: absolute;
  top: 28px;
  left: 60%;
  width: 80%;
  height: 2px;
  background: linear-gradient(to right, rgba(59,130,246,0.3), transparent);
}

/* --- Social Proof --- */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.stat-card {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 1rem;
}
.stat-number {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-400);
  margin-bottom: 0.25rem;
}
.stat-label { font-size: 0.875rem; color: var(--text-muted); }

.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
.testimonial {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
}
.testimonial-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(59,130,246,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--blue-400);
}
.testimonial-name { font-weight: 600; font-size: 0.875rem; }
.testimonial-role { font-size: 0.75rem; color: var(--text-muted); }

/* --- Comparison Table --- */
.comparison-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.comparison-table th,
.comparison-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
}
.comparison-table th {
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255,255,255,0.03);
  position: sticky;
  top: 0;
}
.comparison-table th:first-child { border-radius: 0.5rem 0 0 0; }
.comparison-table th:last-child { border-radius: 0 0.5rem 0 0; }
.comparison-table td { color: var(--text-secondary); }
.comparison-table tr:hover td { background: rgba(255,255,255,0.02); }
.comparison-highlight { background: rgba(59,130,246,0.05) !important; }
.check-yes { color: var(--emerald-500); font-weight: 600; }
.check-no { color: var(--text-dim); }
.check-partial { color: var(--amber-500); }

/* --- Pricing --- */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.pricing-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
}
.pricing-featured {
  border-color: var(--blue-500);
  box-shadow: 0 0 40px rgba(59,130,246,0.15);
}
.pricing-premium {
  border-color: rgba(168,85,247,0.3);
  background: linear-gradient(135deg, rgba(168,85,247,0.08) 0%, transparent 100%);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-500);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}
.pricing-name { font-family: 'Outfit', system-ui, sans-serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.pricing-desc { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 1rem; }
.pricing-price {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-features { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.pricing-feature svg { flex-shrink: 0; margin-top: 2px; }
.pricing-feature-included { color: var(--text-secondary); }
.pricing-feature-excluded { color: var(--text-dim); }

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
}
.pricing-toggle-label { color: var(--text-muted); }
.pricing-toggle-label.active { color: white; font-weight: 600; }
.toggle-switch {
  width: 48px;
  height: 26px;
  background: rgba(255,255,255,0.1);
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}
.toggle-switch.active { background: var(--blue-500); }
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}
.toggle-switch.active::after { transform: translateX(22px); }
.save-badge {
  font-size: 0.75rem;
  background: rgba(16,185,129,0.1);
  color: var(--emerald-500);
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
}

/* --- Leaderboard Teaser --- */
.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
}
.leaderboard-table th,
.leaderboard-table td {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.leaderboard-table th {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.leaderboard-rank {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  color: var(--blue-400);
}
.leaderboard-name { font-weight: 600; }
.leaderboard-pnl-positive { color: var(--emerald-500); font-weight: 600; }
.leaderboard-firm { color: var(--text-muted); font-size: 0.75rem; }

/* --- FAQ --- */
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(59,130,246,0.3); }
.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item[open] summary::after {
  content: '−';
  color: var(--blue-400);
}
.faq-item summary:hover { color: var(--blue-400); }
.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: 6rem 0;
}
.cta-section h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 1rem; }
.cta-section p { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 2rem; }
.cta-fine-print { font-size: 0.875rem; color: var(--text-dim); margin-top: 1.5rem; }

/* --- Footer --- */
.footer { padding: 3rem 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}
.footer-links a { color: var(--text-secondary); transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-dim);
  width: 100%;
}
.footer-seo-text {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Prop Firm Logos --- */
.firm-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.firm-logo {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.firm-logo:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hover);
  color: white;
}

/* --- Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

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

/* --- Responsive --- */
@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
  .hero h1 { font-size: 3rem; }
  .hero-ctas { flex-direction: row; }
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .mobile-menu-btn { display: none; }
  section { padding: 6rem 0; }
  .section-header h2 { font-size: 2.25rem; }
  .hero h1 { font-size: 3.5rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .hero-content { text-align: left; }
  .hero-subtitle { margin-left: 0; }
  .hero-ctas { justify-content: flex-start; }
  .hero-trust { justify-content: flex-start; }
  .tab-panel.active { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .step-connector { display: block; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 3.75rem; }
  section { padding: 7rem 0; }
}

/* --- Legal Pages (Privacy, Terms) --- */
.legal-page { padding-top: 6rem; padding-bottom: 4rem; }
.legal-header { margin-bottom: 3rem; }
.legal-header h1 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.legal-header p { color: var(--text-secondary); font-size: 0.875rem; }
.legal-header strong { color: white; font-weight: 600; }

.legal-content h2 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}
.legal-content h3 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #e5e7eb;
}
.legal-content p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
}
.legal-content ul, .legal-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: var(--text-secondary);
  list-style: disc;
}
.legal-content ol { list-style: decimal; }
.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
}
.legal-content li ul { list-style: circle; margin-top: 0.5rem; }
.legal-content strong { color: #fff; font-weight: 600; }
.legal-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}
.legal-content a { color: var(--blue-400); transition: color 0.2s; }
.legal-content a:hover { color: var(--blue-500); }
.legal-content table {
  width: 100%;
  margin: 1rem 0;
  border-collapse: collapse;
}
.legal-content th, .legal-content td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.legal-content th {
  color: #fff;
  font-weight: 600;
  background: rgba(255,255,255,0.02);
}
.legal-content td { color: var(--text-secondary); }
.legal-content .highlight-box {
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.legal-content .highlight-box p { margin-bottom: 0; color: var(--blue-400); font-weight: 600; }
.legal-content .warning-box {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.legal-content .warning-box h4 { color: var(--amber-400); font-weight: 700; margin-bottom: 0.75rem; }

@media (min-width: 768px) {
  .legal-header h1 { font-size: 2.5rem; }
}
