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

:root {
  --purple-deep:  #0f0730;
  --purple-dark:  #1a0f52;
  --purple-mid:   #2d1b8e;
  --purple-light: #4a2fc4;
  --gold:         #ffc81e;
  --gold-dark:    #d4960a;
  --gold-light:   #ffe066;
  --white:        #ffffff;
  --text-light:   #e8e0ff;
  --text-muted:   #a090cc;
  --radius:       16px;
  --shadow:       0 8px 40px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--purple-deep);
  color: var(--text-light);
  direction: rtl;
  line-height: 1.7;
  min-height: 100vh;
}

/* ── Typography ────────────────────────────────────────────────── */
h1, h2, h3 { font-weight: 800; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--gold); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--gold); }
h3 { font-size: 1.2rem; color: var(--gold-light); }
p  { margin-bottom: 1rem; }
a  { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }

/* ── Navbar ─────────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 7, 48, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,200,30,0.15);
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.navbar .logo {
  font-size: 1.4rem; font-weight: 900;
  color: var(--gold);
  display: flex; align-items: center; gap: .5rem;
}
.navbar .logo span { font-size: 1.6rem; }
.navbar nav { display: flex; gap: 1.5rem; }
.navbar nav a {
  color: var(--text-light); font-size: .95rem; font-weight: 600;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  transition: all .2s;
}
.navbar nav a:hover,
.navbar nav a.active { color: var(--gold); border-color: var(--gold); }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  min-height: 92vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,200,30,.12) 0%, transparent 65%),
    radial-gradient(ellipse at 80% 80%, rgba(74,47,196,.3) 0%, transparent 60%),
    linear-gradient(180deg, #0f0730 0%, #1a0f52 100%);
}
.hero-icon {
  width: 140px; height: 140px;
  border-radius: 32px;
  background: linear-gradient(135deg, #2d1b8e, #0f0730);
  border: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; margin: 0 auto 2rem;
  box-shadow: 0 0 60px rgba(255,200,30,.35), var(--shadow);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.hero h1 { margin-bottom: 1rem; text-shadow: 0 0 30px rgba(255,200,30,.5); }
.hero .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-muted); max-width: 560px; margin: 0 auto 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: 50px; font-size: 1rem;
  font-weight: 700; cursor: pointer; transition: all .25s;
  border: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a0f52;
  box-shadow: 0 4px 24px rgba(255,200,30,.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,200,30,.6); }
.btn-outline {
  background: transparent;
  color: var(--gold); border: 2px solid var(--gold);
}
.btn-outline:hover { background: rgba(255,200,30,.1); }

/* Stars bg */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 15% 20%, rgba(255,255,255,.6) 0%, transparent 100%),
    radial-gradient(1px   1px   at 80% 15%, rgba(255,255,255,.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 60% 80%, rgba(255,255,255,.4) 0%, transparent 100%),
    radial-gradient(1px   1px   at 35% 65%, rgba(255,255,255,.5) 0%, transparent 100%),
    radial-gradient(2px   2px   at 90% 45%, rgba(255,200,30,.5)  0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 10% 85%, rgba(255,200,30,.4)  0%, transparent 100%),
    radial-gradient(1px   1px   at 55% 35%, rgba(255,255,255,.3) 0%, transparent 100%);
  pointer-events: none;
}

/* ── Section ────────────────────────────────────────────────────── */
.section {
  padding: 5rem 1.5rem;
  max-width: 1100px; margin: 0 auto;
}
.section-title {
  text-align: center; margin-bottom: 3rem;
}
.section-title h2 { margin-bottom: .5rem; }
.section-title p { color: var(--text-muted); font-size: 1.05rem; }
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 2px; margin: .8rem auto 0;
}

