@font-face {
  font-family: "Vazirmatn";
  src: url("/assets/apps/tools/vocamingo/fonts/Vazirmatn.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #0d2948;
  --navy-deep: #092442;
  --navy-light: #15546a;
  --ink: #102b48;
  --body: #4f6479;
  --muted: #6b7d8e;
  --surface: #ffffff;
  --soft: #f2f8fb;
  --line: #d9e7ee;
  --cyan: #4fc8ed;
  --blue: #2563d9;
  --mint: #51cfa8;
  --gold: #ffc34e;
  --violet: #a881d6;
  --coral: #ff7667;
  --shadow: 0 24px 68px rgba(13, 41, 72, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.65;
}

html[dir="rtl"] body {
  font-family: "Vazirmatn", "Noto Sans Arabic", "SF Arabic", Tahoma, Arial, sans-serif;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
  letter-spacing: 0;
  text-wrap: balance;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2 {
  font-weight: 800;
}

html[dir="rtl"] h3,
html[dir="rtl"] strong,
html[dir="rtl"] b {
  font-weight: 700;
}

html[dir="rtl"] [lang="en"],
html[dir="rtl"] [dir="ltr"] {
  unicode-bidi: isolate;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(217, 231, 238, 0.88);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.nav-actions,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 10px;
  font-weight: 950;
}

.brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 11px;
  box-shadow: 0 9px 24px rgba(13, 41, 72, 0.18);
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-actions {
  gap: 16px;
}

.nav-links {
  gap: 19px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
}

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

.language-switch {
  min-width: 58px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
  text-align: center;
  box-shadow: 0 8px 20px rgba(13, 41, 72, 0.07);
}

.language-switch:hover {
  border-color: var(--cyan);
  color: #0f7898;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 76px 0 70px;
  color: #ffffff;
  background:
    radial-gradient(circle at 92% 8%, rgba(79, 200, 237, 0.29), transparent 30rem),
    radial-gradient(circle at 3% 94%, rgba(81, 207, 168, 0.2), transparent 25rem),
    linear-gradient(135deg, var(--navy-deep), #0d3456 56%, var(--navy-light));
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.hero::before {
  width: 410px;
  height: 410px;
  inset-block-start: -260px;
  inset-inline-end: -90px;
}

.hero::after {
  width: 270px;
  height: 270px;
  inset-block-end: -190px;
  inset-inline-start: -80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 64px;
}

.hero-grid > *,
.card-grid > *,
.role-grid > *,
.feature-grid > *,
.comparison-grid > *,
.stat-grid > *,
.delete-grid > * {
  min-width: 0;
}

.app-icon {
  width: 92px;
  height: 92px;
  margin-bottom: 22px;
  border-radius: 23px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.eyebrow,
.section-kicker {
  margin-bottom: 12px;
  color: #167da4;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--cyan);
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 7vw, 4.75rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

html[dir="rtl"] h1 {
  line-height: 1.24;
  letter-spacing: 0;
}

html[dir="rtl"] .brand,
html[dir="rtl"] .nav-links,
html[dir="rtl"] .language-switch,
html[dir="rtl"] .button {
  font-weight: 700;
}

html[dir="rtl"] .eyebrow,
html[dir="rtl"] .section-kicker,
html[dir="rtl"] .mini-window-bar,
html[dir="rtl"] .role-label,
html[dir="rtl"] .notice-label {
  letter-spacing: 0;
  text-transform: none;
}

html[dir="rtl"] .hero-copy,
html[dir="rtl"] .lead,
html[dir="rtl"] .card p,
html[dir="rtl"] .legal-card p,
html[dir="rtl"] .legal-card li,
html[dir="rtl"] .notice p,
html[dir="rtl"] .faq-list p {
  line-height: 1.9;
}

.hero-copy {
  max-width: 700px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 950;
}

.button-primary {
  background: var(--cyan);
  color: var(--navy-deep);
  box-shadow: 0 14px 30px rgba(79, 200, 237, 0.22);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.button-light {
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink);
}

.button-danger {
  background: #e4514a;
  color: #ffffff;
}

.store-badge {
  height: 54px;
  display: inline-flex;
  align-items: center;
}

.store-badge img {
  width: auto;
  max-height: 100%;
}

.hero-panel,
.card,
.legal-card,
.notice,
.faq-list details {
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 26px;
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.mini-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: #0d2948;
}

.mini-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8aefd0;
}

.status-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(81, 207, 168, 0.14);
}

.mini-window-body {
  padding: 18px;
}

.mini-class-code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 13px;
  padding: 15px;
  border-radius: 16px;
  background: rgba(79, 200, 237, 0.11);
}

.mini-class-code small,
.mini-student small {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.54);
}

.mini-class-code strong {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.mini-chip {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(81, 207, 168, 0.15);
  color: #8aefd0;
  font-size: 0.72rem;
  font-weight: 900;
}

.mini-student {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-student:last-child {
  border-bottom: 0;
}

.mini-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--violet), #5a73d6);
  color: #ffffff;
  font-weight: 950;
}

.mini-student strong {
  color: #ffffff;
}

section {
  padding: 72px 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  color: #ffffff;
  background:
    radial-gradient(circle at 90% 0%, rgba(79, 200, 237, 0.2), transparent 28rem),
    linear-gradient(135deg, #092442, #103b5f 58%, #183c64);
}

.section-dark .section-kicker {
  color: var(--cyan);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin-bottom: 13px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

html[dir="rtl"] .section-heading h2 {
  line-height: 1.32;
  letter-spacing: 0;
}

.lead {
  margin-bottom: 0;
  color: var(--body);
  font-size: 1.05rem;
}

.section-dark .lead {
  color: rgba(255, 255, 255, 0.7);
}

.card-grid,
.role-grid,
.feature-grid,
.comparison-grid,
.stat-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  padding: 26px;
  border-radius: 22px;
}

.card h3 {
  margin-bottom: 9px;
  font-size: 1.35rem;
}

.card p:last-child {
  margin-bottom: 0;
  color: var(--body);
}

.icon-box {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 15px;
  background: color-mix(in srgb, var(--icon-color, var(--cyan)) 16%, #ffffff);
  color: color-mix(in srgb, var(--icon-color, var(--cyan)) 78%, var(--ink));
  font-size: 1.35rem;
  font-weight: 950;
}

.role-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.13);
}

.role-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--role-color) 24%, transparent);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.role-card h3 {
  margin-bottom: 9px;
  font-size: 1.48rem;
}

.role-card > p {
  color: rgba(255, 255, 255, 0.7);
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  counter-reset: guide-step;
}

.step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.step::before {
  counter-increment: guide-step;
  content: counter(guide-step);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--role-color, var(--cyan));
  color: var(--navy-deep);
  font-size: 0.8rem;
  font-weight: 950;
}

