/* PitchDeck Pro CSS Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-primary: #060918;
  --bg-secondary: #0f1225;
  --bg-tertiary: #161a35;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --accent: #06d6a0;
  --accent-light: #34ebc0;
  --accent2: #22d3ee;
  --danger: #f87171;
  --warning: #fbbf24;
  --success: #34d399;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #475569;
  --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
  --gradient-accent: linear-gradient(135deg, #06d6a0, #22d3ee);
  --gradient-hero: radial-gradient(ellipse at 20% 50%, rgba(99,102,241,0.15) 0%, transparent 50%), 
                     radial-gradient(ellipse at 80% 20%, rgba(6,214,160,0.1) 0%, transparent 50%), 
                     radial-gradient(ellipse at 50% 80%, rgba(139,92,246,0.1) 0%, transparent 50%);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 60px rgba(99,102,241,0.15);
  --shadow-glow-accent: 0 0 60px rgba(6,214,160,0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

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

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

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  text-align: center;
}

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

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

.section {
  padding: 100px 0;
}

/* Glass Card */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  font-size: 1rem;
  font-family: var(--font);
  text-decoration: none;
  gap: 8px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.45);
}

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

.btn-secondary:hover {
  background: var(--surface);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--gradient-accent);
  color: #060918;
  box-shadow: 0 4px 20px rgba(6, 214, 160, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(6, 214, 160, 0.45);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.125rem;
}

/* Navbar */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(6, 9, 24, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-weight: 800;
  font-size: 1.5rem;
  text-decoration: none;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

/* Hero Section */
#hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero-content {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--accent);
  margin-bottom: 32px;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 64px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-light);
  display: block;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

/* Floating Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  -webkit-filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(99, 102, 241, 0.12);
  top: -100px;
  left: -100px;
  animation: float 8s ease-in-out infinite;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(6, 214, 160, 0.08);
  bottom: -50px;
  right: -50px;
  animation: float 6s ease-in-out infinite 2s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: rgba(139, 92, 246, 0.1);
  top: 50%;
  left: 60%;
  animation: float 10s ease-in-out infinite 1s;
}

/* How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 24px;
}

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

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 24px auto;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.step-number {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #060918;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 2px 8px rgba(6, 214, 160, 0.4);
}

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

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

/* Form Wizard */
#form-section {
  background: var(--bg-secondary);
}

.form-wizard-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px;
}

/* Progress Bar */
.progress-bar-track {
  height: 4px;
  background: var(--surface);
  border-radius: 2px;
  margin-bottom: 40px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 25%;
}

/* Step Indicators */
.step-indicators {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-dot .dot-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.step-dot.active .dot-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.step-dot.completed .dot-circle {
  background: var(--accent);
  border-color: var(--accent);
  color: #060918;
  box-shadow: 0 0 15px rgba(6, 214, 160, 0.4);
}

.step-dot .dot-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step-dot.active .dot-label {
  color: var(--primary-light);
}

.step-dot.completed .dot-label {
  color: var(--accent);
}

/* Form Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeSlideIn 0.5s ease forwards;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-description {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

/* Form Elements */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-dim);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  gap: 16px;
}

.form-nav .btn {
  flex: 1;
}

.input-error {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15) !important;
  animation: shake 0.4s ease;
}

/* Results Section */
.results-hero {
  text-align: center;
  margin-bottom: 64px;
}

#results-valuation-amount {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

#results-valuation-label {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-top: 8px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.metric-card {
  text-align: center;
  padding: 28px 20px;
}

.metric-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Charts Grid */
.charts-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 24px;
  margin-bottom: 64px;
}

