/* ==========================================================================
   Nederland IPTV — shared stylesheet
   Dark & Premium. Mobile-first. No JavaScript.
   Swap the values in :root below to re-skin the whole site.
   ========================================================================== */

:root {
  /* ---- Colors ---- */
  --color-bg:          #040714;   /* deep navy page background */
  --color-surface:     #0a0f20;   /* section surface */
  --color-surface-2:   #111830;   /* raised surface / cards */
  --color-elevated:    #18213c;   /* elevated cards / hover */
  --color-line:        rgba(255,255,255,0.10);
  --color-line-strong: rgba(255,255,255,0.22);

  --color-text:        #f4f7fc;   /* primary text */
  --color-text-muted:  #97a4bd;   /* secondary text */
  --color-text-dim:    #64708a;   /* tertiary / captions */

  --color-primary:     #1f7bff;   /* brand blue — interaction */
  --color-primary-600: #0f63e6;
  --color-primary-glow: rgba(31,123,255,0.45);
  --color-accent:      #38e6c5;   /* electric mint — highlights */

  --color-success:     #34d399;
  --color-warning:     #fbbf24;

  /* ---- Typography ---- */
  --font-display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --text-hero:    clamp(2.6rem, 7vw, 5.25rem);
  --text-display: clamp(2.1rem, 5vw, 3.5rem);
  --text-h2:      clamp(1.7rem, 3.6vw, 2.6rem);
  --text-h3:      clamp(1.25rem, 2.2vw, 1.6rem);
  --text-body:    1.0625rem;
  --text-small:   0.9375rem;
  --text-caption: 0.75rem;

  --leading-tight:   1.08;
  --leading-snug:    1.3;
  --leading-relaxed: 1.7;

  /* ---- Spacing ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --container:      1200px;
  --container-wide: 1360px;
  --page-pad:       1.25rem;

  /* ---- Radius ---- */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 999px;

  /* ---- Shadows ---- */
  --shadow-card:     0 8px 30px rgba(0,0,0,0.35);
  --shadow-elevated: 0 20px 60px rgba(0,0,0,0.55);
  --shadow-glow:     0 12px 50px -12px var(--color-primary-glow);
}

/* ==========================================================================
   Base / reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* radial navy + brand glow anchored top of page */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 90vh;
  background:
    radial-gradient(120% 80% at 78% -10%, rgba(31,123,255,0.20), transparent 55%),
    radial-gradient(90% 60% at 8% 0%, rgba(56,230,197,0.08), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: var(--color-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--color-accent); }

ul { list-style: none; padding: 0; }

button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--color-primary); color: #fff; }

/* ==========================================================================
   Layout primitives
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--page-pad);
  position: relative;
  z-index: 1;
}
.container--wide { max-width: var(--container-wide); }

.section { padding-block: var(--space-8); position: relative; z-index: 1; }
.section--tight { padding-block: var(--space-7); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-pill);
}

.section-head { max-width: 640px; margin-bottom: var(--space-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--text-h2); margin-bottom: var(--space-4); }
.section-head p { color: var(--color-text-muted); font-size: 1.125rem; }

.lede { color: var(--color-text-muted); font-size: 1.15rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-small);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), background .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { background: var(--color-primary-600); color: #fff; }

.btn--ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--color-line-strong);
  color: var(--color-text);
}
.btn--ghost:hover { background: rgba(255,255,255,0.09); color: var(--color-text); border-color: #fff; }

.btn--lg { padding: 1.05rem 2rem; font-size: var(--text-body); }
.btn--block { width: 100%; }

.btn svg { width: 18px; height: 18px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4,7,20,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-line);
}
.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
  min-height: 64px;
  padding-block: var(--space-3);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--color-text);
}
.brand-logo { display: block; border-radius: var(--radius-md); }
.brand:hover { color: var(--color-text); }
.brand b { color: var(--color-primary); }
.brand .plus { color: var(--color-accent); }

.nav {
  order: 3;
  width: 100%;
  margin-left: calc(-1 * var(--page-pad));
  margin-right: calc(-1 * var(--page-pad));
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--color-line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--page-pad), #000 calc(100% - var(--page-pad)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--page-pad), #000 calc(100% - var(--page-pad)), transparent);
}
.nav::-webkit-scrollbar { display: none; }
.nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-3) var(--page-pad) 0;
  width: max-content;
}
.nav a {
  color: var(--color-text-muted);
  font-size: var(--text-small);
  font-weight: 600;
  white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--color-text); }

.header-cta { margin-left: auto; padding-inline: 1.1rem; }

@media (min-width: 900px) {
  .site-header .container { flex-wrap: nowrap; min-height: 72px; }
  .nav {
    order: 0;
    width: auto;
    margin: 0 0 0 auto;
    overflow: visible;
    border-top: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .nav ul { gap: var(--space-6); padding: 0; width: auto; }
  .brand { font-size: 1.35rem; }
  .header-cta { margin-left: var(--space-2); padding-inline: 1.5rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding-block: var(--space-9) var(--space-8); }
.hero-grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: var(--space-5); }
.hero-title {
  font-size: var(--text-hero);
  margin-bottom: var(--space-5);
}
.hero-title .grad {
  background: linear-gradient(100deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 46ch;
  margin-bottom: var(--space-6);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-6); }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  color: var(--color-text-dim);
  font-size: var(--text-small);
}
.hero-trust span { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero-trust svg { width: 18px; height: 18px; color: var(--color-accent); }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-elevated);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, transparent 55%, rgba(4,7,20,0.5));
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 0.9rem;
  background: rgba(4,7,20,0.7);
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); box-shadow: 0 0 10px var(--color-success); }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

/* ==========================================================================
   Scroll rail / "slider" (CSS scroll-snap, no JS)
   ========================================================================== */
