/*
Theme Name: IPTVROM SEO
Theme URI: https://iptvmediapro.ro
Author: IPTV Media Pro
Author URI: https://iptvmediapro.ro
Description: Tema WordPress ultra-usoara, optimizata pentru SEO si viteza, gandita pentru nisa IPTV Romania.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 8.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iptvrom-seo
*/

/* ═══════════════════════════════════════════
   DESIGN TOKENS — DARK SaaS SYSTEM
   ═══════════════════════════════════════════ */

:root {
  --bg: #0b0f1a;
  --bg-soft: #0e1425;
  --surface: #111827;
  --surface-2: #1a2235;
  --surface-3: #1f2a40;
  --glass: rgba(17, 24, 39, 0.72);
  --glass-border: rgba(255, 255, 255, 0.06);
  --primary: #2563eb;
  --primary-soft: rgba(37, 99, 235, 0.15);
  --primary-glow: 0 0 40px rgba(37, 99, 235, 0.25), 0 0 80px rgba(37, 99, 235, 0.08);
  --accent: #22d3ee;
  --accent-soft: rgba(34, 211, 238, 0.12);
  --accent-glow: 0 0 40px rgba(34, 211, 238, 0.2);
  --text: #e5e7eb;
  --text-strong: #f9fafb;
  --muted: #9ca3af;
  --muted-2: #6b7280;
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.1);
  --warning: #f59e0b;
  --success: #10b981;
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.25);
  --shadow-up: 0 -4px 30px rgba(0, 0, 0, 0.15);
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --container: 1320px;
  --section-gap: 56px;
}

/* ═══════════  RESET / BASE  ═══════════ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  background-image: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37,99,235,0.06), transparent 60%);
  color: var(--text);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: #67e8f9; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
strong { color: var(--text-strong); }
.container { width: min(var(--container), 92vw); margin: 0 auto; }

/* ═══════════  HEADER — GLASS NAV  ═══════════ */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(11, 15, 26, 0.78);
  border-bottom: 1px solid var(--glass-border);
  transition: all .3s ease;
}
.site-header.is-condensed {
  background: rgba(11, 15, 26, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 80px;
  transition: min-height .3s ease;
}
.site-header.is-condensed .header-inner { min-height: 68px; }

.nav-cluster {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.brand-lockup {
  display: inline-flex; align-items: center; gap: 14px;
  transition: opacity .2s ease, transform .2s ease;
}
.brand-lockup:hover { text-decoration: none; opacity: 0.85; transform: translateY(-1px); }

.brand-mark {
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-size: .9rem; font-weight: 900; letter-spacing: 0.08em;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--primary-glow);
}
.brand-logo {
  display: block; width: auto; height: 48px; max-width: 200px;
  object-fit: contain; filter: brightness(1.1);
  transition: height .2s ease, filter .2s ease;
}
.site-header.is-condensed .brand-logo { height: 42px; }

.brand { display: inline-flex; flex-direction: column; gap: 1px; color: var(--text-strong); line-height: 1.15; }
.brand-main { font-size: .92rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.brand-sub { font-size: .76rem; color: var(--muted); letter-spacing: 0.02em; transition: opacity .2s ease; }
.site-header.is-condensed .brand-sub { opacity: 0.7; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav > div, .main-nav > ul { display: flex; align-items: center; }
.main-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.main-nav li { margin: 0; position: relative; }
.main-nav a {
  position: relative; color: var(--muted); font-weight: 600; font-size: .88rem;
  padding: 9px 14px; border-radius: 999px;
  transition: color .16s ease, background-color .16s ease, transform .12s ease;
}
.main-nav a:hover { color: var(--text-strong); background: rgba(255, 255, 255, 0.06); transform: translateY(-1px); }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a,
.main-nav .current-menu-parent > a, .main-nav .current_page_parent > a {
  color: var(--text-strong); background: rgba(37, 99, 235, 0.12);
}

.main-nav .sub-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 220px;
  padding: 8px; border-radius: 18px; border: 1px solid var(--line);
  background: rgba(17, 24, 39, 0.96); backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft); display: none; flex-direction: column; gap: 2px; z-index: 30;
}
.main-nav .sub-menu a { border-radius: 12px; padding: 9px 12px; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: flex; }

.nav-cta {
  white-space: nowrap; padding: 10px 20px; font-size: .88rem; font-weight: 700;
  border-radius: 999px; background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: #fff; border: none;
  box-shadow: var(--primary-glow);
  transition: transform .16s ease, box-shadow .16s ease;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(37, 99, 235, 0.4), 0 0 100px rgba(37, 99, 235, 0.12);
  color: #fff;
}

/* ═══════════  BREADCRUMBS  ═══════════ */

.breadcrumbs { margin: 14px 0 0; font-size: .85rem; color: var(--muted-2); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span { margin: 0 6px; }

/* ═══════════  HERO SLIDER — FULL SCREEN CINEMATIC  ═══════════ */

.hero-slider-section {
  position: relative; width: 100%; height: 85vh;
  min-height: 560px; max-height: 900px; overflow: hidden;
}
.hero-slider-section .swiper { width: 100%; height: 100%; }

.hero-slide { position: relative; width: 100%; height: 100%; overflow: hidden; }
.hero-slide-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slide-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); transition: transform 8s ease-out;
}
.swiper-slide-active .hero-slide-bg img { transform: scale(1); }

