/* ==========================================================================
   IPTVNext — shared stylesheet
   Design DNA cloned from reference: violet #9400FF primary, deep indigo
   #27005D secondary, light/airy white + #eff1f3 surfaces, dark purple
   gradient page-headers (#0C0B2E -> #5E1124), gradient CTAs
   (#667eea -> #764ba2), Roboto + Roboto Slab.
   ========================================================================== */

:root {
  /* Core palette (extracted from reference) */
  --primary: #9400FF;
  --primary-dark: #7A00D6;
  --primary-light: #b45cff;
  --secondary: #27005D;
  --violet-count: #9302fd;

  --bg: #ffffff;
  --bg-alt: #eff1f3;
  --surface: #ffffff;
  --surface-soft: #f8fafc;

  --text: #2B3843;
  --text-ink: #23222c;
  --text-muted: #82838e;
  --text-grey: #7A7A7A;

  --border: #e5e7eb;
  --border-light: #f3f4f6;

  --trust-green: #00b67a;
  --info-blue: #0073aa;
  --warn-bg: #fef3cd;
  --warn-border: #f59e0b;
  --warn-text: #92400e;

  /* Dark bands */
  --dark-bg: #1e1442;
  --dark-bg-2: #2b1c6b;
  --dark-surface: #2a1f55;
  --dark-text: #F8FAFC;
  --dark-text-soft: #CBD5E1;
  --dark-border: #3c2f70;

  /* Gradients (exact from reference) */
  --grad-hero: linear-gradient(180deg, #0C0B2E 0%, #5E1124 100%);
  --grad-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --grad-violet: linear-gradient(135deg, #9400FF 0%, #27005D 100%);
  --grad-dark: linear-gradient(135deg, #1e1442 0%, #2b1c6b 100%);
  --grad-title: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);

  /* Typography */
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-head: 'Roboto Slab', Georgia, serif;
  --fw-light: 300;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Shape */
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, .25);
  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
  --nav-h: 80px;
}

/* ---------------------------------------------------------------- reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: var(--fw-normal);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--text);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container--narrow { max-width: 880px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 999;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ------------------------------------------------------------------ nav */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  transition: var(--transition);
}

.header__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: var(--fw-extrabold);
  color: var(--secondary);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.logo:hover { color: var(--secondary); }
.logo span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.nav-links > li { position: relative; }

.nav-links a {
  display: block;
  color: var(--text-muted);
  font-weight: var(--fw-medium);
  font-size: .93rem;
  padding: .5rem .7rem;
  border-radius: var(--radius);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--border-light);
}

/* secondary dropdown group */
.nav-drop > button {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: .93rem;
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  padding: .5rem .7rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.nav-drop > button:hover { color: var(--primary); background: var(--border-light); }
.nav-drop > button::after { content: '▾'; font-size: .8rem; }

.nav-drop__menu {
  position: absolute;
  top: calc(100% + .4rem);
  left: 0;
  min-width: 232px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: var(--transition);
}
.nav-drop:hover .nav-drop__menu,
.nav-drop:focus-within .nav-drop__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-drop__menu a { font-size: .9rem; padding: .55rem .75rem; }

.nav-cta {
  background: var(--grad-primary);
  color: #fff !important;
  font-weight: var(--fw-semibold) !important;
  padding: .7rem 1.25rem !important;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: var(--grad-primary); }

.lang-switch {
  font-size: .85rem !important;
  font-weight: var(--fw-semibold) !important;
  border: 1px solid var(--border);
  color: var(--secondary) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--secondary);
  padding: .4rem .6rem;
  border-radius: var(--radius);
}
.nav-toggle:hover { background: var(--border-light); }

/* --------------------------------------------------------- page header */
.page-header {
  background: var(--grad-hero);
  color: #fff;
  padding: calc(var(--nav-h) + 4.5rem) 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(148, 0, 255, .30) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .10) 0%, transparent 50%);
}
.page-header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-header--hero { padding: calc(var(--nav-h) + 5.5rem) 0 5rem; }

.eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-size: .82rem;
  font-weight: var(--fw-semibold);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.page-header__title {
  font-size: 3.4rem;
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  background: var(--grad-title);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
}

