:root {
  --bg: #f8f9fc; --fg: #0f111a; --card: #ffffff; --muted: #f1f3f7;
  --muted-fg: #5e6278; --primary: #2b55e0; --primary-fg: #ffffff;
  --accent: #e8ecff; --border: #e1e4eb; --secondary: #0f111a; --secondary-fg: #f8f9fc;
  --radius: 0.625rem; --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.06); --shadow-lg: 0 12px 32px rgba(0,0,0,0.10);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter","IBM Plex Sans Arabic",system-ui,-apple-system,sans-serif;
  background: var(--bg); color: var(--fg); line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; }
.text-center { text-align: center; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-1_5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2_5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0,1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.hidden { display: none; }
.inline-flex { display: inline-flex; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1_5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-7 { margin-bottom: 1.75rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-9 { margin-bottom: 2.25rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mt-0_5 { margin-top: 0.125rem; }
.mt-1_5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.py-0_5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1_5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2_5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2_5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.p-2 { padding: 0.5rem; }
.p-2_5 { padding: 0.625rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-10 { padding: 2.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-16 { padding-top: 4rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-24 { padding-bottom: 6rem; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top:0; right:0; bottom:0; left:0; }
.-z-10 { z-index: -10; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.no-scrollbar::-webkit-scrollbar { display:none; }
.no-scrollbar { -ms-overflow-style:none; scrollbar-width:none; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 1rem; }
.rounded-2xl { border-radius: 1.25rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.size-2_5 { width: 0.625rem; height: 0.625rem; }
.size-3 { width: 0.75rem; height: 0.75rem; }
.size-3_5 { width: 0.875rem; height: 0.875rem; }
.size-4 { width: 1rem; height: 1rem; }
.size-5 { width: 1.25rem; height: 1.25rem; }
.size-6 { width: 1.5rem; height: 1.5rem; }
.size-8 { width: 2rem; height: 2rem; }
.size-9 { width: 2.25rem; height: 2.25rem; }
.size-11 { width: 2.75rem; height: 2.75rem; }
.size-12 { width: 3rem; height: 3rem; }
.size-20 { width: 5rem; height: 5rem; }
.h-5 { height: 1.25rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.w-24 { width: 6rem; }
.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.min-h-screen { min-height: 100vh; }
.max-w-290 { max-width: 290px; }
.aspect-9-19 { aspect-ratio: 9/19; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-5xl { font-size: 3rem; }
.text-7xl { font-size: 4.5rem; }
.text-10px { font-size: 0.625rem; }
.text-11px { font-size: 0.6875rem; }
.text-9px { font-size: 0.5625rem; }
.leading-relaxed { line-height: 1.625; }
.leading-1_05 { line-height: 1.05; }
.tracking-tight { letter-spacing: -0.02em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.bg-white { background: #fff; }
.text-white { color: #fff; }
.text-primary { color: var(--primary); }
.text-primary-fg { color: var(--primary-fg); }
.text-muted-fg { color: var(--muted-fg); }
.text-emerald-400 { color: #34d399; }
.text-emerald-500 { color: #10b981; }
.text-amber-400 { color: #fbbf24; }
.text-amber-500 { color: #f59e0b; }
.bg-primary { background: var(--primary); }
.bg-primary-fg { background: var(--primary-fg); }
.bg-muted { background: var(--muted); }
.bg-card { background: var(--card); }
.bg-black { background: #000; }
.bg-white-5 { background: rgba(255,255,255,0.05); }
.bg-white-10 { background: rgba(255,255,255,0.10); }
.bg-emerald-20 { background: rgba(16,185,129,0.20); }
.bg-amber-20 { background: rgba(245,158,11,0.20); }
.bg-primary-10 { background: rgba(43,85,224,0.10); }
.bg-primary-20 { background: rgba(43,85,224,0.20); }
.bg-primary-30 { background: rgba(43,85,224,0.30); }
.bg-accent { background: var(--accent); }
.bg-secondary { background: var(--secondary); }
.border { border: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.border-white-5 { border-color: rgba(255,255,255,0.05); }
.border-white-10 { border-color: rgba(255,255,255,0.10); }
.border-primary-15 { border-color: rgba(43,85,224,0.15); }
.border-primary-30 { border-color: rgba(43,85,224,0.30); }
.backdrop-blur { backdrop-filter: blur(12px); }
.backdrop-blur-xl { backdrop-filter: blur(20px); }
.transition { transition: all 0.2s ease; }
.transition-transform { transition: transform 0.3s ease; }
.hover-scale-110:hover { transform: scale(1.1); }
.hover-translate-y:hover { transform: translateY(-2px); }
.hover-text-fg:hover { color: var(--fg); }
.hover-border-primary:hover { border-color: rgba(43,85,224,0.30); }
.hover-shadow-lg:hover { box-shadow: var(--shadow-lg); }
.hover-bg-primary-90:hover { background: rgba(43,85,224,0.90); }
.hover-bg-muted:hover { background: var(--muted); }
h1, h2, h3, h4 { line-height: 1.2; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 500; border-radius: 9999px;
  padding: 0.5rem 1.25rem; border: none; cursor: pointer; transition: all 0.2s ease; text-decoration: none;
}
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { background: rgba(43,85,224,0.90); }
.btn-outline { background: transparent; color: var(--fg); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--muted); }
.btn-lg { height: 3rem; padding: 0 1.75rem; font-size: 0.875rem; }
.btn-white { background: var(--primary-fg); color: var(--primary); }
.input {
  height: 3rem; padding: 0 1.25rem; border-radius: 9999px; border: 1px solid var(--border);
  background: var(--card); color: var(--fg); font-size: 0.875rem; outline: none; width: 100%;
}
.input:focus { border-color: var(--primary); }
.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(20px);
  background: rgba(248,249,252,0.70);
  border-bottom: 1px solid rgba(225,228,235,0.60);
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary), rgba(43,85,224,0.60));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.glow-bg { pointer-events: none; position: fixed; inset: 0; overflow: hidden; z-index: -1; }
.glow-1 {
  position: absolute; top: -10rem; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px; border-radius: 50%; background: rgba(43,85,224,0.10); filter: blur(80px);
}
.glow-2 {
  position: absolute; top: 50%; left: -10rem;
  width: 500px; height: 500px; border-radius: 50%; background: rgba(232,236,255,0.40); filter: blur(80px);
}
.phone-wrap { margin: 0 auto; width: 100%; max-width: 290px; }
.phone-shell {
  position: relative; border-radius: 2.5rem; background: #171717;
  padding: 0.5rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); border: 1px solid #262626;
}
.phone-notch {
  position: absolute; top: 0.625rem; left: 50%; transform: translateX(-50%);
  width: 6rem; height: 1.25rem; background: #171717; border-radius: 9999px; z-index: 20;
}
.phone-screen {
  position: relative; border-radius: 2rem; overflow: hidden; background: #0a0a0a; aspect-ratio: 9/19;
}
.tab-bar {
  margin: 0 0.75rem 0.75rem; border-radius: 9999px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(8px); display: grid; grid-template-columns: repeat(3, 1fr); padding: 0.375rem;
}
.tab-item { display: flex; flex-direction: column; align-items: center; gap: 0.125rem; padding: 0.375rem 0; border-radius: 9999px; }
.tab-item.active { background: rgba(255,255,255,0.10); }
.tab-item svg { width: 1rem; height: 1rem; }
.tab-item.active svg { color: #fff; }
.tab-item span { font-size: 0.5625rem; font-weight: 500; }
.tab-item.active span { color: #fff; }
.tab-item:not(.active) svg, .tab-item:not(.active) span { color: rgba(255,255,255,0.60); }
.avatar {
  border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; flex-shrink: 0;
}
.feature-card {
  padding: 1.5rem; border-radius: 1.25rem; background: var(--card); border: 1px solid var(--border); transition: all 0.2s ease;
}
.feature-card:hover {
  border-color: rgba(43,85,224,0.30); box-shadow: var(--shadow-lg); transform: translateY(-2px);
}
.feature-icon-wrap {
  width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; background: var(--accent); color: var(--primary);
  display: grid; place-items: center; margin-bottom: 1.25rem; transition: transform 0.2s ease;
}
.feature-card:hover .feature-icon-wrap { transform: scale(1.1); }
.chip {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.375rem 0.75rem; border-radius: 9999px; background: var(--bg); border: 1px solid var(--border); font-size: 0.75rem; font-weight: 500;
}
.chip svg { width: 0.875rem; height: 0.875rem; color: var(--primary); }
.cta-box {
  border-radius: 1.5rem; background: var(--secondary); color: var(--secondary-fg);
  padding: 2.5rem; text-align: center; position: relative; overflow: hidden;
}
.cta-box .cta-gradient {
  position: absolute; inset: 0; background: linear-gradient(135deg, rgba(43,85,224,0.20), transparent, transparent); pointer-events: none;
}
.cta-box .cta-content { position: relative; }
.cta-box .input-dark {
  height: 3rem; padding: 0 1.25rem; border-radius: 9999px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.15);
  color: var(--secondary-fg); font-size: 0.875rem; outline: none; width: 100%;
}
.cta-box .input-dark::placeholder { color: rgba(255,255,255,0.40); }
.cta-box .input-dark:focus { border-color: rgba(255,255,255,0.30); }
.check-circle {
  width: 5rem; height: 5rem; border-radius: 50%; background: rgba(43,85,224,0.10); color: var(--primary);
  display: grid; place-items: center; margin: 0 auto 1.5rem;
}
.check-circle svg { width: 3rem; height: 3rem; }
.step-list {
  background: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 1.25rem; text-align: left;
}
.step-item { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.5rem 0; }
.step-num {
  width: 1.5rem; height: 1.5rem; border-radius: 50%; flex-shrink: 0; background: var(--primary); color: var(--primary-fg);
  display: grid; place-items: center; font-size: 0.625rem; font-weight: 600; margin-top: 0.125rem;
}
.lang-toggle { display: inline-flex; align-items: center; border-radius: 9999px; background: var(--muted); padding: 0.125rem; }
.lang-toggle button { border: none; background: transparent; font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 9999px; cursor: pointer; color: var(--muted-fg); }
.lang-toggle button.active { background: var(--card); box-shadow: var(--shadow-sm); color: var(--fg); }
.footer-link { font-size: 0.75rem; font-weight: 500; color: var(--muted-fg); text-transform: uppercase; letter-spacing: 0.1em; }
.footer-link:hover { color: var(--fg); }
@media (min-width: 640px) {
  .sm-flex-row { flex-direction: row; }
  .sm-inline-flex { display: inline-flex; }
  .sm-grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sm-text-base { font-size: 1rem; }
  .sm-text-lg { font-size: 1.125rem; }
  .sm-text-4xl { font-size: 2.25rem; }
}
@media (min-width: 768px) {
  .md-flex { display: flex; }
  .md-grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .md-grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .md-grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .md-flex-row { flex-direction: row; }
  .md-pt-24 { padding-top: 6rem; }
  .md-py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .md-px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md-text-5xl { font-size: 3rem; }
  .md-text-7xl { font-size: 4.5rem; }
  .md-text-xl { font-size: 1.25rem; }
  .md-p-16 { padding: 4rem; }
  .md-translate-y-6 { transform: translateY(1.5rem); }
  .md-minus-translate-y-2 { transform: translateY(-0.5rem); }
  .md-gap-4 { gap: 1rem; }
  .md-gap-14 { gap: 3.5rem; }
  .md-text-start { text-align: start; }
  .md-text-lg { font-size: 1.125rem; }
  .md-text-sm { font-size: 0.875rem; }
}
@media (min-width: 1024px) {
  .lg-grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
