/* ============================================================
   MYA PDF — Design System
   احترافي · شبابي · عصري
   ============================================================ */

:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-light: #eef2ff;
  --accent: #06b6d4;
  --accent-2: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 45%, #06b6d4 100%);
  --gradient-soft: linear-gradient(135deg, #eef2ff 0%, #ecfeff 100%);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 8px 24px rgba(79, 70, 229, .12);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .14);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-tap-highlight-color: transparent;
}

img { max-width: 100%; display: block; height: auto; }

main { display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.section { padding: 84px 0; }
.section-alt { background: linear-gradient(180deg, #fff 0%, var(--gradient-soft) 100%); }

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  letter-spacing: -.5px;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: .3px;
  margin-bottom: 16px;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  border: 0;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}

.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 22px rgba(99, 102, 241, .35);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(99, 102, 241, .45); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-2px); }

.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 8px 22px rgba(16, 185, 129, .35);
}
.btn-success:hover { color: #fff; transform: translateY(-2px); }

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, .7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand-name { font-size: 1.15rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.brand-sub { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .4px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .93rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .18s, color .18s;
}
.nav-links a:hover { background: var(--primary-light); color: var(--primary); }
.nav-links a.active { background: var(--primary-light); color: var(--primary); }
.nav-links .btn { margin-inline-start: 8px; padding: 9px 20px; font-size: .9rem; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  color: var(--ink);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: var(--gradient-soft);
  overflow: hidden;
  padding: 90px 0 110px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, .18), transparent 65%);
  top: -160px;
  left: -120px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, .16), transparent 65%);
  bottom: -140px;
  right: -120px;
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .18);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); }
  50% { box-shadow: 0 0 0 7px rgba(16, 185, 129, .08); }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.5px;
  color: var(--ink);
  margin-bottom: 18px;
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.trust { display: flex; gap: 26px; flex-wrap: wrap; }
.trust span { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.trust span::before {
  content: "✓";
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--success); color: #fff;
  border-radius: 50%; font-size: .7rem; font-weight: 800;
}

