/*
Theme Name: IPTV TiviMate بالعربي
Theme URI: https://example.com/iptv-tivimate-ar
Author: IPTV Store
Author URI: https://example.com
Description: ثيم متجر اشتراك TiviMate IPTV — تصميم عربي احترافي RTL، بطاقات زجاجية، نظام طلب واتساب مباشر، بدون WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iptv-tivimate-ar
Tags: rtl-language, arabic, iptv, tivimate, dark, responsive, glassmorphism
*/

/* ═══════════════════════════════════════════════
   DESIGN TOKENS — Deep Navy × Electric Violet
═══════════════════════════════════════════════ */
:root {
  --bg:       #05040f;
  --bg2:      #080616;
  --bg3:      #100d24;
  --surface:  rgba(255,255,255,0.042);
  --border:   rgba(255,255,255,0.09);
  --border2:  rgba(130,90,255,0.30);

  --v:        #7c3aff;
  --v2:       #9b6dff;
  --v3:       #b89aff;
  --ice:      #d8c8ff;
  --v-glow:   rgba(124,58,255,0.40);
  --v-dim:    rgba(124,58,255,0.13);

  --cyan:     #00d4ff;

  --wa:       #25d366;
  --wa-h:     #1ebe5d;
  --wa-glow:  rgba(37,211,102,0.42);

  --dl:       #ff6b2b;
  --dl-h:     #e85a1a;
  --dl-glow:  rgba(255,107,43,0.40);

  --text:     #f2eeff;
  --text2:    #c8b8f0;
  --text3:    #8870b8;
  --text4:    #5a4880;

  --r:    12px;
  --r-sm:  8px;
  --r-lg: 20px;
  --r-xl: 28px;

  --font: 'Cairo', sans-serif;
  --font-en: 'Exo 2', sans-serif;
}

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

html {
  direction: rtl;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.75;
  direction: rtl;
}

a   { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
ul { list-style: none; }

/* ═══════════════════════════════════════════════
   AMBIENT BACKGROUND
═══════════════════════════════════════════════ */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 50% at 20% 0%,   rgba(124,58,255,.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 85% 100%, rgba(124,58,255,.14) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 55%,  rgba(0,212,255,.06)  0%, transparent 60%);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(130,90,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130,90,255,.032) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 0%, transparent 100%);
}

/* ═══════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════ */
.tv-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative; z-index: 1;
}

/* ═══════════════════════════════════════════════
   STICKY HEADER
═══════════════════════════════════════════════ */
#tv-header {
  position: sticky; top: 0; z-index: 1000;
  padding: 14px 0;
  transition: background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
#tv-header.scrolled {
  background: rgba(5,4,15,.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,.5);
}
.tv-header-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.tv-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font);
  font-size: clamp(16px,3.5vw,22px); font-weight: 900;
  color: #fff; text-decoration: none; flex-shrink: 0;
  direction: rtl;
}
.tv-logo-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--v) 0%, #4a1fa0 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 8px 24px var(--v-glow);
}
.tv-logo-icon svg { width: 20px; height: 20px; }
.tv-logo span { color: var(--v3); }

.tv-nav { display: flex; align-items: center; gap: 24px; }
.tv-nav a { font-size: .88rem; font-weight: 600; color: var(--text3); transition: color .2s; }
.tv-nav a:hover { color: var(--ice); }

/* Hamburger */
.tv-ham {
  display: none; flex-direction: column; gap: 5px;
  padding: 4px; background: none; border: none;
}
.tv-ham span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.tv-ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tv-ham.open span:nth-child(2) { opacity: 0; }
.tv-ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
#tv-mobile-nav {
  display: none; flex-direction: column;
  padding: .5rem 20px 1.5rem;
  background: rgba(5,4,15,.97);
  backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
  direction: rtl;
}
#tv-mobile-nav.open { display: flex; }
#tv-mobile-nav a {
  padding: .85rem 0;
  color: var(--text3); font-size: .95rem; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .2s;
}
#tv-mobile-nav a:last-child { border-bottom: none; }
#tv-mobile-nav a:hover { color: var(--ice); }

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.btn-sub {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--v) 0%, var(--v2) 100%);
  color: #fff; font-family: var(--font); font-weight: 800;
  font-size: .92rem; padding: 11px 22px; border-radius: 9999px;
  box-shadow: 0 4px 20px var(--v-glow);
  transition: all .2s; border: none; cursor: pointer;
  position: relative; overflow: hidden;
}
.btn-sub::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.16) 0%, transparent 55%);
  pointer-events: none;
}
.btn-sub:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--v-glow); color: #fff; }
.btn-sub.full { width: 100%; justify-content: center; }

