section { position: relative; padding: 104px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

.hero      { background: linear-gradient(180deg, #F7F3EB 0%, #F9EBDE 100%); }
.audience  { background: linear-gradient(180deg, #F9EBDE 0%, #F7F3EB 100%); }
#how       { background: linear-gradient(180deg, #F7F3EB 0%, #F9EBDE 100%); }
section.faq { background: linear-gradient(180deg, #F9EBDE 0%, #F7F3EB 100%); }

.section-head { margin-bottom: 52px; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin: 0; max-width: 46ch; font-size: 19px; line-height: 1.55; }

@media (min-width: 940px) {
  .section-head,
  .problem-head {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    column-gap: 64px;
    align-items: end;
  }
  .section-head .eyebrow,
  .problem-head .eyebrow { grid-column: 1; grid-row: 1; }
  .section-head h2,
  .problem-head h2 { grid-column: 1; grid-row: 2; }
  .section-head p,
  .problem-head p { grid-column: 2; grid-row: 2; margin-bottom: 8px; }
  .faq .section-head { display: block; }
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 40px 0 96px;
}
@media (max-width: 720px) { .hero { padding: 36px 0 64px; } }

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline-end: -8%;
  top: 2%;
  width: min(820px, 64%);
  aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%,
      rgba(159, 194, 222, 0.40) 0%,
      rgba(159, 194, 222, 0) 66%);
}
@media (max-width: 960px) {
  .hero::before { inset-inline-end: -30%; top: auto; bottom: 0; width: 130%; }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 64px;
  align-items: start;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
}

.hero h1 { margin: 14px 0 20px; font-size: clamp(36px, 4.2vw, 60px); }

.hero h1 .highlight { position: relative; display: inline-block; }
.hero h1 .highlight::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline: -0.05em;
  bottom: 0.10em;
  height: 0.26em;
  border-radius: var(--radius-btn);
  background: var(--hero);
  transform: rotate(-1.1deg);
}

[dir="rtl"] .hero h1 .highlight::after { bottom: -0.02em; height: 0.20em; transform: rotate(1.1deg); }

.hero-sub {
  max-width: 44ch;
  margin-bottom: 24px;
  color: var(--text-secondary);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 13px;
}
.hero-meta b { color: var(--text-primary); font-weight: 700; }
.hero-meta .pip { display: none; }

.app-mockup { display: flex; justify-content: center; }

.app-frame {
  position: relative;
  width: 344px;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 36px;
  background: var(--grad-voice);
  box-shadow: var(--shadow-floating), 0 0 0 6px #2A2A2A, 0 0 0 8px rgba(31, 26, 20, 0.08);
}
@media (max-width: 960px) { .app-frame { width: 300px; min-height: 520px; } }

.app-topbar {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 10px 8px;
}

.app-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 13px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
  color: var(--text-secondary);
}
.app-status-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  color: var(--accent-primary);
}
.app-status-icon > * { grid-area: 1 / 1; }
.app-status-caption {
  display: grid;
  min-width: 62px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.app-status-caption > span { grid-area: 1 / 1; }
.app-status-sep { color: var(--text-muted); font-size: 12px; }
.app-status-timer {
  color: var(--text-primary);
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.speak-line { display: flex; align-items: center; gap: 2.5px; height: 15px; }
.speak-line span {
  width: 2.5px;
  height: 11px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transform: scaleY(var(--rest, 0.5));
}
.speak-line span:nth-child(1) { --rest: 0.42; }
.speak-line span:nth-child(2) { --rest: 0.85; }
.speak-line span:nth-child(3) { --rest: 0.55; }
.speak-line span:nth-child(4) { --rest: 0.70; }

.app-top-actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.app-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 11px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
  color: var(--text-primary);
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.app-chip-end { color: var(--accent-danger); }
.app-chip svg { width: 16px; height: 16px; }

.app-lesson {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 62px 14px 100px;
  min-height: 0;
}
.app-task {
  margin: 0;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}
.app-card {
  padding: 6px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}
.app-card img { width: 100%; height: auto; border-radius: 13px; }

.app-dock {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 16px 15px;
  background: var(--call-dock-bg);
  border-top: 1px solid var(--call-dock-line);
  border-start-start-radius: var(--radius-sheet);
  border-start-end-radius: var(--radius-sheet);
  box-shadow: 0 -10px 28px rgba(20, 26, 34, 0.13);
}
.app-dock-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}
.app-mic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-surface);
  box-shadow: var(--shadow-floating);
  color: var(--text-primary);
}
.app-mic svg { width: 20px; height: 20px; }
.app-sat {
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
}
.app-sat svg { width: 18px; height: 18px; }

.app-state { opacity: 0; }
.app-state-speaking { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .app-state { animation: 14s linear infinite; }
  .app-state-speaking  { animation-name: app-state-speaking; }
  .app-state-listening { animation-name: app-state-listening; }
  .app-state-thinking  { animation-name: app-state-thinking; }
  @keyframes app-state-speaking {
    0%, 24%   { opacity: 1; }
    26%, 50%  { opacity: 0; }
    52%, 73%  { opacity: 1; }
    75%, 98%  { opacity: 0; }
    100%      { opacity: 1; }
  }
  @keyframes app-state-listening {
    0%, 25%   { opacity: 0; }
    27%, 45%  { opacity: 1; }
    47%, 73%  { opacity: 0; }
    75%, 93%  { opacity: 1; }
    95%, 100% { opacity: 0; }
  }
  @keyframes app-state-thinking {
    0%, 45%   { opacity: 0; }
    47%, 50%  { opacity: 1; }
    52%, 93%  { opacity: 0; }
    95%, 98%  { opacity: 1; }
    100%      { opacity: 0; }
  }
  .speak-line span { animation: app-speak 1.05s ease-in-out infinite; }
  .speak-line span:nth-child(2) { animation-delay: 0.09s; }
  .speak-line span:nth-child(3) { animation-delay: 0.18s; }
  .speak-line span:nth-child(4) { animation-delay: 0.27s; }
  @keyframes app-speak {
    0%, 100% { transform: scaleY(0.3); }
    35%      { transform: scaleY(1); }
    70%      { transform: scaleY(0.55); }
  }
}

.app-stage { position: relative; --bubble-overhang: 64px; --bubble-width: 236px; }
.app-dialogue {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 150px 0 100px;
  pointer-events: none;
}
.app-bubble {
  position: relative;
  width: var(--bubble-width);
  margin: 0;
  padding: 10px 14px;
  border-radius: 18px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-floating);
  color: var(--text-primary);
  font-size: 13.5px;
  line-height: 1.4;
}
.app-bubble b { font-weight: 700; }
.app-bubble-dara {
  align-self: flex-start;
  margin-inline-start: calc(-1 * var(--bubble-overhang));
  border-end-start-radius: 5px;
}
.app-bubble-learner {
  align-self: flex-end;
  margin-inline-end: calc(-1 * var(--bubble-overhang));
  border-end-end-radius: 5px;
  background: var(--hero);
}

