/* ==========================================================================
   FluentSpeak AI - Design Tokens & Custom Properties
   ========================================================================== */
:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Colors matching FluentSpeakAI App theme */
  --bg-darker: #12121A;
  --bg-dark: #12121A;
  --bg-card: rgba(28, 28, 38, 0.6);
  --bg-card-hover: rgba(43, 43, 58, 0.85);
  
  --primary: #6C63FF;
  --primary-glow: rgba(108, 99, 255, 0.15);
  --primary-gradient: linear-gradient(135deg, #6C63FF 0%, #3F37C9 100%);
  
  --secondary: #00E5FF;
  --secondary-glow: rgba(0, 229, 255, 0.15);
  
  --accent-emerald: #00E676;
  --accent-orange: #FFD600;
  --accent-gradient: linear-gradient(135deg, #6C63FF 0%, #00E5FF 100%);
  
  /* Text Colors */
  --text-main: #FFFFFF;
  --text-muted: #A0A0B0;
  --text-dim: #6E6E80;
  
  /* Layout */
  --nav-height: 80px;
  --container-max-w: 1200px;
  
  /* Borders & Shadows */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-focus: rgba(255, 255, 255, 0.18);
  --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  --shadow-neon-violet: 0 0 35px rgba(108, 99, 255, 0.25);
  --shadow-neon-cyan: 0 0 35px rgba(0, 229, 255, 0.25);
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

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

html, body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg-darker);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ==========================================================================
   Background Blur Orbs
   ========================================================================== */
.blur-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.45;
  pointer-events: none;
  animation: floatOrb 12s infinite alternate ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary) 0%, rgba(0,0,0,0) 70%);
  top: -150px;
  right: -50px;
}

.orb-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--secondary) 0%, rgba(0,0,0,0) 70%);
  top: 500px;
  left: -150px;
  animation-delay: -3s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary) 0%, rgba(0,0,0,0) 70%);
  bottom: 200px;
  right: -100px;
  animation-delay: -6s;
}

@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(50px) scale(1.1); }
}

/* ==========================================================================
   Typography & Typography Utilities
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

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

.accent-text {
  color: var(--secondary);
}

.font-accent {
  font-family: var(--font-heading);
}

/* ==========================================================================
   Buttons & Components
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: var(--shadow-neon-violet);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4), var(--shadow-neon-cyan);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-glass);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

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

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-play-store {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
}

.btn-play-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
}

.btn-play-store svg {
  display: block;
}

.badge {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c084fc;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.icon-inline {
  margin-right: 8px;
}

/* ==========================================================================
   Navigation Bar (Sticky & Blurry)
   ========================================================================== */
.navbar {
  height: var(--nav-height);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(6, 9, 17, 0.8);
  backdrop-filter: blur(16px);
  border-color: var(--border-glass);
  height: 70px;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
}

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

.nav-item {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 15px;
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-title {
  font-size: 54px;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.stat-lbl {
  font-size: 13px;
  color: var(--text-dim);
}

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

/* ==========================================================================
   Phone Mockup & Interactive App Simulator UI
   ========================================================================== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.phone-mockup-wrapper::after {
  content: '';
  position: absolute;
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

.phone-mockup {
  background: #010204;
  border: 10px solid #1e293b;
  border-radius: 40px;
  width: 100%;
  aspect-ratio: 9 / 18.5;
  box-shadow: var(--shadow-premium), var(--shadow-neon-violet);
  overflow: hidden;
  position: relative;
}

.phone-speaker {
  width: 60px;
  height: 18px;
  background: #1e293b;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #090e1a;
  display: flex;
  flex-direction: column;
  padding: 24px 16px 16px;
  font-size: 13px;
}

/* App Simulator Internal UI styling */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 12px;
  margin-bottom: 16px;
  margin-top: 8px;
}

.tutor-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tutor-avatar {
  width: 32px;
  height: 32px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.tutor-name {
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.tutor-status {
  font-size: 10px;
  color: var(--accent-emerald);
}

.app-streak {
  font-size: 11px;
  background: rgba(249, 115, 22, 0.15);
  color: #fdba74;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 600;
}

/* Chat container inside simulator */
.chat-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding-right: 2px;
}

.chat-bubble {
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 14px;
  line-height: 1.4;
}

.chat-bubble.received {
  background: #1e293b;
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble.sent {
  background: var(--primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  position: relative;
}

.pronunciation-score {
  display: block;
  font-size: 10px;
  color: #fdba74;
  font-weight: 700;
  margin-top: 4px;
}

/* Audio Visualizer Waves styling */
.audio-feedback {
  background: rgba(16, 22, 40, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 12px;
  text-align: center;
}

.feedback-text {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.voice-waves {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  height: 20px;
}

.wave {
  width: 3px;
  height: 8px;
  background: var(--secondary);
  border-radius: 2px;
  animation: soundWave 1.2s infinite alternate ease-in-out;
}

.wave:nth-child(2) { height: 16px; animation-delay: 0.15s; background: var(--primary); }
.wave:nth-child(3) { height: 10px; animation-delay: 0.3s; }
.wave:nth-child(4) { height: 18px; animation-delay: 0.45s; background: var(--primary); }
.wave:nth-child(5) { height: 6px; animation-delay: 0.6s; }

@keyframes soundWave {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1.3); }
}

/* Micro Button action */
.app-action-bar {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.mic-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-gradient);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--primary);
  color: white;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.mic-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--primary), var(--shadow-neon-cyan);
}

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

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

.section-title {
  font-size: 38px;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 36px;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-focus);
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.icon-violet {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}

.icon-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.card-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 15px;
  color: var(--text-muted);
}

