:root {
  --primary-color: #1e3a8a;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --secondary-color: #64748b;
  --accent-color: #ef4444;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --background-primary: #ffffff;
  --background-secondary: #f8fafc;
  --background-tertiary: #e2e8f0;
  --border-color: #e5e7eb;
  --shadow-light: 0 2px 10px rgba(30, 58, 138, 0.1);
  --shadow-medium: 0 8px 30px rgba(30, 58, 138, 0.15);
  --shadow-heavy: 0 20px 60px rgba(30, 58, 138, 0.2);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  --z-index-navbar: 1000;
  --z-index-modal: 2000;
}

.dark-theme {
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --background-primary: #111827;
  --background-secondary: #1f2937;
  --background-tertiary: #374151;
  --border-color: #374151;
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--background-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: var(--transition);
  font-size: 16px;
  min-height: 100vh;
}

/* Navigation */
.navbar {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: var(--z-index-navbar);
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 800;
  position: relative;
}

.badge {
  background: linear-gradient(45deg, #3b82f6, #1d4ed8);
  color: white;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  margin-left: 0.5rem;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.nav-brand i {
  font-size: clamp(1.5rem, 4vw, 2rem);
  animation: pulse-glow 3s infinite;
  color: #3b82f6;
}

@keyframes pulse-glow {
  0%, 100% { 
    transform: scale(1); 
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.6)); 
  }
  50% { 
    transform: scale(1.05); 
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.9)); 
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  font-size: 0.95rem;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
  transition: left 0.5s;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.cta-button {
  background: linear-gradient(45deg, #3b82f6, #1d4ed8);
  border: 2px solid rgba(59, 130, 246, 0.5);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.cta-button:hover {
  background: linear-gradient(45deg, #2563eb, #1e40af);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6);
  transform: translateY(-3px);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: var(--transition);
  border-radius: 2px;
}

/* Page System */
.page {
  display: none;
  min-height: calc(100vh - 80px);
}

.page.visible {
  display: block;
  animation: fadeInUp 0.5s ease-out;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Home Page */
.hero-section {
  background: var(--gradient);
  color: white;
  padding: clamp(4rem, 10vh, 6rem) 1rem clamp(3rem, 8vh, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.floating-element {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.elem-1 { 
  width: clamp(60px, 10vw, 80px); 
  height: clamp(60px, 10vw, 80px); 
  top: 20%; 
  left: 10%; 
  animation-delay: 0s; 
}
.elem-2 { 
  width: clamp(80px, 12vw, 120px); 
  height: clamp(80px, 12vw, 120px); 
  top: 60%; 
  right: 15%; 
  animation-delay: 2s; 
}
.elem-3 { 
  width: clamp(40px, 8vw, 60px); 
  height: clamp(40px, 8vw, 60px); 
  top: 40%; 
  left: 80%; 
  animation-delay: 4s; 
}
.elem-4 { 
  width: clamp(70px, 10vw, 100px); 
  height: clamp(70px, 10vw, 100px); 
  top: 70%; 
  left: 5%; 
  animation-delay: 1s; 
}
.elem-5 { 
  width: clamp(30px, 6vw, 40px); 
  height: clamp(30px, 6vw, 40px); 
  top: 10%; 
  right: 10%; 
  animation-delay: 3s; 
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
  33% { transform: translateY(-20px) rotate(120deg); opacity: 1; }
  66% { transform: translateY(10px) rotate(240deg); opacity: 0.8; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: pulse-badge 4s infinite;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

@keyframes pulse-badge {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: 0 0 15px rgba(255,255,255,0.3); 
  }
  50% { 
    transform: scale(1.05); 
    box-shadow: 0 0 30px rgba(255,255,255,0.5); 
  }
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.gradient-text {
  background: linear-gradient(45deg, #ffffff, #a5b4fc, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s infinite;
}

@keyframes gradient-shift {
  0%, 100% { filter: hue-rotate(0deg) brightness(1); }
  50% { filter: hue-rotate(30deg) brightness(1.2); }
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  margin-bottom: 3rem;
  opacity: 0.95;
  font-weight: 400;
  animation: text-glow 6s infinite;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

@keyframes text-glow {
  0%, 100% { text-shadow: none; }
  50% { text-shadow: 0 0 20px rgba(255,255,255,0.4); }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  background: rgba(255, 255, 255, 0.15);
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1.5rem, 4vw, 2rem);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  min-width: 140px;
  flex: 1;
  max-width: 200px;
}

.stat:hover {
  transform: scale(1.05) translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat i {
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: #60a5fa;
}

.stat-number {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 900;
  display: block;
}

.stat-label {
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  opacity: 0.9;
  display: block;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.primary-btn {
  background: linear-gradient(45deg, #ffffff, #f1f5f9);
  color: var(--primary-color);
  padding: clamp(1rem, 3vw, 1.2rem) clamp(2rem, 5vw, 3rem);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.primary-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.2), transparent);
  transition: left 0.5s;
}

.primary-btn:hover::before {
  left: 100%;
}

.primary-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: clamp(1rem, 3vw, 1.2rem) clamp(2rem, 5vw, 3rem);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

/* Features Section */
.quick-features {
  padding: clamp(4rem, 10vh, 6rem) 1rem;
  background: var(--background-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 8vh, 4rem);
}

.section-header h2 {
  font-size: clamp(2rem, 6vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 800;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 5vw, 2.5rem);
}

.feature-card {
  background: var(--background-primary);
  padding: clamp(2rem, 5vw, 2.5rem) clamp(1.5rem, 4vw, 2rem);
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-heavy);
  border-color: var(--primary-light);
}

.feature-icon {
  width: clamp(70px, 15vw, 90px);
  height: clamp(70px, 15vw, 90px);
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: clamp(2rem, 5vw, 2.2rem);
  color: white;
  box-shadow: 0 8px 32px rgba(30, 58, 138, 0.3);
}

.feature-card h3 {
  font-size: clamp(1.4rem, 4vw, 1.6rem);
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
}

.feature-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: clamp(1rem, 2.5vw, 1.05rem);
}

.feature-highlight {
  background: var(--gradient);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
}

/* Benefits Section */
.benefits-section {
  padding: clamp(4rem, 10vh, 6rem) 1rem;
  background: var(--background-primary);
}

.benefits-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 8vw, 4rem);
  align-items: center;
}

.benefits-text h2 {
  font-size: clamp(2rem, 6vw, 2.8rem);
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 800;
}

.benefits-text p {
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.benefit-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.benefit-content h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 700;
}

.benefit-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin: 0;
}

.benefits-visual {
  display: flex;
  justify-content: center;
}

.demo-container {
  background: var(--gradient);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-heavy);
}

.demo-screen {
  background: var(--background-primary);
  border-radius: 15px;
  overflow: hidden;
  width: 100%;
  max-width: 400px;
}

.demo-header {
  background: var(--background-secondary);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.demo-dots {
  display: flex;
  gap: 0.5rem;
}

.demo-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-secondary);
}

.demo-dots span:nth-child(1) { background: #ef4444; }
.demo-dots span:nth-child(2) { background: #f59e0b; }
.demo-dots span:nth-child(3) { background: #10b981; }

.demo-title {
  font-weight: 600;
  color: var(--text-primary);
}

.demo-content {
  padding: 2rem;
}

.demo-wave {
  display: flex;
  align-items: end;
  gap: 0.3rem;
  height: 60px;
  margin-bottom: 2rem;
  justify-content: center;
}

.wave-bar {
  background: var(--gradient);
  width: 8px;
  border-radius: 4px;
  animation: wave 2s infinite ease-in-out;
}

.wave-bar:nth-child(1) { animation-delay: 0s; }
.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; }
.wave-bar:nth-child(7) { animation-delay: 0.6s; }

@keyframes wave {
  0%, 100% { height: 20%; }
  50% { height: 100%; }
}

.demo-text {
  background: var(--background-secondary);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid var(--border-color);
}

.typing-demo {
  color: var(--text-primary);
  font-family: monospace;
  font-size: 0.9rem;
  animation: typing 3s infinite;
}

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

/* FAQ Section */
.faq-section {
  padding: clamp(4rem, 10vh, 6rem) 1rem;
  background: var(--background-secondary);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--background-primary);
  border-radius: 15px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

.faq-item:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.faq-question {
  padding: clamp(1.25rem, 4vw, 2rem);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--background-primary);
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--background-secondary);
}

.faq-question h3 {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  color: var(--text-primary);
  font-weight: 600;
  margin: 0;
  flex: 1;
}

.faq-question i {
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
  color: var(--primary-light);
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 clamp(1.25rem, 4vw, 2rem) clamp(1.25rem, 4vw, 2rem);
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: clamp(1rem, 2.5vw, 1.05rem);
  margin: 0;
}

/* Home CTA Section */
.home-cta {
  padding: clamp(4rem, 10vh, 6rem) 1rem;
  background: var(--gradient);
  color: white;
  text-align: center;
}

.home-cta .cta-content h2 {
  font-size: clamp(2rem, 6vw, 2.8rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.home-cta .cta-content p {
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
}

.cta-feature i {
  color: #10b981;
  font-size: 1.2rem;
}

/* Features Page Styling */
.features-hero {
  background: var(--gradient);
  color: white;
  padding: clamp(4rem, 10vh, 5rem) 1rem clamp(2rem, 5vh, 3rem);
  text-align: center;
}

.features-hero h1 {
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  margin-bottom: 1rem;
  font-weight: 900;
}

.features-hero p {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  opacity: 0.9;
}

.mode-features {
  padding: clamp(4rem, 10vh, 5rem) 1rem;
}

.modes-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.mode-btn {
  padding: clamp(0.8rem, 2.5vw, 1rem) clamp(1.5rem, 4vw, 2.5rem);
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.mode-btn:hover, .mode-btn.active {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

.mode-content {
  display: none;
}

.mode-content.active {
  display: block;
}

.mode-content h2 {
  text-align: center;
  font-size: clamp(2rem, 6vw, 2.8rem);
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 800;
}

.mode-description {
  text-align: center;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 5vw, 2.5rem);
  margin-top: 3rem;
}

.feature-card.premium::after {
  content: "PRO";
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(45deg, #f59e0b, #d97706);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.feature-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.feature-card li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 2rem;
  font-size: clamp(0.9rem, 2vw, 0.95rem);
}

.feature-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: 700;
  font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
  background: var(--gradient);
  color: white;
  padding: clamp(4rem, 10vh, 5rem) 1rem;
  text-align: center;
  margin: 4rem 0;
}

.cta-section h2 {
  font-size: clamp(2rem, 6vw, 2.8rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.cta-section p {
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  margin-bottom: 3rem;
  opacity: 0.9;
}

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

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: clamp(1rem, 3vw, 1.2rem) clamp(2rem, 5vw, 2.5rem);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  transition: var(--transition);
  white-space: nowrap;
}

.cta-button.primary {
  background: white;
  color: var(--primary-color);
}

.cta-button.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-button.secondary:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-4px);
}

/* How to Use Page */
.how-to-hero {
  background: var(--gradient);
  color: white;
  padding: clamp(4rem, 10vh, 5rem) 1rem clamp(2rem, 5vh, 3rem);
  text-align: center;
}

.how-to-hero h1 {
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  margin-bottom: 1rem;
  font-weight: 900;
}

.steps-container {
  padding: clamp(4rem, 10vh, 5rem) 1rem;
}

.step {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  margin-bottom: clamp(3rem, 8vw, 5rem);
  align-items: center;
  text-align: center;
}

.step-number {
  width: clamp(80px, 15vw, 100px);
  height: clamp(80px, 15vw, 100px);
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 900;
  color: white;
  margin: 0 auto 2rem;
  box-shadow: 0 8px 32px rgba(30, 58, 138, 0.3);
}

.step-content h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 700;
}

.step-content p {
  color: var(--text-secondary);
  font-size: clamp(1rem, 3vw, 1.15rem);
  line-height: 1.7;
}

.step-visual {
  background: var(--background-secondary);
  border-radius: 20px;
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}

.step-image {
  width: 100%;
  height: clamp(150px, 30vw, 220px);
  background: var(--gradient);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: clamp(3rem, 8vw, 4rem);
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px rgba(30, 58, 138, 0.2);
}

.how-to-cta {
  background: var(--background-secondary);
  padding: clamp(3rem, 8vh, 4rem) 1rem;
  text-align: center;
  margin-top: 3rem;
}

.how-to-cta h2 {
  font-size: clamp(1.8rem, 5vw, 2rem);
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.how-to-cta p {
  font-size: clamp(1rem, 3vw, 1.1rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Transcribe Page */
.transcribe-section {
  background: var(--background-primary);
  border-radius: 20px;
  box-shadow: var(--shadow-medium);
  padding: clamp(2rem, 5vw, 3rem);
  margin: clamp(2rem, 5vw, 3rem) auto;
  max-width: 1200px;
  border: 1px solid var(--border-color);
}

.transcribe-header {
  text-align: center;
  margin-bottom: 3rem;
}

.transcribe-header h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-weight: 800;
  flex-wrap: wrap;
}

.transcribe-header p {
  color: var(--text-secondary);
  font-size: clamp(1rem, 3vw, 1.2rem);
}

.transcribe-controls {
  background: var(--background-secondary);
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: 15px;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.control-group {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.input-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}

.input-group label {
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  font-size: clamp(1rem, 2.5vw, 1.05rem);
}

.modern-select {
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--background-primary);
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  min-width: 200px;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  flex: 1;
}

.modern-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

.toggle-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  width: 100%;
  margin-top: 1rem;
}

.modern-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  font-size: clamp(0.9rem, 2.5vw, 0.95rem);
}

.modern-toggle input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.toggle-slider {
  width: 50px;
  height: 26px;
  background: var(--border-color);
  border-radius: 34px;
  position: relative;
  transition: var(--transition);
}

.toggle-slider:before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.modern-toggle input:checked + .toggle-slider {
  background: var(--primary-color);
}

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

.modern-toggle:hover .toggle-slider {
  box-shadow: 0 0 8px rgba(30, 58, 138, 0.3);
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border-color);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-secondary);
  transition: var(--transition);
  flex-shrink: 0;
}

.status-dot.recording {
  background: var(--success-color);
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 10px var(--success-color);
}

.status-dot.paused {
  background: var(--warning-color);
}

.status-dot.error {
  background: var(--error-color);
}

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

.word-count {
  font-weight: 700;
  color: var(--text-primary);
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
}

.transcript-workspace {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.transcript-container {
  background: var(--background-secondary);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.transcript-header-inner {
  background: var(--gradient);
  color: white;
  padding: clamp(1rem, 3vw, 1.25rem) clamp(1.25rem, 4vw, 1.75rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.transcript-header-inner h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(1.1rem, 3vw, 1.2rem);
  margin: 0;
  font-weight: 700;
}

.transcript-actions {
  display: flex;
  gap: 0.5rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.icon-btn.danger:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.5);
}

#transcript {
  width: 100%;
  min-height: clamp(300px, 50vh, 350px);
  padding: clamp(1.5rem, 4vw, 2rem);
  border: none;
  background: var(--background-primary);
  color: var(--text-primary);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.7;
  resize: vertical;
  font-family: inherit;
  flex-grow: 1;
  transition: var(--transition);
}

#transcript:focus {
  outline: none;
  background: var(--background-tertiary);
}

#transcript::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.transcript-footer {
  background: var(--background-secondary);
  padding: clamp(1.25rem, 4vw, 1.5rem) clamp(1.5rem, 4vw, 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 2px solid var(--border-color);
}

.confidence-meter {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.confidence-bar {
  width: 120px;
  height: 10px;
  background: var(--border-color);
  border-radius: 5px;
  overflow: hidden;
}

.confidence-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 5px;
  width: 0%;
  transition: width 0.3s ease;
}

.voice-visualizer {
  background: var(--background-secondary);
  border-radius: 15px;
  padding: clamp(1.5rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: var(--shadow-light);
  height: fit-content;
  border: 1px solid var(--border-color);
}

.voice-wave-container {
  background: var(--background-primary);
  border-radius: 12px;
  padding: 1.5rem;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

#voiceCanvas {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--background-secondary), var(--background-tertiary));
}

.recording-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--background-primary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.recording-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text-secondary);
  transition: var(--transition);
}

.recording-dot.recording {
  background: var(--error-color);
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 12px var(--error-color);
}

#recordingTime {
  font-weight: 800;
  color: var(--text-primary);
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  font-family: monospace;
}

/* Voice Commands Panel */
.voice-commands-panel {
  background: var(--background-primary);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

.voice-commands-panel h4 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.commands-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.command-category h5 {
  color: var(--text-primary);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.command-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.command-tag {
  background: var(--background-secondary);
  color: var(--text-primary);
  padding: 0.3rem 0.7rem;
  border-radius: 15px;
  font-size: clamp(0.75rem, 2vw, 0.8rem);
  font-weight: 600;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  cursor: pointer;
}

.command-tag:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-1px);
}

.control-panel {
  background: var(--background-secondary);
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 2rem);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}

