:root {
  color-scheme: dark;
  --bg: #09090b;
  --surface: #121216;
  --surface-soft: #17171c;
  --text: #f6f3eb;
  --muted: #b7b3a9;
  --gold: #e2b95d;
  --gold-bright: #f4cf78;
  --gold-dark: #8e6720;
  --line: rgba(255, 255, 255, .11);
  --shadow: 0 24px 80px rgba(0, 0, 0, .42);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: var(--gold-bright); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: #ffe5a7; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--gold); color: #171109; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 11, .84);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-size: 1.1rem; font-weight: 760; letter-spacing: -.02em; }
.brand img { border-radius: 13px; box-shadow: 0 8px 26px rgba(226, 185, 93, .16); }
nav { display: flex; align-items: center; gap: 24px; }
nav a { color: var(--muted); font-size: .92rem; font-weight: 600; text-decoration: none; }
nav a:hover { color: var(--text); }

.hero { position: relative; overflow: hidden; padding: 92px 0 80px; background: radial-gradient(circle at 68% 30%, rgba(226, 185, 93, .13), transparent 30%), linear-gradient(180deg, #0b0b0e 0%, #09090b 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, black, transparent 90%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 64px; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(4rem, 9vw, 7.3rem); background: linear-gradient(115deg, #fff 8%, #ffe6aa 56%, #c79434 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { margin: 0 0 20px; font-size: clamp(2.2rem, 5vw, 4.1rem); }
h3 { margin: 0 0 12px; font-size: 1.32rem; }
.hero-lead { max-width: 650px; margin: 22px 0 18px; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.26; letter-spacing: -.025em; }
.hero-body, .section-heading > p:not(.eyebrow), .large-copy { color: var(--muted); }
.hero-body { max-width: 650px; margin: 0; font-size: 1.04rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 20px; border: 1px solid transparent; border-radius: 999px; font-size: .94rem; font-weight: 760; text-decoration: none; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, var(--gold-bright), #c89536); color: #1d160a; box-shadow: 0 12px 36px rgba(226, 185, 93, .22); }
.button-primary:hover { color: #110d06; }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.045); color: var(--text); }
.publisher { margin: 20px 0 0; color: #8f8b83; font-size: .84rem; }

.hero-visual { position: relative; min-height: 610px; }
.glow { position: absolute; width: 420px; height: 420px; left: 50%; top: 47%; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(226, 185, 93, .18); filter: blur(90px); }
.phone { position: absolute; object-fit: cover; object-position: top; border: 1px solid rgba(255,255,255,.17); border-radius: 36px; background: #fff; box-shadow: var(--shadow); }
.phone-main { width: min(330px, 66%); height: 594px; right: 9%; top: 0; z-index: 2; }
.phone-side { width: min(245px, 50%); height: 455px; left: 3%; bottom: 0; z-index: 1; opacity: .8; transform: rotate(-4deg); }

.trust-strip { border-block: 1px solid var(--line); background: #0e0e12; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { padding: 25px 22px; border-right: 1px solid var(--line); }
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { color: var(--gold-bright); font-size: .97rem; }
.trust-grid span { margin-top: 3px; color: var(--muted); font-size: .82rem; }

.section { padding: 112px 0; }
.section-heading { max-width: 770px; margin-bottom: 50px; }
.section-heading > p:not(.eyebrow) { margin: 0; font-size: 1.13rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 255px; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); }
.feature-card p { margin: 0; color: var(--muted); }
.feature-number { display: inline-block; margin-bottom: 40px; color: var(--gold); font: 750 .78rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }

.backup-section { border-block: 1px solid var(--line); background: radial-gradient(circle at 85% 35%, rgba(226,185,93,.10), transparent 25%), #0e0e12; }
.backup-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 72px; align-items: center; }
.large-copy { font-size: 1.15rem; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; padding: 0; margin: 32px 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }
.privacy-card, .arabic-card { padding: 36px; border: 1px solid rgba(226,185,93,.28); border-radius: var(--radius); background: linear-gradient(145deg, rgba(226,185,93,.11), rgba(255,255,255,.03)); box-shadow: var(--shadow); }
.privacy-card p, .arabic-card p { color: #d1cdc4; }
.privacy-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 25px; border-radius: 50%; background: var(--gold); color: #1c1508; font-weight: 900; }
code { padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; background: #09090b; color: #f1cd7b; font-size: .84em; overflow-wrap: anywhere; }

.gallery-section { overflow: hidden; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.gallery figure { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow); }
.gallery figure:nth-child(2) { margin-top: 48px; }
.gallery img { width: 100%; aspect-ratio: 9/16; object-fit: cover; object-position: top; border-radius: 20px; }
.gallery figcaption { padding: 13px 6px 5px; color: var(--muted); text-align: center; font-size: .88rem; }

.arabic-section { border-block: 1px solid var(--line); background: linear-gradient(145deg, #15120c, #0d0d10 55%); font-family: Tahoma, Arial, sans-serif; }
.arabic-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: center; }
.arabic-section h2 { font-size: clamp(3rem, 7vw, 5.5rem); }
.arabic-section p { color: #d4d0c8; font-size: 1.1rem; }
.arabic-section .eyebrow { color: var(--gold-bright); }

.final-cta { padding-block: 78px; }
.final-cta-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.final-cta img { border-radius: 22px; }
.final-cta h2 { margin: 0 0 6px; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.final-cta p { margin: 0; color: var(--muted); }

.site-footer { padding: 52px 0 25px; border-top: 1px solid var(--line); background: #070709; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; }
.footer-brand { margin-bottom: 12px; }
.footer-grid p { margin: 0; color: var(--muted); font-size: .88rem; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 22px; }
.footer-links a { color: var(--muted); font-size: .86rem; }
.copyright { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); color: #77736c; font-size: .76rem; }
.compact-footer { padding-top: 10px; }
.compact-footer .copyright { margin-top: 0; }

.policy-main { padding: 80px 0 110px; background: radial-gradient(circle at 85% 5%, rgba(226,185,93,.08), transparent 22%); }
.policy-article { max-width: 850px; }
.policy-article h1 { max-width: 800px; font-size: clamp(3rem, 7vw, 5.5rem); }
.policy-article h2 { margin: 58px 0 15px; font-size: clamp(1.45rem, 3vw, 2rem); }
.policy-article p, .policy-article li { color: #cbc7be; }
.policy-date { margin: 20px 0 30px; }
.policy-intro { font-size: 1.2rem; }
.policy-summary { margin: 42px 0 60px; padding: 28px 30px; border: 1px solid rgba(226,185,93,.28); border-radius: 22px; background: rgba(226,185,93,.07); }
.policy-summary strong { color: var(--gold-bright); }
.policy-summary ul { margin-bottom: 0; }
.policy-article li + li { margin-top: 8px; }
.policy-article address { color: #cbc7be; font-style: normal; }
.policy-nav { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 60px; padding-top: 25px; border-top: 1px solid var(--line); }

@media (max-width: 920px) {
  .hero-grid, .backup-grid, .arabic-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 70px; }
  .hero-visual { width: min(650px, 100%); min-height: 570px; margin-inline: auto; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid div:nth-child(2) { border-right: 0; }
  .trust-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .final-cta-inner { grid-template-columns: auto 1fr; }
  .final-cta .button { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .shell { width: min(100% - 28px, 1180px); }
  .site-header { position: static; }
  .header-inner { padding-block: 14px; align-items: flex-start; }
  nav { gap: 13px; flex-wrap: wrap; justify-content: flex-end; }
  nav a { font-size: .78rem; }
  nav a:nth-child(1), nav a:nth-child(2) { display: none; }
  h1 { font-size: clamp(3.6rem, 19vw, 5rem); }
  .hero { padding: 58px 0 45px; }
  .hero-grid { gap: 46px; }
  .button-row { flex-direction: column; }
  .button { width: 100%; }
  .hero-visual { min-height: 470px; }
  .phone-main { width: 68%; height: 460px; right: 2%; }
  .phone-side { width: 49%; height: 340px; left: 0; }
  .section { padding: 78px 0; }
  .feature-grid, .gallery, .check-list { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-number { margin-bottom: 26px; }
  .gallery { padding-inline: 22px; }
  .gallery figure:nth-child(2) { margin-top: 0; }
  .privacy-card, .arabic-card { padding: 26px; }
  .final-cta-inner { grid-template-columns: 1fr; text-align: center; }
  .final-cta img { margin-inline: auto; }
  .footer-grid { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .policy-main { padding-top: 58px; }
  .policy-summary { padding: 22px; }
}

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