/* Showord Multilingual Promotional & SEO Website Styles */
:root {
  --bg: #0b0a16;
  --bg-alt: #111022;
  --surface: #17152c;
  --surface-2: #201d3b;
  --border: rgba(167, 139, 250, 0.16);
  --border-strong: rgba(167, 139, 250, 0.34);
  --text: #f8fafc;
  --text-muted: #b8bfd6;
  --text-dim: #8a92b2;
  --violet: #7c3aed;
  --violet-bright: #a78bfa;
  --violet-soft: rgba(124, 58, 237, 0.18);
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.13);
  --teal: #2dd4bf;
  --teal-soft: rgba(45, 212, 191, 0.12);
  --mint: #34d399;
  --coral: #fb7185;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow: 0 22px 54px rgba(3, 2, 14, 0.55);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Hiragino Sans", "PingFang SC", "PingFang TC", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  display: block;
}

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

h1, h2, h3, h4 {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, "Apple SD Gothic Neo", "Hiragino Sans", "PingFang SC", "PingFang TC", sans-serif;
  line-height: 1.18;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1140px, 100% - 2rem);
  margin-inline: auto;
}

.container-narrow {
  width: min(820px, 100% - 2rem);
}

.nowrap { white-space: nowrap; }

/* Keep-all only for space-delimited Korean; Japanese/Chinese wrap naturally without overflow */
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(ko) p, :lang(ko) .trust-strip li {
  word-break: keep-all;
}

.hero-grid > *, .demo-stage > *, .trust-strip li, .word-hero > *, .teaser-passages-grid > * {
  min-width: 0;
  overflow-wrap: break-word;
}

