/* ============================================
   WILDBOS.COM — Design System
   Based on Intel.wildbos.com design tokens
   ============================================ */

/* --- CSS Variables (Design Tokens) --- */
:root {
  --midnight: #09111F;
  --surface: #0F1923;
  --white: #FFFFFF;
  --accent: #F5913E;
  --accent-light: #FBA85C;
  --accent-dark: #D97B2B;
  --accent-rgb: 245, 145, 62;
  --muted: #6B7A8D;
  --mint: #10B981;
  --gradient-accent: linear-gradient(135deg, #F5913E 0%, #FBA85C 100%);
  --gradient-dark: linear-gradient(180deg, #09111F 0%, #0F1923 100%);
  --card-border: rgba(255,255,255,0.06);
  --card-bg: rgba(255,255,255,0.03);
  --card-hover-bg: rgba(255,255,255,0.05);
  --card-hover-border: rgba(var(--accent-rgb),0.2);
  --text-primary: rgba(255,255,255,1);
  --text-secondary: rgba(255,255,255,0.88);
  --text-body: rgba(255,255,255,0.75);
  --text-muted: rgba(255,255,255,0.65);
  --text-faint: rgba(255,255,255,0.30);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 16px;
}

/* --- Per-page accent colors --- */
/* Homepage + default = Orange */
/* Trainingen = Green */
body.theme-green {
  --accent: #22C55E;
  --accent-light: #4ADE80;
  --accent-dark: #16A34A;
  --accent-rgb: 34, 197, 94;
  --gradient-accent: linear-gradient(135deg, #22C55E 0%, #4ADE80 100%);
}

/* Content = Blue */
body.theme-blue {
  --accent: #3B82F6;
  --accent-light: #60A5FA;
  --accent-dark: #2563EB;
  --accent-rgb: 59, 130, 246;
  --gradient-accent: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
}

/* Intel = Orange (default, explicit for clarity) */
body.theme-orange {
  --accent: #F5913E;
  --accent-light: #FBA85C;
  --accent-dark: #D97B2B;
  --accent-rgb: 245, 145, 62;
  --gradient-accent: linear-gradient(135deg, #F5913E 0%, #FBA85C 100%);
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  background-color: var(--midnight);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.15;
}
h1 { font-size: 3.5rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
h2 { font-size: 2.5rem; letter-spacing: -0.03em; }
h3 { font-size: 1.5rem; line-height: 1.3; }
h4 { font-size: 1.125rem; }
p { color: var(--text-body); line-height: 1.7; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-body { color: var(--text-body); }

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.125rem;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 600px;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 24px;
  position: relative;
}

.section-alt {
  background: var(--surface);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: all 400ms var(--ease-out);
}

.nav.scrolled {
  background: rgba(9, 17, 31, 0.92);
  backdrop-filter: blur(32px);
  border-bottom: 1px solid var(--card-border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 200ms ease;
  letter-spacing: -0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--accent);
  color: var(--midnight) !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: all 300ms var(--ease-out);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.3);
  background: var(--accent-light);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all 300ms var(--ease-out);
  border-radius: 2px;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 300ms var(--ease-out);
  text-decoration: none;
  letter-spacing: -0.01em;
  gap: 8px;
}

.btn-primary {
  background: var(--accent);
  color: var(--midnight);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(var(--accent-rgb), 0.35), 0 0 0 1px rgba(var(--accent-rgb), 0.15);
  background: var(--accent-light);
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid rgba(255,255,255,0.15);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(var(--accent-rgb),0.06);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid rgba(255,255,255,0.1);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- Cards --- */
.card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  padding: 32px;
  transition: all 400ms var(--ease-out);
}

.card:hover {
  border-color: var(--card-hover-border);
  background: var(--card-hover-bg);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2), 0 0 0 1px rgba(var(--accent-rgb),0.08);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb),0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
  line-height: 1.7;
}

/* Pillar Card (homepage) */
.pillar-card {
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-number {
  font-size: 72px;
  font-weight: 800;
  color: rgba(var(--accent-rgb),0.06);
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.pillar-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(var(--accent-rgb),0.06);
  border: 1px solid rgba(var(--accent-rgb),0.12);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: gap 300ms var(--ease-out);
}

.pillar-link:hover {
  gap: 12px;
}

/* --- Glass --- */
.glass {
  background: rgba(15, 25, 35, 0.8);
  backdrop-filter: blur(32px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
}

/* Report preview responsive padding */
.glass > div { transition: padding 300ms var(--ease-out); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

/* Subtle gradient orb background instead of canvas */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.06) 0%, rgba(var(--accent-rgb),0.02) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: orbFloat 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.03) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: orbFloat 25s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 30px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-border);
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-badge .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero .subtitle {
  margin: 0 auto 40px;
}

/* --- Stats Row --- */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 40px 0;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.0625rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 12px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* --- Testimonials --- */
.testimonial-card {
  padding: 32px;
}

.testimonial-quote {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb),0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
}

.testimonial-role {
  font-size: 13px;
  color: var(--text-muted);
}

/* --- Logo Marquee (infinite scroll) --- */
.logo-marquee-wrapper {
  overflow: hidden;
  padding: 40px 0;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.logo-marquee {
  display: flex;
  align-items: center;
  gap: 56px;
  animation: marqueeScroll 35s linear infinite;
  width: max-content;
}

.logo-marquee:hover {
  animation-play-state: paused;
}

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

.logo-marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 400ms var(--ease-out);
}

.logo-marquee-item:hover {
  opacity: 1;
}

.logo-marquee-item img {
  filter: brightness(0) invert(1);
  height: 50px;
  width: auto;
  max-width: 216px;
  object-fit: contain;
}

.logo-marquee-item span {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Fallback for text-only logos */
.logo-marquee-item .logo-icon {
  width: 45px;
  height: 45px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: var(--accent);
  flex-shrink: 0;
}

/* --- Process Steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 32px 24px;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb),0.08);
  border: 1.5px solid rgba(var(--accent-rgb),0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  margin: 0 auto 20px;
}

/* --- Pricing --- */
.pricing-card {
  padding: 40px;
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(var(--accent-rgb),0.3);
  background: rgba(var(--accent-rgb),0.04);
}

.pricing-card.featured::before {
  content: 'Populair';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--accent);
  color: var(--midnight);
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 16px 0 4px;
}

.pricing-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-body);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--mint);
}