/* ==========================================================================
   App Preview Showcase Section
   ========================================================================== */
.preview-section {
  padding: 100px 0;
  position: relative;
}

.preview-card-glow {
  position: relative;
}

.preview-card-glow::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: var(--primary-gradient);
  border-radius: 32px;
  filter: blur(40px);
  opacity: 0.12;
  z-index: -1;
}

.preview-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 32px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.simulator-intro {
  display: flex;
  flex-direction: column;
}

.preview-tag {
  color: var(--secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 12px;
}

.preview-title {
  font-size: 36px;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.preview-desc {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 24px;
}

/* Interactive Simulator Selector Tabs */
.simulator-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.selector-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-smooth);
  width: 100%;
  color: inherit;
}

.selector-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-glass-focus);
  transform: translateX(4px);
}

.selector-btn.active {
  background: rgba(108, 99, 255, 0.12);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(108, 99, 255, 0.15);
}

.selector-btn-icon {
  font-size: 22px;
  line-height: 1;
}

.selector-btn-text {
  display: flex;
  flex-direction: column;
}

.selector-btn-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 2px;
  color: var(--text-main);
}

.selector-btn-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.selector-btn.active .selector-btn-title {
  color: #fff;
}

/* Interactive Simulator Phone Representation */
.simulator-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.simulator-phone::after {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.2) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

.sim-phone-frame {
  background: #010204;
  border: 10px solid #1e293b;
  border-radius: 40px;
  width: 100%;
  max-width: 310px;
  aspect-ratio: 9 / 18.5;
  box-shadow: var(--shadow-premium), var(--shadow-neon-violet);
  overflow: hidden;
  position: relative;
}

/* Simulator Screens Control */
.sim-screen {
  display: none;
  height: 100%;
  width: 100%;
  background: #0c0d14;
  flex-direction: column;
  padding: 24px 14px 14px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}

.sim-screen.active {
  display: flex;
  opacity: 1;
}

/* App Simulator Components */
.sim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 10px;
  margin-bottom: 12px;
  margin-top: 8px;
}

.sim-tutor-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-tutor-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(108, 99, 255, 0.2);
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.sim-tutor-name {
  font-weight: 700;
  color: var(--text-main);
  font-size: 12px;
}

.sim-tutor-status {
  font-size: 9px;
  color: var(--accent-emerald);
}

