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

:root {
  /* Light mode (default) */
  --bg-primary: #fafbfc;
  --bg-secondary: #f0f2f5;
  --bg-card: #ffffff;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --border: #e5e7eb;
  --gradient-1: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --gradient-2: linear-gradient(135deg, #fafbfc 0%, #f0f2f5 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 8px 32px rgba(0,0,0,.06);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.08);
  --nav-bg: rgba(237,244,255,.8);
  --bg-alt: #f5f7fa;
  --hero-glow: rgba(59, 130, 246, 0.06);
  --hero-h1-from: #111827;
  --hero-h1-to: #4b5563;
  --before-bg: rgba(0, 0, 0, 0.02);
  --after-bg: rgba(59, 130, 246, 0.06);
  --after-border: rgba(59, 130, 246, 0.12);
  --btn-primary-bg: #111827;
  --btn-primary-color: #ffffff;
  --btn-primary-shadow: rgba(0, 0, 0, 0.15);
  --icon-bg: rgba(59, 130, 246, 0.08);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  /* Homepage v2 */
  --bg-airy-top: #EDF4FF;
  --bg-airy-bottom: #E4EDFC;
  --bg-section: #F4F7FC;
  --accent-light: rgba(59, 130, 246, 0.08);
  --accent-medium: rgba(59, 130, 246, 0.15);
  --filler-color: #EF4444;
  --filler-bg: rgba(239,68,68,0.08);
  --green-bubble: #34C759;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-card: #1a1a1a;
    --text-primary: #fafafa;
    --text-secondary: #a1a1a1;
    --text-muted: #666;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --border: #262626;
    --gradient-1: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --gradient-2: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,.2);
    --shadow-md: 0 8px 32px rgba(0,0,0,.3);
    --shadow-lg: 0 16px 48px rgba(0,0,0,.4);
    --nav-bg: rgba(10,10,10,.85);
    --bg-alt: #111111;
    --hero-glow: rgba(59, 130, 246, 0.08);
    --hero-h1-from: #ffffff;
    --hero-h1-to: #a1a1a1;
    --before-bg: rgba(255, 255, 255, 0.03);
    --after-bg: rgba(59, 130, 246, 0.1);
    --after-border: rgba(59, 130, 246, 0.2);
    --btn-primary-bg: #fafafa;
    --btn-primary-color: #0a0a0a;
    --btn-primary-shadow: rgba(255, 255, 255, 0.15);
    --icon-bg: rgba(59, 130, 246, 0.15);
    /* Homepage v2 dark overrides */
    --bg-airy-top: #0a0a0a;
    --bg-airy-bottom: #111111;
    --bg-section: #141414;
    --accent-light: rgba(59, 130, 246, 0.12);
    --accent-medium: rgba(59, 130, 246, 0.2);
    --filler-color: #f87171;
    --filler-bg: rgba(248,113,113,0.12);
    --green-bubble: #22c55e;
  }
}

body {
  font-family: 'Outfit', "Noto Sans SC", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, .headline {
  font-family: 'Sora', -apple-system, sans-serif;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  animation: fade-up .6s ease forwards;
}

.fade-in-d1 { animation-delay: .1s; }
.fade-in-d2 { animation-delay: .2s; }
.fade-in-d3 { animation-delay: .3s; }
.fade-in-d4 { animation-delay: .4s; }

@keyframes wave-pulse {
  0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}
@keyframes blink-cursor {
  50% { opacity: 0; }
}
@keyframes marquee-left {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
@keyframes marquee-right {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* ── Scroll Reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  /* Blue SVG logo — no dark filter needed */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: .875rem;
  color: var(--text-secondary);
  transition: color .2s;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: #fff !important;
  background: var(--gradient-1);
  transition: opacity .2s, transform .2s;
}

.nav-cta:hover {
  opacity: .9;
  transform: translateY(-1px);
}

/* ── Language Dropdown ───────────────────────────────────── */
.lang-dropdown {
  position: relative;
}

.lang-toggle {
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .875rem;
  line-height: inherit;
  color: var(--text-secondary);
  transition: color .2s;
}

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

.globe-icon {
  vertical-align: -3px;
  margin-right: 4px;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 120px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s, visibility .15s, transform .15s;
  z-index: 200;
}

.lang-dropdown:hover .lang-menu,
.lang-dropdown:focus-within .lang-menu,
.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  padding: 8px 16px;
  font-size: .875rem;
  color: var(--text-secondary);
  transition: background .15s, color .15s;
}

.lang-option:first-child {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.lang-option:last-child {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.lang-option:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.lang-option.active {
  color: var(--accent);
  font-weight: 500;
}

.footer-links .lang-toggle {
  color: var(--text-muted);
}

.footer-links .lang-toggle:hover {
  color: var(--text-primary);
}

.footer-links .lang-dropdown .lang-menu {
  top: auto;
  bottom: calc(100% + 6px);
  transform: translateY(4px);
}

.footer-links .lang-dropdown:hover .lang-menu,
.footer-links .lang-dropdown:focus-within .lang-menu {
  transform: translateY(0);
}

/* ── Download Dropdown (nav) ────────────────────────────── */
.dl-dropdown {
  position: relative;
}

.dl-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 18px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: #fff;
  background: var(--gradient-1);
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: inherit;
  transition: opacity .2s, transform .2s;
}

.dl-toggle:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.dl-chevron {
  transition: transform .15s ease;
  flex-shrink: 0;
}

.dl-dropdown:hover .dl-chevron,
.dl-dropdown:focus-within .dl-chevron,
.dl-dropdown.open .dl-chevron {
  transform: rotate(180deg);
}

.dl-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s, visibility .15s, transform .15s;
  z-index: 200;
  overflow: hidden;
}

.dl-dropdown:hover .dl-menu,
.dl-dropdown:focus-within .dl-menu,
.dl-dropdown.open .dl-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dl-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-primary);
  transition: background .15s;
}

