:root {
  --color-bg: #050816;
  --color-bg-alt: #0b1020;
  --color-card: #111827;
  --color-border: #1f2937;
  --color-primary: #38bdf8;
  --color-primary-soft: rgba(56, 189, 248, 0.08);
  --color-secondary: #a855f7;
  --color-text: #e5e7eb;
  --color-muted: #9ca3af;
  --color-highlight: #facc15;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.7);
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
  --max-width: 1120px;
  --transition-fast: 0.18s ease-out;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

/* Global reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
  color: var(--color-text);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
  scroll-margin-top: 5rem;
}

.section-alt {
  background: radial-gradient(
    circle at top left,
    #020617,
    #020617 40%,
    #020617 60%
  );
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(56, 189, 248, 0.04),
    transparent 55%
  );
  opacity: 0.8;
  pointer-events: none;
}

.section-alt > .container {
  position: relative;
  z-index: 1;
}

.section-cta {
  background: radial-gradient(
    circle at center,
    rgba(56, 189, 248, 0.12),
    #020617 70%
  );
  text-align: center;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.96),
    rgba(2, 6, 23, 0.85)
  );
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-decoration: none;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #38bdf8, #0f172a);
  color: #0b1120;
  font-weight: 700;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.5),
    0 16px 30px rgba(15, 23, 42, 0.8);
}

.logo-text {
  font-weight: 600;
  color: #e5e7eb;
}

.main-nav {
  display: none;
  gap: 1rem;
  align-items: center;
  font-size: 0.92rem;
}

/* Mobile dropdown menu */
.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0.75rem 1.5rem 1rem;
  background: radial-gradient(
    circle at top,
    #020617,
    #020617 60%,
    #020617 100%
  );
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.95);
  z-index: 30;
}

.main-nav a {
  color: var(--color-muted);
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition: color var(--transition-fast), background var(--transition-fast),
    transform var(--transition-fast);
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.15rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--color-primary),
    var(--color-secondary)
  );
  transform: translateX(-50%);
  transition: width var(--transition-fast);
}

/* Hover */
.main-nav a:hover {
  color: #f9fafb;
  background: rgba(15, 23, 42, 0.7);
}

.main-nav a:hover::after {
  width: 80%;
}

/* Actieve sectie */
.main-nav a.active {
  color: #f9fafb;
  background: rgba(15, 23, 42, 0.95);
}

.main-nav a.active::after {
  width: 80%;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  cursor: pointer;
  padding: 0;
  margin-left: 0.2rem;
  transition: background var(--transition-fast),
    border-color var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.menu-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform var(--transition-fast), opacity var(--transition-fast),
    background var(--transition-fast);
}

.menu-toggle span + span {
  margin-top: 0.25rem;
}

.menu-toggle:hover {
  border-color: var(--color-primary);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
}

/* Animatie naar een 'X' wanneer open */
.menu-toggle.is-open span:first-child {
  transform: translateY(0.135rem) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-0.135rem) rotate(-45deg);
}

.menu-toggle.is-open span {
  background: var(--color-primary);
}

/* Hero */

.hero {
  padding: 4rem 0 3.5rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hero-text h1 {
  font-size: clamp(2rem, 3.1vw, 2.8rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.highlight {
  background-image: linear-gradient(to right, #38bdf8, #a855f7, #f97316);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 38rem;
  color: var(--color-muted);
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.hero-card {
  background: radial-gradient(
    circle at top left,
    rgba(56, 189, 248, 0.12),
    var(--color-card)
  );
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(30, 64, 175, 0.7);
  max-width: 24rem;
}

.hero-card h2 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.hero-card-footer {
  margin-top: 1.2rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.6);
  font-size: 0.95rem;
  color: var(--color-muted);
}

.rate strong {
  color: #f9fafb;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast),
    box-shadow var(--transition-fast), transform var(--transition-fast),
    border-color var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(
    to right,
    var(--color-primary),
    var(--color-secondary)
  );
  color: #020617;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.9);
}

.btn-primary:hover {
  transform: translateY(-1px) translateZ(0);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 1);
}

.btn-primary:disabled {
  background: #4b5563 !important;
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.9);
  color: var(--color-text);
  border-color: rgba(148, 163, 184, 0.5);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(148, 163, 184, 0.6);
  font-size: 0.85rem;
  padding-inline: 1.05rem;
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: rgba(15, 23, 42, 0.85);
}

.btn-small {
  padding: 0.45rem 0.9rem;
  font-size: 0.84rem;
}

/* Lists */

.check-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.icon-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.icon-list li {
  position: relative;
  margin-bottom: 0.65rem;
  padding-left: 1.3rem;
  color: var(--color-muted);
}

.icon-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--color-primary);
}

/* Sections */

h2 {
  font-size: 1.6rem;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.05rem;
  margin-top: 0;
}

.section-intro {
  max-width: 38rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

/* Grid */

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

/* Cards */

.card {
  background: radial-gradient(
    circle at top left,
    rgba(15, 23, 42, 0.9),
    #020617
  );
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.85);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  opacity: 0.08;
  background: radial-gradient(
    circle at top,
    rgba(56, 189, 248, 0.8),
    transparent 60%
  );
  pointer-events: none;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card p {
  color: var(--color-muted);
}

.card ul {
  padding-left: 1.1rem;
  margin: 0.4rem 0 0;
  color: var(--color-muted);
}

.card ul li {
  margin-bottom: 0.35rem;
}

/* Emphasis card */

.emphasis-card {
  border-color: rgba(56, 189, 248, 0.7);
  background: radial-gradient(
    circle at top left,
    rgba(56, 189, 248, 0.18),
    #020617
  );
}

/* Testimonials */

.testimonial-card {
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.7);
}

.testimonial-text {
  font-style: italic;
  color: #e5e7eb;
}

.testimonial-name {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* CTA */

.cta-inner {
  max-width: 38rem;
  margin: 0 auto;
}

.section-cta h2 {
  margin-bottom: 0.7rem;
}

.section-cta p {
  color: var(--color-muted);
  margin-bottom: 1.2rem;
}

.cta-note {
  margin-top: 0.75rem;
  font-size: 0.92rem;
}

/* Contact */

.contact-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 0.4rem;
  color: var(--color-muted);
}

.contact-list a {
  color: var(--color-primary);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* Contact form */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.3rem;
  border: 1px dashed rgba(55, 65, 81, 0.9);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.88rem;
  gap: 0.3rem;
  color: var(--color-muted);
}

.contact-form input,
.contact-form textarea {
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: #020617;
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast), background var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
  background: #020617;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin: 0;
}

.form-success-message {
  background: rgba(34, 197, 94, 0.12); /* zachte groene tint */
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #bbf7d0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Links */

a {
  color: var(--color-primary);
}

a:hover {
  color: #7dd3fc;
}

/* Footer */

.site-footer {
  padding: 1.8rem 0 2rem;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  background: #020617;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer-meta {
  margin-top: 0.35rem;
}

/* Responsive */

@media (min-width: 768px) {
  .main-nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-bottom: none;
  }

  .header-cta-desktop {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
  }

  .hero-text {
    flex: 1.4;
  }

  .hero-card {
    flex: 1;
  }

  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}

@media (max-width: 767px) {
  .header-inner {
    padding-inline: 1rem;
  }

  .hero-card {
    max-width: 100%;
  }

  .section {
    padding: 3.2rem 0;
  }

  .header-cta-desktop {
    display: none;
  }
}