.pricing-check svg {
  width: 12px;
  height: 12px;
}

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: 80px 24px;
  background: var(--surface);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.cta-banner h2 {
  margin-bottom: 16px;
}

.cta-banner p {
  max-width: 500px;
  margin: 0 auto 32px;
}

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: color 200ms ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 300ms var(--ease-out);
  flex-shrink: 0;
  color: var(--text-muted);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms var(--ease-out), opacity 300ms ease;
  opacity: 0;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  opacity: 1;
}

.faq-answer p {
  padding-bottom: 24px;
  font-size: 15px;
}

/* --- Footer --- */
.footer {
  padding: 64px 24px 32px;
  border-top: 1px solid var(--card-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-body);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  transition: color 200ms ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 13px;
  color: var(--text-faint);
}

/* --- Animations (2026 Premium) --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

@keyframes orbFloat {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  33% { transform: translateX(-48%) translateY(-20px) scale(1.02); }
  66% { transform: translateX(-52%) translateY(10px) scale(0.98); }
}

@keyframes slideDown {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 500px; }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes lineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes maskReveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0% 0 0); }
}

/* Hero text animation — words slide up with clip mask */
.animate-fade-up {
  animation: fadeUp 1000ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-up-delay-1 { animation-delay: 100ms; opacity: 0; }
.animate-fade-up-delay-2 { animation-delay: 200ms; opacity: 0; }
.animate-fade-up-delay-3 { animation-delay: 400ms; opacity: 0; }

/* Scroll Reveal — smoother, longer easing */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1000ms cubic-bezier(0.16, 1, 0.3, 1), transform 1000ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children — smoother cascading */
.stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.visible > *:nth-child(2) { transition-delay: 120ms; }
.stagger.visible > *:nth-child(3) { transition-delay: 240ms; }
.stagger.visible > *:nth-child(4) { transition-delay: 360ms; }
.stagger.visible > *:nth-child(5) { transition-delay: 480ms; }
.stagger.visible > *:nth-child(6) { transition-delay: 600ms; }

/* Gradient text shimmer on hover */
.gradient-text-hover:hover {
  background-size: 200% auto;
  animation: shimmer 2s linear infinite;
}

/* Section divider line animation */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb),0.3), transparent);
  transform-origin: left;
}

