/* Follovy — original design system (not derived from any third-party site) */
:root {
  --bg: #0b0f19;
  --bg-elevated: #121826;
  --bg-card: #161e2e;
  --border: #232d42;
  --text: #e7ecf5;
  --text-dim: #92a0b8;
  --accent: #6c5ce7;
  --accent-2: #00d9c0;
  --accent-grad: linear-gradient(135deg, #6c5ce7 0%, #00d9c0 100%);
  --success: #2ecc71;
  --warning: #f5a623;
  --danger: #ff5c5c;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(0,0,0,0.35);
  font-size: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Tahoma", "Cairo", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

html[dir="rtl"] body { direction: rtl; text-align: right; }
html[dir="ltr"] body { direction: ltr; text-align: left; }

.lang-select {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: .85rem;
  cursor: pointer;
}
.header-lang-slot { display: inline-flex; align-items: center; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; display: block; border-radius: inherit; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--text-dim); font-weight: 600; transition: color .15s; }
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform .12s ease, opacity .15s ease, background .15s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent-grad); color: #fff; }
.btn-primary:hover { opacity: 0.92; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); }
.btn-sm { padding: 6px 14px; font-size: 0.85rem; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: -20% -10% auto -10%;
  height: 480px;
  background: radial-gradient(ellipse at top, rgba(108,92,231,0.25), transparent 60%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  margin: 0 0 18px;
  position: relative;
}
.hero .gradient-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  position: relative;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; position: relative; flex-wrap: wrap; }
.hero-stats {
  display: flex; justify-content: center; gap: 48px;
  margin-top: 56px; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat b { display: block; font-size: 1.8rem; font-weight: 900; }
.hero-stat span { color: var(--text-dim); font-size: 0.9rem; }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2, .section-title h1 { font-size: 2rem; font-weight: 800; margin: 0 0 10px; }
.svc-seo { margin-top: 18px; color: var(--text-dim); font-size: .95rem; }
.svc-seo h2 { font-size: 1.15rem; margin: 0 0 8px; color: var(--text); }
.svc-seo ul { columns: 2; padding-inline-start: 18px; margin: 10px 0 0; }
.svc-seo li { margin: 4px 0; }
.section-title p { color: var(--text-dim); margin: 0; }

.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent); }

.category-card { text-align: center; cursor: pointer; }
.category-icon {
  width: 56px; height: 56px; margin: 0 auto 14px;
  border-radius: 14px; background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff; overflow: hidden;
}
.category-icon svg { width: 100%; height: 100%; display: block; }
.category-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.category-card p { margin: 0; color: var(--text-dim); font-size: 0.85rem; }

.feature-card .feature-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(108,92,231,0.15); color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 16px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.feature-card p { margin: 0; color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Services table / catalog ---------- */
.filter-bar {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px;
}
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border);
  color: var(--text-dim); font-weight: 600; font-size: 0.9rem;
}
.chip.active { background: var(--accent-grad); color: #fff; border-color: transparent; }
.chip-icon { width: 16px; height: 16px; display: inline-block; vertical-align: middle; margin-inline-end: 6px; border-radius: 4px; overflow: hidden; }
.chip-icon svg { width: 100%; height: 100%; display: block; }
.services-cat-heading { margin: 28px 0 14px; display: flex; align-items: center; gap: 10px; }
.cat-heading-icon { width: 26px; height: 26px; display: inline-block; border-radius: 7px; overflow: hidden; flex-shrink: 0; }
.cat-heading-icon svg { width: 100%; height: 100%; display: block; }

.service-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 16px; align-items: center;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  background: var(--bg-card);
}
.service-row .name { font-weight: 700; }
.service-row .meta { color: var(--text-dim); font-size: 0.82rem; }
.service-row .price { font-weight: 800; color: var(--accent-2); white-space: nowrap; }
@media (max-width: 700px) { .service-row { grid-template-columns: 1fr; text-align: right; } }

