/* Vozi Pro — official Arabic landing site */
:root {
  --bg-deep: #0d1118;
  --bg: #121620;
  --bg-card: #252a36;
  --bg-card-top: #2e3544;
  --accent: #007bff;
  --accent-2: #0056b3;
  --accent-soft: rgba(0, 123, 255, 0.18);
  --accent-glow: rgba(0, 123, 255, 0.35);
  --card-border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.88);
  --text-muted: #a0aec0;
  --success: #22c55e;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --max: 1140px;
  --font: "Tajawal", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --code: #5eb3ff;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  direction: rtl;
}

body {
  margin: 0;
  font-family: var(--font);
  text-align: right;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 100% -5%, rgba(0, 123, 255, 0.22), transparent 55%),
    radial-gradient(700px 420px at 0% 100%, rgba(26, 39, 64, 0.9), transparent 50%),
    linear-gradient(160deg, var(--bg-deep) 0%, var(--bg) 45%, #1a2740 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(18, 22, 32, 0.88);
  border-bottom: 1px solid var(--card-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--card-border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.brand-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #fff, #c8d9f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-desktop a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  background: var(--accent-soft);
  color: var(--text);
}

.nav-cta {
  background: linear-gradient(90deg, var(--accent), var(--accent-2)) !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 24px var(--accent-glow);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 32px var(--accent-glow);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--card-border);
  background: var(--bg-card);
  color: var(--text);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 1.25rem;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 16px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  font-weight: 500;
  border: 1px solid transparent;
}

.mobile-nav a:hover {
  background: var(--accent-soft);
  border-color: rgba(0, 123, 255, 0.25);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 28px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px var(--accent-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--card-border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-appstore {
  background: #fff;
  color: #121620;
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-appstore:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.15);
}

.btn-appstore svg { flex-shrink: 0; }

/* ── Hero ── */
.hero {
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  top: -200px;
  left: -100px;
  pointer-events: none;
  opacity: 0.5;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 123, 255, 0.3);
  color: #7ec8ff;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #fff 20%, #5eb3ff 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-soft);
  margin: 0 0 24px;
  max-width: 540px;
}

.hero-note {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.12), rgba(0, 86, 179, 0.08));
  border: 1px solid rgba(0, 123, 255, 0.35);
  margin-bottom: 28px;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.hero-note strong { color: var(--code); font-size: 1.1em; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.stat-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-frame {
  width: min(100%, 300px);
  padding: 12px;
  border-radius: 36px;
  background: linear-gradient(145deg, #3a4254, #1a1f2b);
  border: 2px solid var(--card-border);
  box-shadow: var(--shadow), 0 0 80px var(--accent-glow);
}

.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 9/19;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  position: relative;
}

.phone-screen img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin-bottom: 16px;
}

.phone-screen .app-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.phone-screen .code-display {
  margin-top: 20px;
  padding: 12px 24px;
  background: var(--accent-soft);
  border: 1px dashed rgba(0, 123, 255, 0.5);
  border-radius: 12px;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--code);
}

.phone-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--success);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ── Sections ── */
.section {
  padding: 64px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: linear-gradient(145deg, var(--bg-card-top), var(--bg-card));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 123, 255, 0.25);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 123, 255, 0.25);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Code box */
.code-box {
  text-align: center;
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--bg-card-top), var(--bg-card));
  border: 2px solid rgba(0, 123, 255, 0.4);
  box-shadow: 0 0 60px var(--accent-glow);
}

.code-box span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.code-box strong {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--code);
  text-shadow: 0 0 40px var(--accent-glow);
}

.code-box .btn-copy {
  margin-top: 20px;
}

/* Steps */
.steps { display: flex; flex-direction: column; gap: 16px; }

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: linear-gradient(145deg, var(--bg-card-top), var(--bg-card));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.step-item h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.step-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.step-item p + p { margin-top: 8px; }

/* CTA band */
.cta-band {
  margin: 48px 0;
  padding: 48px 32px;
  border-radius: var(--radius);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(0, 123, 255, 0.15), rgba(0, 86, 179, 0.08)),
    linear-gradient(145deg, var(--bg-card-top), var(--bg-card));
  border: 1px solid rgba(0, 123, 255, 0.3);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
}

.cta-band p {
  margin: 0 0 24px;
  color: var(--text-muted);
  max-width: 520px;
  margin-inline: auto;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: right;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-q::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.2s;
}

.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item.open .faq-a { display: block; }

/* Page hero (inner pages) */
.page-hero {
  padding: 48px 0 32px;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 800;
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Download cards */
.platform-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.platform-card {
  text-align: center;
  padding: 40px 28px;
}

.platform-card .platform-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.platform-card h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.platform-card p {
  color: var(--text-muted);
  margin: 0 0 24px;
  font-size: 0.95rem;
}

.badge-available {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Footer */
.site-footer {
  margin-top: 64px;
  padding: 48px 0 32px;
  border-top: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 12px 0 0;
  max-width: 280px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.footer-col a {
  display: block;
  padding: 6px 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Privacy prose */
.prose {
  background: linear-gradient(145deg, var(--bg-card-top), var(--bg-card));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 48px);
  box-shadow: var(--shadow);
}

.prose h2 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
  padding-right: 14px;
  border-right: 4px solid var(--accent);
}

.prose h2:first-child { margin-top: 0; }

.prose p, .prose li {
  color: var(--text-soft);
  font-size: 0.98rem;
}

.prose ul {
  padding-right: 1.25rem;
  margin: 12px 0;
}

.highlight-inline {
  background: var(--accent-soft);
  border: 1px solid rgba(0, 123, 255, 0.3);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 16px 0;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-lead, .hero-note { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero { padding: 36px 0 48px; }
  .section { padding: 48px 0; }
  .btn { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .step-item { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card:hover, .btn-primary:hover { transform: none; }
}
