:root {
  --white: #FFFFFF;
  --snow: #FAF9F7;
  --amaranth-50: #FFF1F2;
  --amaranth-600: #C81E3A;
  --amaranth-700: #A6162E;
  --sky-600: #0284C7;
  --graphite: #1E2430;
  --muted-700: #3E4756;
  --muted-500: #6B7280;
  --line: #E5E7EB;
  --radius-2xl: 28px;
  --radius-xl: 20px;
  --radius-lg: 14px;
  --shadow-island: 0 12px 34px rgba(30, 36, 48, 0.07);
  --shadow-hover: 0 24px 54px rgba(200, 30, 58, 0.12);
}

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

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--graphite);
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-name {
  font-family: 'Archivo', 'Manrope', sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.14;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1240px, 92%);
  margin: 0 auto;
}

/* Floating Pill Island Header on Pure White */
.island-header-wrap {
  position: sticky;
  top: 12px;
  z-index: 80;
  padding: 6px 0;
}

.island-nav {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px 10px 22px;
  box-shadow: var(--shadow-island);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pl-flag-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #FFFFFF 50%, #C81E3A 50%);
  border: 2px solid var(--line);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--graphite);
}

.brand-name span {
  color: var(--amaranth-600);
}

.island-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.91rem;
  font-weight: 700;
  color: var(--muted-700);
}

.island-links a:hover {
  color: var(--amaranth-600);
}

.island-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* PL / EN Toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--snow);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}

.lang-chip {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.79rem;
  font-weight: 800;
  color: var(--muted-700);
  cursor: pointer;
  transition: all 0.18s ease;
}

.lang-chip.active {
  background: var(--graphite);
  color: #FFFFFF;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-amaranth {
  background: var(--amaranth-600);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(200, 30, 58, 0.24);
}

.btn-amaranth:hover {
  background: var(--amaranth-700);
}

.btn-snow {
  background: var(--white);
  color: var(--graphite);
  border: 1.5px solid var(--line);
}

.btn-snow:hover {
  border-color: var(--amaranth-600);
  color: var(--amaranth-600);
}

.btn-graphite {
  background: var(--graphite);
  color: #FFFFFF;
}

.btn-graphite:hover {
  background: #111827;
}

/* Warsaw Modernist Split Hero + 4-Quad Gallery Window on Pure White */
.hero {
  background: var(--white);
  padding: 46px 0 70px;
  border-bottom: 1px solid var(--line);
}

.hero-split {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 44px;
  align-items: center;
}

.pl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amaranth-50);
  color: var(--amaranth-600);
  border: 1px solid #FECDD3;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.25rem, 4.3vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--graphite);
}

.hero h1 .red {
  color: var(--amaranth-600);
}

.hero-lead {
  font-size: 1.06rem;
  color: var(--muted-700);
  margin-bottom: 20px;
  max-width: 575px;
}

.protocol-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.proto-tag {
  background: var(--snow);
  border: 1px solid var(--line);
  padding: 6px 13px;
  border-radius: 10px;
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--graphite);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-cta-group .btn {
  padding: 15px 26px;
  font-size: 0.98rem;
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.kpi-pill {
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 13px 15px;
}

.kpi-pill strong {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--graphite);
}

.kpi-pill span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted-500);
}

/* Right Side: Asymmetric Gallery Window */
.gallery-window {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gw-wide {
  grid-column: 1 / -1;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9.8;
  background: var(--graphite);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-island);
}

.gw-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 4.3;
  background: var(--graphite);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-island);
}

.gw-wide img,
.gw-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gw-wide:hover img,
.gw-card:hover img {
  transform: scale(1.04);
}

.gw-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--amaranth-600);
  color: #FFFFFF;
  font-size: 0.71rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
}

.gw-chip.dark {
  background: rgba(30, 36, 48, 0.88);
}

.gw-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px 15px 13px;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.94), transparent);
  color: #FFFFFF;
}

.gw-overlay h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.gw-overlay p {
  font-size: 0.78rem;
  color: #E5E7EB;
}

/* Sections */
.section {
  padding: 76px 0;
  background: var(--white);
}

.section-snow {
  background: var(--snow);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sec-head {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 42px;
}

.sec-head h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.sec-head p {
  color: var(--muted-700);
  font-size: 1.02rem;
}

/* "Co to jest IPTV Polska & M3U" 3-Step Feature Cards */
.m3u-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.m3u-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px 26px;
  box-shadow: var(--shadow-island);
  border-top: 4px solid var(--amaranth-600);
}

