/* =====================================================
   NOOVA PRO — Main Stylesheet
   Dark premium IPTV theme
   ===================================================== */

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

:root {
  /* Colors */
  --bg:           #05080F;
  --bg-2:         #090D1A;
  --bg-card:      #0D1526;
  --bg-card-2:    #111E35;
  --bg-subtle:    #0A1020;
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(59,130,246,0.45);

  --primary:      #2563EB;
  --primary-lt:   #3B82F6;
  --primary-glow: rgba(37,99,235,0.22);
  --gold:         #F59E0B;
  --gold-lt:      #FCD34D;
  --success:      #10B981;
  --danger:       #EF4444;

  --text:         #F0F4FF;
  --text-2:       #9BAACC;
  --text-3:       #5C6F8A;
  --white:        #FFFFFF;

  /* Gradients */
  --grad-hero:    linear-gradient(135deg, #0B1220 0%, #0F1E3D 60%, #0B1220 100%);
  --grad-blue:    linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
  --grad-pro:     linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  --grad-gold:    linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
  --grad-btn:     linear-gradient(135deg, #1D4ED8 0%, #2563EB 50%, #3B82F6 100%);

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.5);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.6);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.7);
  --shadow-blue:  0 8px 32px rgba(37,99,235,0.35);
  --shadow-gold:  0 8px 32px rgba(245,158,11,0.25);
  --shadow-card:  0 4px 24px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);

  /* Spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px;
  --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px;
  --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Radius */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-full: 9999px;

  /* Transitions */
  --t-fast: 150ms ease; --t-base: 250ms ease; --t-slow: 400ms ease;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ─── TYPOGRAPHY ────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
.display {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
.h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
.lead { font-size: 1.15rem; color: var(--text-2); line-height: 1.7; }

.gradient-text {
  background: var(--grad-pro);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── LAYOUT ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.container--sm { max-width: 860px; }
.container--lg { max-width: 1400px; }

.section { padding: var(--sp-20) 0; }
.section--sm { padding: var(--sp-12) 0; }
.section--lg { padding: var(--sp-24) 0; }

.section__head {
  text-align: center;
  margin-bottom: var(--sp-12);
}
.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-lt);
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.25);
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-5);
}
.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-4);
}
.section__sub {
  font-size: var(--text-lg);
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  transition: all var(--t-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--t-fast);
}
.btn:hover::after { background: rgba(255,255,255,0.07); }

.btn--primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(37,99,235,0.45); }

.btn--gold {
  background: var(--grad-gold);
  color: #0A0F1E;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(245,158,11,0.4); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hover);
}
.btn--outline:hover {
  background: rgba(37,99,235,0.1);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); }

.btn--sm { padding: 8px 18px; font-size: var(--text-xs); }
.btn--lg { padding: 15px 32px; font-size: var(--text-base); }
.btn--xl { padding: 18px 40px; font-size: var(--text-lg); border-radius: var(--r-xl); }

.btn--trial {
  background: var(--gold);
  color: #05080F;
  font-weight: 700;
  font-size: var(--text-xs);
  padding: 9px 18px;
  border-radius: var(--r-full);
  box-shadow: 0 4px 16px rgba(245,158,11,0.3);
  animation: pulse-gold 2.5s ease infinite;
}
.btn--trial:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,0.45); animation: none; }

@keyframes pulse-gold {
  0%,100% { box-shadow: 0 4px 16px rgba(245,158,11,0.3); }
  50%      { box-shadow: 0 4px 28px rgba(245,158,11,0.55); }
}

/* ─── HEADER ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(5,8,15,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-base), box-shadow var(--t-base);
}
.site-header.scrolled {
  background: rgba(5,8,15,0.97);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  height: 100%;
}

.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo svg { height: 34px; width: auto; }

.site-nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.nav__link {
  display: block;
  padding: 8px 12px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-md);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover, .nav__link.active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-left: var(--sp-4);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.05);
}
.burger__line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t-base);
}
.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Page offset for fixed header */
.page-offset { padding-top: 68px; }

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  overflow: hidden;
}

