/* ============ Taxora | Design System ============ */
:root {
  --bg: #F8FAFC;
  --bg-soft: #F1F5F9;
  --surface: #FFFFFF;
  --ink: #0F172A;
  --ink-soft: #475569;
  --ink-mute: #94A3B8;
  --navy: #0B1220;
  --navy-2: #0F1A2E;
  --teal: #10B981;
  --teal-dark: #059669;
  --sky: #0EA5E9;
  --gold: #F59E0B;
  --ring: rgba(16, 185, 129, .35);
  --grad-teal: linear-gradient(135deg, #10B981 0%, #0EA5E9 100%);
  --grad-gold: linear-gradient(135deg, #F59E0B, #F97316);
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .07), 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 18, 32, .35);
  --font-head: 'Cairo', sans-serif;
  --font-body: 'Tajawal', sans-serif;
}

/* ============ Scroll Progress Bar ============ */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  width: 0;
  height: 3px;
  background: var(--grad-teal);
  z-index: 999;
  transition: width .1s linear;
  border-radius: 0 0 0 3px;
}

/* ============ Back to Top ============ */
.back-to-top {
  position: fixed;
  bottom: 90px;
  inset-inline-end: 22px;
  z-index: 110;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-teal);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px -6px var(--ring);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .3s, transform .3s, box-shadow .2s;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px var(--ring);
}
.back-to-top svg { width: 22px; height: 22px; }

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  overflow-x: hidden;
}

img, svg { display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .95rem;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--grad-teal);
  color: #fff;
  box-shadow: 0 8px 22px -8px var(--ring);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px var(--ring); }

.btn-ghost {
  background: rgba(255,255,255,.06);
  color: var(--ink);
  border-color: rgba(15,23,42,.12);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }

.btn-lg { padding: .95rem 1.9rem; font-size: 1.05rem; }