.sim-streak {
  font-size: 10px;
  background: rgba(255, 214, 0, 0.12);
  color: #ffd600;
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.sim-chat-area {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding-bottom: 10px;
}

.sim-bubble {
  max-width: 88%;
  padding: 9px 11px;
  border-radius: 12px;
  line-height: 1.35;
}

.sim-bubble.received {
  background: #1c1c26;
  color: #f1f5f9;
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}

.sim-bubble.sent {
  background: var(--primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.sim-bubble.sent-alt {
  background: #8A2BE2;
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.sim-score-pill {
  display: inline-block;
  font-size: 9px;
  background: rgba(0, 229, 255, 0.15);
  color: #00e5ff;
  font-weight: 700;
  margin-top: 4px;
  padding: 2px 6px;
  border-radius: 6px;
}

/* Grammar Corrections styling */
.correction-green {
  color: var(--accent-emerald);
  font-weight: 700;
  background: rgba(0, 230, 118, 0.12);
  padding: 1px 4px;
  border-radius: 4px;
}

.correction-red {
  color: #ff3d00;
  text-decoration: line-through;
  background: rgba(255, 61, 0, 0.12);
  padding: 1px 4px;
  border-radius: 4px;
}

.sim-explanation {
  font-size: 10px;
  color: var(--text-muted);
  border-left: 2px solid var(--secondary);
  padding-left: 6px;
  margin-top: 4px;
}

/* Simulator Voice Waves Area */
.sim-wave-area {
  background: rgba(28, 28, 38, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 8px;
  text-align: center;
}

.sim-wave-text {
  font-size: 10px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.sim-waves {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  height: 16px;
}

.sim-wave {
  width: 2.5px;
  height: 6px;
  background: var(--secondary);
  border-radius: 1px;
  animation: soundWave 1.2s infinite alternate ease-in-out;
}

.sim-wave:nth-child(2) { height: 12px; animation-delay: 0.15s; background: var(--primary); }
.sim-wave:nth-child(3) { height: 8px; animation-delay: 0.3s; }
.sim-wave:nth-child(4) { height: 14px; animation-delay: 0.45s; background: var(--primary); }
.sim-wave:nth-child(5) { height: 5px; animation-delay: 0.6s; }

.sim-action-bar {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.sim-mic-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gradient);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--primary);
  color: white;
  cursor: pointer;
}

.sim-input-box {
  display: flex;
  background: #1c1c26;
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 8px 12px;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.sim-input-placeholder {
  color: var(--text-dim);
  font-style: italic;
  flex-grow: 1;
  font-size: 11px;
}

.sim-input-send {
  color: var(--primary);
  font-weight: bold;
}

/* Scenario list inside simulator */
.sim-scenarios-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.sim-scenario-card {
  background: #1c1c26;
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.sim-scenario-card.selected {
  border-color: var(--secondary);
  background: rgba(0, 229, 255, 0.05);
}

.sim-scenario-icon {
  font-size: 16px;
  margin-bottom: 4px;
}

.sim-scenario-title {
  font-weight: 700;
  font-size: 10px;
  color: var(--text-main);
  margin-bottom: 2px;
}

.sim-scenario-desc {
  font-size: 8px;
  color: var(--text-muted);
  line-height: 1.2;
}

/* IELTS exam interface styles */
.sim-ielts-timer {
  background: rgba(255, 61, 0, 0.1);
  border: 1px solid rgba(255, 61, 0, 0.25);
  color: #ff3d00;
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 10px;
  align-self: center;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sim-ielts-result {
  margin-top: 10px;
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: 12px;
  padding: 10px;
}

.sim-ielts-score-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 11px;
}

.sim-ielts-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  font-size: 9px;
  color: var(--text-muted);
}

/* Vocab card 3D flip simulator styles */
.sim-vocab-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  gap: 16px;
  perspective: 1000px;
  width: 100%;
}

.sim-vocab-flipcard {
  width: 100%;
  height: 170px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
  cursor: pointer;
}

.sim-vocab-flipcard.flipped {
  transform: rotateY(180deg);
}

.sim-vocab-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border: 1.5px solid var(--border-glass);
}

.sim-vocab-face.front {
  background: #1c1c26;
  border-color: rgba(255, 255, 255, 0.06);
}

.sim-vocab-face.back {
  background: rgba(108, 99, 255, 0.08);
  border-color: var(--primary);
  transform: rotateY(180deg);
}

.sim-vocab-badge {
  font-size: 9px;
  font-weight: 700;
  background: rgba(108, 99, 255, 0.2);
  color: #b3aeff;
  padding: 3px 8px;
  border-radius: 10px;
  text-transform: uppercase;
}

.sim-vocab-word {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  text-align: center;
  letter-spacing: -0.5px;
}

.sim-vocab-phonetic {
  font-size: 11px;
  font-style: italic;
  color: var(--text-muted);
}

.sim-vocab-click-hint {
  font-size: 9px;
  color: var(--text-dim);
  font-style: italic;
}

.sim-vocab-label {
  font-size: 8px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}

.sim-vocab-definition {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  text-align: center;
  line-height: 1.35;
}

.sim-vocab-example {
  font-size: 10px;
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px;
  border-radius: 6px;
  width: 100%;
}

.sim-vocab-btn {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
  text-align: center;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.progress-bar-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 3px;
}

.achievements-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 12px 16px;
  border-radius: 12px;
}

.achievement-icon {
  font-size: 18px;
}

.achievement-title {
  display: block;
  font-weight: 600;
  font-size: 13px;
}

.achievement-desc {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
}

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

.faq-container {
  max-width: 800px;
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--border-glass-focus);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-main);
  padding: 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.chevron-icon {
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.active .chevron-icon {
  transform: rotate(180deg);
  color: var(--secondary);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1); /* Quick animation */
}

.faq-panel p {
  padding: 0 24px 24px 24px;
  color: var(--text-muted);
  font-size: 15px;
}

/* ==========================================================================
   Download Section (App Badges)
   ========================================================================== */
.download-section {
  padding: 80px 0 100px;
  position: relative;
}

.download-container {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-container::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--primary);
  filter: blur(80px);
  opacity: 0.2;
  top: -50px;
  left: -50px;
}

.download-container::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--secondary);
  filter: blur(80px);
  opacity: 0.2;
  bottom: -50px;
  right: -50px;
}

.download-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.download-title {
  font-size: 42px;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.download-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.store-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.store-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

.store-icon {
  font-size: 32px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-icon svg {
  display: block;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-btn-subtitle {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.store-btn-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  line-height: 1.2;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #04060b;
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px;
}

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

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  display: block;
}

.footer-meta {
  color: var(--text-dim);
  font-size: 14px;
  max-width: 320px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.group-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.footer-link-group a {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-link-group a:hover {
  color: var(--text-main);
}

.copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 13px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 42px;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .preview-box {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 32px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .preview-box {
    padding: 24px 16px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 34px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .download-title {
    font-size: 28px;
  }
  
  .download-container {
    padding: 40px 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }
  
  .hero-container {
    gap: 32px;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  
  .divider {
    display: none;
  }
  
  .simulator-selector {
    gap: 8px;
  }
  
  .selector-btn {
    padding: 10px 16px;
  }
}
