:root {
  --bg: #fbf3eb;
  --bg-soft: #fff9f5;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #1a1a2e;
  --text-soft: #5c5b74;
  --text-muted: #77758d;
  --primary: #3d2b6b;
  --primary-soft: #efe7ff;
  --accent: #f49360;
  --accent-strong: #ea7a34;
  --line: rgba(61, 43, 107, 0.12);
  --line-strong: rgba(61, 43, 107, 0.22);
  --success: #2d8f5b;
  --shadow-lg: 0 30px 80px rgba(37, 26, 66, 0.16);
  --shadow-md: 0 18px 42px rgba(39, 28, 71, 0.12);
  --shadow-sm: 0 12px 24px rgba(39, 28, 71, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --font-base: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-ar: "Noto Naskh Arabic", "Geeza Pro", "Tahoma", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-base);
  background:
    radial-gradient(circle at top left, rgba(244, 147, 96, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(61, 43, 107, 0.16), transparent 25%),
    linear-gradient(180deg, #fffaf6 0%, var(--bg) 42%, #fff 100%);
  min-height: 100vh;
}

body[dir="rtl"] {
  font-family: var(--font-ar);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.skip-link:focus {
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  overflow: visible;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading h2,
.hero h1,
.final-cta-box h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  max-width: 13ch;
}

.section-heading h2,
.final-cta-box h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  max-width: 16ch;
}

.section-heading p,
.hero-lead,
.hero-support,
.microcopy,
.problem-copy p,
.beta-grid p,
.teacher-grid p,
.site-footer p,
.story-panel p,
.quote-text {
  line-height: 1.65;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 14px 0;
  backdrop-filter: blur(18px);
  background: rgba(251, 243, 235, 0.78);
  border-bottom: 1px solid rgba(61, 43, 107, 0.08);
}

.topbar,
.header-controls,
.brand,
.brand-copy,
.hero-actions,
.section-cta,
.footer-links,
.final-actions {
  display: flex;
  align-items: center;
}

.topbar {
  justify-content: space-between;
  gap: 20px;
}

.brand {
  text-decoration: none;
  gap: 12px;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.brand-copy {
  gap: 2px;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.brand-title,
.footer-brand {
  font-family: "Arial Rounded MT Bold", "Avenir Next Condensed", "Avenir Next", "Trebuchet MS", sans-serif;
  font-weight: 900;
  font-size: 1.08rem;
  letter-spacing: -0.045em;
  line-height: 0.96;
  color: var(--primary);
  text-shadow: 0 1px 0 rgba(34, 24, 63, 0.08);
}

.brand-title,
.brand-subtitle {
  display: block;
  max-width: 100%;
}

.brand-subtitle,
.site-footer p,
.microcopy,
.fact-note,
.quote-caption {
  color: var(--text-soft);
}

.header-controls {
  gap: 12px;
}

.lang-switcher {
  position: relative;
  min-width: 0;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.lang-switcher[open] {
  border-color: var(--line-strong);
}

.lang-switcher summary {
  list-style: none;
}

.lang-switcher summary::-webkit-details-marker {
  display: none;
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px;
  cursor: pointer;
}

.language-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(61, 43, 107, 0.06);
}

.language-trigger-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.92px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-trigger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.language-menu {
  padding: 0 12px 12px;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: rgba(61, 43, 107, 0.04);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: 180ms ease;
}

.lang-btn-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lang-btn-code {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.lang-btn-name {
  font-weight: 700;
}

.lang-btn-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(45, 143, 91, 0.12);
  color: var(--success);
  font-size: 0.74rem;
  font-weight: 800;
}

.lang-btn:hover,
.lang-btn:focus-visible,
.lang-btn.is-active {
  border-color: rgba(61, 43, 107, 0.16);
  background: rgba(61, 43, 107, 0.1);
  outline: none;
}

.lang-btn.is-active .lang-btn-code,
.lang-btn.is-active .lang-btn-name {
  color: var(--primary);
}

.lang-btn.is-active {
  box-shadow: inset 0 0 0 1px rgba(61, 43, 107, 0.08);
}

.lang-btn.is-soon {
  opacity: 0.72;
}

.lang-btn.is-soon .lang-btn-status {
  background: rgba(244, 147, 96, 0.16);
  color: #a94e14;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: var(--accent);
  color: var(--text);
  box-shadow: 0 16px 28px rgba(244, 147, 96, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-strong);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary);
  border-color: rgba(61, 43, 107, 0.14);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(61, 43, 107, 0.3);
  background: rgba(255, 255, 255, 0.92);
}

.button-header {
  min-height: 46px;
  padding-inline: 18px;
}

.button-full {
  width: 100%;
}

.hero-grid,
.problem-grid,
.trust-grid,
.beta-grid,
.teacher-grid,
.preview-layout,
.footer-grid {
  display: grid;
  gap: 28px;
}

.hero-grid,
.beta-grid,
.teacher-grid {
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 40px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ab-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(61, 43, 107, 0.07);
  border: 1px solid rgba(61, 43, 107, 0.08);
}

.ab-pill {
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.ab-copy {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.hero-lead {
  max-width: 58ch;
  margin: 22px 0 0;
  font-size: 1.1rem;
  color: var(--text-soft);
}

.hero-support {
  margin: 14px 0 0;
  font-size: 1rem;
}

.hero-actions {
  gap: 14px;
  margin: 30px 0 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-stats li,
.metric-card,
.audience-card,
.feature-card,
.exam-card,
.step-card,
.fact-list li,
.beta-card,
.teacher-card,
.faq-list details,
.quote-panel,
.story-panel,
.fact-panel,
.preview-tab,
.final-cta-box,
.floating-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.hero-stats li {
  min-height: 110px;
  border-radius: var(--radius-md);
  padding: 18px;
  backdrop-filter: blur(12px);
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.stat-value {
  display: block;
  margin-top: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
}

.hero-visual-wrap {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-device {
  width: min(100%, 640px);
  margin: 0;
  padding: 18px;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.86)),
    linear-gradient(135deg, rgba(61, 43, 107, 0.14), rgba(244, 147, 96, 0.18));
  box-shadow: var(--shadow-lg);
}

.hero-device-screen {
  overflow: hidden;
  border-radius: 24px;
}

.hero-device img,
.preview-frame img {
  border-radius: 24px;
  border: 1px solid rgba(61, 43, 107, 0.08);
}

.hero-device img,
.preview-frame img,
.preview-tab img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.floating-card {
  position: absolute;
  max-width: 240px;
  padding: 16px 18px;
  border-radius: 18px;
  backdrop-filter: blur(14px);
}

.floating-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.floating-card span {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.floating-card-top {
  left: 0;
  top: 48px;
}

.floating-card-bottom {
  right: 0;
  bottom: 24px;
}

.cards-grid,
.metrics-grid,
.exam-grid {
  display: grid;
  gap: 18px;
}

.cards-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metrics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
}

.metric-card,
.audience-card,
.feature-card,
.exam-card,
.step-card,
.beta-card,
.teacher-card,
.story-panel,
.quote-panel,
.fact-panel,
.preview-tab,
.final-cta-box {
  border-radius: var(--radius-lg);
}

.metric-card,
.audience-card,
.feature-card,
.exam-card,
.step-card,
.story-panel,
.quote-panel,
.fact-panel,
.preview-tab,
.beta-card,
.teacher-card {
  padding: 24px;
}

.metric-card .metric-kicker,
.feature-icon,
.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 14px;
  font-weight: 800;
  background: var(--primary-soft);
  color: var(--primary);
}

.metric-card strong {
  display: block;
  margin: 18px 0 8px;
  font-size: 1.3rem;
}

.metric-card p,
.audience-card p,
.feature-card p,
.exam-card p,
.step-card p,
.preview-tab p,
.beta-list li,
.teacher-list li,
.story-list li {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.audience-card h3,
.feature-card h3,
.exam-card h3,
.step-card h3,
.preview-tab strong {
  margin: 18px 0 10px;
  font-size: 1.18rem;
}

.section-cta {
  justify-content: center;
  margin-top: 26px;
}

.problem-grid,
.trust-grid,
.beta-grid,
.teacher-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fact-list,
.beta-list,
.teacher-list,
.story-list {
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.beta-card .button {
  margin-top: 22px;
}

.fact-list li {
  padding: 18px 20px;
  border-radius: 18px;
}

.fact-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.fact-list a {
  color: var(--primary);
  font-weight: 700;
}

.fact-note {
  margin-top: 18px;
}

.feature-card {
  min-height: 100%;
}

.exam-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.exam-card {
  position: relative;
  overflow: hidden;
}

.exam-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 147, 96, 0.14), transparent 72%);
}

.exam-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(45, 143, 91, 0.12);
  color: var(--success);
}

.exam-badge.is-soon {
  background: rgba(244, 147, 96, 0.16);
  color: #a94e14;
}

.exam-summary {
  margin-top: 20px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(61, 43, 107, 0.07), rgba(244, 147, 96, 0.12));
}

.step-index {
  min-width: 54px;
  min-height: 54px;
  font-size: 1.1rem;
}

.quote-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(244, 147, 96, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(61, 43, 107, 0.98), #271a4b);
  color: #fff;
}

.quote-panel .quote-caption,
.quote-panel .quote-text {
  color: rgba(255, 255, 255, 0.86);
}

.quote-mark {
  margin: 0 0 8px;
  font-size: 4rem;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.35);
}

.quote-text {
  margin: 0 0 18px;
  font-size: 1.3rem;
}

.preview-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: start;
}