.section-divider.visible {
  animation: lineGrow 1200ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Image reveal — slides in from right */
.image-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.image-reveal.visible {
  clip-path: inset(0 0% 0 0);
}

/* Number counter glow */
.stat-value {
  transition: text-shadow 400ms ease;
}

.stat-value:hover {
  text-shadow: 0 0 40px rgba(var(--accent-rgb),0.3);
}

/* Smooth link underline animation */
.link-underline {
  position: relative;
  display: inline-block;
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.link-underline:hover::after {
  width: 100%;
}

/* --- Feature List (service pages) --- */
.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 8px;
}

/* --- Page Hero (subpages) --- */
.page-hero {
  padding: 160px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.05) 0%, rgba(var(--accent-rgb),0.015) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: orbFloat 20s ease-in-out infinite;
}

.page-hero h1 {
  margin-bottom: 20px;
}

.page-hero .subtitle {
  margin: 0 auto;
}

/* --- Lottie Animations --- */
.lottie-container {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.lottie-container dotlottie-player {
  width: 100%;
  max-width: 480px;
}

.hero-lottie {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 500px;
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-lottie { display: none; }
}

/* --- Training Photo --- */
.training-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.training-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Testimonial stars --- */
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: var(--accent);
}

/* --- Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col-reverse {
  direction: rtl;
}

.two-col-reverse > * {
  direction: ltr;
}

/* --- Visual Block (mockup/illustration placeholder) --- */
.visual-block {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* --- Training format cards --- */
.format-card {
  padding: 40px;
  text-align: center;
}

.format-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(var(--accent-rgb),0.06);
  border: 1px solid rgba(var(--accent-rgb),0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--accent);
}

.format-icon svg {
  width: 28px;
  height: 28px;
}

/* --- Content Pipeline Visual --- */
.pipeline {
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  padding: 40px 0;
}

.pipeline-step {
  flex: 1;
  text-align: center;
  padding: 24px 16px;
  position: relative;
}

.pipeline-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -12px;
  width: 24px;
  height: 2px;
  background: rgba(var(--accent-rgb),0.3);
  transform: translateY(-50%);
}

.pipeline-step:last-child::after {
  display: none;
}

.pipeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 auto 12px;
  position: relative;
}

.pipeline-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--accent-rgb),0.2);
}

.pipeline-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.pipeline-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Responsive --- */