.btn-dl {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--dl) 0%, var(--dl-h) 100%);
  color: #fff; font-family: var(--font); font-weight: 800;
  font-size: .92rem; padding: 11px 22px; border-radius: 9999px;
  box-shadow: 0 4px 20px var(--dl-glow);
  transition: all .2s; position: relative; overflow: hidden;
}
.btn-dl::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.14) 0%, transparent 55%);
  pointer-events: none;
}
.btn-dl:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--dl-glow); color: #fff; }
.btn-dl.full { width: 100%; justify-content: center; }

.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--wa); color: #fff;
  font-family: var(--font); font-weight: 800; font-size: .92rem;
  padding: 11px 22px; border-radius: 9999px; border: none;
  cursor: pointer; white-space: nowrap;
  transition: background .2s, box-shadow .2s, transform .15s;
  position: relative; overflow: hidden;
}
.btn-wa::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.14) 0%, transparent 55%);
  pointer-events: none;
}
.btn-wa:hover { background: var(--wa-h); box-shadow: 0 0 28px var(--wa-glow), 0 6px 20px rgba(0,0,0,.4); transform: translateY(-2px); color: #fff; }
.btn-wa svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-wa.full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--ice);
  font-family: var(--font); font-weight: 600; font-size: .92rem;
  padding: 10px 20px; border-radius: 9999px;
  border: 1px solid var(--border2);
  transition: all .2s; backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--v2); color: #fff; background: var(--v-dim); }

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
#tv-hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 0 64px;
  position: relative; overflow: hidden;
}
.tv-orb { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.tv-orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(124,58,255,.26) 0%, transparent 70%);
  top: -100px; left: -80px;
  animation: tvOrb 10s ease-in-out infinite;
}
.tv-orb-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(0,212,255,.10) 0%, transparent 70%);
  bottom: -40px; right: -60px;
  animation: tvOrb 12s ease-in-out infinite reverse;
}
@keyframes tvOrb { 0%,100%{transform:translate(0,0);}50%{transform:translate(28px,-28px);} }

.tv-hero-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 52px; align-items: center; width: 100%;
}

.tv-live-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(124,58,255,.13); border: 1px solid rgba(124,58,255,.32);
  color: var(--v3); font-size: .72rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 9999px; margin-bottom: 22px;
}
.tv-live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--v2);
  animation: tvDot 2s ease-in-out infinite;
}
@keyframes tvDot { 0%,100%{opacity:1;transform:scale(1);}50%{opacity:.5;transform:scale(.8);} }

.tv-hero-h1 {
  font-family: var(--font);
  font-size: clamp(26px,5vw,50px); font-weight: 900; line-height: 1.25;
  color: #fff; margin-bottom: 18px; direction: rtl;
}
.tv-hero-h1 .accent {
  background: linear-gradient(135deg, var(--v3) 0%, #fff 45%, var(--cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tv-hero-sub { font-size: clamp(14px,2vw,17px); color: var(--text2); line-height: 1.85; margin-bottom: 34px; max-width: 520px; direction: rtl; }
.tv-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; direction: rtl; }

.tv-stats-bar { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.07); direction: rtl; }
.tv-stat-n { font-family: var(--font-en); font-size: clamp(24px,4vw,34px); font-weight: 900; color: #fff; line-height: 1; }
.tv-stat-n span { color: var(--v2); }
.tv-stat-l { font-size: 12px; color: var(--text4); margin-top: 3px; }

/* Hero app card */
.tv-hero-card {
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-xl); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 32px 28px; text-align: center; position: relative; overflow: hidden;
}
.tv-hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
}
.tv-app-icon-big {
  width: 88px; height: 88px;
  background: linear-gradient(145deg, var(--v) 0%, #3a108a 100%);
  border-radius: 22px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 18px 50px rgba(124,58,255,.55),
              inset 0 1px 0 rgba(255,255,255,.18);
}
.tv-app-icon-big svg { width: 50px; height: 50px; }
.tv-hero-app-name { font-family: var(--font-en); font-size: clamp(20px,3vw,28px); font-weight: 900; color: #fff; margin-bottom: 4px; }
.tv-hero-app-name span { color: var(--v3); }
.tv-hero-app-tag { font-size: 13px; color: var(--text3); margin-bottom: 18px; direction: rtl; }
.tv-hero-rating { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--text3); margin-bottom: 20px; }
.tv-stars { color: #f0b429; font-size: 14px; letter-spacing: 1px; }
.tv-hero-mini-feats { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; text-align: right; }
.tv-mini-feat {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-sm); font-size: 13px; color: var(--text2);
}
.tv-mini-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--v2); flex-shrink: 0; box-shadow: 0 0 8px var(--v); }

