/* ============================================================
   IPTV Sverige — "Nordic Horizon" Design System
   A light-mode Scandinavian editorial theme
   ============================================================ */

/* ---------- CSS Variables / Tokens ---------- */
:root {
  /* Colors */
  --navy: #1a1f36;
  --navy-light: #252b45;
  --navy-dark: #12152a;
  --amber: #e8a838;
  --amber-hover: #d4952e;
  --amber-light: #f5d590;
  --teal: #3bb8a8;
  --teal-light: #e0f5f1;
  --cream: #f8f6f1;
  --white: #ffffff;
  --charcoal: #2d2d3a;
  --charcoal-light: #555566;
  --slate: #eef1f6;
  --border: #dde0e7;
  --border-light: #e8eaef;
  --shadow-sm: 0 2px 8px rgba(26, 31, 54, 0.06);
  --shadow-md: 0 4px 20px rgba(26, 31, 54, 0.08);
  --shadow-lg: 0 8px 40px rgba(26, 31, 54, 0.12);
  --shadow-xl: 0 16px 60px rgba(26, 31, 54, 0.16);

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'DM Serif Display', 'Georgia', serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3.25rem;
  --fs-5xl: 4rem;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --lh-tight: 1.2;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;

  /* Spacing */
  --sp-xs: 0.25rem;
  --sp-sm: 0.5rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 6rem;
  --sp-5xl: 8rem;

  /* Layout */
  --max-width: 1280px;
  --max-width-narrow: 800px;
  --header-height: 72px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--charcoal);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: var(--lh-tight);
  font-weight: var(--fw-normal);
}

h1 { font-size: var(--fs-4xl); margin-bottom: var(--sp-lg); }
h2 { font-size: var(--fs-3xl); margin-bottom: var(--sp-md); }
h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-md); }
h4 { font-size: var(--fs-lg); margin-bottom: var(--sp-sm); }

p { margin-bottom: var(--sp-md); }
strong { font-weight: var(--fw-semibold); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

.container-narrow {
  width: 100%;
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

.section {
  padding: 8rem 0;
}

.section-cream { background-color: var(--cream); }
.section-white { background-color: var(--white); }
.section-slate { background-color: var(--slate); }
.section-navy {
  background-color: var(--navy);
  color: var(--white);
}
.section-navy h2,
.section-navy h3,
.section-navy h4 {
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--sp-3xl);
}

.section-header p {
  color: var(--charcoal-light);
  font-size: var(--fs-md);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal);
  margin-bottom: var(--sp-sm);
}

.section-navy .section-label { color: var(--amber); }

/* Grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-xl); }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  padding: 14px 32px;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-cta {
  background: var(--amber);
  color: var(--navy);
}
.btn-cta:hover {
  background: var(--amber-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 168, 56, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--slate);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: var(--fs-md);
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 10px 24px;
  font-size: var(--fs-sm);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-height);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  color: var(--navy);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--amber);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--charcoal);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--navy);
  background: var(--slate);
}

.nav-cta {
  padding: 10px 24px !important;
  font-size: var(--fs-sm) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  z-index: 1002;
  position: relative;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-height) + var(--sp-4xl)) 0 var(--sp-5xl);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #2a3158 100%);
  color: var(--white);
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(59, 184, 168, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(232, 168, 56, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  font-size: var(--fs-5xl);
  margin-bottom: var(--sp-lg);
}

.hero h1 span {
  color: var(--amber);
}

.hero-subtitle {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--sp-2xl);
  line-height: var(--lh-relaxed);
}

.hero-ctas {
  display: flex;
  gap: var(--sp-md);
  margin-bottom: var(--sp-2xl);
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: var(--sp-xl);
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
}

.hero-trust-icon {
  width: 20px;
  height: 20px;
  color: var(--teal);
}

.hero-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

/* ---------- TRUST BAND ---------- */
.trust-band {
  background: var(--white);
  padding: var(--sp-2xl) 0;
  border-bottom: 1px solid var(--border-light);
}

.trust-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-lg);
}

.trust-band-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-xs);
}

.trust-band-value {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  color: var(--navy);
}

.trust-band-label {
  font-size: var(--fs-sm);
  color: var(--charcoal-light);
  font-weight: var(--fw-medium);
}