/* ---------- Forms ---------- */
.form-card {
  max-width: 440px; margin: 60px auto;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
}
.form-card h2 { margin: 0 0 6px; }
.form-card .sub { color: var(--text-dim); margin: 0 0 28px; font-size: 0.9rem; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: 0.88rem; font-weight: 600; color: var(--text-dim); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: 0.95rem;
  outline: none; transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field-hint { font-size: 0.78rem; color: var(--text-dim); margin-top: 6px; }
.form-footer { text-align: center; margin-top: 18px; color: var(--text-dim); font-size: 0.9rem; }

.alert {
  padding: 12px 16px; border-radius: 10px; font-size: 0.9rem; margin-bottom: 18px;
  border: 1px solid transparent;
}
.alert-error { background: rgba(255,92,92,0.1); color: #ff8080; border-color: rgba(255,92,92,0.3); }
.alert-success { background: rgba(46,204,113,0.1); color: #4ee08a; border-color: rgba(46,204,113,0.3); }

/* ---------- Dashboard ---------- */
.dash-shell { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 70px); }
.sidebar {
  border-left: 1px solid var(--border);
  padding: 28px 18px;
  background: var(--bg-elevated);
}
.sidebar a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 10px;
  color: var(--text-dim); font-weight: 600; margin-bottom: 4px; font-size: 0.92rem;
}
.sidebar a:hover { background: var(--bg-card); color: var(--text); }
.sidebar a.active { background: var(--accent-grad); color: #fff; }
.dash-content { padding: 32px; }
@media (max-width: 860px) { .dash-shell { grid-template-columns: 1fr; } .sidebar { display: flex; overflow-x: auto; gap: 6px; padding: 14px; } .sidebar a { white-space: nowrap; margin-bottom: 0; } }

.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.stat-card .label { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 8px; }
.stat-card .value { font-size: 1.7rem; font-weight: 900; }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 14px; text-align: right; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
th { color: var(--text-dim); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: .03em; }
.table-wrap { overflow-x: auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.table-wrap table { margin: 0; }
.table-wrap th, .table-wrap td { padding: 14px 18px; }

.badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 0.76rem; font-weight: 700;
}
.badge-pending { background: rgba(245,166,35,0.15); color: var(--warning); }
.badge-in_progress { background: rgba(108,92,231,0.15); color: var(--accent); }
.badge-completed { background: rgba(46,204,113,0.15); color: var(--success); }
.badge-partial { background: rgba(0,184,217,0.15); color: #00b8d9; }
.badge-cancelled, .badge-refunded { background: rgba(255,92,92,0.15); color: var(--danger); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  color: var(--text-dim);
  font-size: 0.88rem;
  text-align: center;
}

.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff;
  animation: spin .7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer social icons ---------- */
.footer-social {
  display: flex; justify-content: center; align-items: center;
  gap: 14px; margin-bottom: 18px; flex-wrap: wrap;
}
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.footer-social a:hover { transform: translateY(-2px); border-color: var(--accent); background: var(--bg-elevated); }
.footer-social svg { width: 18px; height: 18px; display: block; }
.footer-links {
  display: flex; justify-content: center; gap: 22px; flex-wrap: wrap;
  margin-bottom: 18px; font-weight: 600; font-size: 0.88rem;
}
.footer-links a { color: var(--text-dim); }
.footer-links a:hover { color: var(--text); }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; z-index: 90; left: 22px; bottom: 22px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
html[dir="ltr"] .wa-float { left: auto; right: 22px; }

/* ---------- Blog ---------- */
.blog-card p.excerpt { color: var(--text-dim); font-size: 0.92rem; margin: 8px 0 12px; }
.blog-card .meta { color: var(--text-dim); font-size: 0.78rem; text-transform: uppercase; letter-spacing: .04em; }
.blog-post { max-width: 760px; margin: 0 auto; }
.blog-post h1 { font-size: 2rem; margin-bottom: 6px; }
.blog-post .meta { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 28px; }
.blog-post p { line-height: 1.85; margin: 0 0 18px; color: var(--text); }
.blog-post h2 { margin: 32px 0 12px; font-size: 1.3rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .dash-content { padding: 22px 16px; }
}
@media (max-width: 720px) {
  html { font-size: 15px; }
  .header-inner { flex-wrap: wrap; row-gap: 12px; justify-content: center; padding: 14px 0; }
  .brand { order: 1; }
  .header-actions { order: 2; }
  .main-nav { order: 3; width: 100%; justify-content: center; gap: 18px; flex-wrap: wrap; }
  .hero { padding: 56px 0 44px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 28px; margin-top: 36px; }
  .section { padding: 40px 0; }
  .section-title h2 { font-size: 1.5rem; }
  .form-card { margin: 32px auto; padding: 26px 20px; }
  .wa-float { width: 50px; height: 50px; left: 16px; bottom: 16px; }
  html[dir="ltr"] .wa-float { right: 16px; }
  .wa-float svg { width: 26px; height: 26px; }
}
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero h1 { font-size: 1.65rem; }
  .hero p { font-size: 1rem; }
  .hero-stat b { font-size: 1.4rem; }
}

/* ---------- Trust bar (payments + live counters) ---------- */
.trust-bar { padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-elevated); }
.trust-bar .container { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.trust-pay { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.trust-label { display: inline-flex; align-items: center; gap: 6px; color: var(--text-dim); font-size: 0.85rem; font-weight: 700; margin-inline-end: 6px; }
.trust-label .ico-svg, .pay-chip svg { width: 18px; height: 18px; }
.pay-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-card); font-size: 0.85rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.pay-chip svg { color: var(--accent-2); }
.trust-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px; }
.trust-stats[hidden], .trust-stat[hidden] { display: none; }
.trust-stat { display: inline-flex; align-items: center; gap: 10px; color: var(--text-dim); font-size: 0.9rem; }
.trust-stat .ico-svg { color: var(--accent-2); width: 22px; height: 22px; }
.trust-stat b { color: var(--text); font-size: 1.5rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.feature-card .feature-icon svg { width: 24px; height: 24px; }
.sidebar a { display: flex; align-items: center; gap: 10px; }
.sidebar a .ico-svg { width: 18px; height: 18px; flex: none; }
.blog-post[dir="rtl"] { text-align: right; }

/* ---------- Admin / dashboard: fit every screen (phone, tablet, laptop) ---------- */
.dash-shell { grid-template-columns: 240px minmax(0, 1fr); }
.dash-content { min-width: 0; }
.dash-content > section { max-width: 1400px; margin-inline: auto; }
.table-wrap { max-width: 100%; -webkit-overflow-scrolling: touch; }
.table-wrap th, .table-wrap td { padding: 11px 14px; }
:where(.dash-content input:not([type=checkbox]):not([type=radio]):not([type=file]), .dash-content select, .dash-content textarea) {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); padding: 9px 12px; font-size: .92rem; max-width: 100%; outline: none;
}
:where(.dash-content input, .dash-content select, .dash-content textarea):focus { border-color: var(--accent); }
.dash-content h2 { margin-top: 0; }
.dash-content .card { min-width: 0; }
.dash-content .btn { white-space: nowrap; }
@media (max-width: 1100px) {
  .dash-shell { grid-template-columns: 200px minmax(0, 1fr); }
  .dash-content { padding: 24px 20px; }
}
@media (max-width: 860px) {
  .dash-shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: sticky; top: 0; z-index: 20; border-inline-end: 0; border-bottom: 1px solid var(--border); scrollbar-width: none; }
  .sidebar::-webkit-scrollbar { display: none; }
  .dash-content { padding: 18px 14px; }
  .dash-content .card { padding: 18px 16px; }
  .svc-name { max-width: 240px; }
}
@media (max-width: 640px) {
  #stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #stats-grid .stat-card { padding: 16px 14px; }
  #stats-grid .stat-card .value { font-size: 1.4rem; }
  .dash-content h2 { font-size: 1.3rem; }
  .dash-content .btn-sm { padding: 8px 12px; }
  .table-wrap th, .table-wrap td { padding: 9px 10px; font-size: .84rem; }
}
@media (max-width: 340px) {
  #stats-grid { grid-template-columns: 1fr; }
}