/* ═══════════════════════════════════════════════
   SECTION HEADERS
═══════════════════════════════════════════════ */
.tv-section { padding: 72px 0; position: relative; z-index: 1; }
.tv-section + .tv-section { border-top: 1px solid rgba(255,255,255,.05); }
.tv-sec-head { text-align: center; margin-bottom: 52px; }
.tv-label {
  display: inline-block; font-size: 11px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--v2); background: var(--v-dim); border: 1px solid var(--border2);
  padding: 4px 14px; border-radius: 9999px; margin-bottom: 14px;
}
.tv-sec-title { font-family: var(--font); font-size: clamp(22px,4vw,38px); font-weight: 900; color: #fff; line-height: 1.3; margin-bottom: 12px; direction: rtl; }
.tv-sec-sub { font-size: 15px; color: var(--text3); max-width: 520px; margin: 0 auto; line-height: 1.85; direction: rtl; }

.glass {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  position: relative; overflow: hidden;
}
.glass::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.13), transparent);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════
   FEATURES GRID
═══════════════════════════════════════════════ */
.tv-feat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.tv-feat-card { padding: 26px 20px; transition: transform .25s, border-color .25s, box-shadow .25s; direction: rtl; text-align: right; }
.tv-feat-card:hover { transform: translateY(-5px); border-color: rgba(130,90,255,.40); box-shadow: 0 20px 56px rgba(0,0,0,.45); }
.tv-feat-icon { width: 52px; height: 52px; background: var(--v-dim); border: 1px solid var(--border2); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.tv-feat-icon svg { width: 24px; height: 24px; stroke: var(--v3); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tv-feat-title { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 8px; line-height: 1.4; }
.tv-feat-desc  { font-size: 13px; color: var(--text3); line-height: 1.8; }

/* ═══════════════════════════════════════════════
   SETUP STEPS
═══════════════════════════════════════════════ */
.tv-setup-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.tv-step { padding: 28px 22px; text-align: center; transition: transform .25s, border-color .25s; }
.tv-step:hover { transform: translateY(-4px); border-color: rgba(130,90,255,.38); }
.tv-step-num {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--v) 0%, var(--v2) 100%);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-size: 18px; font-weight: 900; color: #fff;
  margin: 0 auto 16px; box-shadow: 0 4px 18px var(--v-glow);
}
.tv-step-title { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.tv-step-desc  { font-size: 13px; color: var(--text3); line-height: 1.8; direction: rtl; }

/* ═══════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════ */
.tv-pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
.tv-plan { padding: 34px 26px; display: flex; flex-direction: column; gap: 20px; position: relative; transition: transform .3s, box-shadow .3s, border-color .3s; direction: rtl; text-align: right; }
.tv-plan:hover { transform: translateY(-6px); border-color: rgba(130,90,255,.44); box-shadow: 0 28px 72px rgba(0,0,0,.5), 0 0 48px rgba(124,58,255,.10); }
.tv-plan.popular {
  background: linear-gradient(155deg, rgba(124,58,255,.18) 0%, rgba(255,255,255,.055) 50%, rgba(124,58,255,.10) 100%);
  border-color: rgba(130,90,255,.5); transform: scale(1.04);
  box-shadow: 0 0 0 1px rgba(130,90,255,.34), 0 28px 72px rgba(0,0,0,.5), 0 0 72px rgba(124,58,255,.18);
}
.tv-plan.popular:hover { transform: scale(1.04) translateY(-6px); }
.tv-plan.popular::after {
  content: ''; position: absolute; top: 0; right: -100%;
  width: 55%; height: 100%;
  background: linear-gradient(270deg, transparent, rgba(255,255,255,.04), transparent);
  animation: tvShine 4.5s ease-in-out infinite; pointer-events: none;
}
@keyframes tvShine { 0%{right:-100%} 55%{right:150%} 100%{right:150%} }

.tv-pop-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--v), var(--v2));
  color: #fff; font-size: 11px; font-weight: 900;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 16px; border-radius: 9999px;
  box-shadow: 0 4px 16px var(--v-glow); white-space: nowrap;
}
.tv-plan-name { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--v3); margin-bottom: 8px; }
.tv-plan.popular .tv-plan-name { color: var(--ice); }
.tv-price-row { display: flex; align-items: baseline; gap: 4px; line-height: 1; direction: ltr; justify-content: flex-end; }
.tv-price-cur { font-size: 18px; color: var(--text3); margin-top: 4px; }
.tv-price-val { font-family: var(--font-en); font-size: clamp(38px,5vw,54px); font-weight: 900; color: #fff; }
.tv-price-per { font-size: 13px; color: var(--text4); align-self: flex-end; padding-bottom: 3px; }
.tv-price-note { font-size: 12px; color: var(--text4); margin-top: 4px; }
.tv-save-badge { display: inline-block; background: rgba(124,58,255,.17); border: 1px solid rgba(130,90,255,.3); color: var(--v3); font-size: 11px; font-weight: 900; padding: 3px 10px; border-radius: 6px; margin-top: 6px; }
.tv-plan-feats { flex: 1; display: flex; flex-direction: column; gap: 11px; }
.tv-plan-feats li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text2); }
.tv-chk { width: 18px; height: 18px; flex-shrink: 0; background: rgba(124,58,255,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.tv-chk svg { width: 10px; height: 10px; stroke: var(--v2); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tv-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 24px; font-size: 12px; color: var(--text4); direction: rtl; }

/* ═══════════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════════ */
.tv-cta-band {
  padding: 56px 40px; text-align: center;
  background: linear-gradient(135deg, rgba(124,58,255,.18) 0%, rgba(255,255,255,.04) 50%, rgba(124,58,255,.10) 100%);
  border: 1px solid rgba(130,90,255,.3); border-radius: var(--r-xl);
  position: relative; overflow: hidden;
}
.tv-cta-band::before {
  content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 380px; height: 280px;
  background: radial-gradient(ellipse, rgba(124,58,255,.25) 0%, transparent 70%);
  pointer-events: none;
}
.tv-cta-band h2 { font-family: var(--font); font-size: clamp(22px,4vw,36px); font-weight: 900; color: #fff; margin: 14px 0 10px; line-height: 1.3; position: relative; z-index: 1; direction: rtl; }
.tv-cta-band p { font-size: 15px; color: var(--text3); max-width: 440px; margin: 0 auto 28px; line-height: 1.85; position: relative; z-index: 1; direction: rtl; }
.tv-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; position: relative; z-index: 1; }

/* ═══════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════ */
.tv-faq-wrap { max-width: 740px; margin: 0 auto; }
.tv-faq-list { display: flex; flex-direction: column; gap: 10px; }
.tv-faq-item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--r); overflow: hidden; transition: border-color .2s; }
.tv-faq-item.open { border-color: rgba(130,90,255,.3); }
.tv-faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 16px 20px; text-align: right;
  font-family: var(--font); font-size: 14px; font-weight: 800;
  color: var(--text); background: none; border: none; cursor: pointer;
  transition: color .2s; direction: rtl;
}
.tv-faq-q:hover { color: var(--ice); }
.tv-faq-arrow { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--v2); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.tv-faq-item.open .tv-faq-arrow { transform: rotate(180deg); }
.tv-faq-a { display: none; padding: 14px 20px 16px; font-size: 14px; color: var(--text3); line-height: 1.9; border-top: 1px solid rgba(255,255,255,.06); direction: rtl; text-align: right; }
.tv-faq-item.open .tv-faq-a { display: block; }
.tv-faq-cta { text-align: center; margin-top: 32px; }
.tv-faq-cta p { font-size: 13px; color: var(--text4); margin-bottom: 14px; direction: rtl; }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
#tv-footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 52px 0 24px; position: relative; z-index: 1; }
.tv-footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.06); direction: rtl; }
.tv-footer-brand p { font-size: 14px; color: var(--text4); line-height: 1.85; margin-top: 14px; max-width: 280px; }
.tv-footer-col-title { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.tv-footer-links { display: flex; flex-direction: column; gap: 10px; }
.tv-footer-links a { font-size: 14px; color: var(--text4); transition: color .2s; }
.tv-footer-links a:hover { color: var(--ice); }
.tv-footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 20px; font-size: 12px; color: var(--text4); direction: rtl; }

