/* Language Immerser — Landing Page v2 */
/* Premium dark theme with purple accents */

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

:root {
  --bg: #080c12;
  --bg-alt: #0b1018;
  --bg-light: #0f1520;
  --bg-card: rgba(255,255,255,0.025);
  --bg-card-hover: rgba(255,255,255,0.05);
  --text: #e4e4ed;
  --text-dim: rgba(255,255,255,0.55);
  --text-dimmer: rgba(255,255,255,0.3);
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(12,184,181,0.25);
  --primary: #0CB8B5;
  --primary-dark: #0A9E9C;
  --primary-light: #2DD4D1;
  --primary-glow: rgba(12,184,181,0.12);
  --primary-glow-strong: rgba(12,184,181,0.25);
  --accent-green: #34d399;
  --accent-red: #f87171;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-cn: 'Noto Sans SC', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.3);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
  --shadow-xl: 0 30px 100px rgba(0,0,0,0.5);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1140px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ─── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(12,184,181,0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(12,184,181,0.5); }

/* ─── REVEAL ANIMATIONS ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children */
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal:nth-child(5) { transition-delay: 0.24s; }
.reveal:nth-child(6) { transition-delay: 0.30s; }
.reveal:nth-child(7) { transition-delay: 0.36s; }
.reveal:nth-child(8) { transition-delay: 0.42s; }
.reveal:nth-child(9) { transition-delay: 0.48s; }
.reveal:nth-child(10) { transition-delay: 0.54s; }
.reveal:nth-child(11) { transition-delay: 0.6s; }
.reveal:nth-child(12) { transition-delay: 0.66s; }
.reveal:nth-child(13) { transition-delay: 0.72s; }
.reveal:nth-child(14) { transition-delay: 0.78s; }
.reveal:nth-child(15) { transition-delay: 0.84s; }

/* ─── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 18, 0.7);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background var(--transition);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.nav-logo {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.nav-brand:hover .nav-logo {
  transform: scale(1.05);
}

.nav-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

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

.nav-links a {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

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

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

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(12,184,181,0.25);
}

.nav-cta:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(12,184,181,0.35);
  transform: translateY(-1px);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dim);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-lg {
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 14px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 40px rgba(124, 58, 237, 0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text-dim);
  border: 1px solid rgba(255,255,255,0.08);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 13px 26px;
  font-size: 14px;
  border-radius: 14px;
}

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

.btn-full { width: 100%; justify-content: center; }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 140px 28px 60px;
  text-align: center;
  max-width: var(--max-w);
  margin: 0 auto;
  overflow: visible;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(12,184,181,0.12) 0%, rgba(12,184,181,0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
  background: var(--primary-glow);
  border: 1px solid rgba(12,184,181,0.15);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.2px;
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52,211,153,0.3); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(52,211,153,0); }
}

.hero-title {
  font-size: clamp(38px, 6.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 40%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 13px;
  color: var(--text-dimmer);
  margin-top: 18px;
}

/* ─── HERO VISUAL ─────────────────────────────────────────── */
.hero-visual {
  position: relative;
  z-index: 1;
  margin-top: 64px;
  perspective: 1200px;
}

.hero-player {
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    0 24px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.03),
    0 0 120px rgba(12,184,181,0.06);
  background: var(--bg-light);
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-player-bar {
  background: rgba(255,255,255,0.03);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.hero-dots {
  display: flex;
  gap: 7px;
}

.hero-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.hero-dots span:nth-child(1) { background: #ff5f57; }
.hero-dots span:nth-child(2) { background: #febc2e; }
.hero-dots span:nth-child(3) { background: #28c840; }

.hero-url {
  font-size: 12px;
  color: var(--text-dimmer);
  background: rgba(255,255,255,0.04);
  padding: 6px 14px;
  border-radius: 8px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'SF Mono', 'Fira Code', monospace, var(--font);
}

.hero-player-actions {
  display: flex;
  gap: 8px;
}

.hero-player-actions span {
  width: 14px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  border-radius: 1px;
}

.hero-video {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #12101e 0%, #0a0a14 50%, #110d1c 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(12,184,181,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(45,212,209,0.04) 0%, transparent 50%);
}

.hero-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
}

/* Simulated subtitle overlay */
.hero-subs {
  position: relative;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-sub-line {
  background: rgba(8, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  border-radius: 14px;
  border: 1px solid rgba(45, 212, 209, 0.06);
  padding: 10px 18px 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.hero-sub-words {
  display: flex;
  gap: 2px;
}

.hero-word {
  text-align: center;
  padding: 4px 5px 3px;
  border-radius: 6px;
  cursor: default;
  font-family: var(--font-cn);
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background var(--transition);
}

.hero-word:hover {
  background: rgba(255,255,255,0.06);
}

.hero-word small {
  font-family: var(--font);
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  font-weight: 400;
  display: block;
  height: 14px;
  line-height: 14px;
}

.hero-word-hl {
  background: rgba(45, 212, 209, 0.15);
}

.hero-word-hl small { color: rgba(45, 212, 209, 0.9); }

.hero-sub-translation {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-style: italic;
}

/* Popup simulation */
.hero-popup {
  position: absolute;
  bottom: 100px;
  right: 8%;
  background: rgba(16, 14, 28, 0.97);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(45, 212, 209, 0.12);
  border-radius: 16px;
  padding: 16px 18px;
  min-width: 190px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.02);
  text-align: left;
  animation: hero-popup-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes hero-popup-in {
  from { opacity: 0; transform: translateY(6px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-popup-header {
  margin-bottom: 8px;
}

.hero-popup-char {
  font-family: var(--font-cn);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.hero-popup-pin {
  font-size: 14px;
  color: var(--primary-light);
  font-weight: 500;
  margin-top: 2px;
}

.hero-popup-def {
  font-size: 13px;
  color: var(--text-dim);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hero-popup-btns {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}

.hero-popup-btn {
  font-size: 11px;
  padding: 5px 11px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-dim);
  cursor: default;
  transition: all var(--transition);
}

.hero-popup-btn-save {
  background: rgba(12,184,181,0.15);
  border-color: rgba(12,184,181,0.25);
  color: var(--primary-light);
}

/* Status badge simulation */
.hero-badge-sim {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(8, 8, 15, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.05);
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.hero-badge-sim-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse 2s infinite;
}

.hero-badge-src {
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(45, 212, 209, 0.18);
  color: var(--primary-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.05);
}

.hero-progress-fill {
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 0 2px 2px 0;
}

/* ─── PLATFORMS ────────────────────────────────────────────── */
.platforms {
  padding: 60px 28px 70px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  background: linear-gradient(180deg, transparent 0%, rgba(12,184,181,0.02) 50%, transparent 100%);
}

.platforms-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dimmer);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 28px;
}

.platforms-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.25);
  transition: all var(--transition);
  cursor: default;
}

.platform-item:hover {
  color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.platform-item span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.platform-item-any {
  color: rgba(12,184,181,0.4);
}

.platform-item-any:hover {
  color: var(--primary-light);
}

/* ─── SECTIONS ────────────────────────────────────────────── */
.section {
  padding: 110px 28px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-alt {
  max-width: 100%;
  background: var(--bg-alt);
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.section-alt > .section-header,
.section-alt > .steps,
.section-alt > .compare-table-wrap,
.section-alt > .testimonials-grid {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

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

.section-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-sub {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── LANGUAGE GRID ───────────────────────────────────────── */
.lang-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.lang-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  cursor: default;
}

.lang-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(12,184,181,0.08);
}

.lang-flag {
  font-size: 36px;
  line-height: 1;
}

.lang-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}

/* ─── STEPS ───────────────────────────────────────────────── */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 0 28px;
}

.step {
  text-align: center;
  padding: 32px 28px;
  flex: 1;
  max-width: 320px;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 52px;
  flex-shrink: 0;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-glow);
  border: 1px solid rgba(12,184,181,0.2);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: all var(--transition);
}

.step:hover .step-icon {
  background: var(--primary-glow-strong);
  border-color: rgba(12,184,181,0.4);
  transform: scale(1.05);
}

.step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 1px;
  margin-bottom: 10px;
  opacity: 0.6;
}

.step-title {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ─── FEATURES GRID ───────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 30px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(12,184,181,0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 0 0 1px rgba(12,184,181,0.05);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-glow);
  border: 1px solid rgba(12,184,181,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ─── COMPARISON TABLE ────────────────────────────────────── */
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 28px;
  margin: 0 auto;
  max-width: var(--max-w);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.compare-table th {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  padding-top: 20px;
  padding-bottom: 20px;
}

.compare-table td {
  color: var(--text-dim);
}

.compare-table td:first-child {
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

.compare-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}

.compare-ours {
  background: rgba(12,184,181,0.04) !important;
  border-left: 2px solid rgba(12,184,181,0.2);
  color: var(--text) !important;
  font-weight: 500 !important;
}

.compare-ours-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-light) !important;
  font-weight: 700 !important;
}

.compare-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cn);
  font-weight: 700;
  font-size: 11px;
  color: #fff;
}

.check-yes { color: var(--accent-green); font-weight: 600; }
.check-no { color: var(--accent-red); opacity: 0.6; }

/* ─── PRICING ─────────────────────────────────────────────── */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}

.pricing-toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dimmer);
  transition: color var(--transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-toggle-label.active {
  color: #fff;
}

.pricing-save-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-green);
  background: rgba(52,211,153,0.12);
  border: 1px solid rgba(52,211,153,0.2);
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 0.3px;
}

.pricing-toggle-switch {
  width: 48px;
  height: 26px;
  border-radius: 100px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
}

.pricing-toggle-switch.active {
  background: var(--primary);
  border-color: var(--primary);
}

.pricing-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.pricing-toggle-switch.active .pricing-toggle-knob {
  transform: translateX(22px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
  align-items: start;
}

.pricing-card {
  position: relative;
  padding: 36px 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.pricing-card-pro {
  border-color: rgba(12,184,181,0.25);
  background: rgba(12,184,181,0.04);
  box-shadow: 0 0 60px rgba(12,184,181,0.06), 0 0 0 1px rgba(12,184,181,0.08);
  transform: scale(1.03);
  z-index: 1;
}

.pricing-card-pro:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 16px 60px rgba(12,184,181,0.12), 0 0 0 1px rgba(12,184,181,0.12);
}

.pricing-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(12,184,181,0.3);
}

.pricing-card-header {
  margin-bottom: 28px;
}

.pricing-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.pricing-price {
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pricing-price-suffix {
  font-size: 16px;
  color: var(--text-dimmer);
  font-weight: 500;
}

.pricing-period {
  font-size: 13px;
  color: var(--text-dimmer);
  margin-top: 6px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
  flex: 1;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-dim);
  padding: 8px 0;
  padding-left: 26px;
  position: relative;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
}

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-dimmer);
  margin-top: 24px;
}