.step strong {
  display: block;
  margin-bottom: 3px;
}

.step span {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.comparison-card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(13, 41, 72, 0.09);
}

.comparison-card.allowed {
  border-top: 5px solid var(--mint);
}

.comparison-card.private {
  border-top: 5px solid var(--violet);
}

.comparison-card h3 {
  margin-bottom: 15px;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-top: 10px;
  padding-inline-start: 29px;
  color: var(--body);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 1px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #e8f8f2;
  color: #147c5f;
  font-size: 0.75rem;
  font-weight: 950;
}

.private .check-list li::before {
  content: "—";
  background: #f1eafa;
  color: #7152a4;
}

.stat {
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 13px 32px rgba(13, 41, 72, 0.07);
}

.stat strong {
  display: block;
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 1.85rem;
}

.stat span {
  color: var(--body);
  font-size: 0.9rem;
}

.notice {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 22px;
  border-radius: 20px;
}

.notice-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #dff7ee;
  color: #147c5f;
  font-size: 1.25rem;
  font-weight: 950;
}

.notice h2,
.notice h3 {
  margin-bottom: 5px;
}

.notice p {
  margin-bottom: 0;
  color: var(--body);
}

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

.faq-list details {
  overflow: hidden;
  border-radius: 17px;
  box-shadow: 0 10px 25px rgba(13, 41, 72, 0.06);
}

