/* ============================================================
   CSS VARIABLES & THEME
============================================================ */
:root {
  --bg:          #0a0a12;
  --bg2:         #0f0f1e;
  --bg3:         #141428;
  --card:        rgba(255,255,255,0.04);
  --border:      rgba(255,255,255,0.08);
  --text:        #e8e8f2;
  --muted:       #7878a0;
  --accent:      #00d4ff;
  --accent2:     #7c3aed;
  --accent3:     #f97316;
  --glow:        rgba(0,212,255,0.18);
  --glow2:       rgba(124,58,237,0.15);
  --radius:      16px;
  --font-head:   'Syne', 'Noto Sans', 'Noto Sans Arabic', 'Noto Sans SC', sans-serif;
  --font-body:   'DM Sans', 'Noto Sans', 'Noto Sans Arabic', 'Noto Sans SC', sans-serif;
  --transition:  0.35s cubic-bezier(0.4,0,0.2,1);
}

html:lang(ar) {
  --font-head: 'Noto Sans Arabic', 'Noto Sans', sans-serif;
  --font-body: 'Noto Sans Arabic', 'Noto Sans', sans-serif;
}

html:lang(zh),
html:lang(zh-CN) {
  --font-head: 'Noto Sans SC', 'Noto Sans', sans-serif;
  --font-body: 'Noto Sans SC', 'Noto Sans', sans-serif;
}

[data-theme="light"] {
  --bg:          #f0f2ff;
  --bg2:         #e4e8ff;
  --bg3:         #ffffff;
  --card:        rgba(0,0,0,0.04);
  --border:      rgba(0,0,0,0.09);
  --text:        #0d0d1a;
  --muted:       #555577;
  --glow:        rgba(0,130,200,0.12);
  --glow2:       rgba(100,40,200,0.10);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

html[dir="rtl"] body {
  direction: rtl;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.15; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   SCROLLBAR
============================================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent2); border-radius: 99px; }

/* ============================================================
   NOISE OVERLAY
============================================================ */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.4;
  z-index: 9999;
}

/* ============================================================
   UTILITY
============================================================ */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0,212,255,0.1);
  color: var(--accent);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 5px 14px; border-radius: 99px;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 60px; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
  padding: 14px 28px; border-radius: 12px;
  border: none; cursor: pointer;
  transition: var(--transition);
  position: relative; overflow: hidden;
  letter-spacing: 0.02em;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 0 30px rgba(0,212,255,0.3);
}
.btn-primary:hover { box-shadow: 0 0 50px rgba(0,212,255,0.45); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.download-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
.download-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 30px var(--glow);
}
.download-badge:active { transform: translateY(0); }

.download-badge-image {
  display: block;
  width: auto;
  height: 100%;
}

/* Defensive fallback for stale cached markup that still contains two badge images */
.download-badge .download-badge-image + .download-badge-image {
  display: none !important;
}

.download-badge-nav { height: 44px; }
.download-badge-hero { height: 52px; }
.download-badge-cta { height: 60px; }
.download-badge-mobile { height: 52px; }

/* ============================================================
   HEADER / NAV
============================================================ */
#header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}
#header.scrolled {
  background: rgba(10,10,18,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 40px rgba(0,0,0,0.3);
}
[data-theme="light"] #header.scrolled {
  background: rgba(240,242,255,0.85);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem;
}
.nav-logo .logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: 0 0 20px var(--glow);
}
.logo-text span { color: var(--accent); }

.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.88rem; font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 14px; }

.lang-select-wrap {
  position: relative;
  display: inline-flex;
}

.lang-select {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 10px 30px 10px 12px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-select:hover,
.lang-select:focus {
  border-color: var(--accent);
  outline: none;
}

.lang-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.68rem;
  color: var(--muted);
  pointer-events: none;
}

html[dir="rtl"] .lang-select {
  padding: 10px 12px 10px 30px;
}

html[dir="rtl"] .lang-select-wrap::after {
  right: auto;
  left: 10px;
}

.theme-toggle {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px;
  background: transparent;
  border: none;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  flex-direction: column; gap: 16px;
  z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1rem; font-weight: 500; color: var(--muted); padding: 6px 0; }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .download-badge-mobile { padding: 0; align-self: center; }

