:root {
  --navy: #0B132B;
  --navy-2: #1C2541;
  --navy-3: #243156;
  --text: #F1F5F9;
  --muted: #94A3B8;
  --cyan: #00B4D8;
  --aqua: #00F5D4;
  --coral: #FF6B35;
  --gold: #FFB703;
  --green: #10B981;
  --wa: #25D366;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 10px 30px -10px rgba(0, 180, 216, 0.3);
  --radius: 18px;
  --font: 'Cairo', 'Tajawal', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--text);
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--cyan); color: var(--navy); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
i[data-lucide], svg.lucide { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 19, 43, 0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1360px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.35rem; font-weight: 900; }
.brand-text small { font-family: ui-monospace, monospace; font-size: 0.58rem; letter-spacing: 0.18em; color: var(--cyan); }

.tabs {
  display: flex; gap: 4px; overflow-x: auto; flex: 1; scrollbar-width: none;
  padding: 4px 0;
}
.tab:first-child { margin-inline-start: auto; }
.tab:last-child { margin-inline-end: auto; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 8px 13px; border-radius: 999px; font-weight: 700; font-size: 0.9rem;
  color: var(--muted); border: 1px solid transparent;
  transition: color .2s, background-color .2s, border-color .2s;
}
.tab:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.tab.active { color: var(--navy); background: var(--cyan); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 800; font-size: 1rem; font-family: var(--font);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s, background-color .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--cyan); color: var(--navy); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--aqua); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--cyan); }
.btn-wa { background: var(--wa); color: #06281a; }
.btn-wa:hover { box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .6); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn.disabled { opacity: .55; pointer-events: none; }

/* Layout */
.content { flex: 1; position: relative; z-index: 1; }
.content.enter > * { animation: rise .5s cubic-bezier(.2,.7,.2,1) both; }
.content.enter > *:nth-child(2) { animation-delay: .08s; }
.content.enter > *:nth-child(3) { animation-delay: .16s; }
.content.enter > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.section { max-width: 1200px; margin: 0 auto; padding: 72px 20px; }
.section-tight { padding-top: 40px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 700;
  color: var(--cyan); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--cyan); }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 900; line-height: 1.25; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; line-height: 1.35; margin-bottom: 14px; }
h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.accent { color: var(--cyan); }
.gold { color: var(--gold); }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11,19,43,.35) 0%, rgba(11,19,43,.92) 55%, var(--navy) 100%),
              url('https://images.pexels.com/photos/3098859/pexels-photo-3098859.jpeg?auto=compress&cs=tinysrgb&w=1400') center/cover no-repeat;
}
.hero .section { padding-top: 96px; padding-bottom: 96px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero h1 .accent { display: block; }
.hero .lead { margin: 22px 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: rgba(0,180,216,.1); border: 1px solid rgba(0,180,216,.3); font-size: .85rem; font-weight: 700;
}
.hero-card {
  background: rgba(28,37,65,.7); backdrop-filter: blur(14px); border: 1px solid var(--border);
  border-radius: 24px; padding: 22px; box-shadow: var(--shadow);
}
.hero-card { padding: 0; overflow: hidden; }
.hero-card img { width: 100%; height: auto; }
.hero-card .readout { padding: 0 16px 16px; margin-top: -8px; }
.readout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.readout div { background: var(--navy); border: 1px solid var(--border); border-radius: 12px; padding: 10px; text-align: center; }
.readout b { display: block; font-family: ui-monospace, monospace; font-size: 1.2rem; color: var(--aqua); direction: ltr; }
.readout span { font-size: .75rem; color: var(--muted); }

/* Cards / grids */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--navy-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(0,180,216,.45); box-shadow: var(--shadow); }
.card .ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px;
  background: rgba(0,180,216,.12); color: var(--cyan);
}
.card .ic svg { width: 24px; height: 24px; }
.card p { color: var(--muted); }
.feature-wide { grid-column: span 2; }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stat-strip div { padding: 26px; border-inline-start: 1px solid var(--border); }
.stat-strip div:first-child { border-inline-start: none; }
.stat-strip b { display: block; font-size: 2rem; font-weight: 900; color: var(--gold); }
.stat-strip span { color: var(--muted); font-size: .9rem; }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--navy-3); border: 1px solid var(--border); border-radius: 24px; padding: 36px;
}