/* Hero visual (browser mockup built in CSS) */
.hero-visual { position: relative; }
.browser {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .4s ease;
}
.browser:hover { transform: perspective(1200px) rotateY(0deg) rotateX(0deg); }
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
}
.browser-bar .dot { width: 12px; height: 12px; border-radius: 50%; }
.browser-bar .dot:nth-child(1) { background: #f87171; }
.browser-bar .dot:nth-child(2) { background: #fbbf24; }
.browser-bar .dot:nth-child(3) { background: #34d399; }
.browser-bar .url {
  flex: 1; margin-inline-start: 10px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 16px;
  font-size: .78rem; color: var(--muted); direction: ltr; text-align: left;
}
.browser-body { padding: 22px; }
.ext-toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 14px;
}
.ext-toolbar .logo-mini {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; background: #fff; box-shadow: var(--shadow-sm);
}
.ext-btn {
  padding: 8px 16px; border-radius: 999px;
  font-size: .82rem; font-weight: 700;
  background: var(--gradient); color: #fff;
  box-shadow: 0 6px 16px rgba(99, 102, 241, .3);
}
.ext-btn.ghost { background: #fff; color: var(--ink-soft); box-shadow: var(--shadow-sm); }

.ext-row {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 16px; margin-top: 12px;
  font-size: .86rem;
}
.ext-row .meta { color: var(--muted); font-size: .74rem; }
.ext-row .status {
  font-size: .72rem; font-weight: 700; color: var(--success);
  background: #ecfdf5; padding: 3px 12px; border-radius: 999px;
}
.ext-row .stat {
  font-size: .9rem; font-weight: 800; color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.float-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  padding: 12px 16px;
  font-size: .82rem;
  display: flex; align-items: center; gap: 10px;
  animation: float 4s ease-in-out infinite;
}
.float-card b { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; }
.float-card span { font-weight: 800; color: var(--ink); }
.float-card .ico {
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
}
.float-card.f1 { top: 6%; right: -18px; animation-delay: 0s; }
.float-card.f1 .ico { background: #ecfdf5; }
.float-card.f2 { bottom: 10%; left: -22px; animation-delay: 1.6s; }
.float-card.f2 .ico { background: #eef2ff; }

/* ---------- Hero gallery (rotating showcase) ---------- */
.gallery { position: relative; max-width: 520px; margin-inline-start: auto; }
.gallery-track {
  display: flex;
  overflow: hidden;
  border-radius: 18px;
}
.gallery-slide { flex: 0 0 100%; min-width: 100%; transition: transform .5s ease; }
.gallery .browser { margin: 0; }
.gallery-img {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.gallery-img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
}
.gallery-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 18px;
}
.gallery-dots .dot {
  width: 10px; height: 10px; border-radius: 999px;
  border: none; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, .35);
  transition: all .25s ease;
}
.gallery-dots .dot.active { width: 26px; background: #fff; }

.table-head {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px;
  font-size: .68rem; font-weight: 700; color: var(--muted);
  padding: 14px 16px 0; text-transform: uppercase; letter-spacing: .4px;
}
.ext-tag {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 12px;
}
.ext-tag span {
  font-size: .68rem; font-weight: 700; color: var(--success);
  background: #ecfdf5; border: 1px solid #a7f3d0;
  padding: 4px 12px; border-radius: 999px;
}

/* Extension popup mockup */
.ext-popup {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 18px;
}
.popup-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.popup-head b { font-size: .95rem; color: var(--ink); }
.popup-sub { display: block; font-size: .7rem; color: var(--success); font-weight: 600; }
.popup-actions { display: flex; gap: 8px; margin-top: 12px; }
.popup-actions .ext-btn { flex: 1; text-align: center; font-size: .74rem; padding: 9px 10px; }
.popup-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-top: 14px;
}
.popup-stats div {
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 10px; text-align: center;
}
.popup-stats b { display: block; font-size: 1.05rem; color: var(--ink); }
.popup-stats span { font-size: .68rem; color: var(--muted); }

/* MYA Invoice mockup */
.inv-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.inv-head b { font-size: .85rem; color: var(--ink); display: block; }
.inv-head .status { margin-inline-start: auto; }
.inv-row {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 8px;
  font-size: .8rem;
  padding: 10px 4px; border-bottom: 1px dashed var(--border);
}
.inv-row span:nth-child(1) { font-weight: 600; color: var(--ink); }
.inv-row span:nth-child(2) { color: var(--muted); font-size: .7rem; }
.inv-row span:nth-child(3) { font-weight: 800; text-align: end; }
.inv-row.inv-total span:nth-child(3) { color: var(--primary); font-size: .95rem; }
.inv-qr {
  display: flex; align-items: center; gap: 14px;
  margin-top: 14px;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 12px;
}
.inv-qr .qr {
  width: 44px; height: 44px; border-radius: 8px;
  background: #fff; border: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 4px; padding: 6px;
}
.inv-qr .qr span { background: var(--ink); border-radius: 2px; }
.inv-qr b { font-size: .78rem; color: var(--ink); display: block; }

@media (max-width: 1024px) {
  .gallery { max-width: 460px; }
}

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

/* ---------------- Logos / stats strip ---------------- */
.stats-strip {
  background: var(--ink);
  color: #fff;
  padding: 34px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num { font-size: 2rem; font-weight: 800; background: linear-gradient(135deg, #a5b4fc, #22d3ee); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: .88rem; color: #94a3b8; font-weight: 600; }

/* ---------------- Feature cards ---------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0; top: 0;
  width: 100%; height: 4px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity .22s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card:hover::before { opacity: 1; }
.feature-ico {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  background: var(--primary-light);
}
.feature-card:nth-child(2) .feature-ico { background: #ecfeff; }
.feature-card:nth-child(3) .feature-ico { background: #fffbeb; }
.feature-card:nth-child(4) .feature-ico { background: #ecfdf5; }
.feature-card:nth-child(5) .feature-ico { background: #fdf2f8; }
.feature-card:nth-child(6) .feature-ico { background: #f0fdf4; }
.feature-card h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 8px; }
.feature-card p { font-size: .92rem; color: var(--muted); }
.feature-tag {
  display: inline-block;
  margin-top: 14px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .72rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
}

/* ---------------- Steps ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num {
  width: 54px; height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 1.35rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(99, 102, 241, .35);
}
.step h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--muted); }

/* ---------------- CTA box ---------------- */
.cta-box {
  margin-top: 56px;
  background: var(--gradient);
  border-radius: 24px;
  color: #fff;
  padding: 52px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(79, 70, 229, .35);
}
.cta-box::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  top: -120px; right: -80px;
}
.cta-box h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 10px; position: relative; }
.cta-box p { opacity: .92; max-width: 600px; margin: 0 auto 28px; position: relative; }
.cta-box .btn { background: #fff; color: var(--primary); }
.cta-box .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .2); }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] { border-color: #c7d2fe; box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  margin-inline-start: auto;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: .95rem; }
.faq-item .faq-body a { font-weight: 700; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-col h3 { color: #fff; font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.footer-col .brand-sub { color: #94a3b8; }
.footer-col p { font-size: .9rem; color: #94a3b8; margin-top: 10px; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: .98rem; font-weight: 800; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #94a3b8; font-size: .9rem; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, .2);
  padding: 22px 0;
  text-align: center;
  font-size: .85rem;
  color: #94a3b8;
}
.footer-bottom a { color: #cbd5e1; }
.footer-bottom a:hover { color: #fff; }

/* ---------------- Sub-page hero ---------------- */
.page-hero {
  position: relative;
  background: var(--gradient);
  color: #fff;
  padding: 72px 0 64px;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  top: -160px; right: -100px;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  bottom: -150px; left: -90px;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 12px; position: relative; }
.page-hero p { font-size: 1.05rem; opacity: .92; max-width: 680px; margin: 0 auto; position: relative; }
.breadcrumb { margin-top: 20px; font-size: .85rem; position: relative; }
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.breadcrumb a:hover { color: #fff; }

/* ---------------- Pricing ---------------- */
.pricing-toggle {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 44px;
}
.pricing-toggle .lbl { font-weight: 700; color: var(--muted); font-size: .95rem; }
.pricing-toggle .lbl.active { color: var(--ink); }
.switch {
  position: relative;
  width: 58px; height: 32px;
  background: var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s;
}
.switch::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  top: 3px; inset-inline-start: 3px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s;
}
.switch.on { background: var(--primary); }
.switch.on::after { transform: translateX(calc(var(--dir, 1) * 26px)); }
.switch .save {
  position: absolute;
  inset-inline-start: calc(100% + 10px);
  top: 50%; transform: translateY(-50%);
  background: #ecfdf5; color: #059669;
  font-size: .72rem; font-weight: 800;
  padding: 3px 10px; border-radius: 999px;
  white-space: nowrap;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.plan {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
}
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.plan.featured {
  border: 0;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 24px 60px rgba(79, 70, 229, .4);
  transform: scale(1.03);
}
.plan.featured:hover { transform: scale(1.03) translateY(-8px); }
.plan .ribbon {
  position: absolute;
  top: -14px; inset-inline-end: 22px;
  background: var(--accent-2);
  color: #fff;
  font-size: .74rem; font-weight: 800;
  padding: 5px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.plan h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.plan .plan-desc { font-size: .86rem; opacity: .85; margin-bottom: 22px; }
.plan .price { font-size: 2.4rem; font-weight: 800; margin-bottom: 4px; }
.plan .price small { font-size: .95rem; font-weight: 700; opacity: .85; }
.plan .price-note { font-size: .8rem; opacity: .75; margin-bottom: 24px; }
.plan ul { margin: 0 0 28px; flex: 1; }
.plan li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .92rem;
  margin-bottom: 12px;
}
.plan li::before {
  content: "✓";
  width: 20px; height: 20px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: #ecfdf5; color: var(--success);
  border-radius: 50%; font-size: .7rem; font-weight: 800;
  margin-top: 3px;
}
.plan.featured li::before { background: rgba(255, 255, 255, .25); color: #fff; }
.plan .btn { width: 100%; }
.plan.featured .btn { background: #fff; color: var(--primary); }

/* ---------------- Payment methods ---------------- */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pay-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.pay-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #c7d2fe; }
.pay-card .ico { font-size: 1.9rem; margin-bottom: 12px; }
.pay-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.pay-card p { font-size: .88rem; color: var(--muted); font-weight: 700; }

/* ---------------- Steps for subscribe ---------------- */
.steps-sub { max-width: 760px; margin: 0 auto; }
.steps-sub .step { display: flex; align-items: flex-start; gap: 18px; text-align: right; padding: 24px 28px; margin-bottom: 16px; }
.steps-sub .step-num { margin: 0; flex-shrink: 0; }

/* ---------------- Comparison table ---------------- */
.compare-wrap { overflow-x: auto; }
.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-width: 680px;
}
.compare th, .compare td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-size: .92rem;
}
.compare th { background: #f1f5f9; font-weight: 800; color: var(--ink); }
.compare td:first-child, .compare th:first-child { text-align: right; }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--success); font-weight: 800; }
.compare .no { color: #cbd5e1; }

/* ---------------- Privacy page ---------------- */
.pv-wrap { max-width: 860px; margin: 0 auto; }
.pv-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 34px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.pv-card h2 {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.35rem; font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
}
.pv-card h2 .num {
  width: 32px; height: 32px;
  flex-shrink: 0;
  background: var(--gradient);
  color: #fff;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .95rem;
}
.pv-card h3 { font-size: 1.02rem; font-weight: 800; color: var(--primary-dark); margin: 20px 0 8px; }
.pv-card p { color: var(--ink-soft); margin-bottom: 10px; }
.pv-card ul, .pv-card ol { padding-inline-start: 22px; margin-bottom: 12px; }
.pv-card li { color: var(--ink-soft); margin-bottom: 8px; list-style: disc; }
.pv-card table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .9rem; }
.pv-card th, .pv-card td { border: 1px solid var(--border); padding: 10px 12px; text-align: right; vertical-align: top; }
.pv-card th { background: #f1f5f9; font-weight: 700; }
.pv-card tr:nth-child(even) td { background: #fafcff; }
.pv-card code {
  background: var(--primary-light); color: var(--primary-dark);
  padding: 2px 8px; border-radius: 6px;
  font-size: .85em;
  font-family: Consolas, Monaco, monospace;
  direction: ltr; display: inline-block;
}
.callout {
  border-inline-start: 4px solid var(--primary);
  background: var(--primary-light);
  padding: 14px 18px;
  border-radius: 10px;
  margin: 16px 0;
  font-size: .93rem;
  color: var(--ink-soft);
}
.callout.green { border-color: var(--success); background: #ecfdf5; }
.callout.amber { border-color: var(--accent-2); background: #fffbeb; }
.tag {
  display: inline-block; padding: 2px 12px; border-radius: 999px;
  font-size: .76rem; font-weight: 800;
}
.tag.yes { background: #ecfdf5; color: var(--success); }
.tag.no { background: #fef2f2; color: var(--danger); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 12px; }
.contact-box {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}
.contact-box h4 { font-size: .9rem; font-weight: 800; color: var(--muted); margin-bottom: 6px; }
.contact-box p, .contact-box a { font-weight: 700; color: var(--ink); }
.lang-switch { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; position: relative; }
.lang-switch a {
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  padding: 7px 22px;
  border-radius: 999px;
  font-size: .86rem; font-weight: 700;
}
.lang-switch a:hover { background: rgba(255, 255, 255, .3); color: #fff; }
.pv-foot { text-align: center; color: var(--muted); font-size: .86rem; margin-top: 30px; }

/* ---------------- Utility ---------------- */
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 40px; }
.center { text-align: center; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .features-grid, .plans { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .float-card.f1 { right: 0; }
  .float-card.f2 { left: 0; }
  .gallery { max-width: 480px; }
  input, select, textarea { font-size: 16px; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 70px;
    inset-inline: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 6px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: none;
    max-height: calc(100vh - 70px);
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .nav-links .btn { margin: 8px 0 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding: 60px 0 80px; }
  .hero h1 { font-size: clamp(1.9rem, 6.5vw, 2.7rem); }
  .hero p.lead { font-size: 1rem; }
  .gallery { max-width: 100%; margin-inline: auto; }
  .browser { transform: none; }
  .float-card { font-size: .76rem; padding: 10px 12px; }
  .float-card.f1 { right: 0; }
  .float-card.f2 { left: 0; }
  .steps { grid-template-columns: 1fr; }
  .steps-sub .step { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 640px) {
  .features-grid, .plans, .pay-grid { grid-template-columns: 1fr; }
  .dl-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 60px 0; }
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: translateY(-8px); }
  .cta-box { padding: 40px 24px; }
  .cta-box h3 { font-size: 1.45rem; }
  .hero-actions .btn { width: 100%; }
  .section-subtitle { font-size: .96rem; margin-bottom: 32px; }
  .page-hero { padding: 56px 0 48px; }
  .stats-grid { gap: 16px; }
  .gallery-img img { max-height: 400px; }
  .compare th, .compare td { padding: 10px 8px; font-size: .84rem; }
  .pv-card { padding: 24px 18px; }
  .faq-item summary { padding: 15px 16px; }
  .dl-card { padding: 32px 22px; }
  .modal-overlay { padding: 12px; }
}

/* ============================================================
   MYA PDF — Premium v2
   تحسينات احترافية: hero داكن متحرك، زجاجية، أنيميشن
   ============================================================ */

/* ---------- Download cards ---------- */
.dl-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
.dl-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  padding: 40px 32px;
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.dl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #c7d2fe; }
.dl-card .dl-icon { font-size: 3rem; margin-bottom: 12px; }
.dl-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 12px; }
.dl-card p { font-size: .94rem; color: var(--muted); margin-bottom: 24px; line-height: 1.9; }
.dl-version {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.dl-note {
  max-width: 820px;
  margin: 40px auto 0;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 14px;
  padding: 20px 24px;
  text-align: right;
  color: #92400e;
  font-size: .94rem;
  line-height: 1.9;
  box-shadow: var(--shadow-sm);
}
.dl-note strong { color: #78350f; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- Sticky header shadow ---------- */
.site-header.scrolled {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 30px rgba(15, 23, 42, .08);
}

/* ---------- Dark animated hero ---------- */
.hero {
  background: radial-gradient(1200px 600px at 85% -10%, rgba(99, 102, 241, .35), transparent 60%),
              radial-gradient(900px 500px at 10% 110%, rgba(6, 182, 212, .28), transparent 55%),
              linear-gradient(160deg, #0f172a 0%, #1e1b4b 55%, #164e63 100%);
  color: #fff;
}
.hero::before {
  background: radial-gradient(circle, rgba(99, 102, 241, .35), transparent 65%);
  top: -180px; left: -140px;
  animation: drift 14s ease-in-out infinite;
}
.hero::after {
  background: radial-gradient(circle, rgba(6, 182, 212, .3), transparent 65%);
  bottom: -160px; right: -140px;
  animation: drift 16s ease-in-out infinite reverse;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero p.lead { color: #cbd5e1; }
.hero-badge {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #e2e8f0;
  backdrop-filter: blur(6px);
}
.trust span { color: #94a3b8; }
.trust span::before { background: #10b981; }

.browser {
  background: #fff;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .25);
}
.float-card { box-shadow: 0 18px 44px rgba(0, 0, 0, .35); border: 1px solid rgba(226, 232, 240, .9); }

.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
  z-index: -1;
}

/* ---------- Buttons shine ---------- */
.btn-primary, .btn {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; inset-inline-start: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine {
  0%, 55% { inset-inline-start: -80%; }
  85%, 100% { inset-inline-start: 160%; }
}

/* ---------- Feature / plan cards premium ---------- */
.feature-card, .plan, .step, .pay-card {
  backdrop-filter: blur(2px);
}
.feature-card:hover, .plan:hover, .step:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.feature-card h3 { background: linear-gradient(135deg, #312e81, #0e7490); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.plan.featured { background: linear-gradient(150deg, #4f46e5 0%, #7c3aed 55%, #0e7490 100%); }

/* ---------- Section title accent ---------- */
.section-title::after {
  content: "";
  display: block;
  width: 72px; height: 5px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: var(--gradient);
}

/* ---------- Stats premium ---------- */
.stats-strip { background: linear-gradient(120deg, #0f172a, #1e1b4b 60%, #0f766e); }
.stat-num {
  font-size: 2.3rem;
  background: linear-gradient(135deg, #c7d2fe, #67e8f9);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- CTA premium ---------- */
.cta-box {
  background: linear-gradient(140deg, #4f46e5 0%, #7c3aed 50%, #0891b2 100%);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(79, 70, 229, .4);
}

/* ---------- Floating Telegram + WhatsApp buttons ---------- */
.fab-stack {
  position: fixed;
  bottom: 24px; inset-inline-start: 24px;
  z-index: 90;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.fab {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.7rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.fab:hover { color: #fff; transform: scale(1.1); }
.fab-whatsapp {
  background: #25d366;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  animation: pulse-green 2.4s infinite;
}
.fab-whatsapp:hover { box-shadow: 0 14px 32px rgba(37, 211, 102, .55); }
.fab-telegram {
  background: #229ed9;
  box-shadow: 0 10px 26px rgba(34, 158, 217, .45);
  animation: pulse-blue 2.4s infinite;
  animation-delay: 1.2s;
}
.fab-telegram:hover { box-shadow: 0 14px 32px rgba(34, 158, 217, .55); }
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 10px 26px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .4); }
  60% { box-shadow: 0 10px 26px rgba(37, 211, 102, .45), 0 0 0 16px rgba(37, 211, 102, 0); }
}
@keyframes pulse-blue {
  0%, 100% { box-shadow: 0 10px 26px rgba(34, 158, 217, .45), 0 0 0 0 rgba(34, 158, 217, .4); }
  60% { box-shadow: 0 10px 26px rgba(34, 158, 217, .45), 0 0 0 16px rgba(34, 158, 217, 0); }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  bottom: 24px; inset-inline-end: 24px;
  z-index: 90;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient);
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 10px 26px rgba(79, 70, 229, .4);
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: #fff; transform: translateY(-3px); }

/* ---------- Contact Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, .6);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  width: 100%; max-width: 460px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 40px 90px rgba(15, 23, 42, .35);
  padding: 34px 30px;
  transform: translateY(26px) scale(.96);
  transition: transform .3s ease;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.modal-overlay.open .modal-box { transform: none; }
.modal-close {
  position: absolute;
  top: 16px; inset-inline-end: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 0;
  background: #f1f5f9;
  color: var(--ink-soft);
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s;
}
.modal-close:hover { background: #fee2e2; color: #b91c1c; }
.modal-box h3 {
  font-size: 1.3rem; font-weight: 800; color: var(--ink);
  margin-bottom: 6px; display: flex; align-items: center; gap: 10px;
}
.modal-box h3 .ico {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.modal-box > p { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: .84rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: .94rem;
  color: var(--ink);
  background: #fafcff;
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, .12);
  background: #fff;
}
.form-field textarea { min-height: 90px; resize: vertical; }
.modal-note {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: .78rem;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 18px;
  line-height: 1.7;
}
.form-error {
  background: #fef2f2;
  color: #b91c1c;
  font-size: .82rem;
  font-weight: 700;
  padding: 10px 14px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  margin-bottom: 14px;
}
.modal-cta {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border: 0;
  border-radius: 14px;
  padding: 15px;
  font-family: inherit;
  font-size: 1rem; font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .35);
  transition: transform .18s, box-shadow .18s;
}
.modal-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37, 211, 102, .45); }
.modal-cta:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Footer premium ---------- */
.site-footer {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
}
.footer-col h4::after {
  content: "";
  display: block;
  width: 28px; height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--gradient);
}
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .ic {
  width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .06);
  font-size: .95rem;
}

/* ---------- Payment grid premium ---------- */
.pay-card { position: relative; overflow: hidden; }
.pay-card::before {
  content: "";
  position: absolute; top: 0; inset-inline-start: 0;
  width: 100%; height: 4px;
  background: var(--gradient);
  opacity: 0; transition: opacity .22s;
}
.pay-card:hover::before { opacity: 1; }

/* ---------- Responsive premium ---------- */
@media (max-width: 860px) {
  .hero { padding: 56px 0 76px; }
  .modal-box { padding: 28px 22px; }
}
@media (max-width: 640px) {
  .fab { width: 52px; height: 52px; bottom: 18px; inset-inline-start: 18px; font-size: 1.5rem; }
  .to-top { bottom: 18px; inset-inline-end: 18px; width: 42px; height: 42px; }
}

/* ---------- Very small phones ---------- */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .brand-name { font-size: 1rem; }
  .brand-sub { font-size: .62rem; }
  .btn { padding: 12px 20px; font-size: .92rem; }
  .hero h1 { font-size: 1.7rem; }
  .hero-badge { font-size: .74rem; padding: 6px 12px; }
  .stat-num { font-size: 1.7rem; }
  .pv-card h2 { font-size: 1.15rem; }
  .footer-contact li { font-size: .84rem; }
  .footer-contact li a { overflow-wrap: anywhere; }
}

/* ---------- Big screens / TV ---------- */
@media (min-width: 1600px) {
  :root { --maxw: 1400px; }
  html { font-size: 17px; }
  .hero { padding: 120px 0 150px; }
  .section { padding: 110px 0; }
  .stats-strip { padding: 46px 0; }
  .site-header { font-size: 1.02rem; }
}

/* ---------- Scrollable tables (privacy & long content) ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0;
}
.table-scroll table { margin: 0; }
.table-scroll-wide table { min-width: 620px; }
@media (max-width: 420px) {
  .table-scroll-wide table { min-width: 560px; }
}