.dl-option + .dl-option {
  border-top: 1px solid var(--border);
}

.dl-option:hover {
  background: var(--bg-secondary);
}

.dl-platform-icon {
  flex-shrink: 0;
  color: var(--text-secondary);
}

.dl-option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dl-option-label {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
}

.dl-option-sub {
  font-size: .75rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* ── Hero Section ────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, var(--hero-glow) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.4;
  animation: bounce 2s infinite;
  z-index: 1;
  color: var(--text-muted);
}

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

.hero-logo {
  width: 160px;
  height: auto;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
}

/* Logo is accent-blue SVG — works on both light and dark backgrounds. */

.hero-platforms {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero h1 .gradient-text {
  color: var(--accent);
}

.h1-subtitle {
  display: block;
  font-size: 0.35em;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  margin-top: 8px;
}

.hero-tagline {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 500;
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 48px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-color);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--btn-primary-shadow);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--text-muted);
}

.btn-gradient {
  color: #fff;
  background: var(--gradient-1);
}

.btn-gradient:hover {
  opacity: .9;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.25);
}

/* ── Gradient Text ──────────────────────────────────────── */
.gradient-text {
  color: var(--accent);
}

/* ── Airy Background (Homepage v2) ──────────────────────── */
.airy-bg {
  background: var(--bg-airy-top);
}
.airy-bg .nav {
  background: var(--nav-bg);
}

/* ── Section Common (Homepage v2) ──────────────────────── */
.section {
  padding: 100px 24px;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

/* ── Hero Logo Wrap (Homepage v2) ──────────────────────── */
.hero-logo-wrap {
  margin-bottom: 24px;
  animation: fade-up 0.6s ease-out both;
}
.hero-logo-wrap svg {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px rgba(59,130,246,0.18));
}
.hero-logo-wrap svg .wave-bar {
  animation: wave-pulse 1.4s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.hero-logo-wrap svg .wave-bar:nth-child(1) { animation-delay: 0.0s; }
.hero-logo-wrap svg .wave-bar:nth-child(2) { animation-delay: 0.1s; }
.hero-logo-wrap svg .wave-bar:nth-child(3) { animation-delay: 0.2s; }
.hero-logo-wrap svg .wave-bar:nth-child(4) { animation-delay: 0.3s; }
.hero-logo-wrap svg .wave-bar:nth-child(5) { animation-delay: 0.4s; }

.hero-brand {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
  margin-bottom: 36px;
  animation: fade-up 0.6s ease-out 0.1s both;
}

/* Voice → Text Card (Hero) */
.voice-text-card {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px 48px;
  background: rgba(255,255,255,0.75);
  border-radius: 24px;
  border: 1px solid rgba(59,130,246,0.08);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  margin-bottom: 48px;
  animation: fade-up 0.8s ease-out 0.3s both;
}
@media (prefers-color-scheme: dark) {
  .voice-text-card {
    background: rgba(26,26,26,0.75);
  }
}
.voice-side, .text-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.mini-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 48px;
}
.mini-waveform .bar {
  width: 4px;
  border-radius: 3px;
  background: var(--accent);
  animation: wave-pulse 1.4s ease-in-out infinite;
}
.mini-waveform .bar:nth-child(1) { height: 16px; animation-delay: 0s; }
.mini-waveform .bar:nth-child(2) { height: 28px; animation-delay: 0.1s; }
.mini-waveform .bar:nth-child(3) { height: 40px; animation-delay: 0.2s; }
.mini-waveform .bar:nth-child(4) { height: 32px; animation-delay: 0.3s; }
.mini-waveform .bar:nth-child(5) { height: 20px; animation-delay: 0.4s; }
.vtc-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.vtc-arrow {
  font-size: 24px;
  color: var(--accent);
  opacity: 0.4;
}
.text-lines {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.text-line {
  height: 8px;
  border-radius: 4px;
  background: var(--text-primary);
}
.text-line:nth-child(1) { width: 160px; opacity: 0.2; }
.text-line:nth-child(2) { width: 120px; opacity: 0.13; }
.text-line:nth-child(3) { width: 80px; opacity: 0.08; }

/* ── btn-dark (Homepage v2) ───────────────────────────── */
.btn-dark {
  background: var(--text-primary);
  color: var(--bg-primary);
}
.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ── Scroll Hint (Homepage v2) ────────────────────────── */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
}