.page-header__subtitle {
  font-size: 1.2rem;
  line-height: 1.65;
  opacity: .92;
  margin: 0 auto 2rem;
  max-width: 660px;
  color: #fff;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .88rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, .7);
}
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.breadcrumb a:hover { color: #fff; }

/* ---------------------------------------------------------- stats row */
.stats-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3rem;
}
.stat-box {
  text-align: center;
  background: rgba(255, 255, 255, .10);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1.35rem 2rem;
  border: 1px solid rgba(255, 255, 255, .2);
  min-width: 170px;
}
.stat-number {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: var(--fw-bold);
  color: #fff;
  margin-bottom: .35rem;
}
.stat-label { font-size: .88rem; opacity: .82; color: #fff; }

/* ------------------------------------------------------- hero media */
.hero-media {
  max-width: 820px;
  margin: 3rem auto 0;
}
.hero-media img {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: var(--shadow-xl);
}
.hero-media figcaption {
  margin-top: .9rem;
  font-size: .88rem;
  color: rgba(255, 255, 255, .78);
}

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .85rem 1.7rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .98rem;
  font-weight: var(--fw-semibold);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn--primary { background: var(--grad-primary); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn--violet { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn--violet:hover { color: #fff; background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn--outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn--outline:hover { background: #fff; color: var(--secondary); }

.btn--white { background: #fff; color: var(--secondary); border: 2px solid #fff; }
.btn--white:hover { background: transparent; color: #fff; }

.btn--ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn--ghost:hover { background: var(--primary); color: #fff; }

.btn--block { width: 100%; }

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------ sections */
.section { padding: 5rem 0; }
.section--alt { background: var(--bg-alt); }
.section--soft { background: var(--surface-soft); }
.section--dark { background: var(--grad-dark); color: var(--dark-text); }
.section--dark h2, .section--dark h3 { color: var(--dark-text); }
.section--dark p { color: var(--dark-text-soft); }

.section-header { text-align: center; margin-bottom: 3.25rem; }
.section-title {
  font-size: 2.35rem;
  font-weight: var(--fw-bold);
  margin-bottom: .9rem;
}
.section-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}
.section--dark .section-subtitle { color: var(--dark-text-soft); }

.prose h2 { font-size: 1.85rem; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.3rem; margin: 2rem 0 .75rem; color: var(--secondary); }
.prose h4 { font-size: 1.08rem; margin: 1.5rem 0 .6rem; color: var(--secondary); }
.prose p { margin-bottom: 1.1rem; color: var(--text); }
.prose ul, .prose ol { margin: 0 0 1.4rem 0; }
.prose ul li, .prose ol li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: .6rem;
  color: var(--text);
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0; top: .55rem;
  width: .55rem; height: .55rem;
  border-radius: 50%;
  background: var(--primary);
}
.prose ol { counter-reset: pro; }
.prose ol li { counter-increment: pro; }
.prose ol li::before {
  content: counter(pro);
  position: absolute;
  left: 0; top: .05rem;
  width: 1.2rem; height: 1.2rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: .72rem;
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.prose strong { color: var(--secondary); font-weight: var(--fw-bold); }
.prose a { font-weight: var(--fw-medium); text-decoration: underline; text-underline-offset: 3px; }

.legal-meta {
  background: var(--bg-alt);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  color: var(--text-muted);
  font-size: .93rem;
  margin-bottom: 2rem;
}

/* -------------------------------------------------- intro deal banner */
.intro-deal-banner {
  background: var(--grad-violet);
  color: #fff;
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.intro-deal-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .16) 0%, transparent 55%);
}
.idb-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.idb-badge {
  display: inline-block;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-size: .8rem;
  font-weight: var(--fw-bold);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.idb-title {
  font-size: 2.35rem;
  font-weight: var(--fw-extrabold);
  color: #fff;
  margin-bottom: .85rem;
  line-height: 1.15;
}
.idb-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .92);
  max-width: 680px;
  margin: 0 auto 1.6rem;
}
.idb-feats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem 1rem;
  margin-bottom: 1.9rem;
}
.idb-feats li {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: .45rem 1rem;
  font-size: .92rem;
  font-weight: var(--fw-medium);
  color: #fff;
}
.idb-feats li::before { content: '✓ '; color: #fff; font-weight: var(--fw-bold); }
.idb-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  background: #fff;
  color: var(--secondary);
  font-size: 1.05rem;
  font-weight: var(--fw-bold);
  padding: .9rem 2.1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.idb-cta:hover { color: var(--primary); transform: translateY(-2px); }
.idb-note {
  margin-top: 1rem;
  font-size: .89rem;
  color: rgba(255, 255, 255, .8);
}

/* ------------------------------------------------------- device strip */
.device-strip { padding: 3rem 0; background: var(--bg-alt); }
.device-strip__title {
  text-align: center;
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 1.75rem;
}
.device-strip__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.device-strip__logos img { max-height: 46px; width: auto; opacity: .85; }

/* ---------------------------------------------------------- pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }

.plan-card--featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
}
.plan-card--intro {
  border: 2px solid var(--trust-green);
  background: linear-gradient(180deg, #f2fffa 0%, #ffffff 60%);
}

.plan-ribbon {
  position: absolute;
  top: 1rem;
  right: -2.4rem;
  background: var(--grad-primary);
  color: #fff;
  font-size: .7rem;
  font-weight: var(--fw-bold);
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .3rem 2.8rem;
  transform: rotate(45deg);
}
.plan-ribbon--green { background: var(--trust-green); }

.plan-name {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--secondary);
  margin-bottom: .4rem;
}
.plan-guarantee {
  font-size: .8rem;
  color: var(--trust-green);
  font-weight: var(--fw-semibold);
  margin-bottom: 1rem;
}
.plan-price {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: var(--fw-extrabold);
  color: var(--primary);
  line-height: 1;
  margin-bottom: .3rem;
}
.plan-price small { font-size: 1rem; font-weight: var(--fw-medium); color: var(--text-muted); }
.plan-permo { font-size: .88rem; color: var(--text-muted); margin-bottom: 1.4rem; }
.plan-save {
  display: inline-block;
  background: rgba(148, 0, 255, .1);
  color: var(--primary);
  font-size: .78rem;
  font-weight: var(--fw-bold);
  padding: .25rem .7rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.plan-features { flex: 1; margin-bottom: 1.5rem; }
.plan-features li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .6rem;
  font-size: .92rem;
  color: var(--text);
}
.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--trust-green);
  font-weight: var(--fw-bold);
}

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: .95rem;
  margin-top: 2.25rem;
}

/* ----------------------------------------------------------- features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.75rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  background: var(--grad-primary);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: .6rem; color: var(--secondary); }
.feature-card p { color: var(--text-muted); font-size: .95rem; }

.section--dark .feature-card {
  background: var(--dark-surface);
  border-color: var(--dark-border);
}
.section--dark .feature-card h3 { color: #fff; }
.section--dark .feature-card p { color: var(--dark-text-soft); }

/* ------------------------------------------------------- channel grid */
.channel-note {
  background: linear-gradient(135deg, var(--warn-bg), #fde68a);
  border: 1px solid var(--warn-border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--warn-text);
  font-weight: var(--fw-medium);
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.75rem;
}
.channel-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.channel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.channel-flag {
  height: 118px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.channel-flag img { width: 64px; height: 48px; object-fit: contain; }
.channel-info { padding: 1.3rem; text-align: center; }
.channel-count {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: var(--fw-bold);
  color: var(--violet-count);
  margin-bottom: .35rem;
}
.channel-country {
  font-size: .94rem;
  color: var(--text-ink);
  font-weight: var(--fw-medium);
  margin-bottom: .7rem;
}
.channel-quality {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: var(--grad-primary);
  color: #fff;
  padding: .25rem .75rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: var(--fw-medium);
}

/* category pill list */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.cat-card h3 { font-size: 1.05rem; color: var(--secondary); margin-bottom: .4rem; }
.cat-card p { font-size: .9rem; color: var(--text-muted); }

/* ------------------------------------------------------------- VOD row */
.vod-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 1.1rem;
}
.vod-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: var(--bg-alt);
}
.vod-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-lg); }
.vod-card img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }

