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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a2e;
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== Shared ===== */
.section__title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 18px;
  color: #666;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 14px;
  transition: background 0.2s, transform 0.15s;
}

.btn--primary {
  padding: 18px 40px;
  background: #34D399;
  color: #fff;
  font-size: 17px;
  box-shadow: 0 4px 24px rgba(52, 211, 153, 0.3);
}

.btn--primary:hover {
  background: #2bc48a;
  transform: translateY(-1px);
}

.btn--full { width: 100%; }

.pill {
  display: inline-block;
  padding: 7px 16px;
  background: rgba(52, 211, 153, 0.1);
  color: #1a1a2e;
  font-size: 15px;
  font-weight: 500;
  border-radius: 20px;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

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

.logo__img {
  height: 40px;
  width: 40px;
  object-fit: cover;
  object-position: left;
}

.logo__text {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: -0.01em;
}

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

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: #3a3a4a;
  transition: color 0.2s;
}

.nav__link:hover { color: #34D399; }

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

.store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border: none;
  background: none;
  transition: border-color 0.2s, color 0.2s;
}

.store-btn:hover { opacity: 0.7; }
.store-btn img { height: 100%; width: auto; }

.header__right--mobile { display: none; }

.store-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1.5px solid #e0e0e4;
  transition: border-color 0.2s;
  overflow: hidden;
}

