/* ═══════════════════════════════════════════════════════════════
   spNtactisArt — Premium SaaS Design System
   Dark glassmorphism theme with teal/cyan accent
   ═══════════════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #13131a;
  --bg-tertiary: #1c1c26;
  --bg-card: rgba(19, 19, 26, 0.7);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-default: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --text-primary: #f0f0ff;
  --text-secondary: #a0a0b8;
  --text-muted: #6b6b80;
  --brand-400: #2dd4bf;
  --brand-500: #14b8a6;
  --brand-600: #0d9488;
  --brand-glow: rgba(45, 212, 191, 0.25);
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-gold: #f59e0b;
  --accent-red: #ef4444;
  --accent-pink: #ff2d55;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --font: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Light Theme (Warm Solarized / Eye-Comfort) ── */
[data-theme="light"] {
  --bg-primary: #f5f0e8;
  --bg-secondary: #ece6db;
  --bg-tertiary: #e2dace;
  --bg-card: rgba(248, 243, 234, 0.9);
  --border-subtle: rgba(120, 100, 70, 0.08);
  --border-default: rgba(120, 100, 70, 0.14);
  --border-hover: rgba(120, 100, 70, 0.22);
  --text-primary: #2c2416;
  --text-secondary: #5a4e3e;
  --text-muted: #8a7e6e;
  --brand-400: #0d9488;
  --brand-500: #0f766e;
  --brand-600: #115e59;
  --brand-glow: rgba(13, 148, 136, 0.15);
}

[data-theme="light"] body { background: var(--bg-primary); }
[data-theme="light"] .bg-orb { opacity: 0.03; }
[data-theme="light"] .glass {
  background: var(--bg-card);
  border-color: var(--border-default);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .navbar { backdrop-filter: blur(20px); }
[data-theme="light"] .navbar.scrolled {
  background: rgba(245, 240, 232, 0.92);
  border-bottom-color: rgba(120, 100, 70, 0.1);
}
[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, #0d9488, #0284c7);
  -webkit-background-clip: text;
  background-clip: text;
}
[data-theme="light"] .pricing-card.featured {
  border-color: var(--brand-500);
  box-shadow: 0 20px 60px rgba(13, 148, 136, 0.12);
}

/* Light theme — fix all hardcoded whites */
[data-theme="light"] .logo-text { color: var(--text-primary); }
[data-theme="light"] .logo-icon { color: white; } /* keep white on gradient bg */
[data-theme="light"] .nav-link-cta {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--text-primary);
}
[data-theme="light"] .nav-link-cta:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: var(--brand-500);
}
[data-theme="light"] .nav-link { color: var(--text-secondary); }
[data-theme="light"] .nav-link:hover { color: var(--brand-500); }
[data-theme="light"] .btn-primary { color: white; } /* keep white on brand bg */
[data-theme="light"] .btn-outline {
  background: rgba(0, 0, 0, 0.03);
  color: var(--text-primary);
  border-color: rgba(0, 0, 0, 0.12);
}
[data-theme="light"] .btn-outline:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.2);
}
[data-theme="light"] .hero h1 { color: var(--text-primary); }
[data-theme="light"] .step-number { color: white; } /* keep on gradient bg */
[data-theme="light"] .pricing-label { color: white; } /* keep on gradient bg */
[data-theme="light"] .pricing-price { color: var(--text-primary); }
[data-theme="light"] .section-alt { background: var(--bg-secondary); }
[data-theme="light"] .mobile-menu {
  background: var(--bg-secondary);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .faq-question { color: var(--text-primary); }
[data-theme="light"] .faq-question:hover { color: var(--brand-500); }
[data-theme="light"] .footer {
  background: var(--bg-secondary);
  border-top-color: rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .footer-links a { color: var(--text-muted); }
[data-theme="light"] .footer-links a:hover { color: var(--text-primary); }
[data-theme="light"] .disclaimer { border-color: rgba(0, 0, 0, 0.06); }
[data-theme="light"] .disclaimer h4 { color: var(--text-primary); }
[data-theme="light"] .copy-btn {
  background: rgba(13, 148, 136, 0.08);
  border-color: rgba(13, 148, 136, 0.15);
}
[data-theme="light"] .upload-zone {
  border-color: rgba(0, 0, 0, 0.12);
  background: var(--bg-secondary);
}
[data-theme="light"] .upload-zone:hover {
  border-color: var(--brand-500);
  background: rgba(13, 148, 136, 0.03);
}
[data-theme="light"] .code-input {
  background: var(--bg-secondary);
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--text-primary);
}
[data-theme="light"] .code-input:focus {
  border-color: var(--brand-500);
}

/* ── Theme Toggle Button ── */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
}
.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(20deg);
}
[data-theme="light"] .theme-toggle-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* ── Footer Legal Links ── */
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 0;
  margin-top: 16px;
  border-top: 1px solid var(--border-subtle);
}
.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-legal a:hover { color: var(--brand-400); }
.footer-legal span { color: var(--border-default); font-size: 0.7rem; }

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background: var(--brand-500);
  color: white;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-tertiary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #2a2a35; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand-400) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-purple {
  background: linear-gradient(135deg, var(--accent-purple) 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 10;
}