/* ============ Navbar ============ */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding: .9rem 0;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.navbar.scrolled {
  background: rgba(11,18,32,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
  padding: .55rem 0;
}
.navbar.scrolled .brand-text, .navbar.scrolled .nav-links a { color: #E2E8F0; }
.navbar.scrolled .nav-links a:hover { color: #fff; }

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px -6px var(--ring);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.brand-text { font-family: var(--font-head); font-weight: 900; font-size: 1.25rem; color: #fff; }
.brand-light .brand-text { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  color: #94A3B8;
  transition: color .18s ease;
  position: relative;
}
.nav-links a:hover { color: #fff; }
.nav-links a::after {
  content: '';
  position: absolute;
  right: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad-teal);
  border-radius: 2px;
  transition: width .22s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { padding: .55rem 1.2rem; font-size: .9rem; }

/* ============ Nav Controls ============ */
.nav-controls { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }

/* ============ Language Toggle ============ */
.lang-toggle {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: #CBD5E1;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: .85rem;
  transition: background .2s, color .2s, border-color .2s;
  flex-shrink: 0;
}
.lang-toggle:hover { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.3); }
.lang-toggle .lang-en { display: none; }
body.lang-en .lang-toggle .lang-ar { display: none; }
body.lang-en .lang-toggle .lang-en { display: inline; }
.navbar.scrolled .lang-toggle { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: #94A3B8; }

/* ============ Live Downloads Counter ============ */
.live-counter {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.2rem;
  padding: .5rem 1rem;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.25);
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  color: #A7F3D0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 9rem 0 6rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.mesh { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.mesh-1 { width: 480px; height: 480px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(16,185,129,.4), transparent 65%); }
.mesh-2 { width: 520px; height: 520px; bottom: -200px; left: -160px; background: radial-gradient(circle, rgba(14,165,233,.32), transparent 65%); }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 3.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 700;
  font-family: var(--font-head);
  color: #A7F3D0;
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.35);
  border-radius: 999px;
  padding: .35rem 1rem;
  margin-bottom: 1.4rem;
}
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(16,185,129,.25); }

.hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.35;
  margin-bottom: 1.2rem;
}
.grad { background: var(--grad-teal); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-sub { color: #A5B4CB; font-size: 1.12rem; max-width: 34rem; margin-bottom: 2rem; }

.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-actions .btn-ghost { color: #E2E8F0; border-color: rgba(255,255,255,.18); }
.hero-actions .btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

.trust { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.trust-item { display: inline-flex; align-items: center; gap: .45rem; color: #CBD5E1; font-size: .88rem; font-weight: 500; }
.trust-item svg { width: 16px; height: 16px; color: var(--teal); }

/* --- browser mockup --- */
.hero-visual { position: relative; }
.browser {
  background: #0B1524;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: .5rem;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #F87171; } .dot-y { background: #FBBF24; } .dot-g { background: #34D399; }
.url {
  flex: 1;
  margin-inline: .6rem;
  text-align: center;
  font-size: .76rem;
  color: #94A3B8;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 999px;
  padding: .28rem .8rem;
  direction: ltr;
}

.browser-body { position: relative; padding: 1.2rem; display: flex; flex-direction: column; gap: .9rem; min-height: 340px; }
.mini-row { display: flex; justify-content: space-between; align-items: center; }
.mini-line { height: 10px; border-radius: 6px; background: rgba(255,255,255,.08); }
.w-60 { width: 60%; } .w-50 { width: 50%; } .w-65 { width: 65%; } .w-70 { width: 70%; } .w-55 { width: 55%; } .w-40 { width: 40%; } .w-80 { width: 80%; } .w-25 { width: 25%; }
.mini-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); border-radius: 10px; padding: .8rem; display: flex; flex-direction: column; gap: .45rem; }

/* floating popup */
.popup {
  position: absolute;
  top: 58px;
  left: -70px;
  width: 240px;
  background: linear-gradient(160deg, #101D33, #0B1524);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  box-shadow: 0 24px 50px -16px rgba(0,0,0,.65);
  padding: 1rem;
  animation: float 5.5s ease-in-out infinite;
}
.popup-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.popup-logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--grad-teal); color: #fff; }
.popup-logo svg { width: 16px; height: 16px; }
.popup-title { font-family: var(--font-head); font-weight: 800; font-size: .95rem; }
.popup-status { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: #CBD5E1; margin-bottom: .7rem; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 1.4s ease-in-out infinite; }
.progress { height: 7px; background: rgba(255,255,255,.09); border-radius: 999px; overflow: hidden; margin-bottom: .8rem; }
.progress-fill { display: block; height: 100%; width: 62%; border-radius: 999px; background: var(--grad-teal); animation: fill 4.5s ease-in-out infinite; }
.popup-stats { display: flex; justify-content: space-between; font-size: .76rem; color: #94A3B8; margin-bottom: .8rem; }
.popup-btn { width: 100%; padding: .45rem; border: none; border-radius: 9px; background: rgba(239,68,68,.15); color: #FCA5A5; font-family: var(--font-head); font-weight: 700; font-size: .8rem; cursor: pointer; }

.float-badge {
  position: absolute;
  display: flex; align-items: center; gap: .45rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: .55rem .9rem;
  font-size: .78rem;
  font-weight: 700;
  font-family: var(--font-head);
  box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}
.float-badge svg { width: 15px; height: 15px; color: var(--teal); }
.badge-1 { top: -18px; right: -10px; animation-delay: .8s; }
.badge-2 { bottom: -18px; left: -6px; animation-delay: 1.6s; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .55; } }
@keyframes fill { 0% { width: 18%; } 55% { width: 86%; } 100% { width: 100%; } }

/* ============ Sections head ============ */
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 3rem; }
.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .4px;
  color: var(--teal-dark);
  background: rgba(16,185,129,.1);
  border-radius: 999px;
  padding: .3rem 1rem;
  margin-bottom: .9rem;
}
.section-head h2 { font-family: var(--font-head); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.4; margin-bottom: .7rem; }
.section-head p { color: var(--ink-soft); font-size: 1.02rem; }

/* ============ Features ============ */
.features { padding: 6.5rem 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature-card {
  background: var(--surface);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; right: 0; left: 0;
  height: 3px;
  background: var(--grad-teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .28s ease;
}
.feature-card:hover { transform: translateY(-5px); border-color: rgba(16,185,129,.35); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-ico {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--grad-teal);
  color: #fff;
  box-shadow: 0 8px 18px -8px var(--ring);
  margin-bottom: 1.1rem;
}
.feature-ico svg { width: 22px; height: 22px; }
.feature-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; margin-bottom: .45rem; }
.feature-card p { color: var(--ink-soft); font-size: .95rem; }

/* --- rich feature blocks --- */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.feat-full { grid-column: 1 / -1; }
.feat-block {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.8rem;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feat-block::before {
  content: '';
  position: absolute; top: 0; right: 0; left: 0;
  height: 3px;
  background: var(--grad-teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .28s ease;
}
.feat-block:hover { transform: translateY(-5px); border-color: rgba(16,185,129,.35); box-shadow: var(--shadow-lg); }
.feat-block:hover::before { transform: scaleX(1); }
.feat-head { display: flex; align-items: center; gap: .9rem; margin-bottom: .8rem; }
.feat-emoji { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.feat-head h3 { font-family: var(--font-head); font-weight: 900; font-size: 1.22rem; line-height: 1.5; }
.feat-block > p { color: var(--ink-soft); font-size: .97rem; margin-bottom: 1rem; }
.feat-bullets { display: flex; flex-direction: column; gap: .6rem; }
.feat-bullets li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; color: var(--ink-soft); line-height: 1.7; }
.feat-bullets svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: .3rem; color: var(--teal-dark); }
.feat-bullets strong { color: var(--ink); }

/* accent variant */
.feat-block.accent {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
  border-color: rgba(255,255,255,.08);
  color: #fff;
}
.feat-block.accent::before { background: var(--grad-gold); }
.feat-block.accent:hover { border-color: rgba(245,158,11,.4); }
.feat-block.accent > p { color: #A5B4CB; }
.feat-block.accent .feat-bullets li { color: #CBD5E1; }
.feat-block.accent .feat-bullets svg { color: var(--gold); }
.feat-block.accent .feat-bullets strong { color: #fff; }

.feat-closing {
  margin-top: 2.4rem;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  color: var(--ink);
}

/* ============ How ============ */
.how { padding: 6rem 0; background: var(--bg-soft); }
.how-grid { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.how-step { flex: 1; max-width: 250px; text-align: center; background: var(--surface); border: 1px solid #E2E8F0; border-radius: var(--radius); padding: 2rem 1.4rem; box-shadow: var(--shadow-sm); }
.step-num {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.3rem;
  color: #fff;
  background: var(--grad-teal);
  border-radius: 16px;
  box-shadow: 0 8px 18px -8px var(--ring);
}
.how-step h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; margin-bottom: .4rem; }
.how-step p { color: var(--ink-soft); font-size: .93rem; }
.how-arrow { color: var(--teal); flex-shrink: 0; }
.how-arrow svg { width: 26px; height: 26px; }

/* ============ News ============ */
.news { padding: 6.5rem 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.news-card {
  background: var(--surface);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  transition: transform .22s ease, box-shadow .22s ease;
  opacity: 0;
  transform: translateY(16px);
}
.news-card.visible { animation: rise .5s ease forwards; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.news-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.news-tag { font-family: var(--font-head); font-weight: 800; font-size: .72rem; border-radius: 999px; padding: .22rem .7rem; }
.news-date { font-size: .78rem; color: var(--ink-mute); }
.news-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; line-height: 1.5; }
.news-card p { color: var(--ink-soft); font-size: .93rem; }
.tag-new { background: rgba(16,185,129,.12); color: var(--teal-dark); }
.tag-fix { background: rgba(14,165,233,.12); color: #0284C7; }
.tag-update { background: rgba(245,158,11,.14); color: #D97706; }
.tag-announce { background: rgba(124,58,237,.12); color: #7C3AED; }
.news-empty { text-align: center; color: var(--ink-mute); padding: 2rem; }

/* ============ FAQ ============ */
.faq { padding: 6rem 0; background: var(--bg-soft); }
.faq-wrap { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: .9rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: rgba(16,185,129,.4); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal-dark);
  transition: transform .2s ease;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); font-size: .95rem; }

/* ============ CTA ============ */
.cta { padding: 5.5rem 0; }
.cta-box {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  color: #fff;
}
.cta-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% -10%, rgba(16,185,129,.35), transparent 60%);
  pointer-events: none;
}
.cta-box h2 { font-family: var(--font-head); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .6rem; position: relative; }
.cta-box p { color: #A5B4CB; margin-bottom: 1.8rem; position: relative; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; position: relative; margin-bottom: 1.2rem; }
.cta-actions .btn-ghost { color: #E2E8F0; border-color: rgba(255,255,255,.18); }
.cta-actions .btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.cta-note { font-size: .78rem; color: #64748B; margin-bottom: 0; }
.cta-note .cta-link { color: var(--teal); font-weight: 700; text-decoration: underline; }
.cta-note .cta-link:hover { color: var(--sky); }
.cta-contact { font-size: .95rem; color: #CBD5E1; margin-top: .8rem; position: relative; font-weight: 500; }
.cta-contact .cta-link { color: #A7F3D0; font-weight: 800; }
.cta-contact .cta-link:hover { color: #fff; }

/* ============ WhatsApp float ============ */
.wa-float {
  position: fixed;
  bottom: 22px;
  inset-inline-start: 22px;
  z-index: 120;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 16px 34px -8px rgba(37, 211, 102, .75); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .4);
  animation: wa-ring 2.2s ease-out infinite;
}
@keyframes wa-ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

.contact-wa { color: #A7F3D0; font-weight: 700; }
.contact-wa:hover { color: var(--teal); }
.contact-tel { font-weight: 700; direction: ltr; unicode-bidi: embed; }
.contact-email { direction: ltr; unicode-bidi: embed; }

/* ============ Footer ============ */
.footer { background: var(--navy); color: #A5B4CB; padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-about p { margin: 1rem 0 1.2rem; font-size: .92rem; max-width: 26rem; }
.version-badge {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  color: #A7F3D0;
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.3);
  border-radius: 999px;
  padding: .25rem .85rem;
}
.footer-col h4 { font-family: var(--font-head); font-weight: 800; color: #F1F5F9; margin-bottom: 1rem; font-size: 1rem; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul a { font-size: .92rem; transition: color .18s ease; }
.footer-col ul a:hover { color: var(--teal); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.4rem;
  font-size: .82rem;
  color: #64748B;
}

/* ============ Install guide ============ */
.install { padding: 6.5rem 0; background: var(--bg); }
.install-grid {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: relative;
}
.install-grid::before {
  content: '';
  position: absolute;
  top: 24px; bottom: 24px;
  inset-inline-start: 25px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), var(--sky));
  opacity: .35;
}
.install-step {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: var(--surface);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.install-step:hover { transform: translateX(-4px); border-color: rgba(16,185,129,.35); box-shadow: var(--shadow-md); }
.install-num {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.2rem;
  color: #fff;
  background: var(--grad-teal);
  box-shadow: 0 0 0 6px rgba(16,185,129,.14);
}
.install-body h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; margin-bottom: .35rem; }
.install-body p { color: var(--ink-soft); font-size: .95rem; margin-bottom: .5rem; }
.install-body p:last-child { margin-bottom: 0; }
.install-body strong { color: var(--ink); }
.install-body code {
  direction: ltr;
  display: inline-block;
  font-family: Consolas, 'Courier New', monospace;
  font-size: .82em;
  background: var(--bg-soft);
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: .1rem .45rem;
  color: #0369A1;
  unicode-bidi: embed;
}
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }

.browser-box {
  margin-top: .9rem;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}
.browser-tabs { display: flex; background: var(--bg-soft); border-bottom: 1px solid #E2E8F0; }
.bt-tab {
  flex: 1;
  padding: .6rem 1rem;
  border: none;
  background: transparent;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .9rem;
  color: var(--ink-soft);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.bt-tab:hover { color: var(--ink); }
.bt-tab.active { color: var(--teal-dark); border-bottom-color: var(--teal); background: var(--surface); }
.bt-content { display: none; padding: 1rem 1.2rem; }
.bt-content.active { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ============ Theme Toggle ============ */
.theme-toggle {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: #CBD5E1;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  flex-shrink: 0;
}
.theme-toggle:hover { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.3); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
body.dark .theme-toggle .icon-sun { display: none; }
body.dark .theme-toggle .icon-moon { display: block; }
.navbar.scrolled .theme-toggle { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: #94A3B8; }

/* ============ Dark Mode ============ */
body.dark {
  --bg: #0F172A;
  --bg-soft: #1E293B;
  --surface: #1E293B;
  --ink: #F1F5F9;
  --ink-soft: #94A3B8;
  --ink-mute: #64748B;
  color: var(--ink);
}
body.dark .feat-block { border-color: rgba(255,255,255,.08); }
body.dark .how-step { border-color: rgba(255,255,255,.08); }
body.dark .faq-item { border-color: rgba(255,255,255,.08); }
body.dark .news-card { border-color: rgba(255,255,255,.08); }
body.dark .btn-ghost { border-color: rgba(255,255,255,.15); color: var(--ink); }
body.dark .install-step { border-color: rgba(255,255,255,.08); }
body.dark .browser-box { border-color: rgba(255,255,255,.08); }

/* ============ Scroll Reveal ============ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Comparison ============ */
.compare { padding: 6.5rem 0; background: var(--bg-soft); }
.compare-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: .95rem;
}
.compare-table th, .compare-table td {
  padding: 1rem 1.4rem;
  text-align: right;
  border-bottom: 1px solid rgba(15,23,42,.06);
}
body.dark .compare-table th, body.dark .compare-table td { border-bottom-color: rgba(255,255,255,.06); }
.compare-table th {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .88rem;
  background: var(--bg-soft);
  color: var(--ink);
  position: sticky;
  top: 0;
}
.compare-table td { color: var(--ink-soft); }
.compare-table tbody tr:hover { background: rgba(16,185,129,.04); }
.compare-table .col-old { color: #EF4444; font-weight: 600; }
.compare-table .col-new { color: var(--teal-dark); font-weight: 700; }
.compare-table th.col-old { color: #EF4444; }
.compare-table th.col-new { color: var(--teal-dark); }



/* ============ Testimonials ============ */
.testimonials { padding: 6.5rem 0; background: var(--bg-soft); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.testi-card {
  background: var(--surface);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
body.dark .testi-card { border-color: rgba(255,255,255,.08); }
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(16,185,129,.3); }
.testi-stars { color: #F59E0B; font-size: 1.1rem; letter-spacing: 2px; }
.testi-emoji { font-size: 2.1rem; line-height: 1; }
.testi-title { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.testi-text { color: var(--ink-soft); font-size: .95rem; line-height: 1.8; flex: 1; }
.testi-author { display: flex; align-items: center; gap: .8rem; }
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad-teal);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: .92rem; color: var(--ink); }
.testi-author span { font-size: .8rem; color: var(--ink-mute); }

/* ============ Videos ============ */
.videos { padding: 6.5rem 0; }
.videos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.video-card { display: flex; flex-direction: column; gap: .7rem; }
.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: #0B1220;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-md);
  transition: transform .22s ease, box-shadow .22s ease;
}
.video-thumb:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-play svg {
  width: 62px;
  height: 62px;
  color: #fff;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.55));
  transition: transform .2s ease;
}
.video-thumb:hover .video-play svg { transform: scale(1.12); }
.video-card-title {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}

/* Video lightbox */
.video-lightbox { background: rgba(5, 8, 15, .92); padding: 2.5rem; }
.video-frame {
  width: min(900px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-frame iframe { width: 100%; height: 100%; display: block; border: none; }

/* ============ Pricing ============ */
.pricing { padding: 6.5rem 0; background: var(--bg-soft); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; align-items: start; }
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  text-align: center;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
body.dark .price-card { border-color: rgba(255,255,255,.08); }
body.dark .price-card-best { border-color: var(--teal); }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.price-card-popular {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), var(--shadow-lg);
  transform: scale(1.04);
}
.price-card-popular:hover { transform: scale(1.04) translateY(-5px); }
.price-popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-teal);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .72rem;
  padding: .3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .75rem;
  padding: .25rem .85rem;
  border-radius: 999px;
  background: rgba(16,185,129,.1);
  color: var(--teal-dark);
  margin-bottom: .8rem;
}
.price-badge-pro { background: var(--grad-teal); color: #fff; }
.price-badge-ent { background: rgba(14,165,233,.12); color: #0284C7; }
.price-card h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.25rem;
  margin-bottom: .6rem;
}
.price-amount {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.8rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: .2rem;
}
.price-val { direction: ltr; unicode-bidi: embed; }
.price-curr { font-size: 1rem; font-weight: 700; color: var(--ink-soft); }
.price-period { font-size: .85rem; color: var(--ink-mute); margin-bottom: 1.5rem; }
.price-features {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-bottom: 1.8rem;
  text-align: right;
}
.price-features li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.price-features svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: .25rem; color: var(--teal-dark); }
.price-card-best {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), var(--shadow-lg);
  transform: scale(1.04);
}
.price-card-best:hover { transform: scale(1.04) translateY(-5px); }
.price-badge-2yr { background: var(--grad-gold); color: #fff; }
.btn-block { width: 100%; }

/* ============ Share Bar ============ */
.share-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  margin-top: 1.5rem;
  position: relative;
}
.share-label { font-size: .82rem; color: #64748B; font-weight: 600; }
.share-btn {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color: #CBD5E1;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.share-btn:hover { transform: scale(1.1); }
.share-btn svg { width: 18px; height: 18px; }
.share-wa:hover { background: rgba(37,211,102,.2); color: #25D366; border-color: rgba(37,211,102,.4); }
.share-tw:hover { background: rgba(29,161,242,.2); color: #1DA1F2; border-color: rgba(29,161,242,.4); }
.share-fb:hover { background: rgba(66,103,178,.2); color: #4267B2; border-color: rgba(66,103,178,.4); }
.share-copy:hover { background: rgba(255,255,255,.12); color: #fff; }
.copy-toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--teal);
  color: #fff;
  padding: .6rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  box-shadow: 0 8px 24px -6px rgba(16,185,129,.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 200;
}
.copy-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ WhatsApp Popup ============ */
.wa-popup {
  position: fixed;
  bottom: 90px;
  inset-inline-start: 22px;
  z-index: 130;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .4s, transform .4s;
}
.wa-popup.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.wa-popup-inner {
  background: var(--surface);
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.25);
  width: 260px;
  position: relative;
}
body.dark .wa-popup-inner { border-color: rgba(255,255,255,.1); }
.wa-popup-close {
  position: absolute;
  top: 8px; left: 8px;
  width: 24px; height: 24px;
  border: none; background: none;
  font-size: 1.2rem;
  color: var(--ink-mute);
  cursor: pointer;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .2s;
}
.wa-popup-close:hover { background: rgba(0,0,0,.06); }
.wa-popup-header { display: flex; align-items: center; gap: .7rem; margin-bottom: .7rem; }
.wa-popup-img { width: 36px; height: 36px; border-radius: 10px; }
.wa-popup-header strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: .9rem; color: var(--ink); }
.wa-popup-header span { font-size: .75rem; color: var(--teal); font-weight: 600; }
.wa-popup-msg { font-size: .85rem; color: var(--ink-soft); margin-bottom: .8rem; line-height: 1.6; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .trust { justify-content: center; }
  .hero-visual { max-width: 520px; margin-inline: auto; margin-top: 1.5rem; }
  .features-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .price-card-popular, .price-card-best { transform: scale(1); }
  .price-card-popular:hover, .price-card-best:hover { transform: translateY(-5px); }
  .compare-table { font-size: .85rem; }
  .compare-table th, .compare-table td { padding: .8rem 1rem; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(300px, 80%);
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(11,18,32,.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: right .3s ease;
    box-shadow: -20px 0 50px rgba(0,0,0,.4);
    z-index: 99;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.05rem; }
  .hamburger { display: flex; position: relative; z-index: 100; }
  .nav-cta { display: none; }
  .hero { padding-top: 7rem; }
  .popup { left: 50%; transform: translateX(50%); }
  .how-grid { flex-direction: column; }
  .how-step { max-width: 100%; width: 100%; }
  .how-arrow { transform: rotate(90deg); }
  .features-grid, .news-grid, .testi-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 460px) {
  .float-badge { display: none; }
}

/* ============ Subpages (shared) ============ */
.page-hero { padding: 8rem 0 3rem; text-align: center; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.page-hero h1 { font-family: var(--font-head); font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .5rem; }
.page-hero p { color: #A5B4CB; font-size: 1.05rem; max-width: 620px; margin-inline: auto; }
.page-main { max-width: 760px; margin: 0 auto; padding: 3rem 0 5rem; }
.sec-card { background: var(--surface); border: 1px solid #E2E8F0; border-radius: var(--radius-lg); padding: 1.8rem; margin-bottom: 1.4rem; }
body.dark .sec-card { border-color: rgba(255,255,255,.08); }
.sec-card h2 { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--ink); margin-bottom: .8rem; }
.sec-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--ink); margin: 1.1rem 0 .4rem; }
.sec-card p, .sec-card li { color: var(--ink-soft); font-size: .96rem; line-height: 1.9; }
.sec-card ul { padding-right: 1.2rem; }
.sec-card li { margin-bottom: .45rem; }
.sec-card .muted { font-size: .82rem; color: var(--ink-mute); }
.back-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--teal-dark); transition: color .2s; }
.back-link:hover { color: var(--teal); }
