/* 4K Live IPTV (4ktvlive.store)
   Broadcast look: deep navy chrome, crisp white reading areas, electric
   lime (#c8f031) for action, a red "live" dot as the only warm accent. */

:root {
  --navy: #0a1730;
  --navy-2: #12224a;
  --navy-3: #1d3361;
  --bg: #ffffff;
  --bg-soft: #f2f5fb;
  --line: #dde3ef;
  --text: #0f1b33;
  --text-soft: #47546e;
  --text-mute: #74809a;
  --lime: #c8f031;
  --lime-dark: #9fc414;
  --live: #ff3b5c;
  --ok: #138a52;
  --err: #c62828;
  --r: 8px;
  --r-lg: 14px;
  --w: 1180px;
  --w-prose: 760px;
  --ease: cubic-bezier(0.3, 0.7, 0.2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Inter", "Segoe UI", -apple-system, sans-serif; font-size: 16px; line-height: 1.68; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: #2450c9; text-decoration: none; font-weight: 500; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 { font-family: "Archivo", "Inter", sans-serif; color: var(--navy); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 3.6vw + 1rem, 3.7rem); }
h2 { font-size: clamp(1.6rem, 2.2vw + 1rem, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
h1 mark, h2 mark { background: var(--lime); color: var(--navy); padding: 0 0.15em; border-radius: 4px; }
p { margin: 0 0 1em; color: var(--text-soft); }
ul, ol { color: var(--text-soft); }
strong { color: var(--text); }
code { background: var(--bg-soft); padding: 1px 6px; border-radius: 4px; font-size: 0.9em; overflow-wrap: anywhere; }

.container { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.prose { max-width: var(--w-prose); }
.prose h2 { margin-top: 2em; }
.prose h2:first-of-type { margin-top: 0.5em; }
.prose h3 { margin-top: 1.5em; }
.prose li { margin-bottom: 6px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--lime); color: var(--navy); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--navy); border-bottom: 1px solid var(--navy-3); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand-mark { flex-shrink: 0; display: flex; }
.brand-mark svg { display: block; height: 30px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { color: #c9d3ea; font-size: 0.9rem; font-weight: 600; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--lime); text-decoration: none; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--navy-3); color: #fff; border-radius: var(--r); padding: 8px 14px; font: inherit; font-weight: 600; font-size: 0.88rem; cursor: pointer; }
.main-nav-cta { display: none; }
@media (max-width: 1040px) {
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 68px); background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity 180ms var(--ease), transform 180ms var(--ease); overflow-y: auto; }
  .main-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .main-nav a { padding: 15px 0; border-bottom: 1px solid var(--navy-3); font-size: 1.05rem; color: #fff; }
  .main-nav-cta { display: grid; gap: 10px; margin-top: 18px; }
  .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 0.94rem; padding: 11px 22px; border-radius: var(--r); border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: transform 140ms var(--ease), background 140ms var(--ease), color 140ms var(--ease), border-color 140ms var(--ease); }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--lime); color: var(--navy); }
.btn-primary:hover { background: #d9ff4a; color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.site-header .btn-ghost, .site-footer .btn-ghost, .hero-dark .btn-ghost, .cta-banner .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.site-header .btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* Sections */
section { padding: 80px 0; }
section.tight { padding: 50px 0; }
.section-head { max-width: 700px; margin: 0 auto 42px; text-align: center; }
.section-head.left { margin: 0 0 34px; text-align: left; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: "Archivo", sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); background: var(--lime); padding: 4px 10px; border-radius: 4px; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.bg-quiet { background: var(--bg-soft); }
.bg-dark { background: var(--navy); }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark p { color: #b8c3dd; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero-copy p.lead { font-size: 1.13rem; max-width: 56ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-media svg, .hero-media img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(10, 23, 48, 0.55); }
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-media { max-width: 480px; } }
.hero-solo { text-align: center; }
.hero-solo .hero-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.hero-solo .hero-copy p.lead { margin: 0 auto; }
.hero-solo .hero-actions { justify-content: center; }
.hero-dark { background: radial-gradient(circle at 90% 0%, rgba(200, 240, 49, 0.14), transparent 40%), var(--navy); }
.hero-dark h1 { color: #fff; }
.hero-dark .hero-copy p.lead { color: #b8c3dd; }
.hero-dark .btn-ghost-on-dark:hover { background: #fff; color: var(--navy); }
.hero-aurora { display: none; }
.hero-trust-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 42px; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 600; color: var(--text); background: var(--bg-soft); padding: 7px 12px; border-radius: 999px; }
.trust-check { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-dark); }
.hero-dark .trust-item { background: var(--navy-2); color: #dfe6f6; }
.hero-dark .trust-check { background: var(--lime); }

/* Stats */
.stats-strip { background: var(--lime); padding: 26px 0; }
.stats-strip-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat-item { display: flex; flex-direction: column; }
.stat-number { font-family: "Archivo", sans-serif; font-weight: 800; font-size: clamp(1.6rem, 1.8vw + 1rem, 2.3rem); color: var(--navy); letter-spacing: -0.02em; }
.stat-label { font-size: 0.85rem; color: var(--navy-2); font-weight: 600; }
@media (max-width: 760px) { .stats-strip-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Grids & cards */
.grid { display: grid; gap: 20px; }
.grid-1 { grid-template-columns: minmax(0, 1fr); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.card:hover { border-color: #b9c5de; box-shadow: 0 16px 34px -24px rgba(10, 23, 48, 0.4); }
.card h3, .card .card-title { margin-bottom: 8px; }
.card .card-title { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--navy); line-height: 1.2; }
.card p { margin: 0; font-size: 0.95rem; }
.card-accent { border-top: 4px solid var(--lime); }
.feature-icon { width: 42px; height: 42px; border-radius: var(--r); background: var(--navy); color: var(--lime); display: flex; align-items: center; justify-content: center; font-family: "Archivo", sans-serif; font-weight: 800; font-size: 0.85rem; margin-bottom: 14px; }

/* Badges */
.badge { display: inline-flex; align-items: center; font-size: 0.72rem; font-weight: 700; padding: 4px 9px; border-radius: 4px; background: var(--bg-soft); color: var(--navy); }
.badge-brand { background: var(--navy); color: var(--lime); }
.badge-success { background: #e3f6ec; color: var(--ok); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .pricing-grid { grid-template-columns: minmax(0, 1fr); } }
.plan-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 22px 24px; }
.plan-card.highlight { background: var(--navy); border-color: var(--navy); }
.plan-card.highlight h3, .plan-card.highlight .plan-price { color: #fff; }
.plan-card.highlight p, .plan-card.highlight li, .plan-card.highlight .plan-permonth { color: #c9d3ea; }
.plan-card.highlight .plan-secondary-link { color: var(--lime); }
.plan-card .tag { position: absolute; top: -11px; left: 22px; background: var(--lime); color: var(--navy); }
.plan-card h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-mute); }
.plan-price { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 2.6rem; color: var(--navy); letter-spacing: -0.03em; line-height: 1; margin: 6px 0 10px; }
.plan-permonth { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.87rem; font-weight: 600; color: var(--text-soft); margin-bottom: 14px; }
.plan-card ul { list-style: none; padding: 14px 0 0; margin: 0 0 22px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.plan-card.highlight ul { border-top-color: var(--navy-3); }
.plan-card li { position: relative; padding-left: 22px; margin-bottom: 9px; }
.plan-card li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 3px; background: var(--lime); }
.plan-card .btn { margin-top: auto; }
.plan-secondary-link { display: block; text-align: center; margin-top: 12px; font-size: 0.84rem; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 0.93rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--navy); color: #fff; font-family: "Archivo", sans-serif; font-weight: 700; font-size: 0.84rem; letter-spacing: 0.03em; }
tbody tr:nth-child(even) td { background: var(--bg-soft); }
tbody tr:last-child td { border-bottom: 0; }
tbody td:first-child { font-weight: 600; color: var(--text); }

/* FAQ */
.faq-list { border-top: 2px solid var(--navy); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; font-family: "Archivo", sans-serif; font-weight: 700; font-size: 1.04rem; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 2px 18px; }
.faq-answer p:last-child { margin: 0; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.step { position: relative; background: var(--bg-soft); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.step .num { counter-increment: step; width: 40px; height: 40px; border-radius: var(--r); background: var(--navy); color: var(--lime); display: flex; align-items: center; justify-content: center; font-family: "Archivo", sans-serif; font-weight: 800; }
.step .num::before { content: counter(step); }
.step h3 { margin: 0 0 4px; font-size: 1.08rem; }
.step p { margin: 0; font-size: 0.94rem; }

/* Breadcrumbs */
.breadcrumbs { padding-top: 18px; font-size: 0.83rem; color: var(--text-mute); }
.breadcrumbs a { color: var(--text-mute); font-weight: 400; }
.breadcrumbs .sep { margin: 0 7px; }
.breadcrumbs + .hero, .breadcrumbs + section { padding-top: 32px; }

/* CTA banner */
.cta-banner { position: relative; overflow: hidden; background: var(--navy); border-radius: var(--r-lg); padding: 54px 44px; display: grid; gap: 8px; }
.cta-banner-glow { position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 20px; border: 3px solid var(--lime); opacity: 0.25; transform: rotate(12deg); }
.cta-banner h2 { color: #fff; margin: 0; max-width: 24ch; position: relative; }
.cta-banner p { color: #b8c3dd; margin: 0; max-width: 52ch; position: relative; }
.cta-banner-actions { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 18px; }
.cta-banner-link { color: var(--lime); font-weight: 600; }

/* Forms */
.form-field { margin-bottom: 16px; }
label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; font-size: 0.95rem; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(200, 240, 49, 0.55); }
textarea { resize: vertical; min-height: 130px; }
.form-hint { font-size: 0.8rem; color: var(--text-mute); margin: 7px 0 0; }
.form-alert { display: none; padding: 13px 15px; border-radius: var(--r); font-size: 0.92rem; margin-bottom: 18px; }
.form-alert.success { background: #e3f6ec; color: var(--ok); border: 1px solid #b9e4cd; }
.form-alert.error { background: #fdecec; color: var(--err); border: 1px solid #f5c2c2; }
.form-alert.visible { display: block; }
form.card { border: 2px solid var(--navy); padding: 28px; }
.form-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .form-split { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Callouts */
.alert { margin: 18px 0; padding: 16px 18px; border-radius: var(--r); background: var(--bg-soft); font-size: 0.94rem; }
.alert p:last-child { margin: 0; }
.alert-brand { background: #f6fbe0; border-left: 4px solid var(--lime-dark); }
.alert-tip { background: #e8f6ef; border-left: 4px solid var(--ok); }
.answer-box { background: var(--navy); color: #e5ebf8; border-radius: var(--r-lg); padding: 22px 24px; margin: 0 0 28px; }
.answer-box p { color: #dfe6f6; }
.answer-box strong { color: var(--lime); }
.answer-box a { color: var(--lime); }
.answer-box p:last-child { margin: 0; }

/* Footer */
.site-footer { background: var(--navy); color: #b8c3dd; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 30px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }
.footer-about p { color: #b8c3dd; font-size: 0.92rem; max-width: 38ch; margin: 14px 0 18px; }
.footer-col-title { color: var(--lime); font-family: "Archivo", sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid li a { color: #c9d3ea; font-size: 0.9rem; font-weight: 400; }
.footer-grid li a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--navy-3); font-size: 0.8rem; }
.footer-bottom a { color: var(--lime); }

/* Articles */
h2[id], h3[id], section[id] { scroll-margin-top: 80px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.85rem; color: var(--text-mute); margin: 6px 0 24px; }
.toc { border: 1px solid var(--line); border-left: 4px solid var(--lime); border-radius: var(--r); padding: 18px 22px; margin: 0 0 32px; }
.toc-title { font-family: "Archivo", sans-serif; font-weight: 700; color: var(--navy); margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 26px; }
.toc li { margin-bottom: 7px; font-size: 0.93rem; break-inside: avoid; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.check-list { list-style: none; padding: 0; margin: 14px 0 0; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 3px; background: var(--lime); box-shadow: inset 0 0 0 4px var(--navy); }
.key-takeaways { list-style: none; padding: 0; margin: 0; }
.key-takeaways li { position: relative; padding-left: 22px; margin-bottom: 10px; }
.key-takeaways li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Marquee */
.marquee { overflow: hidden; padding: 16px 0; background: var(--navy-2); }
.marquee-track { display: flex; width: max-content; gap: 26px; animation: marquee-scroll 40s linear infinite; }
.marquee-item { color: #fff; font-family: "Archivo", sans-serif; font-weight: 700; font-size: 0.92rem; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.06em; }
.marquee-item::before { content: "\25CF"; color: var(--live); margin-right: 26px; font-size: 0.7rem; vertical-align: middle; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Utilities */
.text-center { text-align: center; }
.small { font-size: 0.86rem; }
.muted { color: var(--text-mute); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 450ms var(--ease), transform 450ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.grid > *, .form-split > *, .split > *, .hero-grid > *, .footer-grid > * { min-width: 0; }
h1, h2, h3, p, li, td, th { overflow-wrap: break-word; }

@media (max-width: 640px) {
  section { padding: 54px 0; }
  .hero { padding: 44px 0 40px; }
  h1 { font-size: clamp(1.95rem, 8.5vw, 2.4rem); }
  h2 { font-size: clamp(1.45rem, 6.5vw, 1.8rem); }
  .container { padding: 0 16px; }
  .card, .plan-card, form.card { padding: 20px; }
  .hero-actions, .cta-banner-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta-banner-actions .btn { width: 100%; }
  .cta-banner { padding: 40px 22px; }
  .breadcrumbs { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 1ms !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
