/* ═══════════════════════════════════════════════
   TyperBot — Premium SaaS Homepage
   Dark Glassmorphism Theme
   ═══════════════════════════════════════════════ */

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

:root {
  /* Colors */
  --bg-dark: #030712;
  --bg-surface: #0a1628;
  --bg-card: rgba(15, 25, 50, 0.6);
  --primary-deep: #0B1F3A;
  --primary: #0ea5e9;
  --primary-light: #38bdf8;
  --primary-glow: rgba(14, 165, 233, 0.3);
  --accent: #06d6f0;
  --accent-glow: rgba(6, 214, 240, 0.25);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(148, 163, 184, 0.1);
  --border-glow: rgba(14, 165, 233, 0.2);
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container-max: 1200px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img { max-width: 100%; }

code {
  font-family: var(--font-mono);
  background: rgba(14, 165, 233, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.875em;
  color: var(--primary-light);
}

/* ─── CONTAINER ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── GLASS CARD ─── */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.08), 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-xl { padding: 1rem 2.5rem; font-size: 1.1rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0284c7);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(14, 165, 233, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: rgba(14, 165, 233, 0.1);
  box-shadow: 0 0 20px var(--primary-glow);
}

.btn-glass {
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary-light);
  border: 1px solid rgba(14, 165, 233, 0.25);
  backdrop-filter: blur(12px);
}
.btn-glass:hover {
  background: rgba(14, 165, 233, 0.2);
  box-shadow: 0 0 20px var(--primary-glow);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

/* ─── GRADIENT TEXT ─── */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.underline-accent {
  position: relative;
}
.underline-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

/* ─── SECTION COMMON ─── */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  padding: 0.375rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ─── SCROLL ANIMATIONS ─── */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition-base), padding var(--transition-base), backdrop-filter var(--transition-base);
}

.navbar.scrolled {
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  z-index: 2;
}

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

.logo-accent {
  color: var(--primary-light);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.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(--primary);
  transition: width var(--transition-base);
  border-radius: 1px;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 5rem;
  overflow: hidden;
}

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

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15), transparent 70%);
  top: -200px;
  right: -100px;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 214, 240, 0.1), transparent 70%);
  bottom: -100px;
  left: -100px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 100px;
  padding: 0.4rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.6s ease;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s ease;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fadeInUp 0.9s ease;
}

.trust-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-badge svg {
  stroke: var(--primary);
  opacity: 0.7;
}

/* ─── HERO CODE EDITOR ─── */
.hero-visual {
  animation: fadeInRight 0.8s ease;
}

.code-editor {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(10, 18, 36, 0.9);
  border: 1px solid var(--border);
  box-shadow:
    0 0 60px rgba(14, 165, 233, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.5);
}

.editor-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(15, 25, 50, 0.8);
  border-bottom: 1px solid var(--border);
}

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

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

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

.editor-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  flex: 1;
}

.editor-speed {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.speed-label { color: var(--text-muted); }

.speed-value {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 600;
}

.editor-body {
  display: flex;
  min-height: 300px;
  padding: 1rem 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
}

.line-numbers {
  padding: 0 1rem;
  text-align: right;
  color: var(--text-muted);
  opacity: 0.4;
  user-select: none;
  min-width: 40px;
}

.code-content {
  flex: 1;
  padding: 0 1rem;
  overflow: hidden;
  white-space: pre;
  color: var(--text-secondary);
}

.editor-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(15, 25, 50, 0.8);
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s infinite;
}