/* ── Feature Cards ─────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,200,30,.15);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(255,200,30,.15);
  border-color: rgba(255,200,30,.4);
}
.card-icon { font-size: 2.8rem; margin-bottom: 1rem; display: block; }
.card h3 { margin-bottom: .5rem; }
.card p   { font-size: .95rem; color: var(--text-muted); margin: 0; }

/* ── How it works steps ─────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.step { text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--purple-deep); font-size: 1.4rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 20px rgba(255,200,30,.3);
}
.step h3 { margin-bottom: .4rem; }
.step p  { font-size: .9rem; color: var(--text-muted); }

/* ── Stripe (dark bg section) ─────────────────────────────────── */
.stripe {
  background: rgba(255,255,255,.03);
  border-top: 1px solid rgba(255,200,30,.08);
  border-bottom: 1px solid rgba(255,200,30,.08);
}

/* ── Page Hero (for inner pages) ─────────────────────────────── */
.page-hero {
  text-align: center; padding: 5rem 1.5rem 3rem;
  background: linear-gradient(180deg, rgba(255,200,30,.08) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255,200,30,.1);
}
.page-hero h1 { font-size: 2.2rem; margin-bottom: .5rem; }
.page-hero p  { color: var(--text-muted); }

/* ── Content block (privacy / terms) ─────────────────────────── */
.content-block {
  max-width: 820px; margin: 0 auto; padding: 4rem 1.5rem;
}
.content-block h2 {
  font-size: 1.3rem; margin: 2.5rem 0 .8rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(255,200,30,.15);
}
.content-block h2:first-child { margin-top: 0; }
.content-block ul {
  list-style: none; padding-right: 1rem; margin-bottom: 1rem;
}
.content-block ul li {
  position: relative; padding-right: 1.4rem; margin-bottom: .5rem;
  color: var(--text-muted);
}
.content-block ul li::before {
  content: '⚔️'; position: absolute; right: 0;
  font-size: .75rem; top: .35rem;
}
.content-block p { color: var(--text-muted); }
.last-updated {
  display: inline-block;
  background: rgba(255,200,30,.1);
  border: 1px solid rgba(255,200,30,.25);
  border-radius: 50px;
  padding: .25rem 1rem; font-size: .85rem; color: var(--gold);
  margin-bottom: 2rem;
}

/* ── Contact ────────────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  max-width: 820px; margin: 0 auto;
}
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,200,30,.15);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: border-color .3s;
}
.contact-card:hover { border-color: rgba(255,200,30,.5); }
.contact-card .ci { font-size: 2.5rem; margin-bottom: .8rem; display: block; }
.contact-card h3 { margin-bottom: .4rem; }
.contact-card a { font-size: .95rem; color: var(--text-muted); }
.contact-card a:hover { color: var(--gold); }

/* ── Footer ────────────────────────────────────────────────────── */
footer {
  background: rgba(0,0,0,.3);
  border-top: 1px solid rgba(255,200,30,.1);
  padding: 3rem 1.5rem;
  text-align: center;
}
footer .footer-logo {
  font-size: 1.5rem; font-weight: 900; color: var(--gold); margin-bottom: 1rem;
}
footer .footer-links {
  display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
footer .footer-links a { color: var(--text-muted); font-size: .9rem; }
footer .footer-links a:hover { color: var(--gold); }
footer .social { display: flex; gap: 1rem; justify-content: center; margin-bottom: 1.5rem; }
footer .social a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,200,30,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--text-muted);
  transition: all .25s;
}
footer .social a:hover {
  border-color: var(--gold); color: var(--gold);
  box-shadow: 0 0 16px rgba(255,200,30,.3);
}
footer .copy { font-size: .82rem; color: var(--text-muted); }

/* ── App Store badge placeholder ─────────────────────────────── */
.badge-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.app-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,200,30,.35);
  border-radius: 12px; padding: .7rem 1.4rem;
  font-size: .9rem; font-weight: 600; color: var(--white);
  transition: all .25s;
}
.app-badge:hover {
  background: rgba(255,200,30,.1);
  border-color: var(--gold);
}
.app-badge .abi { font-size: 1.6rem; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar nav { gap: .8rem; }
  .navbar nav a { font-size: .82rem; }
  .hero { padding: 3rem 1rem; min-height: 80vh; }
  .section { padding: 3rem 1rem; }
}
@media (max-width: 480px) {
  .navbar nav { display: none; }
}
