/* ============================================
   MAGIKA AI - ENHANCED STYLES
   Premium Dark Theme with Cyan Accents
   ============================================ */

:root {
  /* Colors */
  --bg-primary: #050508;
  --bg-secondary: #0a0a0f;
  --bg-card: #0f0f14;
  --bg-card-hover: #14141a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #606070;
  --accent-primary: #00d4ff;
  --accent-secondary: #00ffaa;
  --accent-tertiary: #7c3aed;
  --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #00ffaa 100%);
  --accent-gradient-reverse: linear-gradient(135deg, #00ffaa 0%, #00d4ff 100%);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 212, 255, 0.3);
  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --section-padding: 6rem;
  --container-max: 1200px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ============================================
   ANIMATED BACKGROUNDS
   ============================================ */

.bg-gradient-animated {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 255, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(124, 58, 237, 0.1), transparent),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(0, 255, 170, 0.08), transparent);
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--accent-secondary);
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-large { font-size: 1.25rem; }
.text-small { font-size: 0.875rem; color: var(--text-muted); }
.text-center { text-align: center; }

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-title {
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Spacing */
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-8 { margin-top: 2rem; }

/* ============================================
   HEADER
   ============================================ */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(5, 5, 8, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition-normal);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

/* Logo */
.logo-enhanced {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  font-size: 1.5rem;
  text-decoration: none;
}

.logo-icon {
  font-size: 1.5rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
  animation: rotateStar 20s linear infinite;
  display: inline-block;
}

@keyframes rotateStar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo-text {
  background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-ai {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 0.1rem;
}

/* Navigation */
.nav {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav { display: flex; }
}

.nav a {
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--transition-normal);
}

.nav a:hover {
  color: var(--text-primary);
}

.nav a:hover::after {
  width: 100%;
}

.nav-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-toggle { display: none; }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-icon {
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #000;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
  color: #000;
}

.btn-secondary {
  background: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-primary);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-glow {
  animation: btnGlow 3s ease-in-out infinite;
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3); }
  50% { box-shadow: 0 4px 40px rgba(0, 212, 255, 0.5); }
}

/* ============================================
   HERO SECTION
   ============================================ */

.section-hero {
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--accent-primary);
  margin-bottom: 2rem;
}

.badge-icon {
  font-size: 1rem;
}

/* Animated Headline */
.animated-headline {
  display: block;
  min-height: 1.2em;
}

.animated-headline .word {
  display: inline-block;
  margin: 0 0.15em;
}