.rail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.rail-head h2 { font-size: var(--text-h3); }
.rail-hint { color: var(--color-text-dim); font-size: var(--text-small); display: inline-flex; align-items: center; gap: var(--space-2); }
.rail-hint svg { width: 16px; height: 16px; }

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 62%;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-3);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.rail::-webkit-scrollbar { display: none; }

.poster {
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-line);
  aspect-ratio: 2/3;
  background: var(--color-surface-2);
  transition: transform .22s cubic-bezier(.2,.8,.2,1), border-color .22s, box-shadow .22s;
}
.poster:hover { transform: scale(1.03); border-color: var(--color-line-strong); box-shadow: var(--shadow-elevated); z-index: 2; }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(4,7,20,0.9));
}
.poster figcaption {
  position: absolute;
  left: var(--space-4); right: var(--space-4); bottom: var(--space-4);
  z-index: 2;
}
.poster figcaption b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.poster figcaption span { color: var(--color-text-muted); font-size: var(--text-caption); }
.poster--art::after { display: none; }
.poster--art img { object-position: center; }

/* channel logo variant (wide) */
.rail--channels { grid-auto-columns: 44%; }
.channel {
  scroll-snap-align: start;
  aspect-ratio: 16/10;
  display: grid;
  place-items: center;
  gap: var(--space-2);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-line);
  background: linear-gradient(160deg, var(--color-surface-2), var(--color-surface));
  text-align: center;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), border-color .22s, box-shadow .22s;
}
.channel:hover { transform: scale(1.03); border-color: var(--color-primary); box-shadow: var(--shadow-glow); }
.channel b { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.channel span { font-size: var(--text-caption); color: var(--color-text-dim); text-transform: uppercase; letter-spacing: 0.12em; }
.channel--art { padding: 0; overflow: hidden; border: none; background: none; aspect-ratio: 3/2; }
.channel--art img { width: 100%; height: 100%; object-fit: fill; display: block; }

@media (min-width: 640px) { .rail { grid-auto-columns: 30%; } .rail--channels { grid-auto-columns: 26%; } }
@media (min-width: 1000px) { .rail { grid-auto-columns: 18%; } .rail--channels { grid-auto-columns: 18%; } }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3,1fr); } .grid--4 { grid-template-columns: repeat(4,1fr); } }

.card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), border-color .2s, box-shadow .2s;
}
.card:hover { border-color: var(--color-line-strong); box-shadow: var(--shadow-card); transform: translateY(-4px); }

.icon-badge {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: rgba(31,123,255,0.12);
  border: 1px solid rgba(31,123,255,0.3);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.icon-badge svg { width: 26px; height: 26px; }

.card h3 { font-size: var(--text-h3); margin-bottom: var(--space-3); }
.card p { color: var(--color-text-muted); }

/* ==========================================================================
   Pricing tiers
   ========================================================================== */
.pricing-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3,1fr); } }

