/* ===== Reset & Basis ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Rood, Blauw, Paars, Lila, Roze, Groen */
  --red: #ef4444;
  --red-soft: #f87171;
  --blue: #3b82f6;
  --blue-soft: #60a5fa;
  --purple: #a855f7;
  --purple-soft: #c084fc;
  --lilac: #c4b5fd;
  --lilac-soft: #ddd6fe;
  --lilac-deep: #a78bfa;
  --pink: #ec4899;
  --pink-soft: #f472b6;
  --green: #22c55e;
  --green-soft: #4ade80;

  --primary: #a78bfa;
  --primary-dark: #8b5cf6;
  --bg: #0a0a14;
  --bg-card: rgba(22, 18, 40, 0.75);
  --text: #faf5ff;
  --text-muted: #ddd6fe;
  --border: rgba(196, 181, 253, 0.22);
  --success: #22c55e;
  --radius: 14px;
  --nav-pill-bg: rgba(12, 10, 24, 0.55);
  --nav-pill-border: rgba(196, 181, 253, 0.35);

  --grad-main: linear-gradient(135deg, #ef4444, #ec4899, #c4b5fd, #a855f7, #3b82f6, #22c55e);
  --grad-title: linear-gradient(120deg, #f87171 0%, #f472b6 18%, #c4b5fd 38%, #a78bfa 55%, #60a5fa 78%, #4ade80 100%);
  --grad-btn: linear-gradient(135deg, #ec4899, #c4b5fd 40%, #a855f7 70%, #3b82f6);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background:
    radial-gradient(ellipse 80% 55% at 5% 0%, rgba(239, 68, 68, 0.26) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 5%, rgba(59, 130, 246, 0.26) 0%, transparent 50%),
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(196, 181, 253, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse 55% 40% at 50% 100%, rgba(168, 85, 247, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 15% 75%, rgba(236, 72, 153, 0.16) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 85% 65%, rgba(34, 197, 94, 0.14) 0%, transparent 45%),
    linear-gradient(165deg, #0e0a18 0%, #0a0a14 40%, #0c0a1a 70%, #08060f 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Navbar ===== */
.navbar {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: none;
}

.navbar .container {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 52px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  z-index: 2;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.logo span {
  background: var(--grad-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo img {
  height: 38px;
  width: auto;
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(196, 181, 253, 0.45), 0 0 8px rgba(236, 72, 153, 0.3);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: #e2e8f0;
  background: var(--nav-pill-bg);
  border: 1px solid var(--nav-pill-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.25s, transform 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(168, 85, 247, 0.3);
  border-color: rgba(244, 114, 182, 0.7);
  box-shadow: 0 4px 18px rgba(236, 72, 153, 0.25);
  transform: translateY(-1px);
}

.nav-links a.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.5), rgba(236, 72, 153, 0.45), rgba(196, 181, 253, 0.55), rgba(168, 85, 247, 0.5));
  border-color: rgba(221, 214, 254, 0.5);
  box-shadow:
    0 0 20px rgba(196, 181, 253, 0.4),
    0 4px 16px rgba(236, 72, 153, 0.2);
}

/* Hamburger */
.nav-toggle {
  display: none;
  margin-left: auto;
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(10, 10, 20, 0.55);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s, background 0.2s;
}

.nav-toggle:hover {
  border-color: rgba(244, 114, 182, 0.7);
  background: rgba(168, 85, 247, 0.25);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #f8fafc;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 6, 16, 0.6);
  backdrop-filter: blur(4px);
  z-index: 90;
}

.nav-overlay.is-open {
  display: block;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .navbar .container {
    flex-wrap: nowrap;
    min-height: 52px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    transform: translateX(100%);
    width: min(300px, 85vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.55rem;
    padding: 5rem 1.25rem 2rem;
    margin: 0;
    background: linear-gradient(165deg, rgba(20, 16, 36, 0.98) 0%, rgba(12, 12, 24, 0.99) 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
    z-index: 95;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 1.15rem;
    font-size: 1rem;
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .logo span {
    font-size: 1.15rem;
  }
}

/* ===== Hero ===== */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
  background: transparent;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--grad-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--grad-btn);
  color: white;
  padding: 0.8rem 1.85rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 6px 22px rgba(236, 72, 153, 0.35);
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 10px 28px rgba(59, 130, 246, 0.35);
}

/* ===== Features ===== */
.features {
  padding: 4rem 0;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 114, 182, 0.5);
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.2);
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== API Demo ===== */
.api-demo {
  padding: 3rem 0 5rem;
  text-align: center;
}

.api-demo h2 {
  margin-bottom: 0.5rem;
}

.api-demo p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.api-result {
  margin-top: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: left;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.9rem;
  color: #c084fc;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  min-height: 60px;
  white-space: pre-wrap;
  display: none;
}

.api-result.show {
  display: block;
}

/* ===== Page content ===== */
.page {
  flex: 1;
  padding: 3rem 0 5rem;
  background: transparent;
}

.page h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.page h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
  background: linear-gradient(90deg, #f472b6, #c4b5fd, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.checklist {
  list-style: none;
  margin: 1rem 0 1.5rem;
}

.checklist li {
  padding: 0.4rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-muted);
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}

.code-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.9rem;
  color: #c084fc;
  margin: 1rem 0;
  overflow-x: auto;
}

/* ===== Contact form ===== */
.contact-form {
  max-width: 500px;
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(18, 18, 32, 0.8);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
}

.form-result {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  display: none;
}

.form-result.success {
  display: block;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--green);
  color: var(--green-soft);
}

.form-result.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--red);
  color: var(--red-soft);
}

/* ===== 404 ===== */
.error-page {
  text-align: center;
  padding-top: 6rem;
}

.error-page h1 {
  font-size: 6rem;
  font-weight: 800;
  background: var(--grad-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

/* ===== Footer ===== */
footer {
  border-top: none;
  padding: 1.5rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: auto;
  background: transparent;
}

/* ===== Responsive (algemeen) ===== */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }

  .error-page h1 {
    font-size: 4rem;
  }
}

/* ===== Home hero ===== */
.hero-full {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  padding: 2rem 0 3rem;
  position: relative;
  overflow: visible;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-name {
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.6rem;
  background: var(--grad-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

.hero-spacer {
  height: 2.5rem;
}

/* ===== Fade-up animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease-out forwards;
  animation-delay: var(--delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
  .animate-fade-up {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

/* ===== Socials ===== */
.socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 900px;
}

.social-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(160deg, rgba(24, 20, 40, 0.85) 0%, rgba(14, 14, 28, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.9rem 1.25rem 1.7rem;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.28s ease, border-color 0.28s, box-shadow 0.28s;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.social-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.5), rgba(236, 72, 153, 0.4), rgba(196, 181, 253, 0.5), rgba(168, 85, 247, 0.4), rgba(59, 130, 246, 0.4), rgba(34, 197, 94, 0.35));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.75;
  transition: opacity 0.28s;
}

.social-card:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 114, 182, 0.4);
  box-shadow: 0 16px 40px rgba(168, 85, 247, 0.25);
}

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

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  font-size: 1.65rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(236, 72, 153, 0.35), rgba(59, 130, 246, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 18px rgba(236, 72, 153, 0.3);
  transition: transform 0.28s ease, box-shadow 0.28s;
}