.hero-slide-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(11,15,26,0.7) 0%, rgba(11,15,26,0.3) 40%,
    rgba(11,15,26,0.55) 70%, rgba(11,15,26,0.92) 100%);
}

.hero-slide-gradient { position: absolute; inset: 0; z-index: 0; }
.hero-gradient-1 {
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(37,99,235,0.3), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(34,211,238,0.2), transparent 50%),
    linear-gradient(160deg, #0b0f1a 0%, #111827 50%, #0b1426 100%);
}
.hero-gradient-2 {
  background:
    radial-gradient(ellipse 70% 50% at 70% 40%, rgba(34,211,238,0.25), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 60%, rgba(37,99,235,0.2), transparent 50%),
    linear-gradient(200deg, #0b0f1a 0%, #0e1a2e 50%, #111827 100%);
}
.hero-gradient-3 {
  background:
    radial-gradient(ellipse 90% 70% at 50% 50%, rgba(37,99,235,0.2), transparent 50%),
    radial-gradient(ellipse 40% 30% at 80% 30%, rgba(245,158,11,0.15), transparent 40%),
    linear-gradient(180deg, #0b0f1a 0%, #111827 100%);
}

.hero-slide-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.hero-slide-inner {
  width: min(var(--container), 92vw); text-align: center; padding: 0 20px;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 7px 16px;
  font-size: .74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--primary-soft); color: var(--accent);
  border: 1px solid rgba(34,211,238,0.15);
  backdrop-filter: blur(8px); margin-bottom: 22px;
}

.hero-slide-inner h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem); line-height: 1.06; font-weight: 800;
  letter-spacing: -0.04em; color: var(--text-strong);
  margin: 0 0 16px; text-wrap: balance;
  max-width: 900px; margin-left: auto; margin-right: auto;
}
.hero-slide-inner h1 .text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-slide-inner p {
  font-size: 1.1rem; color: var(--muted);
  max-width: 580px; margin: 0 auto 28px; line-height: 1.6;
}

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Swiper nav overrides */
.hero-slider-section .swiper-pagination { bottom: 40px !important; }
.hero-slider-section .swiper-pagination-bullet {
  width: 10px; height: 10px; background: rgba(255,255,255,0.3); opacity: 1;
  transition: all .3s ease;
}
.hero-slider-section .swiper-pagination-bullet-active {
  width: 32px; border-radius: 999px;
  background: var(--accent); box-shadow: 0 0 16px rgba(34,211,238,0.4);
}
.hero-slider-section .swiper-button-prev,
.hero-slider-section .swiper-button-next {
  width: 48px; height: 48px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px); transition: all .2s ease;
}
.hero-slider-section .swiper-button-prev:hover,
.hero-slider-section .swiper-button-next:hover {
  background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2);
}
.hero-slider-section .swiper-button-prev::after,
.hero-slider-section .swiper-button-next::after { font-size: 16px; color: var(--text); }