.plan {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--color-surface-2);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.plan--featured {
  border-color: var(--color-primary);
  background: linear-gradient(180deg, rgba(31,123,255,0.10), var(--color-surface-2) 40%);
  box-shadow: var(--shadow-glow);
}
.plan-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 0.3rem 0.9rem;
  background: var(--color-primary); color: #fff;
  border-radius: var(--radius-pill);
  font-size: var(--text-caption); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.plan-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--color-text-muted); }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-block: var(--space-3); }
.plan-price .amount { font-family: var(--font-display); font-weight: 800; font-size: 3rem; letter-spacing: -0.03em; }
.plan-price .per { color: var(--color-text-dim); font-size: var(--text-small); }
.plan-note { color: var(--color-text-dim); font-size: var(--text-small); margin-bottom: var(--space-5); }
.plan-channels {
  display: grid; gap: var(--space-2);
  padding: var(--space-4);
  margin-bottom: var(--space-5);
  background: rgba(4,7,20,0.5);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
}
.plan-channels-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); font-size: var(--text-small); }
.plan-channels-row span { color: var(--color-text-dim); }
.plan-channels-row b { color: var(--color-text); font-weight: 700; }
.plan-features { display: grid; gap: var(--space-3); margin-bottom: var(--space-6); }
.plan-features li { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--color-text-muted); font-size: var(--text-small); }
.plan-features svg { width: 18px; height: 18px; color: var(--color-success); flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; }

/* ==========================================================================
   Lifetime feature band
   ========================================================================== */
.lifetime {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-primary);
  background: linear-gradient(180deg, rgba(31,123,255,0.08), var(--color-surface-2) 45%);
  padding: var(--space-8) var(--space-6);
}
.lifetime-grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 900px) { .lifetime-grid { grid-template-columns: 1.15fr 0.85fr; } .lifetime { padding: var(--space-9) var(--space-8); } }
.lifetime-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 0.35rem 0.85rem; margin-bottom: var(--space-4);
  border: 1px solid var(--color-line-strong); border-radius: var(--radius-pill);
  color: var(--color-primary); font-size: var(--text-caption); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.lifetime h2 { font-size: var(--text-display); margin-bottom: var(--space-4); }
.lifetime p { color: var(--color-text-muted); font-size: 1.1rem; margin-bottom: var(--space-6); max-width: 52ch; }
.lifetime-features { display: grid; gap: var(--space-3); margin-bottom: var(--space-7); }
@media (min-width: 560px) { .lifetime-features { grid-template-columns: 1fr 1fr; } }
.lifetime-features li { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--color-text-muted); font-size: var(--text-small); }
.lifetime-features svg { width: 18px; height: 18px; color: var(--color-success); flex: none; margin-top: 3px; }
.tag {
  padding: 0.4rem 0.9rem; border-radius: var(--radius-pill);
  border: 1px solid var(--color-line-strong); background: rgba(255,255,255,0.04);
  font-size: var(--text-caption); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.lifetime-price {
  background: rgba(4,7,20,0.55);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}
.lifetime-price .old { color: var(--color-text-dim); text-decoration: line-through; }
.lifetime-price .amount { font-family: var(--font-display); font-weight: 800; font-size: 3.6rem; letter-spacing: -0.03em; display: block; margin-block: var(--space-2); }
.lifetime-price .once { color: var(--color-accent); font-weight: 700; font-size: var(--text-small); text-transform: uppercase; letter-spacing: 0.12em; }
.lifetime-compare { color: var(--color-text-muted); font-size: var(--text-small); margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--color-line); }
.lifetime-price .plan-channels { text-align: left; margin-top: var(--space-6); margin-bottom: 0; }

/* ==========================================================================
   Process timeline (how to subscribe)
   ========================================================================== */
