/* =========================================================
   IPTVCanadaHD4K — Home redesign
   All selectors are prefixed with .hd4k / hd4k- so this file
   can live inside Elementor / Hello Elementor without clashes.
   ========================================================= */

:root {
  --hd-bg: #060912;
  --hd-bg-2: #0a1020;
  --hd-surface: rgba(255, 255, 255, 0.04);
  --hd-surface-2: rgba(255, 255, 255, 0.07);
  --hd-border: rgba(255, 255, 255, 0.09);
  --hd-text: #e8ecf5;
  --hd-muted: #97a1b8;
  --hd-red: #ff2d4f;
  --hd-orange: #ff7a3d;
  --hd-cyan: #29d8ff;
  --hd-violet: #8b5cf6;
  --hd-green: #2ee59d;
  --hd-grad: linear-gradient(135deg, #ff2d4f 0%, #ff7a3d 100%);
  --hd-grad-cool: linear-gradient(135deg, #29d8ff 0%, #8b5cf6 100%);
  --hd-radius: 20px;
  --hd-radius-sm: 12px;
  --hd-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --hd-font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --hd-font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --hd-max: 1220px;
}

.hd4k, .hd4k *, .hd4k *::before, .hd4k *::after { box-sizing: border-box; }

.hd4k {
  margin: 0;
  background: var(--hd-bg);
  color: var(--hd-text);
  font-family: var(--hd-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
.hd4k img { max-width: 100%; display: block; height: auto; }
/* Mobile: decorative glows/marquee must not widen the layout viewport (phones zoomed out to ~600px).
   overflow-x: clip does not create a scroll container, so the sticky header keeps working. */
html { overflow-x: clip; }
.hd4k-section, .hd4k-cta, .hd4k-marquee { overflow-x: clip; }
.hd4k :where(a) { color: inherit; text-decoration: none; }
.hd4k h1, .hd4k h2, .hd4k h3, .hd4k h4 {
  font-family: var(--hd-font-head);
  color: #fff;
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -0.02em;
}
.hd4k p { margin: 0 0 1em; }
.hd4k ul { margin: 0; padding: 0; list-style: none; }

.hd4k-hero__grid > *, .hd4k-split > *, .hd4k-faq > *, .hd4k-duo > *, .hd4k-grid-3 > *, .hd4k-grid-4 > *, .hd4k-plans > * { min-width: 0; }
.hd4k-container { width: 100%; max-width: var(--hd-max); margin: 0 auto; padding: 0 22px; }
.hd4k-section { position: relative; padding: 110px 0; }
.hd4k-section--alt { background: var(--hd-bg-2); }
.hd4k-center { text-align: center; }

.hd4k-skip { position: absolute; left: -9999px; top: 0; }
.hd4k-skip:focus { left: 12px; top: 12px; z-index: 9999; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }

/* ---------- Shared bits ---------- */
.hd4k-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 45, 79, 0.1);
  border: 1px solid rgba(255, 45, 79, 0.35);
  color: #ffb3c0; font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hd4k-eyebrow .hd4k-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--hd-red);
  box-shadow: 0 0 0 0 rgba(255, 45, 79, .7); animation: hd4k-pulse 1.8s infinite;
}
@keyframes hd4k-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,45,79,.7); }
  70% { box-shadow: 0 0 0 10px rgba(255,45,79,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,45,79,0); }
}
.hd4k-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.hd4k-head h2 { font-size: clamp(30px, 4vw, 46px); }
.hd4k-head p { color: var(--hd-muted); font-size: 18px; }
.hd4k-grad-text {
  background: var(--hd-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hd4k-grad-text--cool {
  background: var(--hd-grad-cool);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hd4k-link { color: var(--hd-cyan); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .2s; }
.hd4k-link:hover { border-color: var(--hd-cyan); }

/* Buttons */
.hd4k-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-family: var(--hd-font-head); font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s;
  white-space: nowrap;
}
.hd4k-btn svg { width: 18px; height: 18px; }
.hd4k-btn--primary {
  background: var(--hd-grad); color: #fff;
  box-shadow: 0 10px 30px -8px rgba(255, 45, 79, .6);
}
.hd4k-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(255, 45, 79, .8); }
.hd4k-btn--ghost {
  background: rgba(255,255,255,.04); color: #fff; border-color: var(--hd-border);
  backdrop-filter: blur(10px);
}
.hd4k-btn--ghost:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); transform: translateY(-2px); }
.hd4k-btn--block { width: 100%; }
.hd4k-btn--sm { padding: 11px 20px; font-size: 14px; }

/* Glass card */
.hd4k-card {
  position: relative;
  background: var(--hd-surface);
  border: 1px solid var(--hd-border);
  border-radius: var(--hd-radius);
  padding: 30px;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.hd4k-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.18); background: var(--hd-surface-2); }

.hd4k-icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(255,45,79,.18), rgba(255,122,61,.12));
  border: 1px solid rgba(255,45,79,.3); color: #ff6b81;
}
.hd4k-icon svg { width: 26px; height: 26px; }
.hd4k-icon--cool { background: linear-gradient(135deg, rgba(41,216,255,.16), rgba(139,92,246,.14)); border-color: rgba(41,216,255,.3); color: var(--hd-cyan); }

.hd4k-check { display: flex; gap: 12px; align-items: flex-start; }
.hd4k-check svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--hd-green); margin-top: 3px; }

/* Ambient glows */
.hd4k-glow { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; z-index: 0; opacity: .5; }
.hd4k-glow--red { background: #ff2d4f; }
.hd4k-glow--cyan { background: #1fb6ff; }
.hd4k-glow--violet { background: #7c3aed; }
.hd4k-section > .hd4k-container { position: relative; z-index: 1; }

/* =========================================================
   HEADER
   ========================================================= */
.hd4k-topbar {
  background: var(--hd-grad);
  color: #fff; font-size: 14px; font-weight: 500; text-align: center;
  padding: 9px 16px;
}
.hd4k-topbar a { text-decoration: underline; font-weight: 700; }

.hd4k-header {
  position: sticky; top: 0; z-index: 1000;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.hd4k-header.is-scrolled {
  background: rgba(6, 9, 18, .82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--hd-border);
  box-shadow: 0 10px 40px -20px rgba(0,0,0,.8);
}
.hd4k-header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }

.hd4k-logo { display: flex; align-items: center; gap: 11px; font-family: var(--hd-font-head); font-weight: 800; font-size: 21px; color: #fff; letter-spacing: -0.02em; }
.hd4k-logo__mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--hd-grad); box-shadow: 0 8px 24px -6px rgba(255,45,79,.7);
}
.hd4k-logo__mark svg { width: 22px; height: 22px; color: #fff; }
.hd4k-logo__hd { font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 6px; background: rgba(41,216,255,.14); color: var(--hd-cyan); border: 1px solid rgba(41,216,255,.35); margin-left: 2px; }

.hd4k-nav { display: flex; align-items: center; gap: 4px; }
.hd4k-nav__item { position: relative; }
.hd4k-nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: 10px; color: #cfd6e6; font-weight: 500; font-size: 15px; white-space: nowrap;
  transition: color .2s, background .2s; background: none; border: 0; cursor: pointer; font-family: inherit;
}
.hd4k-nav__link:hover, .hd4k-nav__link.is-active { color: #fff; background: rgba(255,255,255,.06); }
.hd4k-nav__link svg { width: 14px; height: 14px; transition: transform .2s; }
.hd4k-nav__item:hover .hd4k-nav__link svg { transform: rotate(180deg); }

.hd4k-dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  min-width: 300px; padding: 10px;
  background: rgba(12, 17, 32, .97); border: 1px solid var(--hd-border); border-radius: 16px;
  box-shadow: var(--hd-shadow); backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
.hd4k-dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.hd4k-nav__item:hover .hd4k-dropdown, .hd4k-nav__item:focus-within .hd4k-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.hd4k-dropdown a { padding: 10px 12px; border-radius: 10px; font-size: 14px; color: #cfd6e6; transition: background .2s, color .2s; }
.hd4k-dropdown a:hover { background: rgba(255,255,255,.06); color: #fff; }
.hd4k-dropdown a.hd4k-dropdown__all { grid-column: 1 / -1; color: var(--hd-cyan); font-weight: 600; border-top: 1px solid var(--hd-border); margin-top: 6px; padding-top: 14px; border-radius: 0 0 10px 10px; }

.hd4k-header__cta { display: flex; align-items: center; gap: 10px; }

.hd4k-burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--hd-border); background: rgba(255,255,255,.04); color: #fff; cursor: pointer; place-items: center; }
.hd4k-burger svg { width: 22px; height: 22px; }

/* Mobile drawer */
.hd4k-drawer {
  position: fixed; inset: 0; z-index: 1100; visibility: hidden;
}
.hd4k-drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .3s; }
.hd4k-drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(360px, 88vw);
  background: #0a0f1d; border-left: 1px solid var(--hd-border);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  padding: 22px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px;
}
.hd4k-drawer.is-open { visibility: visible; }
.hd4k-drawer.is-open .hd4k-drawer__backdrop { opacity: 1; }
.hd4k-drawer.is-open .hd4k-drawer__panel { transform: translateX(0); }
.hd4k-drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.hd4k-drawer a.hd4k-drawer__link, .hd4k-drawer summary {
  display: block; padding: 13px 14px; border-radius: 12px; color: #e3e8f3; font-weight: 500; cursor: pointer; list-style: none;
}
.hd4k-drawer summary::-webkit-details-marker { display: none; }
.hd4k-drawer a.hd4k-drawer__link:hover, .hd4k-drawer summary:hover { background: rgba(255,255,255,.05); }
.hd4k-drawer details[open] summary { color: #fff; background: rgba(255,255,255,.05); }
.hd4k-drawer details a { display: block; padding: 9px 14px 9px 28px; color: var(--hd-muted); font-size: 14px; }
.hd4k-drawer details a:hover { color: #fff; }
.hd4k-drawer .hd4k-btn { margin-top: 16px; }

/* =========================================================
   HERO
   ========================================================= */
.hd4k-hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hd4k-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hd4k-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }
.hd4k-hero h1 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 800; margin-bottom: 22px; }
.hd4k-hero__lead { font-size: 19px; color: #b6bfd3; max-width: 580px; margin-bottom: 30px; }
.hd4k-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hd4k-hero__bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; color: #cfd6e6; font-size: 15px; }

.hd4k-hero__visual { position: relative; }
.hd4k-hero__frame {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 100px -30px rgba(255,45,79,.45), 0 0 0 10px rgba(255,255,255,.025);
}
.hd4k-hero__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hd4k-hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(6,9,18,.85) 100%); }
.hd4k-hero__live {
  position: absolute; left: 22px; bottom: 22px; right: 22px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-radius: 16px;
  background: rgba(10, 15, 29, .7); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.14);
}
.hd4k-hero__live strong { display: block; color: #fff; font-family: var(--hd-font-head); font-size: 15px; }
.hd4k-hero__live span { color: var(--hd-muted); font-size: 13px; }
.hd4k-badge-live { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 8px; background: var(--hd-red); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .08em; }
.hd4k-badge-live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: hd4k-blink 1.2s infinite; }
@keyframes hd4k-blink { 50% { opacity: .2; } }