/* ------------------------------------------------------------- trust */
.trust-band {
  background: var(--bg-alt);
  padding: 3rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.trust-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.25rem;
}
.trust-stars { color: var(--trust-green); font-size: 1.2rem; letter-spacing: .1em; margin-bottom: .4rem; }
.trust-value {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: var(--fw-bold);
  color: var(--secondary);
  margin-bottom: .2rem;
}
.trust-label { font-size: .9rem; color: var(--text-muted); }

.quote-block {
  background: var(--surface);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  padding: 1.6rem 1.8rem;
  margin: 2rem 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
}
.quote-block cite {
  display: block;
  margin-top: .8rem;
  font-style: normal;
  font-size: .88rem;
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
}

/* ------------------------------------------------------ testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.testimonial__stars { color: var(--trust-green); letter-spacing: .12em; margin-bottom: .8rem; }
.testimonial__text { color: var(--text); margin-bottom: 1.1rem; font-size: .97rem; }
.testimonial__who { font-size: .88rem; color: var(--text-muted); font-weight: var(--fw-semibold); }

/* -------------------------------------------------------------- FAQ */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .9rem;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: var(--fw-semibold);
  color: var(--secondary);
  padding: 1.15rem 3rem 1.15rem 1.4rem;
  cursor: pointer;
  position: relative;
  min-height: 48px;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary);
  line-height: 1;
}
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-answer p {
  padding: 0 1.4rem 1.3rem;
  color: var(--text-muted);
  font-size: .96rem;
}
.faq-answer a { font-weight: var(--fw-medium); }

