/* ============================================
   LinguaPlay — Shared Styles
   ============================================ */

:root {
  --red: #ff2d2d;
  --red-hover: #e62525;
  --bg: #ffffff;
  --bg-secondary: #f8f8f8;
  --text: #0a0a0a;
  --text-muted: #666666;
  --text-light: #999999;
  --border: #e8e8e8;
  --border-light: #f0f0f0;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --max-width: 1180px;
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: 'ss01', 'ss02';
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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


/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.logo-mark {
  font-size: 22px;
  display: inline-block;
  filter: hue-rotate(0deg);
}

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

.nav-link {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: background var(--transition);
}

.nav-link:hover {
  background: var(--bg-secondary);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: -0.005em;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 45, 45, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-secondary);
  border-color: #ddd;
}

.btn-large {
  padding: 16px 28px;
  font-size: 16px;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: 100px 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 45, 45, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 16px;
  animation: fadeInUp 600ms ease both;
}

.pill-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 45, 45, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 45, 45, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(255, 45, 45, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 45, 45, 0); }
}

.hero h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 780px;
  margin: 0 auto 24px;
  animation: fadeInUp 700ms 100ms ease both;
}

.hero h1 .highlight {
  color: var(--red);
}

.hero p.subhead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.55;
  animation: fadeInUp 700ms 200ms ease both;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  animation: fadeInUp 700ms 300ms ease both;
}

.social-proof {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 0;
  animation: fadeInUp 700ms 400ms ease both;
}

.social-proof .stars {
  color: #ffb800;
  letter-spacing: 1px;
  margin-right: 8px;
}

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

/* ============================================
   Demo video container
   ============================================ */

.demo-section {
  padding: 24px 0 0;
  scroll-margin-top: 80px;
}

.demo-eyebrow {
  text-align: center;
  margin: 0 0 16px;
  animation: fadeInUp 800ms 450ms ease both;
}

.demo-eyebrow span {
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.demo-container {
  width: 86%;
  max-width: 1260px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  animation: fadeInUp 800ms 500ms ease both;
}

.browser-bar {
  background: #f5f5f5;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.browser-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser-url {
  flex: 1;
  background: #ebebeb;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 12px;
  color: #888;
  font-family: 'DM Sans', sans-serif;
  text-align: center;
  max-width: 320px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  background: #000;
  line-height: 0;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

.demo-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  color: var(--text);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition);
}

.demo-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

/* ============================================
   Annotated screenshot overlay
   ============================================ */

.annotated-screenshot {
  position: relative;
  border-radius: 8px;
  overflow: visible;
  line-height: 0;
}

.annotated-screenshot img {
  width: 100%;
  border-radius: 8px;
  display: block;
  filter: grayscale(40%);
  transition: filter 400ms ease;
}

.annotated-screenshot:hover img {
  filter: grayscale(0%);
}

.annotation {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  line-height: 1;
}

.annotation-dot {
  width: 16px;
  height: 16px;
  background: var(--red);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow:
    0 0 0 2px var(--red),
    0 2px 12px rgba(255, 45, 45, 0.6);
  flex-shrink: 0;
  animation: annotationPulse 2s infinite;
}

@keyframes annotationPulse {
  0% {
    box-shadow:
      0 0 0 2px var(--red),
      0 2px 12px rgba(255, 45, 45, 0.6);
  }
  50% {
    box-shadow:
      0 0 0 8px rgba(255, 45, 45, 0.15),
      0 2px 12px rgba(255, 45, 45, 0.4);
  }
  100% {
    box-shadow:
      0 0 0 2px var(--red),
      0 2px 12px rgba(255, 45, 45, 0.6);
  }
}

.annotation-label {
  background: var(--text);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: -0.005em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

@media (max-width: 640px) {
  .annotation-label {
    font-size: 10px;
    padding: 3px 8px;
  }
  .annotation-dot {
    width: 12px;
    height: 12px;
    border-width: 2px;
  }
}

/* ============================================
   Showcase section
   ============================================ */

.showcase {
  background: var(--bg-secondary);
  padding: 80px 0;
}

.showcase-grid {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.showcase-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  margin: 0;
  overflow: hidden;
}

.showcase-card--wide {
  padding: 8px;
}

.showcase-card--wide img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.showcase-card figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  padding: 12px 0 4px;
}

.showcase-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.showcase-popup {
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.showcase-popup img {
  width: 260px;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: block;
}

.showcase-callouts {
  padding: 16px 8px;
}

.showcase-callouts h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.showcase-callouts ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.showcase-callouts li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.callout-icon {
  font-size: 20px;
  line-height: 1.2;
  flex-shrink: 0;
}

.callout-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.callout-body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ============================================
   History section
   ============================================ */

.history-section {
  background: #fff;
  padding: 100px 0;
}

.history-screenshot {
  margin-top: 48px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-light);
}

.history-screenshot img {
  width: 100%;
  display: block;
}

.history-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.history-highlight {
  text-align: center;
}

.history-highlight-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.history-highlight h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}

.history-highlight p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .history-section {
    padding: 64px 0;
  }
  .history-highlights {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
  }
}

/* ============================================
   Sections
   ============================================ */

section {
  padding: 100px 0;
}

.section-label {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-title {
  font-size: 44px;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
  line-height: 1.55;
}

/* ============================================
   How it works
   ============================================ */

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

.step-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
  transition: transform var(--transition);
}

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

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.step-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 24px;
}

