/* Basis instellingen */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #5e35b1;
  --secondary-color: #7e57c2;
  --accent-color: #9575cd;
  --light-color: #ede7f6;
  --dark-color: #311b92;
  --background: #fafafa;
  --text-color: #212121;
  --text-light: #f5f5f5;
  --gradient: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
}

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

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.5rem 3rem;
  border-radius: 0.4rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.6rem;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: var(--text-light);
  box-shadow: 0 4px 10px rgba(94, 53, 177, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(94, 53, 177, 0.4);
  color: var(--text-light);
}

/* Header */
.header {
  background-color: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo svg {
  width: 4rem;
  height: 4rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--text-color);
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

.hamburger {
  display: none;
  cursor: pointer;
  width: 3rem;
  height: 2.4rem;
  position: relative;
  z-index: 1000;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2),
.hamburger span:nth-child(3) {
  top: 10px;
}

.hamburger span:nth-child(4) {
  top: 20px;
}

.hamburger.active span:nth-child(1),
.hamburger.active span:nth-child(4) {
  opacity: 0;
}

.hamburger.active span:nth-child(2) {
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Hero Section */
.hero {
  background: var(--gradient);
  padding: 20rem 0 12rem;
  margin-top: -2rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15rem;
  background: var(--background);
  clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 0);
}

.hero-container {
  position: relative;
  z-index: 1;
  color: var(--text-light);
  text-align: center;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  max-width: 70rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

/* Voordelen Section */
.voordelen {
  padding: 8rem 0;
  background-color: var(--background);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title {
  font-size: 3.6rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.8rem;
  max-width: 70rem;
  margin: 0 auto;
  color: var(--text-color);
  opacity: 0.8;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}

.card {
  background: white;
  border-radius: 0.8rem;
  padding: 3rem;
  flex: 1 1 30rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card:hover {
  transform: translateY(-1rem);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.12);
}

.card-icon {
  font-size: 4.5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8rem;
  height: 8rem;
  background-color: var(--light-color);
  border-radius: 1rem;
}

.card-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.card-text {
  font-size: 1.6rem;
  color: var(--text-color);
  opacity: 0.8;
}

/* Hoe werkt het */
.hoe-werkt-het {
  background-color: white;
  padding: 8rem 0;
  position: relative;
}

.hoe-werkt-het::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10rem;
  background: var(--background);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 70%);
}

.hoe-werkt-het::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10rem;
  background: var(--background);
  clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
}

.hoe-werkt-het .container {
  position: relative;
  z-index: 1;
}

.stappen {
  max-width: 80rem;
  margin: 0 auto;
}

.stap {
  display: flex;
  align-items: flex-start;
  margin-bottom: 6rem;
  opacity: 0;
  transform: translateY(2rem);
  animation: fadeInUp 0.6s forwards;
  animation-delay: calc(var(--i) * 0.2s);
}

.stap:last-child {
  margin-bottom: 0;
}

.stap-nummer {
  background: var(--gradient);
  color: var(--text-light);
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 2.2rem;
  margin-right: 3rem;
  flex-shrink: 0;
}

.stap-content {
  flex: 1;
}

.stap-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.stap-content p {
  font-size: 1.6rem;
  color: var(--text-color);
  opacity: 0.8;
}

/* CTA Section */
.cta {
  background: var(--gradient);
  padding: 10rem 0;
  color: var(--text-light);
  text-align: center;
  position: relative;
}

.cta-content {
  max-width: 70rem;
  margin: 0 auto;
}

.cta h2 {
  font-size: 3.6rem;
  margin-bottom: 2rem;
}

.cta p {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.cta .btn {
  background: white;
  color: var(--primary-color);
  font-weight: 700;
  padding: 1.8rem 4rem;
}

.cta .btn:hover {
  background: var(--light-color);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* FAQ Section */
.faq {
  padding: 8rem 0;
  background: var(--background);
  position: relative;
}

.faq-container {
  max-width: 80rem;
  margin: 0 auto;
}

.accordion {
  margin-top: 4rem;
}

.accordion-item {
  background: white;
  border-radius: 0.8rem;
  margin-bottom: 2rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.accordion-header {
  padding: 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.accordion-header:hover {
  background-color: var(--light-color);
}

.accordion-icon {
  width: 2rem;
  height: 2rem;
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 2rem;
}

.accordion-item.active .accordion-header {
  background-color: var(--light-color);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-item.active .accordion-content {
  max-height: 30rem;
  padding-bottom: 2rem;
}

/* Footer */
.footer {
  background: #212121;
  color: white;
  padding: 6rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-logo-text {
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
}

.footer-about p {
  opacity: 0.7;
  margin-bottom: 2rem;
}

.footer-heading {
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 5rem;
  height: 3px;
  background: var(--accent-color);
}

.footer-links li {
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
  font-size: 1.6rem;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.4rem;
  opacity: 0.7;
}

/* Animaties */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media (max-width: 991px) {
  html {
    font-size: 60%;
  }
  
  .hero h1 {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 55%;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    background: white;
    width: 70%;
    height: 100vh;
    padding: 12rem 3rem 3rem;
    z-index: 999;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    align-items: flex-start;
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav-item {
    width: 100%;
    margin-bottom: 2rem;
  }
  
  .nav-link {
    display: block;
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .cards-container {
    flex-direction: column;
  }
  
  .card {
    width: 100%;
  }
  
  .stap {
    flex-direction: column;
  }
  
  .stap-nummer {
    margin-right: 0;
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 50%;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.6rem;
  }
  
  .btn {
    padding: 1.5rem 2.5rem;
    font-size: 1.5rem;
  }
}