.animated-headline .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) rotateX(-90deg);
  animation: rollIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animated-headline .word:not(.solid-white) .letter {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.animated-headline .solid-white .letter {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

@keyframes rollIn {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

.hero-description {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.25rem;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(20px);
}

.hero-description.animate {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.3s;
}

.hero-buttons {
  justify-content: center;
}

.hero-buttons .btn {
  opacity: 0;
  transform: translateY(30px);
}

.hero-buttons .btn.animate-1 {
  animation: bounceInUp 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  animation-delay: 0.7s;
}

.hero-buttons .btn.animate-2 {
  animation: bounceInUp 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  animation-delay: 0.9s;
}

@keyframes bounceInUp {
  0% { opacity: 0; transform: translateY(30px) scale(0.9); }
  60% { opacity: 1; transform: translateY(-8px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Trust Badges */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  opacity: 0;
}

.hero-trust-badges.animate {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 1.2s;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.trust-icon {
  color: var(--accent-secondary);
  font-weight: bold;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--accent-primary);
  border-bottom: 2px solid var(--accent-primary);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* ============================================
   STATS SECTION
   ============================================ */

.section-stats {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; }
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.stat-number {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.5rem;
}

.stat-label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.stat-source {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================
   DEMO SECTION
   ============================================ */

.section-demo {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.demo-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .demo-container {
    grid-template-columns: 1fr;
  }
}

.demo-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.demo-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
}

.demo-header {
  text-align: center;
  margin-bottom: 2rem;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 255, 170, 0.1);
  border: 1px solid rgba(0, 255, 170, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--accent-secondary);
  margin-bottom: 1rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-secondary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

/* Form Styles */
.demo-form {
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.required {
  color: var(--accent-primary);
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-hint {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hint-icon {
  font-size: 0.9rem;
}

/* Security Check */
.security-check {
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 10px;
  padding: 1rem;
}

.math-challenge {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.math-input {
  width: 80px;
  text-align: center;
  font-weight: 700;
  font-size: 1.25rem;
}

/* Checkbox */
.checkbox-group {
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.checkbox-label input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent-primary);
}

.form-footer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Alert Messages */
.alert {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

/* Button Loading State */
.btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Demo Steps */
.demo-steps {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2rem;
}

.demo-steps h3 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-number {
  width: 36px;
  height: 36px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #000;
  flex-shrink: 0;
}

.step-content h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* Demo Agents */
.demo-agents {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.demo-agents h4 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.agents-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.agent {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.agent-avatar {
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.agent-info {
  display: flex;
  flex-direction: column;
}

.agent-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.agent-lang {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.section-features {
  background: var(--bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.feature-image-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top; /* FIXED: Show faces, not cropped */
  transition: transform var(--transition-slow);
}

.feature-card:hover .feature-image {
  transform: scale(1.05);
}

.feature-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.feature-tag {
  display: inline-block;
  background: var(--accent-gradient);
  color: #000;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.feature-content {
  padding: 1.5rem;
}

.feature-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-content p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.feature-audio {
  width: 100%;
  height: 40px;
  border-radius: 8px;
}

/* Audio player styling */
audio::-webkit-media-controls-panel {
  background: var(--bg-secondary);
}
/* ============================================
   IMAGE & AUDIO PLAYER FIXES
   Add this to your styles.css (Part 2)
   ============================================ */

/* FIXED: Feature Card Images - Zoomed Out to Show Full Faces */
.feature-image-wrapper {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 20%; /* Position to show face */
  transform: scale(1); /* No zoom - show full image */
  transition: transform var(--transition-slow);
}

.feature-card:hover .feature-image {
  transform: scale(1.05);
}

/* ============================================
   CUSTOM AUDIO PLAYER - Elegant Design
   ============================================ */

.custom-audio-player {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  transition: all var(--transition-normal);
}

.custom-audio-player:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

.audio-play-btn {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: var(--accent-gradient);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.audio-play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
}

.audio-play-btn:active {
  transform: scale(0.98);
}

.audio-play-btn svg {
  width: 20px;
  height: 20px;
  fill: #000;
  transition: all var(--transition-fast);
}

.audio-play-btn.playing svg.play-icon {
  display: none;
}

.audio-play-btn svg.pause-icon {
  display: none;
}

.audio-play-btn.playing svg.pause-icon {
  display: block;
}

.audio-progress-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.audio-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.audio-progress-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s linear;
  position: relative;
}

.audio-progress-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.audio-progress-bar:hover .audio-progress-fill::after {
  opacity: 1;
}

.audio-time {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.audio-volume-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.audio-volume-btn:hover {
  color: var(--accent-primary);
}

.audio-volume-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Hide default audio element */
.feature-audio {
  display: none;
}

/* ============================================
   ENHANCED MOBILE RESPONSIVENESS
   ============================================ */

/* Base mobile fixes */
@media (max-width: 768px) {
  /* Typography scaling */
  html {
    font-size: 15px;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  
  /* Container padding */
  .container {
    padding: 0 1rem;
  }
  
  /* Section spacing */
  .section {
    padding: 3rem 0;
  }
  
  .section-hero {
    padding: 6rem 0 3rem;
    min-height: auto;
  }
  
  /* Hero adjustments */
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-trust-badges {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .hero-scroll-indicator {
    display: none;
  }
  
  /* Navigation */
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
  }
  
  .nav.active {
    display: flex;
  }
  
  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-buttons .btn-primary {
    display: none;
  }
  
  /* Stats grid */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-card {
    padding: 1.25rem 1rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  .stat-icon {
    font-size: 1.5rem;
  }
  
  /* Demo section */
  .demo-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .demo-content {
    padding: 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .demo-steps {
    padding: 1.5rem;
  }
  
  .agents-list {
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Feature cards */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-image-wrapper {
    height: 300px;
  }
  
  .feature-content {
    padding: 1.25rem;
  }
  
  /* Custom audio player mobile */
  .custom-audio-player {
    padding: 0.4rem 0.75rem 0.4rem 0.4rem;
    gap: 0.75rem;
  }
  
  .audio-play-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  
  .audio-play-btn svg {
    width: 16px;
    height: 16px;
  }
  
  /* Industries grid */
  .industries-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .industry-card {
    padding: 1.5rem;
  }
  
  /* Integrations */
  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .integration-card {
    padding: 1.25rem 1rem;
  }
  
  /* Comparison */
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Video */
  .video-container {
    padding: 1.5rem;
  }
  
  /* CTA */
  .cta-container {
    padding: 2rem 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-brand {
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .integrations-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-badge {
    flex-direction: column;
    text-align: center;
  }
  
  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid .feature-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }
  
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Touch-friendly tap targets */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 48px;
  }
  
  .form-input {
    min-height: 48px;
    font-size: 16px; /* Prevents iOS zoom */
  }
  
  .nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .faq-question {
    min-height: 48px;
    padding: 1rem 0;
  }
}

/* Safe area for notched phones */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }
  
  .header {
    padding-top: env(safe-area-inset-top);
  }
}

/* Prevent horizontal scroll */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Smooth scrolling on iOS */
@supports (-webkit-touch-callout: none) {
  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   INDUSTRIES SECTION
   ============================================ */

.section-industries {
  background: var(--bg-secondary);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .industries-grid { grid-template-columns: 1fr; }
}

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.industry-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.industry-card:hover::before {
  transform: scaleX(1);
}

.industry-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.industry-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.industry-card > p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.industry-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.industry-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

.industry-features li:last-child {
  border-bottom: none;
}

.industry-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-secondary);
  font-weight: bold;
}

.industry-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.stat-highlight {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   INTEGRATIONS SECTION
   ============================================ */

.section-integrations {
  background: var(--bg-primary);
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .integrations-grid { grid-template-columns: 1fr; }
}

.integration-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.integration-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.integration-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.integration-card h4 {
  margin-bottom: 0.5rem;
}

.integration-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================
   VIDEO SECTION
   ============================================ */

.section-video {
  background: var(--bg-secondary);
}

.video-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
}

.video-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.demo-video-player {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ============================================
   COMPARISON SECTION
   ============================================ */

.section-comparison {
  background: var(--bg-primary);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .comparison-grid { grid-template-columns: 1fr; }
}

.comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  transition: all var(--transition-normal);
}

.comparison-card:hover {
  transform: translateY(-5px);
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.comparison-icon {
  font-size: 1.5rem;
}

.comparison-header h3 {
  margin: 0;
  font-size: 1.25rem;
}

.comparison-list {
  list-style: none;
}

.comparison-list li {
  padding: 0.75rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.comparison-old .comparison-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #ef4444;
}

.comparison-new .comparison-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-secondary);
}

.comparison-new {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.comparison-new .comparison-header h3 {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   CTA SECTION
   ============================================ */

.section-cta {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.cta-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  margin-bottom: 1rem;
}

.cta-content .text-large {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.cta-circle:nth-child(1) {
  width: 400px;
  height: 400px;
  top: -200px;
  right: -100px;
}

.cta-circle:nth-child(2) {
  width: 300px;
  height: 300px;
  bottom: -150px;
  left: -50px;
}

.cta-circle:nth-child(3) {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.social-link:hover {
  color: var(--accent-primary);
}

.footer h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.75rem;
}

.footer ul a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer ul a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */

/* Responsive hidden */
@media (max-width: 767px) {
  .hidden-mobile { display: none; }
  .section { padding: 4rem 0; }
  .section-hero { padding: 8rem 0 4rem; min-height: auto; }
  .hero-scroll-indicator { display: none; }
}

@media (min-width: 768px) {
  .hidden-desktop { display: none; }
}

/* Animation delays for staggered effects */
.animate-fade-in-up[style*="animation-delay: 0.1s"] { animation-delay: 0.1s; }
.animate-fade-in-up[style*="animation-delay: 0.15s"] { animation-delay: 0.15s; }
.animate-fade-in-up[style*="animation-delay: 0.2s"] { animation-delay: 0.2s; }
.animate-fade-in-up[style*="animation-delay: 0.3s"] { animation-delay: 0.3s; }
.animate-fade-in-up[style*="animation-delay: 0.4s"] { animation-delay: 0.4s; }
.animate-fade-in-up[style*="animation-delay: 0.5s"] { animation-delay: 0.5s; }

/* Focus states for accessibility */
a:focus, button:focus, input:focus, select:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Selection styling */
::selection {
  background: rgba(0, 212, 255, 0.3);
  color: var(--text-primary);
}

/* ============================================
   PRICING PAGE SPECIFIC STYLES
   Add this to your styles.css
   ============================================ */

/* Pricing Hero */
.pricing-hero {
  padding-bottom: 2rem;
}

/* Plan Toggle */
.plan-toggle {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 0.25rem;
  gap: 0.25rem;
}

.toggle-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.toggle-btn:hover {
  color: var(--text-primary);
}

.toggle-btn.active {
  background: var(--accent-gradient);
  color: #000;
}

@media (max-width: 500px) {
  .plan-toggle {
    flex-direction: column;
    border-radius: 16px;
    width: 100%;
  }
  
  .toggle-btn {
    width: 100%;
  }
}

/* Pricing Grid */
.pricing-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .pricing-grid-new {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* Pricing Card */
.pricing-card-new {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card-new:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 212, 255, 0.3);
}

.pricing-card-new.featured {
  border: 2px solid var(--accent-primary);
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.05) 0%, var(--bg-card) 100%);
  transform: scale(1.02);
  z-index: 1;
}

.pricing-card-new.featured:hover {
  transform: scale(1.02) translateY(-5px);
}

.featured-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Pricing Badge */
.pricing-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-primary);
  margin-bottom: 1.25rem;
}

.featured-badge {
  background: var(--accent-gradient);
  border: none;
  color: #000;
}

.pro-badge {
  background: rgba(255, 107, 53, 0.1);
  border-color: rgba(255, 107, 53, 0.3);
  color: #ff6b35;
}

/* Pricing Header */
.pricing-header {
  margin-bottom: 1.5rem;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.pricing-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Pricing Price */
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-period {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Pricing Features */
.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.feature-icon {
  color: var(--accent-secondary);
  font-weight: bold;
  flex-shrink: 0;
}

.feature-icon.highlight {
  color: #fbbf24;
}

/* Usage Explainer */
.usage-explainer {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  margin-top: 3rem;
  text-align: center;
}

.usage-explainer h3 {
  margin-bottom: 2rem;
}

.explainer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .explainer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.explainer-item {
  text-align: center;
}

.explainer-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.explainer-item h4 {
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.explainer-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* What's Included */
.whats-included {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  margin-top: 3rem;
  text-align: center;
}

.whats-included h3 {
  margin-bottom: 2rem;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .included-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .included-grid {
    grid-template-columns: 1fr;
  }
}

.included-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.included-icon {
  font-size: 1.25rem;
}

/* Calculator Section */
.calculator-section {
  background: var(--bg-secondary);
}

.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .calculator-card {
    padding: 1.5rem;
  }
}

.calculator-inputs h3,
.calculator-results h3 {
  margin-bottom: 1.5rem;
}

/* Range Slider */
.form-range {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-secondary);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-gradient);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 212, 255, 0.3);
  transition: transform var(--transition-fast);
}

.form-range::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.form-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-gradient);
  cursor: pointer;
  border: none;
}

.range-value {
  text-align: right;
  font-size: 0.9rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Savings Display */
.savings-card {
  background: var(--accent-gradient);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.savings-amount {
  font-size: 3rem;
  font-weight: 800;
  color: #000;
  line-height: 1;
}

.savings-label {
  color: rgba(0, 0, 0, 0.7);
  font-weight: 500;
  margin-top: 0.5rem;
}

.cost-breakdown {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.cost-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.cost-row:last-child {
  border-bottom: none;
}

.cost-row.total {
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 2px solid var(--border-color);
  border-bottom: none;
}

.cost-old {
  color: #ef4444;
  text-decoration: line-through;
}

.cost-new {
  color: var(--accent-primary);
}

.cost-savings {
  color: var(--accent-secondary);
  font-size: 1.25rem;
  font-weight: 700;
}

/* Enterprise Card */
.enterprise-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(0, 212, 255, 0.05) 100%);
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.enterprise-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.enterprise-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #a78bfa;
  margin-bottom: 1rem;
}

.enterprise-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.enterprise-features span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.enterprise-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.decoration-circle:nth-child(1) {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
}

.decoration-circle:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: -50px;
  right: 50px;
}

.decoration-circle:nth-child(3) {
  width: 100px;
  height: 100px;
  top: 50%;
  right: 30%;
}

@media (max-width: 768px) {
  .enterprise-card {
    padding: 2rem;
  }
  
  .enterprise-decoration {
    display: none;
  }
}

/* FAQ Section */
.faq-section {
  background: var(--bg-primary);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-primary);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--accent-primary);
  transition: transform var(--transition-normal);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-answer.open {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* Final CTA */
.final-cta {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
}

.final-cta h2 {
  margin-bottom: 1rem;
}

.final-cta .text-large {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Active nav link */
.nav a.active {
  color: var(--accent-primary);
}

.nav a.active::after {
  width: 100%;
}

/* ============================================
   CONTACT PAGE STYLES - FIXED
   Add this to your styles.css
   ============================================ */

/* Contact Hero - Less padding since no big headline animation */
.contact-hero {
  padding-bottom: 2rem;
  min-height: auto;
}

/* Contact Options Section */
.contact-options-section {
  padding-top: 0;
}

.contact-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .contact-options-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 1.5rem;
  }
}

.contact-option-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-option-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.option-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-option-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.contact-option-card p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* FIX: Button should NOT stretch full width in option cards */
.contact-option-card .btn {
  width: auto;
  min-width: 180px;
  max-width: 100%;
}

/* Contact Form Section */
.contact-form-section {
  background: var(--bg-secondary);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Contact Form Container */
.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 24px 24px 0 0;
}

@media (max-width: 600px) {
  .contact-form-container {
    padding: 1.5rem;
  }
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h2 {
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--text-muted);
  margin: 0;
}

/* Form Row - Two columns */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Form Groups */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.required {
  color: var(--accent-primary);
}

/* Form Inputs */
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* Select styling */
select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0b0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Textarea */
.form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

/* Security Check */
.security-check {
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.security-check .form-label {
  margin-bottom: 0.75rem;
}

.math-challenge {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
}

.math-input {
  width: 80px !important;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Checkbox Group */
.checkbox-group {
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent-primary);
  cursor: pointer;
}

.checkbox-label a {
  color: var(--accent-primary);
}

/* Submit Button - Full width ONLY for the submit */
#contact-form .btn-full {
  width: 100%;
}

/* Form Messages */
.form-message {
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 2rem;
}

.message-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.success-message {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.success-message h3 {
  color: #10b981;
  margin-bottom: 0.5rem;
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.error-message h3 {
  color: #ef4444;
  margin-bottom: 0.5rem;
}

/* Contact Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
}

.sidebar-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.sidebar-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.sidebar-card.highlight {
  border-color: rgba(0, 212, 255, 0.3);
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(0, 212, 255, 0.05) 100%);
}

/* FAQ Section */
.faq-section {
  background: var(--bg-primary);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-primary);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--accent-primary);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform var(--transition-normal);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-answer.open {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* Button loading state */
.btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