/* Animated background grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 0%, transparent 100%);
}

/* Glow blobs */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hero__glow--1 {
  width: 600px; height: 600px;
  background: rgba(37,99,235,0.12);
  top: -20%; left: -10%;
}
.hero__glow--2 {
  width: 400px; height: 400px;
  background: rgba(124,58,237,0.1);
  top: 10%; right: 0%;
}
.hero__glow--3 {
  width: 300px; height: 300px;
  background: rgba(245,158,11,0.06);
  bottom: 10%; left: 40%;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
  padding: var(--sp-24) 0 var(--sp-20);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-lt);
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  padding: 7px 16px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-6);
}
.hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: blink 1.5s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero__headline {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text);
  max-width: 900px;
  margin: 0 auto var(--sp-6);
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto var(--sp-10);
  line-height: 1.7;
}

/* Stats bar */
.hero__stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  max-width: 680px;
  margin: 0 auto var(--sp-10);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: var(--r-xl);
  background: rgba(13,21,38,0.8);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.hero__stat {
  flex: 1;
  min-width: 130px;
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid rgba(37,99,235,0.15);
  position: relative;
}
.hero__stat:last-child { border-right: none; }
.hero__stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad-pro);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.hero__stat-label {
  font-size: var(--text-xs);
  color: var(--text-2);
  font-weight: 500;
}

/* CTA group */
.hero__cta {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-10);
}
.hero__trust {
  font-size: var(--text-sm);
  color: var(--text-3);
}
.hero__trust strong { color: var(--text-2); }

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-3);
  font-size: var(--text-xs);
  animation: bounce 2s ease infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ─── LOGO STRIP ─────────────────────────────────────── */
.logo-strip {
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
}
.logo-strip__inner { position: relative; overflow: hidden; }
.logo-strip__inner::before,
.logo-strip__inner::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
}
.logo-strip__inner::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.logo-strip__inner::after  { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }

.logo-strip__track {
  display: flex;
  gap: var(--sp-10);
  align-items: center;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.logo-strip:hover .logo-strip__track { animation-play-state: paused; }

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

.logo-strip__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-3);
  white-space: nowrap;
  opacity: 0.6;
  transition: opacity var(--t-base);
}
.logo-strip__item:hover { opacity: 1; }
.logo-strip__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ─── COMPARISON TABLE (clean redesign) ─────────────── */
.compare { background: var(--bg-2); }

/* Card wrapper */
.ct-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Header row */
.ct-head {
  display: grid;
  grid-template-columns: 1fr 220px 220px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  align-items: center;
}
.ct-head__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.ct-head__col {
  display: flex;
  justify-content: center;
}
.ct-head__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-full);
}
.ct-head__tag--grey {
  background: rgba(255,255,255,.05);
  color: var(--text-3);
  border: 1px solid var(--border);
}
.ct-head__tag--blue {
  background: rgba(37,99,235,.18);
  color: var(--primary-lt);
  border: 1px solid rgba(37,99,235,.3);
}

/* Data rows */
.ct-row {
  display: grid;
  grid-template-columns: 1fr 220px 220px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  transition: background var(--t-fast);
}
.ct-row:last-child { border-bottom: none; }
.ct-row:hover { background: rgba(255,255,255,.02); }
.ct-row--highlight { background: rgba(37,99,235,.04); }
.ct-row--highlight:hover { background: rgba(37,99,235,.07); }

.ct-row__label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}
.ct-row__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--r-sm);
  background: rgba(37,99,235,.1);
  color: var(--primary-lt);
  flex-shrink: 0;
}
.ct-row--highlight .ct-row__icon {
  background: rgba(37,99,235,.18);
}

.ct-row__them,
.ct-row__us {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 12px;
  font-size: .82rem;
  text-align: center;
}
.ct-row__them {
  color: var(--text-3);
  border-left: 1px solid var(--border);
}
.ct-row__us {
  color: var(--text);
  font-weight: 600;
  border-left: 1px solid rgba(37,99,235,.15);
  background: rgba(37,99,235,.04);
}
.ct-row--highlight .ct-row__us {
  background: rgba(37,99,235,.08);
  color: var(--primary-lt);
}
.ct-row--highlight .ct-row__us strong {
  font-size: .95rem;
  font-weight: 800;
}