/* Header & Glass Pill Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 10, 22, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.brand-icon { border-radius: 10px; }

.brand-wordmark {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.38rem;
  letter-spacing: -0.03em;
}

.brand-sho { color: #ffffff; }
.brand-word { color: var(--violet-bright); }

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-ico {
  width: 15px;
  height: 15px;
  opacity: 0.78;
  flex-shrink: 0;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-link.is-active {
  color: #ffffff;
  background: var(--violet-soft);
}

.nav-link:hover .nav-ico, .nav-link.is-active .nav-ico {
  opacity: 1;
  color: var(--violet-bright);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 38px;
  padding: 0.42rem 0.72rem;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.lang-switch-btn:hover {
  background: var(--surface-2);
  border-color: var(--violet-bright);
  color: #ffffff;
}

.lang-switch-btn .caret {
  font-size: 0.7rem;
  opacity: 0.75;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 152px;
  padding: 0.35rem;
  border-radius: 14px;
  background: #17152c;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.18rem;
  z-index: 60;
}

.lang-menu-item {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.lang-menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.lang-menu-item.is-active {
  background: var(--violet-soft);
  color: #ffffff;
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-svg { width: 20px; height: 20px; }

.mobile-drawer {
  border-top: 1px solid var(--border);
  background: rgba(14, 12, 28, 0.98);
  padding: 0.65rem 0 1rem;
}

.mobile-drawer-inner {
  display: grid;
  gap: 0.35rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 46px;
  padding: 0.65rem 0.95rem;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mobile-nav-link:hover, .mobile-nav-link.is-active {
  background: var(--violet-soft);
  color: #ffffff;
}

.mobile-lang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-top: 0.55rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
}

.mobile-lang-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.4rem 0.5rem;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mobile-lang-chip.is-active {
  background: var(--violet);
  border-color: var(--violet-bright);
  color: #ffffff;
}

/* Buttons & Official Store Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: transform 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(124, 58, 237, 0.36);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover { background: var(--surface-2); }

.btn-sm {
  padding: 0.52rem 1rem;
  font-size: 0.88rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.store-badges-center { justify-content: center; }

.store-badge-link {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.store-badge-link:hover { transform: translateY(-2px); opacity: 0.94; }
.official-badge { height: 48px; width: auto; }
.store-badges-compact .official-badge { height: 42px; }
.inline-svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Badges */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.36rem 0.85rem;
  border-radius: 999px;
  background: var(--violet-soft);
  border: 1px solid rgba(167, 139, 250, 0.35);
  color: #ddd6fe;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.eyebrow-amber {
  background: var(--amber-soft);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fde68a;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.badge-core { background: rgba(56, 189, 248, 0.16); color: #7dd3fc; border: 1px solid rgba(56, 189, 248, 0.32); }
.badge-booster { background: rgba(167, 139, 250, 0.18); color: #c4b5fd; border: 1px solid rgba(167, 139, 250, 0.35); }
.badge-elite { background: rgba(244, 114, 182, 0.16); color: #f9a8d4; border: 1px solid rgba(244, 114, 182, 0.35); }
.badge-trap { background: rgba(245, 158, 11, 0.18); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.42); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 4.5rem;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  width: 520px;
  height: 520px;
  background: rgba(124, 58, 237, 0.24);
  top: -160px;
  left: -120px;
}

.hero-glow-2 {
  width: 440px;
  height: 440px;
  background: rgba(56, 189, 248, 0.15);
  bottom: -140px;
  right: -80px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.45rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.1rem;
 
}

.text-gradient {
  background: linear-gradient(120deg, #c4b5fd 0%, #818cf8 55%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 1.8rem;
 
}

.hero-badges { margin-bottom: 1.65rem; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.87rem;
  color: var(--text-muted);
}

.trust-strip li {
  position: relative;
  padding-left: 1rem;
 
}

.trust-strip li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet-bright);
}

/* Phone Mockup */
.phone-frame {
  width: min(366px, 100%);
  margin-inline: auto;
  padding: 12px;
  border-radius: 38px;
  background: linear-gradient(155deg, #2b2654 0%, #141229 100%);
  border: 1px solid rgba(196, 181, 253, 0.28);
  box-shadow: var(--shadow);
}

.phone-notch {
  width: 94px;
  height: 18px;
  background: #0b0a16;
  border-radius: 999px;
  margin: 0 auto 10px;
}

.phone-screen {
  background: #0f0e1e;
  border-radius: 28px;
  overflow: hidden;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.phone-step { font-size: 0.76rem; color: var(--text-dim); font-weight: 600; }

.phone-media {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #17152c;
  margin-bottom: 0.8rem;
}

.phone-media video { width: 100%; height: 100%; object-fit: cover; }

.phone-word-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.phone-lemma {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.48rem;
  font-weight: 800;
}

.phone-ipa { font-size: 0.82rem; color: var(--text-dim); }
.phone-caption { font-size: 0.88rem; color: #e2e8f0; margin-bottom: 0.75rem; line-height: 1.45; }

.phone-progress-bar, .swipe-progress-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 0.65rem;
}

.phone-progress-bar span, .swipe-progress-track span {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease;
}

.phone-progress-bar span.is-on, .swipe-progress-track span.is-on { background: var(--violet-bright); }

.phone-gesture-hints {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* Highlights */
mark.word-hl {
  background: rgba(167, 139, 250, 0.22);
  color: #ddd6fe;
  font-weight: 700;
  padding: 0.06rem 0.28rem;
  border-radius: 6px;
}

.quote-amber { color: #fcd34d; font-weight: 700; }
.quote-teal { color: #5eead4; font-weight: 700; }

mark.clue-hl {
  background: transparent;
  color: inherit;
  transition: background 0.18s ease, color 0.18s ease;
  border-radius: 5px;
}

.show-clues mark.clue-hl {
  background: rgba(56, 189, 248, 0.22);
  color: #bae6fd;
  padding: 0.04rem 0.24rem;
}

/* Sections */
.section { padding: 4.5rem 0; }
.section-tight { padding: 2.2rem 0 4.5rem; }

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--violet-bright);
  margin-bottom: 0.5rem;
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 2.2rem;
}

.section-head h2 { font-size: clamp(1.75rem, 3.5vw, 2.45rem); }
.section-head p { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 0; }

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.8rem;
}

.section-head-row p { color: var(--text-muted); max-width: 580px; margin-bottom: 0; }

/* Live Demo */
.section-demo {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.08) 0%, rgba(11, 10, 22, 0) 100%);
  border-top: 1px solid var(--border);
}

.demo-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.demo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.demo-pill:hover { border-color: var(--border-strong); color: #ffffff; }

.demo-pill.is-active {
  background: var(--violet);
  border-color: var(--violet-bright);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.35);
}

.demo-stage {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2rem;
  padding: 1.65rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.demo-video-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #0f0e1e;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.demo-caption { margin: 0.9rem 0 0.8rem; font-size: 0.96rem; color: #e2e8f0; }

.demo-audio-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.audio-pill, .icon-audio-btn, .swipe-word-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.48rem 0.88rem;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.swipe-word-btn {
  margin-left: auto;
  background: var(--violet-soft);
  border-color: rgba(167, 139, 250, 0.4);
  color: #ede9fe;
}

.audio-pill-locked { color: #ddd6fe; background: var(--violet-soft); }
.icon-audio-btn { width: 42px; height: 42px; padding: 0; flex-shrink: 0; }

.audio-pill:hover, .icon-audio-btn:hover, .swipe-word-btn:hover,
.audio-pill.is-playing, .icon-audio-btn.is-playing {
  background: var(--violet);
  border-color: var(--violet-bright);
  color: #ffffff;
}

.demo-word-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.demo-word-header h3 { font-size: 2rem; margin-bottom: 0.15rem; }
.demo-meta { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 0; }
.step-arrows, .tour-controls { display: inline-flex; gap: 0.45rem; }

.step-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s ease;
}

.step-arrow-btn:hover { background: var(--violet); border-color: var(--violet-bright); }

.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.8rem;
}

.demo-tab {
  padding: 0.45rem 0.8rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.demo-tab:hover { color: #ffffff; background: rgba(255, 255, 255, 0.04); }
.demo-tab.is-active {
  background: var(--violet-soft);
  border-color: rgba(167, 139, 250, 0.4);
  color: #ede9fe;
}

.lang-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.lang-pill {
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.14s ease;
}

.lang-pill:hover { border-color: var(--violet-bright); color: #ffffff; }
.lang-pill.is-active { background: var(--violet); border-color: var(--violet-bright); color: #ffffff; }

.demo-panel { display: none; }
.demo-panel.is-active { display: block; }
.swipe-hint-foot { margin: 0.9rem 0 0; font-size: 0.8rem; color: var(--text-dim); }

.info-card {
  background: rgba(11, 10, 22, 0.56);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  margin-bottom: 0.85rem;
}

.info-card:last-child { margin-bottom: 0; }
.info-card-amber { background: var(--amber-soft); border-color: rgba(245, 158, 11, 0.34); }
.info-card-teal { background: var(--teal-soft); border-color: rgba(45, 212, 191, 0.32); }

.info-label {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--violet-bright);
  margin-bottom: 0.42rem;
}

.info-card-amber .info-label { color: #fcd34d; }
.info-card-teal .info-label { color: #5eead4; }

.meaning-lead { font-size: 1.1rem; font-weight: 600; color: #ffffff; margin-bottom: 0.4rem; }
.meaning-detail { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 0; }

.passage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.passage-head .info-label { margin-bottom: 0; }

.clue-toggle-btn {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: #bae6fd;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
}

.passage-text { font-size: 0.97rem; line-height: 1.65; color: #e2e8f0; margin-bottom: 0; }

/* Quizzes */
.quiz-prompt { font-size: 0.98rem; color: #f1f5f9; margin-bottom: 0.95rem; }
.quiz-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }

.quiz-choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-align: left;
  padding: 0.72rem 0.9rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease;
}

.quiz-choice:hover { border-color: var(--violet-bright); background: var(--surface-2); }

.choice-letter {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.quiz-choice.is-correct { background: rgba(52, 211, 153, 0.16); border-color: var(--mint); color: #a7f3d0; }
.quiz-choice.is-wrong { background: rgba(251, 113, 133, 0.16); border-color: var(--coral); color: #fecdd3; }

.quiz-feedback {
  margin-top: 0.85rem;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  font-size: 0.89rem;
  line-height: 1.45;
}

.quiz-feedback.is-good { background: rgba(52, 211, 153, 0.13); border: 1px solid rgba(52, 211, 153, 0.42); color: #a7f3d0; }
.quiz-feedback.is-bad { background: rgba(245, 158, 11, 0.14); border: 1px solid rgba(245, 158, 11, 0.42); color: #fde68a; }

/* App Screenshot Tour */
.tour-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(255px, 285px);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.tour-card {
  margin: 0;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.tour-card:hover { transform: translateY(-4px); border-color: var(--violet-bright); }
.tour-img-wrap { aspect-ratio: 560 / 1218; background: #0b0a16; overflow: hidden; }
.tour-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.tour-card figcaption { padding: 0.9rem 1rem 1rem; border-top: 1px solid var(--border); }
.tour-card figcaption strong { display: block; font-size: 0.98rem; margin-bottom: 0.15rem; }
.tour-card figcaption span { font-size: 0.82rem; color: var(--text-muted); }

.tour-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.tour-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.tour-dot.is-active { width: 24px; background: var(--violet-bright); }

/* Free to Start Card */
.start-card {
  text-align: center;
  padding: 3.2rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.22) 0%, rgba(23, 21, 44, 0.92) 60%, rgba(56, 189, 248, 0.12) 100%);
  border: 1px solid rgba(167, 139, 250, 0.35);
  box-shadow: var(--shadow);
}

.start-card h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 0.75rem; }
.start-sub { color: var(--text-muted); font-size: 1.03rem; max-width: 650px; margin: 0 auto 2rem; }

.start-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 880px;
  margin: 0 auto 2.1rem;
}

.pillar-item {
  background: rgba(11, 10, 22, 0.55);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.05rem 1.1rem;
}

.pillar-item strong { display: block; font-size: 0.98rem; margin-bottom: 0.25rem; }
.pillar-item span { font-size: 0.85rem; color: var(--text-muted); }

/* FAQ */
.faq-list { display: grid; gap: 0.8rem; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.4rem 1.3rem;
}

.faq-item summary {
  font-weight: 700;
  font-size: 1rem;
  min-height: 48px;
  padding: 0.65rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--violet-bright); font-weight: 600; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0 0 0.85rem; color: var(--text-muted); font-size: 0.94rem; }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(4, 3, 12, 0.76);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-card {
  position: relative;
  width: min(460px, 100%);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 1.85rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.modal-card h3 { font-size: 1.4rem; margin-bottom: 0.65rem; }
.modal-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.4rem; }

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

/* Subpages (Traps & Word Teaser) */
.page-hero {
  padding: 2.5rem 0 1.8rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.1) 0%, rgba(11, 10, 22, 0) 100%);
}

.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.85rem); margin-bottom: 0.75rem; }
.page-hero-sub { color: var(--text-muted); font-size: 1.03rem; max-width: 720px; margin-bottom: 1.4rem; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.1rem;
}

.breadcrumb a:hover { color: #ffffff; }
.sub-heading { font-size: 1.35rem; margin: 0 0 1.2rem; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.search-input {
  flex: 1 1 280px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.94rem;
}

.search-input::placeholder { color: var(--text-dim); }
.search-input:focus { outline: 2px solid var(--violet-bright); outline-offset: 1px; }

.filter-pills { display: flex; flex-wrap: wrap; gap: 0.42rem; }

.filter-pill {
  min-height: 40px;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-pill.is-active, .filter-pill:hover {
  background: var(--violet);
  border-color: var(--violet-bright);
  color: #ffffff;
}

.result-count { font-size: 0.84rem; color: var(--text-dim); margin-left: auto; }

/* Traps Preview & App-Locked Grid */
.trap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.4rem;
}

.trap-card {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 1.1rem;
  padding: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.trap-thumb {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.trap-thumb img { width: 100%; height: 100%; object-fit: cover; }

.trap-num {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 0.16rem 0.48rem;
  border-radius: 999px;
  background: rgba(11, 10, 22, 0.84);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fcd34d;
}

.trap-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.trap-title { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.22rem; font-weight: 800; }
.trap-title:hover { color: var(--violet-bright); }
.trap-meta { font-size: 0.81rem; color: var(--text-dim); }
.trap-meaning { font-size: 0.91rem; font-weight: 600; color: #f1f5f9; margin-bottom: 0.55rem; }

.trap-callout {
  font-size: 0.84rem;
  line-height: 1.5;
  color: #e2e8f0;
  background: var(--amber-soft);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.55rem;
}

.trap-link { font-size: 0.83rem; font-weight: 600; color: var(--violet-bright); }
.trap-link:hover { text-decoration: underline; }

.gate-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.8rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25) 0%, rgba(56, 189, 248, 0.13) 100%);
  border: 1px solid rgba(167, 139, 250, 0.36);
  margin: 0 0 2.5rem;
}

.gate-banner h3 { font-size: 1.32rem; margin-bottom: 0.3rem; }
.gate-banner p { margin: 0; color: var(--text-muted); max-width: 560px; }

.locked-trap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.95rem;
}

.locked-trap-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 100%;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.14s ease, transform 0.14s ease;
}

.locked-trap-card:hover { border-color: var(--violet-bright); transform: translateY(-2px); }

.expand-locked-wrap {
  display: none;
  justify-content: center;
  margin-top: 1.35rem;
}

.btn-expand { min-height: 46px; padding: 0.7rem 1.4rem; font-size: 0.92rem; }

.locked-trap-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.locked-num { font-size: 0.74rem; font-weight: 700; color: var(--text-dim); }

.locked-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--violet-soft);
  border: 1px solid rgba(167, 139, 250, 0.35);
  color: #ddd6fe;
  font-size: 0.72rem;
  font-weight: 700;
}

.locked-trap-card strong { font-size: 1.12rem; margin-bottom: 0.15rem; }

.blur-teaser {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
}

.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }

/* Individual Word Teaser-Gate Page */
.word-page { padding: 2.2rem 0 4.5rem; }

.word-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.2rem;
  align-items: start;
  margin-bottom: 2.8rem;
}

.word-media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  aspect-ratio: 1 / 1;
  max-width: 460px;
  width: 100%;
  margin-inline: auto;
  box-shadow: var(--shadow);
}