/* ---------- QUICK ANSWER BOX ---------- */
.quick-answer {
  background: var(--white);
  border: 2px solid var(--teal-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.quick-answer::before {
  content: '💡';
  position: absolute;
  top: -16px;
  left: var(--sp-xl);
  background: var(--cream);
  padding: 4px 12px;
  font-size: var(--fs-lg);
}

.quick-answer h3 {
  color: var(--teal);
  margin-bottom: var(--sp-md);
}

.quick-answer p {
  color: var(--charcoal);
  line-height: var(--lh-relaxed);
}

/* ---------- FEATURE CARDS ---------- */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amber-light);
}

.feature-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--amber), #f0c060);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--sp-lg);
}

.feature-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-sm);
}

.feature-card p {
  color: var(--charcoal-light);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

/* ---------- CHANNEL CHIPS ---------- */
.channel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  justify-content: center;
}

.channel-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--charcoal);
  transition: all var(--transition);
}

.channel-chip:hover {
  border-color: var(--amber);
  background: #fffbf2;
  transform: translateY(-2px);
}

.channel-chip-icon {
  font-size: var(--fs-base);
}

/* ---------- COMPARISON BLOCK ---------- */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: start;
}

.comparison-col {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  border: 1px solid var(--border-light);
}

.comparison-col.highlight {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.15);
}

.comparison-col h3 {
  margin-bottom: var(--sp-lg);
}

.comparison-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
}

.comparison-item .icon-yes { color: var(--teal); font-weight: bold; }
.comparison-item .icon-no { color: #d94444; font-weight: bold; }

/* ---------- SILO LINK CARDS ---------- */
.silo-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}

.silo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.silo-card-img {
  height: 180px;
  overflow: hidden;
}

.silo-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.silo-card:hover .silo-card-img img {
  transform: scale(1.05);
}

.silo-card-body {
  padding: var(--sp-lg);
}

.silo-card-body h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-sm);
}

.silo-card-body p {
  color: var(--charcoal-light);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-md);
}

.silo-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--amber);
}

.silo-card-link:hover { color: var(--amber-hover); }

/* ---------- PRICING ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-xl);
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  border: 1px solid var(--border-light);
  text-align: center;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.15), var(--shadow-md);
  transform: scale(1.02);
}

.pricing-card.popular:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.15), var(--shadow-xl);
}

.pricing-card.best-value {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(59, 184, 168, 0.15);
}

.pricing-ribbon {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--navy);
  padding: 6px 20px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.pricing-ribbon.teal {
  background: var(--teal);
  color: var(--white);
}

.pricing-duration {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  color: var(--navy);
  margin-bottom: var(--sp-sm);
  margin-top: var(--sp-lg);
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  color: var(--navy);
  line-height: 1;
  margin-bottom: var(--sp-xs);
}

.pricing-amount span {
  font-size: var(--fs-lg);
  font-family: var(--font-body);
}

.pricing-per-month {
  font-size: var(--fs-sm);
  color: var(--charcoal-light);
  margin-bottom: var(--sp-xl);
}

.pricing-features {
  text-align: left;
  margin-bottom: var(--sp-xl);
  flex-grow: 1;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 8px 0;
  font-size: var(--fs-sm);
  color: var(--charcoal);
  border-bottom: 1px solid var(--border-light);
}

.pricing-feature:last-child { border-bottom: none; }

.pricing-feature .check {
  color: var(--teal);
  font-weight: bold;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  border-radius: var(--radius-md);
}

/* ---------- STEPS ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2xl);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--teal));
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), #f0c060);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-lg);
  box-shadow: 0 4px 16px rgba(232, 168, 56, 0.25);
}

.step-card h3 {
  margin-bottom: var(--sp-sm);
}

.step-card p {
  color: var(--charcoal-light);
  font-size: var(--fs-sm);
}

/* ---------- NEEDS / REQUIREMENTS SECTION ---------- */
.needs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
  align-items: center;
}

.needs-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.needs-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  padding: var(--sp-lg);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.needs-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.needs-item h4 {
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-xs);
}

.needs-item p {
  font-size: var(--fs-sm);
  color: var(--charcoal-light);
  margin-bottom: 0;
}

/* ---------- COMPARISON TABLE ---------- */
.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 600px;
}