/* ═══════════════════════════════════════════════
   FLOATING WHATSAPP
═══════════════════════════════════════════════ */
#tv-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 9999;
  width: 58px; height: 58px; background: var(--wa); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px var(--wa-glow), 0 2px 8px rgba(0,0,0,.4);
  transition: transform .2s, box-shadow .2s; text-decoration: none;
  animation: tvWaPulse 3s ease-in-out infinite;
}
#tv-float:hover { transform: scale(1.12); box-shadow: 0 8px 40px var(--wa-glow); animation-play-state: paused; }
#tv-float svg { width: 30px; height: 30px; }
#tv-float::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(37,211,102,.4); animation: tvWaRing 3s ease-in-out infinite; }
@keyframes tvWaPulse { 0%,100%{transform:scale(1);}50%{transform:scale(1.06);} }
@keyframes tvWaRing  { 0%{transform:scale(1);opacity:.6;} 70%{transform:scale(1.35);opacity:0;} 100%{transform:scale(1.35);opacity:0;} }

/* ═══════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════ */
@keyframes fadeUp { from{opacity:0;transform:translateY(24px);}to{opacity:1;transform:translateY(0);} }
.fade-up { animation: fadeUp .7s cubic-bezier(.22,1,.36,1) both; }
.d1{animation-delay:.08s} .d2{animation-delay:.18s}
.d3{animation-delay:.28s} .d4{animation-delay:.42s}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--v); border-radius: 3px; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width:1024px) {
  .tv-feat-grid    { grid-template-columns: repeat(2,1fr); }
  .tv-setup-grid   { grid-template-columns: repeat(2,1fr); }
  .tv-pricing-grid { grid-template-columns: repeat(2,1fr); }
  .tv-plan.popular { transform: none; }
  .tv-plan.popular:hover { transform: translateY(-6px); }
  .tv-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width:860px) {
  .tv-hero-inner   { grid-template-columns: 1fr; }
  .tv-hero-card    { max-width: 380px; margin: 0 auto; }
  .tv-pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .tv-nav          { display: none; }
  .tv-ham          { display: flex; }
  .tv-header-inner .btn-sub { display: none; }
  .tv-section      { padding: 52px 0; }
  .tv-cta-band     { padding: 40px 24px; }
}
@media (max-width:640px) {
  .tv-feat-grid    { grid-template-columns: 1fr; }
  .tv-setup-grid   { grid-template-columns: 1fr; }
  .tv-footer-inner { grid-template-columns: 1fr; }
  .tv-hero-ctas    { flex-direction: column; }
  .tv-hero-ctas .btn-sub, .tv-hero-ctas .btn-dl, .tv-hero-ctas .btn-ghost { width: 100%; justify-content: center; }
  .tv-cta-btns     { flex-direction: column; align-items: center; }
  .tv-cta-btns > * { width: 100%; justify-content: center; }
  .tv-stats-bar    { gap: 18px; }
  #tv-hero         { padding: 80px 0 48px; }
}