/* ─── FEATURES GRID ──────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-pro);
  opacity: 0;
  transition: opacity var(--t-base);
}
.feat-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.feat-card:hover::before { opacity: 1; }
.feat-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  color: var(--primary-lt);
}
.feat-card__icon svg { width: 24px; height: 24px; }
.feat-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}
.feat-card__text { font-size: var(--text-sm); color: var(--text-2); line-height: 1.7; }

/* ─── PRICING ────────────────────────────────────────── */
.device-tabs {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-10);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: var(--r-full);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.device-tab {
  padding: 10px 24px;
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-2);
  transition: all var(--t-base);
}
.device-tab.active, .device-tab:hover {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.plans-group { display: none; }
.plans-group.active {
  display: flex;
  flex-direction: row;
  gap: var(--sp-6);
  max-width: 1000px;
  margin: 0 auto;
}
.plans-group.active .plan-card {
  flex: 1 1 0;
  min-width: 0;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.plan-card--featured {
  border-color: var(--primary);
  background: var(--bg-card-2);
  box-shadow: var(--shadow-blue), var(--shadow-card);
}
.plan-card--featured:hover { transform: translateY(-6px); }

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-btn);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--r-full);
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: var(--shadow-blue);
}

.plan-duration {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-3);
}
.plan-price {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.plan-price span { font-size: 1.5rem; }
.plan-per { font-size: var(--text-sm); color: var(--text-3); margin-bottom: var(--sp-6); }
.plan-save {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--success);
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.25);
  padding: 3px 10px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-6);
}

.plan-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: var(--sp-6);
}

.plan-features { list-style: none; display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--text-2);
}
.plan-features li::before {
  content: '';
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='8' fill='rgba(37,99,235,0.15)'/%3E%3Cpath d='M4.5 8l2.5 2.5 4.5-5' stroke='%233B82F6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.plan-cta { margin-top: var(--sp-8); }
.plan-cta .btn { width: 100%; justify-content: center; }

/* ─── HOW IT WORKS ───────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 36px);
  right: calc(16.67% + 36px);
  height: 1px;
  background: linear-gradient(90deg, var(--primary), rgba(37,99,235,0.2), var(--primary));
}

.step-card {
  text-align: center;
  position: relative;
}
.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--grad-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto var(--sp-6);
  box-shadow: var(--shadow-blue);
  position: relative;
  z-index: 1;
}
.step-title { font-size: var(--text-xl); font-weight: 700; margin-bottom: var(--sp-3); }
.step-text { font-size: var(--text-sm); color: var(--text-2); line-height: 1.7; }

/* ─── DEVICES ────────────────────────────────────────── */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: var(--sp-4);
  max-width: 900px;
  margin: 0 auto;
}
.device-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-5);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--t-base);
  text-align: center;
}
.device-item:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.device-item svg { width: 32px; height: 32px; color: var(--text-2); }
.device-item span { font-size: var(--text-xs); color: var(--text-3); font-weight: 500; }

/* ─── TESTIMONIALS ───────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  transition: all var(--t-base);
}
.testi-card:hover { border-color: var(--border-hover); }
.testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--sp-4);
  color: var(--gold);
}
.testi-text { font-size: var(--text-sm); color: var(--text-2); line-height: 1.7; margin-bottom: var(--sp-5); }
.testi-author { display: flex; align-items: center; gap: var(--sp-3); }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-pro);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.testi-name { font-size: var(--text-sm); font-weight: 600; }
.testi-role { font-size: var(--text-xs); color: var(--text-3); }

/* ─── FREE TRIAL BAND ────────────────────────────────── */
.trial-band {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.trial-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 120% at 50% 0%, rgba(37,99,235,0.12) 0%, transparent 70%);
}
.trial-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  flex-wrap: wrap;
}
.trial-band__text { flex: 1; min-width: 280px; }
.trial-band__title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; margin-bottom: var(--sp-3); }
.trial-band__sub { font-size: var(--text-base); color: var(--text-2); }
.trial-band__actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; }

/* ─── FAQ ─────────────────────────────────────────────── */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--sp-3); }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-base);
}
.faq-item.open { border-color: var(--border-hover); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  cursor: pointer;
  user-select: none;
}
.faq-question__text { font-size: var(--text-base); font-weight: 600; }
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(37,99,235,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-base), background var(--t-base);
}
.faq-item.open .faq-icon { transform: rotate(180deg); background: var(--primary); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow), padding var(--t-base);
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 var(--sp-6) var(--sp-5); }
.faq-answer p { font-size: var(--text-sm); color: var(--text-2); line-height: 1.7; }

