/* ==========================================================================
   VoxAlign AI - Stylesheet
   ========================================================================== */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Color Variables & Design Tokens */
:root {
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Colors */
  --bg-color: #06060c;
  --panel-bg: rgba(15, 15, 27, 0.55);
  --panel-border: rgba(255, 255, 255, 0.07);
  --panel-border-hover: rgba(139, 92, 246, 0.3);
  
  --primary-violet: #8b5cf6;
  --primary-violet-rgb: 139, 92, 246;
  --primary-cyan: #06b6d4;
  --primary-cyan-rgb: 6, 182, 212;
  --primary-pink: #d946ef;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --glow-violet: 0 0 25px rgba(139, 92, 246, 0.25);
  --glow-cyan: 0 0 25px rgba(6, 182, 212, 0.25);
  --glow-accent: 0 0 35px rgba(139, 92, 246, 0.4);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(139, 92, 246, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(6, 182, 212, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(217, 70, 239, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #090912;
}
::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.3);
  border-radius: 5px;
  border: 2px solid #090912;
  transition: var(--transition-fast);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.6);
}

/* Typography Utility Classes */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 25%, #8b5cf6 65%, #d946ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shineText 6s linear infinite;
}

@keyframes shineText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 6, 12, 0.6);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: var(--panel-border);
  transition: var(--transition-normal);
}

.header-scrolled {
  background: rgba(6, 6, 12, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo-icon {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.6));
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Common Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-violet) 0%, var(--primary-cyan) 100%);
  color: #ffffff;
  border: none;
  box-shadow: var(--glow-violet);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-violet) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
}

.btn-primary > * {
  position: relative;
  z-index: 2;
}

.btn-primary:hover {
  box-shadow: 0 0 35px rgba(139, 92, 246, 0.45);
  transform: translateY(-2px);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

/* Ambient Floating Lights */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
}

.ambient-1 {
  width: 400px;
  height: 400px;
  background: rgba(139, 92, 246, 0.15);
  top: 15%;
  left: 10%;
  animation: pulseGlow 12s infinite alternate;
}

.ambient-2 {
  width: 500px;
  height: 500px;
  background: rgba(6, 182, 212, 0.12);
  top: 40%;
  right: 5%;
  animation: pulseGlow 16s infinite alternate-reverse;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.7; }
  100% { transform: scale(1.2) translate(30px, -30px); opacity: 1; }
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--panel-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  padding: 32px;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--panel-border-hover);
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 180px;
  padding-bottom: 100px;
  text-align: center;
  overflow: hidden;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: #a78bfa;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.hero-tagline-pulse {
  width: 6px;
  height: 6px;
  background: #a78bfa;
  border-radius: 50%;
  animation: pulsePulse 1.5s infinite;
}

@keyframes pulsePulse {
  0% { transform: scale(0.9); opacity: 0.5; box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.7); }
  70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 8px rgba(167, 139, 250, 0); }
  100% { transform: scale(0.9); opacity: 0.5; box-shadow: 0 0 0 0 rgba(167, 139, 250, 0); }
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  max-width: 900px;
  margin: 0 auto 24px auto;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 40px auto;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

/* Interactive Demo Workspace */
.demo-section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

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

.demo-workspace {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 40px;
  align-items: stretch;
}

/* Input Panel */
.demo-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.demo-group-title {
  font-size: 0.9rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.preset-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.preset-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-fast);
}

.preset-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

.preset-card.active {
  background: rgba(139, 92, 246, 0.08);
  border-color: var(--primary-violet);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}

.preset-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: block;
}

.preset-title {
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  color: var(--text-primary);
}

.preset-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.input-field-wrapper {
  position: relative;
}

.select-futuristic {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  appearance: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.select-futuristic option {
  background-color: #0f0f1b;
  color: var(--text-primary);
}

.select-futuristic:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.toggle-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 16px;
}

.toggle-info {
  display: flex;
  flex-direction: column;
}

.toggle-label {
  font-size: 0.95rem;
  font-weight: 600;
}

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

/* Switch styling */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: .4s;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-primary);
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background: linear-gradient(135deg, var(--primary-violet) 0%, var(--primary-cyan) 100%);
}

input:focus + .slider {
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

.btn-generate {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  font-size: 1.05rem;
}

/* Output Panel / Player */
.demo-output {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.player-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
}

.player-screen {
  flex-grow: 1;
  background: #020205;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.03);
  min-height: 280px;
}

.placeholder-screen {
  text-align: center;
  padding: 30px;
  z-index: 5;
}

.placeholder-pulse {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: var(--primary-violet);
  font-size: 2rem;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.05);
}

.player-screen:hover .placeholder-pulse {
  color: var(--primary-cyan);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.15);
  transform: scale(1.05);
  transition: var(--transition-normal);
}

/* Generation Loader State */
.loader-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #020205;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  z-index: 15;
}

.loader-visual {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 24px;
}

.loader-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-top-color: var(--primary-violet);
  border-radius: 50%;
  animation: loaderSpin 1.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.loader-ring-inner {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border: 2px solid transparent;
  border-top-color: var(--primary-cyan);
  border-radius: 50%;
  animation: loaderSpin 1s linear infinite reverse;
}

@keyframes loaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-stage {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.loader-bar-bg {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 20px;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-violet), var(--primary-cyan));
  transition: width 0.3s ease;
}