/* scroll indicator */
.hero-scroll-indicator {
  position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%); z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted-2); font-size: .72rem; letter-spacing: 0.15em; text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}
.hero-scroll-indicator .mouse {
  width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.2); border-radius: 12px; position: relative;
}
.hero-scroll-indicator .mouse::after {
  content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 4px;
  background: var(--accent); animation: scroll-wheel 2s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }
@keyframes scroll-wheel { 0%,100% { opacity: 1; transform: translateX(-50%) translateY(0); } 50% { opacity: .3; transform: translateX(-50%) translateY(6px); } }

/* ═══════════  HERO LITE (internal)  ═══════════ */

.hero-lite {
  padding: 120px 0 48px; position: relative; overflow: hidden;
}
.hero-lite::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 800px; height: 500px; border-radius: 999px;
  background: radial-gradient(circle, rgba(37,99,235,0.1), transparent 60%);
  pointer-events: none;
}
.hero-lite .container { position: relative; z-index: 1; max-width: 800px; text-align: center; }
.hero-lite h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem); line-height: 1.06; font-weight: 800;
  letter-spacing: -0.04em; color: var(--text-strong); margin: 0 0 16px;
}
.hero-lite p { color: var(--muted); font-size: 1.12rem; margin: 0; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ═══════════  BUTTONS  ═══════════ */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: .9rem;
  border: 1px solid transparent; cursor: pointer; transition: all .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: #fff; box-shadow: var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px); color: #fff;
  box-shadow: 0 0 60px rgba(37,99,235,0.4), 0 0 120px rgba(37,99,235,0.1);
}
.btn-secondary {
  background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12);
  color: var(--text); backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px); color: var(--text-strong);
}
.btn-glow { position: relative; overflow: visible; }
.btn-glow::before {
  content: ""; position: absolute; inset: -2px; border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  z-index: -1; opacity: 0; filter: blur(16px); transition: opacity .3s ease;
}
.btn-glow:hover::before { opacity: 1; }

/* ═══════════  SECTIONS  ═══════════ */

.section { padding: var(--section-gap) 0; position: relative; }
.section + .section { padding-top: 0; }
.section-heading { max-width: 700px; margin: 0 auto 36px; text-align: center; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 7px 16px;
  font-size: .72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid rgba(34,211,238,0.1);
}
.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; letter-spacing: -0.03em;
  margin: 14px 0 10px; color: var(--text-strong); font-weight: 800;
}
.section-heading p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.6; }

/* ═══════════  CARDS  ═══════════ */

.card, .article, .surface-card {
  border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover, .article:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35); border-color: rgba(255,255,255,0.1);
}
.card { padding: 28px; }
.card h3, .card h2 { margin-top: 0; margin-bottom: 8px; font-size: 1.25rem; line-height: 1.12; letter-spacing: -0.03em; color: var(--text-strong); }
.card p { margin: 0; color: var(--muted); }
.card p + p { margin-top: 10px; }

.card-icon {
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--primary-soft); border: 1px solid rgba(37,99,235,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.3rem; color: var(--primary);
}

.spotlight-card.featured {
  background: linear-gradient(180deg, var(--surface), #0f1b2e);
  border-color: rgba(37,99,235,0.2); box-shadow: var(--primary-glow);
}
.spotlight-card.featured h3, .spotlight-card.featured h2 { color: var(--text-strong); }
.spotlight-card.featured p, .spotlight-card.featured .card-meta { color: var(--muted); }

/* ═══════════  GRIDS  ═══════════ */

.grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.spotlight-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.feature-matrix { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.contact-grid { display: grid; grid-template-columns: 1.3fr .94fr; gap: 20px; }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.tutorial-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.story-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.faq-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1.35fr .8fr .8fr 1fr; }

/* ═══════════  TRUST / PILLS / METRICS  ═══════════ */

.hero-trust { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 24px; }
.trust-badge {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-radius: 16px; background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  font-size: .88rem; font-weight: 600; color: var(--text);
}
.trust-badge strong { font-size: 1rem; color: var(--accent); }
.highlight-strip { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: 26px; }
.pill {
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  border-radius: 999px; padding: 10px 16px; color: var(--muted);
  font-size: .86rem; font-weight: 600; text-align: center; white-space: nowrap;
}

.metrics-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 28px; }
.metric-card { border-radius: 18px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); padding: 18px; }
.metric-card strong { display: block; font-size: 1.8rem; line-height: 1; margin-bottom: 6px; color: var(--text-strong); }
.metric-subtle, .panel-subtle, .card-meta { font-size: .88rem; color: var(--muted); }