.hd4k-float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(12, 17, 32, .85); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14); box-shadow: var(--hd-shadow);
  animation: hd4k-floaty 6s ease-in-out infinite;
}
.hd4k-float strong { display: block; font-family: var(--hd-font-head); color: #fff; font-size: 15px; line-height: 1.2; }
.hd4k-float span { font-size: 12px; color: var(--hd-muted); }
.hd4k-float .hd4k-icon { margin: 0; width: 40px; height: 40px; border-radius: 12px; }
.hd4k-float .hd4k-icon svg { width: 20px; height: 20px; }
.hd4k-float--a { top: 8%; left: -40px; }
.hd4k-float--b { top: 42%; right: -30px; animation-delay: -3s; }
@keyframes hd4k-floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Stats */
.hd4k-stats {
  position: relative; z-index: 1; margin-top: 70px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--hd-border); border-radius: var(--hd-radius);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  backdrop-filter: blur(10px);
}
.hd4k-stat { padding: 28px 24px; text-align: center; border-right: 1px solid var(--hd-border); }
.hd4k-stat:last-child { border-right: 0; }
.hd4k-stat__num { font-family: var(--hd-font-head); font-weight: 800; font-size: clamp(30px, 3.4vw, 42px); line-height: 1; margin-bottom: 8px; }
.hd4k-stat__label { color: var(--hd-muted); font-size: 14px; }

/* Marquee */
.hd4k-marquee { position: relative; overflow: hidden; border-block: 1px solid var(--hd-border); background: #080d19; padding: 20px 0; }
.hd4k-marquee::before, .hd4k-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; }
.hd4k-marquee::before { left: 0; background: linear-gradient(90deg, #080d19, transparent); }
.hd4k-marquee::after { right: 0; background: linear-gradient(-90deg, #080d19, transparent); }
.hd4k-marquee__track { display: flex; gap: 48px; width: max-content; animation: hd4k-scroll 40s linear infinite; }
.hd4k-marquee:hover .hd4k-marquee__track { animation-play-state: paused; }
.hd4k-marquee__item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--hd-font-head); font-weight: 600; font-size: 17px; color: #8a94ab; white-space: nowrap; }
.hd4k-marquee__item svg { width: 20px; height: 20px; color: var(--hd-red); }
@keyframes hd4k-scroll { to { transform: translateX(-50%); } }

/* =========================================================
   FEATURES
   ========================================================= */
.hd4k-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hd4k-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.hd4k-feature h3 { font-size: 20px; margin-bottom: 10px; }
.hd4k-feature p { color: var(--hd-muted); margin-bottom: 0; }
.hd4k-feature .hd4k-link { display: inline-block; margin-top: 16px; font-size: 14px; }
.hd4k-feature::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,45,79,.6), transparent 40%, transparent 60%, rgba(41,216,255,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s;
}
.hd4k-feature:hover::before { opacity: 1; }

/* =========================================================
   EXPLAINER (cable vs IPTV)
   ========================================================= */
.hd4k-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hd4k-split h2 { font-size: clamp(30px, 3.8vw, 44px); }
.hd4k-split p { color: #b6bfd3; }
.hd4k-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.hd4k-mini { padding: 20px; border-radius: 16px; background: var(--hd-surface); border: 1px solid var(--hd-border); }
.hd4k-mini h4 { font-size: 16px; margin-bottom: 6px; }
.hd4k-mini p { font-size: 14px; color: var(--hd-muted); margin: 0; }

.hd4k-table-wrap { border-radius: var(--hd-radius); border: 1px solid var(--hd-border); overflow: hidden; background: var(--hd-surface); overflow-x: auto; }
.hd4k-table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 15px; }
.hd4k-table th, .hd4k-table td { border: 0; background-color: transparent; line-height: 1.55; padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--hd-border); vertical-align: top; }
.hd4k-table tr:last-child td { border-bottom: 0; }
.hd4k-table thead th { font-family: var(--hd-font-head); color: #fff; background: rgba(255,255,255,.04); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.hd4k-table td:first-child { color: #fff; font-weight: 600; }
.hd4k-table td { color: #b6bfd3; }
.hd4k-table .is-us { background: rgba(255,45,79,.06); color: #fff; }
.hd4k-table thead .is-us { background: rgba(255,45,79,.16); color: #ffb3c0; }
.hd4k-table-note { font-size: 13px; color: var(--hd-muted); margin-top: 14px; }

/* =========================================================
   PRICING
   ========================================================= */
.hd4k-tabs {
  display: inline-flex; padding: 6px; border-radius: 999px; gap: 4px;
  background: rgba(255,255,255,.05); border: 1px solid var(--hd-border); margin-bottom: 50px;
}
.hd4k-tab {
  padding: 13px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: transparent; color: #cfd6e6; font-family: var(--hd-font-head); font-weight: 600; font-size: 15px;
  transition: background .25s, color .25s, box-shadow .25s;
}
.hd4k-tab small { display: block; font-size: 11px; font-weight: 500; opacity: .75; letter-spacing: .04em; }
.hd4k-tab.is-active { background: var(--hd-grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(255,45,79,.8); }
.hd4k-tab[data-tab="premium"].is-active { background: var(--hd-grad-cool); box-shadow: 0 10px 30px -10px rgba(41,216,255,.7); }

.hd4k-plans { display: none; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.hd4k-plans.is-active { display: grid; animation: hd4k-fade .45s ease; }
@keyframes hd4k-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hd4k-plan {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 26px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border: 1px solid var(--hd-border);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.hd4k-plan:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.2); box-shadow: var(--hd-shadow); }
.hd4k-plan { text-align: left; }
.hd4k-plan__tier { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hd-muted); margin-bottom: 6px; }
.hd4k-plan h3 { font-size: 24px; margin-bottom: 18px; }
.hd4k-plan__price { display: flex; align-items: flex-start; gap: 4px; font-family: var(--hd-font-head); color: #fff; line-height: 1; }
.hd4k-plan__price sup { font-size: 22px; font-weight: 700; margin-top: 6px; }
.hd4k-plan__price b { font-size: 54px; font-weight: 800; letter-spacing: -0.03em; }
.hd4k-plan__price em { font-style: normal; font-size: 14px; color: var(--hd-muted); align-self: flex-end; margin-bottom: 8px; margin-left: 4px; }
.hd4k-plan__per { margin: 10px 0 22px; font-size: 14px; color: var(--hd-green); font-weight: 600; min-height: 22px; }
.hd4k-plan__per--muted { color: var(--hd-muted); font-weight: 500; }
.hd4k-plan__list { display: grid; gap: 11px; margin-bottom: 26px; font-size: 14.5px; color: #cfd6e6; flex: 1; }
.hd4k-plan__list .hd4k-check svg { width: 18px; height: 18px; flex-basis: 18px; margin-top: 2px; }
.hd4k-plan__foot { font-size: 12.5px; color: var(--hd-muted); text-align: center; margin-top: 12px; }

.hd4k-plan--popular {
  border-color: transparent;
  background:
    linear-gradient(180deg, #121a30, #0c1224) padding-box,
    var(--hd-grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 30px 80px -30px rgba(255,45,79,.6);
}
.hd4k-plans--premium .hd4k-plan--popular {
  background: linear-gradient(180deg, #121a30, #0c1224) padding-box, var(--hd-grad-cool) border-box;
  box-shadow: 0 30px 80px -30px rgba(41,216,255,.5);
}
.hd4k-plan__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
  background: var(--hd-grad); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.hd4k-plans--premium .hd4k-plan__badge { background: var(--hd-grad-cool); }
.hd4k-plans--premium .hd4k-btn--primary { background: var(--hd-grad-cool); box-shadow: 0 10px 30px -8px rgba(41,216,255,.55); }
.hd4k-plans--premium .hd4k-plan .hd4k-check svg { color: var(--hd-cyan); }

.hd4k-pricing-note {
  margin: 44px auto 0; max-width: 860px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px;
  color: var(--hd-muted); font-size: 14px;
}
.hd4k-pricing-note span { display: inline-flex; align-items: center; gap: 8px; }
.hd4k-pricing-note svg { width: 18px; height: 18px; color: var(--hd-green); }

/* =========================================================
   STEPS
   ========================================================= */
.hd4k-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.hd4k-steps::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,45,79,.6), rgba(41,216,255,.6), transparent);
}
.hd4k-step { position: relative; text-align: center; padding: 0 10px; }
.hd4k-step__num {
  position: relative; width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--hd-font-head); font-weight: 800; font-size: 24px; color: #fff;
  background: #0d1426; border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 0 0 8px var(--hd-bg-2), 0 0 40px -6px rgba(255,45,79,.6);
}
.hd4k-step__num::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; padding: 2px; background: var(--hd-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.hd4k-step h3 { font-size: 19px; }
.hd4k-step p { color: var(--hd-muted); font-size: 15px; }

/* =========================================================
   DEVICES
   ========================================================= */
.hd4k-device {
  display: flex; flex-direction: column; overflow: hidden; padding: 0;
}
.hd4k-device__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.hd4k-device__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hd4k-device:hover .hd4k-device__img img { transform: scale(1.07); }
.hd4k-device__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8,12,24,.9)); }
.hd4k-device__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.hd4k-device h3 { font-size: 18px; margin-bottom: 6px; }
.hd4k-device p { color: var(--hd-muted); font-size: 14px; flex: 1; }
.hd4k-device__go { display: inline-flex; align-items: center; gap: 6px; color: var(--hd-cyan); font-weight: 600; font-size: 14px; }
.hd4k-device__go svg { width: 16px; height: 16px; transition: transform .25s; }
.hd4k-device:hover .hd4k-device__go svg { transform: translateX(4px); }

/* =========================================================
   CHANNEL CATEGORIES (bento)
   ========================================================= */
.hd4k-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 18px; }
.hd4k-tile { position: relative; border-radius: var(--hd-radius); overflow: hidden; border: 1px solid var(--hd-border); isolation: isolate; }
.hd4k-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s ease; }
.hd4k-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,9,18,.05) 20%, rgba(6,9,18,.92) 100%); }
.hd4k-tile:hover img { transform: scale(1.08); }
.hd4k-tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.hd4k-tile h3 { font-size: 22px; margin-bottom: 4px; }
.hd4k-tile p { color: #c3cbdc; font-size: 14px; margin: 0; }
.hd4k-tile__tag { position: absolute; top: 16px; left: 16px; padding: 5px 11px; border-radius: 999px; background: rgba(6,9,18,.6); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.15); font-size: 12px; font-weight: 600; color: #fff; }
.hd4k-tile--wide { grid-column: span 2; }
.hd4k-tile--tall { grid-row: span 2; }
.hd4k-tile--full { grid-column: 1 / -1; }

/* =========================================================
   COVERAGE / ISP + SPEED
   ========================================================= */
.hd4k-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; }
.hd4k-pill { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--hd-border); background: var(--hd-surface); font-weight: 600; font-size: 14px; color: #dfe5f1; transition: border-color .2s, background .2s; }
.hd4k-pill:hover { border-color: rgba(255,45,79,.5); background: rgba(255,45,79,.08); }