.steps { display: grid; gap: var(--space-5); counter-reset: step; grid-template-columns: 1fr; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4,1fr); } }
.step {
  position: relative;
  padding: var(--space-6);
  background: var(--color-surface-2);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
}
.step-num {
  counter-increment: step;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--radius-pill);
  background: var(--color-primary); color: #fff;
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-glow);
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.2rem; margin-bottom: var(--space-2); }
.step p { color: var(--color-text-muted); font-size: var(--text-small); }
/* connector line on wide screens */
@media (min-width: 1000px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute; top: calc(var(--space-6) + 22px); right: calc(var(--space-5) * -0.5 - 1px);
    width: var(--space-5); height: 2px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
  }
}

/* ==========================================================================
   Feature split (sports sections)
   ========================================================================== */
.split { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse .split-media { order: 2; } }
.split-media { position: relative; }
.split-media img {
  width: 100%; border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  aspect-ratio: 4/3; object-fit: cover;
  box-shadow: var(--shadow-card);
}
.split-media .kicker {
  position: absolute; top: var(--space-4); left: var(--space-4);
  padding: 0.4rem 0.9rem; border-radius: var(--radius-pill);
  background: rgba(4,7,20,0.7); border: 1px solid var(--color-line-strong);
  backdrop-filter: blur(8px);
  font-size: var(--text-caption); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent);
}
.split-copy h2 { font-size: var(--text-h2); margin-bottom: var(--space-4); }
.split-copy p { color: var(--color-text-muted); font-size: 1.1rem; margin-bottom: var(--space-4); }
.split-copy ul { display: grid; gap: var(--space-2); }
.split-copy ul li { display: flex; gap: var(--space-3); align-items: center; color: var(--color-text-muted); }
.split-copy ul svg { width: 18px; height: 18px; color: var(--color-primary); flex: none; }

/* ==========================================================================
   Supported devices
   ========================================================================== */
.devices { display: grid; gap: var(--space-4); grid-template-columns: repeat(2,1fr); }
@media (min-width: 700px) { .devices { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1000px) { .devices { grid-template-columns: repeat(6,1fr); } }
.device {
  display: grid; place-items: center; gap: var(--space-3);
  padding: var(--space-6) var(--space-4);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  text-align: center;
  transition: border-color .2s, transform .2s, color .2s;
}
.device:hover { border-color: var(--color-primary); transform: translateY(-3px); }
.device svg { width: 34px; height: 34px; color: var(--color-text); }
.device:hover svg { color: var(--color-primary); }
.device span { font-size: var(--text-small); font-weight: 600; color: var(--color-text-muted); }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { display: grid; gap: var(--space-5); grid-template-columns: repeat(2,1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4,1fr); } }
.stat {
  padding: var(--space-6);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface-2);
  text-align: center;
}
.stat .num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem,4vw,3rem);
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .label { color: var(--color-text-muted); font-size: var(--text-small); margin-top: var(--space-2); }

/* ==========================================================================
   Comparison table
   ========================================================================== */
.compare-wrap { overflow-x: auto; border: 1px solid var(--color-line); border-radius: var(--radius-lg); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: var(--space-4) var(--space-5); text-align: left; border-bottom: 1px solid var(--color-line); }
.compare thead th { font-family: var(--font-display); font-size: var(--text-small); color: var(--color-text-muted); background: var(--color-surface); }
.compare thead th:nth-child(2) { color: var(--color-primary); }
.compare tbody th { font-weight: 600; color: var(--color-text); }
.compare td { text-align: center; color: var(--color-text-muted); }
.compare td:first-child { text-align: left; }
.compare .col-us { background: rgba(31,123,255,0.06); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: none; }
.compare svg { width: 20px; height: 20px; }
.yes { color: var(--color-success); }
.no  { color: var(--color-text-dim); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quote {
  padding: var(--space-6);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface-2);
}
.quote .stars { color: var(--color-warning); letter-spacing: 2px; margin-bottom: var(--space-3); font-size: 1.05rem; }
.quote p { color: var(--color-text); font-size: 1.05rem; margin-bottom: var(--space-4); }
.quote footer { display: flex; align-items: center; gap: var(--space-3); }
.quote .avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid var(--color-line); }
.quote cite { font-style: normal; font-weight: 700; font-family: var(--font-display); }
.quote cite span { display: block; color: var(--color-text-dim); font-size: var(--text-caption); font-weight: 500; }

/* ==========================================================================
   FAQ accordion (details/summary — no JS)
   ========================================================================== */