/* ------------------------------------------------------------- forms */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.25rem;
  max-width: 560px;
  margin: 0 auto;
}
.form-card--wide { max-width: 720px; }
.form-card h2, .form-card h3 { margin-bottom: .6rem; color: var(--secondary); }
.form-intro { color: var(--text-muted); margin-bottom: 1.6rem; font-size: .96rem; }

.form-group { margin-bottom: 1.15rem; }
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: var(--fw-semibold);
  color: var(--secondary);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: .75rem 1rem;
  font-family: var(--font-body);
  font-size: .97rem;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(148, 0, 255, .12);
}
.form-hint { font-size: .82rem; color: var(--text-muted); margin-top: .35rem; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: .9rem;
  text-align: center;
}

.form-message {
  margin-top: 1rem;
  padding: .85rem 1.1rem;
  border-radius: var(--radius);
  font-size: .93rem;
  font-weight: var(--fw-medium);
}
.form-message--success { background: rgba(0, 182, 122, .12); color: #046c4e; border: 1px solid var(--trust-green); }
.form-message--error { background: rgba(220, 38, 38, .1); color: #991b1b; border: 1px solid #dc2626; }

.form-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: start;
}
.form-side h2 { font-size: 2rem; margin-bottom: 1rem; }
.form-side p { color: var(--text-muted); margin-bottom: 1.1rem; }
.form-side ul li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: .65rem;
  color: var(--text);
}
.form-side ul li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--trust-green);
  font-weight: var(--fw-bold);
}

/* -------------------------------------------------------- contact info */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.contact-card .feature-icon { margin: 0 auto 1rem; }
.contact-card h3 { font-size: 1.08rem; margin-bottom: .5rem; color: var(--secondary); }
.contact-card p { color: var(--text-muted); font-size: .94rem; }