.m3u-step {
  display: inline-block;
  background: var(--amaranth-50);
  color: var(--amaranth-600);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.m3u-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.m3u-card p {
  font-size: 0.92rem;
  color: var(--muted-700);
}

/* 8-Poster Showcase Grid on Pure White */
.filter-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.flt-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--muted-700);
  font-family: inherit;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.flt-btn.active,
.flt-btn:hover {
  background: var(--amaranth-600);
  color: #FFFFFF;
  border-color: var(--amaranth-600);
}

.vod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.vod-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-island);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.vod-card.hidden {
  display: none;
}

.vod-poster {
  position: relative;
  aspect-ratio: 2 / 2.85;
  overflow: hidden;
  background: var(--graphite);
}

.vod-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.vod-card:hover .vod-poster img {
  transform: scale(1.04);
}

.vod-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(30, 36, 48, 0.88);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 7px;
}

.vod-label.sport {
  background: var(--amaranth-600);
}

.vod-label.tv {
  background: var(--sky-600);
}

.vod-4k {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #FFFFFF;
  color: var(--graphite);
  font-size: 0.69rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
}

.vod-meta {
  padding: 15px 16px 17px;
  background: var(--white);
}

.vod-cat {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--amaranth-600);
  margin-bottom: 4px;
}

.vod-meta h3 {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.vod-meta p {
  font-size: 0.84rem;
  color: var(--muted-500);
}

/* PLN Pricing Cards (40 zł / 80 zł / 122 zł / 200 zł) */
.pln-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.pln-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-2xl);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: var(--shadow-island);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pln-card:hover {
  transform: translateY(-4px);
  border-color: var(--amaranth-600);
}

.pln-card.vip {
  border: 2.5px solid var(--amaranth-600);
  box-shadow: var(--shadow-hover);
}

.vip-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amaranth-600);
  color: #FFFFFF;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.pln-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.pln-sub {
  font-size: 0.83rem;
  color: var(--muted-500);
  margin-bottom: 16px;
}

.pln-figure {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 8px;
}

.pln-figure .amt {
  font-family: 'Archivo', sans-serif;
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
  color: var(--graphite);
}

.pln-figure .cur {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--amaranth-600);
}

.pln-save {
  display: inline-block;
  background: var(--amaranth-50);
  color: var(--amaranth-600);
  font-size: 0.77rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.pln-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
  font-size: 0.88rem;
  color: var(--muted-700);
}

.pln-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pln-list .ck {
  color: var(--amaranth-600);
  font-weight: 800;
  flex-shrink: 0;
}

.pln-card .btn {
  width: 100%;
  padding: 14px 18px;
}

/* Trial Box */
.test-strip {
  margin-top: 38px;
  background: var(--white);
  border: 1.5px solid #FECDD3;
  border-radius: var(--radius-xl);
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-island);
}

.test-strip h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.test-strip p {
  font-size: 0.94rem;
  color: var(--muted-700);
  max-width: 660px;
}

/* FAQ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-row {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-row summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-row summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--snow);
  color: var(--amaranth-600);
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}

.faq-row[open] .faq-icon {
  background: var(--amaranth-600);
  color: #FFFFFF;
}

.faq-txt {
  padding: 14px 24px 20px;
  border-top: 1px solid var(--snow);
  color: var(--muted-700);
  font-size: 0.94rem;
}

/* Footer */
.footer {
  background: var(--snow);
  border-top: 1px solid var(--line);
  padding: 46px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--muted-500);
}

/* Floating WhatsApp Button */
.wa-btn-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  background: #16A34A;
  color: #FFFFFF;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 14px 32px rgba(22, 163, 74, 0.34);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wa-btn-float:hover {
  background: #15803D;
  transform: translateY(-2px);
}

@media (max-width: 1040px) {
  .hero-split {
    grid-template-columns: 1fr;
  }
  .m3u-grid {
    grid-template-columns: 1fr;
  }
  .vod-grid,
  .pln-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .island-links,
  .island-cta-btn {
    display: none;
  }
  .kpi-strip,
  .gallery-window,
  .vod-grid,
  .pln-grid {
    grid-template-columns: 1fr;
  }
}