.hd4k-speed { display: grid; gap: 16px; }
.hd4k-speed__row { padding: 22px 24px; border-radius: 18px; background: var(--hd-surface); border: 1px solid var(--hd-border); }
.hd4k-speed__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.hd4k-speed__top strong { font-family: var(--hd-font-head); color: #fff; font-size: 17px; }
.hd4k-speed__top span { font-family: var(--hd-font-head); font-weight: 700; color: var(--hd-cyan); }
.hd4k-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.hd4k-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--hd-grad-cool); transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.hd4k-bar--hot i { background: var(--hd-grad); }
.hd4k-speed__row p { margin: 10px 0 0; font-size: 14px; color: var(--hd-muted); }

/* =========================================================
   SUPPORT + RESELLER
   ========================================================= */
.hd4k-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hd4k-panel { position: relative; overflow: hidden; border-radius: 28px; padding: 46px; border: 1px solid var(--hd-border); background: var(--hd-surface); }
.hd4k-panel h2 { font-size: clamp(26px, 3vw, 34px); }
.hd4k-panel p { color: #b6bfd3; }
.hd4k-panel ul { display: grid; gap: 12px; margin: 22px 0 30px; color: #d3d9e6; }
.hd4k-panel--reseller { background: linear-gradient(135deg, rgba(255,45,79,.14), rgba(139,92,246,.12)); }
.hd4k-panel--reseller img { position: absolute; right: -40px; bottom: -40px; width: 240px; border-radius: 24px; opacity: .25; transform: rotate(-8deg); }
.hd4k-panel > * { position: relative; }

/* =========================================================
   FAQ
   ========================================================= */
.hd4k-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.hd4k-faq__intro { position: sticky; top: 110px; }
.hd4k-faq__intro h2 { font-size: clamp(30px, 3.8vw, 44px); }
.hd4k-faq__intro p { color: var(--hd-muted); }
.hd4k-acc { display: grid; gap: 12px; }
.hd4k-acc__item { border-radius: 16px; border: 1px solid var(--hd-border); background: var(--hd-surface); transition: border-color .3s, background .3s; }
.hd4k-acc__item.is-open { border-color: rgba(255,45,79,.4); background: rgba(255,45,79,.04); }
.hd4k-acc__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--hd-font-head); font-weight: 600; font-size: 17px; color: #fff;
}
.hd4k-acc__icon { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); transition: transform .3s, background .3s; }
.hd4k-acc__icon svg { width: 16px; height: 16px; }
.hd4k-acc__item.is-open .hd4k-acc__icon { transform: rotate(45deg); background: var(--hd-grad); }
.hd4k-acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.hd4k-acc__item.is-open .hd4k-acc__a { grid-template-rows: 1fr; }
.hd4k-acc__a > div { overflow: hidden; }
.hd4k-acc__a p { padding: 0 22px 20px; margin: 0; color: #b6bfd3; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.hd4k-cta {
  position: relative; overflow: hidden; text-align: center;
  padding: 80px 40px; border-radius: 32px;
  background: radial-gradient(ellipse at top, rgba(255,45,79,.35), transparent 60%), radial-gradient(ellipse at bottom right, rgba(41,216,255,.25), transparent 55%), #0c1224;
  border: 1px solid rgba(255,255,255,.12);
}
.hd4k-cta h2 { font-size: clamp(32px, 4.6vw, 54px); max-width: 760px; margin-left: auto; margin-right: auto; }
.hd4k-cta p { color: #c3cbdc; font-size: 18px; max-width: 600px; margin: 0 auto 32px; }
.hd4k-cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* =========================================================
   FOOTER
   ========================================================= */
.hd4k-footer { position: relative; background: #04070e; border-top: 1px solid var(--hd-border); padding-top: 80px; overflow: hidden; }
.hd4k-footer::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--hd-red), var(--hd-cyan), transparent); }
.hd4k-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 60px; }
.hd4k-footer__brand p { color: var(--hd-muted); font-size: 15px; margin: 18px 0 22px; max-width: 320px; }
.hd4k-footer h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 18px; }
.hd4k-footer__links { display: grid; gap: 10px; }
.hd4k-footer__links a { color: var(--hd-muted); font-size: 14.5px; transition: color .2s, padding-left .2s; }
.hd4k-footer__links a:hover { color: #fff; padding-left: 4px; }
.hd4k-footer__contact { display: grid; gap: 14px; }
.hd4k-footer__contact a { display: flex; gap: 12px; align-items: center; color: #d3d9e6; font-size: 14.5px; }
.hd4k-footer__contact .hd4k-icon { width: 38px; height: 38px; border-radius: 11px; margin: 0; flex: 0 0 38px; }
.hd4k-footer__contact .hd4k-icon svg { width: 18px; height: 18px; }
.hd4k-trust { display: flex; flex-wrap: wrap; gap: 8px; }
.hd4k-trust span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; background: var(--hd-surface); border: 1px solid var(--hd-border); font-size: 12.5px; color: #cfd6e6; }
.hd4k-trust svg { width: 14px; height: 14px; color: var(--hd-green); }
.hd4k-footer__bottom { border-top: 1px solid var(--hd-border); padding: 26px 0 34px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; color: #6f7a92; font-size: 13.5px; }
.hd4k-footer__bottom p { margin: 0; max-width: 720px; }
.hd4k-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
#hd4k-ftr .hd4k-footer__legal a { color: #97a1b8; text-decoration: none; font-size: 13.5px; }
#hd4k-ftr .hd4k-footer__legal a:hover { color: #fff; }
.hd4k-footer__wordmark { font-family: var(--hd-font-head); font-weight: 800; font-size: clamp(60px, 13vw, 190px); line-height: .8; letter-spacing: -0.05em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); user-select: none; margin-bottom: -18px; white-space: nowrap; }

/* Back to top / floating CTA */
.hd4k-totop {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff; background: var(--hd-grad);
  box-shadow: 0 12px 30px -8px rgba(255,45,79,.7);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s;
}
.hd4k-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.hd4k-totop svg { width: 22px; height: 22px; }

/* Floating WhatsApp button (bottom-left) */
#hd4k-ftr a.hd4k-wa, #hd4k-ftr a.hd4k-wa:hover, #hd4k-ftr a.hd4k-wa:focus {
  position: fixed; left: 22px; bottom: 22px; z-index: 900;
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px; border-radius: 999px;
  background: #25d366; color: #fff; font: 600 15px/1 var(--hd-font-body); text-decoration: none; border: 0;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.65); transition: transform .2s, box-shadow .2s;
}
#hd4k-ftr a.hd4k-wa:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(37,211,102,.8); }
#hd4k-ftr a.hd4k-wa svg { width: 26px; height: 26px; flex: 0 0 26px; }
@media (max-width: 640px) {
  #hd4k-ftr a.hd4k-wa { left: 16px; bottom: 16px; width: 54px; padding: 0; justify-content: center; }
  #hd4k-ftr a.hd4k-wa span { display: none; }
}
.hd4k-feature p strong, .hd4k-step p, .hd4k-float span { overflow-wrap: anywhere; }
.hd4k-icon--wa { background: rgba(37,211,102,.14) !important; color: #25d366 !important; }

/* Reveal on scroll */
.hd4k-reveal { transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.hd4k-js .hd4k-reveal:not(.is-in) { opacity: 0; transform: translateY(30px); }
.hd4k-reveal.is-in { opacity: 1; transform: none; }
.hd4k-reveal[data-delay="1"] { transition-delay: .08s; }
.hd4k-reveal[data-delay="2"] { transition-delay: .16s; }
.hd4k-reveal[data-delay="3"] { transition-delay: .24s; }
.hd4k-reveal[data-delay="4"] { transition-delay: .32s; }
.hd4k-reveal[data-delay="5"] { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .hd4k *, .hd4k *::before, .hd4k *::after { animation: none !important; transition: none !important; }
  .hd4k-reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1320px) {
  .hd4k-header__cta .hd4k-btn--ghost { display: none; }
}
@media (max-width: 1140px) {
  .hd4k-nav { display: none; }
  .hd4k-burger { display: grid; }
  .hd4k-header__cta .hd4k-btn--ghost { display: none; }
  .hd4k-plans.is-active { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .hd4k-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hd4k-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .hd4k-footer__brand { grid-column: 1 / -1; }
  .hd4k-float--a { left: -10px; }
  .hd4k-float--b { right: -10px; }
}
@media (max-width: 920px) {
  .hd4k-section { padding: 80px 0; }
  .hd4k-hero__grid, .hd4k-split, .hd4k-faq, .hd4k-duo { grid-template-columns: 1fr; }
  .hd4k-hero__visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .hd4k-hero__frame { aspect-ratio: 4 / 4; }
  .hd4k-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hd4k-stats { grid-template-columns: repeat(2, 1fr); }
  .hd4k-stat:nth-child(2) { border-right: 0; }
  .hd4k-stat:nth-child(-n+2) { border-bottom: 1px solid var(--hd-border); }
  .hd4k-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .hd4k-steps::before { display: none; }
  .hd4k-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .hd4k-tile--tall { grid-row: span 1; }
  .hd4k-faq__intro { position: static; }
}
@media (max-width: 600px) {
  .hd4k-container { padding: 0 18px; }
  .hd4k-section { padding: 64px 0; }
  .hd4k-topbar { font-size: 12.5px; }
  .hd4k-header__inner { height: 68px; }
  .hd4k-header__cta .hd4k-btn--primary { display: none; }
  .hd4k-hero { padding-top: 40px; }
  .hd4k-hero h1 { font-size: 34px; }
  .hd4k-hero__lead { font-size: 17px; }
  .hd4k-hero__bullets { grid-template-columns: 1fr; }
  .hd4k-hero__actions .hd4k-btn { flex: 1 1 100%; }
  .hd4k-float { display: none; }
  .hd4k-grid-3, .hd4k-grid-4, .hd4k-plans.is-active, .hd4k-mini-grid { grid-template-columns: 1fr; }
  .hd4k-tabs { display: flex; width: 100%; }
  .hd4k-tab { flex: 1; padding: 12px 10px; }
  .hd4k-steps { grid-template-columns: 1fr; }
  .hd4k-bento { grid-template-columns: 1fr; }
  .hd4k-tile--wide { grid-column: span 1; }
  .hd4k-panel { padding: 32px 24px; }
  .hd4k-cta { padding: 56px 22px; border-radius: 24px; }
  .hd4k-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hd4k-footer__contact-col { grid-column: 1 / -1; }
}

/* =========================================================
   THEME GUARDS — beat Hello Elementor reset + Elementor Site
   Settings (kit) link/button/table styles. :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) = wrapper.
   ========================================================= */
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) a { color: inherit; text-decoration: none; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) a:hover, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) a:focus { color: inherit; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-topbar a, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-topbar a:hover { color: #fff; text-decoration: underline; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) a.hd4k-logo, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) a.hd4k-logo:hover { color: #fff; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) a.hd4k-nav__link { color: #cfd6e6; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) a.hd4k-nav__link:hover, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) a.hd4k-nav__link.is-active, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-nav__item:hover > a.hd4k-nav__link { color: #fff; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-dropdown a { color: #cfd6e6; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-dropdown a:hover { color: #fff; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-dropdown a.hd4k-dropdown__all, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-dropdown a.hd4k-dropdown__all:hover { color: var(--hd-cyan); }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) a.hd4k-btn, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) a.hd4k-btn:hover, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) a.hd4k-btn:focus { color: #fff; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) a.hd4k-link, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) a.hd4k-link:hover, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) a.hd4k-link:focus { color: var(--hd-cyan); }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) a.hd4k-card, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) a.hd4k-card:hover, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) a.hd4k-tile, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) a.hd4k-tile:hover { color: var(--hd-text); }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-drawer a.hd4k-drawer__link { color: #e3e8f3; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-drawer a.hd4k-drawer__link:hover { color: #fff; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-drawer details a { color: var(--hd-muted); }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-drawer details a:hover { color: #fff; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-footer__links a { color: var(--hd-muted); }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-footer__links a:hover { color: #fff; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-footer__contact a { color: #d3d9e6; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-footer__contact a:hover { color: #fff; }

:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button {
  font-family: var(--hd-font-head); text-transform: none; letter-spacing: normal;
  background: none; color: inherit; border: 0; border-radius: 0; padding: 0; box-shadow: none; line-height: 1.3;
}
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab { padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 600; color: #cfd6e6; background: transparent; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab:hover, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab:focus { color: #fff; background: rgba(255,255,255,.06); }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab.is-active, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab.is-active:hover, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab.is-active:focus { color: #fff; background: var(--hd-grad); box-shadow: 0 10px 30px -10px rgba(255,45,79,.8); }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab[data-tab="premium"].is-active, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab[data-tab="premium"].is-active:hover, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab[data-tab="premium"].is-active:focus { background: var(--hd-grad-cool); box-shadow: 0 10px 30px -10px rgba(41,216,255,.7); }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-acc__q, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-acc__q:hover, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-acc__q:focus { padding: 20px 22px; width: 100%; font-size: 17px; font-weight: 600; color: #fff; background: none; border-radius: 16px; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-burger { width: 46px; height: 46px; border: 1px solid var(--hd-border); border-radius: 12px; background: rgba(255,255,255,.04); color: #fff; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-burger:hover, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-burger:focus { background: rgba(255,255,255,.08); color: #fff; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-totop, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-totop:hover, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-totop:focus { width: 52px; height: 52px; border-radius: 50%; color: #fff; background: var(--hd-grad); box-shadow: 0 12px 30px -8px rgba(255,45,79,.7); }

:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-plan__price sup { position: static; top: auto; line-height: 1; vertical-align: baseline; font-size: 22px; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-table { margin: 0; font-size: 15px; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-table th, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-table td { border: 0; border-bottom: 1px solid var(--hd-border); }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-table tr:last-child td { border-bottom: 0; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-table tbody tr > td, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-table tbody tr:hover > td { background-color: transparent; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-table tbody tr > td.is-us, :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-table tbody tr:hover > td.is-us { background-color: rgba(255,45,79,.06); }

@media (max-width: 600px) {
  :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab { padding: 12px 10px; }
}

/* =========================================================
   PLAN TIER SWITCH (Standard / Premium) — two clear choice cards, fits every screen
   ========================================================= */
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-tabs-label { margin: 0 0 12px; text-align: center; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hd-muted); }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 640px;
  margin: 0 auto 44px; padding: 0; background: none; border: 0; border-radius: 0;
}
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  min-width: 0; width: 100%; white-space: normal; text-align: left; line-height: 1.25;
  padding: 16px 16px 16px 52px; border-radius: 16px; border: 2px solid var(--hd-border);
  background: rgba(255,255,255,.04); color: #fff; font-size: 17px; font-weight: 700; box-shadow: none;
}
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab::before {
  content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid #5b6478; background: transparent;
  display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; line-height: 1;
}
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab small {
  display: block; margin-top: 5px; white-space: normal; font-size: 13px; font-weight: 500; letter-spacing: 0; opacity: 1; color: #b6bfd3;
}
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab:hover,
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab:focus { color: #fff; background: rgba(255,255,255,.07); border-color: #5b6478; }
/* selected: Standard = red, Premium = cyan */
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab.is-active,
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab.is-active:hover,
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab.is-active:focus {
  background: rgba(255,45,79,.12); border-color: #ff2d4f; box-shadow: 0 10px 30px -14px rgba(255,45,79,.8); color: #fff;
}
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab.is-active::before { content: "\2713"; background: #ff2d4f; border-color: #ff2d4f; }
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab[data-tab="premium"].is-active,
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab[data-tab="premium"].is-active:hover,
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab[data-tab="premium"].is-active:focus {
  background: rgba(41,216,255,.10); border-color: #29d8ff; box-shadow: 0 10px 30px -14px rgba(41,216,255,.7);
}
:is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab[data-tab="premium"].is-active::before { background: #29d8ff; border-color: #29d8ff; color: #06111f; }
@media (max-width: 600px) {
  :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) .hd4k-tabs { gap: 8px; margin-bottom: 32px; }
  :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab { padding: 14px 10px 14px 40px; font-size: 15.5px; border-radius: 14px; }
  :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab::before { left: 11px; width: 20px; height: 20px; font-size: 12px; }
  :is(#hd4k-hdr,#hd4k-top,#hd4k-drawer,#hd4k-ftr,#hd4k-page) button.hd4k-tab small { font-size: 12px; }
}

/* =========================================================
   INNER PAGES (concatenated after hd4k.css by the build)
   ========================================================= */
.hd4k-phero { position: relative; padding: 64px 0 80px; overflow: hidden; border-bottom: 1px solid var(--hd-border); }
.hd4k-phero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 20%, #000 30%, transparent 75%);
}
.hd4k-phero > .hd4k-container { position: relative; z-index: 1; }
.hd4k-phero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hd4k-phero__grid > * { min-width: 0; }
.hd4k-phero--center { text-align: center; }
.hd4k-phero--center .hd4k-phero__lead { margin-left: auto; margin-right: auto; }
.hd4k-phero--center .hd4k-crumbs, .hd4k-phero--center .hd4k-phero__actions, .hd4k-phero--center .hd4k-chips { justify-content: center; }
.hd4k-phero h1 { font-size: clamp(34px, 4.8vw, 58px); font-weight: 800; margin-bottom: 20px; }
.hd4k-phero__lead { font-size: 18.5px; color: #b6bfd3; max-width: 700px; margin-bottom: 28px; }
.hd4k-phero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hd4k-phero__media { position: relative; }
.hd4k-phero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 90px -30px rgba(255,45,79,.45); }
.hd4k-phero__media .hd4k-float { left: -28px; bottom: 26px; top: auto; }

.hd4k-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--hd-muted); margin-bottom: 22px; }
.hd4k-crumbs span[aria-hidden] { opacity: .5; }
#hd4k-page .hd4k-crumbs a { color: var(--hd-muted); }
#hd4k-page .hd4k-crumbs a:hover { color: #fff; }
.hd4k-crumbs [aria-current] { color: #e3e8f3; }

.hd4k-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hd4k-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--hd-surface); border: 1px solid var(--hd-border); font-size: 14px; color: #dfe5f1; }
.hd4k-chip svg { width: 16px; height: 16px; color: var(--hd-green); }

/* Two-column content + sidebar */
.hd4k-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
.hd4k-aside { position: sticky; top: 110px; display: grid; gap: 18px; }
.hd4k-box { padding: 26px; border-radius: 20px; background: var(--hd-surface); border: 1px solid var(--hd-border); }
.hd4k-box h3, .hd4k-box h4 { font-size: 17px; margin-bottom: 14px; }
.hd4k-box p { color: var(--hd-muted); font-size: 14.5px; }
.hd4k-box ul { display: grid; gap: 10px; font-size: 14.5px; color: #cfd6e6; }
.hd4k-box .hd4k-check svg { width: 18px; height: 18px; flex-basis: 18px; margin-top: 2px; }
.hd4k-box .hd4k-btn { margin-top: 6px; }
.hd4k-navlist { display: grid; gap: 4px; }
#hd4k-page .hd4k-navlist a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; color: #cfd6e6; font-size: 14.5px; transition: background .2s, color .2s; }
#hd4k-page .hd4k-navlist a:hover { background: rgba(255,255,255,.05); color: #fff; }
#hd4k-page .hd4k-navlist a[aria-current] { background: rgba(255,45,79,.1); color: #fff; }
.hd4k-navlist svg { width: 14px; height: 14px; opacity: .6; }
.hd4k-box--grad { background: linear-gradient(135deg, rgba(255,45,79,.16), rgba(139,92,246,.12)); border-color: rgba(255,45,79,.3); }

/* Numbered vertical steps */
.hd4k-stepsv { display: grid; gap: 14px; counter-reset: hd4kstep; margin: 0 0 34px; }
.hd4k-stepsv li {
  position: relative; counter-increment: hd4kstep;
  padding: 22px 24px 22px 86px; border-radius: 18px;
  background: var(--hd-surface); border: 1px solid var(--hd-border);
  color: #d3d9e6; font-size: 16px; transition: border-color .3s, transform .3s;
}
.hd4k-stepsv li:hover { border-color: rgba(255,255,255,.2); transform: translateX(4px); }
.hd4k-stepsv li::before {
  content: counter(hd4kstep); position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--hd-font-head); font-weight: 800; font-size: 18px; color: #fff;
  background: var(--hd-grad); box-shadow: 0 10px 24px -8px rgba(255,45,79,.7);
}

/* Callouts */
.hd4k-callout { display: flex; gap: 18px; padding: 24px 26px; border-radius: 18px; background: rgba(41,216,255,.06); border: 1px solid rgba(41,216,255,.25); }
.hd4k-callout .hd4k-icon { margin: 0; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; }
.hd4k-callout h2, .hd4k-callout h3 { font-size: 18px; margin-bottom: 6px; }
.hd4k-callout p { color: #c3cbdc; margin: 0; }
.hd4k-callout--warn { background: rgba(255,122,61,.07); border-color: rgba(255,122,61,.3); }

/* Prose */
.hd4k-prose { max-width: 760px; }
.hd4k-prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 44px 0 14px; }
.hd4k-prose h2:first-child { margin-top: 0; }
.hd4k-prose h3 { font-size: 20px; margin: 28px 0 10px; }
.hd4k-prose p, .hd4k-prose li { color: #b6bfd3; font-size: 17px; }

/* Big checklist */
.hd4k-checklist { display: grid; gap: 14px; }
.hd4k-checklist li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 16px; background: var(--hd-surface); border: 1px solid var(--hd-border); color: #d3d9e6; }
.hd4k-num { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-family: var(--hd-font-head); font-weight: 800; color: #fff; background: var(--hd-grad-cool); font-size: 15px; }

/* Glossary */
.hd4k-term { display: flex; flex-direction: column; }
.hd4k-term__tag { align-self: flex-start; font-family: var(--hd-font-head); font-weight: 800; font-size: 13px; letter-spacing: .06em; padding: 6px 12px; border-radius: 10px; margin-bottom: 16px; background: rgba(41,216,255,.1); border: 1px solid rgba(41,216,255,.3); color: var(--hd-cyan); }
.hd4k-term h2 { font-size: 20px; margin-bottom: 10px; }
.hd4k-term p { color: var(--hd-muted); margin: 0; }

/* FAQ groups */
.hd4k-faqgroup + .hd4k-faqgroup { margin-top: 44px; }
.hd4k-faqgroup > h2 { font-size: 22px; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.hd4k-faqgroup > h2 .hd4k-icon { margin: 0; width: 40px; height: 40px; border-radius: 12px; }
.hd4k-faqgroup > h2 .hd4k-icon svg { width: 20px; height: 20px; }

/* Category rows (channel list) */
.hd4k-cat { display: grid; grid-template-columns: 220px 1fr; padding: 0; overflow: hidden; }
.hd4k-cat img { width: 100%; height: 100%; min-height: 170px; object-fit: cover; }
.hd4k-cat__body { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; }
.hd4k-cat h2 { font-size: 22px; margin-bottom: 8px; }
.hd4k-cat p { color: var(--hd-muted); margin: 0; }
.hd4k-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.hd4k-grid-2 > * { min-width: 0; }

/* Simple card headings used on inner pages */
.hd4k-card h2.hd4k-card__title { font-size: 20px; margin-bottom: 10px; }
.hd4k-card p:last-child { margin-bottom: 0; }

@media (max-width: 1024px) {
  .hd4k-layout { grid-template-columns: 1fr; }
  .hd4k-aside { position: static; }
}
@media (max-width: 920px) {
  .hd4k-phero__grid { grid-template-columns: 1fr; }
  .hd4k-phero__media { max-width: 520px; }
  .hd4k-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hd4k-phero { padding: 40px 0 56px; }
  .hd4k-phero__actions .hd4k-btn { flex: 1 1 100%; }
  .hd4k-stepsv li { padding: 74px 20px 20px; }
  .hd4k-stepsv li::before { top: 20px; transform: none; }
  .hd4k-cat { grid-template-columns: 1fr; }
  .hd4k-cat img { min-height: 160px; max-height: 200px; }
  .hd4k-callout { flex-direction: column; }
  .hd4k-phero__media .hd4k-float { display: none; }
}

.hd4k-device h2 { font-size: 18px; margin-bottom: 6px; }
.hd4k-stepsv { list-style: none; padding: 0; }
.hd4k-cat { height: 220px; }
.hd4k-cat img { height: 220px; min-height: 0; }
@media (max-width: 600px) { .hd4k-cat { height: auto; } .hd4k-cat img { height: 180px; } }

/* ---------- Inner pages: homepage-style hero, long-form article, TOC ---------- */
.hd4k-hero--inner { padding: 44px 0 80px; }
.hd4k-hero--inner h1 { font-size: clamp(36px, 4.8vw, 60px); }
.hd4k-hero--inner .hd4k-crumbs { margin-bottom: 18px; }
.hd4k-hero--inner .hd4k-stats { margin-top: 56px; }
.hd4k-article { max-width: none; }
.hd4k-article h2 { scroll-margin-top: 110px; }
.hd4k-article h2:first-child { margin-top: 0; }
.hd4k-prose ul { list-style: disc; padding-left: 22px; margin: 0 0 1.2em; }
.hd4k-prose ul li { margin-bottom: 8px; }
.hd4k-prose ul li::marker { color: var(--hd-red); }
.hd4k-prose strong { color: #fff; }
.hd4k-figure { margin: 30px 0 34px; }
.hd4k-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; border: 1px solid var(--hd-border); }
.hd4k-figure figcaption { margin-top: 10px; font-size: 14px; color: var(--hd-muted); text-align: center; }
.hd4k-toc__title { display: flex; align-items: center; gap: 10px; font-family: var(--hd-font-head); font-weight: 700; color: #fff; font-size: 16px; margin-bottom: 12px; }
.hd4k-toc__title svg { width: 18px; height: 18px; color: var(--hd-cyan); }
.hd4k-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: hd4ktoc; display: grid; gap: 2px; }
.hd4k-toc li { counter-increment: hd4ktoc; }
#hd4k-page .hd4k-toc a { position: relative; display: block; padding: 8px 10px 8px 36px; border-radius: 10px; font-size: 14px; line-height: 1.4; color: #cfd6e6; transition: background .2s, color .2s; }
#hd4k-page .hd4k-toc a::before { content: counter(hd4ktoc, decimal-leading-zero); position: absolute; left: 10px; top: 8px; font-family: var(--hd-font-head); font-size: 12px; font-weight: 700; color: var(--hd-red); }
#hd4k-page .hd4k-toc a:hover { background: rgba(255,255,255,.05); color: #fff; }
.hd4k-aside .hd4k-box--grad .hd4k-btn { margin-top: 14px; }
.hd4k-aside { max-height: calc(100vh - 130px); overflow-y: auto; scrollbar-width: thin; }
@media (max-width: 1024px) { .hd4k-aside { max-height: none; overflow: visible; } }

/* Plan cards: "View plan details" text link (product page) under the checkout button */
#hd4k-page .hd4k-plan__details { margin: 10px 0 0; font-size: 13px; color: var(--hd-muted); text-align: center; line-height: 1.4; }
#hd4k-page .hd4k-plan__details a { color: var(--hd-cyan); font-weight: 600; text-decoration: none; }
#hd4k-page .hd4k-plan__details a:hover { color: #fff; text-decoration: underline; }
#hd4k-page .hd4k-plans-cats { text-align: center; margin: 18px auto 0; max-width: 760px; color: var(--hd-muted); font-size: 15px; }
#hd4k-page .hd4k-plans-cats a { color: var(--hd-cyan); font-weight: 600; }

/* Free-trial note under hero / CTA buttons and the plan cards */
.hd4k-trial-note { margin: -18px 0 26px; font-size: 15px; color: #c3cbdc; }
.hd4k-cta .hd4k-trial-note { margin: 18px auto 0; text-align: center; }
.hd4k-trial-note a, #hd4k-page .hd4k-plans-trial a { color: var(--hd-cyan); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
#hd4k-page .hd4k-plans-trial { text-align: center; margin: 22px auto 0; max-width: 760px; color: var(--hd-muted); font-size: 16px; }

/* =========================================================
   SITE-WIDE SKIN for theme-rendered pages (WooCommerce, blog).
   body.hd4k is added by the mu-plugin on every page. Note that on
   WooCommerce pages the "woocommerce" class sits on <body> itself.
   ========================================================= */
body.hd4k .site-main { padding-top: 48px; padding-bottom: 90px; }
body.hd4k .site-main h1, body.hd4k .site-main h2, body.hd4k .site-main h3 { font-family: var(--hd-font-head); color: #fff; letter-spacing: -0.02em; }
body.hd4k .site-main h1.entry-title, body.hd4k .site-main .page-title, body.hd4k .site-main .woocommerce-products-header__title { font-size: clamp(32px, 4vw, 50px); font-weight: 800; }
body.hd4k .site-main, body.hd4k .site-main p, body.hd4k .site-main li, body.hd4k .site-main label { color: #c3cbdc; }

/* Links */
body.hd4k .site-main a:not(.button):not(.wp-element-button):not(.wc-block-components-button):not(.hd4k-btn):not(.woocommerce-LoopProduct-link) { color: var(--hd-cyan); }
body.hd4k .site-main a:not(.button):not(.wp-element-button):not(.wc-block-components-button):not(.hd4k-btn):hover { color: #fff; }
body.hd4k .site-main a.woocommerce-LoopProduct-link { color: inherit; }
body.hd4k .woocommerce-breadcrumb { color: var(--hd-muted) !important; font-size: 14px; }

/* Buttons */
body.hd4k .site-main .button, body.hd4k .site-main button.button, body.hd4k .site-main a.button,
body.hd4k .site-main .wp-element-button, body.hd4k .site-main .add_to_cart_button, body.hd4k .site-main .single_add_to_cart_button,
body.hd4k .wc-block-components-button:not(.is-link), body.hd4k .wc-block-components-product-button__button,
body.hd4k .site-main input[type="submit"], body.hd4k .site-main button[type="submit"] {
  background: var(--hd-grad) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important;
  font-family: var(--hd-font-head) !important; font-weight: 600 !important; font-size: 15px !important;
  padding: 13px 26px !important; line-height: 1.2 !important; text-transform: none !important;
  box-shadow: 0 10px 30px -10px rgba(255,45,79,.65) !important; transition: transform .2s ease !important;
}
body.hd4k .site-main .button:hover, body.hd4k .site-main .wp-element-button:hover, body.hd4k .wc-block-components-button:not(.is-link):hover,
body.hd4k .site-main input[type="submit"]:hover, body.hd4k .site-main button[type="submit"]:hover { transform: translateY(-2px); color: #fff !important; }
body.hd4k .site-main .added_to_cart { display: inline-block; margin: 10px 0 0 10px; font-weight: 600; }

/* Prices */
body.hd4k .price, body.hd4k .price .amount, body.hd4k .woocommerce-Price-amount, body.hd4k .wc-block-components-product-price { color: #fff !important; }
body.hd4k div.product p.price, body.hd4k div.product span.price { font-family: var(--hd-font-head); font-weight: 800; font-size: 34px !important; }
body.hd4k ul.products li.product .price { font-family: var(--hd-font-head); font-weight: 700; font-size: 18px !important; }

/* Product grid */
body.hd4k ul.products li.product { background: var(--hd-surface); border: 1px solid var(--hd-border); border-radius: 20px; padding: 16px 16px 22px !important; transition: transform .3s, border-color .3s; }
body.hd4k ul.products li.product:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.2); }
body.hd4k ul.products li.product img { border-radius: 14px; margin-bottom: 14px !important; }
body.hd4k ul.products li.product .woocommerce-loop-product__title { color: #fff !important; font-family: var(--hd-font-head); font-size: 17px !important; }
body.hd4k .woocommerce-result-count { color: var(--hd-muted) !important; }
body.hd4k .site-main select:not(.wc-blocks-components-select__select), body.hd4k .site-main .orderby {
  background-color: #0d1426 !important; color: #fff !important; border: 1px solid rgba(255,255,255,.15) !important; border-radius: 12px !important; padding: 10px 14px !important;
}

/* Single product */
body.hd4k div.product .product_title { font-size: clamp(32px, 3.8vw, 48px) !important; font-weight: 800; }
body.hd4k div.product div.images img { border-radius: 22px; border: 1px solid var(--hd-border); }
body.hd4k div.product .woocommerce-product-details__short-description { font-size: 17px; }
body.hd4k div.product .product_meta { color: var(--hd-muted); font-size: 14px; border-top: 1px solid var(--hd-border); padding-top: 18px; margin-top: 10px; }
body.hd4k div.product .woocommerce-tabs ul.tabs { padding: 0 !important; margin: 0 0 24px !important; display: flex; gap: 8px; }
body.hd4k div.product .woocommerce-tabs ul.tabs::before, body.hd4k div.product .woocommerce-tabs ul.tabs li::before, body.hd4k div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
body.hd4k div.product .woocommerce-tabs ul.tabs li { background: var(--hd-surface) !important; border: 1px solid var(--hd-border) !important; border-radius: 999px !important; margin: 0 !important; padding: 0 !important; }
body.hd4k div.product .woocommerce-tabs ul.tabs li a { color: #cfd6e6 !important; padding: 10px 20px !important; font-family: var(--hd-font-head); font-weight: 600 !important; }
body.hd4k div.product .woocommerce-tabs ul.tabs li.active { background: var(--hd-grad) !important; border-color: transparent !important; }
body.hd4k div.product .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
body.hd4k div.product .woocommerce-tabs .panel { background: var(--hd-surface); border: 1px solid var(--hd-border); border-radius: 20px; padding: 30px 32px !important; }
body.hd4k .related.products > h2, body.hd4k .upsells.products > h2 { font-size: 28px; margin: 40px 0 22px; }
body.hd4k div.product form.cart .qty, body.hd4k .site-main .quantity .qty { background: #0d1426 !important; color: #fff !important; border: 1px solid rgba(255,255,255,.15) !important; border-radius: 12px !important; height: 46px; }
body.hd4k span.onsale { background: var(--hd-grad) !important; }

/* Forms (account, classic checkout) */
body.hd4k .site-main input.input-text, body.hd4k .site-main input[type="text"], body.hd4k .site-main input[type="email"], body.hd4k .site-main input[type="password"], body.hd4k .site-main input[type="tel"], body.hd4k .site-main textarea,
body.hd4k .wc-block-components-text-input input, body.hd4k .wc-block-components-textarea {
  background: #0d1426 !important; color: #fff !important; border: 1px solid rgba(255,255,255,.15) !important; border-radius: 12px !important;
}
body.hd4k .site-main form.login, body.hd4k .site-main form.register, body.hd4k .site-main form.lost_reset_password {
  background: var(--hd-surface); border: 1px solid var(--hd-border) !important; border-radius: 20px !important; padding: 30px !important;
}
body.hd4k .wc-block-components-text-input label, body.hd4k .wc-block-components-form label { color: var(--hd-muted) !important; }

/* Block cart / checkout */
body.hd4k .wc-block-cart, body.hd4k .wc-block-checkout { color: #c3cbdc; }
body.hd4k .wc-block-components-sidebar .wc-block-components-panel, body.hd4k .wc-block-components-totals-wrapper, body.hd4k .wc-block-cart-items, body.hd4k .wc-block-components-order-summary { border-color: var(--hd-border) !important; }
body.hd4k .wc-block-components-checkout-step__title, body.hd4k .wc-block-components-title, body.hd4k .wc-block-cart__totals-title, body.hd4k .wc-block-components-product-name { color: #fff !important; }
body.hd4k .wc-block-components-radio-control__option, body.hd4k .wc-block-components-radio-control-accordion-option { border-color: var(--hd-border) !important; }
body.hd4k table.shop_table, body.hd4k table.shop_table th, body.hd4k table.shop_table td { border-color: var(--hd-border) !important; color: #c3cbdc; }

/* Notices */
body.hd4k .woocommerce-message, body.hd4k .woocommerce-info, body.hd4k .woocommerce-error, body.hd4k .wc-block-components-notice-banner {
  background: var(--hd-surface) !important; color: var(--hd-text) !important; border: 1px solid var(--hd-border) !important; border-left: 4px solid var(--hd-red) !important; border-radius: 12px !important;
}
body.hd4k .woocommerce-message::before, body.hd4k .woocommerce-info::before { color: var(--hd-cyan) !important; }

/* My account nav */
body.hd4k .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: grid; gap: 6px; }
body.hd4k .woocommerce-MyAccount-navigation ul li a { display: block; padding: 11px 16px; border-radius: 12px; background: var(--hd-surface); border: 1px solid var(--hd-border); color: #cfd6e6 !important; }
body.hd4k .woocommerce-MyAccount-navigation ul li.is-active a { background: rgba(255,45,79,.14); border-color: rgba(255,45,79,.35); color: #fff !important; }

/* Empty blog */
body.hd4k .site-main .page-content p, body.hd4k .site-main .no-results p { color: var(--hd-muted); }

/* =========================================================
   CLASSIC CHECKOUT (deploy/hd4k-checkout.php)
   ========================================================= */
body.hd4k.woocommerce-checkout .site-main { max-width: 1180px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
body.hd4k .hd4k-steps-bar { list-style: none; margin: 6px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
body.hd4k .hd4k-steps-bar li { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--hd-surface); border: 1px solid var(--hd-border); color: var(--hd-muted); font-family: var(--hd-font-head); font-weight: 600; font-size: 14.5px; margin: 0; }
body.hd4k .hd4k-steps-bar__num { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: rgba(255,255,255,.08); color: #fff; }
body.hd4k .hd4k-steps-bar li.is-done { color: #d3f9e7; }
body.hd4k .hd4k-steps-bar li.is-done .hd4k-steps-bar__num { background: var(--hd-green); color: #06281a; }
body.hd4k .hd4k-steps-bar li.is-current { color: #fff; border-color: var(--hd-red); background: rgba(255,45,79,.08); box-shadow: 0 0 0 1px rgba(255,45,79,.35) inset; }
body.hd4k .hd4k-steps-bar li.is-current .hd4k-steps-bar__num { background: var(--hd-grad); }

body.hd4k form.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 0 28px; align-items: start; }
body.hd4k form.woocommerce-checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
body.hd4k form.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; background: var(--hd-surface); border: 1px solid var(--hd-border); border-radius: 18px; padding: 26px 28px; margin: 0; }
body.hd4k form.woocommerce-checkout #customer_details .col-1, body.hd4k form.woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; max-width: none; flex: none; padding: 0; }
body.hd4k form.woocommerce-checkout #order_review_heading { grid-column: 2; margin: 0 0 14px; font-size: 20px; }
body.hd4k form.woocommerce-checkout #order_review { grid-column: 2; background: var(--hd-surface); border: 1px solid var(--hd-border); border-radius: 18px; padding: 22px; position: sticky; top: 100px; }
body.hd4k form.woocommerce-checkout h3 { font-size: 20px; margin: 0 0 18px; }
body.hd4k form.woocommerce-checkout .woocommerce-additional-fields h3 { margin-top: 26px; }
body.hd4k form.woocommerce-checkout .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
body.hd4k form.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row { float: none; width: auto; grid-column: 1 / -1; margin: 0 0 16px; padding: 0; }
body.hd4k form.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first { grid-column: 1; }
body.hd4k form.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last { grid-column: 2; }
body.hd4k form.woocommerce-checkout .form-row label { display: block; font-size: 14px; font-weight: 600; color: #dfe4ef; margin-bottom: 7px; }
body.hd4k form.woocommerce-checkout .form-row .required { color: var(--hd-red); text-decoration: none; }
body.hd4k form.woocommerce-checkout .form-row input.input-text, body.hd4k form.woocommerce-checkout .form-row select, body.hd4k form.woocommerce-checkout .form-row textarea { width: 100%; min-height: 48px; padding: 12px 14px !important; font-size: 15px; }
body.hd4k form.woocommerce-checkout .form-row textarea { min-height: 110px; }
body.hd4k form.woocommerce-checkout .form-row.woocommerce-invalid input.input-text, body.hd4k form.woocommerce-checkout .form-row.woocommerce-invalid select { border-color: var(--hd-red) !important; }
body.hd4k form.woocommerce-checkout #billing_country_field strong { display: block; padding: 12px 14px; border-radius: 12px; background: #0d1426; border: 1px solid rgba(255,255,255,.15); color: #fff; }
body.hd4k form.woocommerce-checkout #hd4k_devices_count { border-color: rgba(255,45,79,.55) !important; }

body.hd4k .hd4k-devices { margin: 0 0 16px; }
body.hd4k .hd4k-devices__hint { display: block; font-size: 13px; color: var(--hd-muted); margin: -2px 0 10px; }
body.hd4k .hd4k-devices__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
body.hd4k form.woocommerce-checkout label.hd4k-devices__opt { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 12px; background: #0d1426; border: 1px solid rgba(255,255,255,.12); cursor: pointer; font-weight: 500; transition: border-color .2s, background .2s; }
body.hd4k label.hd4k-devices__opt:hover { border-color: rgba(255,255,255,.3); }
body.hd4k form.woocommerce-checkout label.hd4k-devices__opt:has(input:checked) { border-color: var(--hd-red); background: rgba(255,45,79,.1); color: #fff; }
body.hd4k label.hd4k-devices__opt input { width: 18px; height: 18px; margin: 0; accent-color: #ff2d4f; flex: 0 0 18px; }
body.hd4k #hd4k_mag_mac_field[hidden] { display: none !important; }

body.hd4k #order_review table.shop_table { border: 0 !important; margin: 0 0 18px; width: 100%; border-collapse: collapse; background: transparent; }
body.hd4k #order_review table.shop_table th, body.hd4k #order_review table.shop_table td { padding: 12px 6px !important; border: 0 !important; border-bottom: 1px solid var(--hd-border) !important; background: transparent !important; font-size: 14.5px; vertical-align: top; }
body.hd4k #order_review table.shop_table thead th { color: var(--hd-muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
body.hd4k #order_review table.shop_table td.product-name { color: #fff; font-weight: 600; }
body.hd4k #order_review table.shop_table td.product-name dl.variation { margin: 6px 0 0; font-size: 13px; font-weight: 400; color: var(--hd-muted); }
body.hd4k #order_review table.shop_table td.product-name dl.variation dt, body.hd4k #order_review table.shop_table td.product-name dl.variation dd, body.hd4k #order_review table.shop_table td.product-name dl.variation p { display: inline; margin: 0; color: var(--hd-muted); }
body.hd4k #order_review table.shop_table td.product-name dl.variation dt { margin-right: 4px; }
body.hd4k #order_review table.shop_table th:last-child, body.hd4k #order_review table.shop_table td:last-child { text-align: right; }
body.hd4k #order_review table.shop_table tr.order-total th, body.hd4k #order_review table.shop_table tr.order-total td { border-bottom: 0 !important; font-family: var(--hd-font-head); font-size: 20px; color: #fff; }
body.hd4k #order_review tr.order-total .woocommerce-Price-amount { color: var(--hd-red) !important; font-weight: 800; }

body.hd4k #payment { background: transparent !important; border-radius: 0; }
body.hd4k #payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0 !important; border: 0 !important; }
body.hd4k #payment ul.payment_methods li { margin: 0; padding: 0; color: #fff; font-weight: 600; }
body.hd4k #payment ul.payment_methods li > label { color: #fff; font-family: var(--hd-font-head); }
body.hd4k #payment div.payment_box { background: #0d1426 !important; border: 1px solid rgba(255,45,79,.35); border-radius: 12px; color: #c3cbdc !important; font-weight: 400; font-size: 14px; padding: 14px 16px !important; margin: 10px 0 0 !important; }
body.hd4k #payment div.payment_box::before { display: none !important; }
body.hd4k #payment div.payment_box p { margin: 0; color: #c3cbdc; }
body.hd4k #payment .place-order { padding: 0 !important; margin: 0; }
body.hd4k #payment .woocommerce-privacy-policy-text p { font-size: 13px; color: var(--hd-muted); }
body.hd4k #payment #place_order { width: 100%; float: none; padding: 15px 26px !important; font-size: 16px !important; margin-top: 6px; }
body.hd4k .hd4k-secure { margin: 12px 0 0; font-size: 13px; color: var(--hd-muted) !important; text-align: center; }

/* ---------- Product descriptions (site/products.js) ---------- */
body.hd4k div.product .woocommerce-Tabs-panel--description { line-height: 1.75; font-size: 16.5px; }
body.hd4k div.product .woocommerce-Tabs-panel--description > h2:first-child { display: none; } /* WooCommerce's own "Description" heading */
body.hd4k div.product .woocommerce-Tabs-panel--description h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 34px 0 12px; scroll-margin-top: 110px; }
body.hd4k div.product .woocommerce-Tabs-panel--description h3 { font-size: 18px; margin: 22px 0 6px; }
body.hd4k div.product .woocommerce-Tabs-panel--description ul, body.hd4k div.product .woocommerce-Tabs-panel--description ol { padding-left: 22px; margin: 0 0 16px; }
body.hd4k div.product .woocommerce-Tabs-panel--description li { margin: 0 0 8px; }
body.hd4k div.product .woocommerce-Tabs-panel--description > ul { list-style: disc; }
body.hd4k div.product .woocommerce-Tabs-panel--description > ol { list-style: decimal; }
body.hd4k div.product .woocommerce-Tabs-panel--description li::marker { color: var(--hd-red); font-weight: 700; }
body.hd4k div.product .woocommerce-Tabs-panel--description strong { color: #fff; }
body.hd4k .hd4k-ptoc { background: #0d1426; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 18px 22px; margin: 0 0 10px; }
body.hd4k .hd4k-ptoc strong { display: block; font-family: var(--hd-font-head); margin-bottom: 8px; }
body.hd4k div.product .hd4k-ptoc ol { columns: 2; column-gap: 28px; margin: 0; }
body.hd4k div.product .hd4k-ptoc li { break-inside: avoid; margin: 0 0 6px; font-size: 15px; }
body.hd4k .hd4k-pgallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 20px 0; }
body.hd4k .hd4k-pgallery figure { margin: 0; }
body.hd4k .hd4k-pgallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; border: 1px solid var(--hd-border); }
body.hd4k .hd4k-pgallery figcaption { font-size: 12.5px; color: var(--hd-muted); margin-top: 6px; line-height: 1.4; }
body.hd4k div.product .woocommerce-product-details__short-description p { font-size: 17px; }
@media (max-width: 760px) {
  body.hd4k .hd4k-pgallery { grid-template-columns: repeat(2, 1fr); }
  body.hd4k div.product .hd4k-ptoc ol { columns: 1; }
}

/* ---------- Product category pages ---------- */
body.hd4k .hd4k-catintro { max-width: 860px; font-size: 17.5px; margin: 0 0 28px; }
body.hd4k .hd4k-catintro p { color: #c3cbdc; }
body.hd4k .hd4k-catbody { clear: both; margin: 56px 0 0; padding: 32px 36px; background: var(--hd-surface); border: 1px solid var(--hd-border); border-radius: 22px; line-height: 1.75; font-size: 16.5px; }
body.hd4k .hd4k-catbody h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 34px 0 12px; scroll-margin-top: 110px; }
body.hd4k .hd4k-catbody h3 { font-size: 18px; margin: 22px 0 6px; }
body.hd4k .hd4k-catbody ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
body.hd4k .hd4k-catbody ol { list-style: decimal; padding-left: 22px; margin: 0 0 16px; }
body.hd4k .hd4k-catbody li { margin: 0 0 8px; }
body.hd4k .hd4k-catbody li::marker { color: var(--hd-red); font-weight: 700; }
body.hd4k .hd4k-catbody strong { color: #fff; }
body.hd4k .hd4k-catbody .hd4k-ptoc ol { columns: 2; column-gap: 28px; margin: 0; }
@media (max-width: 760px) {
  body.hd4k .hd4k-catbody { padding: 22px 18px; }
  body.hd4k .hd4k-catbody .hd4k-ptoc ol { columns: 1; }
}

/* ---------- Blog posts (site/blog.js) ---------- */
body.hd4k.single-post .site-main { max-width: 860px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
body.hd4k.single-post .site-main .page-header h1.entry-title { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.12; margin-bottom: 18px; }
body.hd4k.single-post .page-content { font-size: 17.5px; line-height: 1.8; }
body.hd4k.single-post .page-content h2 { font-size: clamp(24px, 2.8vw, 30px); margin: 42px 0 14px; scroll-margin-top: 110px; }
body.hd4k.single-post .page-content h3 { font-size: 19px; margin: 26px 0 8px; }
body.hd4k.single-post .page-content ul { list-style: disc; padding-left: 22px; }
body.hd4k.single-post .page-content ol { list-style: decimal; padding-left: 22px; }
body.hd4k.single-post .page-content li { margin: 0 0 10px; }
body.hd4k.single-post .page-content li::marker { color: var(--hd-red); font-weight: 700; }
body.hd4k.single-post .page-content strong { color: #fff; }
body.hd4k.single-post .page-content .hd4k-ptoc ol { columns: 2; column-gap: 28px; margin: 0; }
body.hd4k .hd4k-bhero { margin: 0 0 28px; }
body.hd4k .hd4k-bhero img { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--hd-border); display: block; }
body.hd4k .hd4k-bfig { margin: 26px 0; }
body.hd4k .hd4k-bfig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; border: 1px solid var(--hd-border); display: block; }
body.hd4k .hd4k-bfig figcaption { font-size: 14px; color: var(--hd-muted); margin-top: 8px; }
body.hd4k .hd4k-bcta { margin: 40px 0 0; padding: 22px 24px; border-radius: 18px; background: linear-gradient(135deg, rgba(255,45,79,.14), rgba(255,122,61,.08)); border: 1px solid rgba(255,45,79,.35); color: #e8ecf5; }
body.hd4k .hd4k-bcta strong { display: block; font-family: var(--hd-font-head); font-size: 20px; margin-bottom: 6px; }
@media (max-width: 760px) { body.hd4k.single-post .page-content .hd4k-ptoc ol { columns: 1; } }

/* ---------- Blog category / archive pages ---------- */
body.hd4k.category .site-main, body.hd4k.blog .site-main { max-width: 1180px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
body.hd4k.category .archive-description { max-width: 820px; font-size: 18px; color: #c3cbdc; margin: 10px 0 28px; }
body.hd4k.category .page-content, body.hd4k.blog .page-content { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
body.hd4k.category .page-content > section, body.hd4k.category .page-content > div:empty { grid-column: 1 / -1; }
body.hd4k.category article.post, body.hd4k.blog article.post { background: var(--hd-surface); border: 1px solid var(--hd-border); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; transition: transform .3s, border-color .3s; }
body.hd4k.category article.post:hover, body.hd4k.blog article.post:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); }
body.hd4k.category article.post img, body.hd4k.blog article.post img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 14px; order: -1; }
body.hd4k.category article.post h2.entry-title, body.hd4k.blog article.post h2.entry-title { font-size: 20px; line-height: 1.3; margin: 0; }
body.hd4k.category article.post h2.entry-title a, body.hd4k.blog article.post h2.entry-title a { color: #fff !important; }
body.hd4k.category article.post p, body.hd4k.blog article.post p { font-size: 15px; color: var(--hd-muted); margin: 0; }
body.hd4k .hd4k-blogcat { margin-top: 48px; }

/* ---------- Thank-you page ---------- */
body.hd4k .woocommerce-order { max-width: 760px; margin: 0 auto; }
body.hd4k .woocommerce-order > .woocommerce-notice--success, body.hd4k .woocommerce-order .woocommerce-thankyou-order-received:empty, body.hd4k .woocommerce-order-overview { display: none !important; }
body.hd4k.woocommerce-order-received .site-main h1.entry-title { text-align: center; }
body.hd4k.woocommerce-order-received .hd4k-steps-bar { max-width: 760px; margin-left: auto; margin-right: auto; }
body.hd4k .hd4k-ty { background: var(--hd-surface); border: 1px solid var(--hd-border); border-radius: 22px; padding: 30px; margin: 0 0 30px; box-shadow: var(--hd-shadow); }
body.hd4k .hd4k-ty__head { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid var(--hd-border); }
body.hd4k .hd4k-ty__check { flex: 0 0 54px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(46,229,157,.14); color: var(--hd-green); font-size: 26px; font-weight: 800; box-shadow: 0 0 0 6px rgba(46,229,157,.06); }
body.hd4k .hd4k-ty__eyebrow { margin: 0 0 4px !important; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hd-green) !important; }
body.hd4k .hd4k-ty h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 30px); }
body.hd4k .hd4k-ty__head p:last-child { margin: 0; color: #c3cbdc; }
body.hd4k .hd4k-ty__steps { list-style: none; margin: 0; padding: 0; }
body.hd4k .hd4k-ty__steps > li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--hd-border); margin: 0; }
body.hd4k .hd4k-ty__steps > li:last-child { border-bottom: 0; padding-bottom: 0; }
body.hd4k .hd4k-ty__n { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--hd-grad); color: #fff; font: 700 14px/1 var(--hd-font-head); margin-top: 2px; }
body.hd4k .hd4k-ty__body { flex: 1; min-width: 0; }
body.hd4k .hd4k-ty__label { display: block; font-size: 13px; font-weight: 600; color: var(--hd-muted); margin-bottom: 8px; }
body.hd4k .hd4k-ty__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #0d1426; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 10px 10px 10px 16px; }
body.hd4k .hd4k-ty__value { color: #fff; font: 700 18px/1.3 var(--hd-font-head); overflow-wrap: anywhere; }
body.hd4k .hd4k-ty__value--email { font-size: 16px; }
body.hd4k .hd4k-ty .hd4k-copy, body.hd4k .site-main .hd4k-ty button.hd4k-copy { flex: 0 0 auto; background: rgba(255,255,255,.08) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.18) !important; border-radius: 9px !important; padding: 8px 16px !important; font: 600 13.5px/1 var(--hd-font-body) !important; box-shadow: none !important; cursor: pointer; transform: none !important; }
body.hd4k .hd4k-ty .hd4k-copy:hover { background: rgba(255,255,255,.16) !important; }
body.hd4k .hd4k-ty .hd4k-copy.is-copied { background: var(--hd-green) !important; border-color: var(--hd-green) !important; color: #06281a !important; }
body.hd4k .hd4k-ty__warn { margin: 10px 0 0 !important; padding: 10px 14px; border-radius: 10px; background: rgba(255,122,61,.1); border: 1px solid rgba(255,122,61,.35); color: #ffd9c7 !important; font-size: 14px; }
body.hd4k .hd4k-ty__warn b { color: #fff; }
body.hd4k .hd4k-ty__text { margin: 0 0 12px !important; font-size: 15px; }
body.hd4k .hd4k-ty__contact { display: flex; flex-wrap: wrap; gap: 10px; }
body.hd4k .hd4k-ty__contact--paid { padding-top: 20px; }
body.hd4k .site-main a.hd4k-ty__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font: 600 14.5px/1.2 var(--hd-font-head); color: #fff !important; text-decoration: none; transition: transform .2s; }
body.hd4k .site-main a.hd4k-ty__btn:hover { transform: translateY(-2px); color: #fff !important; }
body.hd4k .site-main a.hd4k-ty__btn--wa { background: #25d366; box-shadow: 0 10px 24px -10px rgba(37,211,102,.7); }
body.hd4k .site-main a.hd4k-ty__btn--mail { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
body.hd4k .woocommerce-order-details, body.hd4k .woocommerce-customer-details { background: var(--hd-surface); border: 1px solid var(--hd-border); border-radius: 18px; padding: 22px 24px; margin: 0 0 20px; }
body.hd4k .woocommerce-order-details h2, body.hd4k .woocommerce-customer-details h2 { font-size: 19px; margin: 0 0 14px; }
body.hd4k .woocommerce-order-details table.shop_table { border: 0 !important; margin: 0; }
body.hd4k .woocommerce-order-details table.shop_table th, body.hd4k .woocommerce-order-details table.shop_table td { background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--hd-border) !important; padding: 11px 4px !important; }
body.hd4k .woocommerce-order-details table.shop_table tfoot tr:last-child th, body.hd4k .woocommerce-order-details table.shop_table tfoot tr:last-child td { border-bottom: 0 !important; color: #fff; font-family: var(--hd-font-head); font-size: 18px; }
body.hd4k .woocommerce-customer-details address { border: 0 !important; padding: 0 !important; color: #c3cbdc; font-style: normal; line-height: 1.7; }
@media (max-width: 560px) {
  body.hd4k .hd4k-ty { padding: 22px 18px; }
  body.hd4k .hd4k-ty__steps > li { gap: 12px; }
  body.hd4k .hd4k-ty__contact { flex-direction: column; }
}

@media (max-width: 900px) {
  body.hd4k form.woocommerce-checkout { grid-template-columns: 1fr; }
  body.hd4k form.woocommerce-checkout #customer_details, body.hd4k form.woocommerce-checkout #order_review_heading, body.hd4k form.woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; }
  body.hd4k form.woocommerce-checkout #order_review_heading { margin-top: 26px; }
  body.hd4k form.woocommerce-checkout #order_review { position: static; }
}
@media (max-width: 560px) {
  body.hd4k .hd4k-steps-bar { gap: 6px; }
  body.hd4k .hd4k-steps-bar li { flex-direction: column; text-align: center; font-size: 12px; padding: 10px 6px; gap: 6px; }
  body.hd4k form.woocommerce-checkout #customer_details { padding: 20px 16px; }
  body.hd4k form.woocommerce-checkout .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
  body.hd4k form.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first, body.hd4k form.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last { grid-column: 1; }
  body.hd4k .hd4k-devices__grid { grid-template-columns: 1fr; }
}

/* Block checkout selects (keep WooCommerce's own padding so the floating label fits) */
body.hd4k .wc-blocks-components-select .wc-blocks-components-select__container { background: #0d1426 !important; border: 1px solid rgba(255,255,255,.15) !important; border-radius: 12px !important; box-shadow: none !important; }
body.hd4k .wc-blocks-components-select .wc-blocks-components-select__select { background: transparent !important; color: #fff !important; border: 0 !important; box-shadow: none !important; }
body.hd4k .wc-blocks-components-select .wc-blocks-components-select__label { color: var(--hd-muted) !important; }
body.hd4k .wc-blocks-components-select .wc-blocks-components-select__select option { background: #0d1426; color: #fff; }
body.hd4k .wc-blocks-components-select .wc-blocks-components-select__expand { fill: #fff !important; }
body.hd4k .wc-block-components-button, body.hd4k .wc-block-components-button:hover, body.hd4k .wc-block-cart__submit-button, body.hd4k .wc-block-cart__submit-button:hover { text-decoration: none !important; }
body.hd4k .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { background: #0d1426 !important; border-color: rgba(255,255,255,.3) !important; }

/* Free trial: summary on the thank-you card + trial box on paid product pages */
body.hd4k .hd4k-ty__summary { list-style: none; margin: 22px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
body.hd4k .hd4k-ty__summary li { margin: 0; padding: 12px 14px; border: 1px solid var(--hd-border); border-radius: 12px; background: rgba(255,255,255,.03); }
body.hd4k .hd4k-ty__summary span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--hd-muted); margin-bottom: 4px; }
body.hd4k .hd4k-ty__summary strong { color: #fff; font-size: 15px; }
body.hd4k .hd4k-ty--trial a.hd4k-ty__value--email { color: #fff; text-decoration: none; }
body.hd4k .hd4k-trialbox { margin: 18px 0 0; padding: 16px 18px; border: 1px dashed rgba(34,211,238,.45); border-radius: 14px; background: rgba(34,211,238,.06); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
body.hd4k .hd4k-trialbox p { margin: 0; flex: 1 1 260px; color: #c3cbdc; font-size: 15px; }
body.hd4k .hd4k-trialbox strong { color: #fff; }