.mini-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 18px; }
.mini-badge {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  color: var(--muted); padding: 12px 14px; border-radius: 14px; font-size: .88rem;
}

/* ═══════════  CONTENT / ARTICLE  ═══════════ */

.content-wrap { padding: 32px 0 64px; }
.article { padding: 42px; border-radius: var(--radius-lg); }
.article h2 { margin-top: 0; font-size: 2rem; line-height: 1.1; letter-spacing: -0.03em; color: var(--text-strong); }
.article h3 { color: var(--text-strong); letter-spacing: -0.02em; }
.article p, .article li { color: var(--muted); font-size: 1rem; }
.article img { border-radius: 16px; }

.feature-list { margin: 0; padding-left: 20px; }
.feature-list li { margin: 10px 0; color: var(--muted); }
.feature-list.compact li { margin: 7px 0; }

/* ═══════════  PRICING CARDS  ═══════════ */

.price-card {
  border-radius: var(--radius-lg); padding: 28px 24px; position: relative;
  border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-card); transition: all .3s ease;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.1);
}
.price-card.featured-price {
  background: linear-gradient(180deg, #111f3a 0%, #0f1b30 100%);
  border-color: rgba(37,99,235,0.25); box-shadow: var(--primary-glow);
}
.price-card.featured-price:hover {
  box-shadow: 0 0 60px rgba(37,99,235,0.35), 0 28px 70px rgba(0,0,0,0.4);
}
.price-card.featured-price .price-sub,
.price-card.featured-price .feature-list.compact li,
.price-card.featured-price .price-note { color: var(--muted); }
.price-card.featured-price .btn-secondary {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: var(--text-strong);
}
.price-card h2, .price-card h3 { margin-top: 0; margin-bottom: 8px; font-size: 1.6rem; line-height: 1.1; letter-spacing: -0.03em; color: var(--text-strong); }
.price-card .tag {
  position: absolute; top: 18px; right: 18px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; border-radius: 999px; padding: 5px 14px;
  font-size: .72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
}
.price { font-size: 2.6rem; line-height: 1.1; margin: 12px 0 0; font-weight: 900; letter-spacing: -0.04em; color: var(--text-strong); }
.price-sub { margin: 4px 0 10px; color: var(--muted); font-size: .85rem; }
.price-note { margin: 0 0 20px; font-size: .92rem; color: var(--muted); }

/* ═══════════  FAQ  ═══════════ */

.faq-item {
  padding: 24px 26px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-card); transition: all .25s ease;
}
.faq-item:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.1); }
.faq-item h3 { margin: 0 0 10px; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--text-strong); }
.faq-item p { margin: 0; color: var(--muted); }

/* ═══════════  CTA PANEL  ═══════════ */

.cta-panel {
  border-radius: var(--radius-xl); padding: 48px 40px;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 50% at 30% 40%, rgba(37,99,235,0.1), transparent 50%),
              radial-gradient(ellipse 40% 30% at 80% 60%, rgba(34,211,238,0.08), transparent 40%),
              var(--surface);
  box-shadow: var(--shadow-soft); text-align: center;
}
.cta-panel h2 { margin: 0 0 10px; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; letter-spacing: -0.03em; color: var(--text-strong); }
.cta-panel p { color: var(--muted); margin: 0 auto 22px; max-width: 560px; font-size: 1rem; }

/* ═══════════  CONTACT CARD  ═══════════ */

.contact-card {
  padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow-card);
}
.contact-card h2 { margin-top: 0; font-size: 1.8rem; letter-spacing: -0.03em; color: var(--text-strong); }
.contact-highlights { margin-bottom: 20px; }