.comparison-table thead {
  background: var(--navy);
  color: var(--white);
}

.comparison-table th {
  padding: var(--sp-lg);
  text-align: left;
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
}

.comparison-table th:first-child {
  border-radius: var(--radius-lg) 0 0 0;
}

.comparison-table th:last-child {
  border-radius: 0 var(--radius-lg) 0 0;
}

.comparison-table th.highlight-col {
  background: var(--amber);
  color: var(--navy);
}

.comparison-table td {
  padding: var(--sp-md) var(--sp-lg);
  font-size: var(--fs-sm);
  border-bottom: 1px solid var(--border-light);
}

.comparison-table td.highlight-col {
  background: rgba(232, 168, 56, 0.04);
  font-weight: var(--fw-medium);
}

.comparison-table tbody tr:hover {
  background: var(--slate);
}

.comparison-table .table-yes { color: var(--teal); font-weight: var(--fw-bold); }
.comparison-table .table-no { color: #d94444; }
.comparison-table .table-partial { color: var(--amber); }

/* ---------- TESTIMONIALS ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
}

.testimonial-stars {
  color: var(--amber);
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-md);
  letter-spacing: 2px;
}

.testimonial-text {
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: var(--sp-lg);
  line-height: var(--lh-relaxed);
  font-size: var(--fs-sm);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
}

.testimonial-name {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
}

.testimonial-role {
  font-size: var(--fs-xs);
  color: var(--charcoal-light);
}

/* ---------- CATEGORY COUNTS ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-md);
}

.category-card {
  text-align: center;
  padding: var(--sp-xl);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.category-card:hover {
  border-color: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.category-icon {
  font-size: 2rem;
  margin-bottom: var(--sp-sm);
}

.category-name {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  color: var(--navy);
  margin-bottom: var(--sp-xs);
}

.category-count {
  font-size: var(--fs-xs);
  color: var(--charcoal-light);
}

/* ---------- LEGAL / SAFE IPTV ---------- */
.legal-highlight {
  background: linear-gradient(135deg, var(--teal-light), #f0faf8);
  border-radius: var(--radius-lg);
  padding: var(--sp-3xl);
  border-left: 4px solid var(--teal);
}

.legal-highlight h3 {
  color: var(--navy);
  margin-bottom: var(--sp-md);
}

.legal-highlight p {
  color: var(--charcoal);
  line-height: var(--lh-relaxed);
}

/* ---------- USE-CASE CARDS ---------- */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-lg);
}

.usecase-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--amber-light);
}

.usecase-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--sp-md);
  background: var(--slate);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.usecase-card h4 {
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-xs);
}

.usecase-card p {
  font-size: var(--fs-xs);
  color: var(--charcoal-light);
  margin-bottom: 0;
}

/* ---------- E-E-A-T / METHODOLOGY ---------- */
.eeat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
}

.eeat-card {
  text-align: center;
  padding: var(--sp-xl);
}

.eeat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--sp-md);
  background: rgba(232, 168, 56, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.section-navy .eeat-icon {
  background: rgba(232, 168, 56, 0.2);
}

.eeat-card h4 {
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-sm);
}

.section-navy .eeat-card h4 { color: var(--white); }

.eeat-card p {
  font-size: var(--fs-sm);
  color: var(--charcoal-light);
  margin-bottom: 0;
}

.section-navy .eeat-card p { color: rgba(255,255,255,0.7); }