/* ─── FOOTER CTA ─────────────────────────────────────── */
.footer-cta {
  background: var(--bg-2);
  padding: var(--sp-20) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(37,99,235,0.15) 0%, transparent 70%);
}
.footer-cta__inner { position: relative; z-index: 1; }
.footer-cta__title { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800; margin-bottom: var(--sp-4); }
.footer-cta__sub { font-size: var(--text-lg); color: var(--text-2); max-width: 560px; margin: 0 auto var(--sp-8); line-height: 1.7; }
.footer-cta__btns { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─────────────────────────────────────────── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: var(--sp-16) 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}
.footer__brand .site-logo { margin-bottom: var(--sp-5); }
.footer__tagline { font-size: var(--text-sm); color: var(--text-2); line-height: 1.7; max-width: 280px; margin-bottom: var(--sp-5); }
.footer__social { display: flex; gap: var(--sp-3); }
.footer__social-link {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all var(--t-base);
}
.footer__social-link:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer__social-link svg { width: 16px; height: 16px; }

.footer__nav-title {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--sp-5);
}
.footer__nav-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__nav-list a {
  font-size: var(--text-sm);
  color: var(--text-2);
  transition: color var(--t-fast);
}
.footer__nav-list a:hover { color: var(--text); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: var(--sp-6) 0;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.footer__copy { font-size: var(--text-xs); color: var(--text-3); }
.footer__legal { font-size: var(--text-xs); color: var(--text-3); text-align: right; }

/* ─── CHANNELS PAGE ──────────────────────────────────── */
.channels-hero {
  padding: calc(68px + 48px) 0 48px;
  background: var(--bg-2);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.channel-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: center;
  margin-bottom: var(--sp-10);
}
.channel-filter {
  padding: 9px 20px;
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--t-fast);
}
.channel-filter.active, .channel-filter:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--sp-4);
}
.channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  transition: all var(--t-base);
  cursor: pointer;
}
.channel-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.channel-card__logo {
  width: 64px; height: 64px;
  border-radius: var(--r-md);
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--primary-lt);
  letter-spacing: -0.02em;
}
.channel-card__name {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-2);
  text-align: center;
  line-height: 1.3;
}
.channel-card__cat {
  font-size: 10px;
  color: var(--text-3);
  background: rgba(255,255,255,0.05);
  padding: 2px 8px;
  border-radius: var(--r-full);
}

/* ─── RESELLER PAGE ──────────────────────────────────── */
.reseller-hero {
  padding: calc(68px + 60px) 0 60px;
  background: var(--bg-2);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.reseller-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(245,158,11,0.08) 0%, transparent 70%);
}

.reseller-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  max-width: 960px;
  margin: 0 auto;
}
.reseller-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}
.reseller-card:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.reseller-card--featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(245,158,11,0.06) 0%, var(--bg-card) 100%);
  box-shadow: var(--shadow-gold);
}
.reseller-card--featured:hover { transform: translateY(-6px); }
.reseller-plan-name {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--sp-3);
}
.reseller-price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.reseller-credits {
  font-size: var(--text-sm);
  color: var(--gold);
  font-weight: 600;
  margin-bottom: var(--sp-6);
  display: flex;
  align-items: center;
  gap: 6px;
}

.reseller-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
  margin-bottom: var(--sp-8);
}
.reseller-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--text-2);
}
.reseller-features li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
}

.credits-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  max-width: 760px;
  margin: 0 auto;
}
.credits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
.credit-item {
  text-align: center;
  padding: var(--sp-5);
  background: var(--bg-2);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.credit-item__num {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}
.credit-item__label { font-size: var(--text-xs); color: var(--text-3); }

/* ─── RESELLER FEATURES 3-COL ───────────────────────── */
.reseller-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}
.rw-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  text-align: center;
  transition: all var(--t-base);
}
.rw-card:hover { border-color: rgba(245,158,11,0.3); transform: translateY(-3px); }
.rw-icon {
  width: 60px; height: 60px;
  border-radius: var(--r-xl);
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
  color: var(--gold);
}
.rw-icon svg { width: 28px; height: 28px; }
.rw-title { font-size: var(--text-xl); font-weight: 700; margin-bottom: var(--sp-3); }
.rw-text { font-size: var(--text-sm); color: var(--text-2); line-height: 1.7; }

/* ─── TRUST BADGES ───────────────────────────────────── */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: border-color var(--t-base);
}
.trust-badge:hover { border-color: var(--border-hover); }
.trust-badge__icon {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: rgba(37,99,235,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-lt);
  flex-shrink: 0;
}
.trust-badge__icon svg { width: 18px; height: 18px; }
.trust-badge__text strong { display: block; font-size: var(--text-sm); font-weight: 700; }
.trust-badge__text span { font-size: var(--text-xs); color: var(--text-3); }