/* ── Live Demo Section (Homepage v2) ──────────────────── */
.demo-section {
  background: var(--bg-section);
}
.demo-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.demo-tab {
  padding: 10px 24px;
  border-radius: 100px;
  border: 1.5px solid var(--accent-medium);
  background: transparent;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s;
}
.demo-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.demo-tab:hover:not(.active) {
  border-color: var(--accent);
  color: var(--accent);
}
.demo-card {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  width: 100%;
}
.demo-panels-wrap {
  display: grid;
}
.demo-panel {
  grid-area: 1 / 1;
  visibility: hidden;
}
.demo-panel.active {
  visibility: visible;
}

/* Speech Card */
.speech-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
}
.speech-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.speech-waveform-icon {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 32px;
  height: 32px;
  justify-content: center;
}
.speech-waveform-icon .sbar {
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
  animation: wave-pulse 1.4s ease-in-out infinite;
}
.speech-waveform-icon .sbar:nth-child(1) { height: 10px; animation-delay: 0s; }
.speech-waveform-icon .sbar:nth-child(2) { height: 18px; animation-delay: 0.12s; }
.speech-waveform-icon .sbar:nth-child(3) { height: 24px; animation-delay: 0.24s; }
.speech-waveform-icon .sbar:nth-child(4) { height: 16px; animation-delay: 0.36s; }
.speech-waveform-icon .sbar:nth-child(5) { height: 12px; animation-delay: 0.48s; }
.speech-tag {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.speech-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.speech-text .filler {
  color: var(--filler-color);
  text-decoration: line-through;
  text-decoration-color: rgba(239,68,68,0.4);
  opacity: 0.7;
}

/* Output Card */
.output-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
}
.output-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.output-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.output-tag {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* iMessage Mockup */
.imessage-output .output-header { background: #F9F9F9; }
.imessage-output .output-icon { background: #34C759; }
.imessage-output .output-tag { color: #34C759; }
.imessage-body { padding: 20px 28px 28px; }
.bubble-sent {
  background: var(--green-bubble);
  color: #fff;
  padding: 14px 18px;
  border-radius: 20px 20px 4px 20px;
  font-size: 15px;
  line-height: 1.6;
  margin-left: auto;
  max-width: 90%;
  width: fit-content;
  white-space: pre-line;
}
.bubble-sent .typed-text::after {
  content: '|';
  animation: blink-cursor 0.8s step-end infinite;
  font-weight: 300;
  margin-left: 1px;
}
.bubble-sent .typed-text.done::after { display: none; }

/* Notes Mockup */
.notes-output .output-header { background: #FFFBEB; }
.notes-output .output-icon { background: #F59E0B; }
.notes-output .output-tag { color: #D97706; }
.notes-body { padding: 20px 28px 28px; }
.notes-title {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.notes-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  white-space: pre-line;
}
.notes-text .typed-text::after {
  content: '|';
  animation: blink-cursor 0.8s step-end infinite;
  font-weight: 300;
}
.notes-text .typed-text.done::after { display: none; }

/* Translation Mockup */
.translate-output .output-header { background: #EFF6FF; }
.translate-output .output-icon { background: var(--accent); }
.translate-output .output-tag { color: var(--accent); }
.translate-body { padding: 20px 28px 28px; }
.translate-lang {
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.translate-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  white-space: pre-line;
}
.translate-text .typed-text::after {
  content: '|';
  animation: blink-cursor 0.8s step-end infinite;
  color: var(--accent);
}
.translate-text .typed-text.done::after { display: none; }

/* Dark mode overrides for demo mockups */
@media (prefers-color-scheme: dark) {
  .imessage-output .output-header { background: #1a1a1a; }
  .notes-output .output-header { background: #1a1a1a; }
  .translate-output .output-header { background: #1a1a1a; }
  .speech-card { border-color: var(--border); }
  .output-card { border-color: var(--border); }
}

/* ── Zero-Edit Rate Section (Homepage v2) ─────────────── */
.zero-edit-section {
  padding: 100px 24px;
  text-align: center;
}
.zero-edit-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 56px 40px;
  background: var(--bg-card);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.04);
}
.zero-edit-ring {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 28px;
}
.zero-edit-ring svg {
  width: 180px;
  height: 180px;
  transform: rotate(-90deg);
}
.zero-edit-ring .ring-bg {
  fill: none;
  stroke: rgba(59,130,246,0.1);
  stroke-width: 10;
}
.zero-edit-ring .ring-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 502;
  stroke-dashoffset: 502;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.zero-edit-ring .ring-fill.animate {
  stroke-dashoffset: 75;
}
.zero-edit-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
}
.zero-edit-number .ze-unit {
  font-size: 28px;
  font-weight: 700;
}
.zero-edit-card h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.zero-edit-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto;
}

/* ── Speed Section (Homepage v2) ──────────────────────── */
.speed-section {
  background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg-airy-top) 100%);
}
.speed-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}
.speed-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
}
.speed-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.speed-label {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 600;
}
.speed-value {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 800;
}
.speed-value-flow { color: var(--accent); }
.speed-value-type { color: var(--text-muted); }
.speed-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}
.speed-bar-track {
  height: 12px;
  border-radius: 6px;
  background: rgba(0,0,0,0.04);
  overflow: hidden;
}
.speed-bar-fill {
  height: 100%;
  border-radius: 6px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.speed-bar-fill.animate { width: var(--target); }
.speed-bar-fill-flow {
  background: var(--gradient-1);
  --target: 100%;
}
.speed-bar-fill-type {
  background: #D1D5DB;
  --target: 25%;
}
.speed-multiplier {
  text-align: center;
  margin-top: 24px;
}
.speed-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--accent-light);
  border-radius: 100px;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

/* ── Features Grid (Homepage v2) ──────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card:nth-child(1) { background: linear-gradient(135deg, #EFF6FF 0%, #E0EEFF 100%); }
.feature-card:nth-child(2) { background: linear-gradient(135deg, #F0F6FF 0%, #E8F0FE 100%); }
.feature-card:nth-child(3) { background: linear-gradient(135deg, #EBF4FF 0%, #E4EDFC 100%); }
@media (prefers-color-scheme: dark) {
  .feature-card:nth-child(1) { background: linear-gradient(135deg, #111827 0%, #1e293b 100%); }
  .feature-card:nth-child(2) { background: linear-gradient(135deg, #111827 0%, #1e293b 100%); }
  .feature-card:nth-child(3) { background: linear-gradient(135deg, #111827 0%, #1e293b 100%); }
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card:nth-child(1) .feature-icon { background: rgba(59,130,246,0.12); }
.feature-card:nth-child(2) .feature-icon { background: rgba(59,130,246,0.10); }
.feature-card:nth-child(3) .feature-icon { background: rgba(59,130,246,0.08); }
.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── App Marquee (Homepage v2) ────────────────────────── */
.marquee-section {
  padding: 80px 0;
  overflow: hidden;
}
.marquee-wrapper {
  position: relative;
}
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-airy-top), transparent);
}
.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-airy-top), transparent);
}
@media (prefers-color-scheme: dark) {
  .marquee-wrapper::before { background: linear-gradient(90deg, var(--bg-primary), transparent); }
  .marquee-wrapper::after { background: linear-gradient(-90deg, var(--bg-primary), transparent); }
}
.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.marquee-track-1 { animation: marquee-left 50s linear infinite; }
.marquee-track-2 { animation: marquee-right 45s linear infinite; margin-top: 12px; }
.app-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
@media (prefers-color-scheme: dark) {
  .app-pill { border-color: var(--border); }
}
.app-pill-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* ── CTA Section (Homepage v2) ────────────────────────── */
.cta-section {
  text-align: center;
  padding: 100px 24px 120px;
}
.cta-section h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-section > p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Trust Section ───────────────────────────────────────── */
.trust {
  padding: 100px 24px;
  background: var(--bg-alt);
}

