/* ==========================================================================
   VoiceUZ — Next-Generation Voice AI Design System
   Aesthetic: Ultra-modern Deep Cosmic Dark, Glassmorphism & Cyber Accents
   ========================================================================== */

:root {
  /* Color Tokens */
  --bg-base: #07080C;
  --bg-surface: #0E1017;
  --bg-surface-elevated: #151822;
  --bg-card: rgba(18, 21, 30, 0.65);
  --bg-card-hover: rgba(26, 30, 44, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(0, 240, 255, 0.35);
  --border-purple-glow: rgba(157, 78, 221, 0.4);

  --primary-cyan: #00F0FF;
  --primary-violet: #8A2BE2;
  --primary-purple: #9D4EDD;
  --accent-pink: #FF2E93;
  --accent-emerald: #10B981;
  --accent-amber: #F59E0B;

  --gradient-brand: linear-gradient(135deg, #00F0FF 0%, #9D4EDD 50%, #FF2E93 100%);
  --gradient-cyan: linear-gradient(135deg, #00F0FF 0%, #0072FF 100%);
  --gradient-purple: linear-gradient(135deg, #9D4EDD 0%, #8A2BE2 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

  /* Typography */
  --font-main: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --text-primary: #FFFFFF;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  /* Shadows & Glows */
  --glow-cyan: 0 0 35px rgba(0, 240, 255, 0.25);
  --glow-purple: 0 0 40px rgba(157, 78, 221, 0.25);
  --glow-pink: 0 0 35px rgba(255, 46, 147, 0.2);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.6);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --container-max: 1240px;
}

/* Utility Classes */
.text-dim {
  color: var(--text-dim);
  font-style: italic;
}

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

/* Scroll offset for fixed navbar */
[id] {
  scroll-margin-top: 90px;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-size: 16px;
}

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

/* Ambient Background Glows */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob-1 {
  position: absolute;
  top: -15%;
  left: 20%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.16) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(80px);
  animation: floatSlow 20s ease-in-out infinite alternate;
}

.ambient-blob-2 {
  position: absolute;
  top: 35%;
  right: -10%;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(90px);
  animation: floatSlow 24s ease-in-out infinite alternate-reverse;
}

.ambient-blob-3 {
  position: absolute;
  bottom: 10%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 46, 147, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(100px);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 75%);
}

@keyframes floatSlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.08); }
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 100;
  transition: var(--transition-smooth);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 8, 12, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar.scrolled {
  height: 70px;
  background: rgba(7, 8, 12, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.5px;
}

.brand-logo img {
  width: 36px;
  height: 36px;
  transition: transform var(--transition-bounce);
}

.brand-logo:hover img {
  transform: scale(1.1) rotate(5deg);
}

.brand-logo .logo-uz {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-cyan);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
  background: var(--gradient-brand);
  color: #050608;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.5);
  color: #000;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  border-color: var(--border-medium);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--primary-cyan);
  background: rgba(0, 240, 255, 0.08);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: 170px;
  padding-bottom: 100px;
  text-align: center;
  position: relative;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(0, 240, 255, 0.07);
  border: 1px solid rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-cyan);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 15px var(--primary-cyan); }
  100% { transform: scale(0.9); opacity: 0.7; }
}

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

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

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

.hero-subtitle strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

/* Hero Canvas Visualizer Card */
.visualizer-card {
  margin: 0 auto;
  max-width: 1000px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-card), 0 0 50px rgba(157, 78, 221, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.visualizer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-cyan), var(--primary-purple), transparent);
}