@media (max-width: 1227px) { .app-stage { --bubble-overhang: 36px; --bubble-width: 216px; } }
@media (max-width: 960px) {
  .app-stage { --bubble-overhang: 48px; --bubble-width: 220px; }
  .app-dialogue { gap: 16px; padding: 112px 0 84px; }
}
@media (max-width: 720px) {
  .app-stage { --bubble-overhang: 22px; --bubble-width: 190px; }
  .app-bubble { font-size: 13px; padding: 9px 12px; }
}

@media (prefers-reduced-motion: no-preference) {
  .app-bubble {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
    animation: 14s cubic-bezier(0.22, 0.9, 0.32, 1) infinite;
  }
  .app-bubble:nth-child(1) { animation-name: app-bubble-1; }
  .app-bubble:nth-child(2) { animation-name: app-bubble-2; }
  .app-bubble:nth-child(3) { animation-name: app-bubble-3; }
  .app-bubble:nth-child(4) { animation-name: app-bubble-4; }
  @keyframes app-bubble-1 {
    0%, 2.8%     { opacity: 0; transform: translateY(10px) scale(0.96); }
    5.7%, 94.3%  { opacity: 1; transform: none; }
    97.1%, 100%  { opacity: 0; transform: translateY(-6px); }
  }
  @keyframes app-bubble-2 {
    0%, 25.7%    { opacity: 0; transform: translateY(10px) scale(0.96); }
    28.6%, 94.3% { opacity: 1; transform: none; }
    97.1%, 100%  { opacity: 0; transform: translateY(-6px); }
  }
  @keyframes app-bubble-3 {
    0%, 51.4%    { opacity: 0; transform: translateY(10px) scale(0.96); }
    54.3%, 94.3% { opacity: 1; transform: none; }
    97.1%, 100%  { opacity: 0; transform: translateY(-6px); }
  }
  @keyframes app-bubble-4 {
    0%, 74.3%    { opacity: 0; transform: translateY(10px) scale(0.96); }
    77.1%, 94.3% { opacity: 1; transform: none; }
    97.1%, 100%  { opacity: 0; transform: translateY(-6px); }
  }
}