.store-link:hover { border-color: #34D399; }
.store-link__img { height: 100%; width: auto; }

/* ===== 1. Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  background: #f9fafb;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__wave {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
}

.hero__wave--1 {
  width: 140%;
  height: 600px;
  top: 8%;
  left: -20%;
  background: linear-gradient(180deg, rgba(52,211,153,0.08) 0%, transparent 100%);
  transform: rotate(-3deg);
}

.hero__wave--2 {
  width: 120%;
  height: 500px;
  top: 40%;
  left: -10%;
  background: linear-gradient(180deg, rgba(52,211,153,0.05) 0%, transparent 100%);
  transform: rotate(2deg);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 60px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero__content {
  flex: 1;
  max-width: 560px;
}

.hero__title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 32px;
}

.hero__cta {
  margin-bottom: 12px;
}

.hero__trust {
  font-size: 14px;
  color: #888;
  margin-bottom: 28px;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero__pills--mobile,
.hero__speech {
  display: none;
}

/* Phone frame (shared) */
.phone__frame {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
  border: 5px solid #f0f0f0;
}

.phone__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Hero showcase */
.hero__showcase {
  position: relative;
  flex: 0 0 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

.hero__phone-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.phone__frame--hero {
  width: 260px;
  height: 520px;
  border: none;
  border-radius: 36px;
  outline: none;
  box-shadow: none;
  background: #fff;
  overflow: hidden;
}



.hero__mascot {
  position: absolute;
  height: 299px;
  left: -210px;
  bottom: -24px;
  z-index: -1;
}

.phone__shell {
  position: absolute;
  width: 272px;
  height: 530px;
  top: -2px;
  left: -6px;
  z-index: 20;
  pointer-events: none;
}

/* Vocabulary deck — overlapping cards */
.vocab-deck {
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 25;
}

.vocab-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1.5px solid #e5e7eb;
  gap: 3px;
  position: relative;
  margin-left: -12px;
}

.vocab-card:first-child {
  margin-left: 0;
}

.vocab-card:nth-child(1) { z-index: 1; }
.vocab-card:nth-child(2) { z-index: 2; }
.vocab-card:nth-child(3) { z-index: 3; }
.vocab-card:nth-child(4) { z-index: 4; }
.vocab-card:nth-child(5) { z-index: 5; }


.vocab-card__en {
  font-size: 11px;
  font-weight: 700;
  color: #1a1a2e;
  white-space: nowrap;
}

.vocab-card__divider {
  width: 20px;
  height: 1px;
  background: #e5e7eb;
}

.vocab-card__ru {
  font-size: 8px;
  color: #999;
  white-space: nowrap;
}

.vocab-card--new {
  background: rgba(52, 211, 153, 0.08);
  border-color: #34D399;
}

.vocab-card--new .vocab-card__en {
  color: #059669;
}

.vocab-card--new:not(.is-visible) {
  width: 0;
  padding: 0;
  border: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
}

.vocab-card--new.is-visible {
  animation: vocab-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes vocab-pop {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Tap finger */
.reader__finger {
  position: absolute;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, top 0.4s ease, left 0.4s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.reader__finger.is-visible {
  opacity: 1;
}

.reader__finger.is-tapping {
  animation: finger-tap 0.3s ease;
}

@keyframes finger-tap {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.85); }
}

/* Catalog overlay */
.reader__catalog {
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 0;
  z-index: 30;
  background: #fff;
  border-radius: 33px;
  overflow: hidden;
  transition: opacity 0.6s ease;
}

.reader__catalog.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.reader__catalog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

/* Reader mock */
.reader {
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

.reader__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.reader__back {
  font-size: 20px;
  color: #f97316;
  font-weight: 600;
  line-height: 1;
}

.reader__title {
  font-size: 9px;
  color: #333;
  font-weight: 500;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reader__page {
  font-size: 9px;
  color: #999;
}

.reader__footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  border-top: 1px solid #eee;
  flex-shrink: 0;
}

.reader__listen {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: none;
  border-radius: 12px;
  font-size: 8px;
  font-weight: 600;
  cursor: pointer;
  background: #e5e7eb;
  color: #666;
  transition: all 0.3s;
}

.reader__listen.is-active {
  background: #f97316;
  color: #fff;
}

.reader__eq {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 12px;
}

.reader__eq-bar {
  width: 2px;
  background: #fff;
  border-radius: 1px;
  animation: eq-bounce 1s ease-in-out infinite;
}

.reader__eq-bar:nth-child(1) { height: 4px; animation-delay: 0s; }
.reader__eq-bar:nth-child(2) { height: 8px; animation-delay: 0.15s; }
.reader__eq-bar:nth-child(3) { height: 5px; animation-delay: 0.3s; }
.reader__eq-bar:nth-child(4) { height: 10px; animation-delay: 0.45s; }

@keyframes eq-bounce {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

.reader__content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px 14px 20px;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  pointer-events: none;
}

.reader__content::-webkit-scrollbar {
  display: none;
}

.reader__chapter {
  font-size: 12px;
  font-weight: 700;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 4px;
  line-height: 1.3;
}

.reader__chapter-ru {
  font-size: 9px;
  color: #999;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.3;
}

.reader__subchapter {
  font-size: 10px;
  font-weight: 700;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 2px;
}

.reader__subchapter-ru {
  font-size: 8px;
  color: #999;
  text-align: center;
  margin-bottom: 14px;
  font-style: italic;
}

.reader__pair {
  margin-bottom: 10px;
}

.reader__en {
  font-size: 10px;
  line-height: 1.5;
  color: #1a1a2e;
  margin-bottom: 2px;
  transition: background 0.3s, color 0.3s;
  padding: 2px 4px;
  margin: 0 -4px 2px;
  border-radius: 4px;
}

.reader__en.is-reading {
  background: rgba(249, 115, 22, 0.06);
  border-radius: 4px;
}

.reader__word.is-spoken {
  background: rgba(249, 115, 22, 0.25);
  color: #c2410c;
  border-radius: 3px;
  padding: 1px 2px;
  margin: -1px -2px;
}

.reader__ru {
  font-size: 9px;
  line-height: 1.4;
  color: #aaa;
  padding: 0 4px;
}

/* Highlighted translation word */
.reader__ru-hl {
  background: rgba(249, 115, 22, 0.18);
  color: #c2410c;
  border-radius: 3px;
  padding: 1px 3px;
  margin: -1px -3px;
  transition: background 0.3s;
}

/* Tapped word */
.reader__word.is-tapped {
  background: #f97316;
  color: #fff;
  border-radius: 3px;
  padding: 1px 3px;
  margin: -1px -3px;
}

/* Word popup bar */
.reader__popup {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: none;
  justify-content: center;
  gap: 4px;
  padding: 8px 10px 10px;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
  z-index: 10;
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  max-width: 100%;
}

.reader__popup.is-visible {
  display: flex;
}

.reader__popup-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  font-size: 9px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.reader__popup-btn svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.reader__popup-btn[data-action="add"] {
  background: #f97316;
  color: #fff;
  border-color: #f97316;
}

.reader__popup-btn[data-action="add"] svg {
  stroke: #fff;
}

/* Word card overlay */
.reader__card {
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 20;
  display: none;
  flex-direction: column;
  padding: 16px;
  overflow-y: auto;
}

.reader__card.is-visible {
  display: flex;
}

.reader__card-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.reader__card-close {
  width: 24px;
  height: 24px;
  border: none;
  background: #f3f4f6;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reader__card-word {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 2px;
}

.reader__card-transcription {
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

.reader__card-translation {
  font-size: 16px;
  color: #1a1a2e;
  font-weight: 500;
  margin-bottom: 16px;
}

.reader__card-divider {
  height: 1px;
  background: #eee;
  margin-bottom: 12px;
}

.reader__card-all {
  font-size: 10px;
  color: #999;
  margin-bottom: 6px;
}

.reader__card-alt {
  font-size: 11px;
  color: #555;
  margin-bottom: 3px;
}

.reader__card-example {
  margin-top: 12px;
  font-size: 11px;
  color: #1a1a2e;
  line-height: 1.5;
}

.reader__card-example em {
  color: #f97316;
  font-style: normal;
  font-weight: 600;
}

.reader__card-example-ru {
  font-size: 10px;
  color: #999;
  line-height: 1.4;
}

/* Toast notification */
.reader__toast {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #1a1a2e;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 15;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.reader__toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ===== 2. Trust-strip ===== */
.trust {
  padding: 48px 0;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.trust__inner {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 20px 16px;
  flex: 0 1 200px;
}

.trust__icon {
  margin-bottom: 4px;
}

.trust__card strong {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
}

.trust__card span {
  font-size: 14px;
  color: #888;
  line-height: 1.3;
}

/* ===== 3. Compare-block ===== */
.compare {
  padding: 100px 0;
  background: #f9fafb;
}

.compare__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.compare__row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid #eee;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.compare__row.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.compare__old,
.compare__new {
  flex: 1;
  padding: 24px 28px;
}

.compare__old {
  background: #f7f5f5;
}

.compare__new {
  background: rgba(52, 211, 153, 0.05);
}

.compare__arrow {
  display: flex;
  align-items: center;
  font-size: 24px;
  color: #34D399;
  font-weight: 700;
  padding: 0 12px;
  background: #fff;
}

.compare__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.compare__label--old {
  background: #e8e8e8;
  color: #666;
}

.compare__label--new {
  background: rgba(52, 211, 153, 0.15);
  color: #0d9668;
}

.compare__old strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
  line-height: 1.3;
}

.compare__old p {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

.compare__new strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
  line-height: 1.3;
}

.compare__new p {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
  font-weight: 500;
}

/* ===== 4. Method (Orbital) ===== */
.method {
  padding: 100px 0;
  background: #fff;
}

.method__layout {
  display: flex;
  align-items: center;
  gap: 72px;
  justify-content: center;
}

.method__diagram {
  position: relative;
  width: 440px;
  height: 440px;
  flex-shrink: 0;
}

.method__lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Background glow */
.method__diagram::before {
  content: '';
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,211,153,0.08) 0%, transparent 70%);
  z-index: 0;
}

.method__lines line {
  transition: opacity 0.35s, stroke-width 0.35s;
}

.method__ring {
  position: absolute;
  inset: 35px;
  border: 1.5px solid rgba(52,211,153,0.1);
  border-radius: 50%;
  animation: ring-pulse 4s ease-in-out infinite;
  z-index: 0;
}

/* Running light on orbit */
.method__ring::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 340deg,
    rgba(34,197,94,0.4) 355deg,
    transparent 360deg
  );
  animation: orbit-spin 12s linear infinite;
  filter: blur(3px);
  transform: translate(-50%, -50%);
}

@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.03); opacity: 1; }
}