/* Tablet */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .two-col-reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .hero-lottie { width: 35%; opacity: 0.08; }
  .lottie-container dotlottie-player { max-width: 380px; }
}

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  .section { padding: 72px 16px; }
  .section-header { margin-bottom: 48px; }
  .hero { padding: 100px 16px 60px; min-height: auto; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Nav */
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-inner { height: 64px; }
  .nav-logo img { height: 22px; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 17, 31, 0.98);
    backdrop-filter: blur(32px);
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--card-border);
    overflow-y: auto;
    z-index: 100;
  }

  .nav-links.open li {
    list-style: none;
  }

  .nav-links.open a {
    display: block;
    padding: 18px 0;
    font-size: 17px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--text-secondary);
  }

  .nav-links.open .nav-cta {
    margin-top: 24px;
    text-align: center;
    justify-content: center;
    padding: 16px 24px;
    border-bottom: none;
  }

  /* Stats */
  .stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 24px 0;
  }
  .stat-value { font-size: 1.75rem; }

  /* Buttons */
  .btn { width: 100%; padding: 16px 24px; }
  .btn-group { flex-direction: column; }

  /* Logo marquee */
  .logo-marquee { gap: 40px; animation-duration: 25s; }
  .logo-marquee-item span { font-size: 13px; }
  .logo-marquee-item img {
  height: 36px; width: auto; max-width: 144px; }
  .logo-marquee-item .logo-icon { width: 40px; height: 40px; font-size: 13px; }

  /* Pipeline */
  .pipeline { flex-direction: column; gap: 8px; }
  .pipeline-step { padding: 16px 12px; }
  .pipeline-step::after { display: none; }

  /* Pricing */
  .pricing-price { font-size: 2.25rem; }
  .pricing-card { padding: 28px; }

  /* Testimonials */
  .testimonial-card { padding: 24px; }
  .testimonial-quote { font-size: 0.9375rem; }

  /* Lottie */
  .hero-lottie { display: none; }
  .lottie-container { margin: 0 auto; }
  .lottie-container dotlottie-player { max-width: 300px; }

  /* Footer */
  .footer { padding: 48px 16px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Cards */
  .card { padding: 24px; }
  .pillar-card { padding: 28px; }
  .pillar-number { font-size: 48px; top: 12px; right: 16px; }

  /* Process steps inside two-col */
  .process-steps { max-width: none; }

  /* Visual block */
  .visual-block { padding: 32px; aspect-ratio: auto; min-height: 240px; }

  /* Glass report preview */
  .glass { border-radius: var(--radius-md); }

  /* CTA banner */
  .cta-banner { padding: 56px 16px; }
  .cta-banner h2 { font-size: 1.5rem; }

  /* Feature list */
  .feature-list li { gap: 12px; padding: 16px 0; }

  /* FAQ */
  .faq-question { font-size: 0.9375rem; padding: 20px 0; }
  .faq-answer p { font-size: 14px; }

  /* Format cards (trainingen) */
  .format-card { padding: 28px 20px; }
  .format-icon { width: 52px; height: 52px; margin-bottom: 16px; }
  /* Mobile readability: bigger, whiter text */
  body { font-size: 16px; }
  p, li, .subtitle { color: rgba(255,255,255,0.92); }
  .card p, .feature-list span, .faq-answer p { color: rgba(255,255,255,0.88); font-size: 15px; }
  .testimonial-quote { color: rgba(255,255,255,0.90); }
  .section-header p { color: rgba(255,255,255,0.88); }
  .footer p, .footer a { color: rgba(255,255,255,0.75); }
  .logo-marquee-item { opacity: 0.8; }
  .logo-marquee-item span { color: var(--white); }
}

/* Small phones */
@media (max-width: 480px) {
  .section { padding: 48px 16px; }
  .page-hero { padding: 110px 16px 48px; }
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  .subtitle { font-size: 1rem; }
  .hero .subtitle { font-size: 0.9375rem; }
  .hero-badge { font-size: 12px; padding: 6px 14px; margin-bottom: 24px; }

  .grid-4 { grid-template-columns: 1fr; }

  .stats-row { gap: 16px; }
  .stat-value { font-size: 1.5rem; }
  .stat-label { font-size: 12px; }

  .logo-marquee { gap: 32px; animation-duration: 20s; }
  .logo-marquee-item span { font-size: 12px; }

  .testimonial-author { gap: 10px; }
  .testimonial-avatar { width: 38px; height: 38px; }
  .testimonial-name { font-size: 13px; }
  .testimonial-role { font-size: 12px; }

  .section-label { font-size: 11px; }
  .section-header p { font-size: 0.9375rem; }

  .pillar-number { display: none; }

  .step-number { width: 40px; height: 40px; font-size: 16px; }
}

/* --- Language Toggle --- */
.lang-switch {
  display: flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 2px;
  margin-left: 8px;
}

.lang-toggle-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.04em;
  font-family: inherit;
}

.lang-toggle-btn.active {
  background: rgba(245, 145, 62, 0.12);
  color: var(--accent, #f5913e);
}

.lang-toggle-btn:hover:not(.active) {
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .lang-switch {
    position: absolute;
    top: 20px;
    right: 60px;
  }
}
