@font-face {
  font-family: "Tajawal";
  src: url("./assets/fonts/Tajawal-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tajawal";
  src: url("./assets/fonts/Tajawal-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7fbfb;
  --surface: #ffffff;
  --surface-soft: #eef8f7;
  --ink: #102025;
  --muted: #53666b;
  --teal: #0f9b8e;
  --teal-dark: #08766e;
  --teal-soft: #d9f2ef;
  --line: #cfe2df;
  --amber: #d09b28;
  --shadow: 0 18px 50px rgba(16, 32, 37, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  direction: rtl;
  font-family: "Tajawal", Arial, sans-serif;
  line-height: 1.8;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(207, 226, 223, 0.75);
  background: rgba(247, 251, 251, 0.92);
  padding: 14px clamp(18px, 4vw, 56px);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand img {
  width: 38px;
  height: 38px;
}

.site-header nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.site-header nav a:hover {
  color: var(--teal-dark);
}

.section,
.section-band {
  padding-inline: clamp(18px, 5vw, 80px);
}

.hero {
  display: grid;
  min-height: 680px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(44px, 7vw, 88px);
  overflow: hidden;
}

.hero-copy {
  max-width: 620px;
}

.hero-logo {
  width: 86px;
  height: 86px;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-lead {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 10px 18px;
  font-weight: 700;
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--teal);
  color: #fff;
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--teal);
}

.trust-line {
  margin: 18px 0 0;
  color: var(--teal-dark);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 470px;
}

.browser-frame {
  width: min(100%, 720px);
  margin-inline-start: auto;
  border: 1px solid rgba(207, 226, 223, 0.9);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  direction: ltr;
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.screen-preview {
  min-height: 420px;
  padding: clamp(26px, 4vw, 46px);
  background:
    linear-gradient(135deg, rgba(15, 155, 142, 0.16), transparent 48%),
    repeating-linear-gradient(0deg, rgba(207, 226, 223, 0.42), rgba(207, 226, 223, 0.42) 1px, transparent 1px, transparent 45px),
    var(--surface);
}

.screen-preview strong {
  display: block;
  width: min(100%, 420px);
  margin-top: 90px;
  font-size: 38px;
  line-height: 1.2;
}

.screen-preview p {
  width: min(100%, 410px);
  color: var(--muted);
  font-size: 19px;
}

.preview-label {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 4px 12px;
  color: var(--teal-dark);
  font-weight: 700;
}

.section {
  padding-block: clamp(56px, 8vw, 94px);
}

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

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal-dark);
  font-weight: 700;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin: 18px 0 8px;
  font-size: 24px;
  line-height: 1.3;
}

.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.pricing-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
}

.feature-card img {
  width: 100%;
  border-radius: 6px;
  background: var(--surface-soft);
}

.feature-card p,
.pricing-card p,
.privacy-copy p,
.faq-list p,
.site-footer p {
  color: var(--muted);
}

.split-section,
.privacy-section {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: clamp(22px, 4vw, 64px);
  align-items: start;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  background: var(--bg);
  font-weight: 700;
}

.steps span {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.privacy-panel {
  border-inline-start: 5px solid var(--teal);
  background: var(--surface-soft);
  padding: 24px;
}

.privacy-panel strong,
.privacy-panel span {
  display: block;
}

.privacy-panel strong {
  font-size: 26px;
}

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

.pricing-card {
  display: grid;
  gap: 12px;
}

.pricing-card.highlighted {
  border-color: rgba(15, 155, 142, 0.55);
  background: linear-gradient(180deg, #ffffff, var(--surface-soft));
}

.price {
  margin: 0;
  color: var(--ink) !important;
  font-size: 38px;
  font-weight: 700;
}

.price:has(+ p) {
  line-height: 1.1;
}

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

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px 18px;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin: 12px 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 28px clamp(18px, 5vw, 80px);
  background: var(--ink);
  color: #fff;
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  align-self: center;
  color: #b7f0e9;
  font-weight: 700;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

  .site-header nav {
    justify-content: space-between;
  }

  .hero,
  .split-section,
  .privacy-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 0;
  }

  .browser-frame {
    margin: 0;
  }

  .screen-preview {
    min-height: 320px;
  }

  .screen-preview strong {
    margin-top: 56px;
    font-size: 30px;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-logo {
    width: 72px;
    height: 72px;
  }
}

/* صفحة سياسة الاسترجاع والإلغاء */
.policy-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 20px 40px;
}

.policy-page h1 {
  font-size: 1.9rem;
  margin-bottom: 4px;
}

.policy-page h2 {
  font-size: 1.2rem;
  margin-top: 28px;
}

.policy-page p,
.policy-page li {
  line-height: 1.9;
}

.policy-updated {
  color: var(--muted, #5f6b66);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