.social-card:hover .social-icon {
  transform: scale(1.08);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.4);
}

.social-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin: 0 0 0.3rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.social-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.45;
}

/* ===== Home: tekst links, logo rechts ===== */
.hero-full {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  padding: 2rem 0 3rem;
  position: relative;
  overflow: visible;
  width: 100%;
}

.hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 3vw 0 4vw;
  gap: 2rem;
  box-sizing: border-box;
}

.hero-text {
  flex: 0 1 520px;
  text-align: left;
  max-width: 520px;
  z-index: 2;
}

.hero-name {
  font-size: clamp(4rem, 12vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: var(--grad-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

.hero-desc {
  margin-top: 1.75rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 420px;
}

.hero-text .btn {
  margin-top: 0;
}

.hero-logo-wrap {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding-right: 1vw;
}

.hero-logo {
  width: min(460px, 38vw);
  height: min(460px, 38vw);
  object-fit: cover;
  border-radius: 50%;
  opacity: 0.5;
  filter: drop-shadow(0 0 40px rgba(236, 72, 153, 0.35)) drop-shadow(0 0 60px rgba(59, 130, 246, 0.25));
  display: block;
  user-select: none;
  pointer-events: none;
}

@media (max-width: 800px) {
  .hero-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1.25rem;
  }
  .hero-logo-wrap {
    margin-left: 0;
    align-self: center;
    padding-right: 0;
    margin-top: 1.5rem;
  }
  .hero-logo {
    width: min(280px, 70vw);
    height: min(280px, 70vw);
    opacity: 0.4;
  }
  .hero-name {
    font-size: clamp(3.2rem, 14vw, 5rem);
  }
}

/* ===== Projecten / Planning / Samenwerkingen ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.project-card {
  position: relative;
  background: linear-gradient(160deg, rgba(24, 20, 40, 0.85) 0%, rgba(14, 14, 28, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s, box-shadow 0.28s;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.45), rgba(236, 72, 153, 0.35), rgba(196, 181, 253, 0.4), transparent 55%, rgba(59, 130, 246, 0.3), rgba(34, 197, 94, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.75;
  transition: opacity 0.28s;
  z-index: 1;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 114, 182, 0.35);
  box-shadow: 0 16px 40px rgba(168, 85, 247, 0.22);
}

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

.project-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #1a1030, #1e1b4b 40%, #0f172a);
  overflow: hidden;
}

.project-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 18, 0.6) 0%, transparent 45%);
  pointer-events: none;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.04);
}

.project-image-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  opacity: 0.45;
}

.project-image.no-image .project-image-placeholder {
  display: flex;
}

.project-body {
  padding: 1.35rem 1.4rem 1.6rem;
  position: relative;
  z-index: 2;
}

.project-body h2 {
  font-size: 1.22rem;
  margin: 0 0 0.55rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.project-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===== Titels + intro ===== */
.projects-title {
  font-size: clamp(3.2rem, 10vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  background: var(--grad-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.projects-intro {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(196, 181, 253, 0.18), rgba(168, 85, 247, 0.12), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(196, 181, 253, 0.35);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.75rem;
  max-width: 720px;
  box-shadow:
    0 0 40px rgba(196, 181, 253, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.projects-intro p {
  margin: 0;
  color: #faf5ff;
  font-size: 1.1rem;
  line-height: 1.75;
}

/* ===== Planning badges ===== */
.planning-datetime {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
}

.planning-date,
.planning-time {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.planning-date {
  color: #fff;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.7), rgba(236, 72, 153, 0.65));
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.3);
}

.planning-time {
  color: #e2e8f0;
  background: rgba(10, 10, 20, 0.55);
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.planning-card .project-body h2 {
  margin-top: 0.1rem;
}

/* ===== Samenwerkingen ===== */
.collab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.collab-card {
  position: relative;
  background: linear-gradient(160deg, rgba(24, 20, 40, 0.85) 0%, rgba(14, 14, 28, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.6rem 1.5rem 1.55rem;
  transition: transform 0.28s ease, border-color 0.28s, box-shadow 0.28s;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.collab-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ef4444, #ec4899, #c4b5fd, #a855f7, #3b82f6, #22c55e);
  opacity: 0.95;
}

.collab-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.35), transparent 45%, rgba(34, 197, 94, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.65;
}

.collab-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.2);
}

.collab-body {
  position: relative;
  z-index: 1;
}

.collab-body h2 {
  font-size: 1.28rem;
  margin: 0 0 0.65rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.collab-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Maximaal 3 links onderaan een samenwerking */
.collab-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(196, 181, 253, 0.2);
}

.collab-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: #faf5ff;
  background: rgba(12, 10, 24, 0.55);
  border: 1px solid rgba(196, 181, 253, 0.4);
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.collab-links a:hover {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.4), rgba(168, 85, 247, 0.4), rgba(59, 130, 246, 0.35));
  border-color: rgba(221, 214, 254, 0.65);
  box-shadow: 0 4px 14px rgba(196, 181, 253, 0.25);
  transform: translateY(-1px);
}

/* Lijstjes op Over-pagina */
.page ul {
  list-style: none;
  margin: 0.5rem 0 1.5rem;
  padding: 0;
}

.page ul li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.6rem;
  color: var(--text-muted);
}

.page ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444, #ec4899, #c4b5fd, #3b82f6);
}