.preview-stage {
  position: sticky;
  top: 92px;
}

.preview-frame {
  margin: 0;
  padding: 16px;
  border-radius: 34px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
}

.preview-sidebar {
  display: grid;
  gap: 14px;
}

.preview-tab {
  width: 100%;
  text-align: start;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.preview-tab.is-active,
.preview-tab:hover,
.preview-tab:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  outline: none;
}

.preview-tab img {
  width: 100%;
  border-radius: 18px;
  margin-top: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  overflow: hidden;
}

.faq-list summary {
  padding: 22px 24px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.faq-list details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--text-soft);
  line-height: 1.6;
}

.final-cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 36px;
  background:
    radial-gradient(circle at top right, rgba(244, 147, 96, 0.18), transparent 24%),
    linear-gradient(145deg, rgba(61, 43, 107, 0.06), rgba(255, 255, 255, 0.94));
}

.final-actions {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.final-actions .microcopy {
  margin: 0;
  max-width: 28ch;
  font-size: 0.94rem;
}

.site-footer {
  padding: 0 0 110px;
}

.footer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  padding: 30px 0 0;
  border-top: 1px solid rgba(61, 43, 107, 0.1);
}

.footer-links {
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--primary);
  font-weight: 700;
}

.mobile-sticky-cta {
  position: fixed;
  inset-inline: 16px;
  bottom: 16px;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 999px;
  text-decoration: none;
  background: var(--accent);
  color: var(--text);
  font-weight: 800;
  box-shadow: 0 20px 36px rgba(244, 147, 96, 0.34);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.mobile-sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

[dir="rtl"] .brand-copy,
[dir="rtl"] .hero-copy,
[dir="rtl"] .section-heading,
[dir="rtl"] .problem-copy,
[dir="rtl"] .story-panel,
[dir="rtl"] .beta-grid,
[dir="rtl"] .teacher-grid,
[dir="rtl"] .preview-tab,
[dir="rtl"] .faq-list summary,
[dir="rtl"] .faq-list details p,
[dir="rtl"] .final-cta-box {
  text-align: right;
}

[dir="rtl"] .eyebrow::before {
  order: 2;
}

[dir="rtl"] .topbar,
[dir="rtl"] .header-controls,
[dir="rtl"] .hero-actions,
[dir="rtl"] .section-cta,
[dir="rtl"] .footer-links {
  flex-direction: row-reverse;
}

[dir="rtl"] .final-actions {
  align-items: flex-end;
}

[dir="rtl"] .brand {
  flex-direction: row-reverse;
}

[dir="rtl"] .brand-copy {
  align-items: flex-end;
  text-align: right;
}

[dir="rtl"] .language-trigger {
  justify-content: center;
}

[dir="rtl"] .lang-btn {
  text-align: right;
}

[dir="rtl"] .lang-btn-main {
  align-items: flex-end;
}

[dir="rtl"] .floating-card-top {
  left: auto;
  right: 0;
}

[dir="rtl"] .floating-card-bottom {
  right: auto;
  left: 0;
}

@media (max-width: 1100px) {
  .hero-grid,
  .problem-grid,
  .trust-grid,
  .beta-grid,
  .teacher-grid,
  .preview-layout,
  .final-cta-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .exam-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-stage {
    position: static;
  }

  .hero-visual-wrap {
    min-height: auto;
    padding-top: 36px;
  }

  .floating-card {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .hero-device {
    transform: none;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 64px 0;
  }

  .cards-grid-3,
  .metrics-grid,
  .exam-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: center;
  }

  .header-controls {
    width: auto;
    flex: 0 0 auto;
  }

  .lang-switcher {
    min-width: 0;
    width: auto;
  }

  .button-header {
    display: none;
  }

  .language-trigger {
    padding: 8px;
  }

  .language-trigger-icon {
    width: 38px;
    height: 38px;
  }

  .language-menu {
    position: fixed;
    top: 76px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: 360px;
    max-height: min(70vh, 520px);
    padding: 12px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
    overflow: auto;
  }

  .lang-switcher[open] .language-menu {
    inset-inline-start: 12px;
    inset-inline-end: 12px;
  }

  [dir="rtl"] .lang-switcher[open] .language-menu {
    left: 12px;
    right: 12px;
  }

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

  .preview-tab {
    padding: 18px;
  }
}

@media (max-width: 640px) {
  body {
    background:
      radial-gradient(circle at top left, rgba(244, 147, 96, 0.14), transparent 34%),
      linear-gradient(180deg, #fffaf6 0%, var(--bg) 58%, #fff 100%);
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-header {
    position: static;
  }

  .topbar {
    gap: 12px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-title,
  .brand-subtitle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
  }

  [dir="rtl"] .brand {
    justify-content: flex-start;
  }

  [dir="rtl"] .brand-copy {
    max-width: calc(100vw - 132px);
  }

  .hero-grid {
    gap: 22px;
  }

  .hero-visual-wrap {
    padding-top: 8px;
  }

  .floating-card {
    display: none;
  }

  .hero-actions,
  .final-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .final-actions .button {
    width: 100%;
  }

  .metric-card,
  .audience-card,
  .feature-card,
  .exam-card,
  .step-card,
  .story-panel,
  .quote-panel,
  .fact-panel,
  .preview-tab,
  .beta-card,
  .teacher-card,
  .final-cta-box {
    padding: 20px;
    border-radius: 22px;
  }

  .preview-frame,
  .hero-device {
    padding: 12px;
    border-radius: 24px;
  }

  .hero-device {
    width: 100%;
    padding: 10px;
    border-radius: 26px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92)),
      linear-gradient(135deg, rgba(61, 43, 107, 0.14), rgba(244, 147, 96, 0.18));
  }

  .hero-device-screen {
    aspect-ratio: 0.78;
    border-radius: 18px;
    background: #fff;
  }

  .hero-device img {
    width: 192%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: 22% top;
    border-radius: 18px;
    border: 0;
  }

  .mobile-sticky-cta {
    display: flex;
  }

  .site-footer {
    padding-bottom: 94px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