/* ═══════════  APP CARDS  ═══════════ */

.app-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-card); transition: all .25s ease;
}
.app-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.1); }
.app-card-spotlight {
  background: linear-gradient(180deg, #111f3a, #0f1b30);
  border-color: rgba(37,99,235,0.2); box-shadow: var(--primary-glow);
}
.app-card-spotlight h2, .app-card-spotlight p, .app-card-spotlight .card-meta { color: var(--text); }
.app-card-spotlight p, .app-card-spotlight .card-meta { opacity: .78; }
.app-card h2 { margin-top: 0; margin-bottom: 8px; color: var(--text-strong); }
.app-card p { color: var(--muted); }
.app-card-wide { grid-column: 1 / -1; }

/* ═══════════  TUTORIAL CARDS  ═══════════ */

.tutorial-card h2 { margin-top: 0; color: var(--text-strong); }
.tutorial-index {
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-size: .84rem; font-weight: 900; letter-spacing: 0.08em;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--primary-glow); margin-bottom: 16px;
}
.tutorial-card ol { margin: 0; padding-left: 20px; }
.tutorial-card li { margin: 8px 0; color: var(--muted); }

/* ═══════════  POST GRID  ═══════════ */

.post-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 20px; }
.post-card h2 { margin-top: 0; margin-bottom: 8px; font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--text-strong); }
.meta { color: var(--muted); font-size: .88rem; }

/* ═══════════  GALLERY  ═══════════ */

.iptv-gallery-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.iptv-gallery-item { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: var(--shadow-card); }
.iptv-gallery-item figcaption { margin-top: 8px; color: var(--muted); font-size: .84rem; }

/* ═══════════  FOOTER  ═══════════ */

.site-footer {
  border-top: 1px solid var(--line); color: var(--muted);
  padding: 40px 0 28px; background: var(--bg-soft);
}
.site-footer a { color: var(--muted); transition: color .16s ease; }
.site-footer a:hover { color: var(--accent); }

.footer-panel {
  padding: 36px 40px; border-radius: var(--radius-xl);
  border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.footer-title { margin: 0 0 16px; font-size: 1rem; letter-spacing: -0.01em; color: var(--text-strong); font-weight: 700; }
.footer-hero-title { margin: 18px 0 14px; font-size: 1.8rem; line-height: 1.1; letter-spacing: -0.04em; color: var(--text-strong); }
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list li { margin: 0 0 8px; }
.footer-bottom {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: var(--muted-2); font-size: .88rem;
}

.page-numbers {
  display: inline-block; margin-right: 8px; margin-top: 14px;
  padding: 8px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
}
.page-numbers.current { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; border-color: transparent; }

/* ═══════════  FEATURES GRID (Lovable 1:1)  ═══════════ */

.features-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0,1fr)); }
.feature-card {
  padding: 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-card); text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35); border-color: rgba(255,255,255,0.1);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 14px;
  background: var(--primary-soft); border: 1px solid rgba(37,99,235,0.15);
  display: flex; align-items: center; justify-content: center; color: var(--primary);
}
.feature-card h3 { margin: 0 0 12px; font-size: 1.25rem; color: var(--text-strong); font-weight: 700; letter-spacing: -0.02em; }
.feature-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ═══════════  PLATFORMS GRID  ═══════════ */

.platforms-grid { display: grid; gap: 14px; grid-template-columns: repeat(5, minmax(0,1fr)); }
.platform-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 14px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-card); text-align: center; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
a.platform-card { cursor: pointer; }
.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35); border-color: rgba(37,99,235,0.25);
}
.platform-card img { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; }
.platform-name { font-size: 1rem; font-weight: 700; color: var(--text-strong); }
.platform-action {
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--primary); background: var(--primary-soft); padding: 5px 14px; border-radius: 999px;
}

/* ═══════════  PRICING OLD/NEW  ═══════════ */