/* ---------- FAQ ACCORDION ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.active {
  border-color: var(--amber);
}

.faq-question {
  width: 100%;
  padding: var(--sp-lg) var(--sp-xl);
  text-align: left;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-md);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
}

.faq-question:hover {
  color: var(--amber-hover);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition);
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--navy);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  transition: transform var(--transition);
}

.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 var(--sp-xl) var(--sp-lg);
  color: var(--charcoal);
  line-height: var(--lh-relaxed);
  font-size: var(--fs-sm);
}

/* ---------- CTA BAND ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: var(--sp-4xl) 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(232, 168, 56, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: var(--sp-md);
  position: relative;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-md);
  margin-bottom: var(--sp-2xl);
  position: relative;
}

.cta-band .btn { position: relative; }

/* ---------- BLOG CARDS ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}









.blog-card:hover 









.blog-card-link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
}

.blog-card-link:hover { color: var(--amber-hover); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--sp-4xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--sp-2xl);
  padding-bottom: var(--sp-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  color: var(--white);
  display: block;
  margin-bottom: var(--sp-md);
}

.footer-brand p {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-lg);
  color: rgba(255, 255, 255, 0.6);
}

.footer-brand .btn {
  font-size: var(--fs-sm);
  padding: 12px 24px;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-lg);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.footer-col a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--amber);
}

.footer-trust {
  padding: var(--sp-xl) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-lg);
}

.trust-badge {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.footer-bottom {
  padding: var(--sp-xl) 0;
  text-align: center;
}

.footer-bottom p {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--sp-sm);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a:hover {
  color: var(--amber);
}

/* ---------- INNER PAGE STYLES ---------- */
.page-hero {
  padding: calc(var(--header-height) + var(--sp-3xl)) 0 var(--sp-3xl);
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--sp-md);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  font-size: var(--fs-md);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--sp-xl);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb .sep { opacity: 0.4; }

.page-content {
  padding: var(--sp-4xl) 0;
}

.page-content h2 {
  margin-top: var(--sp-2xl);
  margin-bottom: var(--sp-md);
}

.page-content h3 {
  margin-top: var(--sp-xl);
  margin-bottom: var(--sp-md);
}

.page-content p {
  max-width: 75ch;
  line-height: var(--lh-relaxed);
}

.page-content ul, .page-content ol {
  padding-left: var(--sp-xl);
  margin-bottom: var(--sp-md);
}

.page-content li {
  margin-bottom: var(--sp-sm);
  line-height: var(--lh-relaxed);
  list-style: disc;
}

.page-content ol li { list-style: decimal; }

.page-content img {
  border-radius: var(--radius-md);
  margin: var(--sp-xl) 0;
  box-shadow: var(--shadow-sm);
}

/* Legal pages */
.legal-page .page-content p {
  max-width: 100%;
}

/* ---------- BLOG SINGLE ---------- */
.blog-single {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: var(--sp-4xl) var(--sp-xl);
}

.blog-single-header {
  margin-bottom: var(--sp-2xl);
}

.blog-single-date {
  font-size: var(--fs-sm);
  color: var(--charcoal-light);
  margin-bottom: var(--sp-md);
}

.blog-single-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 auto var(--sp-2xl);
  box-shadow: var(--shadow-md);
  max-width: 600px;
  max-height: 340px;
  display: flex;
}

.blog-single-image img,
.blog-featured-image {
  width: 100%;
  height: 100%;
  max-width: 600px;
  max-height: 340px;
  object-fit: cover;
  object-position: center;
}

.blog-featured-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 0 auto var(--sp-2xl);
  display: block;
}

.blog-single-content h2 {
  margin-top: var(--sp-2xl);
}

.blog-single-content h3 {
  margin-top: var(--sp-xl);
}

.blog-single-content p {
  max-width: 100%;
  margin-bottom: var(--sp-md);
  line-height: var(--lh-relaxed);
}

.blog-single-content ul, .blog-single-content ol {
  padding-left: var(--sp-xl);
  margin-bottom: var(--sp-md);
}

.blog-single-content li {
  margin-bottom: var(--sp-sm);
  line-height: var(--lh-relaxed);
  list-style: disc;
}

.blog-single-content ol li { list-style: decimal; }

/* Key takeaways / info box */
.info-box {
  background: var(--teal-light);
  border-radius: var(--radius-md);
  padding: var(--sp-xl);
  margin: var(--sp-xl) 0;
  border-left: 4px solid var(--teal);
}

.info-box h3, .info-box h4 {
  color: var(--navy);
  margin-bottom: var(--sp-sm);
}

.info-box ul {
  padding-left: var(--sp-lg);
}

.info-box li {
  list-style: disc;
  margin-bottom: var(--sp-xs);
  font-size: var(--fs-sm);
}

/* Related posts */
.related-posts {
  margin-top: var(--sp-3xl);
  padding-top: var(--sp-2xl);
  border-top: 1px solid var(--border);
}

.related-posts h3 {
  margin-bottom: var(--sp-xl);
}

/* ---------- CONTACT FORM ---------- */
.contact-form {
  max-width: 600px;
}