.section-alt {
  background: rgba(19, 19, 26, 0.5);
  border-top: 1px solid var(--border-subtle);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 60px;
}

/* ── Glass Panels ── */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  transition: var(--transition);
}

.glass:hover {
  border-color: var(--border-hover);
  background: rgba(28, 28, 38, 0.7);
}

/* ── Ambient Background ── */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  mix-blend-mode: screen;
  animation: orb-float 8s ease-in-out infinite;
}

.bg-orb-1 {
  top: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(45, 212, 191, 0.12);
}

.bg-orb-2 {
  top: 30%;
  right: -10%;
  width: 350px;
  height: 350px;
  background: rgba(59, 130, 246, 0.12);
  animation-delay: -3s;
}

.bg-orb-3 {
  bottom: -15%;
  left: 25%;
  width: 380px;
  height: 380px;
  background: rgba(139, 92, 246, 0.10);
  animation-delay: -5s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 10, 15, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 800;
}

.logo-text { color: white; }
.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-400), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px var(--brand-glow);
}
.logo-accent { color: var(--brand-400); }

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

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-link:hover { color: var(--brand-400); }

.nav-link-cta {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-weight: 600;
}

.nav-link-cta:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(45, 212, 191, 0.4);
}

/* Mobile Nav */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px;
}

.mobile-menu.active { display: block; }

.mobile-menu .nav-link {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-md);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-500);
  color: white;
  box-shadow: 0 4px 20px var(--brand-glow);
}

.btn-primary:hover {
  background: var(--brand-600);
  box-shadow: 0 8px 30px rgba(45, 212, 191, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25);
}

.btn-gold:hover {
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.35);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* ── Hero Section ── */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.2);
  color: var(--brand-400);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-400);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 0 40px 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Stats Bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 80px;
}

.stat-item {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── How It Works ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.step-card {
  padding: 40px 32px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-400), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ── Feature Cards ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 36px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-icon-teal {
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.2);
}

.feature-icon-blue {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.feature-icon-purple {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.feature-icon-gold {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.feature-icon-pink {
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.2);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

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

/* ── Coming Soon / Roadmap ── */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.roadmap-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
  opacity: 0.85;
}

.roadmap-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100px;
  height: 100px;
  background: var(--accent-purple);
  filter: blur(60px);
  opacity: 0.1;
}

.roadmap-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: #c084fc;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.roadmap-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.roadmap-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Pricing ── */
.pricing-card {
  padding: 40px 32px;
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--brand-500);
  box-shadow: 0 20px 60px rgba(45, 212, 191, 0.15);
  transform: scale(1.02);
}

.pricing-label {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--brand-400), var(--accent-blue));
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-name {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-limit {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.2);
  color: var(--brand-400);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 16px 0 24px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-features li:last-child { border-bottom: none; }

.check-icon {
  color: var(--brand-400);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ── Activation Portal ── */
.activation-section {
  max-width: 560px;
  margin: 0 auto;
}

.activation-box {
  padding: 48px 40px;
  text-align: center;
}

.activation-box h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.activation-box p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.code-input-group {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.code-input {
  flex: 1;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  border: 2px solid var(--border-default);
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace, var(--font);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  outline: none;
  transition: var(--transition);
}

.code-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: none;
}

.code-input:focus {
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px var(--brand-glow);
}

.code-input.error {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
  animation: shake 0.5s;
}

.code-input.success {
  border-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

.code-message {
  font-size: 0.85rem;
  font-weight: 500;
  min-height: 24px;
  margin-top: 8px;
}

.code-message.error { color: var(--accent-red); }
.code-message.success { color: #22c55e; }

/* ── Dashboard (hidden until activated) ── */
.dashboard {
  display: none;
  animation: fadeUp 0.6s ease-out;
}

.dashboard.active { display: block; }

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

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.dashboard-header h2 {
  font-size: 1.6rem;
}

.quota-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.2);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-400);
}

.dashboard-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.18);
  color: #93c5fd;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-subcopy {
  max-width: 720px;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.95fr);
  gap: 24px;
  align-items: start;
}