.main-controls {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.control-btn {
  padding: clamp(1rem, 3vw, 1.2rem) clamp(1.5rem, 4vw, 2rem);
  border-radius: 50px;
  border: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  min-width: clamp(120px, 25vw, 140px);
  justify-content: center;
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  flex: 1;
  max-width: 160px;
}

.control-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.start-btn {
  background: linear-gradient(45deg, var(--success-color), #059669);
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.start-btn:hover:not(:disabled) {
  background: linear-gradient(45deg, #059669, #047857);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.pause-btn {
  background: linear-gradient(45deg, var(--warning-color), #d97706);
  color: white;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.pause-btn:hover:not(:disabled) {
  background: linear-gradient(45deg, #d97706, #b45309);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.resume-btn {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.resume-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-dark), #1e40af);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

.stop-btn {
  background: linear-gradient(45deg, var(--error-color), #dc2626);
  color: white;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.stop-btn:hover:not(:disabled) {
  background: linear-gradient(45deg, #dc2626, #b91c1c);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.action-controls {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.action-btn {
  padding: clamp(0.8rem, 2.5vw, 1rem) clamp(1.25rem, 3vw, 1.5rem);
  border-radius: 12px;
  border: 2px solid var(--border-color);
  background: var(--background-primary);
  color: var(--text-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  flex: 1;
  min-width: 100px;
  max-width: 140px;
  justify-content: center;
}

.action-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
  border-color: var(--primary-color);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: clamp(3rem, 8vh, 5rem) 1rem clamp(1.5rem, 4vh, 2rem);
  color: white;
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  margin-bottom: clamp(2rem, 5vh, 3rem);
}

.footer-brand {
  text-align: center;
}

.footer-brand i {
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: #3b82f6;
  margin-right: 0.75rem;
}

.footer-brand span {
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  font-weight: 800;
  color: white;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.75rem;
  font-size: clamp(1rem, 2.5vw, 1.05rem);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.footer-column h4 {
  margin-bottom: 1.5rem;
  color: white;
  font-size: clamp(1.1rem, 3vw, 1.2rem);
  font-weight: 700;
}

.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: var(--transition);
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.footer-column a:hover {
  color: #3b82f6;
  transform: translateX(5px);
}

.footer-newsletter {
  text-align: center;
}

.footer-newsletter h4 {
  margin-bottom: 1rem;
  color: white;
  font-weight: 700;
  font-size: clamp(1.1rem, 3vw, 1.2rem);
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 400px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  padding: clamp(0.8rem, 2.5vw, 1rem) clamp(1rem, 3vw, 1.25rem);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  min-width: 200px;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  background: linear-gradient(45deg, #3b82f6, #1d4ed8);
  color: white;
  border: none;
  padding: clamp(0.8rem, 2.5vw, 1rem) clamp(1.5rem, 4vw, 2rem);
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: linear-gradient(45deg, #2563eb, #1e40af);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: clamp(1.5rem, 4vh, 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.social-links a:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.footer-info {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  text-align: center;
  flex: 1;
}

.contact-info {
  display: flex;
  gap: clamp(1rem, 4vw, 2rem);
  margin-top: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-info a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  font-size: clamp(0.85rem, 2vw, 0.9rem);
}

.contact-info a:hover {
  color: #3b82f6;
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
  .transcript-workspace {
    grid-template-columns: 1fr;
  }
  
  .benefits-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .step {
    text-align: center;
  }
  
  .control-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .input-group {
    width: 100%;
    justify-content: space-between;
  }
  
  .modern-select {
    min-width: auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-heavy);
    padding: 2rem 0;
    gap: 0;
    backdrop-filter: blur(20px);
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    width: 100%;
    padding: 1.5rem;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .hamburger {
    display: flex;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .hero-stats {
    gap: 1rem;
  }
  
  .stat {
    min-width: 120px;
    max-width: none;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .primary-btn, .secondary-btn {
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }
  
  .toggle-group {
    grid-template-columns: 1fr;
  }
  
  .main-controls {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
  }
  
  .action-controls {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
  }
  
  .control-btn {
    max-width: none;
  }
  
  .action-btn {
    max-width: none;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    min-width: auto;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
  }
  
  .hero-section {
    padding: 3rem 0.5rem 2rem;
  }
  
  .container {
    padding: 0 0.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
  
  .transcribe-section {
    padding: 1.5rem 1rem;
    margin: 1rem 0.5rem;
  }
  
  .voice-commands-panel {
    padding: 1rem;
  }
  
  .command-tags {
    gap: 0.3rem;
  }
  
  .command-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
  
  .main-controls {
    grid-template-columns: 1fr;
  }
  
  .action-controls {
    grid-template-columns: 1fr;
  }
  
  .control-btn {
    min-width: auto;
    padding: 1rem;
  }
  
  .action-btn {
    min-width: auto;
    padding: 0.8rem;
  }
}

/* Dark Mode  */
@media (prefers-color-scheme: dark) {
  :root {
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --background-primary: #111827;
    --background-secondary: #1f2937;
    --background-tertiary: #374151;
    --border-color: #374151;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .hamburger,
  .floating-element,
  .hero-background,
  .voice-visualizer,
  .control-panel,
  footer {
    display: none !important;
  }
  
  .page {
    display: block !important;
  }
  
  .transcribe-section {
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  #transcript {
    border: 1px solid #ccc;
    background: white !important;
    color: black !important;
  }
}

/* Focus Styles  */
button:focus,
input:focus,
select:focus,
textarea:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

@media (prefers-contrast: high) {
  :root {
    --border-color: #000000;
    --shadow-light: none;
    --shadow-medium: none;
    --shadow-heavy: none;
  }
  
  .feature-card,
  .transcript-container,
  .voice-visualizer {
    border: 2px solid var(--border-color);
  }
}