/*
Theme Name: IPTV Totaal
Theme URI: https://iptvtotaal.vip
Author: IPTV Totaal
Author URI: https://iptvtotaal.vip
Description: Complete, modern clone theme of IPTV Totaal - Beste IPTV abonnement Nederland.
Version: 1.0.1
Text Domain: iptvtotaal
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@500;600;700;800&display=swap');

:root {
  --bg: #f6f8fc;
  --bg-soft: #eef3ff;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --primary: #1d4ed8;
  --primary-2: #2563eb;
  --primary-3: #dbeafe;
  --text: #0f172a;
  --text-soft: #475569;
  --border: rgba(29, 78, 216, 0.12);
  --shadow: 0 18px 60px rgba(30, 64, 175, 0.08);
  --shadow-soft: 0 12px 34px rgba(37, 99, 235, 0.12);
  --radius: 18px;
  --radius-lg: 28px;
  --hot-bg: linear-gradient(180deg, #07111f 0%, #0d1f3a 100%);
  --hot-card: rgba(18, 37, 66, 0.92);
  --hot-border: rgba(255, 255, 255, 0.08);
  --hot-accent: #f59e0b;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100vw; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fd 100%);
  overflow-x: hidden;
  max-width: 100vw;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
section { width: 100%; box-sizing: border-box; }
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; line-height: 1.15; margin: 0 0 14px; }
p { margin: 0 0 16px; color: var(--text-soft); }
ul { margin: 0; padding: 0; list-style: none; }
table { width: 100%; border-collapse: collapse; }

.container { width: min(100%, 1180px); margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary-3);
  color: var(--primary);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.section-heading { max-width: 860px; margin-bottom: 22px; }
.section-heading h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); color: var(--text); }
.section-intro, .page-hero__lead { font-size: 1.04rem; max-width: 840px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%); color: #fff; box-shadow: var(--shadow-soft); }
.btn-secondary { background: #fff; color: var(--primary); border: 1px solid var(--border); }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.header__inner {
  width: min(100%, 1180px);
  margin: 0 auto;
  min-height: 72px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  flex-shrink: 0;
}
.header__logo img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
}
.header__logo span { color: var(--primary); }
.header__nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header__nav-item a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  font-weight: 600;
  font-size: .94rem;
}
.header__nav-item a:hover, .header__nav-item a.active { background: var(--bg-soft); color: var(--primary); }
.header__cta { color: #fff !important; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%); }
.header__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--bg-soft);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.header__toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transition: .25s ease;
}
.header__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__toggle.active span:nth-child(2) { opacity: 0; }
.header__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header__mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  z-index: 48;
}
.header__mobile-overlay.active { opacity: 1; pointer-events: auto; }
.header__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -320px;
  width: min(86vw, 320px);
  height: 100vh;
  background: #fff;
  border-left: 1px solid rgba(15, 23, 42, 0.06);
  padding: 92px 18px 24px;
  transition: right .28s ease;
  z-index: 49;
  box-shadow: -20px 0 40px rgba(15, 23, 42, 0.08);
}
.header__mobile-menu.active { right: 0; }
.header__mobile-menu .header__nav-list { display: grid; gap: 8px; }
.header__mobile-menu .header__nav-item a {
  width: 100%;
  min-height: 48px;
  justify-content: flex-start;
  border-radius: 16px;
  background: var(--surface-soft);
}
.mobile-cta { margin-top: 16px; width: 100%; }
.big-404 { font-size: clamp(4rem, 16vw, 8rem); line-height: .95; color: var(--primary); }

.hero {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 60px 0 40px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #eff5ff 100%);
}
.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: stretch;
  box-sizing: border-box;
}
.hero__content { word-break: break-word; overflow-wrap: break-word; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow);
  font-weight: 700;
}
.hero__content h1 {
  font-size: clamp(2rem, 8vw, 4.4rem);
  margin-top: 14px;
  max-width: 12ch;
}
.hero__tagline {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  max-width: 54ch;
}
.hero__desc { max-width: 62ch; }
.hero__actions, .page-hero__actions, .cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.hero__stat, .brief-feature, .mini-card, .faq-card, .review-card, .step-card, .content-block, .pricing-card, .gallery-card, .table-wrap, .page-hero, .cta-strip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero__stat {
  padding: 14px;
  display: grid;
  gap: 6px;
}
.hero__stat strong { font-size: 1.2rem; color: var(--primary); }
.hero__visual { max-width: 100%; overflow: hidden; }

.tv-wrapper {
  max-width: 100%;
  border-radius: 28px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.8), rgba(219,234,254,.55));
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
}
.tv-content {
  background: var(--hot-bg);
  border-radius: 24px;
  padding: 18px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.05);
}
.tv-header, .tv-footer, .tv-logo, .tv-logo-area, .status-pill, .tv-icon-group {
  display: flex;
  align-items: center;
}
.tv-header {
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.tv-logo-area { gap: 12px; }
.tv-logo { gap: 8px; font-weight: 700; }
.tv-logo-icon { width: 22px; height: 22px; color: var(--hot-accent); }
.tv-version { color: rgba(255,255,255,.62); font-size: .82rem; }
.status-pill {
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  font-size: .85rem;
}
.status-active { color: #fff; }
.status-divider { width: 1px; height: 16px; background: rgba(255,255,255,.12); }
.status-expire { color: rgba(255,255,255,.72); }
.tv-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.tv-card {
  min-height: 130px;
  padding: 16px 14px;
  border-radius: 18px;
  background: var(--hot-card);
  border: 1px solid var(--hot-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  transition: transform .2s ease, filter .2s ease;
}
.tv-card:hover { transform: translateY(-2px) scale(1.01); filter: brightness(1.08); }
.tv-card.active { outline: 1px solid rgba(245, 158, 11, .45); box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .18); }
.tv-card-icon svg, .tv-card-icon img { width: 52px; height: 52px; object-fit: contain; }
.tv-footer { justify-content: center; }
.tv-icon-group { gap: 12px; }
.tv-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
}

.marquee {
  overflow: hidden;
  margin-top: 20px;
  border-radius: 24px;
}
.marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: slide 38s linear infinite;
  padding: 4px 0;
}
.gallery-card {
  width: 200px;
  padding: 8px;
  background: rgba(255,255,255,.86);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.section--logos .gallery-card {
  background: linear-gradient(180deg, #1d4ed8 0%, #2563eb 100%);
  border: 1px solid rgba(37, 99, 235, 0.28);
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.22);
}
.gallery-card img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  background: rgba(255,255,255,.4);
  border: 1px solid rgba(255,255,255,.35);
}
.section--logos .gallery-card img {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}
.marquee--logos .gallery-card img { aspect-ratio: 16 / 9; }
.marquee--devices .gallery-card img { aspect-ratio: 1 / 1; object-fit: cover; }
.marquee--sport .gallery-card img { aspect-ratio: 9 / 16; }
.marquee--wtsp .gallery-card img { aspect-ratio: 473 / 1024; }
.marquee--movies .gallery-card img, .marquee--preview .gallery-card img { aspect-ratio: 16 / 10; }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section--sport-dark {
  background: linear-gradient(180deg, #0f172a 0%, #162340 100%);
}
.section--sport-dark h2, .section--sport-dark p, .section--sport-dark .eyebrow { color: #fff; }
.section--sport-dark .eyebrow { background: rgba(255,255,255,.12); }

.compare-table th, .compare-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}
.compare-table thead th {
  background: var(--bg-soft);
  color: var(--primary);
  font-size: .92rem;
}
.compare-table tbody th { color: var(--text); }
.table-wrap { overflow-x: auto; padding: 8px; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.pricing-card { position: relative; padding: 22px; }
.pricing-card--featured {
  background: linear-gradient(180deg, #1d4ed8 0%, #2563eb 100%);
  color: #fff;
}
.pricing-card--featured p,
.pricing-card--featured li,
.pricing-card--featured a:not(.btn),
.pricing-card--featured h3 { color: #fff; }
.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f59e0b;
  color: #0f172a;
  font-size: .8rem;
  font-weight: 800;
}
.pricing-price { font-size: 2rem; font-weight: 800; color: var(--primary); }
.pricing-card--featured .pricing-price { color: #fff; }
.pricing-features { display: grid; gap: 10px; margin: 18px 0 22px; }
.pricing-features li {
  padding-left: 18px;
  position: relative;
  font-size: .95rem;
}
.pricing-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}
.pricing-card--featured .pricing-features li::before { color: #fff; }
.feature-check::before { content: '✓' !important; color: #16a34a !important; }
.feature-cross::before { content: '✕' !important; color: #dc2626 !important; }
.feature-muted { color: #94a3b8; text-decoration: line-through; }
.pricing-card--trial { margin-top: 16px; }
.multiscreen-grid, .reviews-grid, .faq-grid, .brief-feature-grid, .steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.mini-card, .step-card, .faq-card, .review-card, .brief-feature, .content-block, .page-hero, .cta-strip {
  padding: 22px;
}
.step-no, .verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 32px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 12px;
}
.review-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.review-stars { color: #f59e0b; margin-bottom: 10px; }
.rating-summary {
  margin-bottom: 12px;
  font-weight: 800;
  color: var(--primary);
}

.page-hero {
  margin: 34px auto 0;
  width: min(100% - 32px, 1180px);
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
.content-block {
  width: min(100% - 32px, 1180px);
  margin: 16px auto 0;
}
.content-block h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.text-link {
  display: inline-flex;
  margin-right: 16px;
  color: var(--primary);
  font-weight: 700;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #f8fbff;
  color: var(--text);
}
.contact-form textarea { resize: vertical; }
.cta-strip {
  display: grid;
  gap: 16px;
  align-items: center;
}
.inline-links { margin-top: 12px; }

.footer {
  padding: 34px 0 26px;
  background: #0f172a;
  color: rgba(255,255,255,.84);
}
.footer p, .footer a { color: rgba(255,255,255,.78); }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.footer__col {
  padding: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
}
.footer__col h3 { color: #fff; margin-bottom: 14px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__bottom {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: grid;
  gap: 14px;
}
.footer__brand { color: #fff; font-weight: 800; }
.footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 16px 40px 16px;
  }
  .hero__actions, .page-hero__actions, .cta-strip__actions { justify-content: center; }
}

@media (max-width: 980px) {
  .header__nav { display: none; }
  .header__toggle { display: inline-flex; }
  .header__mobile-overlay,
  .header__mobile-menu { display: block; }
}

@media (min-width: 768px) {
  .hero__stats,
  .pricing-grid,
  .multiscreen-grid,
  .reviews-grid,
  .faq-grid,
  .brief-feature-grid,
  .steps-grid,
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-strip { grid-template-columns: 1.5fr auto; }
}

@media (min-width: 1024px) {
  .hero { padding: 74px 0 56px; }
  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 42px;
  }
  .hero__content, .hero__visual { flex: 1; }
  .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .multiscreen-grid, .reviews-grid, .brief-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* Review Stars styling */
.review-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin: 6px 0 10px;
  line-height: 1;
}

/* Additional Theme Features & Enhancements */
.header__nav-item a.active {
  color: var(--primary);
  font-weight: 700;
  position: relative;
}
.header__nav-item a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff !important;
  padding: 12px 20px 12px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
}
.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}
.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.floating-whatsapp .pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  border: 2px solid #25D366;
  animation: wa-pulse 2s infinite ease-out;
  pointer-events: none;
}
@keyframes wa-pulse {
  0% { transform: scale(0.95); opacity: 1; }
  100% { transform: scale(1.2); opacity: 0; }
}

/* FAQ Interactive Accordion Enhancements */
.faq-card {
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  position: relative;
}
.faq-card:hover {
  border-color: var(--primary-2);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}
.faq-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.faq-card h3::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  transition: transform .25s ease;
  line-height: 1;
}
.faq-card.is-open h3::after {
  content: '−';
  transform: rotate(180deg);
}