.price-old { text-decoration: line-through; color: var(--muted-2); font-size: 1.8rem; font-weight: 600; margin-right: 8px; }
.price-features { list-style: none; margin: 14px 0; padding: 0; }
.price-features li {
  padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .88rem;
  display: flex; align-items: center; gap: 10px;
}
.price-features li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.price-features li:last-child { border-bottom: none; }
.tag-accent { background: linear-gradient(135deg, var(--accent), #06b6d4) !important; }
.guarantee-box {
  margin-top: 32px; text-align: center; padding: 32px;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: radial-gradient(ellipse 50% 40% at 50% 50%, rgba(16,185,129,0.08), transparent 60%), var(--surface);
}
.guarantee-box h3 { margin: 0 0 12px; font-size: 1.6rem; color: var(--text-strong); }
.guarantee-box p { margin: 0 0 20px; color: var(--muted); max-width: 560px; margin-left: auto; margin-right: auto; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }

/* ═══════════  FILMS CAROUSEL  ═══════════ */

.films-swiper { padding: 20px 0 40px; overflow: hidden; }
.films-swiper .swiper-slide { width: 200px; }
.film-card { text-align: center; }
.film-poster {
  position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-card); margin-bottom: 12px;
  transition: transform .25s ease;
}
.film-card:hover .film-poster { transform: scale(1.03); }
.film-poster img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.film-rating {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(10px);
  color: var(--accent); font-weight: 800; font-size: .82rem;
  padding: 4px 10px; border-radius: 999px;
}
.film-card h3 { margin: 0 0 4px; font-size: .92rem; color: var(--text-strong); font-weight: 600; }
.film-year { font-size: .82rem; color: var(--muted); }
.films-note { text-align: center; color: var(--muted); font-size: .92rem; max-width: 660px; margin: 16px auto 0; }

/* ═══════════  WEB PLAYER BOX  ═══════════ */

.webplayer-box {
  margin-top: 32px; display: flex; align-items: center; gap: 32px;
  padding: 32px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-card);
}
.webplayer-inner { flex: 1; }
.webplayer-inner h3 { margin: 0 0 8px; font-size: 1.6rem; color: var(--text-strong); }
.webplayer-inner p { margin: 0 0 20px; color: var(--muted); }
.webplayer-img { flex: 1; max-width: 400px; border-radius: 16px; }

/* ═══════════  DEVICES / APPS / SMART TV  ═══════════ */