.visualizer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.vis-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.vis-metric {
  font-family: var(--font-mono);
  color: var(--primary-cyan);
  font-size: 0.88rem;
  background: rgba(0, 240, 255, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

#heroCanvas {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-md);
  background: rgba(5, 6, 9, 0.8);
  display: block;
}

/* Metric Counters Row */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.metric-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.metric-box:hover {
  transform: translateY(-4px);
  border-color: var(--primary-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.metric-num {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Social Proof Strip */
.social-proof-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 50px;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.proof-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-cyan);
  letter-spacing: -0.5px;
}

.proof-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border-medium);
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-cyan);
  box-shadow: var(--shadow-card), 0 0 30px rgba(0, 240, 255, 0.1);
}

.team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid var(--border-medium);
  transition: border-color var(--transition-smooth);
}

.team-card:hover .team-photo {
  border-color: var(--primary-cyan);
}

.team-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: #07080C;
  font-weight: 800;
  font-size: 2rem;
  margin-left: auto;
  margin-right: auto;
}

.team-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.88rem;
  color: var(--primary-cyan);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.team-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.team-link:hover {
  color: var(--primary-cyan);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Interactive Showcase (TTS & STT Studio)
   ========================================================================== */
.studio-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.studio-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(14, 16, 23, 0.95);
}

.studio-tab-btn {
  flex: 1;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border-bottom: 3px solid transparent;
}

.studio-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.studio-tab-btn.active {
  color: var(--primary-cyan);
  border-bottom-color: var(--primary-cyan);
  background: rgba(0, 240, 255, 0.03);
}

.studio-content-panel {
  display: none;
  padding: 40px;
}

.studio-content-panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

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

/* TTS Studio Interface */
.tts-studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.tts-voices-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.voice-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 14px;
}

.voice-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.voice-card.selected {
  border-color: var(--primary-cyan);
  background: rgba(0, 240, 255, 0.08);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.voice-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #07080C;
  flex-shrink: 0;
}

.voice-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.voice-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tts-presets {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.preset-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.preset-chip:hover, .preset-chip.active {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

.tts-textarea {
  width: 100%;
  height: 140px;
  background: #090B10;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 16px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 1rem;
  resize: none;
  outline: none;
  transition: border-color var(--transition-fast);
}

.tts-textarea:focus {
  border-color: var(--primary-cyan);
}

/* Player Deck */
.player-deck {
  background: #090B10;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.player-visual-canvas-box {
  width: 100%;
  height: 120px;
  background: rgba(14, 16, 23, 0.7);
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.waveform-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 60px;
  width: 85%;
  justify-content: center;
}

.wave-bar {
  width: 4px;
  height: 10%;
  background: var(--text-dim);
  border-radius: 2px;
  transition: height 0.15s ease, background 0.2s ease;
}

.player-deck.playing .wave-bar {
  background: var(--primary-cyan);
  animation: wavePulse 0.8s ease-in-out infinite alternate;
}

@keyframes wavePulse {
  0% { height: 15%; }
  100% { height: 95%; }
}

.player-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.play-btn-large {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-brand);
  border: none;
  color: #07080C;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-bounce);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.4);
}

.play-btn-large:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(0, 240, 255, 0.6);
}

.player-stats-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.player-stats-col span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.player-stats-col strong {
  color: var(--primary-cyan);
  font-family: var(--font-mono);
}

/* STT Studio Interface */
.stt-studio-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
}

.stt-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mic-toggle-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.mic-toggle-card:hover {
  border-color: var(--primary-cyan);
}

.mic-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.1);
  border: 2px solid var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
  color: var(--primary-cyan);
  transition: all var(--transition-smooth);
}

.mic-toggle-card.active .mic-icon-circle {
  background: var(--accent-pink);
  border-color: var(--accent-pink);
  color: #fff;
  box-shadow: 0 0 30px var(--accent-pink);
  animation: micGlow 1.2s infinite;
}