/* ============================================================
   HERO
============================================================ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.18) 0%, transparent 70%);
  top: -150px; left: -100px;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 70%);
  bottom: -100px; right: -80px;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}

#hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative; z-index: 2;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
}
.live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.3);
  color: var(--accent3);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 99px;
}
.live-dot {
  width: 6px; height: 6px;
  background: var(--accent3);
  border-radius: 50%;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

.hero-h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.06;
  margin-bottom: 24px;
}
.hero-h1 .line-accent {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex; gap: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.stat-item { text-align: left; }
.stat-num {
  font-family: var(--font-head);
  font-size: 1.6rem; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

.hero-phone {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}
.phone-wrap {
  position: relative;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
}

.phone-frame {
  width: 240px;
  background: linear-gradient(145deg, #1a1a2e, #0f0f1e);
  border-radius: 40px;
  padding: 14px;
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.1),
    0 40px 80px rgba(0,0,0,0.6),
    0 0 60px var(--glow),
    inset 0 1px 0 rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
}
.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: #050510;
  aspect-ratio: 9/19;
  display: flex; flex-direction: column;
}
.phone-notch {
  width: 80px; height: 18px;
  background: #0a0a12;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
  gap: 4px;
}
.notch-dot { width: 5px; height: 5px; background: #222240; border-radius: 50%; }
.notch-pill { width: 36px; height: 6px; background: #111128; border-radius: 3px; }

.phone-content {
  flex: 1;
  padding: 8px 10px;
  display: flex; flex-direction: column; gap: 8px;
}
.phone-header-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 0;
}
.phone-logo-sm {
  font-family: var(--font-head); font-size: 0.65rem; font-weight: 800;
  color: var(--accent);
}
.phone-live { font-size: 0.5rem; color: var(--accent3); }

.phone-channel {
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1050, #0d0730);
  padding: 10px;
  position: relative;
}
.phone-channel-main {
  aspect-ratio: 16/9;
  border-radius: 7px;
  background: linear-gradient(135deg, #0d1b3e, #1a0a2e);
  margin-bottom: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  position: relative;
  overflow: hidden;
}
.phone-channel-main::after {
  content: '▶';
  position: absolute;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.5);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.phone-channel-title { font-size: 0.55rem; color: #ddd; font-weight: 600; }
.phone-channel-sub { font-size: 0.45rem; color: #888; }

.phone-channels-list { display: flex; flex-direction: column; gap: 5px; }
.phone-ch-item {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 7px;
  background: rgba(255,255,255,0.04);
  border-radius: 7px;
}
.phone-ch-thumb {
  width: 26px; height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
}
.phone-ch-thumb.thumb-news { background: linear-gradient(135deg, #1a3a5c, #0e2040); }
.phone-ch-thumb.thumb-movies { background: linear-gradient(135deg, #3a1a5c, #200e40); }
.phone-ch-thumb.thumb-series { background: linear-gradient(135deg, #1a5c3a, #0e4020); }
.phone-ch-info { flex: 1; }
.phone-ch-name { font-size: 0.48rem; color: var(--text); font-weight: 600; }
.phone-ch-type { font-size: 0.4rem; color: var(--muted); }
.phone-live-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent3);
  animation: pulse 1.4s ease-in-out infinite;
}

.phone-glow-ring {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.15);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: ring-pulse 3s ease-in-out infinite;
}
.phone-glow-ring-2 {
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(124,58,237,0.1);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: ring-pulse 3s ease-in-out infinite 0.8s;
}
@keyframes ring-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 0.15; transform: translate(-50%,-50%) scale(1.06); }
}

/* ============================================================
   FEATURES
============================================================ */
#features {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
#features::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}
.feat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity var(--transition);
}
.feat-card:hover { transform: translateY(-6px); border-color: rgba(0,212,255,0.2); }
.feat-card:hover::before { opacity: 1; }

.feat-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: var(--glow2);
  border: 1px solid rgba(124,58,237,0.2);
}
.feat-card:nth-child(even) .feat-icon { background: var(--glow); border-color: rgba(0,212,255,0.2); }
.feat-card:nth-child(3n) .feat-icon {
  background: rgba(249,115,22,0.1);
  border-color: rgba(249,115,22,0.2);
}

.feat-h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.feat-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ============================================================
   HOW IT WORKS / WHAT IS IPTV
============================================================ */
#what-is-iptv {
  padding: 100px 0;
  background: var(--bg2);
  position: relative;
}
.iptv-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.iptv-intro {
  color: var(--muted);
  margin-bottom: 36px;
  font-size: 0.95rem;
  line-height: 1.75;
}
.iptv-steps { display: flex; flex-direction: column; gap: 28px; }
.iptv-step {
  display: flex; gap: 20px; align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  color: #fff;
  box-shadow: 0 0 20px var(--glow);
}
.step-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.step-content p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

.iptv-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.iptv-card-big {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.iptv-card-big::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(0,212,255,0.05), transparent 60%);
}
.iptv-card-inner { position: relative; z-index: 1; }
.iptv-card-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.iptv-card-sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 24px; }
.iptv-prot-list { display: flex; flex-direction: column; gap: 12px; }
.prot-item {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
}
.prot-badge {
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 700;
  padding: 3px 10px; border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; flex-shrink: 0;
}
.prot-name { font-size: 0.85rem; font-weight: 600; }
.prot-desc { font-size: 0.75rem; color: var(--muted); }
.prot-check { margin-left: auto; color: #22c55e; font-size: 0.9rem; }

/* ============================================================
   CTA
============================================================ */
#cta {
  padding: 100px 0;
  position: relative; overflow: hidden;
}
.cta-box {
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(124,58,237,0.12));
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 28px;
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(124,58,237,0.2));
  z-index: -1;
}
.cta-orb {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.12) 0%, transparent 65%);
  top: -100px; left: -100px;
  pointer-events: none;
}
.cta-orb-2 {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 65%);
  bottom: -100px; right: -80px;
  pointer-events: none;
}
.cta-h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative; z-index: 1;
}
.cta-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 40px;
  position: relative; z-index: 1;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-meta { margin-top: 20px; font-size: 0.78rem; color: var(--muted); }