.trust-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 600;
  background: var(--gradient-1);
  color: #fff;
}

.trust-inner h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
}

.trust-inner > p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}

.trust-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.trust-chip svg {
  flex-shrink: 0;
  color: var(--accent);
}

.trust-link {
  margin-top: 8px;
}

.trust-link a {
  font-size: .95rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity .2s;
}

.trust-link a:hover {
  opacity: .8;
}

/* ── Download Section ────────────────────────────────────── */
.download {
  padding: 100px 24px;
  text-align: center;
  position: relative;
}

.download::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  .download::before {
    background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
  }
}

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

.download h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.download p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 32px;
  padding: 8px 18px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 100px;
  background: var(--icon-bg);
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: .875rem;
  color: var(--text-muted);
  transition: color .2s;
}

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

.footer-copy {
  font-size: .8rem;
  color: var(--text-muted);
}

/* ── Responsive: 768px ───────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    padding: 100px 24px;
  }

  .demo-card, .demo-panel { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .voice-text-card { gap: 20px; padding: 20px 24px; }
  .hero h1 { font-size: 36px; }
  .speed-value { font-size: 24px; }
  .demo-tabs { flex-wrap: wrap; }
}

/* ── Responsive: wider phones (400-640px) — side-by-side hero buttons ── */
@media (min-width: 400px) and (max-width: 640px) {
  .hero-cta {
    flex-direction: row;
    gap: 10px;
  }
  .hero-cta .btn {
    flex: 1;
    min-width: 0;
    padding: 14px 12px;
    font-size: 14px;
  }
}

