:root {
  --dd-bg: #fafaf7;
  --dd-ink: #111111;
  --dd-muted: #66645d;
  --dd-card: #ffffff;
  --dd-line: rgba(17, 17, 17, 0.1);
  --dd-gold: #ffc86c;
  --dd-orange: #f5801f;
  --dd-dark: #111111;
  --dd-dark-soft: #2a2a2a;
  --dd-radius: 24px;
  --dd-shadow: 0 24px 70px rgba(17, 17, 17, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--dd-bg);
  color: var(--dd-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

body.rtl {
  direction: rtl;
  text-align: right;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.navbar {
  background: rgba(250, 250, 247, 0.94);
  border-bottom: 1px solid var(--dd-line);
  backdrop-filter: blur(18px);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--dd-gold), var(--dd-orange));
  border: 1px solid rgba(17, 17, 17, 0.12);
}

.nav-link {
  color: rgba(17, 17, 17, 0.72);
  font-weight: 650;
}

.nav-link:hover,
.nav-link.active {
  color: var(--dd-ink);
}

.lang-switch {
  border-radius: 999px;
  border-color: rgba(17, 17, 17, 0.16);
  font-weight: 750;
}

.btn-gold {
  --bs-btn-bg: var(--dd-gold);
  --bs-btn-border-color: var(--dd-gold);
  --bs-btn-color: #111111;
  --bs-btn-hover-bg: #ffd58d;
  --bs-btn-hover-border-color: #ffd58d;
  --bs-btn-hover-color: #111111;
  --bs-btn-active-bg: #f5b94f;
  --bs-btn-active-border-color: #f5b94f;
  font-weight: 800;
}

.btn-outline-dark {
  font-weight: 750;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 25%, rgba(255, 200, 108, 0.28), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(245, 128, 31, 0.16), transparent 26%),
    linear-gradient(135deg, var(--dd-dark), var(--dd-dark-soft));
  color: #ffffff;
  border-radius: 0 0 36px 36px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% -10%;
  height: 55%;
  background: linear-gradient(90deg, rgba(255, 200, 108, 0.16), rgba(245, 128, 31, 0.08));
  transform: rotate(-2deg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--dd-gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 800px;
  margin-top: 1rem;
  font-size: clamp(2.5rem, 8vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-copy {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
  line-height: 1.8;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--dd-radius);
  padding: 1rem;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
}

.phone-frame {
  aspect-ratio: 9 / 18;
  min-height: 480px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    url("/assets/screenshot-1.png") center / cover no-repeat,
    #191919;
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.phone-frame::before {
  content: "";
  width: 34%;
  height: 22px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.36);
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-title {
  font-weight: 900;
  letter-spacing: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.section-lead {
  color: var(--dd-muted);
  line-height: 1.8;
  max-width: 780px;
}

.card-soft {
  background: var(--dd-card);
  border: 1px solid var(--dd-line);
  border-radius: var(--dd-radius);
  box-shadow: 0 12px 40px rgba(17, 17, 17, 0.04);
}

.feature-card {
  height: 100%;
  padding: 1.4rem;
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 200, 108, 0.28);
  color: #111111;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.muted {
  color: var(--dd-muted);
}

.store-button {
  min-width: 160px;
  border-radius: 16px;
  padding: 0.8rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: #111111;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}

.store-button:hover {
  color: #ffffff;
  background: #2a2a2a;
}

.screenshot-card {
  aspect-ratio: 9 / 16;
  min-height: 360px;
  background: #ffffff center / cover no-repeat;
  border: 1px solid var(--dd-line);
  border-radius: var(--dd-radius);
  overflow: hidden;
  box-shadow: var(--dd-shadow);
}

.screenshot-one {
  background-image: url("/assets/screenshot-1.png"), linear-gradient(160deg, #ffffff, #fff4db);
}

.screenshot-two {
  background-image: url("/assets/screenshot-2.png"), linear-gradient(160deg, #ffffff, #f3f0e8);
}

.screenshot-three {
  background-image: url("/assets/screenshot-3.png"), linear-gradient(160deg, #ffffff, #ffe6c6);
}

.page-hero {
  background: linear-gradient(135deg, #111111, #2a2a2a);
  color: #ffffff;
  padding: 4.5rem 0;
  border-radius: 0 0 34px 34px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.legal-content {
  max-width: 920px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.02rem;
}

.legal-content h2 {
  margin-top: 2.6rem;
  margin-bottom: 0.75rem;
  font-size: 1.45rem;
  font-weight: 900;
}

.legal-content h3 {
  margin-top: 1.6rem;
  font-size: 1.1rem;
  font-weight: 850;
}

.legal-content ul {
  padding-left: 1.4rem;
}

body.rtl .legal-content ul {
  padding-left: 0;
  padding-right: 1.4rem;
}

.legal-content .legal-note,
.toc-card {
  background: #ffffff;
  border: 1px solid var(--dd-line);
  border-radius: var(--dd-radius);
  padding: 1.35rem;
}

.toc-card a {
  color: var(--dd-ink);
  text-decoration: none;
}

.toc-card a:hover {
  color: var(--dd-orange);
}

.footer {
  margin-top: auto;
  background: #111111;
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0;
}

.footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer a:hover {
  color: var(--dd-gold);
}

.footer-brand {
  color: #ffffff;
  font-weight: 900;
}

.accent-line {
  width: 72px;
  height: 5px;
  background: linear-gradient(90deg, var(--dd-gold), var(--dd-orange));
  border-radius: 999px;
}

.faq-button {
  font-weight: 800;
  color: var(--dd-ink);
}

@media (max-width: 991.98px) {
  .hero-inner {
    padding: 4rem 0 3.5rem;
  }

  .phone-frame {
    min-height: 420px;
  }
}

@media (max-width: 575.98px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 15vw, 4rem);
  }

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