.word-media-frame img { width: 100%; height: 100%; object-fit: cover; }

.media-lock-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: rgba(11, 10, 22, 0.86);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(167, 139, 250, 0.45);
  color: #ede9fe;
  font-size: 0.78rem;
  font-weight: 700;
}

.word-caption {
  margin: 0.95rem auto 0;
  max-width: 460px;
  font-size: 0.98rem;
  color: #e2e8f0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1rem;
}

.word-badges { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; }
.word-order { font-size: 0.82rem; color: var(--text-dim); font-weight: 600; }
.word-h1 { font-size: clamp(2.3rem, 4.6vw, 3.3rem); margin-bottom: 0.22rem; }
.word-pos-ipa { font-size: 1rem; color: var(--text-dim); margin-bottom: 0.95rem; }
.word-audio-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.15rem; }
.word-block { margin-bottom: 2.6rem; }
.word-block h2 { font-size: 1.45rem; margin-bottom: 1.05rem; }

.teaser-passages-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.25rem;
  align-items: stretch;
}

.passage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.passage-locked {
  background: linear-gradient(155deg, rgba(124, 58, 237, 0.2) 0%, rgba(23, 21, 44, 0.95) 100%);
  border-color: rgba(167, 139, 250, 0.42);
}

.locked-overlay-head { margin-bottom: 0.7rem; }
.passage-locked h3 { font-size: 1.28rem; margin-bottom: 0.8rem; }

