/*
Theme Name: TV Compleet
Theme URI: https://tvcompleet.nl
Author: Velox Hosting
Author URI: https://veloxhosting.nl
Description: Dé Nederlandse IPTV gids — een modern, donker informatief thema voor IPTV content. Single-page layout met secties voor introductie, voordelen, stappenplan en ondersteunde apparaten.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tv-compleet
Tags: one-page, landing-page, dark-mode, custom-menu, custom-logo, translation-ready
*/

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

:root {
  --accent: #3b82f6;
  --accent-glow: rgba(59,130,246,0.35);
  --accent-soft: rgba(59,130,246,0.12);
  --bg: #0c1220;
  --bg2: #111827;
  --glass: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.09);
  --text: #f0f4ff;
  --text-muted: rgba(200,215,255,0.55);
  --text-dim: rgba(200,215,255,0.35);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Noise texture overlay */
.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ========== NAV ========== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(12,18,32,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); box-shadow: 0 4px 20px var(--accent-glow); }

/* ========== SECTIONS ========== */
section { position: relative; z-index: 2; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
}
.hero-inner { max-width: 760px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  color: #93c5fd;
  font-weight: 500;
  margin-bottom: 32px;
  letter-spacing: 0.3px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #f0f4ff 0%, #93c5fd 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 44px;
  font-weight: 300;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: white;
  border: none;
  padding: 15px 36px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 0 0 var(--accent-glow);
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); opacity: 0.9; }

.btn-secondary {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text);
  padding: 15px 36px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.09); transform: translateY(-2px); }

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--glass-border);
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

/* ========== SCROLL REVEAL ========== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========== SECTION COMMON ========== */
.section-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px;
}
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 560px;
  font-weight: 300;
}

/* ========== GLASS CARD ========== */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* ========== WAT IS IPTV ========== */
.iptv-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 64px;
}
.iptv-visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(99,102,241,0.08));
  border: 1px solid var(--glass-border);
}
.iptv-visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}
.tv-icon {
  width: 140px; height: 100px;
  border-radius: 12px;
  border: 3px solid rgba(59,130,246,0.5);
  background: rgba(59,130,246,0.07);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tv-icon::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 50%; transform: translateX(-50%);
  width: 50px; height: 10px;
  border-radius: 4px;
  background: rgba(59,130,246,0.3);
}
.tv-signal {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 12px #3b82f6;
  animation: pulse 1.5s ease-in-out infinite;
}
.signal-rings {
  position: absolute;
  top: 12px; right: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-end;
}
.signal-ring {
  height: 3px;
  border-radius: 2px;
  background: rgba(59,130,246,0.6);
  animation: signalPulse 1.8s ease-in-out infinite;
}
.signal-ring:nth-child(1) { width: 16px; animation-delay: 0s; }
.signal-ring:nth-child(2) { width: 11px; animation-delay: 0.2s; }
.signal-ring:nth-child(3) { width: 6px; animation-delay: 0.4s; }
@keyframes signalPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

.iptv-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(59,130,246,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(59,130,246,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.iptv-label {
  margin-top: 36px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}
.iptv-content p { color: var(--text-muted); font-size: 16px; line-height: 1.75; margin-bottom: 12px; }
.iptv-content p strong { color: var(--text); }
.iptv-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.iptv-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.iptv-point-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.iptv-point-text h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.iptv-point-text p { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* ========== VOORDELEN ========== */
.voordelen-bg {
  background: linear-gradient(180deg, transparent 0%, rgba(59,130,246,0.04) 50%, transparent 100%);
}
.voordelen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.voordeel-card {
  padding: 32px 28px;
  border-radius: 18px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.voordeel-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.voordeel-card:hover { transform: translateY(-4px); border-color: rgba(59,130,246,0.25); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.voordeel-card:hover::before { opacity: 1; }
.voordeel-icon {
  font-size: 30px;
  margin-bottom: 18px;
  display: block;
}
.voordeel-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.voordeel-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ========== STAPPENPLAN ========== */
.stappen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
  position: relative;
}
.stappen-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(99,102,241,0.5), var(--accent));
  z-index: 0;
}
.stap-card {
  padding: 28px 22px;
  border-radius: 16px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform 0.25s, box-shadow 0.25s;
  will-change: transform;
  transform: translateZ(0);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(16, 24, 42, 0.98);
  border: 1px solid rgba(255,255,255,0.09);
}
.stap-card:hover { transform: translateY(-4px) translateZ(0); box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
.stap-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 20px var(--accent-glow);
}
.stap-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.stap-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ========== DISCORD CTA ========== */
.discord-cta {
  margin-top: 48px;
  padding: 32px 40px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(88,101,242,0.15), rgba(59,130,246,0.08));
  border: 1px solid rgba(88,101,242,0.3);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.discord-cta-icon { font-size: 42px; flex-shrink: 0; }
.discord-cta-text { flex: 1; min-width: 200px; }
.discord-cta-text h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.discord-cta-text p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.discord-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #5865F2;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(88,101,242,0.4);
}
.discord-btn:hover { opacity: 0.88; transform: translateY(-2px); }

/* ========== APPARATEN ========== */
.apparaten-bg {
  background: linear-gradient(180deg, transparent, rgba(99,102,241,0.04), transparent);
}
.apparaten-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.apparaat-card {
  padding: 28px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.2s, border-color 0.2s;
  cursor: default;
}
.apparaat-card:hover { transform: translateX(4px); border-color: rgba(59,130,246,0.25); }
.apparaat-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.apparaat-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.apparaat-card p { font-size: 13px; color: var(--text-muted); line-height: 1.45; }

/* ========== FOOTER ========== */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--glass-border);
  background: rgba(9,14,27,0.8);
  backdrop-filter: blur(20px);
  padding: 48px 24px;
  text-align: center;
}
.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--accent); }
.site-footer p { font-size: 13px; color: var(--text-dim); margin-top: 8px; }
.footer-links {
  display: flex;
  gap: 28px;
  justify-content: center;
  margin: 20px 0;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
.footer-links a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ========== MOBILE MENU TOGGLE ========== */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text);
  width: 40px; height: 40px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .site-nav { padding: 16px 20px; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(12,18,32,0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 16px 20px;
    border-bottom: 1px solid var(--glass-border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 12px 0; }
  .menu-toggle { display: inline-flex; }
  .iptv-layout { grid-template-columns: 1fr; }
  .voordelen-grid { grid-template-columns: 1fr 1fr; }
  .stappen-grid { grid-template-columns: 1fr 1fr; }
  .stappen-grid::before { display: none; }
  .apparaten-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .discord-cta {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 18px;
  }
  .discord-cta-text { min-width: 0; width: 100%; }
  .discord-btn { width: 100%; justify-content: center; }
}

@media (max-width: 600px) {
  .voordelen-grid, .stappen-grid, .apparaten-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .section-wrap { padding: 70px 20px; }
}

/* ========== WORDPRESS CORE ========== */
.alignwide, .alignfull { margin-left: auto; margin-right: auto; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px; width: 1px;
  margin: -1px; overflow: hidden;
  padding: 0; position: absolute;
  word-wrap: normal !important;
}