.faq { display: grid; gap: var(--space-3); max-width: 800px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  overflow: hidden;
}
.faq details[open] { border-color: var(--color-line-strong); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-5);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus-ico {
  flex: none; width: 24px; height: 24px; position: relative; transition: transform .25s ease;
}
.faq summary .plus-ico::before, .faq summary .plus-ico::after {
  content: ""; position: absolute; background: var(--color-primary); border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.faq summary .plus-ico::before { width: 14px; height: 2px; }
.faq summary .plus-ico::after { width: 2px; height: 14px; }
.faq details[open] summary .plus-ico { transform: rotate(135deg); }
.faq details > p { padding: 0 var(--space-5) var(--space-5); color: var(--color-text-muted); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-line-strong);
  background:
    radial-gradient(100% 160% at 50% 0%, rgba(31,123,255,0.28), transparent 60%),
    var(--color-surface);
  padding: var(--space-8) var(--space-5);
  text-align: center;
}
.cta-band h2 { font-size: var(--text-display); margin-bottom: var(--space-4); }
.cta-band p { color: var(--color-text-muted); font-size: 1.15rem; max-width: 48ch; margin: 0 auto var(--space-6); }
.cta-band .hero-actions { justify-content: center; }

/* ==========================================================================
   Page header (interior pages)
   ========================================================================== */
.page-hero { padding-block: var(--space-9) var(--space-7); text-align: center; }
.page-hero h1 { font-size: var(--text-display); margin-bottom: var(--space-4); }
.page-hero p { color: var(--color-text-muted); font-size: 1.2rem; max-width: 60ch; margin-inline: auto; }
.breadcrumb { color: var(--color-text-dim); font-size: var(--text-small); margin-bottom: var(--space-4); }
.breadcrumb a { color: var(--color-text-muted); }

/* ==========================================================================
   Blog
   ========================================================================== */
.post-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-2);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), border-color .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--color-line-strong); box-shadow: var(--shadow-card); }
.post-card .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.post-meta { display: flex; gap: var(--space-3); font-size: var(--text-caption); color: var(--color-text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.post-card h3 { font-size: 1.3rem; }
.post-card p { color: var(--color-text-muted); font-size: var(--text-small); }
.post-card .read { margin-top: auto; font-weight: 700; font-family: var(--font-display); font-size: var(--text-small); display: inline-flex; align-items: center; gap: var(--space-2); }
.post-card .read svg { width: 16px; height: 16px; }

/* ==========================================================================
   Portfolio
   ========================================================================== */
.showcase { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .showcase { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .showcase { grid-template-columns: repeat(3,1fr); } }
.tile {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  aspect-ratio: 4/3;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s, border-color .22s;
}
.tile.tall { aspect-ratio: 3/4; }
@media (min-width: 640px) { .tile.wide { grid-column: span 2; aspect-ratio: 16/9; } }
.tile:hover { transform: scale(1.02); box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-glow); border-color: var(--color-primary); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(4,7,20,0.92)); }
.tile-cap { position: absolute; left: var(--space-5); right: var(--space-5); bottom: var(--space-5); z-index: 2; }
.tile-cap .count { font-size: var(--text-caption); color: var(--color-accent); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.tile-cap h3 { font-size: 1.35rem; margin-top: var(--space-1); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-methods { display: grid; gap: var(--space-4); }
.contact-method {
  display: flex; gap: var(--space-4); align-items: center;
  padding: var(--space-5);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface-2);
  transition: border-color .2s, transform .2s;
}
.contact-method:hover { border-color: var(--color-primary); transform: translateY(-2px); }
.contact-method .icon-badge { margin-bottom: 0; }
.contact-method b { font-family: var(--font-display); display: block; }
.contact-method span { color: var(--color-text-muted); font-size: var(--text-small); }

.form { display: grid; gap: var(--space-4); padding: var(--space-6); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface-2); }
.field { display: grid; gap: var(--space-2); }
.field label { font-size: var(--text-small); font-weight: 600; color: var(--color-text-muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.85rem 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-md);
  color: var(--color-text);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(31,123,255,0.25);
}
.field textarea { resize: vertical; min-height: 120px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--color-line);
  background: var(--color-surface);
  margin-top: var(--space-9);
  padding-block: var(--space-8) var(--space-6);
  position: relative; z-index: 1;
}
.footer-grid {
  display: grid; gap: var(--space-7);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-7);
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr 1fr; } }
.footer-brand .brand { font-size: 1.5rem; margin-bottom: var(--space-4); }
.footer-brand p { color: var(--color-text-muted); font-size: var(--text-small); max-width: 34ch; margin-bottom: var(--space-5); }
.socials { display: flex; gap: var(--space-3); }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-line);
  color: var(--color-text-muted);
  transition: border-color .2s, color .2s, transform .2s;
}
.socials a:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-col h4 { font-family: var(--font-display); font-size: var(--text-small); text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-text-dim); margin-bottom: var(--space-4); }
.footer-col ul { display: grid; gap: var(--space-3); }
.footer-col a { color: var(--color-text-muted); font-size: var(--text-small); }
.footer-col a:hover { color: var(--color-text); }
.footer-bottom {
  border-top: 1px solid var(--color-line);
  padding-top: var(--space-5);
  display: flex; flex-wrap: wrap; gap: var(--space-3);
  justify-content: space-between; align-items: center;
  color: var(--color-text-dim); font-size: var(--text-caption);
}