.charts-grid-full {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.chart-container {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.chart-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chart-wrapper {
  position: relative;
  height: 280px;
  width: 100%;
}

/* Deck Outline */
.deck-section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 32px;
  letter-spacing: -0.03em;
  text-align: center;
}

.deck-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.deck-slide {
  display: flex;
  gap: 20px;
  padding: 28px;
  align-items: flex-start;
}

.slide-number {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: white;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
}

.slide-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.slide-content {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.slide-bullets {
  list-style: none;
}

.slide-bullet {
  padding-left: 20px;
  position: relative;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.4;
}

.slide-bullet::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Paywall CTA Card */
.results-cta {
  margin-top: 80px;
  margin-bottom: 40px;
}

.paywall-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 48px;
  background: radial-gradient(circle at top right, rgba(99,102,241,0.08) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
}

.paywall-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(99,102,241,0.2) 0%, rgba(6,214,160,0.1) 100%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.price-tag {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 24px 0;
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 900;
}

.price-period {
  color: var(--text-dim);
  font-weight: 500;
}

.feature-list {
  list-style: none;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.cta-buttons .btn {
  flex: 1;
}

/* Generating Overlay */
.generating-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 24, 0.92);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease forwards;
}

.spinner {
  width: 56px;
  height: 56px;
  border: 4px solid var(--glass-border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.generating-text {
  margin-top: 28px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.generating-subtext {
  margin-top: 8px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 60px 0;
  border-top: 1px solid var(--glass-border);
  background: rgba(6, 9, 24, 0.5);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-text {
  color: var(--text-dim);
  font-size: 0.875rem;
}

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

.footer-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

/* Staggered Fade-in Utility */
.fade-in-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .charts-grid {
    grid-template-columns: 1fr;
  }
  .charts-grid-full {
    grid-template-columns: 1fr;
  }
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .deck-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-wizard-card {
    padding: 28px 20px;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 32px;
  }
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .cta-buttons {
    flex-direction: column;
  }
  .step-dot .dot-label {
    display: none;
  }
  .step-indicators {
    margin-bottom: 24px;
  }
}

/* Results Section — hidden by default */
#results-section {
  display: none;
}

/* Form input error state */
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15) !important;
}

.field-error {
  display: block;
  color: var(--danger);
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 6px;
}

/* Form step slide animations */
.form-step.slide-out-left {
  animation: slideOutLeft 0.3s ease forwards;
}
.form-step.slide-out-right {
  animation: slideOutRight 0.3s ease forwards;
}
.form-step.slide-in-right {
  animation: slideInFromRight 0.3s ease forwards;
}
.form-step.slide-in-left {
  animation: slideInFromLeft 0.3s ease forwards;
}

@keyframes slideOutLeft {
  to { opacity: 0; transform: translateX(-40px); }
}
@keyframes slideOutRight {
  to { opacity: 0; transform: translateX(40px); }
}
@keyframes slideInFromRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInFromLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Shake animation for validation */
.form-step.shake {
  animation: shake 0.4s ease;
}

/* Navbar scrolled state */
#navbar.scrolled {
  padding: 12px 0;
  background: rgba(6, 9, 24, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Fade-in-up animation for results */
.fade-in-up {
  animation: fadeSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Fade-out animation for overlay */
.fade-out {
  animation: fadeOut 0.4s ease forwards;
}

@keyframes fadeOut {
  to { opacity: 0; }
}

/* Metric card extras */
.metric-icon {
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.metric-desc {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.metric-card {
  animation: fadeSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Deck card styling (used by app.js rendering) */
.deck-card {
  padding: 28px;
}

.deck-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.deck-slide-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.deck-slide-title {
  font-size: 1.125rem;
  font-weight: 700;
}

.deck-slide-content {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.deck-slide-bullets {
  list-style: none;
  padding: 0;
}

.deck-bullet {
  padding-left: 20px;
  position: relative;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.5;
}

.deck-bullet::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Form group focus state */
.form-group.focused .form-label {
  color: var(--primary-light);
}

/* Select dropdown styling */
.form-select option {
  background: var(--bg-secondary);
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════════════════════
   PITCHDECK PRO ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════════════ */

/* Sandbox Adjuster Panel */
.sandbox-panel {
  margin-bottom: 48px;
  background: radial-gradient(circle at top right, rgba(99,102,241,0.05) 0%, transparent 70%);
}
.sandbox-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 16px;
}
.sandbox-title {
  font-size: 1.35rem;
  font-weight: 700;
}
.sandbox-subtitle {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 4px;
}
.sandbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
}
.sandbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sandbox-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sandbox-value {
  color: var(--accent);
  font-family: monospace;
  font-size: 0.9rem;
  font-weight: 700;
}
.sandbox-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  outline: none;
  transition: background 0.3s;
}
.sandbox-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-light);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
  transition: transform 0.1s, background 0.3s;
}
.sandbox-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
  background: var(--accent);
}
.sandbox-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8125rem;
}

/* Deck Outline Header & Copy Actions */
.deck-outline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.deck-actions {
  display: flex;
  gap: 12px;
}
.btn-copy-slide {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  margin-left: auto;
}
.btn-copy-slide:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  transform: scale(1.1);
}

/* Slide Presentation Modal */
.presentation-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}
.presentation-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 24, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}
.presentation-container {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 960px;
}
.presentation-card {
  padding: 48px;
  position: relative;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: radial-gradient(circle at top right, rgba(99,102,241,0.06) 0%, transparent 60%);
}
.presentation-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.presentation-close-btn:hover {
  color: var(--danger);
}
.presentation-slide-view {
  min-height: 280px;
  margin-bottom: 32px;
}
.presentation-slide-view .deck-slide-num {
  font-size: 0.8rem;
  padding: 6px 16px;
  margin-bottom: 24px;
  display: inline-block;
}
.presentation-slide-view .deck-slide-title {
  font-size: 2rem;
  margin-bottom: 16px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.presentation-slide-view .deck-slide-content {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--text);
}
.presentation-slide-view .deck-slide-bullets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  list-style: none;
}
.presentation-slide-view .deck-bullet {
  font-size: 0.95rem;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}
