/* ==========================================================================
   KianSat — Premium IPTV & CCcam
   Shared stylesheet for the English and Persian pages
   ========================================================================== */

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 142px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  position: relative;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

ul,
ol { list-style: none; }

h1, h2, h3, h4 {
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection { background: rgba(139, 92, 246, 0.4); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #060912; }
::-webkit-scrollbar-thumb {
  background: #26304a;
  border-radius: 99px;
  border: 2px solid #060912;
}
::-webkit-scrollbar-thumb:hover { background: #38466a; }

/* ---------- Tokens ---------- */
:root {
  --bg: #05070f;
  --bg-soft: #080d19;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --card: rgba(13, 19, 36, 0.7);
  --ink: #eef2ff;
  --muted: #98a4bd;
  --muted-2: #74809b;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --violet: #8b5cf6;
  --violet-2: #6d28d9;
  --violet-soft: #a78bfa;
  --cyan: #22d3ee;
  --green: #34d399;
  --pink: #f472b6;
  --amber: #fbbf24;
  --blue: #60a5fa;
  --grad: linear-gradient(120deg, #a78bfa 0%, #7c3aed 48%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(34, 211, 238, 0.1));
  --shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.7);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
  --topbar-h: 38px;
  --font: "Manrope", "Vazirmatn", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html[lang="fa"] {
  --font: "Vazirmatn", "Manrope", system-ui, Tahoma, sans-serif;
}

html[lang="fa"] h1,
html[lang="fa"] h2,
html[lang="fa"] h3,
html[lang="fa"] h4 {
  letter-spacing: 0;
  line-height: 1.45;
}

html[lang="fa"] .eyebrow {
  letter-spacing: 0;
  text-transform: none;
  font-size: 12px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(76px, 9vw, 118px) 0;
  z-index: 1;
}

.icon {
  width: 19px;
  height: 19px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[dir="rtl"] .icon-arrow { transform: scaleX(-1); }

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 500;
  padding: 12px 18px;
  border-radius: 10px;
  background: #fff;
  color: #0a0e1a;
  font-weight: 700;
  font-size: 13px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* ---------- Background ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(76, 29, 149, 0.34), transparent 62%),
    radial-gradient(900px 600px at 8% 32%, rgba(8, 47, 73, 0.5), transparent 65%),
    linear-gradient(180deg, #05070f 0%, #060a15 48%, #05070f 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.42;
  will-change: transform;
}

.blob-1 {
  width: 560px;
  height: 560px;
  top: -180px;
  left: -130px;
  background: #6d28d9;
  animation: drift 22s ease-in-out infinite alternate;
}

.blob-2 {
  width: 520px;
  height: 520px;
  top: 18%;
  right: -200px;
  background: #0e7490;
  opacity: 0.34;
  animation: drift 26s ease-in-out -7s infinite alternate-reverse;
}

.blob-3 {
  width: 440px;
  height: 440px;
  bottom: -220px;
  left: 38%;
  background: #be185d;
  opacity: 0.18;
  animation: drift 30s ease-in-out -12s infinite alternate;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.065) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 18%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 65% at 50% 18%, #000 0%, transparent 78%);
  opacity: 0.6;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main,
.site-footer { position: relative; z-index: 1; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 300;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.7);
}

/* ---------- Global payment topbar ---------- */
.topbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  height: var(--topbar-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(76, 29, 149, 0.92), rgba(8, 47, 73, 0.92) 54%, rgba(14, 116, 144, 0.9));
  box-shadow: 0 8px 26px -16px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  color: #eef2ff;
  font-size: 11.5px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}
.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.topbar-badge .icon { width: 11px; height: 11px; color: #a5f3fc; }
.topbar-copy {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topbar-copy strong { color: #fff; font-weight: 800; }
.topbar-short { display: none; }
.topbar-pay { display: inline-flex; align-items: center; gap: 5px; flex: none; }
.pay-chip {
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #f5f3ff;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}
.topbar-link:hover { border-color: #fff; opacity: 0.9; }
.topbar-link .icon { width: 12px; height: 12px; }

@media (max-width: 860px) {
  .topbar-badge { display: none; }
}
@media (max-width: 680px) {
  .topbar { font-size: 10.5px; }
  .topbar-inner { gap: 8px; }
  .topbar-full,
  .topbar-pay { display: none; }
  .topbar-short { display: inline; }
}
@media (max-width: 420px) {
  :root { --topbar-h: 34px; }
  .topbar { font-size: 9.8px; }
  .topbar-link { font-size: 9.5px; }
}

/* ---------- Payment methods row ---------- */
.pay-methods {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 470px;
  margin-top: 15px;
}
.pay-methods-label {
  margin-inline-end: 2px;
  color: var(--muted-2);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
html[lang="fa"] .pay-methods-label { letter-spacing: 0; text-transform: none; font-size: 10.5px; }
.pay-method {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #c8d1e6;
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
}
.pay-method .icon { width: 12px; height: 12px; color: #a5f3fc; }
.pay-method.paypal .icon { color: #93c5fd; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn .icon { width: 17px; height: 17px; }

.btn-primary {
  background: var(--grad);
  background-size: 140% 140%;
  color: #fff;
  box-shadow: 0 14px 34px -12px rgba(124, 58, 237, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px -12px rgba(124, 58, 237, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-strong);
  color: var(--ink);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.btn-sm { padding: 9px 16px; font-size: 12.5px; }
.btn-sm .icon { width: 15px; height: 15px; }
.btn-lg { padding: 15px 27px; font-size: 14.5px; }

/* ---------- Colour tints ---------- */
.tint-violet { --tint: #a78bfa; color: var(--tint); }
.tint-cyan { --tint: #22d3ee; color: var(--tint); }
.tint-green { --tint: #34d399; color: var(--tint); }
.tint-pink { --tint: #f472b6; color: var(--tint); }
.tint-amber { --tint: #fbbf24; color: var(--tint); }
.tint-blue { --tint: #60a5fa; color: var(--tint); }

/* ---------- Shared bits ---------- */
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid rgba(139, 92, 246, 0.24);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.08);
  color: #c4b5fd;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  animation: pulseDot 2.2s ease-out infinite;
}

.section-head { max-width: 690px; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  margin: 18px 0 14px;
}
.section-head p {
  max-width: 610px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.section-head.center {
  text-align: center;
  margin-inline: auto;
}
.section-head.center p { margin-inline: auto; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: var(--topbar-h);
  inset-inline: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(5, 7, 15, 0.78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 84px;
  transition: height 0.3s ease;
}
.header.is-scrolled .header-inner { height: 70px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border-radius: 13px;
  background: linear-gradient(140deg, #a78bfa, #7c3aed 52%, #0891b2);
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(139, 92, 246, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
}
.brand-mark .icon {
  width: 21px;
  height: 21px;
  margin-inline-start: 1px;
  fill: currentColor;
  stroke: none;
  position: relative;
  z-index: 1;
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.04); }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-text small {
  margin-top: 4px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--muted-2);
}
html[lang="fa"] .brand-text small { letter-spacing: 0; font-size: 9.5px; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}

.nav-link {
  position: relative;
  padding: 9px 12px;
  border-radius: 9px;
  color: #aab4cc;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.nav-link.is-active { color: #fff; }
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: translateX(-50%);
  transition: width 0.25s ease;
}
.nav-link.is-active::after { width: 16px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}
.lang-switch a {
  display: grid;
  place-items: center;
  min-width: 31px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.5;
  transition: color 0.2s ease, background 0.2s ease;
}
.lang-switch a:hover { color: #fff; }
.lang-switch a.is-active {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.lang-switch-wide {
  width: 100%;
  justify-content: stretch;
}
.lang-switch-wide a { flex: 1; min-width: 0; padding: 9px 10px; font-size: 12px; }

.header-support { color: #c3cbe0; }

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  transition: background 0.2s ease;
}
.menu-btn:hover { background: rgba(255, 255, 255, 0.09); }
.menu-btn .icon-close { display: none; }
.header.menu-open .menu-btn .icon-open { display: none; }
.header.menu-open .menu-btn .icon-close { display: block; }

.mobile-menu {
  position: fixed;
  top: calc(76px + var(--topbar-h));
  inset-inline: 16px;
  z-index: 99;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(8, 12, 24, 0.97);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.header.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-nav { display: grid; }
.mobile-nav a {
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  color: #cfd6e6;
  font-size: 15px;
  font-weight: 600;
}
.mobile-nav a:hover { color: #fff; }
.mobile-nav a:last-child { border-bottom: 0; }

.mobile-menu-foot {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.mobile-menu-foot .btn { width: 100%; }

body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: 184px;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(560px circle at var(--mx, 72%) var(--my, 26%), rgba(139, 92, 246, 0.09), transparent 62%);
  transition: background 0.15s linear;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 44px;
  padding-bottom: 26px;
}

.hero-copy { position: relative; z-index: 2; }

.hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(2.9rem, 5.2vw, 4.55rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  font-weight: 800;
}
html[lang="fa"] .hero h1 {
  font-size: clamp(2.45rem, 4.4vw, 3.9rem);
  line-height: 1.35;
  letter-spacing: 0;
}

.lead {
  max-width: 550px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 26px;
  color: #a9b4ca;
  font-size: 12px;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .icon { width: 15px; height: 15px; color: var(--green); }

/* ---------- Hero visual / TV ---------- */
.hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 530px;
  padding: 18px 8px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(118%, 660px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.22), rgba(34, 211, 238, 0.06) 46%, transparent 68%);
  filter: blur(12px);
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.orbit-a {
  width: min(112%, 620px);
  aspect-ratio: 1;
  border: 1px dashed rgba(139, 92, 246, 0.22);
  animation: orbitSpin 48s linear infinite;
}
.orbit-a::before,
.orbit-b::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.orbit-b {
  width: min(84%, 470px);
  aspect-ratio: 1;
  border: 1px solid rgba(34, 211, 238, 0.12);
}
.orbit-b::before {
  top: auto;
  bottom: 12%;
  left: 6%;
  background: var(--violet-soft);
  box-shadow: 0 0 12px var(--violet-soft);
}

.tv-wrap {
  position: relative;
  width: 100%;
  max-width: 528px;
  perspective: 1300px;
  animation: floatY 8s ease-in-out infinite;
}

.tv {
  position: relative;
  padding: 10px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.03) 42%, rgba(139, 92, 246, 0.16));
  box-shadow:
    0 42px 90px -34px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transform: rotateY(-7deg) rotateX(2.5deg) rotate(-1deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html[dir="rtl"] .tv { transform: rotateY(7deg) rotateX(2.5deg) rotate(1deg); }

@media (hover: hover) {
  .tv-wrap:hover .tv,
  html[dir="rtl"] .tv-wrap:hover .tv {
    transform: rotateY(0deg) rotateX(0deg) rotate(0deg);
  }
}

.tv-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 16 / 10.6;
  padding: 11px;
  border-radius: 17px;
  overflow: hidden;
  background: linear-gradient(165deg, #0b1020, #060a14 60%, #0a0f1e);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.55);
}

.tv-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 1px 3px 9px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid rgba(251, 113, 133, 0.34);
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.13);
  color: #fda4af;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
html[lang="fa"] .live-pill { letter-spacing: 0; text-transform: none; font-size: 8.5px; }
.live-pill .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fb7185;
  box-shadow: 0 0 0 0 rgba(251, 113, 133, 0.6);
  animation: pulseRed 2s infinite;
}

.tv-4k {
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #d8e0f5;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tv-stage {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 22%, rgba(124, 58, 237, 0.55), transparent 46%),
    radial-gradient(circle at 78% 76%, rgba(14, 116, 144, 0.5), transparent 48%),
    linear-gradient(145deg, #111a35 0%, #0a0f20 55%, #0b1428 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.stage-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(26px);
}
.stage-orb-a {
  width: 190px;
  height: 190px;
  top: -70px;
  inset-inline-end: -50px;
  background: rgba(34, 211, 238, 0.26);
}
.stage-orb-b {
  width: 170px;
  height: 170px;
  bottom: -80px;
  inset-inline-start: -40px;
  background: rgba(139, 92, 246, 0.32);
}

.play-orb {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.play-orb::before {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  animation: playPulse 2.8s ease-out infinite;
}
.play-orb .icon {
  width: 23px;
  height: 23px;
  margin-inline-start: 2px;
  fill: currentColor;
  stroke: none;
}

.now-playing {
  position: absolute;
  z-index: 2;
  bottom: 11px;
  inset-inline-start: 12px;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.np-label {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #67e8f9;
}
html[lang="fa"] .np-label { letter-spacing: 0; text-transform: none; font-size: 8px; }
.now-playing strong { font-size: 13px; font-weight: 700; color: #fff; }
.now-playing .np-meta { font-size: 8.5px; color: #9ca8c4; }

.eq {
  position: absolute;
  z-index: 2;
  bottom: 13px;
  inset-inline-end: 12px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 18px;
}
.eq span {
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #67e8f9, #a78bfa);
  animation: eq 1s ease-in-out infinite;
}
.eq span:nth-child(1) { height: 7px; animation-delay: -0.3s; }
.eq span:nth-child(2) { height: 14px; animation-delay: -0.6s; }
.eq span:nth-child(3) { height: 9px; animation-delay: -0.1s; }
.eq span:nth-child(4) { height: 17px; animation-delay: -0.8s; }
.eq span:nth-child(5) { height: 6px; animation-delay: -0.45s; }

.tv-channels {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-top: 9px;
  overflow: hidden;
}
.ch {
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: #8f9bb7;
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}
.ch.is-active {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.18);
  color: #ddd6fe;
}
.ch-4k { color: #67e8f9; border-color: rgba(34, 211, 238, 0.24); }

.tv-stand {
  width: 44%;
  height: 15px;
  margin: -2px auto 0;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 0;
  filter: blur(0.2px);
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  background: rgba(10, 15, 30, 0.78);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
  animation: floatCard 6.5s ease-in-out infinite;
}
.fc-1 { top: 7%; inset-inline-start: -22px; }
.fc-2 { bottom: 17%; inset-inline-end: -26px; animation-delay: -2.2s; }
.fc-3 { bottom: 1%; inset-inline-start: 3%; animation-delay: -4.1s; }

.fc-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--tint) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--tint) 24%, transparent);
}
.fc-icon .icon { width: 16px; height: 16px; }

.fc-text { display: flex; flex-direction: column; line-height: 1.2; }
.fc-text strong { font-size: 12px; font-weight: 800; color: #fff; }
.fc-text small { font-size: 9px; color: #8e9ab5; margin-top: 2px; }

/* ---------- Stats strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow: 0 24px 60px -34px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
}

.stat {
  padding: 14px 12px;
  text-align: center;
  border-inline-end: 1px solid var(--line);
}
.stat:last-child { border-inline-end: 0; }
.stat strong {
  display: block;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff, #b8c2e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[lang="fa"] .stat strong { letter-spacing: 0; }
.stat > span { display: block; margin-top: 3px; color: var(--muted); font-size: 11.5px; }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  margin-top: 44px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  direction: ltr;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-group {
  display: flex;
  align-items: center;
  flex: none;
}
.marquee-group span {
  padding: 0 26px;
  color: #8994af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
html[lang="fa"] .marquee-group span {
  font-size: 12.5px;
  letter-spacing: 0;
  text-transform: none;
}
.marquee-group i {
  width: 4px;
  height: 4px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa, #22d3ee);
  opacity: 0.8;
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018));
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at 82% 0%, rgba(139, 92, 246, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.3);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.022));
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--tint) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--tint) 23%, transparent);
}
.feature-icon .icon { width: 22px; height: 22px; }

.feature-card h3 {
  position: relative;
  margin: 18px 0 7px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.feature-card p {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
}

.devices-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.025);
}

.devices-title { display: flex; align-items: center; gap: 12px; flex: none; }
.devices-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
}
.devices-title strong { display: block; font-size: 13px; font-weight: 700; }
.devices-title small { display: block; margin-top: 2px; color: var(--muted-2); font-size: 10.5px; }

.device-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.device-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #aeb8ce;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}
.device-chips .icon { width: 13px; height: 13px; color: #8b95ad; }

/* ---------- Pricing ---------- */
.pricing-section {
  background:
    radial-gradient(700px 420px at 50% 30%, rgba(109, 40, 217, 0.08), transparent 70%);
}

.switch-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  margin-bottom: 32px;
}

.plan-switch {
  position: relative;
  display: inline-flex;
  padding: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(9, 14, 27, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 40px -24px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(14px);
}

.switch-thumb {
  position: absolute;
  top: 5px;
  bottom: 5px;
  inset-inline-start: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 8px 22px -8px rgba(124, 58, 237, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: inset-inline-start 0.35s cubic-bezier(0.3, 0.8, 0.3, 1);
}
.plan-switch[data-active="cccam"] .switch-thumb { inset-inline-start: 50%; }

.switch-btn {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 132px;
  padding: 10px 22px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.25s ease;
}
.switch-btn:hover { color: #dbe3f5; }
.switch-btn.is-active { color: #fff; }

.switch-note { color: var(--muted-2); font-size: 11.5px; }
.switch-note a { color: #c4b5fd; border-bottom: 1px solid rgba(196, 181, 253, 0.35); }

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}
.plans[hidden] { display: none; }
.plans[data-plan-group="cccam"] { grid-template-columns: repeat(3, 1fr); }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 25px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(10, 15, 29, 0.55) 68%);
  box-shadow: 0 20px 50px -36px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.plan:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.plan.is-featured,
.plan.is-value {
  border-color: rgba(139, 92, 246, 0.4);
  background:
    radial-gradient(340px 220px at 50% 0%, rgba(139, 92, 246, 0.2), transparent 70%),
    linear-gradient(170deg, rgba(255, 255, 255, 0.065), rgba(12, 17, 34, 0.72));
}
.plan.is-featured {
  box-shadow: 0 26px 70px -34px rgba(124, 58, 237, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}
.plan.is-value { border-color: rgba(34, 211, 238, 0.32); }
.plan.is-value::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 21px;
  pointer-events: none;
  background: radial-gradient(300px 180px at 80% 100%, rgba(34, 211, 238, 0.09), transparent 70%);
}

.plan-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 18px -8px rgba(124, 58, 237, 0.9);
}
html[lang="fa"] .plan-badge { letter-spacing: 0; text-transform: none; font-size: 10.5px; }
.plan-badge.value {
  background: linear-gradient(120deg, #67e8f9, #38bdf8);
  color: #04121c;
}

.plan-head h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
html[lang="fa"] .plan-head h3 { letter-spacing: 0; }
.plan-head p { margin-top: 3px; color: var(--muted-2); font-size: 11.5px; }

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 17px;
}
.price .amount {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  font-family: "Manrope", var(--font);
}
.price .cur { color: var(--muted-2); font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; }
html[lang="fa"] .price .cur { letter-spacing: 0; font-size: 11px; }

.price-note {
  margin-top: 6px;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--line);
  color: #8d98b2;
  font-size: 10.5px;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 16px 0 20px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #c1c9dd;
  font-size: 12px;
  line-height: 1.5;
}
.plan-features .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--green);
  stroke-width: 2.3;
}

.plan-cta {
  width: 100%;
  margin-top: auto;
  padding: 11px 14px;
  font-size: 12px;
  border-radius: 11px;
}
.plan-cta .icon { width: 14px; height: 14px; }
.plan-cta.btn-primary { box-shadow: 0 10px 26px -12px rgba(124, 58, 237, 0.85); }

.pricing-note {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.pricing-note .icon { color: #c4b5fd; width: 17px; height: 17px; }
.pricing-note a { color: #c4b5fd; border-bottom: 1px solid rgba(196, 181, 253, 0.35); }

/* ---------- Steps ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 55px;
  inset-inline: 12%;
  border-top: 1px dashed rgba(255, 255, 255, 0.13);
  pointer-events: none;
}

.step {
  position: relative;
  z-index: 1;
  padding: 27px 24px 25px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.step:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.18); }

.step-number {
  position: absolute;
  top: 13px;
  inset-inline-end: 17px;
  color: rgba(255, 255, 255, 0.06);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 15px;
  background: color-mix(in srgb, var(--tint) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--tint) 23%, transparent);
}
.step-icon .icon { width: 25px; height: 25px; }

.step h3 { font-size: 16px; font-weight: 700; }
.step p { max-width: 300px; margin: 8px auto 0; color: var(--muted); font-size: 12.5px; line-height: 1.7; }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 6vw, 70px);
  align-items: start;
}

.faq-intro { position: sticky; top: calc(112px + var(--topbar-h)); }
.faq-intro h2 { margin: 18px 0 12px; font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.faq-intro > p { color: var(--muted); font-size: 14px; line-height: 1.75; max-width: 360px; }

.faq-support {
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 370px;
  margin-top: 26px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.faq-support:hover { border-color: rgba(139, 92, 246, 0.35); background: rgba(139, 92, 246, 0.06); }
.support-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.22);
  color: #c4b5fd;
}
.support-icon .icon { width: 18px; height: 18px; }
.faq-support strong { display: block; font-size: 12px; font-weight: 700; }
.faq-support small { display: block; margin-top: 1px; color: var(--muted-2); font-size: 10px; }
.faq-support > .icon { margin-inline-start: auto; width: 15px; height: 15px; color: var(--muted-2); }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 2px;
  color: #dbe2f1;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: start;
  transition: color 0.2s ease;
}
.faq-q:hover { color: #fff; }

.faq-chevron {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.faq-chevron .icon { width: 15px; height: 15px; }

.faq-item.is-open .faq-q { color: #fff; }
.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  background: rgba(139, 92, 246, 0.16);
  border-color: rgba(139, 92, 246, 0.32);
  color: #c4b5fd;
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.3, 0.8, 0.3, 1);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; min-height: 0; }
.faq-a-inner p {
  max-width: 560px;
  padding: 0 40px 18px 2px;
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.75;
}
html[dir="rtl"] .faq-a-inner p { padding: 0 2px 18px 40px; }

/* ---------- Contact ---------- */
.contact-section { padding-bottom: clamp(80px, 9vw, 118px); }

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 28px;
  overflow: hidden;
  padding: clamp(28px, 4.6vw, 52px);
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.17), rgba(8, 12, 24, 0.72) 45%, rgba(34, 211, 238, 0.08));
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.panel-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.panel-glow-a {
  width: 330px;
  height: 330px;
  top: -160px;
  inset-inline-start: 12%;
  background: rgba(124, 58, 237, 0.3);
}
.panel-glow-b {
  width: 280px;
  height: 280px;
  bottom: -170px;
  inset-inline-end: 4%;
  background: rgba(34, 211, 238, 0.18);
}

.contact-copy { position: relative; z-index: 1; }
.contact-copy h2 {
  margin: 16px 0 10px;
  font-size: clamp(1.9rem, 3.3vw, 2.65rem);
}
.contact-copy > p { max-width: 470px; color: var(--muted); font-size: 13.8px; line-height: 1.75; }

.order-box {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 470px;
  margin-top: 22px;
  padding: 13px 15px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.order-info { display: flex; flex-direction: column; line-height: 1.45; min-width: 0; }
.order-label {
  color: var(--muted-2);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
html[lang="fa"] .order-label { letter-spacing: 0; text-transform: none; font-size: 10px; }
#selectedPlan { margin-top: 2px; font-size: 13px; font-weight: 700; }
.order-price { margin-top: 1px; color: #8e99b2; font-size: 11px; }
.order-check {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  margin-inline-start: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.3s ease, background 0.3s ease;
}
.order-check .icon { width: 19px; height: 19px; }
.order-box.has-plan { border-color: rgba(52, 211, 153, 0.4); background: rgba(16, 185, 129, 0.06); }
.order-box.has-plan .order-check { color: var(--green); background: rgba(52, 211, 153, 0.1); }
.order-box.has-plan #selectedPrice { color: #6ee7b7; }

.contact-links {
  display: grid;
  gap: 7px;
  max-width: 470px;
  margin-top: 17px;
}

.contact-link {
  --accent: #a78bfa;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.contact-link.tg { --accent: #38bdf8; }
.contact-link.wa { --accent: #34d399; }
.contact-link.mail { --accent: #a78bfa; }
.contact-link:hover {
  transform: translateX(-2px);
  border-color: color-mix(in srgb, var(--accent) 38%, transparent);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}
html[dir="rtl"] .contact-link:hover { transform: translateX(2px); }

.contact-link-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex: none;
  border-radius: 9px;
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--accent);
}
.contact-link-icon .icon { width: 17px; height: 17px; }

.contact-link-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.contact-link-text strong { font-size: 12px; font-weight: 700; }
.contact-link-text small {
  margin-top: 1px;
  color: var(--muted-2);
  font-size: 9.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-arrow { margin-inline-start: auto; width: 15px; height: 15px; color: var(--muted-2); }

.contact-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  max-width: 470px;
  margin-top: 15px;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #b9c2d8;
  font-size: 10.5px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.copy-btn .icon { width: 13px; height: 13px; }
.copy-btn:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--line-strong); color: #fff; }
.contact-hours { display: inline-flex; align-items: center; gap: 5px; color: var(--muted-2); font-size: 10.5px; }
.contact-hours .icon { width: 13px; height: 13px; }

.contact-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.support-orb {
  position: relative;
  width: min(240px, 82%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.orb-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.orb-ring-1 {
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top-color: rgba(34, 211, 238, 0.75);
  border-right-color: rgba(139, 92, 246, 0.45);
  animation: spin 16s linear infinite;
}
.orb-ring-2 {
  inset: 22px;
  border: 1px dashed rgba(139, 92, 246, 0.28);
  animation: spin 30s linear infinite reverse;
}
.orb-ring-3 {
  inset: 42px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 70%);
}
.orb-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(145deg, #a78bfa, #6d28d9 55%, #0e7490);
  color: #fff;
  box-shadow:
    0 0 0 10px rgba(139, 92, 246, 0.07),
    0 24px 50px -16px rgba(124, 58, 237, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.orb-core .icon { width: 34px; height: 34px; }
.orb-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.orb-dot-1 { top: 9%; left: 26%; }
.orb-dot-2 { bottom: 16%; right: 12%; background: var(--violet-soft); box-shadow: 0 0 12px var(--violet-soft); }
.orb-dot-3 { top: 48%; left: 2%; width: 4px; height: 4px; background: var(--green); box-shadow: 0 0 10px var(--green); }

.orb-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 10, 20, 0.55);
  backdrop-filter: blur(12px);
  white-space: nowrap;
}
.status-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  animation: pulseDot 2s infinite;
}
.orb-status strong { display: block; font-size: 10.5px; font-weight: 700; }
.orb-status small { display: block; color: var(--muted-2); font-size: 8.5px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 58px 0 24px;
  border-top: 1px solid var(--line);
  background: rgba(4, 6, 13, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.85fr 0.75fr;
  gap: 36px;
}

.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { max-width: 300px; color: var(--muted-2); font-size: 11.5px; line-height: 1.7; }

.footer-socials { display: flex; gap: 7px; margin-top: 16px; }
.footer-socials a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  color: #9aa5bd;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.footer-socials a:hover { color: #fff; border-color: rgba(139, 92, 246, 0.35); background: rgba(139, 92, 246, 0.09); }
.footer-socials .icon { width: 15px; height: 15px; }

.footer-col { display: flex; flex-direction: column; }
.footer-col h4 {
  margin-bottom: 12px;
  color: #dbe2f1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
html[lang="fa"] .footer-col h4 { letter-spacing: 0; text-transform: none; font-size: 12px; }
.footer-col a {
  padding: 4px 0;
  color: #8f9ab4;
  font-size: 11.5px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: #e8edfa; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #6f7b95;
  font-size: 10.5px;
}
.footer-fine { max-width: 48%; text-align: end; opacity: 0.8; }

/* ---------- Toast / to top ---------- */
.toast {
  position: fixed;
  z-index: 400;
  left: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 32px);
  padding: 11px 17px;
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 999px;
  background: rgba(8, 14, 26, 0.95);
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
  color: #d7fbe9;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 14px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  pointer-events: none;
}
.toast .icon { width: 16px; height: 16px; color: var(--green); }
.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.to-top {
  position: fixed;
  z-index: 90;
  bottom: 24px;
  inset-inline-end: 24px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(10, 15, 28, 0.85);
  color: #c8d1e6;
  box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: rgba(139, 92, 246, 0.2); }
.to-top .icon { width: 17px; height: 17px; transform: rotate(180deg); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  animation: revealUp 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Animations ---------- */
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(50px, 40px, 0) scale(1.12); }
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

@keyframes pulseRed {
  0% { box-shadow: 0 0 0 0 rgba(251, 113, 133, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(251, 113, 133, 0); }
  100% { box-shadow: 0 0 0 0 rgba(251, 113, 133, 0); }
}

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

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

@keyframes playPulse {
  0% { transform: scale(0.94); opacity: 0.7; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

@keyframes eq {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header-actions { margin-inline-start: auto; }
  .hero-grid { gap: 28px; }
  .fc-1 { inset-inline-start: -8px; }
  .fc-2 { inset-inline-end: -10px; }
}

@media (max-width: 980px) {
  .hero { padding-top: 168px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions,
  .hero-trust { justify-content: center; }
  .hero-visual {
    min-height: 0;
    margin-top: 18px;
    padding: 26px 10px 10px;
  }
  .tv-wrap { max-width: 500px; }
  .stat-strip { margin-top: 38px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .devices-band { flex-direction: column; align-items: flex-start; }
  .device-chips { justify-content: flex-start; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plans[data-plan-group="cccam"] { grid-template-columns: repeat(2, 1fr); }
  .plans[data-plan-group="cccam"] .plan:last-child { grid-column: 1 / -1; max-width: calc(50% - 7px); margin-inline: auto; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .steps::before { display: none; }
  .step { text-align: start; }
  .step-icon { margin: 0 0 14px; }
  .step p { margin-inline: 0; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .faq-intro > p { max-width: 520px; }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-copy > p,
  .order-box,
  .contact-links,
  .contact-foot { max-width: none; }
  .contact-visual { display: none; }
  .footer-grid { grid-template-columns: 1.3fr 0.9fr 0.9fr; }
  .footer-col:last-child { grid-column: 2 / -1; }
}

@media (max-width: 760px) {
  .header-support { display: none; }
  .header-cta { display: none; }
  .hero h1 { font-size: clamp(2.55rem, 9vw, 3.4rem); }
  html[lang="fa"] .hero h1 { font-size: clamp(2.15rem, 7.5vw, 2.9rem); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-inline-end: 0; }
  .stat:nth-child(3),
  .stat:nth-child(4) { border-bottom: 0; }
  .plan-switch { width: 100%; max-width: 380px; }
  .switch-btn { min-width: 0; flex: 1; padding-inline: 12px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-fine { max-width: 100%; text-align: start; }
  .to-top { bottom: 18px; inset-inline-end: 18px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 32px, var(--container)); }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: clamp(1.75rem, 7vw, 2.2rem); }
  .hero { padding-top: 156px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 7px 13px; font-size: 11.5px; }
  .hero-visual { padding: 20px 2px 0; }
  .fc-3 { display: none; }
  .fc-1 { top: 2%; inset-inline-start: 0; }
  .fc-2 { bottom: 14%; inset-inline-end: 0; }
  .float-card { padding: 7px 9px; border-radius: 11px; }
  .fc-icon { width: 27px; height: 27px; }
  .fc-text strong { font-size: 10.5px; }
  .fc-text small { font-size: 8px; }
  .tv { transform: none; }
  html[dir="rtl"] .tv { transform: none; }
  .now-playing strong { font-size: 11px; }
  .tv-4k { font-size: 7px; }
  .stat-strip { margin-top: 30px; }
  .stat { padding: 12px 8px; }
  .stat strong { font-size: 1.4rem; }
  .stat > span { font-size: 10px; }
  .marquee { margin-top: 34px; }
  .marquee-group span { padding: 0 18px; font-size: 10px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 22px 20px; }
  .devices-band { padding: 16px; }
  .plans,
  .plans[data-plan-group="cccam"] { grid-template-columns: 1fr; }
  .plans[data-plan-group="cccam"] .plan:last-child { grid-column: auto; max-width: none; }
  .plan { padding: 24px 20px 20px; }
  .plan-features { gap: 8px; }
  .faq-intro { position: static; }
  .contact-panel { padding: 24px 18px; border-radius: 22px; }
  .contact-copy > p { font-size: 13px; }
  .order-box { padding: 12px; }
  .contact-link { padding: 9px 10px; }
  .contact-link-text small { font-size: 9px; }
  .contact-hours { display: none; }
  .footer-grid { gap: 26px 20px; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { font-size: 9.5px; }
  .header-inner { gap: 12px; }
  .brand-text small { font-size: 7.5px; }
  .brand-mark { width: 37px; height: 37px; }
  .brand-text strong { font-size: 15.5px; }
  .lang-switch a { padding-inline: 6px; min-width: 28px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2.35rem; }
  html[lang="fa"] .hero h1 { font-size: 2rem; }
  .eyebrow { font-size: 9.5px; padding: 6px 10px; }
  html[lang="fa"] .eyebrow { font-size: 10.5px; }
  .float-card.fc-2 { display: none; }
  .contact-link-text small { white-space: normal; }
  .plan-switch { padding: 4px; }
  .switch-btn { padding: 9px 10px; font-size: 12px; }
}

/* ==========================================================================
   SEO landing pages & commercial content blocks
   ========================================================================== */
.landing-hero {
  position: relative;
  padding: 170px 0 34px;
  overflow: clip;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 26px;
  color: var(--muted-2);
  font-size: 11.5px;
}
.breadcrumb a { color: #aab4cc; transition: color 0.2s ease; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb [aria-current="page"] { color: #dbe2f1; }

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(30px, 5vw, 62px);
}

.landing-copy h1 {
  margin: 17px 0 18px;
  font-size: clamp(2.35rem, 4.7vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
html[lang="fa"] .landing-copy h1 {
  font-size: clamp(2.05rem, 4vw, 3.15rem);
  line-height: 1.4;
  letter-spacing: 0;
}
.landing-copy .lead { max-width: 600px; }
.landing-copy .hero-actions { margin-top: 26px; }
.landing-copy .hero-trust { margin-top: 22px; }

.landing-card {
  position: relative;
  overflow: hidden;
  padding: 26px 24px 24px;
  border: 1px solid rgba(139, 92, 246, 0.32);
  border-radius: 24px;
  background:
    radial-gradient(380px 240px at 50% 0%, rgba(139, 92, 246, 0.22), transparent 70%),
    linear-gradient(170deg, rgba(255, 255, 255, 0.07), rgba(10, 15, 29, 0.72));
  box-shadow: 0 34px 80px -38px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}
.landing-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -55% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.12);
  filter: blur(64px);
  pointer-events: none;
}
.landing-card > * { position: relative; z-index: 1; }
.landing-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.landing-card-head h2 { font-size: 18px; letter-spacing: -0.02em; }
html[lang="fa"] .landing-card-head h2 { letter-spacing: 0; }
.landing-card-head .live-pill { font-size: 8.5px; }
.landing-card .price { margin-top: 18px; }
.landing-card .price .amount { font-size: 42px; }
.landing-card .price-note { padding-bottom: 14px; }
.landing-card .plan-features { margin: 15px 0 20px; }
.landing-card .btn { width: 100%; }
.landing-card-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 10.5px;
  text-align: center;
}
.landing-card-foot .icon { width: 14px; height: 14px; color: var(--green); }

/* ---------- Buy hub cards ---------- */
.buy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.buy-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 28px 26px 25px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(430px 260px at 100% 0%, rgba(139, 92, 246, 0.14), transparent 65%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.016));
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.buy-card:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, 0.36); }
.buy-card.cccam {
  background:
    radial-gradient(430px 260px at 100% 0%, rgba(34, 211, 238, 0.13), transparent 65%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.016));
}
.buy-card.cccam:hover { border-color: rgba(34, 211, 238, 0.34); }
.buy-head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.buy-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.13);
  border: 1px solid rgba(139, 92, 246, 0.24);
  color: #c4b5fd;
}
.buy-card.cccam .buy-icon {
  background: rgba(34, 211, 238, 0.11);
  border-color: rgba(34, 211, 238, 0.22);
  color: #67e8f9;
}
.buy-icon .icon { width: 23px; height: 23px; }
.buy-head h3 { font-size: 19px; letter-spacing: -0.02em; }
html[lang="fa"] .buy-head h3 { letter-spacing: 0; }
.buy-head small { display: block; margin-top: 2px; color: var(--muted-2); font-size: 10.5px; font-weight: 600; }
.buy-card > p { color: var(--muted); font-size: 13px; line-height: 1.78; }
.buy-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 22px;
}
.buy-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #c1c9dd;
  font-size: 12px;
  line-height: 1.55;
}
.buy-list .icon { width: 14px; height: 14px; margin-top: 2px; color: var(--green); stroke-width: 2.3; }
.buy-card .btn { margin-top: auto; align-self: flex-start; }
.buy-footnote {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.buy-footnote .icon { width: 17px; height: 17px; flex: none; margin-top: 2px; color: #c4b5fd; }
.buy-footnote a { color: #c4b5fd; border-bottom: 1px solid rgba(196, 181, 253, 0.35); }

/* ---------- Long-form SEO content ---------- */
.prose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  align-items: start;
  gap: clamp(30px, 5vw, 64px);
}
.prose { min-width: 0; }
.prose h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
}
.prose h3 {
  margin: 30px 0 9px;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
html[lang="fa"] .prose h3 { letter-spacing: 0; }
.prose h2 + p,
.prose h3 + p { margin-top: 0; }
.prose p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.86;
}
.prose p + p { margin-top: 12px; }
.prose ul,
.prose ol {
  display: grid;
  gap: 9px;
  margin: 14px 0;
}
.prose li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}
.prose ul li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  inset-inline-start: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa, #22d3ee);
}
.prose ol { counter-reset: prose; }
.prose ol li { counter-increment: prose; }
.prose ol li::before {
  content: counter(prose);
  position: absolute;
  top: 0.08em;
  inset-inline-start: 0;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background: rgba(139, 92, 246, 0.16);
  color: #c4b5fd;
  font-size: 9px;
  font-weight: 800;
}
.prose a {
  color: #c4b5fd;
  border-bottom: 1px solid rgba(196, 181, 253, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.prose a:hover { color: #ede9fe; border-color: rgba(237, 233, 254, 0.6); }

.prose-aside { position: sticky; top: calc(104px + var(--topbar-h)); display: grid; gap: 14px; }
.fact-card {
  padding: 21px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}
.fact-card h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c4b5fd;
}
html[lang="fa"] .fact-card h3 { letter-spacing: 0; text-transform: none; font-size: 13px; }
.fact-card h3 .icon { width: 15px; height: 15px; }
.fact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
}
.fact-row:last-child { border-bottom: 0; padding-bottom: 0; }
.fact-row span { color: var(--muted-2); }
.fact-row strong { color: #dbe2f1; font-weight: 700; text-align: end; }
.fact-card .btn { width: 100%; margin-top: 14px; }
.fact-note { margin-top: 10px; color: var(--muted-2); font-size: 10px; line-height: 1.6; text-align: center; }

.keyword-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.keyword-cloud span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #9aa5bd;
  font-size: 9.5px;
  font-weight: 600;
}

/* ---------- Comparison table ---------- */
.table-wrap {
  overflow-x: auto;
  margin: 18px 0 4px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}
.compare {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 12.5px;
}
.compare th,
.compare td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}
.compare thead th {
  background: rgba(255, 255, 255, 0.045);
  color: #dbe2f1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
html[lang="fa"] .compare thead th { letter-spacing: 0; text-transform: none; font-size: 11.5px; }
.compare tbody th { color: #c9d2e6; font-weight: 600; }
.compare td { color: var(--muted); }
.compare tr:last-child th,
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: #6ee7b7; }

/* ---------- Audience strip / related cards ---------- */
.audience-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.audience-strip > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #9aa5bd;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.audience-strip .icon { width: 12px; height: 12px; color: #8b95ad; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 19px 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.34);
  background: rgba(139, 92, 246, 0.05);
}
.related-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  background: rgba(139, 92, 246, 0.13);
  border: 1px solid rgba(139, 92, 246, 0.22);
  color: #c4b5fd;
}
.related-card.alt .related-icon {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.2);
  color: #67e8f9;
}
.related-icon .icon { width: 19px; height: 19px; }
.related-text { min-width: 0; }
.related-text strong { display: block; font-size: 13px; font-weight: 700; }
.related-text small { display: block; margin-top: 2px; color: var(--muted-2); font-size: 10.5px; line-height: 1.5; }
.related-card > .icon { margin-inline-start: auto; width: 15px; height: 15px; color: var(--muted-2); flex: none; }

.section-tight { padding: clamp(50px, 6vw, 76px) 0; }

/* ---------- Landing responsive ---------- */
@media (max-width: 980px) {
  .landing-hero { padding-top: 156px; }
  .landing-hero-grid { grid-template-columns: 1fr; }
  .landing-copy { text-align: center; }
  .landing-copy .lead { margin-inline: auto; }
  .landing-copy .hero-actions,
  .landing-copy .hero-trust { justify-content: center; }
  .landing-card { width: min(100%, 470px); margin-inline: auto; }
  .prose-grid { grid-template-columns: 1fr; }
  .prose-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buy-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .landing-hero { padding-top: 146px; }
  .breadcrumb { margin-bottom: 18px; font-size: 10.5px; }
  .landing-copy h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  html[lang="fa"] .landing-copy h1 { font-size: clamp(1.75rem, 7.4vw, 2.25rem); }
  .landing-card { padding: 22px 19px; }
  .buy-card { padding: 23px 20px 21px; }
  .buy-card .btn { width: 100%; }
  .prose-aside { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .compare { font-size: 11.5px; }
  .compare th,
  .compare td { padding: 10px 12px; }
}

/* ---------- RTL refinements ---------- */
html[dir="rtl"] .nav-link::after { left: 50%; }
html[dir="rtl"] .plan-switch[data-active="cccam"] .switch-thumb { inset-inline-start: 50%; }
html[dir="rtl"] .faq-a-inner p { padding-inline: 2px 40px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; }
  .tv-wrap { animation: none !important; }
}
/* ---------- Channel catalog ---------- */
.channel-catalog { padding-top: 18px; }
.catalog-shell {
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 30px 80px -28px rgba(0,0,0,.65);
  overflow: hidden;
}
.catalog-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.catalog-stat {
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  min-width: 0;
}
.catalog-stat strong {
  display: block;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.1;
  letter-spacing: -.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.catalog-stat span { color: var(--muted); font-size: 13px; font-weight: 600; }

.catalog-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  margin-bottom: 14px;
  scrollbar-width: thin;
}
.catalog-tabs::-webkit-scrollbar { height: 8px; }
.catalog-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: #cfd8ea;
  font-size: 13px;
  font-weight: 700;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.catalog-tab .icon { width: 17px; height: 17px; color: var(--muted); flex: 0 0 auto; }
.catalog-tab small {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}
.catalog-tab:hover { transform: translateY(-1px); border-color: rgba(139,92,246,.35); color: #fff; }
.catalog-tab.is-active {
  background: linear-gradient(135deg, rgba(139,92,246,.24), rgba(34,211,238,.10));
  border-color: rgba(139,92,246,.45);
  color: #fff;
  box-shadow: 0 10px 28px -12px rgba(139,92,246,.55);
}
.catalog-tab.is-active .icon { color: #c4b5fd; }
.catalog-tab.is-active small { background: rgba(167,139,250,.16); color: #ddd6fe; }

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}
.catalog-search {
  position: relative;
  display: block;
}
.catalog-search .icon {
  position: absolute;
  top: 50%;
  inset-inline-start: 16px;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: #7f8ba5;
  pointer-events: none;
}
.catalog-search input, .catalog-select {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(6,10,20,.72);
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.catalog-search input { padding: 12px 16px 12px 46px; }
html[lang="fa"] .catalog-search input { padding: 12px 46px 12px 16px; }
.catalog-search input::placeholder { color: #7f8ba5; }
.catalog-search input:focus, .catalog-select:focus {
  border-color: rgba(139,92,246,.55);
  box-shadow: 0 0 0 4px rgba(139,92,246,.10);
}
.catalog-filter-wrap { position: relative; }
.catalog-filter-wrap .icon {
  position: absolute;
  top: 50%; inset-inline-start: 16px;
  transform: translateY(-50%);
  width: 18px; height: 18px; color: #7f8ba5; pointer-events: none;
}
.catalog-select {
  appearance: none;
  padding: 12px 42px 12px 44px;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #9aa6c0 50%), linear-gradient(135deg, #9aa6c0 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 2px), calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
html[lang="fa"] .catalog-select {
  padding: 12px 44px 12px 42px;
  background-position: 20px calc(50% - 2px), 14px calc(50% - 2px);
}
.catalog-select option { background: #0b1120; color: #eef2ff; }
.catalog-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  padding-inline: 6px;
}
.catalog-meta span { color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  min-height: 180px;
}
.catalog-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.catalog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(139,92,246,.28);
  background: rgba(255,255,255,.05);
}
.catalog-logo {
  width: 46px; height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(139,92,246,.20), rgba(34,211,238,.10));
  border: 1px solid rgba(255,255,255,.08);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #ddd6fe;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}
.catalog-logo img {
  width: 100%; height: 100%; object-fit: contain;
  background: #0b1120;
  padding: 4px;
}
.catalog-card-body { min-width: 0; flex: 1; }
.catalog-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: #eef2ff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.catalog-group {
  margin-top: 5px;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.catalog-badge {
  margin-inline-start: auto;
  align-self: flex-start;
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #a7f3d0;
  background: rgba(52,211,153,.08);
  border: 1px solid rgba(52,211,153,.16);
}
.catalog-badge.movie { color: #ddd6fe; background: rgba(139,92,246,.10); border-color: rgba(139,92,246,.2); }
.catalog-badge.series { color: #bae6fd; background: rgba(34,211,238,.08); border-color: rgba(34,211,238,.18); }

.catalog-empty, .catalog-loading {
  grid-column: 1 / -1;
  padding: 34px 20px;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,.12);
  background: rgba(255,255,255,.02);
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}
.catalog-loading { color: #cfd8ea; }
.catalog-more-wrap { display: flex; justify-content: center; padding: 22px 0 6px; }
.catalog-more-wrap .btn { min-width: 180px; }
.catalog-more-wrap .btn[hidden] { display: none !important; }
.catalog-note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.8;
  color: #7f8ba5;
  text-align: center;
}

@media (max-width: 1100px) {
  .catalog-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .catalog-shell { padding: 22px; }
  .catalog-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .catalog-meta { padding-inline: 2px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .catalog-shell { padding: 18px; border-radius: 22px; }
  .catalog-stats { gap: 10px; }
  .catalog-stat { padding: 14px 12px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-tab { padding: 10px 14px; }
}