.dashboard-workspace,
.dashboard-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dashboard-aside {
  position: sticky;
  top: 110px;
}

.dashboard-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding: 32px;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.16), transparent 40%),
    radial-gradient(circle at bottom left, rgba(45, 212, 191, 0.14), transparent 38%),
    var(--bg-card);
}

.dashboard-hero::before {
  content: '';
  position: absolute;
  inset: auto -80px -120px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.08);
  filter: blur(10px);
}

.dashboard-hero > * {
  position: relative;
  z-index: 1;
}

.dashboard-hero-label {
  color: var(--brand-400);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.dashboard-hero h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
  margin-bottom: 10px;
}

.dashboard-hero p {
  color: var(--text-secondary);
  max-width: 62ch;
}

.dashboard-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.18);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-chip-alt {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.2);
}

.dashboard-summary-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.summary-card {
  padding: 22px;
  min-height: 168px;
}

.summary-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-card strong {
  display: block;
  color: var(--text-primary);
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.summary-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.title-card {
  padding: 24px;
  margin-bottom: 24px;
}

.field-label {
  display: block;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.field-help {
  color: var(--text-muted);
  font-size: 0.84rem;
  margin-bottom: 14px;
}

.dashboard-input {
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  background: rgba(10, 10, 15, 0.72);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.96rem;
  transition: var(--transition);
}

.dashboard-input:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px var(--brand-glow);
}

.progress-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.progress-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -20px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.08);
  filter: blur(8px);
}

.progress-card > * {
  position: relative;
  z-index: 1;
}

.progress-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.progress-overline {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.progress-title {
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 700;
}

.progress-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.cancel-btn {
  border: 1px solid rgba(239, 68, 68, 0.24);
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.cancel-btn:hover {
  transform: translateY(-1px);
  background: rgba(239, 68, 68, 0.16);
}

.progress-card .progress-bar-bg {
  height: 10px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.progress-card .progress-label {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
}

.progress-eta {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.fun-callout {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.16);
}

.fun-callout-label {
  margin-bottom: 6px;
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fun-callout-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.error-display {
  display: none;
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.18);
}

.error-title {
  color: #fca5a5;
  font-weight: 700;
  margin-bottom: 8px;
}

.error-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.retry-btn {
  border: none;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--brand-400), var(--accent-blue));
  color: white;
  padding: 10px 16px;
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.dashboard-panel {
  padding: 24px;
}

.panel-eyebrow {
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-panel h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.dashboard-panel p {
  color: var(--text-secondary);
}

.stage-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.stage-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.stage-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-size: 0.94rem;
}

.stage-item p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.stage-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.stage-item.active {
  border-color: rgba(45, 212, 191, 0.28);
  background: rgba(45, 212, 191, 0.08);
  transform: translateY(-1px);
}

.stage-item.active .stage-dot {
  background: linear-gradient(135deg, var(--brand-400), var(--accent-blue));
  color: white;
}

.stage-item.done {
  border-color: rgba(34, 197, 94, 0.22);
  background: rgba(34, 197, 94, 0.08);
}

.stage-item.done .stage-dot {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
}

.session-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.session-metric:last-of-type {
  border-bottom: none;
}

.session-metric span {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.session-metric strong {
  color: var(--text-primary);
  font-size: 0.94rem;
  text-align: right;
}

.session-logout {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}

[data-theme="light"] .dashboard-hero,
[data-theme="light"] .progress-card,
[data-theme="light"] .dashboard-panel,
[data-theme="light"] .summary-card,
[data-theme="light"] .title-card {
  background: var(--bg-card);
}

[data-theme="light"] .dashboard-input {
  background: rgba(255, 255, 255, 0.65);
}

[data-theme="light"] .stage-item {
  background: rgba(0, 0, 0, 0.02);
}

.upload-zone {
  padding: 60px 32px;
  text-align: center;
  border: 2px dashed var(--border-default);
  border-radius: var(--radius-xl);
  background: var(--bg-primary);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 24px;
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--brand-400);
  background: rgba(45, 212, 191, 0.03);
}

.upload-zone .upload-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.upload-zone h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.upload-zone p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.file-info {
  display: none;
  padding: 20px 24px;
  margin-bottom: 24px;
  align-items: center;
  gap: 16px;
}

.file-info.active {
  display: flex;
}

.file-info .file-icon {
  font-size: 2rem;
}

.file-details {
  flex: 1;
}

.file-details .name {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.file-details .size {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.remove-file {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--accent-red);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font);
  transition: var(--transition);
}

.remove-file:hover {
  background: rgba(239, 68, 68, 0.2);
}

/* Progress Bar */
.progress-container {
  display: none;
  margin: 24px 0;
}

.progress-container.active { display: block; }

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: var(--bg-primary);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-400), var(--accent-blue));
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.progress-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ── Payment Info Box ── */
.payment-box {
  padding: 32px;
  margin-top: 24px;
}

