@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

/* ────────────────────────────────
   VARIABLES
──────────────────────────────── */
:root {
  --teal:        #00897B;
  --teal-light:  #00BFA5;
  --teal-glow:   rgba(0,137,123,.18);
  --gold:        #FFD740;
  --gold-glow:   rgba(255,215,64,.15);
  --bg:          #070D1A;
  --bg-card:     #0C1626;
  --bg-card2:    #101F35;
  --nav-bg:      #05091400;
  --text:        #EEF2F8;
  --text-muted:  #8FA3BF;
  --text-dim:    #4E647E;
  --border:      #162034;
  --border2:     #1E3050;
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   22px;
}

/* ────────────────────────────────
   RESET & BASE
──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { direction: rtl; scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Cairo', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal); }

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

ul, ol { list-style: none; }

/* ────────────────────────────────
   LAYOUT
──────────────────────────────── */
.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.section { padding-block: 80px; }
.section--sm { padding-block: 56px; }

/* ────────────────────────────────
   NAV
──────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,13,26,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.nav-logo span { color: var(--teal-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}

.nav-link:hover,
.nav-link.active { color: var(--text); background: var(--bg-card2); }

/* ────────────────────────────────
   HERO
──────────────────────────────── */
.hero {
  padding-block: 100px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0,137,123,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-glow);
  border: 1px solid rgba(0,137,123,.3);
  color: var(--teal-light);
  font-size: .82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
  letter-spacing: .03em;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title .accent { color: var(--teal-light); }
.hero-title .gold   { color: var(--gold); }

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ────────────────────────────────
   BUTTONS
──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }

.btn-primary { background: var(--teal); color: #fff; }
.btn-outline  { background: transparent; color: var(--teal-light); border: 1.5px solid var(--teal-light); }
.btn-gold     { background: var(--gold); color: #1a1000; }

/* ────────────────────────────────
   PLAY STORE BADGE
──────────────────────────────── */
.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1a1f2e;
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  color: var(--text);
  font-size: .85rem;
  font-weight: 600;
  transition: border-color .2s;
}
.play-badge:hover { border-color: var(--teal); color: var(--text); }
.play-badge .play-icon { font-size: 1.6rem; }
.play-badge-sub { font-size: .7rem; color: var(--text-muted); display: block; margin-bottom: 1px; }

/* ────────────────────────────────
   SECTION HEADERS
──────────────────────────────── */
.section-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.3;
}

.section-desc {
  color: var(--text-muted);
  max-width: 520px;
  font-size: 1rem;
}

.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin-inline: auto; }

/* ────────────────────────────────
   CARDS
──────────────────────────────── */
.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--teal); transform: translateY(-3px); }

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.card-icon.gold-icon { background: var(--gold-glow); }

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ────────────────────────────────
   TRUST STRIP
──────────────────────────────── */
.trust-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding-block: 52px;
}

.trust-item { display: flex; align-items: flex-start; gap: 14px; }
.trust-item-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.trust-item-title { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.trust-item-desc  { font-size: .85rem; color: var(--text-muted); }

/* ────────────────────────────────
   PAGE HERO (inner pages)
──────────────────────────────── */
.page-hero {
  padding-block: 64px 48px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(0,137,123,.07) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-tag {
  display: inline-block;
  background: var(--teal-glow);
  border: 1px solid rgba(0,137,123,.25);
  color: var(--teal-light);
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: .04em;
}

.page-hero-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 10px; }
.page-hero-date  { font-size: .85rem; color: var(--text-dim); }

/* ────────────────────────────────
   CONTENT (legal pages)
──────────────────────────────── */
.content-wrap {
  max-width: 780px;
  padding-block: 56px;
}

.content-wrap h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 44px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--teal-light);
}

.content-wrap h2:first-of-type { margin-top: 0; }

.content-wrap p { color: var(--text-muted); margin-bottom: 14px; font-size: .97rem; }
.content-wrap p strong { color: var(--text); }

.content-wrap ul {
  list-style: none;
  margin-bottom: 16px;
}

.content-wrap ul li {
  color: var(--text-muted);
  font-size: .97rem;
  padding-inline-start: 22px;
  position: relative;
  margin-bottom: 8px;
}

.content-wrap ul li::before {
  content: '•';
  position: absolute;
  inset-inline-start: 0;
  color: var(--teal-light);
  font-weight: 700;
}

.content-wrap .callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-inline-start: 3px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-block: 24px;
  font-size: .93rem;
  color: var(--text-muted);
}

.content-wrap .callout strong { color: var(--text); }

/* ────────────────────────────────
   CONTACT / ACTION CARD
──────────────────────────────── */
.action-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  margin-block: 32px;
}

.action-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.action-card p  { color: var(--text-muted); font-size: .95rem; margin-bottom: 20px; }

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--teal-light);
  background: var(--teal-glow);
  border: 1px solid rgba(0,137,123,.25);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  transition: background .2s, border-color .2s;
}
.email-link:hover { background: rgba(0,137,123,.25); border-color: var(--teal); color: var(--teal-light); }

/* ────────────────────────────────
   SUPPORT CARDS
──────────────────────────────── */
.support-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 48px;
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.support-card .s-icon { font-size: 1.6rem; margin-bottom: 12px; }
.support-card .s-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.support-card .s-desc  { font-size: .875rem; color: var(--text-muted); }

/* ────────────────────────────────
   STEPS
──────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 16px; margin-block: 24px; }

.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.step-num {
  width: 32px;
  height: 32px;
  background: var(--teal-glow);
  border: 1px solid rgba(0,137,123,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .85rem;
  color: var(--teal-light);
  flex-shrink: 0;
}

.step-text { font-size: .93rem; color: var(--text-muted); line-height: 1.6; }
.step-text strong { color: var(--text); }

/* ────────────────────────────────
   DIVIDER
──────────────────────────────── */
.divider { height: 1px; background: var(--border); margin-block: 48px; }

/* ────────────────────────────────
   FOOTER
──────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 40px;
  margin-top: 80px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand { font-size: .875rem; color: var(--text-dim); }
.footer-brand strong { color: var(--text-muted); }

.footer-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-dim);
  font-size: .8rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.footer-links a:hover { color: var(--text-muted); background: var(--bg-card); }

/* ────────────────────────────────
   404
──────────────────────────────── */
.not-found {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.not-found-num {
  font-size: 8rem;
  font-weight: 800;
  color: var(--border2);
  line-height: 1;
  margin-bottom: 16px;
}

/* ────────────────────────────────
   RESPONSIVE
──────────────────────────────── */
@media (max-width: 640px) {
  .hero { padding-block: 64px 52px; }
  .section { padding-block: 56px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .nav-links { gap: 4px; }
  .nav-link { padding: 5px 10px; font-size: .82rem; }
  .content-wrap { padding-block: 40px; }
  .action-card { padding: 24px 20px; }
  .card-grid { grid-template-columns: 1fr; }
}