/* ---------- Hero banner + platforms marquee ---------- */.plat-marquee { margin: 34px auto 0; max-width: 1100px; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.plat-track { display: flex; gap: 12px; width: max-content; animation: platScroll 38s linear infinite; }
.plat-marquee:hover .plat-track { animation-play-state: paused; }
.plat { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--text); white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: transform .2s, border-color .2s; }
.plat:hover { transform: translateY(-3px) scale(1.04); border-color: var(--accent); }
.plat .pi { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; color: #fff; font-size: .95rem; flex: none; }
.plat .pi svg { width: 18px; height: 18px; }
@keyframes platScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .plat-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .plat-marquee { -webkit-mask-image: none; mask-image: none; } .plat-track .plat:nth-child(n+16) { display: none; } }

.hero-banner { max-width: 1080px; margin: 44px auto 0; position: relative; border-radius: 22px; padding: 2px; background: var(--accent-grad); box-shadow: 0 20px 70px rgba(108,92,231,.35), 0 0 0 1px rgba(255,255,255,.04); }
.hero-banner img { display: block; width: 100%; height: auto; border-radius: 20px; aspect-ratio: 2576 / 1405; }
.hero-banner .sheen { position: absolute; inset: 2px; border-radius: 20px; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.12) 50%, transparent 65%); background-size: 250% 100%; animation: bannerSheen 6s ease-in-out infinite; }
@keyframes bannerSheen { 0% { background-position: 150% 0; } 60%, 100% { background-position: -50% 0; } }
.hero-banner-note { font-size: .72rem; color: var(--text-dim); margin: 10px auto 0; opacity: .8; max-width: 640px; }
@media (prefers-reduced-motion: reduce) { .hero-banner .sheen { animation: none; } }
@media (max-width: 720px) { .hero-banner { margin-top: 30px; border-radius: 16px; } .hero-banner img, .hero-banner .sheen { border-radius: 14px; } }
.hero-stats { margin-top: 36px; }