@keyframes micGlow {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.stt-transcript-box {
  background: #090B10;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.transcript-stream-text {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-primary);
}

.transcript-stream-text .word-latest {
  color: var(--primary-cyan);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.stt-meta-chips {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* ==========================================================================
   The 100-200ms Latency Breakthrough Section
   ========================================================================== */
.benchmark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.benchmark-chart-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.chart-bar-group {
  margin-bottom: 28px;
}

.chart-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.chart-bar-bg {
  width: 100%;
  height: 28px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.chart-bar-fill {
  height: 100%;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bar-legacy {
  width: 95%;
  background: #EF4444;
  color: #fff;
}

.bar-cloud {
  width: 60%;
  background: #F59E0B;
  color: #000;
}

.bar-voiceuz {
  width: 12%;
  background: var(--gradient-brand);
  color: #050608;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
}

.feature-pill-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-pill-item {
  display: flex;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all var(--transition-smooth);
}

.feature-pill-item:hover {
  border-color: var(--primary-cyan);
  transform: translateX(6px);
  background: var(--bg-card-hover);
}

.pill-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.1);
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature-pill-item:nth-child(2) .pill-icon {
  background: rgba(157, 78, 221, 0.1);
  color: var(--primary-purple);
}

.feature-pill-item:nth-child(3) .pill-icon {
  background: rgba(255, 46, 147, 0.1);
  color: var(--accent-pink);
}

.pill-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

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

/* ==========================================================================
   Linguistic Frontier (Uzbek & Beyond)
   ========================================================================== */
.linguistic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ling-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.ling-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-purple-glow);
  box-shadow: var(--shadow-card), var(--glow-purple);
}

.ling-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
}

.ling-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.ling-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ==========================================================================
   Developer Hub & API Playground
   ========================================================================== */
.dev-hub-card {
  background: #080A10;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.dev-hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #0E1018;
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.lang-tabs {
  display: flex;
  gap: 6px;
}

.lang-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-tab:hover {
  color: var(--text-primary);
}

.lang-tab.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-medium);
  color: var(--primary-cyan);
}

.copy-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

.code-view-body {
  padding: 28px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.7;
  overflow-x: auto;
  color: #E2E8F0;
}

.code-snippet {
  display: none;
}

.code-snippet.active {
  display: block;
}

.token-kw { color: #FF79C6; font-weight: 600; }
.token-func { color: #50FA7B; }
.token-str { color: #F1FA8C; }
.token-comment { color: #6272A4; font-style: italic; }
.token-var { color: #8BE9FD; }

/* ==========================================================================
   Pricing & Startup Plans
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-purple-glow);
  box-shadow: var(--shadow-card);
}

.pricing-card.featured {
  border-color: var(--primary-cyan);
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.05) 0%, rgba(14, 16, 23, 0.95) 100%);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.2);
}

.pricing-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #07080C;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.4);
}

.pricing-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 28px;
}

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

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  font-size: 0.95rem;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

.check-icon {
  color: var(--accent-emerald);
  font-weight: 800;
}

/* ==========================================================================
   Founder & Contact Section
   ========================================================================== */
.founder-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.founder-info h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.founder-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.founder-meta-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

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

.founder-meta-item strong {
  color: var(--text-primary);
}

.email-highlight-box {
  background: rgba(0, 240, 255, 0.08);
  border: 1px dashed var(--primary-cyan);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.email-highlight-box span {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-cyan);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #050609;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 40px;
  position: relative;
  z-index: 10;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 320px;
  margin-top: 16px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

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

.footer-col ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--primary-cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 3.2rem; }
  .tts-studio-grid, .stt-studio-container, .benchmark-grid, .founder-card {
    grid-template-columns: 1fr;
  }
  .linguistic-grid, .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .social-proof-strip {
    gap: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar .nav-links, .navbar .nav-actions .btn-ghost {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-section {
    padding-top: 130px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .metrics-strip {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .metric-num {
    font-size: 2rem;
  }
  .studio-content-panel {
    padding: 20px;
  }
  .tts-voices-list {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .social-proof-strip {
    gap: 16px;
    padding: 20px;
  }
  .proof-divider {
    display: none;
  }
  .proof-number {
    font-size: 1.3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
