/* ============================================
   TRAINING PAGINA - STYLING
   Matched met Alpaca Integrations huisstijl
   ============================================ */

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

:root {
  --dark-bg: #0f0f23;
  --darker-bg: #0a0a16;
  --primary-blue: #3b82f6;
  --light-blue: #60a5fa;
  --purple: #a855f7;
  --pink: #ec4899;
  --text-light: #e2e8f0;
  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --border-subtle: rgba(168, 85, 247, 0.15);
  --border-accent: rgba(168, 85, 247, 0.3);
  --card-bg: rgba(168, 85, 247, 0.06);
  --gradient-1: linear-gradient(135deg, var(--primary-blue) 0%, var(--purple) 100%);
  --gradient-2: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Animated grid achtergrond */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid 20s linear infinite;
  z-index: -1;
}

@keyframes grid {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--darker-bg); }
::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 5px; }

/* ===== LAYOUT ===== */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 80px 0;
}

.divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  max-width: 900px;
  margin: 0 auto;
}

/* ===== HEADER / LOGO ===== */
.site-header {
  padding: 1.5rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(15, 15, 35, 0.9);
  backdrop-filter: blur(10px);
}

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

.logo-name {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-white);
}

.logo-part {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.logo-part + .logo-part {
  margin-left: 0.5rem;
}

.highlight-box {
  position: absolute;
  width: 35px;
  height: 30px;
  background: rgba(236, 72, 153, 0.15);
  border: 2px solid var(--pink);
  border-radius: 8px;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  filter: drop-shadow(0 0 15px rgba(236, 72, 153, 0.4));
}

.highlight-box.blue {
  width: 22px;
  background: rgba(96, 165, 250, 0.15);
  border-color: var(--light-blue);
  filter: drop-shadow(0 0 15px rgba(96, 165, 250, 0.4));
}

.logo-full-text {
  position: relative;
  z-index: 2;
}

.highlight-letter {
  font-weight: 800;
  font-size: 1.8rem;
}

.highlight-a { color: var(--pink); }
.highlight-i { color: var(--light-blue); }

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding-top: 100px;
  padding-bottom: 40px;
}

.hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero .subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-light);
}

/* ===== WAAROM WIJ ===== */
.waarom { text-align: center; padding-top: 50px; }

.waarom .intro {
  font-size: 1.35rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.punten-lijst {
  list-style: none;
  text-align: left;
  max-width: 650px;
  margin: 0 auto;
}

.punten-lijst li {
  margin-bottom: 18px;
  padding-left: 24px;
  position: relative;
  font-size: 1.25rem;
  color: var(--text-light);
}

.punten-lijst li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--pink);
}

/* ===== PAKKETTEN OVERZICHT ===== */
.pakketten-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.pakket-card {
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  padding: 36px;
  background: var(--card-bg);
  transition: border-color 0.3s ease;
}

.pakket-card:hover {
  border-color: rgba(236, 72, 153, 0.4);
}

.pakket-card h3 {
  font-size: 1.4rem;
  color: var(--text-white);
  margin-bottom: 24px;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.pakket-card ul {
  list-style: none;
}

.pakket-card ul li {
  margin-bottom: 14px;
  padding-left: 24px;
  position: relative;
  color: var(--text-light);
}

.pakket-card ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--pink);
}

.pakket-closer {
  margin-top: 24px;
  font-style: italic;
  font-size: 0.95em;
  color: var(--text-muted);
}

/* ===== PAKKETDETAILS ===== */
.details-section { padding-top: 0; }

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.detail-blok {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 36px;
  background: rgba(168, 85, 247, 0.03);
}

.detail-blok h3 {
  display: none;
}

.detail-blok table {
  width: 100%;
  border-collapse: collapse;
}

.detail-blok td {
  padding: 8px 0;
  vertical-align: top;
  border-bottom: 1px solid rgba(168, 85, 247, 0.08);
}

.detail-blok tr:last-child td {
  border-bottom: none;
}

.detail-blok td:first-child {
  font-weight: 600;
  width: 35%;
  color: var(--pink);
  font-size: 0.9rem;
}

.detail-blok td:last-child {
  color: var(--text-light);
}

/* ===== PRIJS ===== */
.prijs-section { text-align: center; }

.prijs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 10px;
}

.prijs-blok {
  border: 2px solid var(--pink);
  border-radius: 12px;
  padding: 40px;
  background: rgba(236, 72, 153, 0.05);
  transition: all 0.3s ease;
}

.prijs-blok:hover {
  background: rgba(236, 72, 153, 0.1);
  filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.2));
}

.prijs-blok h3 {
  font-size: 1.3rem;
  color: var(--text-white);
  margin-bottom: 12px;
}

.prijs-bedrag {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 12px;
}

.prijs-garantie {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== CTA ===== */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  font-size: 1.8rem;
  color: var(--text-white);
  margin-bottom: 16px;
}

.cta-section .cta-tekst {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 2.5rem;
  background: rgba(236, 72, 153, 0.15);
  border: 2px solid var(--pink);
  border-radius: 50px;
  color: var(--text-white);
  font-size: 1.1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.4));
}

.cta-button:hover {
  transform: scale(1.05);
  background: rgba(236, 72, 153, 0.25);
  filter: drop-shadow(0 0 30px rgba(236, 72, 153, 0.6));
}

.cta-button svg { width: 24px; height: 24px; }

.cta-keuze {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, margin 0.5s ease;
  margin-top: 0;
}

.cta-keuze.open {
  max-height: 400px;
  margin-top: 30px;
}

.cta-vraag {
  color: var(--text-white);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.cta-opties {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.cta-optie {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  background: rgba(236, 72, 153, 0.08);
  border: 1.5px solid rgba(236, 72, 153, 0.3);
  border-radius: 50px;
  color: var(--text-white);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-optie:hover {
  background: rgba(236, 72, 153, 0.2);
  border-color: var(--pink);
  transform: scale(1.03);
  filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.4));
}

.cta-optie svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ===== FAQ ===== */
.faq-section h2 {
  text-align: center;
  font-size: 1.6rem;
  color: var(--text-white);
  margin-bottom: 40px;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-subtle);
}

.faq-vraag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

.faq-vraag:hover {
  color: var(--text-white);
}

.faq-vraag h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
  margin: 0;
  padding-right: 20px;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--pink);
  border-radius: 2px;
}

/* Horizontale lijn (altijd zichtbaar) */
.faq-icon::before {
  width: 16px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Verticale lijn (verdwijnt bij open) */
.faq-icon::after {
  width: 2px;
  height: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-antwoord {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-antwoord {
  max-height: 300px;
}

.faq-antwoord p {
  padding: 0 0 24px 0;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== FOOTER SPACER ===== */
.footer-spacer {
  height: 60px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  section { padding: 50px 0; }
  .container { padding: 0 1.5rem; }

  .pakketten-grid,
  .details-grid,
  .prijs-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 60px; padding-bottom: 50px; }
  .hero h1 { font-size: 1.5rem; }
  .hero .subtitle { font-size: 1.1rem; }

  .logo-name { font-size: 1.2rem; }
  .highlight-letter { font-size: 1.4rem; }
  .highlight-box { width: 28px; height: 24px; }
  .highlight-box.blue { width: 18px; }

  .pakket-card, .detail-blok { padding: 24px; }
  .prijs-bedrag { font-size: 2rem; }
  .cta-button { padding: 1rem 2rem; font-size: 1rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.3rem; }
  .detail-blok td:first-child { width: 40%; }
}