.editor-stats {
  margin-left: auto;
  font-family: var(--font-mono);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  animation: float 3s ease-in-out infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  opacity: 0.5;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── Code syntax highlighting classes ─── */
.code-keyword { color: #c084fc; }
.code-function { color: #60a5fa; }
.code-string { color: #34d399; }
.code-comment { color: #64748b; font-style: italic; }
.code-number { color: #fbbf24; }
.code-operator { color: #94a3b8; }
.code-class { color: #f472b6; }
.code-decorator { color: #fb923c; }
.code-param { color: #e2e8f0; }
.code-self { color: #f472b6; }
.code-builtin { color: #22d3ee; }
.code-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--primary-light);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

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

/* ═══════════════════════════════════════════════
   PROBLEM → SOLUTION
   ═══════════════════════════════════════════════ */
.ps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ps-card {
  padding: 2rem;
  text-align: center;
}

.ps-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

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

.ps-icon-problem svg { stroke: #ef4444; }

.ps-icon-solution {
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
}

.ps-icon-solution svg { stroke: var(--primary-light); }

.ps-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.ps-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.ps-solution {
  border-color: rgba(14, 165, 233, 0.2);
  background: rgba(14, 165, 233, 0.05);
}

/* ═══════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════ */
.how-it-works {
  background: linear-gradient(180deg, transparent, rgba(14, 165, 233, 0.02), transparent);
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.step-card {
  padding: 2.5rem 2rem;
  text-align: center;
  flex: 1;
  max-width: 300px;
  position: relative;
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(14, 165, 233, 0.1);
  font-family: var(--font-mono);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.step-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.step-icon svg { stroke: var(--primary-light); }

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  color: var(--text-muted);
  opacity: 0.3;
  flex-shrink: 0;
}

.step-connector svg { stroke: var(--primary); }

/* ═══════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   DEMO COMPARISON
   ═══════════════════════════════════════════════ */
.demo {
  background: linear-gradient(180deg, transparent, rgba(10, 18, 36, 0.5), transparent);
}

.demo-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}

.demo-panel {
  padding: 1.5rem;
}

.demo-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.demo-label-dot-slow { background: var(--danger); }
.demo-label-dot-fast { background: var(--success); }

.demo-editor {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(3, 7, 18, 0.8);
  border: 1px solid var(--border);
}

.demo-editor-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  background: rgba(15, 25, 50, 0.8);
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.demo-code {
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
  min-height: 180px;
  color: var(--text-secondary);
  white-space: pre;
  overflow: hidden;
}

.demo-time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.demo-timer {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.demo-timer-fast {
  color: var(--accent);
}

.demo-vs {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-muted);
  opacity: 0.3;
}

.demo-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ═══════════════════════════════════════════════
   TRUST & SECURITY
   ═══════════════════════════════════════════════ */
.trust {
  background: linear-gradient(180deg, transparent, rgba(14, 165, 233, 0.02), transparent);
}

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

.trust-card {
  padding: 2rem;
  text-align: center;
}

.trust-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.trust-card-icon svg { stroke: var(--primary-light); }

.trust-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.trust-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.trust-badges-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-badge-large {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.trust-badge-large svg { stroke: var(--primary-light); }

/* ═══════════════════════════════════════════════
   DOWNLOAD
   ═══════════════════════════════════════════════ */
.download-card {
  padding: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.download-main {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.download-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.download-icon svg { stroke: var(--primary-light); }

.download-info {
  flex: 1;
  min-width: 200px;
}

.download-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.download-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.meta-item svg { stroke: var(--text-muted); }

.download-reqs {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.download-reqs strong { color: var(--text-primary); }

.download-btn {
  flex-shrink: 0;
}

.download-steps h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.download-steps ol {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
}

.download-steps li {
  counter-increment: step;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.download-steps li::before {
  content: counter(step);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-light);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  padding: 2.5rem;
  position: relative;
}

.pricing-card-featured {
  border-color: rgba(14, 165, 233, 0.3);
  background: rgba(14, 165, 233, 0.06);
  box-shadow: 0 0 40px rgba(14, 165, 233, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #0284c7);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1.25rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

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

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

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

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

/* ═══════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════ */
.faq-list {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-question:hover { color: var(--primary-light); }

.faq-chevron {
  transition: transform var(--transition-base);
  flex-shrink: 0;
  stroke: var(--text-muted);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════════ */
.final-cta {
  position: relative;
  text-align: center;
  padding: 5rem 0;
  overflow: hidden;
}

.final-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08), transparent 70%);
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 1;
}

.final-cta-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.final-cta-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

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

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 3rem;
  padding-bottom: 2rem;
}

.footer-brand p {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-col a:hover { color: var(--primary-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

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

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

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

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-sub { margin: 0 auto 2rem; }
  .hero-ctas { justify-content: center; }
  .trust-badges { justify-content: center; }

  .ps-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }

  .steps-grid {
    flex-direction: column;
  }

  .step-connector {
    transform: rotate(90deg);
  }

  .step-card { max-width: 100%; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .demo-comparison {
    grid-template-columns: 1fr;
  }

  .demo-vs {
    text-align: center;
  }

  .trust-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto 2rem; }

  .download-main {
    flex-direction: column;
    text-align: center;
  }

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

  .pricing-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(3, 7, 18, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition-slow);
    border-left: 1px solid var(--border);
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  .nav-actions .btn { display: none; }

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

  .hero-headline {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .editor-body { min-height: 220px; }

  .footer-links { flex-direction: column; gap: 2rem; }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn { width: 100%; }

  .trust-badges { flex-direction: column; align-items: center; }

  .download-meta { flex-direction: column; gap: 0.5rem; }

  .trust-badges-row {
    flex-direction: column;
    align-items: center;
  }

  .final-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .final-cta-buttons .btn { width: 100%; max-width: 320px; }
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(14, 165, 233, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(14, 165, 233, 0.4);
}