/* ─── TESTIMONIALS ────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 28px;
}

.testimonial-card {
  padding: 30px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 22px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.testimonial-detail {
  font-size: 12px;
  color: var(--text-dimmer);
}

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.faq-item:first-child {
  border-top: 1px solid rgba(255,255,255,0.05);
}

.faq-item summary {
  padding: 22px 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition);
}

.faq-item summary:hover { color: #fff; }

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='2'%3E%3Cline x1='12' y1='5' x2='12' y2='19'%3E%3C/line%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  overflow: hidden;
  animation: faqOpen 0.3s ease-out;
}

@keyframes faqOpen {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 200px; }
}

.faq-item p {
  font-size: 14px;
  color: var(--text-dim);
  padding-bottom: 22px;
  line-height: 1.8;
}

/* ─── CTA SECTION ─────────────────────────────────────────── */
.section-cta {
  text-align: center;
  padding: 100px 28px;
  position: relative;
  overflow: hidden;
}

.section-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(12,184,181,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.section-cta-content {
  position: relative;
  z-index: 1;
}

.section-cta h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-cta p {
  font-size: 17px;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.section-cta-note {
  font-size: 13px !important;
  color: var(--text-dimmer) !important;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(255,255,255,0.04);
  background: rgba(8,8,14,0.5);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.footer-top {
  padding: 64px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-brand .nav-logo {
  margin-top: 2px;
}

.footer-brand-desc {
  font-size: 13px;
  color: var(--text-dimmer);
  margin-top: 4px;
}

.footer-cols {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dimmer);
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color var(--transition);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 22px 28px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-dimmer);
  text-align: center;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 680px;
  }

  .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 340px;
    margin: 0 auto;
  }

  .pricing-card-pro {
    transform: none;
  }

  .pricing-card-pro:hover {
    transform: translateY(-4px);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .lang-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 20px 28px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .nav-links-open {
    display: flex;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 120px 20px 40px;
  }

  .hero-title {
    font-size: clamp(32px, 8vw, 48px);
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
  }

  .step-connector {
    transform: rotate(90deg);
    padding-top: 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .pricing-card:last-child {
    max-width: 100%;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .testimonials-grid .testimonial-card:last-child {
    max-width: 100%;
  }

  .lang-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-cols {
    flex-wrap: wrap;
    gap: 32px;
  }

  .hero-popup {
    display: none;
  }

  .hero-sub-words {
    flex-wrap: wrap;
    justify-content: center;
  }

  .compare-table {
    font-size: 12px;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 10px;
  }

  .platforms-row {
    gap: 20px;
  }

  .section {
    padding: 80px 20px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 14px 24px;
  }

  .lang-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .platforms-row {
    gap: 16px;
  }

  .platform-item span {
    font-size: 10px;
  }

  .hero-player {
    border-radius: var(--radius-lg);
  }

  .section-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .pricing-toggle {
    gap: 10px;
  }
}