.form-group {
  margin-bottom: var(--sp-lg);
}

.form-group label {
  display: block;
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-sm);
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px var(--sp-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.15);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.3s; }

/* ---------- BLOG INDEX GRID ---------- */
.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}

/* ---------- APP/DEVICE CARDS (inner pages) ---------- */
.app-card, .device-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.app-card:hover, .device-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   RESPONSIVE — Tablet (768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --fs-4xl: 2.25rem;
    --fs-5xl: 2.75rem;
    --fs-3xl: 2rem;
    --fs-2xl: 1.5rem;
  }

  .container, .container-narrow {
    padding: 0 var(--sp-lg);
  }

  .section {
    padding: var(--sp-3xl) 0;
  }

  /* Header */
  .hamburger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #0a0a0a;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--sp-sm);
    transition: right var(--transition);
    z-index: 1001;
    padding: var(--sp-xl);
    opacity: 1;
  }

  .main-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
    text-align: center;
    padding: 16px 20px;
    font-size: var(--fs-lg);
    color: var(--white);
    border-radius: var(--radius-md);
  }

  .nav-list a:hover,
  .nav-list a.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--amber);
  }

  .nav-cta {
    background: var(--amber) !important;
    color: var(--navy) !important;
    font-size: var(--fs-md) !important;
    padding: 16px 32px !important;
    border-radius: var(--radius-md) !important;
    margin-top: var(--sp-md);
    width: 100%;
    text-align: center;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + var(--sp-2xl)) 0 var(--sp-3xl);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
  }

  .hero-content { text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }

  /* Grids */
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .steps-grid::before { display: none; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .eeat-grid { grid-template-columns: repeat(2, 1fr); }
  .needs-grid { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-index-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-band-inner { justify-content: center; }
}

/* ============================================================
   RESPONSIVE — Mobile (480px)
   ============================================================ */
@media (max-width: 480px) {
  :root {
    --fs-4xl: 1.875rem;
    --fs-5xl: 2.25rem;
    --fs-3xl: 1.625rem;
    --fs-2xl: 1.25rem;
    --fs-xl: 1.125rem;
  }

  .container, .container-narrow {
    padding: 0 16px;
  }

  .section {
    padding: var(--sp-2xl) 0;
  }

  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }

  .hero h1 { font-size: var(--fs-3xl); }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: var(--sp-sm);
  }

  /* Pricing single column */
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-4px); }

  /* 2-per-row for small items */
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .eeat-grid { grid-template-columns: repeat(2, 1fr); }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }
  .blog-index-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }

  /* Trust band */
  .trust-band-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-md);
  }

  /* Buttons */
  .btn { padding: 12px 24px; font-size: var(--fs-sm); }
  .btn-lg { padding: 14px 28px; font-size: var(--fs-base); }

  /* Comparison table horizontal scroll */
  .comparison-table-wrapper {
    margin: 0 -16px;
    border-radius: 0;
  }
}

/* ============================================================
   RESPONSIVE — Small Mobile (375px)
   ============================================================ */
@media (max-width: 375px) {
  .container, .container-narrow {
    padding: 0 16px;
  }

  .hero-trust-item {
    font-size: var(--fs-xs);
  }

  .channel-chip {
    padding: 8px 14px;
    font-size: var(--fs-xs);
  }

  .trust-band-value {
    font-size: var(--fs-lg);
  }

  .trust-band-label {
    font-size: var(--fs-xs);
  }
}

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--sp-sm); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }
.mb-xl { margin-bottom: var(--sp-xl); }
.mb-2xl { margin-bottom: var(--sp-2xl); }
.mt-xl { margin-top: var(--sp-xl); }
.mt-2xl { margin-top: var(--sp-2xl); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Page spacer to account for fixed header */
.page-spacer {
  height: var(--header-height);
}

/* --- NEW BLOG CARD FIX --- */

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.blog-card-body {
  padding: var(--sp-2xl);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-date {
  font-size: var(--fs-sm);
  color: var(--text-light);
  margin-bottom: var(--sp-sm);
}

.blog-card-body h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-md);
  color: var(--navy);
  line-height: var(--lh-tight);
}

.blog-card-excerpt {
  color: var(--text);
  margin-bottom: var(--sp-lg);
  flex-grow: 1;
}