/* Guide */
.guide-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.guide-toc { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 6px; }
.guide-toc a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; color: var(--muted); font-weight: 700;
  border: 1px solid transparent; transition: color .2s, border-color .2s, background-color .2s;
}
.guide-toc a:hover { color: var(--text); border-color: var(--border); background: var(--navy-2); }
.guide-block { scroll-margin-top: 90px; margin-bottom: 22px; }
.guide-layout > div:last-child { padding-bottom: 40vh; }
.steps { list-style: none; counter-reset: s; margin-top: 12px; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: flex; gap: 12px; color: var(--muted); }
.steps li::before {
  content: counter(s); flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: var(--navy); border: 1px solid var(--border); color: var(--cyan); font-weight: 800; font-size: .85rem;
}
.tip { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: rgba(255,183,3,.08); border-inline-start: 3px solid var(--gold); color: var(--text); font-size: .95rem; }

/* Pricing */
.region-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--navy-2); border: 1px solid var(--border); margin: 18px 0 6px; }
.region-switch button {
  font-family: var(--font); font-weight: 700; padding: 8px 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: transparent; color: var(--muted); transition: background-color .2s, color .2s;
}
.region-switch button.active { background: var(--cyan); color: var(--navy); }
.geo-status { font-size: .88rem; color: var(--muted); }
.yemen-banner {
  margin-top: 28px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  padding: 24px 28px; border-radius: 22px; border: 1px solid rgba(255,107,53,.45);
  background: linear-gradient(120deg, rgba(255,107,53,.16), rgba(255,183,3,.08));
}
.yemen-banner h3 { color: var(--gold); }
.countdown { display: flex; gap: 8px; direction: rtl; }
.countdown div { min-width: 64px; text-align: center; background: var(--navy); border: 1px solid var(--border); border-radius: 12px; padding: 8px; }
.countdown b { display: block; font-size: 1.5rem; font-family: ui-monospace, monospace; color: var(--text); }
.countdown span { font-size: .7rem; color: var(--muted); }
.plans { margin: 28px auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--cyan); box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--gold); color: var(--navy); font-weight: 800; font-size: .8rem; padding: 3px 12px; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 4px; }
.price-value { font-size: 3.2rem; font-weight: 900; line-height: 1; }
.price-currency { font-weight: 700; color: var(--muted); }
.price-old { text-decoration: line-through; color: var(--coral); font-weight: 700; }
.checklist { list-style: none; display: grid; gap: 10px; margin: 18px 0 24px; flex: 1; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li svg { color: var(--green); margin-top: 6px; }
.how-steps { counter-reset: h; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.how-steps .card { padding: 20px; }
.how-steps .card::before { counter-increment: h; content: '0' counter(h); font-family: ui-monospace, monospace; color: var(--cyan); font-weight: 800; display: block; margin-bottom: 6px; }

/* Download */
.store-btn { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-radius: 16px; background: var(--navy); border: 1px solid var(--border); transition: border-color .2s, transform .2s; }
.store-btn:hover { border-color: var(--cyan); transform: translateY(-2px); }
.store-btn svg { width: 30px; height: 30px; color: var(--cyan); }
.store-btn span { display: flex; flex-direction: column; line-height: 1.3; }
.store-btn small { color: var(--muted); font-size: .8rem; }
.store-btn b { font-size: 1.1rem; }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin-top: 24px; }
.faq-item { background: var(--navy-2); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: rgba(0,180,216,.5); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 800; display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--cyan); transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--muted); }

/* Privacy */
.prose { max-width: 860px; }
.prose h3 { margin-top: 30px; color: var(--cyan); }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-inline-start: 22px; margin-top: 8px; display: grid; gap: 6px; }
.prose a { color: var(--cyan); text-decoration: underline; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); position: relative; z-index: 1; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 28px 20px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--cyan); }

/* Responsive */
@media (min-width: 1101px) and (max-width: 1300px) {
  .tab i, .tab svg { display: none; }
}
@media (max-width: 1100px) {
  .header-inner { flex-wrap: wrap; padding: 10px 14px 0; }
  .tabs { order: 3; flex-basis: 100%; padding-bottom: 8px; }
  .header-wa { margin-inline-start: auto; }
}
@media (max-width: 960px) {
  .hero-grid, .guide-layout { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip, .how-steps { grid-template-columns: repeat(2, 1fr); }
  .stat-strip div:nth-child(3) { border-inline-start: none; }
  .stat-strip div:nth-child(n+3) { border-top: 1px solid var(--border); }
  .guide-toc { position: static; flex-direction: row; overflow-x: auto; }
  .guide-toc a { white-space: nowrap; }
}
@media (max-width: 720px) {
  .section { padding: 48px 16px; }
  .hero .section { padding-top: 56px; padding-bottom: 56px; }
  .grid-3, .grid-2, .plans { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; }
  .yemen-banner { grid-template-columns: 1fr; }
  .countdown div { min-width: 0; flex: 1; }
  .cta-band { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