/* ============================================
   Platforms
   ============================================ */

.platforms {
  text-align: center;
}

.platform-row {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 32px 0;
  margin-bottom: 24px;
}

.platform-item {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color var(--transition);
}

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

.platform-tagline {
  font-size: 17px;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================
   Language ticker
   ============================================ */

.lang-ticker {
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin: 32px 0 24px;
  position: relative;
}

.lang-ticker::before,
.lang-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.lang-ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.lang-ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.lang-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: ticker 32s linear infinite;
  font-size: 15px;
  color: #888;
  width: max-content;
}

.lang-track span {
  font-weight: 500;
  letter-spacing: -0.005em;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   Features grid
   ============================================ */

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

.feature-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================
   Pricing
   ============================================ */

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

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.price-card.featured {
  border: 2px solid var(--red);
  box-shadow: 0 12px 32px rgba(255, 45, 45, 0.12);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-tier {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.price-card.featured .price-tier {
  color: var(--red);
}

.price-quota {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.price-amount {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 4px;
}

.price-amount .currency {
  font-size: 24px;
  vertical-align: top;
  font-weight: 600;
}

.price-amount .period {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ============================================
   Billing toggle (monthly / annual)
   ============================================ */

.billing-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
  margin-bottom: 40px;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  background: #f5f5f5;
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
}

.billing-toggle button {
  padding: 8px 24px;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.billing-toggle button.active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.billing-save-badge {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  white-space: nowrap;
}

.price-strike {
  font-size: 14px;
  color: #bbb;
  text-decoration: line-through;
  margin-right: 4px;
  font-weight: 500;
  align-self: center;
  display: none;
}

.price-strike.visible {
  display: inline;
}

.price-annual-note {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
  letter-spacing: -0.005em;
  display: none;
}

.price-annual-note.visible {
  display: block;
}

.price-savings {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  margin-top: 4px;
  display: none;
}

.price-savings.visible {
  display: block;
}

.price-features {
  list-style: none;
  margin: 28px 0;
  flex: 1;
}

.price-features li {
  font-size: 15px;
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
}

.price-features li::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

.price-card .btn {
  width: 100%;
}

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin: 0 0 12px;
}

.pricing-disclaimer {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-disclaimer span {
  margin: 0 12px;
}

.chrome-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ============================================
   FAQ
   ============================================ */

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

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
  letter-spacing: -0.01em;
}

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

.faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform var(--transition);
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform var(--transition);
}

.faq-item.open .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 640px;
}

/* ============================================
   Final CTA
   ============================================ */

.final-cta {
  background: var(--bg-secondary);
  text-align: center;
  padding: 120px 0;
}

.final-cta h2 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 720px;
  margin: 0 auto 20px;
}

.final-cta p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.55;
}

.final-cta .small {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 16px;
}

/* ============================================
   Footer
   ============================================ */

footer {
  border-top: 1px solid var(--border-light);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  padding: 6px 0;
}

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

.footer-col a:hover {
  color: var(--red);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-light);
}

/* ============================================
   Reveal on scroll
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Standalone pages (success, cancel, privacy)
   ============================================ */

.page-wrap {
  padding-top: 100px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.status-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.status-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin-bottom: 28px;
}

.status-icon.success {
  background: #e8f9ee;
  color: #1eb854;
}

.status-icon.neutral {
  background: var(--bg-secondary);
  color: var(--text-muted);
}

.status-page h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  max-width: 640px;
}

.status-page p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.55;
}

.status-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.legal-page h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.legal-page .updated {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}

.legal-page p,
.legal-page li {
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

.legal-page ul {
  padding-left: 22px;
  margin: 12px 0;
}

.legal-page li {
  padding: 4px 0;
}

.legal-page a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.back-link:hover {
  color: var(--red);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  .nav-inner {
    padding: 12px 20px;
  }

  .nav-link {
    display: none;
  }

  .nav-actions .btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  .demo-section {
    padding: 16px 0 0;
  }

  .demo-container {
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .demo-eyebrow {
    margin-bottom: 16px;
  }

  .hero {
    padding: 110px 0 0;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p.subhead {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 24px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .social-proof {
    margin-bottom: 0;
  }

  section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 32px;
  }

  .section-subtitle {
    font-size: 16px;
    margin-bottom: 48px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }

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

  .platform-row {
    gap: 24px;
  }

  .platform-item {
    font-size: 18px;
  }

  .lang-track {
    animation-duration: 24s;
    font-size: 14px;
    gap: 24px;
  }

  .lang-ticker::before,
  .lang-ticker::after {
    width: 40px;
  }

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

  .price-card.featured {
    order: -1;
  }

  .pricing-disclaimer span {
    display: block;
    margin: 4px 0;
  }

  .final-cta {
    padding: 80px 0;
  }

  .final-cta h2 {
    font-size: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .browser-bar {
    padding: 8px 12px;
  }

  .browser-url {
    font-size: 10px;
  }

  .showcase {
    padding: 64px 0;
  }

  .showcase-split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .showcase-popup img {
    width: 200px;
  }

  .showcase-callouts {
    padding: 8px 0 16px;
    text-align: center;
  }

  .showcase-callouts li {
    text-align: left;
  }

  .status-page h1 {
    font-size: 30px;
  }

  .legal-page h1 {
    font-size: 30px;
  }
}


@media (max-width: 480px) {
  .hero h1 {
    font-size: 34px;
  }

  .container {
    padding: 0 20px;
  }
}