/* ============================================================
   REVIEWS
============================================================ */
#reviews {
  padding: 100px 0;
  background: var(--bg2);
  overflow: hidden;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.review-card::before {
  content: '"';
  position: absolute;
  top: -10px; right: 20px;
  font-size: 8rem;
  font-family: Georgia, serif;
  color: var(--accent);
  opacity: 0.07;
  line-height: 1;
}
.review-card:hover { transform: translateY(-4px); border-color: rgba(0,212,255,0.2); }

.review-stars { display: flex; gap: 3px; margin-bottom: 14px; font-size: 0.9rem; color: #f59e0b; }
.review-text { font-size: 0.9rem; line-height: 1.7; color: var(--muted); margin-bottom: 20px; }
.reviewer {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.reviewer-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: #fff;
  flex-shrink: 0;
}
.reviewer-name { font-size: 0.85rem; font-weight: 700; }
.reviewer-country { font-size: 0.75rem; color: var(--muted); }

/* ============================================================
   BLOG
============================================================ */
#blog {
  padding: 100px 0;
}

.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home-blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.home-blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.22);
}

.home-blog-image-link {
  display: block;
}

.home-blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.home-blog-card-body {
  padding: 18px;
}

.home-blog-meta {
  font-size: 0.77rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.home-blog-title {
  font-size: 1rem;
  margin-bottom: 10px;
}

.home-blog-title a:hover {
  color: var(--accent);
}

.home-blog-excerpt {
  color: var(--muted);
  font-size: 0.87rem;
  margin-bottom: 12px;
}

.home-blog-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.83rem;
}

.home-blog-actions {
  margin-top: 30px;
  text-align: center;
}

/* ============================================================
   FAQ
============================================================ */
#faq {
  padding: 100px 0;
}
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 4px;
  cursor: pointer;
  font-family: var(--font-head); font-size: 0.98rem; font-weight: 700;
  transition: color var(--transition);
  gap: 16px;
  user-select: none;
  background: transparent;
  color: var(--text);
  border: none;
  width: 100%;
  text-align: left;
}
.faq-q:hover { color: var(--accent); }
.faq-arrow {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  transition: var(--transition);
  color: var(--muted);
}
.faq-item.open .faq-arrow { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 0.9rem; color: var(--muted); line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 22px; }

/* ============================================================
   FOOTER
============================================================ */
#footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
  margin-bottom: 14px;
}
.footer-logo .logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.logo-accent { color: var(--accent); }
.footer-tagline { font-size: 0.85rem; color: var(--muted); line-height: 1.65; max-width: 220px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.social-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
  cursor: pointer;
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); }

.footer-col h4 { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }

html[dir="rtl"] .nav-logo,
html[dir="rtl"] .nav-right,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .feature-list,
html[dir="rtl"] .reviews-grid,
html[dir="rtl"] .footer-top,
html[dir="rtl"] .footer-bottom {
  direction: rtl;
}

html[dir="rtl"] .stat-item,
html[dir="rtl"] .feature-card,
html[dir="rtl"] .review-card,
html[dir="rtl"] .footer-col,
html[dir="rtl"] .faq-answer,
html[dir="rtl"] .faq-question {
  text-align: right;
}
.footer-links li a { font-size: 0.87rem; color: var(--muted); transition: color var(--transition); }
.footer-links li a:hover { color: var(--accent); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   TICKER
============================================================ */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: var(--bg2);
}
.ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
}
.ticker-item {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 0 30px;
  font-size: 0.82rem; color: var(--muted);
  font-weight: 500;
}
.ticker-item .dot { color: var(--accent); }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .home-blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-phone { order: -1; }
  .hero-eyebrow { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .iptv-inner { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .home-blog-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .lang-select { font-size: 0.75rem; padding: 9px 26px 9px 10px; }
  .download-badge-hero,
  .download-badge-cta { height: 52px; }
  .cta-box { padding: 48px 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .phone-frame { width: 200px; }
}

[data-theme="light"] .phone-frame {
  background: linear-gradient(145deg, #e4e8ff, #d0d5f8);
  box-shadow: 0 40px 80px rgba(0,0,0,0.15), 0 0 40px rgba(0,130,200,0.12);
}
[data-theme="light"] .phone-screen { background: #f0f2ff; }
[data-theme="light"] .phone-notch { background: #e4e8ff; }

.grad-text {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent2) 50%, var(--accent3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200%;
  animation: grad-move 4s linear infinite;
}
@keyframes grad-move {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