.unlock-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.unlock-list li { position: relative; padding-left: 1.35rem; }
.unlock-list li::before { content: "✓"; position: absolute; left: 0; color: var(--mint); font-weight: 800; }

.related-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.related-head h2 { margin-bottom: 0; }
.related-head a { color: var(--violet-bright); font-size: 0.92rem; font-weight: 600; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #080711;
  padding: 3.1rem 0 2.1rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
  gap: 2.4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.footer-tagline { font-weight: 600; color: #e2e8f0; margin: 0.65rem 0 0.35rem; }
.footer-note { font-size: 0.87rem; color: var(--text-dim); max-width: 340px; margin: 0; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-col h4 {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 0.8rem;
}

.footer-col a, .footer-link-btn {
  display: flex;
  align-items: center;
  min-height: 38px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
  background: none;
  border: none;
  padding: 0.25rem 0;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.footer-col a:hover, .footer-link-btn:hover { color: #ffffff; }

.footer-bottom {
  padding-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.65rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .demo-stage { grid-template-columns: 1fr; }
  .start-pillars { grid-template-columns: repeat(2, 1fr); }
  .trap-grid { grid-template-columns: 1fr; }
  .locked-trap-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 840px) {
  .word-hero, .teaser-passages-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .site-nav { display: none; }
  .mobile-menu-btn { display: inline-flex; }
}

@media (max-width: 760px) {
  .hero { padding: 2.3rem 0 3rem; }
  .trust-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem 0.75rem;
  }
  .demo-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .demo-pill { min-height: 44px; padding: 0.45rem 0.5rem; font-size: 0.86rem; }
  .demo-audio-bar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.55rem; }
  .audio-pill { min-height: 44px; padding: 0.5rem 0.65rem; }
  .swipe-word-btn { grid-column: 1 / -1; margin-left: 0; min-height: 44px; }
  .demo-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.3rem; }
  .demo-tab { min-height: 42px; padding: 0.4rem 0.25rem; font-size: 0.78rem; text-align: center; }
  .tab-num { display: none; }
  .lang-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.42rem; }
  .lang-pill { min-height: 40px; padding: 0.35rem 0.4rem; font-size: 0.8rem; }
  .start-pillars, .quiz-options { grid-template-columns: 1fr; }
  .trap-card { grid-template-columns: 1fr; }
  .trap-thumb { max-width: 100%; aspect-ratio: 16 / 10; }
  .trap-link { display: inline-flex; align-items: center; min-height: 40px; }
  .locked-trap-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .locked-trap-grid.is-collapsed-mobile [data-mobile-extra="true"] { display: none; }
  .locked-trap-grid.is-collapsed-mobile + .expand-locked-wrap { display: flex; }
  .locked-trap-card { padding: 0.8rem; }
  .locked-trap-card strong { font-size: 1rem; }
  .blur-teaser { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-col a, .footer-link-btn { min-height: 44px; }
  .demo-stage { padding: 1.1rem; }
  .official-badge { height: 42px; }
  .tour-controls { display: none; }
}

@media (max-width: 440px) {
  .lang-switcher { display: none; }
}