/* ===== iqscoop-style hero + brand cards ===== */
.hero.iq{background:linear-gradient(135deg,#4f46e5 0%,#8b5cf6 35%,#ec4899 72%,#f59e0b 100%)}
.hero.iq::before{inset:0;height:auto;background:radial-gradient(60% 50% at 50% 30%,rgba(255,255,255,.26),transparent 70%)}
.hero.iq .container{position:relative;z-index:2}
.hero.iq h1,.hero.iq .hero-stat b{color:#fff;text-shadow:0 4px 30px rgba(0,0,0,.2)}
.hero.iq .gradient-text{background:none;-webkit-text-fill-color:#fff;color:#fff}
.hero.iq p,.hero.iq .hero-stat span,.hero.iq .hero-banner-note{color:rgba(255,255,255,.92)}
.hero.iq .btn-primary{background:#fff;color:#4338ca;border-color:#fff;box-shadow:0 10px 30px rgba(0,0,0,.2)}
.hero.iq .btn-outline{background:rgba(255,255,255,.18);color:#fff;border-color:rgba(255,255,255,.55)}
.iq-tiles{position:absolute;left:0;right:0;top:0;height:520px;z-index:1;pointer-events:none}
.iq-tile{position:absolute;width:var(--s,64px);height:var(--s,64px);border-radius:20px;background:rgba(255,255,255,.28);border:1px solid rgba(255,255,255,.6);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 12px 32px rgba(30,20,90,.22),inset 0 1px 0 rgba(255,255,255,.7);display:grid;place-items:center;animation:iqfl var(--d,7s) ease-in-out var(--l,0s) infinite alternate}
.iq-tile i{width:48%;height:48%;background:var(--c,#fff);-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat;filter:drop-shadow(0 2px 3px rgba(0,0,0,.2))}
@keyframes iqfl{0%{transform:translate(0,0) rotate(-6deg)}50%{transform:translate(10px,-22px) rotate(4deg)}100%{transform:translate(-8px,14px) rotate(-3deg)}}
#categories-grid.pc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:18px}
.pc{position:relative;display:flex;flex-direction:column;align-items:center;gap:12px;padding:30px 18px;border-radius:22px;color:#fff;text-decoration:none;text-align:center;background:var(--bg,linear-gradient(135deg,#7c6cf0,#4b3fc4));box-shadow:0 10px 26px -10px var(--sh,rgba(108,92,231,.6));transition:transform .25s,box-shadow .25s;overflow:hidden}
.pc::before{content:"";position:absolute;width:140px;height:140px;border-radius:50%;background:rgba(255,255,255,.14);top:-50px;right:-40px}
.pc:hover{transform:translateY(-6px) scale(1.02);box-shadow:0 22px 40px -12px var(--sh,rgba(108,92,231,.7))}
.pc .ic{position:relative;width:64px;height:64px;border-radius:50%;background:rgba(255,255,255,.22);border:1px solid rgba(255,255,255,.4);display:grid;place-items:center;font-weight:800;font-size:1.5rem}
.pc .ic i{width:30px;height:30px;background:var(--ic,#fff);-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat}
.pc b{position:relative;font-size:1.1rem}
.pc span{position:relative;font-size:.85rem;opacity:.92}
.pc.dark{color:#111}.pc.dark .ic{background:rgba(0,0,0,.08);border-color:rgba(0,0,0,.15)}
@media(prefers-reduced-motion:reduce){.iq-tile{animation:none}}
@media(max-width:700px){.iq-tile{--s:44px!important;border-radius:14px}#categories-grid.pc-grid{grid-template-columns:repeat(2,1fr);gap:12px}.pc{padding:22px 10px}.iq-tiles{height:440px}}

/* hero typography */
.hero.iq h1,.hero.iq p,.hero.iq .btn{font-family:"Cairo","Segoe UI",Tahoma,system-ui,sans-serif}
.hero.iq h1{font-size:clamp(1.35rem,3.4vw,2.5rem);font-weight:800;line-height:1.5;letter-spacing:0;margin-bottom:20px}
.hero.iq h1 .gradient-text{-webkit-text-fill-color:#ffe066;color:#ffe066;text-shadow:0 4px 24px rgba(0,0,0,.18)}
.hero.iq p{font-size:clamp(1rem,2.2vw,1.25rem);font-weight:600;line-height:1.95;color:rgba(255,255,255,.95);max-width:700px;margin-bottom:34px}
.hero.iq .hero-cta .btn{font-size:1.05rem;font-weight:800;padding:15px 34px;border-radius:999px}
.hero.iq p.hero-banner-note{font-size:.78rem;font-weight:400;line-height:1.6;color:rgba(255,255,255,.75);max-width:560px;margin:30px auto 0}

@media(min-width:560px){.hero.iq h1{white-space:nowrap}}

.hero.iq p:not(.hero-banner-note){font-size:clamp(.88rem,1.6vw,1.02rem);font-weight:600;line-height:1.9;max-width:920px;text-wrap:balance}

/* hero CTA buttons */
.hero.iq .hero-cta .btn{position:relative;isolation:isolate;display:inline-flex;align-items:center;gap:12px;border:0;padding:12px 30px 12px 14px;font-size:1.05rem;font-weight:800;transition:transform .25s,box-shadow .25s;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.hero.iq .hero-cta .btn::before{content:"";flex:none;width:38px;height:38px;border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:56%;-webkit-text-fill-color:initial;box-shadow:0 4px 12px rgba(0,0,0,.25)}
.hero.iq .hero-cta .btn::after{content:"";position:absolute;inset:0;z-index:-1;border-radius:999px;-webkit-text-fill-color:initial}
.hero.iq .hero-cta .btn:hover{transform:translateY(-3px) scale(1.03)}
.hero.iq .hero-cta .btn-primary{background-image:linear-gradient(90deg,#4f46e5,#db2777 60%,#f97316)}
.hero.iq .hero-cta .btn-primary::before{background-color:#e11d74;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='4'/%3E%3Cpath d='M2 21c0-4 3-6 7-6s7 2 7 6M19 8v6M16 11h6'/%3E%3C/svg%3E");background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='4'/%3E%3Cpath d='M2 21c0-4 3-6 7-6s7 2 7 6M19 8v6M16 11h6'/%3E%3C/svg%3E"),linear-gradient(135deg,#6366f1,#ec4899)}
.hero.iq .hero-cta .btn-primary::after{background:#fff;box-shadow:0 12px 34px rgba(255,255,255,.35),0 10px 30px rgba(0,0,0,.25)}
.hero.iq .hero-cta .btn-primary:hover{box-shadow:0 0 0 6px rgba(255,255,255,.25)}
.hero.iq .hero-cta .btn-outline{background-image:linear-gradient(90deg,#5eead4,#ffe066)}
.hero.iq .hero-cta .btn-outline::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6z'/%3E%3Cpath d='M9 8a3 3 0 016 0'/%3E%3C/svg%3E"),linear-gradient(135deg,#06b6d4,#22d3ee)}
.hero.iq .hero-cta .btn-outline::after{background:linear-gradient(135deg,#1e1b4b,#312e81);border:1.5px solid rgba(255,255,255,.45);box-shadow:0 12px 30px rgba(20,10,60,.45)}
.hero.iq .hero-cta .btn-outline:hover{box-shadow:0 0 0 6px rgba(94,234,212,.25)}
@media(max-width:560px){.hero.iq .hero-cta .btn{justify-content:center}}

/* CTA fix: pill as second background layer */
.hero.iq .hero-cta .btn::after{display:none}
.hero.iq .hero-cta .btn{border-radius:999px;-webkit-background-clip:text,border-box;background-clip:text,border-box}
.hero.iq .hero-cta .btn-primary{background-image:linear-gradient(90deg,#4f46e5,#db2777 60%,#f97316),linear-gradient(#fff,#fff);box-shadow:0 12px 34px rgba(255,255,255,.3),0 10px 30px rgba(0,0,0,.25)}
.hero.iq .hero-cta .btn-outline{background-image:linear-gradient(90deg,#5eead4,#ffe066),linear-gradient(135deg,#1e1b4b,#312e81);box-shadow:0 0 0 1.5px rgba(255,255,255,.45),0 12px 30px rgba(20,10,60,.45)}
.hero.iq .hero-cta .btn-primary:hover{box-shadow:0 0 0 6px rgba(255,255,255,.25),0 12px 34px rgba(0,0,0,.25)}
.hero.iq .hero-cta .btn-outline:hover{box-shadow:0 0 0 6px rgba(94,234,212,.25),0 12px 30px rgba(20,10,60,.45)}

/* service type icons */
.t-ic{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:8px;background:var(--tc,#8b5cf6);color:#fff;margin-inline-end:8px;vertical-align:middle;flex:none;box-shadow:0 3px 10px -2px var(--tc,#8b5cf6)}
.t-ic svg{width:14px;height:14px;display:block}
.service-row .name .t-ic{width:32px;height:32px;border-radius:10px;margin-inline-end:10px}
.service-row .name .t-ic svg{width:18px;height:18px}
#type-bar .chip{display:inline-flex;align-items:center}

/* inline type buttons next to the open platform */
.type-inline{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;padding:5px 8px;border-radius:22px;background:linear-gradient(135deg,rgba(139,92,246,.16),rgba(236,72,153,.12));border:1.5px dashed rgba(167,139,250,.65);position:relative}
.type-inline::before{content:"";width:18px;height:2px;background:rgba(167,139,250,.8);position:absolute;inset-inline-start:-20px;top:50%}
.type-inline .chip{font-size:.85rem;padding:5px 12px}
.filter-bar .chip.active:has(+ .type-inline){box-shadow:0 0 0 3px rgba(139,92,246,.3)}
@media(max-width:700px){.type-inline{width:100%;margin-top:4px}.type-inline::before{display:none}}

/* type buttons branching down from the open platform */
#type-bar.branch{position:relative;margin-top:22px!important;padding:12px 14px;border:1.5px dashed rgba(167,139,250,.65);border-radius:18px;background:#15122f;box-shadow:0 10px 30px -12px rgba(139,92,246,.45)}
#type-bar.branch::before{content:"";position:absolute;top:-9px;left:var(--cx,50%);width:16px;height:16px;background:#15122f;border-top:1.5px dashed rgba(167,139,250,.65);border-left:1.5px dashed rgba(167,139,250,.65);transform:translateX(-50%) rotate(45deg)}
#type-bar.branch::after{content:"";position:absolute;top:-22px;left:var(--cx,50%);height:14px;width:0;border-left:2px solid rgba(167,139,250,.85);transform:translateX(-50%)}
.filter-bar .chip.active{box-shadow:0 0 0 3px rgba(139,92,246,.28)}

/* type slot: panel directly under the open platform's row */
.type-slot{flex:0 0 100%;width:100%;position:relative;margin:20px 0 10px;padding:12px 14px;display:flex;flex-wrap:wrap;gap:8px;border:1.5px dashed rgba(167,139,250,.65);border-radius:18px;background:#15122f;box-shadow:0 10px 30px -12px rgba(139,92,246,.45)}
.type-slot::before{content:"";position:absolute;top:-9px;left:var(--cx,50%);width:16px;height:16px;background:#15122f;border-top:1.5px dashed rgba(167,139,250,.65);border-left:1.5px dashed rgba(167,139,250,.65);transform:translateX(-50%) rotate(45deg)}
.type-slot::after{content:"";position:absolute;top:-19px;left:var(--cx,50%);height:12px;border-left:2px solid rgba(167,139,250,.85);transform:translateX(-50%)}

/* third row: panel after all platform rows, with platform badge */
.type-slot::before,.type-slot::after{display:none}
.type-slot{margin:14px 0 6px;align-items:center}
.slot-label{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;font-weight:800;font-size:.9rem;color:#fff;background:linear-gradient(135deg,#6366f1,#ec4899)}
.slot-label .chip-icon{margin:0}

/* type buttons on the platform heading line */
.services-cat-heading{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.type-head{display:inline-flex;flex-wrap:wrap;gap:6px;margin-inline-start:8px}
.type-head .chip{font-size:.82rem;font-weight:600;padding:4px 11px}

/* show / hide password */
.pw-wrap{position:relative;display:block}
.pw-wrap input{padding-inline-end:46px!important;width:100%}
.pw-eye{position:absolute;inset-inline-end:8px;top:50%;transform:translateY(-50%);width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--text-dim,#9aa3b8);cursor:pointer;transition:color .2s,background .2s}
.pw-eye:hover{color:#fff;background:rgba(255,255,255,.08)}
.pw-eye.on{color:#a78bfa}

/* mobile: compact hero CTAs (secondary button no longer a full-width bar) */
@media (max-width: 560px) {
  .hero.iq .hero-cta { gap: 12px; align-items: center; }
  .hero.iq .hero-cta .btn { font-size: .98rem; padding: 9px 22px 9px 9px; gap: 10px; }
  .hero.iq .hero-cta .btn::before { width: 32px; height: 32px; flex: 0 0 32px; align-self: center; }
  .hero.iq .hero-cta .btn-primary { width: 100%; }
  .hero.iq .hero-cta .btn-outline { width: auto; max-width: 100%; padding: 6px 16px 6px 6px; font-size: .9rem;
    background-image: linear-gradient(90deg, #5eead4, #ffe066), linear-gradient(rgba(20,14,60,.55), rgba(20,14,60,.55));
    box-shadow: 0 0 0 1px rgba(255,255,255,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .hero.iq .hero-cta .btn-outline::before { width: 26px; height: 26px; flex: 0 0 26px; }
}
/* icon circles: gradient layer fills the whole circle (was squeezed to 56% width) */
.hero.iq .hero-cta .btn::before { background-size: 56% auto, 100% 100%; }
/* ---------- services page: search, loading, tags, pagination ---------- */
.section-title h1 { font-size: 2rem; font-weight: 800; margin: 0 0 10px; }
@media (max-width: 700px) { .section-title h1 { font-size: 1.5rem; } }
.svc-search { position: relative; max-width: 560px; margin: 0 auto 22px; }
.svc-search svg { position: absolute; inset-inline-start: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--text-dim); pointer-events: none; }
.svc-search input { width: 100%; padding: 12px 42px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text); font: inherit; font-size: .95rem; }
.svc-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(108,92,231,.25); }
.svc-search input::-webkit-search-cancel-button { display: none; }
.svc-search button { position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--text-dim); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.svc-search button:hover { color: var(--text); background: var(--bg-card); }
#filter-bar .chip small, #type-bar .chip small { opacity: .7; font-weight: 600; margin-inline-start: 4px; }
#filter-bar .chip { cursor: pointer; }
.svc-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 48px 0; color: var(--text-dim); }
.nb-spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--accent-2); animation: nb-spin .8s linear infinite; }
@keyframes nb-spin { to { transform: rotate(360deg); } }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.svc-tag { font-size: .74rem; font-weight: 600; color: var(--text-dim); background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.svc-tag.ok { color: var(--success); border-color: rgba(46,204,113,.35); }
.svc-tag.off { color: var(--warning); border-color: rgba(245,166,35,.35); }
.svc-pkg { color: var(--warning); font-weight: 600; }
.service-row .name { display: flex; align-items: center; gap: 0; line-height: 1.35; }
.service-row .name .chip-icon { width: 18px; height: 18px; flex: none; }
.service-row .price small { font-weight: 600; color: var(--text-dim); font-size: .78rem; }
.svc-more { text-align: center; margin-top: 18px; }
#svc-more[hidden] { display: none; }
/* services page: sort chips + new badge */
.svc-sort { align-items: center; margin-top: 10px; }
.svc-sort .chip { cursor: pointer; font-size: .85rem; padding: 6px 14px; }
.svc-sort-label { color: var(--text-dim); font-weight: 700; font-size: .85rem; margin-inline-end: 2px; }
.svc-new { display: inline-block; margin-inline-start: 8px; padding: 1px 8px; border-radius: 999px; font-size: .7rem; font-weight: 800; color: #0b0f19; background: linear-gradient(90deg, #5eead4, #ffe066); vertical-align: middle; }

/* platform landing pages (/instagram, /fr/tiktok, /ar/youtube ...) */
.lp-crumbs { font-size: .85rem; color: var(--text-dim); margin-bottom: 18px; }
.lp-crumbs a { color: var(--text-dim); }
.lp-hero { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.lp-icon img { width: 56px; height: 56px; border-radius: 14px; }
.lp-hero h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; margin: 12px 0; }
.lp-intro { color: var(--text-dim); line-height: 1.8; font-size: 1.02rem; }
.lp-hero .hero-cta { justify-content: center; margin-top: 18px; }
.lp-card { max-width: 760px; margin: 0 auto 32px; overflow-x: auto; }
.lp-table { width: 100%; border-collapse: collapse; }
.lp-table th, .lp-table td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--border); }
.lp-table th { color: var(--text-dim); font-weight: 600; font-size: .85rem; }
.lp h2 { max-width: 760px; margin: 32px auto 14px; font-size: 1.35rem; }
.lp-steps, .lp-faq, .lp-platforms, .lp-note { max-width: 760px; margin-inline: auto; }
.lp-steps { padding-inline-start: 22px; line-height: 1.9; }
.lp-faq details { border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; }
.lp-faq summary { cursor: pointer; font-weight: 700; }
.lp-faq p { color: var(--text-dim); line-height: 1.8; margin: 10px 0 0; }
.lp-platforms { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-plat { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--text); text-decoration: none; }
.lp-plat:hover { border-color: var(--accent); }
.lp-note { color: var(--text-dim); font-size: .8rem; margin-top: 28px; text-align: center; }

/* site font: Arial everywhere, with tighter (still readable) line spacing */
body, button, input, select, textarea, .hero.iq h1, .hero.iq p, .hero.iq .btn { font-family: Arial, Helvetica, sans-serif; }
body { line-height: 1.45; }
.blog-post p { line-height: 1.6; margin-bottom: 14px; }
body .blog-post ul, body .blog-post ol { line-height: 1.6; }
.hero.iq h1 { line-height: 1.3; }
.hero.iq p { line-height: 1.6; }
.hero.iq p:not(.hero-banner-note) { line-height: 1.55; }
.hero.iq p.hero-banner-note { line-height: 1.45; }
.lp-intro, .lp-faq p { line-height: 1.55; }
.lp-steps { line-height: 1.6; }

/* ---------- day mode (data-theme="light" on <html>) ---------- */
:root[data-theme="light"] { --bg: #f4f6fb; --bg-elevated: #ffffff; --bg-card: #ffffff; --border: #dfe4ee; --text: #111827; --text-dim: #5b6475; --shadow: 0 8px 30px rgba(17,24,39,.08); color-scheme: light; }
:root[data-theme="light"] .site-header { background: rgba(255,255,255,.9); }
:root[data-theme="light"] #type-bar.branch::before, :root[data-theme="light"] .type-slot::before { background: var(--bg); }
.theme-toggle { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text); cursor: pointer; flex: none; }
.theme-toggle svg { width: 18px; height: 18px; }

/* ---------- updates bell ---------- */
.nb-bell-wrap { position: relative; display: inline-flex; }
.nb-bell { position: relative; }
.nb-bell-count { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--danger); color: #fff; font-size: .7rem; font-weight: 800; line-height: 18px; text-align: center; }
.nb-bell-panel { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; width: 330px; max-width: calc(100vw - 24px); max-height: 70vh; overflow: auto; z-index: 100; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); text-align: start; }
.nb-bell-head { position: sticky; top: 0; padding: 12px 14px; font-weight: 800; background: var(--bg-elevated); border-bottom: 1px solid var(--border); }
.nb-bell-item { display: block; padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; }
.nb-bell-item:hover { background: rgba(108,92,231,.12); }
.nb-bell-item.unread { border-inline-start: 3px solid var(--accent); }
.nb-bell-name { display: block; font-size: .88rem; font-weight: 600; line-height: 1.35; }
.nb-bell-meta { display: block; margin-top: 3px; font-size: .78rem; color: var(--text-dim); }
.nb-bell-empty { padding: 16px 14px; color: var(--text-dim); font-size: .9rem; }
.nb-bell-all { display: block; padding: 12px 14px; font-weight: 700; color: var(--accent-2); text-decoration: none; }

@media (max-width: 600px) {
  .nb-bell-panel { position: fixed; left: 12px; right: 12px; width: auto; max-width: none; max-height: calc(100vh - 140px); }
}

/* phones: header buttons wrap instead of spilling off the screen; dashboard sections in 2 rows of 3 */
@media (max-width: 600px) {
  .header-actions { flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 100%; }
  .header-actions .btn-sm { padding-left: 10px; padding-right: 10px; }
  .header-actions > a.btn-outline { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sidebar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; overflow: visible; padding: 10px; }
  .sidebar .tab-link { flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 4px; padding: 8px 4px; font-size: .78rem; white-space: normal; line-height: 1.2; }
}

/* account tab on wide screens: API card beside the password card */
@media (min-width: 1000px) {
  #tab-account:not(.hidden) { display: grid; grid-template-columns: repeat(2, minmax(0, 460px)); column-gap: 24px; align-items: start; }
  #tab-account > h2 { grid-column: 1 / -1; }
  #tab-account > .card { max-width: none !important; }
  #tab-account > #apikey-card { grid-column: 2; grid-row: 2; }
  #tab-account > #acct-card { grid-column: 1; }
}

/* ---------- blog: call to action, tables, language badge ---------- */
.blog-cta { margin: 36px 0 8px; padding: 26px 20px; border-radius: 16px; text-align: center; background: linear-gradient(135deg, rgba(108,92,231,.18), rgba(0,217,192,.10)); border: 1px solid var(--border); }
.blog-cta h3 { margin: 0 0 8px; font-size: 1.3rem; }
.blog-post .blog-cta p { color: var(--text-dim); margin: 0 0 18px; }
.blog-cta .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.blog-post table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: .92rem; display: block; overflow-x: auto; }
.blog-post th, .blog-post td { border: 1px solid var(--border); padding: 8px 10px; text-align: start; vertical-align: top; }
.blog-post th { background: var(--bg-elevated); }
.blog-lang { margin-inline-end: 6px; }

.blog-post .blog-cta .btn-primary, .blog-post .blog-cta .btn-primary:hover { color: #fff !important; text-decoration: none; }
.blog-post .blog-cta .btn-outline { color: var(--text) !important; text-decoration: none; }

/* ===== header & footer refresh (2026-11-22) ===== */
/* header: glass bar, glowing gradient line, gradient brand, pill nav */
.site-header{background:rgba(11,14,26,.78)!important;backdrop-filter:saturate(160%) blur(12px);-webkit-backdrop-filter:saturate(160%) blur(12px);border-bottom:0!important;position:sticky}
.site-header:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,transparent,#8B5CF6 15%,#EC4899 50%,#06B6D4 85%,transparent);box-shadow:0 0 12px rgba(236,72,153,.55);pointer-events:none}
.site-header .brand{font-weight:900;background:linear-gradient(90deg,#fff,#c4b5fd 60%,#f9a8d4);-webkit-background-clip:text;background-clip:text;color:transparent!important}
.site-header .brand .brand-mark{-webkit-text-fill-color:initial}
.site-header .main-nav{gap:4px!important}
.site-header .main-nav a{padding:6px 14px!important;border-radius:999px;font-weight:700;transition:background .15s,color .15s}
.site-header .main-nav a:hover{background:rgba(139,92,246,.16);color:#fff!important}
.site-header .main-nav a.active{background:linear-gradient(135deg,#6366F1,#EC4899)!important;color:#fff!important;box-shadow:0 6px 18px -8px rgba(236,72,153,.8)}
.site-header .main-nav a.active:after{display:none!important}
html[data-theme=light] .site-header{background:rgba(255,255,255,.82)!important}
html[data-theme=light] .site-header .brand{background:linear-gradient(90deg,#4F46E5,#8B5CF6 60%,#EC4899);-webkit-background-clip:text;background-clip:text}
/* footer: glowing line on top, gradient headings, cleaner columns */
.site-footer{position:relative;border-top:0!important;background:linear-gradient(180deg,rgba(79,70,229,.08),transparent 40%),var(--bg,#0b0e1a)!important;padding-top:34px!important}
.site-footer:before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,transparent,#8B5CF6 15%,#EC4899 50%,#06B6D4 85%,transparent);box-shadow:0 0 12px rgba(236,72,153,.55)}
.site-footer h4,.site-footer h3,.site-footer .seo-links h4,.site-footer .footer-col-title,.site-footer strong{background:linear-gradient(90deg,#F59E0B,#EC4899,#8B5CF6);-webkit-background-clip:text;background-clip:text;color:transparent!important;font-weight:900}
.site-footer a{transition:color .15s}
.site-footer a:hover{color:#f0abfc!important}
.site-footer .pay-strip{max-width:900px;margin:18px auto 0!important;padding:10px 14px!important;border-radius:14px;border:1px solid var(--border,rgba(255,255,255,.1));background:rgba(255,255,255,.03)}
.site-footer .footer-links{margin-top:14px!important;padding-top:12px;border-top:1px solid var(--border,rgba(255,255,255,.08))}
.site-footer .footer-links a{padding:3px 10px;border-radius:999px}
.site-footer .footer-links a:hover{background:rgba(139,92,246,.15)}

/* footer columns as glowing cards with icons; links as chips */
.site-footer .seo-links{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0 0 18px!important;padding-bottom:0!important;border-bottom:0!important}
.site-footer .seo-links > div{position:relative;padding:14px 14px 12px;border-radius:16px;border:1px solid var(--border,rgba(255,255,255,.09));background:linear-gradient(180deg,rgba(139,92,246,.07),rgba(255,255,255,.015));transition:border-color .2s,transform .2s,box-shadow .2s}
.site-footer .seo-links > div:hover{border-color:rgba(139,92,246,.55);transform:translateY(-2px);box-shadow:0 14px 30px -18px rgba(139,92,246,.7)}
.site-footer .seo-links h4{display:flex;align-items:center;gap:8px;margin:0 0 10px!important;font-size:.95rem!important}
.site-footer .seo-links h4:before{-webkit-text-fill-color:initial;display:inline-grid;place-items:center;width:28px;height:28px;border-radius:9px;font-size:15px;background:linear-gradient(135deg,#6366F1,#EC4899);box-shadow:0 6px 14px -6px rgba(236,72,153,.7)}
.site-footer .seo-links > div:nth-child(1) h4:before{content:"🌐"}
.site-footer .seo-links > div:nth-child(2) h4:before{content:"📱";background:linear-gradient(135deg,#F59E0B,#EC4899)}
.site-footer .seo-links > div:nth-child(3) h4:before{content:"🧮";background:linear-gradient(135deg,#06B6D4,#3B82F6)}
.site-footer .seo-links > div:nth-child(4) h4:before{content:"📰";background:linear-gradient(135deg,#22C55E,#0EA5E9)}
.site-footer .seo-links ul{gap:6px!important}
.site-footer .seo-links > div:not(.col-blog) a{display:inline-block;opacity:1!important;font-size:.8rem;font-weight:700;padding:3px 10px;border-radius:999px;border:1px solid var(--border,rgba(255,255,255,.12));background:rgba(255,255,255,.03);text-decoration:none!important;transition:.15s}
.site-footer .seo-links > div:not(.col-blog) a:hover{border-color:#8B5CF6;background:rgba(139,92,246,.18);color:#fff!important}
.site-footer .seo-links .col-blog li{position:relative;padding-inline-start:14px}
.site-footer .seo-links .col-blog li:before{content:"";position:absolute;inset-inline-start:0;top:.6em;width:6px;height:6px;border-radius:50%;background:linear-gradient(135deg,#8B5CF6,#EC4899)}
.site-footer .seo-links .col-blog a{opacity:.85!important;font-size:.82rem;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* bottom bar: pill navigation + brand line */
.site-footer .footer-links{display:flex!important;justify-content:center;flex-wrap:wrap;gap:4px!important;width:fit-content;max-width:100%;margin:16px auto 0!important;padding:5px!important;border:1px solid var(--border,rgba(255,255,255,.1))!important;border-radius:999px;background:rgba(255,255,255,.03)}
.site-footer .footer-links a{padding:5px 14px!important;border-radius:999px;font-weight:700;font-size:.82rem}
.site-footer .footer-links a:hover{background:linear-gradient(135deg,#6366F1,#EC4899)!important;color:#fff!important}
.site-footer .footer-links + div{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;font-size:.8rem;opacity:.8}
.site-footer .footer-links + div:before{content:"";width:20px;height:20px;border-radius:6px;background:url(/follovy-icon.svg) center/cover}
@media (max-width:900px){.site-footer .seo-links{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:560px){.site-footer .seo-links{grid-template-columns:1fr!important}.site-footer .footer-links{border-radius:16px}}