/* --------------------------------------------------------- steps flow */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
  counter-reset: step;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.65rem;
  box-shadow: var(--shadow);
  position: relative;
  counter-increment: step;
}
.step-card::before {
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 1.65rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.step-card h3 { font-size: 1.08rem; margin: .85rem 0 .55rem; color: var(--secondary); }
.step-card p { color: var(--text-muted); font-size: .94rem; }

/* ------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; margin: 1.5rem 0 2rem; }
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
th, td {
  padding: .85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: .94rem;
}
th {
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: var(--fw-semibold);
  font-size: .9rem;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: var(--surface-soft); }

/* --------------------------------------------------------- CTA band */
.cta-section {
  background: var(--grad-primary);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.cta-title {
  font-size: 2.1rem;
  font-weight: var(--fw-bold);
  color: #fff;
  margin-bottom: 1rem;
}
.cta-subtitle {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, .92);
  max-width: 560px;
  margin: 0 auto 2rem;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----------------------------------------------------------- setup TOC */
.toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem;
  margin-bottom: 2.5rem;
}
.toc h2 { font-size: 1.15rem; margin: 0 0 .9rem; color: var(--secondary); }
.toc ol { columns: 2; column-gap: 2rem; }
.toc ol li { break-inside: avoid; margin-bottom: .5rem; padding-left: 1.7rem; }

.guide-figure { margin: 1.5rem 0 2rem; }
.guide-figure img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  width: 100%;
}
.guide-figure figcaption {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: .6rem;
  text-align: center;
}

.callout {
  background: linear-gradient(135deg, var(--warn-bg), #fde68a);
  border: 1px solid var(--warn-border);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0;
  color: var(--warn-text);
  font-size: .95rem;
}
.callout strong { color: var(--warn-text); }

.callout--info {
  background: rgba(0, 115, 170, .08);
  border-color: var(--info-blue);
  color: #0a4f70;
}
.callout--info strong { color: #0a4f70; }

/* ------------------------------------------------------------- footer */
.footer {
  background: var(--grad-dark);
  color: var(--dark-text);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo { color: #fff; font-size: 1.5rem; display: inline-block; margin-bottom: 1rem; }
.footer-brand .logo span { color: var(--primary-light); }
.footer-brand p { color: var(--dark-text-soft); font-size: .93rem; margin-bottom: 1rem; }
.footer-address {
  font-style: normal;
  color: var(--dark-text-soft);
  font-size: .9rem;
  line-height: 1.75;
}
.footer-address a { color: var(--primary-light); }

.footer-col h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: var(--fw-semibold);
  color: var(--primary-light);
  margin-bottom: 1.15rem;
}
.footer-col li { margin-bottom: .65rem; }
.footer-col a { color: var(--dark-text-soft); font-size: .92rem; }
.footer-col a:hover { color: #fff; }

.footer-pay {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.footer-pay img { max-height: 30px; width: auto; opacity: .85; }

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--dark-text-soft);
  font-size: .88rem;
}
.footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom a { color: var(--dark-text-soft); }
.footer-bottom a:hover { color: #fff; }

/* -------------------------------------------------------- utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.lead { font-size: 1.12rem; color: var(--text-muted); }

/* ------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-split { grid-template-columns: 1fr; gap: 2.25rem; }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
    padding: 1.5rem;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .9rem 1rem; }
  .nav-toggle { display: block; }
  .nav-drop > button { width: 100%; justify-content: space-between; padding: .9rem 1rem; }
  .nav-drop__menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--border);
    border-radius: 0;
    margin-left: 1rem;
    min-width: 0;
  }
  .nav-cta { text-align: center; margin-top: .5rem; }
}

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .header__container { padding: 0 1.25rem; }
  .page-header__container { padding: 0 1.25rem; }
  .page-header { padding: calc(var(--nav-h) + 3rem) 0 3rem; }
  .page-header--hero { padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem; }
  .page-header__title { font-size: 2.2rem; }
  .page-header__subtitle { font-size: 1.05rem; }
  .section { padding: 3.25rem 0; }
  .section-title { font-size: 1.8rem; }
  .idb-title { font-size: 1.75rem; }
  .idb-inner { padding: 0 1.25rem; }
  .stats-row { gap: 1rem; }
  .stat-box { min-width: 140px; padding: 1.1rem 1.25rem; }
  .stat-number { font-size: 1.7rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { justify-content: center; text-align: center; }
  .toc ol { columns: 1; }
  .btn { width: 100%; max-width: 340px; }
  .hero-buttons, .cta-buttons { flex-direction: column; align-items: center; }
  .form-card { padding: 1.6rem; }
  .cta-title { font-size: 1.7rem; }
}

@media (max-width: 480px) {
  .channels-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .vod-scroll { grid-template-columns: repeat(2, 1fr); }
  .page-header__title { font-size: 1.85rem; }
}