.method__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 175px;
  height: 175px;
  background: radial-gradient(circle, #000 60%, #050505 80%, #0a0a0a 100%);
  transition: background 0.3s;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
  border: 1px solid rgba(34,197,94,0.15);
  box-shadow:
    0 0 40px rgba(34,197,94,0.25),
    0 0 80px rgba(34,197,94,0.15),
    0 0 120px rgba(34,197,94,0.05);
  animation: hub-breathe 4s ease-in-out infinite;
}

.method__hub::after {
  content: '';
  position: absolute;
  width: 130%;
  height: 130%;
  border-radius: 50%;
  background: radial-gradient(rgba(34,197,94,0.15), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}

@keyframes hub-breathe {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 40px rgba(34,197,94,0.25), 0 0 80px rgba(34,197,94,0.15), 0 0 120px rgba(34,197,94,0.05);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.02);
    box-shadow: 0 0 50px rgba(34,197,94,0.35), 0 0 100px rgba(34,197,94,0.2), 0 0 140px rgba(34,197,94,0.08);
  }
}

.method__video {
  width: 94%;
  height: 94%;
  object-fit: contain;
}

.method__logo {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.method__hub:focus,
.method__node:focus {
  outline: none;
}

.method__node {
  position: absolute;
  width: 90px;
  height: 90px;
  margin: -45px 0 0 -45px;
  background: #2b2f3a;
  border: 1.5px solid rgba(52,211,153,0.15);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  z-index: 2;
  transition: all 0.35s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 0.8;
}

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

.method__node .method__node-icon,
.method__node .method__node-icon * {
  stroke: rgba(52,211,153,0.7) !important;
}

.method__node span { color: inherit; font-size: 9px; }

.method__node:hover,
.method__node.is-active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(160deg, #4ade80 0%, #059669 100%);
  box-shadow: 0 0 40px rgba(52,211,153,0.5), 0 8px 28px rgba(5,150,105,0.25);
  transform: scale(1.18);
  opacity: 1;
}

.method__node:hover .method__node-icon,
.method__node.is-active .method__node-icon,
.method__node:hover .method__node-icon *,
.method__node.is-active .method__node-icon * {
  stroke: #fff !important;
}

.method__node:hover .method__node-icon *,
.method__node.is-active .method__node-icon * {
  stroke: #fff;
}

/* 5 nodes on r=185px circle, center at (220,220) */
.method__node--1 { top:  35px; left: 220px; }
.method__node--2 { top: 156px; left: 396px; }
.method__node--3 { top: 370px; left: 329px; }
.method__node--4 { top: 370px; left: 111px; }
.method__node--5 { top: 156px; left:  44px; }

.method.is-paused *,
.method.is-paused *::before,
.method.is-paused *::after {
  animation-play-state: paused !important;
}

/* Pause/Play overlay on hub */
.method__hub-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
  cursor: pointer;
  z-index: 5;
}

