/* ==========================================================================
   De Slimme Gids — Professional Design System (v3)
   Subtiel · Editorial · Premium · Geen neon, geen gamer-stijl
   ========================================================================== */

/* ─── CURSOR SPOTLIGHT (subtiel, klein) ──────────────────────────── */
#antigravity-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

/* ─── NEURAL CANVAS (sterk gereduceerd, bijna onzichtbaar) ───────── */
#neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
}

/* ─── FLOATING PARTICLES — uitgeschakeld ─────────────────────────── */
#floating-particles { display: none; }

/* ─── HERO LAYOUT ────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section > *:not(#neural-canvas) {
  position: relative;
  z-index: 2;
}

/* Subtiele gradient overlay op de hero */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99,102,241,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ─── AMBIENT RINGS — uitgeschakeld ──────────────────────────────── */
.hero-ambient-ring { display: none; }

/* ─── TYPEWRITER ─────────────────────────────────────────────────── */
.typewriter-wrapper {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0.5rem;
  padding: 0.5rem 1.25rem;
  margin-bottom: 1.75rem;
  display: inline-block;
  min-height: 2.4rem;
  min-width: 340px;
  text-align: left;
  letter-spacing: 0.01em;
}

#typewriter-text {
  border-right: 2px solid var(--text-muted);
  padding-right: 3px;
  animation: blinkCaret 1s step-end infinite;
  display: inline;
}

@keyframes blinkCaret {
  0%, 100% { border-color: var(--text-muted); }
  50%       { border-color: transparent; }
}

/* ─── AI STATUS BADGE (minimal, professioneel) ───────────────────── */
#ai-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 9999px;
  padding: 0.3rem 0.9rem 0.3rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.ai-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  flex-shrink: 0;
  animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

.ai-pulse-msg { transition: opacity 0.3s ease; }

/* ─── SCROLL REVEAL ──────────────────────────────────────────────── */
.reveal-target {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-target.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── CARD SCAN LINES — uitgeschakeld ───────────────────────────── */
.scan-line,
.scan-bracket { display: none; }

/* ─── CARD HOVER — subtiel en professioneel ─────────────────────── */
.card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

/* Alle neon-per-card glows verwijderd */

/* ─── STATS BAR ──────────────────────────────────────────────────── */
.stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 2.5rem 0 0 0;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.07);
}

/* ─── SECTION TITLE STIJL (statisch, geen shimmer) ──────────────── */
.section-title span {
  background: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── LIVE TICKER ────────────────────────────────────────────────── */
.ticker-bar {
  background: rgba(9,13,26,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  contain: paint;
  height: 34px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 101;
}

.ticker-track {
  display: flex;
  animation: tickerScroll 42s linear infinite;
  white-space: nowrap;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 3.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.ticker-item .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-indigo);
  opacity: 0.6;
  flex-shrink: 0;
}

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Header offset voor ticker */
body > header { top: 34px; }
.hero-section { margin-top: 11.5rem; }

/* Article pages: geen ticker */
body.article-page > header { top: 0; }
body.article-page .main-wrapper { margin-top: 7rem; }
body.dashboard-page > header { top: 0; }

/* ─── HEADER STATES ──────────────────────────────────────────────── */
body > header {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

body > header.scrolled {
  background: rgba(3,7,18,0.95);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 8px 24px rgba(0,0,0,0.3);
}

/* ─── MOBILE HAMBURGER ───────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 300;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    max-width: none;
    height: 100vh;
    background: rgba(5,8,20,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 5.5rem 2rem 2rem;
    border-left: 0;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), visibility 0s linear 0.3s;
    z-index: 250;
  }

  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  }

  .nav-menu li { border-bottom: 1px solid rgba(255,255,255,0.05); }

  .nav-menu .nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
  }

  .nav-cta { display: none; }
  .ticker-bar { display: none; }
  body > header { top: 0; }
  .hero-section { margin-top: 6.5rem; }
}

/* ─── FEATURED CARD ──────────────────────────────────────────────── */
.articles-grid .card:first-child {
  grid-column: span 2;
}

.articles-grid .card:first-child .thumb {
  aspect-ratio: 21 / 9;
}

.articles-grid .card:first-child h3 {
  font-size: 1.55rem;
}

@media (max-width: 900px) {
  .articles-grid .card:first-child { grid-column: span 1; }
  .articles-grid .card:first-child .thumb { aspect-ratio: 16 / 10; }
}

/* ─── CARD OVERLAY SHINE (minimaal, niet holografisch) ──────────── */
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  background: linear-gradient(160deg, rgba(255,255,255,0.025) 0%, transparent 50%);
  pointer-events: none;
  z-index: 4;
}

/* ─── AI CHAT BUBBLE — uitgeschakeld ────────────────────────────── */
#ai-chat-bubble { display: none; }

/* ─── BACK TO TOP ────────────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 42px;
  height: 42px;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  z-index: 200;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#back-to-top:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* ─── TOOL SELECTOR — geen glow-animatie ────────────────────────── */
.tool-selector-widget {
  /* Removed breathing glow animation */
}

/* ─── NEWSLETTER — geen glow-animatie ───────────────────────────── */
.newsletter-box {
  /* Clean, no glow */
}

/* ─── GLITCH LOGO — uitgeschakeld ───────────────────────────────── */
.logo.glitch-active {
  /* Removed: too gamer-style */
}

/* ─── ARTICLE PAGE COMPAT ────────────────────────────────────────── */
.article-content h2, .article-content h3,
.pro-con-grid, .score-banner, .table-container {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ─── GLOWING WORDS IN HERO SUBTITLE (breathe animation) ─────────── */
.glow-word {
  display: inline;
  font-weight: 600;
  animation: glowPulse 6s ease-in-out infinite alternate;
}

.glow-word--1 { animation-delay: 0s; }
.glow-word--2 { animation-delay: 2s; }
.glow-word--3 { animation-delay: 4s; }

@keyframes glowPulse {
  0% {
    color: var(--text-muted);
    text-shadow: none;
  }
  50% {
    color: var(--text-secondary);
    text-shadow: none;
  }
  100% {
    color: var(--accent-cyan);
    text-shadow: 0 0 12px rgba(6, 182, 212, 0.4);
  }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  #antigravity-glow { display: none; }
  #ai-pulse-badge { display: none; }
  .typewriter-wrapper { min-width: 240px; font-size: 0.82rem; }
  .stats-bar { gap: 1.5rem; }
  .stat-divider { display: none; }
  #back-to-top { bottom: 1.25rem; right: 1.25rem; }
}