.devices-content, .apps-content, .smarttv-content { max-width: 900px; margin: 0 auto; }
.devices-text p, .apps-text p, .smarttv-text p { color: var(--muted); font-size: 1rem; line-height: 1.7; margin: 0 0 14px; }
.apps-content { display: flex; flex-direction: column; gap: 24px; }
.apps-images { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.apps-images img { border-radius: 16px; box-shadow: var(--shadow-card); }

/* ═══════════  FOOTER BRAND  ═══════════ */

.footer-logo-link {
  display: flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 16px;
}
.footer-logo-link .brand-logo { height: 42px; max-width: 180px; }
.footer-brand-name { font-size: 1.2rem; font-weight: 800; color: var(--text-strong); }
.footer-desc { color: var(--muted); font-size: .95rem; margin: 0; max-width: 280px; }

/* ═══════════  HERO GRADIENTS 4 & 5  ═══════════ */

.hero-gradient-4 {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a0a2e 0%, #0f172a 40%, #0b1120 100%);
}
.hero-gradient-5 {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0b1a2e 0%, #0f2027 40%, #0b0f1a 100%);
}

/* ═══════════  AMBIENT GLOWS  ═══════════ */

.ambient-glow { position: absolute; border-radius: 999px; pointer-events: none; filter: blur(80px); z-index: 0; }
.section-glow-left { width: 500px; height: 400px; left: -100px; top: 10%; background: radial-gradient(circle, rgba(37,99,235,0.08), transparent 60%); }
.section-glow-right { width: 400px; height: 350px; right: -80px; bottom: 10%; background: radial-gradient(circle, rgba(34,211,238,0.06), transparent 60%); }

/* ═══════════  SECTION DIVIDER  ═══════════ */

.section::after {
  content: ""; display: block;
  width: 120px; height: 1px; margin: 0 auto; margin-top: var(--section-gap);
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.section:last-of-type::after { display: none; }
.hero-slider-section::after { display: none; }

/* ═══════════  PREMIUM GLOW ON HOVER  ═══════════ */

.feature-card::before, .platform-card::before, .price-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(34,211,238,0.1));
  z-index: -1; opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.feature-card, .platform-card, .price-card { position: relative; }
.feature-card:hover::before, .platform-card:hover::before, .price-card:hover::before { opacity: 1; }

/* ═══════════  SMOOTH SCROLL SECTIONS  ═══════════ */

.is-visible { animation: fadeInUp .5s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════  RESPONSIVE — TABLET  ═══════════ */

@media (max-width: 900px) {
  :root { --section-gap: 48px; }
  .hero-slider-section { height: 85vh; min-height: 550px; }
  .hero-slide-inner h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
  .spotlight-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .feature-matrix, .contact-grid, .app-grid, .tutorial-grid, .story-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .highlight-strip { grid-template-columns: 1fr 1fr; }
  .iptv-gallery-grid { grid-template-columns: 1fr 1fr; }
  .card, .article, .cta-panel, .contact-card, .footer-panel { padding: 28px; }
  .hero-trust { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr 1fr; }
  .nav-cluster { flex: 1; justify-content: space-between; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .platforms-grid { grid-template-columns: repeat(3, 1fr); }
  .webplayer-box { flex-direction: column; }
  .webplayer-img { max-width: 100%; }
  .apps-images { grid-template-columns: 1fr; }
}

/* ═══════════  RESPONSIVE — MOBILE  ═══════════ */

@media (max-width: 680px) {
  :root { --section-gap: 36px; }
  .header-inner { min-height: 72px; flex-wrap: wrap; justify-content: center; }
  .brand-lockup { width: 100%; justify-content: center; }
  .brand-logo { height: 38px; max-width: 160px; }
  .nav-cluster { order: 3; width: 100%; flex-direction: column; gap: 6px; border-radius: 22px; padding: 8px; }
  .main-nav { width: 100%; justify-content: center; }
  .main-nav > div, .main-nav > ul { width: 100%; }
  .main-nav ul { gap: 2px; }
  .main-nav a { font-size: .82rem; padding: 7px 10px; }
  .nav-cta { width: 100%; text-align: center; }
  .hero-slider-section { height: 100vh; min-height: 500px; }
  .hero-slide-inner h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-slide-inner p { font-size: 1rem; }
  .hero-scroll-indicator { display: none; }
  .hero-lite { padding: 120px 0 40px; }
  .hero-lite h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .hero-trust, .metrics-grid, .mini-grid { grid-template-columns: 1fr; }
  .spotlight-grid, .pricing-grid, .footer-grid, .grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: 1fr 1fr; }
  .webplayer-box { padding: 28px; }
  .post-grid { grid-template-columns: 1fr; }
  .highlight-strip { grid-template-columns: 1fr 1fr; }
  .iptv-gallery-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-panel { padding: 36px 24px; }
}

/* ═══════════  EXTRA WIDE  ═══════════ */

@media (min-width: 1500px) {
  :root { --container: 1420px; --section-gap: 72px; }
  .header-inner { min-height: 88px; }
  .brand-logo { height: 56px; max-width: 240px; }
  .main-nav a { padding: 10px 18px; font-size: .9rem; }
  .nav-cluster { gap: 8px; padding: 8px 10px; }
  .nav-cta { padding: 12px 24px; }
  .hero-slide-inner h1 { font-size: 5.4rem; }
  .section-heading { max-width: 800px; margin-bottom: 44px; }
  .spotlight-grid, .feature-matrix, .contact-grid, .app-grid, .tutorial-grid, .story-grid, .faq-grid, .footer-grid { gap: 24px; }
  .card { padding: 36px; }
  .article { padding: 44px; }
  .price-card { padding: 36px 30px; }
  .cta-panel { padding: 56px 48px; }
  .contact-card { padding: 40px; }
  .footer-panel { padding: 44px; }
  .faq-item { padding: 30px 32px; }
}