/* ── Responsive: 640px ───────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links > a:not(.nav-cta):not(.lang-dropdown):not(.dl-dropdown) {
    display: none;
  }

  .nav-links > .lang-dropdown {
    display: block;
  }

  .hero {
    padding: 80px 20px 60px;
  }

  .hero-logo-wrap { margin-bottom: 16px; }
  .hero-brand { margin-bottom: 20px; }

  .hero h1 {
    font-size: clamp(2.25rem, 8vw, 3.5rem);
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

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

  .download-buttons {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .trust-chips {
    gap: 8px;
  }

  .trust-chip {
    padding: 8px 14px;
    font-size: .8rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .hero-logo-wrap svg {
    width: 140px;
  }

  .voice-text-card {
    gap: 16px;
    padding: 16px 20px;
  }
  .mini-waveform { height: 36px; }
  .mini-waveform .bar { width: 3px; }
  .mini-waveform .bar:nth-child(1) { height: 12px; }
  .mini-waveform .bar:nth-child(2) { height: 20px; }
  .mini-waveform .bar:nth-child(3) { height: 30px; }
  .mini-waveform .bar:nth-child(4) { height: 24px; }
  .mini-waveform .bar:nth-child(5) { height: 15px; }
  .vtc-label { font-size: 12px; }
  .vtc-arrow { font-size: 18px; }
  .text-line:nth-child(1) { width: 100px; }
  .text-line:nth-child(2) { width: 75px; }
  .text-line:nth-child(3) { width: 50px; }

  .zero-edit-card {
    padding: 40px 24px;
  }
}

/* ── Reduced Motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-logo-wrap svg .wave-bar,
  .mini-waveform .bar,
  .speech-waveform-icon .sbar { animation: none; }
  .marquee-track-1, .marquee-track-2 { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .speed-bar-fill { transition: none; }
}

/* ── Legal / Content Pages ───────────────────────────────── */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 100px 24px 80px;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal .last-updated {
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal p,
.legal li {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal ul,
.legal ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }

.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal a:hover {
  color: var(--accent-hover);
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: .9rem;
}

.legal th,
.legal td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.legal th {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-primary);
}

/* ── FAQ Section (Support Pages) ─────────────────────────── */
.faq-section {
  margin-top: 32px;
}

.faq-section h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--bg-card);
  transition: box-shadow .2s;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 16px 20px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.faq-item summary::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform .2s;
}

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