.faq-list summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 900;
}

.faq-list details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--body);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 28px;
  color: #ffffff;
  background: linear-gradient(135deg, #0d2948, #15546a);
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
}

.cta-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.legal-shell {
  background:
    radial-gradient(circle at top right, rgba(79, 200, 237, 0.12), transparent 33rem),
    var(--soft);
}

.legal-main {
  width: min(900px, calc(100% - 40px));
  margin-inline: auto;
  padding: 58px 0 78px;
}

.legal-header {
  margin-bottom: 30px;
}

.legal-header h1 {
  margin-bottom: 13px;
  font-size: clamp(2.35rem, 7vw, 4rem);
}

.legal-header p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.legal-card {
  padding: clamp(24px, 5vw, 46px);
  border-radius: 28px;
}

.legal-card section {
  padding: 0;
}

.legal-card section + section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-card h2 {
  margin-bottom: 12px;
  font-size: 1.34rem;
  line-height: 1.35;
}

.legal-card p {
  margin-bottom: 14px;
  color: #354c62;
}

.legal-card a,
.text-link {
  color: #086f98;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-card ul,
.legal-card ol {
  margin: 12px 0 16px;
  padding-inline-start: 24px;
}

.legal-card li + li {
  margin-top: 8px;
}

.legal-card strong {
  color: var(--ink);
}

.legal-language-note {
  margin-bottom: 22px;
  padding: 15px 17px;
  border: 1px solid #b9e5d7;
  border-radius: 15px;
  background: #effbf6;
  color: #315a4d;
}

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

.delete-grid .card ul {
  margin-bottom: 0;
  padding-inline-start: 21px;
  color: var(--body);
}

.step-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eaf4ff;
  color: #1e62b4;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer {
  padding: 34px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-size: 0.92rem;
}

footer a {
  color: #ffffff;
  font-weight: 850;
}

@media (max-width: 920px) {
  .hero-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 700px;
  }

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

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

  .nav-links {
    display: none;
  }
}

@media (max-width: 660px) {
  .container,
  .legal-main {
    width: min(calc(100% - 28px), 540px);
  }

  .nav {
    min-height: 64px;
  }

  .hero {
    padding: 48px 0 52px;
  }

  .hero-grid {
    gap: 38px;
  }

  .app-icon {
    width: 78px;
    height: 78px;
    border-radius: 20px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero-copy,
  .lead {
    font-size: 0.98rem;
  }

  section {
    padding: 54px 0;
  }

  .card-grid,
  .role-grid,
  .feature-grid,
  .comparison-grid,
  .stat-grid,
  .delete-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .role-card,
  .card,
  .legal-card,
  .cta-panel {
    padding: 22px;
    border-radius: 21px;
  }

  .mini-class-code {
    grid-template-columns: 1fr;
  }

  .mini-student {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .mini-student .mini-chip {
    grid-column: 2;
    justify-self: start;
  }

  .button-row,
  .hero-actions {
    align-items: stretch;
  }

  .button,
  .store-badge {
    width: 100%;
  }

  .store-badge {
    justify-content: center;
  }

  .legal-main {
    padding: 42px 0 60px;
  }
}

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

@media print {
  .site-header,
  footer,
  .hero-actions,
  .button-row {
    display: none;
  }

  body,
  .legal-shell {
    background: #ffffff;
  }

  .legal-main {
    width: 100%;
    padding: 0;
  }

  .legal-card {
    border: 0;
    box-shadow: none;
  }
}
