* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #08081A;
  --card: #0F0F28;
  --border: #1E1E4A;
  --primary: #7C3AED;
  --primary-light: #9F7AEA;
  --text: #E8E8FF;
  --muted: #6B6B9A;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Tajawal', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(8, 8, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; }
.logo-img { width: 34px; height: 34px; border-radius: 8px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--primary-light); }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 24px 60px;
  position: relative;
  gap: 60px;
  flex-wrap: wrap;
}
.hero-glow {
  position: absolute; top: 20%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { text-align: center; max-width: 480px; }
.hero-icon { width: 100px; height: 100px; border-radius: 24px; margin-bottom: 20px; box-shadow: 0 8px 40px rgba(124,58,237,.4); }
.hero h1 { font-size: 64px; font-weight: 900; background: linear-gradient(135deg, #fff 30%, var(--primary-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 16px; }
.hero-sub { font-size: 20px; color: var(--muted); line-height: 1.7; margin-bottom: 36px; }

.hero-badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.badge-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  text-decoration: none;
  color: white;
  font-size: 14px;
  transition: transform .2s, box-shadow .2s;
}
.badge-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.badge-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.badge-btn div { text-align: right; }
.badge-btn small { display: block; opacity: .7; font-size: 11px; }
.badge-btn strong { font-size: 16px; font-weight: 700; }
.apple { background: #1a1a2e; border: 1px solid var(--border); }
.google { background: #1a1a2e; border: 1px solid var(--border); }

/* PHONE MOCK */
.hero-phone { display: flex; justify-content: center; }
.phone-frame {
  width: 220px; height: 440px;
  background: var(--card);
  border-radius: 36px;
  border: 2px solid var(--border);
  padding: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(124,58,237,.2);
}
.phone-screen { background: var(--bg); border-radius: 24px; height: 100%; padding: 16px; overflow: hidden; }
.mock-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.mock-title { font-size: 14px; font-weight: 700; color: var(--primary-light); }
.mock-post { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.mock-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #5b21b6); flex-shrink: 0; }
.mock-avatar.c2 { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.mock-avatar.c3 { background: linear-gradient(135deg, #10b981, #059669); }
.mock-lines { flex: 1; }
.mock-line { height: 10px; border-radius: 5px; background: var(--border); margin-bottom: 8px; }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }

/* FEATURES */
.features { padding: 100px 24px; max-width: 1100px; margin: 0 auto; }
.features h2 { text-align: center; font-size: 40px; font-weight: 900; margin-bottom: 60px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: transform .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.feature-icon { font-size: 36px; margin-bottom: 14px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--muted); line-height: 1.7; font-size: 14px; }

/* STATS */
.stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0; padding: 60px 24px;
  background: linear-gradient(135deg, rgba(124,58,237,.1), rgba(91,33,182,.05));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat { text-align: center; padding: 20px 60px; }
.stat-num { display: block; font-size: 42px; font-weight: 900; color: var(--primary-light); }
.stat-label { color: var(--muted); font-size: 15px; }
.stat-divider { width: 1px; height: 60px; background: var(--border); }

/* DOWNLOAD */
.download {
  text-align: center; padding: 100px 24px;
  position: relative;
}
.download-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,.12) 0%, transparent 70%);
  pointer-events: none;
}
.download-icon { width: 90px; height: 90px; border-radius: 22px; margin-bottom: 20px; box-shadow: 0 8px 40px rgba(124,58,237,.4); }
.download h2 { font-size: 40px; font-weight: 900; margin-bottom: 12px; }
.download p { color: var(--muted); margin-bottom: 32px; font-size: 16px; }

/* FOOTER */
footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.footer-logo img { width: 30px; height: 30px; border-radius: 7px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--primary-light); }
.footer-copy { color: var(--muted); font-size: 13px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; }
  .hero h1 { font-size: 48px; }
  .hero-phone { display: none; }
  .stat { padding: 16px 30px; }
  .stat-divider { display: none; }
  .nav-links { display: none; }
}
