/* ═══════════════════════════════════════════
   MirrorMask Landing Page — Dark Theme
   ═══════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─── */
:root {
  /* Backgrounds */
  --bg-primary: #09090b;
  --bg-secondary: #111114;
  --bg-tertiary: #18181b;
  --bg-elevated: #1f1f23;
  --bg-surface: rgba(255, 255, 255, 0.03);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);

  /* Text */
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-faint: #52525b;

  /* Accent — Deep Indigo */
  --accent-primary: #594DD9;
  --accent-hover: #4B3FC2;
  --accent-pressed: #3D32A8;
  --accent-light: #7B6EE6;
  --accent-lighter: #9B8EF0;
  --accent-muted: rgba(89, 77, 217, 0.15);
  --accent-glow: rgba(89, 77, 217, 0.40);

  /* Semantic */
  --success: #10b981;
  --success-muted: rgba(16, 185, 129, 0.15);
  --warning: #f59e0b;
  --warning-muted: rgba(245, 158, 11, 0.15);
  --danger: #ef4444;
  --danger-muted: rgba(239, 68, 68, 0.15);

  /* Gradients */
  --gradient-hero: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(89, 77, 217, 0.30) 0%, transparent 100%);
  --gradient-button: linear-gradient(135deg, #594DD9 0%, #4B3FC2 100%);
  --gradient-button-hover: linear-gradient(135deg, #7B6EE6 0%, #594DD9 100%);
  --gradient-text: linear-gradient(135deg, #9B8EF0 0%, #7B6EE6 50%, #594DD9 100%);

  /* Glass */
  --glass-bg: rgba(17, 17, 20, 0.80);
  --glass-blur: blur(20px);
  --glass-saturate: saturate(180%);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.12);

  /* Borders */
  --border-primary: rgba(255, 255, 255, 0.08);
  --border-secondary: rgba(255, 255, 255, 0.05);
  --border-accent: rgba(89, 77, 217, 0.30);
  --border-accent-hover: rgba(89, 77, 217, 0.50);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.30);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.40);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.50);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.60);
  --shadow-glow: 0 0 40px rgba(89, 77, 217, 0.25);
  --shadow-glow-lg: 0 0 80px rgba(89, 77, 217, 0.20);
  --shadow-inner: inset 0 1px 0 rgba(255, 255, 255, 0.05);

  /* Layout */
  --content-max: 1200px;
  --content-narrow: 800px;
  --content-px: 24px;
  --nav-height: 72px;

  /* Spacing */
  --section-py: 120px;
  --section-py-sm: 80px;
  --section-py-lg: 160px;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-feature-settings: 'cv01' on, 'cv03' on, 'cv04' on;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

::selection {
  background: rgba(89, 77, 217, 0.30);
  color: var(--text-primary);
}

:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
  border-radius: 4px;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.15); }

/* ─── CONTAINER ─── */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-px);
}

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  border-bottom: 1px solid var(--glass-border);
  transform: translateY(-100%);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.nav.visible {
  transform: translateY(0);
}

.nav-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.nav-logo-icon { flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 150ms ease;
}
.nav-link:hover { color: var(--text-primary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all 200ms ease;
}
.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.mobile-menu-link {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 150ms ease;
}
.mobile-menu-link:hover { color: var(--accent-light); }
.mobile-menu-cta { margin-top: 16px; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-button);
  color: #fff;
  box-shadow: var(--shadow-glow), var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--gradient-button-hover);
  box-shadow: 0 0 50px rgba(89, 77, 217, 0.35), var(--shadow-md);
  transform: translateY(-2px);
}
.btn-primary:active {
  background: var(--accent-pressed);
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-primary);
}
.btn-secondary:hover {
  background: var(--bg-glass);
  border-color: var(--glass-border-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-light);
  border: 1px solid rgba(123, 110, 230, 0.25);
}
.btn-ghost:hover {
  background: var(--accent-muted);
  border-color: rgba(123, 110, 230, 0.40);
}

.btn-sm {
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 9999px;
}

.btn-lg {
  font-size: 18px;
  padding: 18px 32px;
  border-radius: 14px;
}