/* Code Console Logs */
.ai-console {
  width: 100%;
  max-width: 320px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  color: var(--primary-cyan);
  text-align: left;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 10px;
  height: 60px;
  overflow-y: hidden;
}

.console-log {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.8;
  margin-bottom: 2px;
}

/* Video Player State (Completed) */
.active-player-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  z-index: 18;
}

.canvas-visualizer {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #0b0b18 0%, #020205 100%);
  display: block;
}

/* Custom Player HUD Overlays */
.player-watermark {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-cyan);
}

.player-dub-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #c084fc;
}

.play-pause-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
  z-index: 20;
}

.active-player-screen:hover .play-pause-overlay.trigger-show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Custom Video Controls */
.video-controls {
  padding: 12px 16px;
  background: rgba(10, 10, 18, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scrubber-bar-container {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.scrubber-bar-fill {
  height: 100%;
  background: var(--primary-violet);
  width: 0%;
  border-radius: 2px;
  position: relative;
}

.scrubber-handle {
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  position: absolute;
  right: -5px;
  top: -3px;
  opacity: 0;
  transition: opacity var(--transition-fast);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.scrubber-bar-container:hover .scrubber-handle {
  opacity: 1;
}

.control-buttons-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.controls-left, .controls-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.control-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.control-btn:hover {
  color: var(--text-primary);
}

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

/* Features Grid */
.features-section {
  padding: 100px 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-icon-container {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-violet);
  font-size: 1.5rem;
  margin-bottom: 8px;
  transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-container {
  color: var(--primary-cyan);
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
  transform: translateY(-2px);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  position: relative;
}

.pricing-toggle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 50px;
}

.toggle-period-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.toggle-period-label.active {
  color: var(--text-primary);
}

.pricing-switch-btn {
  position: relative;
  width: 60px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--panel-border);
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.pricing-switch-toggle {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: var(--text-primary);
  border-radius: 50%;
  transition: transform var(--transition-normal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.pricing-switch-btn.active .pricing-switch-toggle {
  transform: translateX(28px);
  background: var(--primary-cyan);
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}

.discount-badge {
  background: rgba(217, 70, 239, 0.15);
  border: 1px solid rgba(217, 70, 239, 0.3);
  color: #f472b6;
  padding: 3px 8px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--primary-violet);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.1);
  background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.07) 0%, transparent 60%), var(--panel-bg);
}

.popular-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, var(--primary-violet) 0%, var(--primary-pink) 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-price-container {
  display: flex;
  align-items: baseline;
  margin-bottom: 24px;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-left: 4px;
}

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

.pricing-btn {
  width: 100%;
  margin-bottom: 32px;
}

.pricing-features-title {
  font-size: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
}

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

.feature-check {
  color: var(--primary-cyan);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  position: relative;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.faq-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-display);
  padding-right: 20px;
}

.faq-icon-wrapper {
  color: var(--text-secondary);
  transition: transform var(--transition-normal), color var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active {
  border-color: var(--panel-border-hover);
}

.faq-item.active .faq-icon-wrapper {
  transform: rotate(45deg);
  color: var(--primary-violet);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer {
  padding: 0 24px 24px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
  border-top-color: rgba(255, 255, 255, 0.03);
}

/* Footer styling */
.footer {
  background: #030307;
  border-top: var(--panel-border);
  padding: 80px 0 40px 0;
  margin-top: 60px;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  text-decoration: none;
}

.social-link:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
  color: var(--primary-violet);
  transform: translateY(-2px);
}

.footer-title {
  font-size: 0.95rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  border-radius: 9999px;
  padding: 10px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  flex-grow: 1;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary-violet);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Scroll-triggered Entrance Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .demo-workspace {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-cards-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .ambient-glow {
    display: none;
  }
  
  .navbar {
    height: 70px;
  }
  
  .nav-menu {
    display: none;
  }
  
  .hero {
    padding-top: 130px;
    padding-bottom: 60px;
  }
  
  .hero-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 16px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 32px;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
  }
  
  .hero-ctas .btn {
    width: 100%;
    max-width: 320px;
  }
  
  .demo-section {
    padding: 50px 0;
  }
  
  .demo-workspace {
    padding: 20px 16px;
    border-radius: 20px;
  }
  
  .preset-selector {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .preset-selector::-webkit-scrollbar {
    height: 4px;
  }
  
  .preset-selector::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.2);
    border-radius: 2px;
  }
  
  .preset-card {
    flex: 0 0 140px;
    scroll-snap-align: start;
  }
  
  .features-section {
    padding: 60px 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-card {
    padding: 24px;
  }
  
  .pricing-section {
    padding: 60px 0;
  }
  
  .pricing-card {
    padding: 32px 20px;
  }
  
  .faq-section {
    padding: 60px 0;
  }
  
  .faq-header {
    padding: 20px 16px;
  }
  
  .faq-question {
    font-size: 1rem;
  }
  
  .faq-answer {
    padding: 0 16px 20px 16px;
    font-size: 0.9rem;
  }
  
  .footer {
    padding: 60px 0 30px 0;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
  
  .toggle-container {
    padding: 12px;
  }
  
  .toggle-label {
    font-size: 0.85rem;
  }
  
  .toggle-sub {
    font-size: 0.75rem;
  }
  
  .newsletter-form {
    flex-direction: column;
    gap: 12px;
  }
  
  .newsletter-form .btn {
    width: 100%;
    border-radius: 9999px;
  }
}