.presentation-slide-view .deck-bullet::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.presentation-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
}
.presentation-progress-num {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 768px) {
  .sandbox-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .deck-outline-header {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .deck-actions {
    justify-content: center;
  }
  .presentation-card {
    padding: 32px 24px;
  }
  .presentation-slide-view .deck-slide-title {
    font-size: 1.5rem;
  }
}

/* Light Mode Theme */
body.light-mode {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #e2e8f0;
  --surface: rgba(0,0,0,0.04);
  --glass: rgba(255,255,255,0.7);
  --glass-border: rgba(0,0,0,0.08);
  --text: #1e293b;
  --text-muted: #475569;
  --text-dim: #94a3b8;
}

body.light-mode .glass-card {
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

body.light-mode #navbar {
  background: rgba(248,250,252,0.85);
  border-bottom: 1px solid var(--glass-border);
}
body.light-mode #navbar.scrolled {
  background: rgba(248,250,252,0.98);
}

body.light-mode .form-input, body.light-mode .form-select, body.light-mode .form-textarea {
  background: #ffffff;
  color: var(--text);
}

body.light-mode .hero-title {
  color: var(--text);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}
.theme-toggle-btn:hover {
  background: var(--surface);
}

/* Testimonials Section */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
  margin: 40px auto;
  max-width: 900px;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.testimonial-card {
  min-width: 100%;
  padding: 40px;
  text-align: center;
}
.testimonial-quote {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 24px;
  color: var(--text);
}
.testimonial-author {
  font-weight: 700;
  font-size: 1.1rem;
}
.testimonial-role {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.testimonial-stars {
  color: var(--warning);
  margin-bottom: 16px;
  font-size: 1.2rem;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  transition: background 0.3s;
}
.testimonial-dot.active {
  background: var(--primary);
}

/* Competitor Comparison Table */
.competitor-section {
  margin-top: 64px;
}
.competitor-table-wrapper {
  overflow-x: auto;
  padding: 0;
}
.competitor-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.competitor-table th, .competitor-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--glass-border);
}
.competitor-table th {
  background: rgba(99, 102, 241, 0.1);
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.competitor-table tbody tr:last-child td {
  border-bottom: none;
}
.competitor-table tbody tr:hover {
  background: var(--surface);
}
.highlight-row td {
  background: rgba(6, 214, 160, 0.05);
  font-weight: 600;
}
.highlight-row td:first-child {
  border-left: 3px solid var(--accent);
}

/* PDF Theme Selector Cards */
.pdf-theme-selector {
  margin: 32px 0;
  text-align: left;
}
.theme-selector-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pdf-theme-cards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.pdf-theme-card {
  flex: 1;
  min-width: 120px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: var(--bg-secondary);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.pdf-theme-card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.pdf-theme-card.selected {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(99,102,241,0.2);
}
.theme-preview {
  height: 40px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.dark-exec-preview {
  background: linear-gradient(135deg, #060918, #161a35);
}
.prof-blue-preview {
  background: linear-gradient(135deg, #f0f4f8, #e2e8f0);
}
.modern-grad-preview {
  background: linear-gradient(135deg, #a855f7, #34d399);
}
.theme-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

/* Email Capture Modal */
.email-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}
.email-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 24, 0.9);
  backdrop-filter: blur(10px);
}
.email-modal-card {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 440px;
  padding: 40px;
  text-align: center;
}
.email-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}
.email-modal-close:hover {
  color: var(--danger);
}
.email-modal-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.email-modal-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.email-modal-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.email-modal-disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 16px;
}

/* FAQ Accordion */
.faq-container {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 16px;
  padding: 0;
  overflow: hidden;
}
.faq-question {
  padding: 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after {
  content: '▼';
  font-size: 0.8rem;
  transition: transform 0.3s;
}
.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 24px 24px 24px;
  color: var(--text-muted);
  display: none;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  min-width: 300px;
  box-shadow: var(--shadow-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideInFromRight 0.3s ease forwards;
  position: relative;
  overflow: hidden;
}
.toast-success { border-left: 4px solid var(--success); }
.toast-error { border-left: 4px solid var(--danger); }
.toast-info { border-left: 4px solid var(--primary); }
.toast-warning { border-left: 4px solid var(--warning); }
.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
}