.btn-full {
  width: 100%;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: 10px;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
  background: var(--bg-primary);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.orb-primary {
  width: 600px;
  height: 600px;
  background: rgba(89, 77, 217, 0.18);
  top: -200px;
  left: -100px;
  animation: float 10s infinite alternate ease-in-out;
}
.orb-secondary {
  width: 400px;
  height: 400px;
  background: rgba(140, 64, 217, 0.10);
  top: 100px;
  right: -150px;
  animation: float 8s infinite alternate-reverse ease-in-out;
}

@keyframes float {
  from { transform: translate(0, -20px); }
  to { transform: translate(0, 20px); }
}

.hero-content {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent-muted);
  border: 1px solid var(--border-accent);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-light);
  margin-bottom: 24px;
}

.hero-headline {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 800px;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 80px;
}

/* Hero animation */
.anim-hero {
  opacity: 0;
  transform: translateY(30px);
  animation: heroIn 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0ms);
}
@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Product mockup */
.hero-product {
  width: 100%;
  max-width: 480px;
  perspective: 2000px;
}
.product-frame {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-xl), var(--shadow-glow-lg);
  transform: rotateX(4deg);
  animation: productFloat 6s infinite ease-in-out alternate;
}
@keyframes productFloat {
  from { transform: rotateX(4deg) translateY(0); }
  to { transform: rotateX(4deg) translateY(-8px); }
}

.product-frame-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-primary);
}
.frame-dots {
  display: flex;
  gap: 6px;
}
.frame-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.frame-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-right: 40px;
}

.product-mockup {
  padding: 20px;
}

/* Mockup app simulation */
.mockup-app {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mockup-tabs {
  display: flex;
  gap: 0;
  background: var(--bg-surface);
  border-radius: 8px;
  padding: 3px;
}
.mockup-tab {
  flex: 1;
  text-align: center;
  padding: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: default;
}
.mockup-tab.active {
  background: var(--accent-muted);
  color: var(--accent-light);
}

.mockup-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(89, 77, 217, 0.15), rgba(140, 64, 217, 0.08));
  border-radius: 10px;
  border: 1px solid var(--border-accent);
}
.mockup-avatar { font-size: 32px; }
.mockup-identity-text { display: flex; flex-direction: column; }
.mockup-label { font-size: 11px; color: var(--text-muted); font-weight: 500; }
.mockup-archetype { font-size: 18px; font-weight: 700; color: var(--accent-lighter); }

.mockup-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mockup-tag {
  padding: 4px 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-secondary);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}
.mockup-tag.highlight {
  background: var(--accent-muted);
  border-color: var(--border-accent);
  color: var(--accent-light);
}

.mockup-score {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border-radius: 10px;
  border: 1px solid var(--border-secondary);
}
.mockup-score-ring { position: relative; flex-shrink: 0; }
.mockup-score-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-lighter);
}
.mockup-score-text { display: flex; flex-direction: column; }
.mockup-score-label { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.mockup-score-status { font-size: 12px; color: var(--success); font-weight: 500; }

/* Mockup: macOS Sidebar Layout */
.mockup-app {
  display: flex;
  gap: 0;
  min-height: 260px;
}
.mockup-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0 12px 12px;
  min-width: 120px;
  border-right: 1px solid var(--border-secondary);
  background: rgba(255, 255, 255, 0.02);
}
.mockup-sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: default;
  white-space: nowrap;
}
.mockup-sidebar-item.active {
  background: var(--accent-muted);
  color: var(--accent-light);
}
.mockup-sidebar-item svg {
  flex-shrink: 0;
}

/* Mockup: Main Content Area */
.mockup-main {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

/* Mockup: Active Persona Card */
.mockup-persona-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(89, 77, 217, 0.12), rgba(140, 64, 217, 0.06));
  border: 1px solid var(--border-accent);
  border-radius: 8px;
}
.mockup-persona-emoji {
  font-size: 24px;
  flex-shrink: 0;
}
.mockup-persona-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.mockup-persona-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-lighter);
}
.mockup-status-badge {
  padding: 3px 8px;
  background: var(--success-muted);
  color: var(--success);
  font-size: 10px;
  font-weight: 600;
  border-radius: 4px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Mockup: Baseline Info */
.mockup-baseline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  background: var(--bg-surface);
  border-radius: 6px;
  border: 1px solid var(--border-secondary);
}
.mockup-baseline-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mockup-baseline-count {
  font-size: 11px;
  color: var(--text-secondary);
}