.method__hub:hover .method__hub-overlay {
  opacity: 1;
}

/* When paused, always show overlay */
.method.is-paused .method__hub-overlay {
  opacity: 0.8;
}

/* Detail panel */
.method__details {
  flex: 0 1 380px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Progress line */
.method__details::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e5e7eb;
  border-radius: 1px;
}

.method__detail {
  text-align: left;
  position: relative;
  padding: 12px 16px 12px 40px;
  border-radius: 12px;
  transition: all 0.4s ease;
  opacity: 0.35;
}

.method__detail h3 {
  font-size: 15px !important;
  margin-bottom: 0 !important;
  transition: all 0.3s;
}

.method__detail p {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
  font-size: 15px !important;
}

/* Dot on timeline */
.method__detail::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e5e7eb;
  border: 2px solid #fff;
  z-index: 1;
  transition: all 0.3s;
}

/* Visited state — compact, colored dot */
.method__detail.is-visited {
  opacity: 0.6;
}

.method__detail.is-visited::before {
  background: #34D399;
}

/* Active state — expanded, highlighted */
.method__detail.is-active-detail {
  opacity: 1;
  background: rgba(52,211,153,0.06);
}

.method__detail.is-active-detail::before {
  background: #34D399;
  box-shadow: 0 0 8px rgba(52,211,153,0.5);
  width: 14px;
  height: 14px;
  left: 9px;
  top: 17px;
}

.method__detail.is-active-detail h3 {
  font-size: 18px !important;
  color: #1a1a2e;
  margin-bottom: 8px !important;
}

.method__detail.is-active-detail p {
  max-height: 120px;
  opacity: 1;
  margin-top: 4px;
}

/* Pending state — not yet reached */
.method__detail:not(.is-visited):not(.is-active-detail) {
  opacity: 0.3;
}

.method__detail:not(.is-visited):not(.is-active-detail)::before {
  background: #e5e7eb;
}

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


/* Mobile cards (hidden on desktop) */
.method__mobile {
  display: none;
}

.method__hub--mob {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 120px;
  height: 120px;
  margin: 0 auto 12px;
  animation: hub-breathe-mob 4s ease-in-out infinite;
}

@keyframes hub-breathe-mob {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.method__mob-desc {
  text-align: center;
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 28px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.method__mob-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: #fff;
  border: 1.5px solid #eee;
  border-radius: 16px;
  margin-bottom: 12px;
}

.method__mob-card svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.method__mob-card strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #1a1a2e;
}