.payment-box h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--border-subtle);
}

.payment-detail .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.payment-detail .value {
  color: var(--text-primary);
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
}

.copy-btn {
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.2);
  color: var(--brand-400);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font);
  transition: var(--transition);
  margin-left: 12px;
}

.copy-btn:hover { background: rgba(45, 212, 191, 0.2); }
.copy-btn.copied { background: rgba(34, 197, 94, 0.2); color: #22c55e; border-color: rgba(34, 197, 94, 0.3); }

/* ── FAQ ── */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  margin-bottom: 12px;
  overflow: hidden;
}

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

.faq-question:hover { color: var(--brand-400); }

.faq-arrow {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
  color: var(--brand-400);
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover { color: white; }

.disclaimer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 32px;
}

.disclaimer h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.disclaimer p {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.8;
  text-align: justify;
}

.copyright {
  text-align: center;
  font-size: 0.75rem;
  color: #3a3a4a;
  margin-top: 24px;
}

@media (max-width: 1100px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-aside { position: static; }
  .dashboard-summary-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  
  .hero { padding-top: 120px; padding-bottom: 60px; }
  .section { padding: 60px 0; }
  
  .hero h1 { font-size: 2rem; }
  
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 48px; }
  
  .pricing-card.featured { transform: none; }
  
  /* Stack pricing + payment on mobile */
  #pricing .container > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    max-width: 480px !important;
  }
  
  .code-input-group { flex-direction: column; }
  
  .dashboard-header { flex-direction: column; text-align: center; }
  .dashboard-subcopy { margin-left: auto; margin-right: auto; }
  .dashboard-hero { padding: 24px; }
  .dashboard-summary-row { grid-template-columns: 1fr; }
  .progress-topline { flex-direction: column; }
  .progress-actions { justify-content: flex-start; }
  .session-metric { align-items: flex-start; flex-direction: column; }
  
  .payment-detail { flex-direction: column; gap: 8px; text-align: center; }
  
  .footer-top { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.7rem; }
  .hero-desc { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .quota-badge,
  .progress-actions,
  .dashboard-hero-badges {
    width: 100%;
    justify-content: center;
  }
  .summary-card,
  .progress-card,
  .dashboard-panel,
  .title-card {
    padding: 20px;
  }
  .stage-item { padding: 12px 14px; }
}

/* --- HERO 2-COLUMN SPLIT LAYOUT --- */
.hero-split {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: center;
    gap: 48px;
    padding-top: 20px;
    min-height: 520px;
}

.hero-split-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-anim-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(0,210,190,0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.hero-split-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-split-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.15;
    text-align: left;
}

.hero-split-text .hero-desc {
    text-align: left;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-split-text .hero-badge {
    margin-bottom: 24px;
}

.hero-split-text .hero-actions {
    flex-direction: row;
    gap: 16px;
}

/* Responsive: stack on mobile */
@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    .hero-split-text {
        align-items: center;
    }
    .hero-split-text h1,
    .hero-split-text .hero-desc {
        text-align: center;
    }
    .hero-split-visual lottie-player {
        height: 300px !important;
    }
}

/* --- HERO SPLIT � SPECIFICITY OVERRIDES --- */
/* Override .hero { text-align: center } for the split layout */
.hero-split {
    text-align: left;
}
.hero-split .hero-split-text .hero-desc {
    margin: 0 0 32px 0;
}
.hero-split .hero-split-text .hero-actions {
    justify-content: flex-start;
}
.hero-split .hero-split-text h1 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    margin-bottom: 20px;
}