/* Mockup: Health Score */
.mockup-health {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--bg-surface);
  border-radius: 6px;
  border: 1px solid var(--border-secondary);
}
.mockup-morph-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.mockup-morph-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.mockup-morph-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--success));
  border-radius: 3px;
}
.mockup-health .mockup-score-text {
  display: flex;
  flex-direction: column;
  text-align: right;
}
.mockup-health .mockup-score-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
}
.mockup-health .mockup-score-status {
  font-size: 10px;
  color: var(--success);
  font-weight: 500;
}

/* Mockup: Activity Log */
.mockup-activity {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mockup-activity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  background: var(--bg-surface);
  border-radius: 5px;
  font-size: 10px;
  color: var(--text-secondary);
}
.mockup-activity-icon {
  font-size: 12px;
  flex-shrink: 0;
}
.mockup-activity-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── DOWNLOAD CARD ─── */
.download-card {
  max-width: 560px;
  margin: 0 auto;
}
.download-card-inner {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg), var(--shadow-glow-lg);
  position: relative;
  overflow: hidden;
}
.download-card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top center, rgba(89, 77, 217, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.download-icon {
  font-size: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.download-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.download-requirements {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.download-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  text-align: left;
}
.download-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}
.download-features svg {
  color: var(--success);
  flex-shrink: 0;
}
.download-btn {
  width: 100%;
  margin-bottom: 16px;
}
.download-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── SOCIAL PROOF ─── */
.social-proof {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-secondary);
  border-bottom: 1px solid var(--border-secondary);
  padding: 48px 0;
}
.proof-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
}
.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.proof-stat svg {
  color: var(--accent-light);
  margin-bottom: 8px;
}
.proof-number {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
}
.proof-number[data-static="true"] {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.proof-label {
  font-size: 14px;
  color: var(--text-muted);
}
.proof-divider {
  width: 1px;
  height: 48px;
  background: var(--border-secondary);
}

/* ─── SECTIONS ─── */
.section {
  padding: var(--section-py) 0;
}
.section--primary { background: var(--bg-primary); }
.section--secondary { background: var(--bg-secondary); }

.section-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.overline {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-headline {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ─── HOW IT WORKS ─── */
/* ─── WHY MIRRORMASK ─── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card-why {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 40px;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.card-why:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.why-icon {
  font-size: 48px;
  margin-bottom: 20px;
}
.why-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-light);
  margin-bottom: 8px;
}
.why-headline {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.why-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.why-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.why-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}
.why-bullets li::before {
  content: "✓";
  color: var(--success);
  font-weight: 600;
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  .card-why {
    padding: 28px;
  }
  .why-headline {
    font-size: 24px;
  }
}

/* ─── STEPS ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.card-feature {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: 14px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-inner);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.card-feature:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-inner), var(--shadow-md);
  transform: translateY(-4px);
}

.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  background: var(--accent-muted);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-light);
}

.step-icon {
  display: block;
  margin: 0 auto 16px;
  color: var(--accent-light);
}

.step-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── FEATURES ─── */
.feature-section {
  padding: var(--section-py) 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-grid--left .feature-visual { order: -1; }
.feature-grid--right .feature-visual { order: 1; }

.feature-text { max-width: 520px; }

.badge-feature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent-muted);
  border: 1px solid var(--border-accent);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-light);
  margin-bottom: 20px;
}

.feature-headline {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.feature-desc {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--text-secondary);
}
.feature-bullets svg {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Feature Visuals */
.card-visual {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow-lg), var(--shadow-glow-lg);
  overflow: hidden;
  position: relative;
}
.card-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top center, rgba(89, 77, 217, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Visual: Profile Compare */
.visual-profile-compare {
  display: flex;
  align-items: center;
  gap: 16px;
}
.visual-profile-card {
  flex: 1;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid var(--border-secondary);
}
.visual-profile-card.real {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.15);
}
.visual-profile-card.scrambled {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.15);
}
.visual-profile-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.visual-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.vtag {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
}
.vtag--real {
  background: var(--danger-muted);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.20);
}
.vtag--fake {
  background: var(--success-muted);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.20);
}
.visual-profile-arrow {
  font-size: 24px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Visual: Persona Stack */
.visual-persona-stack {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 280px;
  position: relative;
}
.visual-persona-card {
  position: absolute;
  width: 200px;
  padding: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-primary);
  border-radius: 14px;
  text-align: center;
  transform: rotate(var(--rotate));
  z-index: var(--z);
  box-shadow: var(--shadow-md);
  transition: transform 300ms ease;
}
.visual-persona-card:nth-child(1) { left: 15%; }
.visual-persona-card:nth-child(2) { left: 50%; transform: translateX(-50%) rotate(var(--rotate)); }
.visual-persona-card:nth-child(3) { right: 15%; }
.vp-emoji { font-size: 40px; display: block; margin-bottom: 8px; }
.vp-name { display: block; font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.vp-tagline { font-size: 12px; color: var(--text-muted); font-style: italic; }

/* Visual: Mischief Engine */
.visual-engine {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.engine-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.engine-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.engine-status-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--success);
}
.engine-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.engine-gauge-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.05em;
}
.engine-log {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.engine-log-item {
  font-size: 12px;
  color: var(--text-secondary);
  padding: 8px 12px;
  background: var(--bg-surface);
  border-radius: 6px;
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.elog-time {
  color: var(--text-muted);
  margin-right: 8px;
}

/* Visual: Trackers */
.visual-trackers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tracker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border-radius: 10px;
  border: 1px solid var(--border-secondary);
}
.tracker-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--bg-elevated);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.tracker-info { flex: 1; display: flex; flex-direction: column; }
.tracker-name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.tracker-detail { font-size: 12px; color: var(--text-muted); }
.badge-severity {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.badge-safe { background: var(--success-muted); color: var(--success); }
.badge-warning { background: var(--warning-muted); color: var(--warning); }
.badge-danger { background: var(--danger-muted); color: var(--danger); }

/* Visual: Confusion Score */
.visual-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.score-ring-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.score-ring-inner {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.score-ring-number {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.score-ring-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.score-milestones {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.score-milestone {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--bg-surface);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border-secondary);
}
.score-milestone.achieved {
  color: var(--success);
  border-color: rgba(16, 185, 129, 0.15);
  background: var(--success-muted);
}
.score-milestone.achieved svg { color: var(--success); }
.score-milestone svg { color: var(--text-faint); }

/* Visual: Morph Score */
.visual-morph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.morph-icon-large {
  font-size: 64px;
  animation: morphPulse 3s ease-in-out infinite;
}
@keyframes morphPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}
.morph-score-display {
  text-align: center;
}
.morph-score-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.morph-score-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--success);
  margin-top: 4px;
}
.morph-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  position: relative;
  overflow: visible;
}
.morph-progress-fill {
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--success));
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(123, 110, 230, 0.4);
}
.morph-milestone {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-secondary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.morph-stages {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 11px;
  color: var(--text-faint);
}
.morph-stage.achieved { color: var(--text-muted); }
.morph-stage.active { color: var(--success); font-weight: 600; }

/* ─── PERSONAS ─── */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.card-persona {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow-inner);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.card-persona:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-inner), var(--shadow-md);
}