.method__mob-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

/* ===== 5. Steps ===== */
.steps {
  padding: 100px 0;
  background: #f9fafb;
}

.steps__grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}

.steps__card {
  flex: 1;
  max-width: 240px;
  text-align: center;
  padding: 0 12px;
}

.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #34D399;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 20px;
}

.steps__phone {
  margin-bottom: 20px;
}

.phone__frame--sm {
  width: 260px;
  height: auto;
  margin: 0 auto;
  border-radius: 32px;
  border-width: 5px;
}

.steps__card-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
  line-height: 1.3;
}

.steps__card-text {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.steps__connector {
  display: none;
}

.steps__summary {
  text-align: center;
  font-size: 16px;
  font-style: italic;
  color: #888;
  margin-top: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== 6. Library ===== */
.library {
  padding: 100px 0;
  background: #fff;
}

.library__tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.library__tab {
  padding: 10px 24px;
  border-radius: 24px;
  border: 1.5px solid #e0e0e4;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #3a3a4a;
  cursor: pointer;
  transition: all 0.2s;
}

.library__tab:hover {
  border-color: #34D399;
  color: #34D399;
}

.library__tab.is-active {
  background: #34D399;
  border-color: #34D399;
  color: #fff;
}

.library__panel {
  display: none;
}

.library__panel.is-active {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
  animation: fade-up 0.3s ease;
}

.library__panel-content {
  flex: 1;
}

.library__panel-content h3 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 16px;
  line-height: 1.3;
}

.library__panel-content p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.library__examples {
  font-size: 14px;
  color: #888;
  line-height: 1.5;
  margin-bottom: 20px;
  font-style: italic;
}

.library__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.library__badge {
  display: inline-block;
  padding: 5px 12px;
  background: #f5f5f5;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #666;
}

.library__phone {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.library__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background: #fff;
  font-size: 22px;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.library__arrow:hover {
  border-color: #34D399;
  color: #34D399;
  box-shadow: 0 2px 12px rgba(52,211,153,0.15);
}

.library__arrow--prev { left: -52px; }
.library__arrow--next { right: -52px; }

.library__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.library__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}

.library__dot:hover {
  background: #a0d8c0;
}

.library__dot.is-active {
  background: #34D399;
  transform: scale(1.25);
}

.library__screen {
  transition: opacity 0.15s ease;
}

.phone__frame--md {
  width: 260px;
  height: auto;
  border-radius: 32px;
  border-width: 5px;
}

/* ===== 7. Demo ===== */
.demo {
  padding: 100px 0;
  background: #f9fafb;
}

.demo__slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 40px 20px;
  margin: 0 -40px;
  scrollbar-width: none;
}

.demo__slider::-webkit-scrollbar {
  display: none;
}

.demo__slide {
  flex: 0 0 auto;
  scroll-snap-align: center;
  text-align: center;
}

