:root {
  --cream: #fff9f5;
  --paper: #ffffff;
  --forest: #004e89;
  --forest-deep: #1a1a2e;
  --forest-soft: #eaf4ff;
  --orange: #ff6b35;
  --orange-deep: #e55a2b;
  --gold: #ffd23f;
  --ink: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --shadow: 0 24px 70px rgba(0, 78, 137, 0.13);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", "Noto Sans Arabic", "Noto Sans Devanagari", system-ui, sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(0, 78, 137, 0.09);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(255, 107, 53, 0.22);
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
}

.button-secondary {
  border-color: rgba(18, 63, 53, 0.22);
  background: transparent;
  color: var(--forest);
  box-shadow: none;
}

.button-secondary:hover {
  background: var(--forest-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 92px;
}

.hero::before {
  position: absolute;
  width: 480px;
  height: 480px;
  right: -220px;
  top: -240px;
  border-radius: 50%;
  background: rgba(0, 78, 137, 0.10);
  content: "";
}

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--forest-deep);
  line-height: 1.08;
}

h1,
h2 {
  margin: 0;
  font-family: "DM Sans", "Noto Sans Arabic", "Noto Sans Devanagari", sans-serif;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.1rem, 6.7vw, 5.8rem);
}

h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.75rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.proof-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--forest);
  font-size: 0.91rem;
  font-weight: 750;
}

.proof-row span::before {
  margin-inline-end: 7px;
  color: var(--orange);
  content: "✓";
}

.product-visual {
  position: relative;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 78, 137, 0.12);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.product-visual::after {
  position: absolute;
  right: -20px;
  bottom: 24px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  content: attr(data-note);
  font-size: 0.8rem;
  font-weight: 850;
  box-shadow: 0 14px 30px rgba(0, 78, 137, 0.22);
}

.product-visual img {
  width: 100%;
  max-height: 570px;
  border-radius: 22px;
  background: #f8fafc;
  object-fit: contain;
  object-position: top;
}

.section {
  padding: 88px 0;
}

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

.section-dark {
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.75);
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading p:last-child {
  max-width: 680px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-dark .section-heading p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.section-dark .info-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

.section-dark .info-card p {
  color: rgba(255, 255, 255, 0.72);
}

.steps,
.card-grid,
.feature-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step,
.info-card,
.feature-link {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.step-number {
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--forest-soft);
  color: var(--forest);
  font-weight: 900;
}

.step p,
.info-card p,
.feature-link p {
  margin: 0;
  color: var(--muted);
}

.example {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: stretch;
}

.example-input,
.example-result {
  padding: 34px;
  border-radius: var(--radius-md);
}

.example-input {
  border: 1px solid var(--line);
  background: var(--cream);
}

.example-result {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.77);
}

.example-result h3 {
  color: #fff;
}

.example-label {
  margin: 0 0 16px;
  color: var(--orange-deep);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.example-result .example-label {
  color: var(--gold);
}

.clean-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding: 8px 0 8px 25px;
}

[dir="rtl"] .clean-list li {
  padding: 8px 25px 8px 0;
}

.clean-list li::before {
  position: absolute;
  left: 0;
  color: var(--orange);
  content: "✓";
  font-weight: 900;
}

[dir="rtl"] .clean-list li::before {
  right: 0;
  left: auto;
}

.feature-link {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-link:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 107, 53, 0.5);
  box-shadow: 0 18px 45px rgba(0, 78, 137, 0.1);
}

.feature-link .tag {
  align-self: flex-start;
  margin-bottom: 44px;
}

.feature-link .learn {
  margin-top: auto;
  padding-top: 22px;
  color: var(--orange-deep);
  font-weight: 850;
}

.tag {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--forest-soft);
  color: var(--forest);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq-list {
  max-width: 850px;
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 21px 0;
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  color: var(--forest-deep);
  font-weight: 850;
}

.faq-list p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
}

.cta-panel {
  padding: 64px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.75);
}

.cta-panel h2 {
  color: #fff;
}

.cta-panel p {
  max-width: 650px;
  margin: 15px 0 0;
}

.cta-panel .button-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.cta-panel .button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-footer {
  margin-top: 88px;
  padding: 52px 0 28px;
  background: #111827;
  color: rgba(255, 255, 255, 0.7);
}

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

.site-footer .brand {
  color: #fff;
}

.site-footer h3 {
  color: #fff;
  font-size: 0.95rem;
}

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

.footer-links li + li {
  margin-top: 8px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.language-links {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.86rem;
}

.language-links a {
  text-decoration: none;
}

.copyright {
  margin-top: 24px;
  font-size: 0.8rem;
}

.localized-hero h1 {
  font-size: clamp(2.8rem, 5.8vw, 5.2rem);
}

[dir="rtl"] .hero::before {
  right: auto;
  left: -220px;
}

[dir="rtl"] .product-visual::after {
  right: auto;
  left: -20px;
}

@media (max-width: 900px) {
  .nav-links > a:not(.button) {
    display: none;
  }

  .hero {
    padding: 64px 0 74px;
  }

  .hero-grid,
  .example,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .product-visual {
    width: min(620px, 100%);
    margin-inline: auto;
  }

  .steps,
  .card-grid,
  .feature-directory {
    grid-template-columns: 1fr 1fr;
  }

  .cta-panel {
    padding: 46px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    min-height: 68px;
  }

  .nav .button {
    min-height: 42px;
    padding-inline: 16px;
    font-size: 0.86rem;
  }

  .hero {
    padding-top: 52px;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .section {
    padding: 68px 0;
  }

  .steps,
  .card-grid,
  .feature-directory,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-visual::after {
    right: 10px;
    bottom: 10px;
  }

  [dir="rtl"] .product-visual::after {
    right: auto;
    left: 10px;
  }

  .step,
  .info-card,
  .feature-link,
  .example-input,
  .example-result {
    padding: 24px;
  }

  .cta-panel {
    padding: 34px 25px;
  }
}

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

  .button,
  .feature-link {
    transition: none;
  }
}