.persona-emoji {
  font-size: 40px;
  display: block;
  margin-bottom: 16px;
}
.persona-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.persona-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  font-style: italic;
}
.persona-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  padding: 4px 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-secondary);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ─── PRICING ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.card-pricing {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: 14px;
  padding: 40px;
  box-shadow: var(--shadow-inner);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.card-pricing.featured {
  background: linear-gradient(180deg, rgba(89, 77, 217, 0.12) 0%, var(--bg-tertiary) 100%);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-inner), var(--shadow-glow);
  transform: scale(1.05);
  z-index: 1;
}

.badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 16px;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(89, 77, 217, 0.30);
}

.pricing-plan {
  display: block;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.pricing-plan--accent { color: var(--accent-light); }

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.pricing-amount {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pricing-period {
  font-size: 16px;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}
.pricing-features svg {
  color: var(--success);
  flex-shrink: 0;
}

/* ─── FAQ ─── */
.faq-grid {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border-secondary);
}
.faq-item:first-child {
  border-top: 1px solid var(--border-secondary);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: color 150ms ease;
}
.faq-question:hover {
  color: var(--accent-light);
}
.faq-question svg {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms ease;
}
.faq-item.open .faq-question svg {
  transform: rotate(45deg);
  color: var(--accent-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms cubic-bezier(0.4, 0, 0.2, 1),
              padding 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.faq-item.open .faq-answer {
  max-height: 300px;
}

@media (max-width: 768px) {
  .faq-question {
    font-size: 16px;
    padding: 20px 0;
  }
  .faq-answer-inner {
    font-size: 15px;
    padding: 0 0 20px;
  }
}

/* ─── FINAL CTA ─── */
.section--cta {
  position: relative;
  padding: var(--section-py-lg) 0;
  background: var(--bg-secondary);
  overflow: hidden;
}
.cta-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-content {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-headline {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
}
.cta-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.cta-note {
  font-size: 14px;
  color: var(--text-muted);
}

/* ─── FOOTER ─── */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-secondary);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.6;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-heading {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.footer-link {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 150ms ease;
}
.footer-link:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-secondary);
}
.footer-copy {
  font-size: 14px;
  color: var(--text-faint);
}
.footer-socials {
  display: flex;
  gap: 16px;
}
.footer-social {
  color: var(--text-muted);
  transition: color 150ms ease;
}
.footer-social:hover { color: var(--text-primary); }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 500ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 400ms; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 500ms; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 600ms; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 700ms; }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: 800ms; }
.reveal-stagger.visible > *:nth-child(10) { transition-delay: 900ms; }
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .orb { animation: none; }
  .reveal, .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition-delay: 0ms !important;
  }
  .anim-hero {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ─── RESPONSIVE ─── */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-py: 100px;
    --section-py-lg: 120px;
  }

  .hero-headline { font-size: 56px; }
  .section-headline { font-size: 40px; }
  .cta-headline { font-size: 40px; }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .feature-grid--left .feature-visual,
  .feature-grid--right .feature-visual {
    order: 1;
  }
  .feature-text { max-width: 100%; }

  .persona-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
  .card-pricing.featured {
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }

  .download-card-inner {
    padding: 40px 32px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-py: 80px;
    --section-py-lg: 100px;
    --content-px: 20px;
  }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav.visible { transform: translateY(0); }

  .hero {
    padding: 120px 0 60px;
  }
  .hero-headline { font-size: 40px; }
  .hero-sub { font-size: 17px; }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    margin-bottom: 48px;
  }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-product { max-width: 100%; }
  .product-frame {
    transform: rotateX(2deg);
  }

  .proof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .proof-divider { display: none; }
  .proof-number { font-size: 32px; }

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

  .section-headline { font-size: 32px; }
  .feature-headline { font-size: 28px; }
  .cta-headline { font-size: 32px; }

  .persona-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .card-persona { padding: 20px; }
  .persona-emoji { font-size: 32px; margin-bottom: 12px; }
  .persona-name { font-size: 16px; }
  .persona-tagline { font-size: 13px; margin-bottom: 12px; }

  .pricing-amount { font-size: 40px; }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta-buttons .btn { width: 100%; justify-content: center; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* Persona stack visual adjustments */
  .visual-persona-stack { height: 240px; }
  .visual-persona-card { width: 160px; padding: 16px; }
  .visual-profile-compare { flex-direction: column; }
  .visual-profile-arrow { transform: rotate(90deg); }

  /* Mockup sidebar collapses on mobile */
  .mockup-sidebar {
    display: none;
  }
  .mockup-app {
    flex-direction: column;
  }

  /* Download card */
  .download-card-inner {
    padding: 32px 24px;
  }
  .download-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 34px; }
  .persona-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── PRO BADGE (inline) ─── */
.badge-pro {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: var(--accent-muted);
  border: 1px solid rgba(89, 77, 217, 0.3);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-light);
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 6px;
}

/* ─── FREE vs PRO COMPARISON ─── */
.pricing-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 48px auto 0;
}

.pricing-tier {
  padding: 32px 28px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  transition: border-color 0.3s;
}

.pricing-tier--pro {
  border-color: var(--accent-primary);
  background: rgba(89, 77, 217, 0.06);
  position: relative;
}

.pricing-tier--pro::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--gradient-button);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  white-space: nowrap;
}

.pricing-cta {
  margin-top: 24px;
  width: 100%;
  text-align: center;
}

.pricing-tier-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pricing-tier-price {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pricing-tier-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-tier-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-features li svg {
  flex-shrink: 0;
  color: var(--success);
}

.pricing-features li.pricing-disabled {
  color: var(--text-faint);
}

.pricing-features li.pricing-disabled svg {
  color: var(--text-faint);
}

@media (max-width: 640px) {
  .pricing-comparison {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