/* ==========================================================================
   Accessibility / motion
   ========================================================================== */
:where(a, button, summary, input, textarea, select):focus-visible {
  outline: 2px solid #fff; outline-offset: 2px; border-radius: var(--radius-sm);
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Phone optimisations (<= 640px)
   ========================================================================== */
@media (max-width: 640px) {
  :root { --page-pad: 1.15rem; }

  /* tighter vertical rhythm so phones don't feel empty/scroll-heavy */
  .section { padding-block: var(--space-7); }
  .section--tight { padding-block: var(--space-6); }
  .section-head { margin-bottom: var(--space-6); }
  .section-head p, .lede { font-size: 1.05rem; }

  /* hero */
  .hero { padding-block: var(--space-7) var(--space-6); }
  .hero-grid { gap: var(--space-6); }
  .hero-sub { font-size: 1.075rem; margin-bottom: var(--space-5); }
  .hero-media { order: -1; }              /* show the visual first on phones */
  .hero-media img { aspect-ratio: 16/11; }
  .hero-actions { gap: var(--space-2); }
  .hero-actions .btn { flex: 1 1 100%; }  /* full-width, thumb-friendly CTAs */
  .hero-trust { gap: var(--space-3) var(--space-4); font-size: var(--text-caption); }

  /* page hero */
  .page-hero { padding-block: var(--space-7) var(--space-6); }
  .page-hero p { font-size: 1.075rem; }

  /* cards / bands sit a little snugger */
  .card { padding: var(--space-5); }
  .lifetime { padding: var(--space-7) var(--space-5); }
  .cta-band { padding: var(--space-7) var(--space-5); }
  .cta-band .btn, .lifetime .btn { width: 100%; }
  .lifetime-price .amount { font-size: 3rem; }

  /* rails reveal a peek of the next card so swipe is discoverable */
  .rail { grid-auto-columns: 74%; }
  .rail--channels { grid-auto-columns: 56%; }

  /* steps connector line is horizontal-only; keep vertical flow clean */
  .steps { gap: var(--space-4); }

  /* footer: readable single column, centred contact block */
  .site-footer { margin-top: var(--space-7); padding-block: var(--space-7) var(--space-6); }
  .footer-grid { gap: var(--space-6); }
  .footer-brand p { max-width: none; }
  .footer-bottom { justify-content: center; text-align: center; gap: var(--space-2); }
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-content { max-width: 74ch; }
.legal-content h2 { font-family: var(--font-display); font-size: 1.5rem; margin-top: var(--space-8); margin-bottom: var(--space-4); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--color-text-muted); line-height: var(--leading-relaxed, 1.7); margin-bottom: var(--space-4); }
.legal-content ul { display: grid; gap: var(--space-2); margin: 0 0 var(--space-4); padding-left: 1.3em; color: var(--color-text-muted); }
.legal-content li { line-height: var(--leading-relaxed, 1.7); }
.legal-content a:not(.btn) { color: var(--color-primary); }
.legal-content strong { color: var(--color-text); }
.legal-updated { color: var(--color-text-dim); font-size: var(--text-small); margin-bottom: var(--space-6); }
