:root {
  --bg: #FFF8F0;
  --card: #FFFFFF;
  --surf: #FFF1DF;
  --border: #EDE0CE;
  --border-strong: #DDCBB1;
  --text: #231B36;
  --text2: #635A78;
  --primary: #6C5CE7;
  --primary-end: #5342D6;
  --primary-soft: #ECE9FF;
  --primary-text: #5143C9;
  --teal: #14B8A6;
  --teal-soft: #DDF6F1;
  --teal-text: #0B7466;
  --coral: #D14B22;
  --coral-end: #A3300E;
  --coral-soft: #FFE8E0;
  --coral-text: #B0401C;
  --success: #12804F;
  --success-soft: #DFF7EA;
  --dark-bg: #16141F;
  --dark-card: #211D30;
  --dark-border: #342F4B;
  --shadow-sm: 0 4px 16px rgba(35, 27, 54, 0.05);
  --shadow-md: 0 16px 40px rgba(35, 27, 54, 0.08);
  --shadow-phone: 0 32px 72px rgba(24, 18, 44, 0.28);
  --font-head: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

html[dir="rtl"] {
  --font-head: 'IBM Plex Sans Arabic', system-ui, -apple-system, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .font-head { font-family: var(--font-head); letter-spacing: -0.02em; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] .font-head { letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.tabular { font-variant-numeric: tabular-nums; }

.container { max-width: 1140px; margin: 0 auto; padding-inline: 20px; }

/* ── Navbar ── */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 240, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; font-family: var(--font-head); flex-shrink: 0; white-space: nowrap; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 4px 12px rgba(84, 102, 184, 0.28); flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; color: var(--text2); }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 14px;
  padding: 11px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-end));
  color: #fff;
  box-shadow: 0 8px 20px rgba(108, 92, 231, 0.28);
}
.btn-dark {
  background: #1B1729;
  color: #fff;
  padding: 14px 22px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(27, 23, 41, 0.22);
}
.btn-outline {
  background: var(--card);
  color: var(--text);
  border-color: var(--border-strong);
  padding: 13px 20px;
  border-radius: 16px;
}
.btn-lang {
  background: var(--card);
  color: var(--text);
  border-color: var(--border-strong);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
}

/* ── Hero ── */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 54px 0 42px;
  background:
    radial-gradient(620px 420px at 82% 24%, rgba(108, 92, 231, 0.16), transparent 65%),
    radial-gradient(540px 380px at 94% 62%, rgba(255, 122, 89, 0.16), transparent 65%),
    radial-gradient(480px 320px at 14% 20%, rgba(20, 184, 166, 0.10), transparent 65%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.trust-dot { width: 8px; height: 8px; border-radius: 50%; background: #16A34A; }
.hero-title {
  margin: 18px 0 14px;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.12;
  font-weight: 800;
  color: var(--text);
}
.hero-sub {
  margin: 0 0 26px;
  font-size: 17px;
  color: var(--text2);
  max-width: 540px;
  line-height: 1.65;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.play-badge-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.play-badge-small { font-size: 10px; font-weight: 600; opacity: 0.78; letter-spacing: 0.04em; text-transform: uppercase; }
.play-badge-big { font-size: 15px; font-weight: 800; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  max-width: 470px;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.stat-num { font-family: var(--font-head); font-size: 24px; font-weight: 800; line-height: 1.1; }
.stat-label { font-size: 12px; color: var(--text2); margin-top: 4px; line-height: 1.35; font-weight: 500; }

/* ── Hero Phone Showcase ── */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 24px;
}
.phone-bezel {
  width: 286px;
  border-radius: 40px;
  padding: 10px;
  background: linear-gradient(155deg, #2B263F, #110F1B);
  box-shadow: var(--shadow-phone), 0 0 0 1px rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  border-radius: 31px;
  display: block;
  aspect-ratio: 9 / 17.5;
  object-fit: cover;
  object-position: top;
  background: #13111C;
}
.float-notif {
  position: absolute;
  top: 56px;
  inset-inline-start: -38px;
  z-index: 5;
  width: 236px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(237, 224, 206, 0.95);
  border-radius: 20px;
  padding: 12px 14px;
  box-shadow: 0 18px 40px rgba(35, 27, 54, 0.16);
  animation: floatY 4.2s ease-in-out infinite;
}
.float-notif-title { font-size: 12.5px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.float-notif-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.float-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--surf);
  color: var(--text);
  border: 1px solid var(--border);
}
.float-pill-keep { background: var(--success-soft); color: var(--success); border-color: transparent; }
.float-pill-cancel { background: #FFE3EA; color: #C2234A; border-color: transparent; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.shot-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
  max-width: 390px;
}
.shot-tab {
  border: 1px solid var(--border-strong);
  background: var(--card);
  color: var(--text);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s ease;
}
.shot-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 6px 14px rgba(108, 92, 231, 0.25);
}
.shot-caption { font-size: 12.5px; color: var(--text2); margin-top: 10px; text-align: center; min-height: 20px; }

/* ── Brand Marquee Strip ── */
.brands-strip {
  padding: 26px 0 34px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.52);
}
.brands-title {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text2);
  margin: 0 0 16px;
}
.brands-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ── Section Headers ── */
.sec { padding: 72px 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; }
.sec-title { margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.18; font-weight: 800; }
.sec-sub { margin: 0; font-size: 16px; color: var(--text2); }