.phone__frame--demo {
  width: 200px;
  height: 400px;
  border-radius: 26px;
  border-width: 5px;
  margin-bottom: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.demo__slide:hover .phone__frame--demo {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
}

.demo__caption {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
}

/* ===== 8. Audience ===== */
.audience {
  padding: 80px 0;
  background: #fff;
}

.audience__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.audience__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: #f9fafb;
  border-radius: 14px;
  border: 1px solid #eee;
  flex: 0 1 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.audience__card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.audience__card svg { flex-shrink: 0; }

.audience__card span {
  font-size: 15px;
  font-weight: 500;
  color: #1a1a2e;
}

/* ===== 9. Pains ===== */
.pains {
  padding: 100px 0;
  background: #f9fafb;
}

.pains__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.pains__chip {
  padding: 10px 20px;
  border-radius: 24px;
  border: 1.5px solid #e0e0e4;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #3a3a4a;
  cursor: pointer;
  transition: all 0.2s;
}

.pains__chip:hover { border-color: #34D399; color: #34D399; }

.pains__chip.is-active {
  background: #34D399;
  border-color: #34D399;
  color: #fff;
}

.pains__answers {
  max-width: 600px;
  margin: 0 auto;
}

.pains__answer {
  display: none;
  text-align: center;
  padding: 32px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #eee;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}

.pains__answer.is-active {
  display: block;
  animation: fade-up 0.3s ease;
}

.pains__answer strong {
  display: block;
  font-size: 18px;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.pains__answer p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* ===== 10. Languages ===== */
.languages {
  padding: 80px 0;
  background: #fff;
  overflow: hidden;
}

.languages__marquee {
  overflow: hidden;
  margin-top: 10px;
}

.languages__track {
  display: flex;
  gap: 12px;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.languages__track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #f5f5f5;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  color: #3a3a4a;
  white-space: nowrap;
}

.languages__track span img {
  width: 24px;
  height: 18px;
  border-radius: 3px;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== 11. Reviews ===== */
.reviews {
  padding: 100px 0;
  background: #f9fafb;
}

.reviews__grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 40px 20px;
  margin: 0 -40px;
  scrollbar-width: none;
}

.reviews__grid::-webkit-scrollbar {
  display: none;
}

.reviews__card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 0 0 320px;
  scroll-snap-align: center;
}

.reviews__stars {
  color: #f59e0b;
  font-size: 18px;
  letter-spacing: 2px;
}

.reviews__text {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  flex: 1;
}

.reviews__author strong {
  display: block;
  font-size: 15px;
  color: #1a1a2e;
}

.reviews__author span {
  font-size: 13px;
  color: #888;
}

.reviews__author .reviews__source {
  color: #34D399;
  font-size: 12px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.8;
  transition: opacity 0.15s;
}

.reviews__card:hover .reviews__source {
  opacity: 1;
}

.reviews__card[data-review] {
  transition: transform 0.15s, box-shadow 0.15s;
}

.reviews__card[data-review]:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* Review modal */
.review-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.review-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.review-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.review-modal__content {
  position: relative;
  max-width: 800px;
  max-height: 90vh;
  margin: 20px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
}

.review-modal__img {
  display: block;
  width: 100%;
  height: auto;
}

.review-modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: rgba(255,255,255,0.9);
  border: none;
  font-size: 28px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  z-index: 1;
}

/* ===== 12. FAQ ===== */
.faq {
  padding: 100px 0;
  background: #fff;
}

.faq__list {
  max-width: 700px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid #eee;
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq__q svg {
  flex-shrink: 0;
  color: #999;
  transition: transform 0.25s;
}

.faq__item.is-open .faq__q svg {
  transform: rotate(180deg);
  color: #34D399;
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__item.is-open .faq__a {
  max-height: 200px;
}

.faq__a p {
  padding: 0 0 20px;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* ===== 13. Final CTA ===== */
.final-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #34D399 0%, #0d9668 100%);
  text-align: center;
}

.final-cta__inner {
  max-width: 600px;
}

.final-cta__title {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.final-cta__text {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.5;
}

.final-cta .btn--primary {
  background: #fff;
  color: #0d9668;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.final-cta .btn--primary:hover {
  background: #f0fdf4;
  transform: translateY(-2px);
}

.btn--lg {
  padding: 20px 56px;
  font-size: 18px;
  border-radius: 16px;
}

.final-cta__stores {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.final-cta__perks {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}

.final-cta__perks span {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

/* ===== 14. Footer ===== */
.footer {
  padding: 48px 0;
  background: #1a1a2e;
  color: #999;
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer .logo__text {
  color: #fff;
}

.footer__brand .logo {
  margin-bottom: 12px;
}

.footer__copy {
  font-size: 13px;
  color: #666;
  margin-top: 16px;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 14px;
  color: #999;
  transition: color 0.2s;
}

.footer__links a:hover { color: #34D399; }

.footer__subscribe p {
  font-size: 14px;
  margin-bottom: 10px;
  color: #999;
}

.footer__form {
  display: flex;
  gap: 8px;
}

.footer__input {
  padding: 10px 16px;
  border: 1px solid #333;
  border-radius: 10px;
  background: #252540;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  width: 200px;
}

.footer__input::placeholder { color: #666; }
.footer__input:focus { border-color: #34D399; }

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

/* ===== Sticky CTA (mobile only) ===== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* ===== Burger & Mobile Menu ===== */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: all 0.3s;
}

.burger.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-menu.is-open {
  display: flex;
}

.burger {
  z-index: 1000;
}

.mobile-menu__link {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a2e;
  transition: color 0.2s;
}

.mobile-menu__link:hover {
  color: #34D399;
}

@media (max-width: 768px) {
  .burger { display: flex; }
}

/* ===== Promo Modal ===== */
.promo-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.promo-modal.is-open {
  display: flex;
}

.promo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}

.promo-modal__card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 40px 36px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: fade-up 0.3s ease;
}

.promo-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  line-height: 1;
}

.promo-modal__close:hover { color: #333; }

.promo-modal__title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
}

.promo-modal__code {
  display: inline-block;
  padding: 14px 32px;
  background: #f0fdf4;
  border: 2px dashed #34D399;
  border-radius: 14px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #059669;
  margin-bottom: 12px;
  user-select: all;
}

.promo-modal__copy {
  display: block;
  margin: 0 auto 28px;
  background: none;
  border: none;
  color: #34D399;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.promo-modal__copy:hover { text-decoration: underline; }

.promo-modal__steps {
  text-align: left;
}

.promo-modal__step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.promo-modal__step p {
  font-size: 15px;
  color: #444;
  line-height: 1.4;
  margin: 0;
}

.promo-modal__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: #34D399;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.promo-modal__stores {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 0 0 20px 0;
}

.promo-modal__stores img {
  height: 44px;
  border-radius: 8px;
}

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

@media (max-width: 1024px) {
  .container { padding: 0 24px; }

  .nav { gap: 20px; }
  .nav__link { font-size: 14px; }

  .hero__inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero__content { max-width: 100%; }

  .hero__title { font-size: 38px; }

  .hero__pills--desktop { display: none; }
  .hero__pills--mobile {
    display: block;
    width: 100vw;
    margin-left: -16px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  }

  .hero__pills-track {
    display: flex;
    gap: 10px;
    white-space: nowrap;
    animation: pills-scroll 12s linear infinite;
    width: max-content;
  }

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

  .hero__showcase {
    flex: none;
    width: 100%;
    max-width: 380px;
  }

  .phone__frame--hero { width: 230px; height: 460px; }
  .phone__shell { width: 241px; height: 469px; left: -5px; top: -2px; }

  .section__title { font-size: 32px; }

  .compare__row {
    flex-direction: column;
  }
  .compare__arrow {
    justify-content: center;
    padding: 8px 0;
    transform: rotate(90deg);
    background: transparent;
  }

  .method__layout { gap: 48px; }
  .method__diagram { width: 360px; height: 360px; }
  .method__ring { inset: 25px; }
  .method__hub { width: 110px; height: 110px; font-size: 11px; }
  .method__node { width: 78px; height: 78px; margin: -39px 0 0 -39px; font-size: 10px; }
  .method__node svg { width: 18px; height: 18px; }
  .method__node--1 { top:  25px; left: 180px; }
  .method__node--2 { top: 125px; left: 325px; }
  .method__node--3 { top: 303px; left: 270px; }
  .method__node--4 { top: 303px; left:  90px; }
  .method__node--5 { top: 125px; left:  35px; }
  .method__details { flex: 0 1 340px; }

  .steps__grid { flex-wrap: wrap; gap: 20px; justify-content: center; }
  .steps__connector { display: none; }
  .steps__card { flex: 0 1 calc(50% - 20px); max-width: 260px; }

  .library__panel.is-active { gap: 40px; }
  .library__panel-content h3 { font-size: 24px; }
  .phone__frame--md { width: 230px; height: auto; }

  .final-cta__title { font-size: 30px; }
  .footer__inner { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }

  .nav { display: none; }

  .header__inner { padding-top: 12px; padding-bottom: 12px; }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero__inner {
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 40px;
    align-items: center;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero__title {
    font-size: 30px;
    margin-bottom: 0;
  }

  .hero__content .hero__subtitle,
  .hero__content .hero__trust {
    display: none;
  }

  .hero__speech {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    padding: 0 8px;
  }

  .hero__speech-mascot {
    width: 80px;
    height: auto;
    flex-shrink: 0;
    margin-right: -6px;
    z-index: 1;
  }

  .hero__speech-bubble {
    position: relative;
    background: #f0fdf4;
    border: 1px solid rgba(52,211,153,0.2);
    border-radius: 18px;
    padding: 14px 18px;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    flex: 1;
  }

  .hero__speech-bubble::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #f0fdf4;
  }

  .hero__speech-trust {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #888;
  }

  .hero__cta {
    display: none;
  }

  .hero__showcase {
    max-width: 300px;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .hero__mascot {
    display: none;
  }

  .reader__popup {
    gap: 2px;
    padding: 6px 6px 8px;
  }



  .header__right--desktop { display: none; }
  .header__right--mobile { display: flex; }

  .store-btn {
    height: 36px;
  }

  .store-btn img {
    height: 36px;
  }

  .phone__frame--hero { width: 280px; height: 560px; border-radius: 32px; }
  .phone__shell { width: 293px; height: 571px; left: -6px; top: -3px; }

  .trust__inner { gap: 12px; }
  .trust__card { flex: 0 1 calc(50% - 6px); padding: 16px 12px; }
  .trust { display: none; }

  .compare { padding: 40px 0; }
  .section__title { font-size: 26px; }
  .section__subtitle { font-size: 16px; margin-bottom: 36px; }

  .compare__old,
  .compare__new {
    padding: 18px 20px;
  }

  /* Method: switch to mobile cards */
  .method { padding: 40px 0; }
  .method__layout { display: none; }
  .method__mobile { display: block; }

  /* Steps: vertical */
  .steps { padding: 40px 0; }
  .steps__grid { flex-direction: column; align-items: center; gap: 40px; }
  .steps__card { max-width: 300px; width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; padding: 0; }
  .steps__num { margin-bottom: 12px; }
  .steps__phone { display: block; margin-bottom: 16px; }
  .phone__frame--sm { width: 280px; height: auto; }
  .steps__connector { display: none; }

  /* Library: tabs + panels */
  .library { padding: 40px 0; }
  .library__tabs {
    display: flex;
    gap: 8px;
    font-size: 13px;
  }
  .library__tab { padding: 8px 14px; font-size: 13px; }

  .library__panels {
    display: block;
  }

  .library__panel {
    display: none !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    animation: none !important;
  }

  .library__panel.is-active {
    display: flex !important;
  }

  .library__panel-content { order: 2; }
  .library__panel-content h3 { font-size: 20px; }
  .library__phone { order: 1; }
  .library__arrow { display: none; }
  .phone__frame--md { width: 280px; height: auto; margin: 0 auto; }
  .library__badges { justify-content: center; }

  /* Demo: smaller */
  .demo { padding: 40px 0; }
  .demo__slider { padding: 0 16px 16px; margin: 0 -16px; gap: 16px; }
  .phone__frame--demo { width: 170px; height: 340px; border-radius: 22px; border-width: 4px; }
  .demo__caption { font-size: 13px; }

  /* Audience */
  .audience { padding: 40px 0; }
  .audience__grid { gap: 10px; }
  .audience__card { padding: 14px 18px; }
  .audience__card span { font-size: 14px; }

  /* Pains */
  .pains { padding: 40px 0; }
  .pains__chips { gap: 8px; }
  .pains__chip { padding: 8px 16px; font-size: 14px; }
  .pains__answer { padding: 24px 20px; }

  /* Languages */
  .languages { padding: 40px 0; }

  /* Reviews */
  .reviews { padding: 40px 0; }
  .reviews__grid { padding: 0 16px 16px; margin: 0 -16px; gap: 12px; }
  .reviews__card { flex: 0 0 280px; padding: 24px 20px; }

  /* FAQ */
  .faq { padding: 40px 0; }
  .faq__q { font-size: 15px; }

  /* Final CTA */
  .final-cta { padding: 40px 0; }
  .final-cta__title { font-size: 26px; }
  .final-cta__text { font-size: 16px; }
  .btn--lg { padding: 18px 40px; font-size: 16px; }
  .final-cta__perks { flex-wrap: wrap; gap: 12px; justify-content: center; }

  /* Footer */
  .footer__inner { flex-direction: column; gap: 28px; align-items: flex-start; }
  .footer__links { flex-wrap: wrap; gap: 16px; }
  .footer__input { width: 160px; }

  /* Show sticky CTA on mobile */
  .sticky-cta { display: none; }
  .sticky-cta.is-visible { display: block; }
  body { padding-bottom: 0; }
}

@media (max-width: 400px) {
  .hero__title { font-size: 26px; }

  .hero__showcase { max-width: 260px; }
  .phone__frame--hero { width: 260px; height: 520px; border-radius: 30px; }
  .phone__shell { width: 272px; height: 530px; left: -5px; top: -2px; }
  .store-btn { width: 36px; height: 36px; border-radius: 10px; }
  .store-link { height: 36px; }
}