.audience { padding: 40px 0; }
.audience-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.audience-inner span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
}
.audience-inner svg { width: 15px; height: 15px; color: var(--text-muted); flex-shrink: 0; }

.definition { padding: 56px 0 8px; }
.definition-inner {
  max-width: 1040px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
}
@media (min-width: 900px) {
  .definition-inner { columns: 2; column-gap: 64px; }
}
.definition-inner strong { color: var(--text-primary); font-weight: 700; }
.definition-inner a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 3px; }

.problem { padding: 96px 0; }
@media (max-width: 720px) { .problem { padding: 64px 0; } }
.problem-head { margin-bottom: 52px; }
.problem-head h2 { margin-top: 14px; }
.problem-head p { margin: 16px 0 0; max-width: 46ch; font-size: 19px; line-height: 1.55; }
@media (min-width: 940px) { .problem-head p { margin-top: 0; } }

.problem-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 720px) { .problem-grid { grid-template-columns: minmax(0, 1fr); } }
.problem-cell {
  min-width: 0;
  padding: 34px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}
.problem-cell h3 {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.problem-cell ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.problem-cell li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--text-secondary);
  font-size: 15.5px;
}
.problem-cell.old li::before {
  content: "\2013";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: var(--text-muted);
}
.problem-cell.new {
  position: relative;
  background:
      radial-gradient(120% 80% at 82% 0%, rgba(255, 255, 255, 0.12), transparent 62%),
      var(--accent-primary);
  box-shadow: var(--shadow-md);
  color: var(--on-accent);
}
.problem-cell.new h3 { color: rgba(255, 255, 255, 0.55); }
.problem-cell.new li { color: rgba(255, 255, 255, 0.78); }
.problem-cell.new li::before {
  content: "\2192";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: var(--hero);
}
.problem-cell.new b { color: #FFFFFF; font-weight: 700; }
.problem-cell.new .tag {
  position: absolute;
  top: 26px;
  inset-inline-end: 26px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
[dir="rtl"] .problem-cell.new li::before { content: "\2190"; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step {
  min-width: 0;
  padding: 34px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step .num {
  display: block;
  margin-bottom: 12px;
  color: var(--badge-green);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 58px;
  line-height: 1;
}
.step h3 { margin-bottom: 10px; }
.step p { margin: 0; color: var(--text-secondary); font-size: 15.5px; line-height: 1.6; }

@media (min-width: 940px) {
  .faq .container {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    column-gap: 72px;
    align-items: start;
  }
  .faq .section-head { position: sticky; top: 104px; margin-bottom: 0; }
  .faq .section-head h2 { font-size: clamp(28px, 2.9vw, 40px); }
  .faq .faq-list { max-width: none; }
}

@media (max-width: 720px) {
  .problem-cell.new b { white-space: normal; }
  .problem-cell { padding: 24px; }
  .app-frame { width: min(320px, 100%); }
}