/* ── 3-Pillar Bento Grid ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.bento-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 26px 24px 0;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.bento-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.bento-card h3 { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 800; }
.bento-list { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.bento-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--text2); line-height: 1.45; }
.bento-check { font-weight: 900; flex-shrink: 0; }
.bento-shot-wrap {
  margin: 0 auto;
  width: 88%;
  border-radius: 24px 24px 0 0;
  padding: 8px 8px 0;
  background: #171422;
  box-shadow: 0 -8px 24px rgba(23, 20, 34, 0.12);
}
.bento-shot {
  width: 100%;
  height: 265px;
  object-fit: cover;
  object-position: top;
  border-radius: 17px 17px 0 0;
  display: block;
}

/* ── Calculator Section ── */
.calc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 36px;
  align-items: center;
}
.calc-eyebrow { font-size: 12px; font-weight: 800; color: var(--coral-text); letter-spacing: 0.04em; text-transform: uppercase; }
.calc-card h2 { margin: 8px 0 24px; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 800; }
.slider-group { margin-bottom: 20px; }
.slider-head { display: flex; justify-content: space-between; font-size: 14.5px; font-weight: 700; margin-bottom: 10px; }
.slider-input { width: 100%; height: 8px; cursor: pointer; }
.slider-violet { accent-color: var(--primary); }
.slider-coral { accent-color: var(--coral); }
.calc-result {
  background: linear-gradient(135deg, var(--coral), var(--coral-end));
  color: #fff;
  border-radius: 26px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 16px 36px rgba(209, 75, 34, 0.28);
}
.calc-res-label { font-size: 13px; font-weight: 600; opacity: 0.88; }
.calc-res-amount { font-family: var(--font-head); font-size: clamp(36px, 4vw, 48px); font-weight: 800; margin: 6px 0 18px; line-height: 1.05; }
.calc-divider { height: 1px; background: rgba(255, 255, 255, 0.22); margin: 0 0 18px; }
.calc-save-pill {
  display: inline-block;
  background: #16A34A;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

/* ── Dark Privacy Fortress & Comparison ── */
.fortress-sec {
  background: var(--dark-bg);
  color: #F5F3FF;
  padding: 76px 0;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(640px 360px at 50% 0%, rgba(108, 92, 231, 0.22), transparent 68%);
}
.fortress-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 800;
  color: #BEB6FF;
  margin-bottom: 14px;
}
.fortress-sec .sec-sub { color: #B2ABC9; }
.compare-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(33, 29, 48, 0.88);
  border: 1px solid var(--dark-border);
  border-radius: 26px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.compare-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.compare-table th, .compare-table td { padding: 18px 20px; text-align: start; border-bottom: 1px solid var(--dark-border); }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: #B2ABC9; background: rgba(255, 255, 255, 0.03); }
.compare-table thead th.col-memixa { color: #BEB6FF; font-weight: 800; }
.cell-good { color: #6EE0A4; font-weight: 700; }
.cell-bad { color: #B2ABC9; }

/* ── Languages RTL Banner ── */
.lang-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 34px 36px 0;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: center;
  overflow: hidden;
}
.lang-content { padding-bottom: 34px; }
.lang-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.lang-pill {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  font-size: 13.5px;
  font-weight: 700;
}
.lang-pill.featured { background: var(--primary); color: #fff; border-color: var(--primary); }
.lang-phone {
  width: 240px;
  margin: 0 auto;
  border-radius: 28px 28px 0 0;
  padding: 8px 8px 0;
  background: #171422;
  box-shadow: 0 -10px 28px rgba(23, 20, 34, 0.16);
}
.lang-phone img { width: 100%; height: 240px; object-fit: cover; object-position: top; border-radius: 21px 21px 0 0; display: block; }

/* ── FAQ Grid ── */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; font-weight: 500; color: var(--primary-text); flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 12px 0 0; font-size: 14px; color: var(--text2); line-height: 1.65; }

/* ── Final CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-end));
  color: #fff;
  border-radius: 32px;
  padding: 52px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(83, 66, 214, 0.30);
}
.cta-banner::before, .cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  pointer-events: none;
}
.cta-banner::before { width: 220px; height: 220px; top: -80px; inset-inline-end: -40px; }
.cta-banner::after { width: 160px; height: 160px; bottom: -60px; inset-inline-start: -30px; }
.cta-banner h2 { margin: 0 0 10px; font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; position: relative; }
.cta-banner p { margin: 0 0 26px; font-size: 16px; opacity: 0.9; position: relative; }
.btn-white {
  background: #fff;
  color: var(--primary-end);
  padding: 15px 28px;
  border-radius: 16px;
  font-size: 15.5px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  position: relative;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 40px;
  margin-top: 56px;
  font-size: 13.5px;
  color: var(--text2);
}
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-weight: 600; }
.footer-links a:hover { color: var(--primary-text); }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-grid, .bento-grid, .calc-card, .lang-card, .faq-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-section { padding: 28px 0 36px; }
  .hero-grid { gap: 32px; }
  .hero-sub { font-size: 15.5px; margin-bottom: 22px; }
  .phone-stage { flex-direction: column; padding: 6px 0; gap: 14px; }
  .float-notif {
    position: static;
    width: 100%;
    max-width: 300px;
    animation: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .float-notif-actions { justify-content: center; }
  .calc-card { padding: 24px; gap: 24px; }
  .lang-card { padding: 26px 22px 0; text-align: center; }
  .lang-pills { justify-content: center; }
  .sec { padding: 52px 0; }
  .fortress-sec { padding: 56px 0; }
  .sec-head { margin-bottom: 30px; }
}
@media (max-width: 560px) {
  .container { padding-inline: 16px; }
  .nav { height: 62px; gap: 8px; }
  .brand { font-size: 16.5px; gap: 8px; }
  .brand img { width: 32px; height: 32px; border-radius: 9px; }
  .nav-actions { gap: 6px; }
  .btn-lang { padding: 7px 11px; font-size: 12px; }
  .nav-actions .btn-primary { padding: 8px 12px; font-size: 12px; border-radius: 11px; }
  .trust-pill {
    font-size: 11.5px;
    padding: 6px 12px;
    line-height: 1.35;
    max-width: 100%;
  }
  .trust-dot { flex-shrink: 0; }
  .hero-title { font-size: 30px; line-height: 1.15; margin: 14px 0 12px; }
  .hero-sub { font-size: 15px; line-height: 1.6; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; padding: 13px 18px; }
  .hero-stats { gap: 8px; margin-top: 20px; max-width: 100%; }
  .stat-card { padding: 12px 8px; text-align: center; border-radius: 16px; }
  .stat-num { font-size: 20px; }
  .stat-label { font-size: 11px; }
  .phone-bezel { width: min(272px, 82vw); border-radius: 36px; padding: 9px; }
  .phone-screen { border-radius: 28px; }
  .shot-switcher { gap: 6px; }
  .shot-tab { padding: 6px 10px; font-size: 11.5px; }
  .brands-row { gap: 7px; }
  .brand-chip { padding: 6px 11px; font-size: 11.5px; }
  .bento-card { padding: 22px 18px 0; border-radius: 24px; }
  .bento-shot-wrap { width: 92%; }
  .bento-shot { height: 235px; }
  .calc-card { padding: 20px 18px; border-radius: 24px; }
  .calc-result { padding: 24px 18px; border-radius: 22px; }
  .calc-save-pill { font-size: 12.5px; padding: 9px 14px; }
  .compare-table th, .compare-table td { padding: 12px 10px; font-size: 12px; }
  .faq-item { padding: 16px 18px; border-radius: 18px; }
  .faq-item summary { font-size: 14.5px; }
  .cta-banner { padding: 36px 20px; border-radius: 26px; }
  .btn-white { width: 100%; padding: 14px 20px; font-size: 14.5px; }
  .footer { margin-top: 36px; padding: 26px 0 34px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-links { gap: 14px; }
}
@media (max-width: 420px) {
  .hide-xs { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .float-notif { animation: none; }
  html { scroll-behavior: auto; }
}