.faq-item .faq-answer {
  padding: 0 20px 16px;
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-item .faq-answer p {
  margin-bottom: 12px;
}

.faq-item .faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-item .faq-answer ul,
.faq-item .faq-answer ol {
  padding-left: 24px;
  margin-bottom: 12px;
  list-style: disc;
}

.faq-item .faq-answer ol {
  list-style: decimal;
}

.faq-item .faq-answer li {
  margin-bottom: 6px;
  line-height: 1.7;
}

.faq-item .faq-answer strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ── Contact Section (Support Pages) ─────────────────────── */
.contact-section {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.contact-section h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 0;
}

.contact-section p {
  font-size: .95rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.contact-section a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-section a:hover {
  color: var(--accent-hover);
}


/* ── Comparison Section (Homepage) ──────────────────────── */
.comparison {
  padding: 100px 24px;
  background: var(--bg-primary);
}

.comparison-header {
  text-align: center;
  margin-bottom: 48px;
}

.comparison-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.comparison-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.comparison-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 18px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.comparison-table th {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
}

.comparison-table th:not(:first-child) {
  text-align: center;
}

.comparison-table td:not(:first-child) {
  text-align: center;
}

.comparison-table td:first-child {
  font-weight: 500;
  color: var(--text-primary);
}

.comparison-table tbody tr:hover {
  background: var(--bg-secondary);
}

.check {
  color: #22c55e;
  font-weight: 700;
}

.cross {
  color: var(--text-muted);
}

.comparison-link {
  text-align: center;
  margin-top: 24px;
}

.comparison-link a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
}

.comparison-link a:hover {
  text-decoration: underline;
}

/* ── Comparison Pages (/compare/*) ──────────────────────── */
.compare-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 24px 60px;
}

.compare-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.compare-page .compare-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.compare-page h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 16px;
}

.compare-page p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.compare-page ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.compare-page li {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 6px;
}

.compare-page strong {
  color: var(--text-primary);
}

.compare-cta {
  text-align: center;
  margin-top: 48px;
  padding: 40px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
}

.compare-cta h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.compare-cta p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.compare-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ── Install Guide (Download Page) ─────────────────────── */
.install-guide {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
}