/* ─── SCROLL REVEAL ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: var(--delay, 0s);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ─── MISC ───────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); }

.page-hero {
  padding: calc(68px + 56px) 0 56px;
  text-align: center;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(37,99,235,0.1) 0%, transparent 70%);
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .reseller-why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-nav { display: none; position: fixed; inset: 68px 0 0 0; background: rgba(5,8,15,0.98); backdrop-filter: blur(20px); flex-direction: column; padding: var(--sp-8); z-index: 999; overflow-y: auto; }
  .site-nav.open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 14px 16px; font-size: var(--text-base); border-bottom: 1px solid var(--border); }
  .burger { display: flex; }

  .plans-group.active { flex-direction: column; max-width: 380px; }
  .plans-group.active .plan-card { flex: none; width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .reseller-cards { grid-template-columns: 1fr; max-width: 400px; }
  .reseller-why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .footer__legal { text-align: center; }
  .trial-band__inner { flex-direction: column; text-align: center; }
  .trial-band__actions { justify-content: center; }
  .hero__stats { max-width: 100%; }
  .hero__stat { min-width: 100px; }
  .credits-grid { grid-template-columns: repeat(2, 1fr); }

  /* Compare table - stack on mobile */
  .ct-card { overflow-x: auto; }
  .ct-head, .ct-row { grid-template-columns: 1fr 130px 150px; }
  .ct-row__label { padding: 14px 16px; font-size: .8rem; }
  .ct-head { padding: 12px 16px; }
}

@media (max-width: 480px) {
  .hero__cta { flex-direction: column; align-items: center; }
  .footer-cta__btns { flex-direction: column; align-items: center; }
  .header__actions .btn:not(.btn--trial):not(.burger) { display: none; }
  .device-tabs { flex-wrap: wrap; border-radius: var(--r-xl); width: 100%; }
  .ct-head, .ct-row { grid-template-columns: 1fr 100px 120px; }
  .ct-row__label { gap: 6px; }
  .ct-row__icon { display: none; }
}

/* ─── BLOG SINGLE POST ───────────────────────────────── */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

/* Article */
.single-article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.single-article__hero {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.single-article__body {
  padding: 40px;
}
.single-article__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.single-article__cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary-lt);
  background: rgba(37,99,235,.12);
  padding: 4px 10px;
  border-radius: var(--r-full);
}
.single-article__date,
.single-article__read {
  font-size: .8rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 4px;
}
.single-article__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--text);
}
.single-article__author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.single-article__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-pro);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

/* Entry content typography */
.entry-content { color: var(--text-2); line-height: 1.9; font-size: 1rem; }
.entry-content h2 { font-size: 1.35rem; font-weight: 700; color: var(--text); margin: 2em 0 .75em; }
.entry-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 1.75em 0 .6em; }
.entry-content p { margin-bottom: 1.4em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.4em 1.4em; }
.entry-content li { margin-bottom: .4em; }
.entry-content a { color: var(--primary-lt); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--text); }
.entry-content blockquote { border-left: 3px solid var(--primary); padding: 12px 20px; background: rgba(37,99,235,.06); border-radius: 0 var(--r-md) var(--r-md) 0; margin: 1.4em 0; color: var(--text); font-style: italic; }
.entry-content img { border-radius: var(--r-lg); max-width: 100%; height: auto; margin: 1em 0; }
.entry-content code { background: var(--bg-2); padding: 2px 7px; border-radius: 4px; font-size: .88em; color: var(--primary-lt); }
.entry-content pre { background: var(--bg-2); padding: 20px; border-radius: var(--r-md); overflow-x: auto; margin-bottom: 1.4em; }

/* Single sidebar */
.single-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Post navigation */
.single-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
.single-nav__link {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
  text-decoration: none;
  color: var(--text-2);
  font-size: .8rem;
  transition: all var(--t-base);
}
.single-nav__link:hover { border-color: var(--border-hover); color: var(--text); }
.single-nav__dir { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 4px; }
.single-nav__title { font-weight: 600; font-size: .82rem; color: var(--text); line-height: 1.35; }

@media (max-width: 900px) {
  .single-layout { grid-template-columns: 1fr; }
  .single-sidebar { position: static; }
  .single-article__body { padding: 24px; }
}