.install-guide-inner {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

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

.install-pretitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.install-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.install-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--text-primary);
  color: var(--bg-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.step-illustration {
  margin-bottom: 20px;
}

.step-caption {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.step-caption strong {
  color: var(--text-primary);
}

/* Finder Window */
.finder-window,
.dmg-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 260px;
  margin: 0 auto;
}

.finder-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.finder-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.finder-dot.red { background: #ff5f57; }
.finder-dot.yellow { background: #febc2e; }
.finder-dot.green { background: #28c840; }

.finder-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-left: 4px;
}

.finder-body {
  padding: 8px;
}

.finder-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
}

.finder-row.highlight {
  background: rgba(59, 130, 246, 0.1);
}

.finder-filename {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

.finder-filename.muted {
  color: var(--text-muted);
  font-weight: 400;
}

.app-icon-placeholder {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.file-icon {
  flex-shrink: 0;
}

/* DMG Window */
.dmg-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px;
}

.dmg-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.dmg-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: center;
}

.dmg-arrow {
  flex-shrink: 0;
  opacity: 0.6;
}

/* Install Retry */
.install-retry {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.retry-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.retry-link:hover {
  color: var(--accent-hover);
}

.install-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.install-divider::before,
.install-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.install-ios {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.install-ios-steps {
  width: 100%;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive: Install Guide */
@media (max-width: 768px) {
  .install-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .install-guide {
    padding: 100px 24px 60px;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .install-guide {
    padding: 80px 20px 40px;
  }
}

/* ── Install FAQ ─────────────────────────────────────────── */
.install-faq {
  max-width: 600px;
  margin: 3rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.install-faq-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.install-faq .faq-item {
  border: none;
  border-radius: 0;
  margin-bottom: 0;
  background: none;
  box-shadow: none;
  border-bottom: 1px solid var(--border);
}

.install-faq .faq-item:hover {
  box-shadow: none;
}

.install-faq .faq-item:last-child {
  border-bottom: none;
}

.install-faq .faq-item summary {
  display: none;
}

.install-faq .faq-item summary::after {
  display: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  font-family: inherit;
  line-height: 1.5;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
  color: var(--text-muted);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

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

.install-faq .faq-answer-inner {
  padding: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.install-faq .faq-answer-inner p {
  margin: 0 0 0.5rem;
}

.install-faq .faq-answer-inner p:last-child {
  margin-bottom: 0;
}

.install-faq .faq-answer-inner code {
  background: var(--border);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.85em;
}

.install-faq .faq-item.open .faq-answer {
  max-height: 800px;
}

.faq-compare {
  display: flex;
  gap: 1.5rem;
  margin: 0.75rem 0;
}

.faq-compare-item {
  flex: 1;
  text-align: center;
}

.faq-compare-item img {
  height: 280px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.faq-compare-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

/* ── Release Notes ───────────────────────────────────────── */
.platform-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--border);
}

.platform-tab {
  padding: 10px 24px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

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

.platform-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.platform-panel {
  display: none;
}

.platform-panel.active {
  display: block;
}

.release-entry {
  border-bottom: 1px solid var(--border);
  padding-bottom: 40px;
  margin-bottom: 40px;
}

.release-entry:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.release-version {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.release-date {
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.release-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(59, 130, 246, 0.08);
  padding: 2px 10px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.release-entry h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 20px;
  margin-bottom: 8px;
}

/* ── Pricing Page ───────────────────────────────────────── */
.pricing-hero {
  padding: 140px 24px 60px;
  text-align: center;
}

.pricing-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* Trial Banner */
.pricing-trial {
  padding: 0 24px 40px;
}

.trial-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 28px;
  border-radius: var(--radius);
  background: var(--icon-bg);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.trial-icon {
  flex-shrink: 0;
  color: var(--accent);
}

.trial-text {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.trial-text strong {
  color: var(--text-primary);
}

/* Pricing Cards */
.pricing-cards {
  padding: 0 40px 80px;
}
.pricing-cards .container {
  max-width: 1060px;
}

.billing-toggle{display:flex;justify-content:center;gap:4px;margin-bottom:40px;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:4px;max-width:340px;margin-left:auto;margin-right:auto}
.billing-btn{flex:1;padding:10px 20px;border:none;border-radius:calc(var(--radius) - 4px);background:transparent;color:var(--text-secondary);font-size:.9rem;font-weight:500;cursor:pointer;font-family:inherit;transition:all .2s}
.billing-btn.active{background:var(--accent);color:#fff;box-shadow:0 2px 8px rgba(59,130,246,.25)}
.billing-save{font-size:.75rem;font-weight:600;color:var(--accent);margin-left:4px}
.billing-btn.active .billing-save{color:rgba(255,255,255,.85)}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  min-width: 0;
  position: relative;
  transition: all .3s ease;
}

.pricing-card:hover {
  border-color: var(--text-muted);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pricing-card-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
}

.pricing-card-featured:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-1);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

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

.pricing-plan-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.pricing-plan-desc {
  font-size: .875rem;
  color: var(--text-muted);
}

.pricing-price {
  margin-bottom: 8px;
  white-space: nowrap;
  min-height: 3.5rem;
  display: flex;
  align-items: baseline;
}

.pricing-orig {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 4px;
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-effective {
  font-size: .875rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
  white-space: nowrap;
  min-height: 1.4em;
}

.pricing-btn {
  width: 100%;
  justify-content: center;
  margin: 24px 0;
}

.pricing-features {
  list-style: none;
  padding: 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: .9rem;
  color: var(--text-secondary);
  padding: 8px 0;
}

.pricing-features li svg {
  flex-shrink: 0;
  color: #22c55e;
}

.pricing-free-note {
  text-align: center;
  font-size: .9rem;
  color: var(--text-muted);
  margin-top: 24px;
}

/* What's Included */
.pricing-included {
  padding: 80px 24px;
  background: var(--bg-secondary);
}

.pricing-included-header {
  text-align: center;
  margin-bottom: 48px;
}

.pricing-included-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-included-header p {
  font-size: 1rem;
  color: var(--text-secondary);
}

.pricing-included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-included-item {
  text-align: center;
  padding: 24px 16px;
}

.pricing-included-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--icon-bg);
  color: var(--accent);
  margin: 0 auto 16px;
}

.pricing-included-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-included-item p {
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Pricing FAQ */
.pricing-faq {
  padding: 80px 24px;
}

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

.pricing-faq-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
}

.pricing-faq-list {
  max-width: 720px;
  margin: 0 auto;
}

/* Responsive: Pricing */
@media (max-width: 768px) {
  .pricing-included-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .pricing-included-grid {
    grid-template-columns: 1fr;
  }

  .trial-banner {
    flex-direction: column;
    text-align: center;
  }

  .pricing-hero {
    padding: 100px 20px 40px;
  }
}

/* ── Redeem Page ──────────────────────────────────────── */
.redeem-page { padding-top: 120px; padding-bottom: 100px; }
@media (max-width: 640px) {
  .redeem-page { padding-top: 80px; padding-bottom: 60px; }
}
@media (max-width: 480px) {
  .redeem-card { padding: 24px 16px; }
  .redeem-card h2 { font-size: 1.25rem; }
}
.redeem-card{max-width:460px;margin:0 auto;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:40px 32px;box-shadow:var(--shadow-md)}
.redeem-card h2{font-size:1.5rem;font-weight:700;margin-bottom:4px;color:var(--text-primary)}
.redeem-card .subtitle{font-size:.9rem;color:var(--text-muted);margin-bottom:28px}
.step-indicator{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:1px;color:var(--accent);margin-bottom:12px}
.step-hidden{display:none}
.sent-email{display:inline-block;padding:6px 14px;background:rgba(59,130,246,.08);color:var(--accent);border:1px solid rgba(59,130,246,.15);border-radius:20px;font-size:.85rem;font-weight:500;margin-bottom:8px}
.resend-row{display:none;align-items:center;justify-content:center;gap:8px;margin-top:12px;font-size:.85rem;color:var(--text-muted)}
.resend-row.show{display:flex}
.btn-link{background:none;border:none;color:var(--accent);font-size:.85rem;font-weight:500;cursor:pointer;padding:0;font-family:inherit;text-decoration:underline}
.btn-link:disabled{opacity:.5;cursor:not-allowed;text-decoration:none}
.back-row{text-align:center;margin-top:12px}
.wechat-banner{max-width:460px;margin:0 auto 24px;padding:16px 20px;background:rgba(239,68,68,.06);border:1px solid rgba(239,68,68,.15);border-radius:var(--radius);text-align:center;font-size:.9rem;color:var(--text-primary);line-height:1.6}
.wechat-banner p{margin:0}
.wechat-banner .wechat-hint{font-size:.8rem;color:var(--text-muted);margin-top:6px}
.field-hint{font-size:.8rem;color:var(--text-muted);margin:6px 0 0;line-height:1.4}
.field-error{font-size:.85rem;color:#dc2626;margin:6px 0 0;display:none}
.form-group{margin-bottom:20px}
.form-group label{display:block;font-size:.85rem;font-weight:500;color:var(--text-primary);margin-bottom:6px}
.form-group input{width:100%;padding:12px 16px;border:1px solid var(--border);border-radius:var(--radius-xs);font-size:1rem;font-family:inherit;background:var(--bg-primary);color:var(--text-primary);transition:border-color .2s}
.form-group input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(59,130,246,.1)}
.form-group input::placeholder{color:var(--text-muted)}
.form-group input.code-input{font-family:'SF Mono','Fira Code','Consolas',monospace;font-size:1.1rem;letter-spacing:2px;text-transform:uppercase}
.btn-redeem{width:100%;padding:14px 24px;border:none;border-radius:var(--radius-xs);background:var(--accent);color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;font-family:inherit;margin-top:8px}
.btn-redeem:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 30px rgba(59,130,246,.3)}
.btn-redeem:disabled{opacity:.5;cursor:not-allowed}
.msg{margin-top:16px;padding:12px 16px;border-radius:var(--radius-xs);font-size:.9rem;line-height:1.5;display:none}
.msg.error{display:block;background:rgba(239,68,68,.08);color:#dc2626;border:1px solid rgba(239,68,68,.2)}
.msg.success{display:block;background:rgba(34,197,94,.08);color:#16a34a;border:1px solid rgba(34,197,94,.2)}
.msg.info{display:block;background:rgba(59,130,246,.08);color:var(--accent);border:1px solid rgba(59,130,246,.2)}
.turnstile-wrapper{margin-bottom:20px;display:flex;justify-content:center}
.success-view{text-align:center;display:none}
.success-view .check-icon{width:56px;height:56px;margin:0 auto 20px;background:rgba(34,197,94,.12);border-radius:50%;display:flex;align-items:center;justify-content:center}
.success-view .check-icon svg{width:28px;height:28px;color:#16a34a}
.success-view h3{font-size:1.4rem;font-weight:700;margin-bottom:16px;color:var(--text-primary)}
.success-view p{font-size:.9rem;color:var(--text-secondary);line-height:1.6;margin-bottom:6px}
.success-view .plan-badge{display:inline-block;padding:8px 20px;background:rgba(59,130,246,.08);color:var(--accent);border-radius:24px;font-size:.9rem;font-weight:600;margin:4px 0 16px;letter-spacing:.5px}
.success-view .download-cta{margin-top:20px}
.success-view .download-cta .btn{background:var(--accent);color:#fff;text-decoration:none}
.success-view .download-cta .btn:hover{box-shadow:0 8px 30px rgba(59,130,246,.3);transform:translateY(-2px)}
