/* =================================================================
   ZaakCentraal - Modern SaaS Marketing Site
   Professionele stylesheet met verbeterde organisatie en spacing
   ================================================================= */

/* ===== 1. BASE & VARIABLES ===== */
:root {
  --zc-blauw: #203368;
  --zc-mint: #57E6C3;
  --zc-antraciet: #263445;
  --zc-licht: #F3FFF9;
  --zc-wit: #FFFFFF;
  --zc-radius: .75rem;
  
  /* Spacing */
  --section-padding-desktop: 100px;
  --section-padding-mobile: 56px;
  --card-padding: 2rem 1.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: var(--zc-licht);
  color: var(--zc-antraciet);
  letter-spacing: 0.01em;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* ===== 2. TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0;
}

.lead {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--zc-antraciet);
}

/* ===== 3. LAYOUT ===== */
.section {
  padding: var(--section-padding-desktop) 0;
  background: var(--zc-licht);
}

.section.bg-white {
  background: var(--zc-wit);
}

.section-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--zc-blauw);
  margin-bottom: 1rem;
  text-align: center;
  letter-spacing: 0.01em;
}

.section-sub {
  font-size: 1.15rem;
  color: var(--zc-antraciet);
  margin-bottom: 3rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== 4. NAVBAR ===== */
.navbar {
  background: var(--zc-wit);
  box-shadow: 0 2px 8px rgba(32, 51, 104, 0.05);
  font-weight: 500;
  border-bottom: 1px solid #e3e7ed;
  padding: 0.75rem 0;
}

.navbar-brand {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--zc-blauw) !important;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.2s;
}

.navbar-brand:hover {
  opacity: 0.85;
}

.navbar-brand .zc-logo,
.navbar-brand img {
  width: 34px;
  height: 34px;
  display: inline-block;
  vertical-align: middle;
}

.navbar-nav .nav-link {
  color: var(--zc-antraciet);
  margin-right: 0.5rem;
  border-radius: 1.5rem;
  transition: all 0.2s ease;
  padding: 0.5rem 1.1rem;
  font-size: 1rem;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  background: var(--zc-mint);
  color: var(--zc-blauw);
  transform: translateY(-1px);
}

.btn-demo {
  background: var(--zc-mint);
  color: var(--zc-blauw);
  font-weight: 600;
  border-radius: 2rem;
  padding: 0.5rem 1.5rem;
  border: none;
  transition: all 0.2s ease;
  margin-left: 1rem;
}

.btn-demo:hover {
  background: var(--zc-blauw);
  color: var(--zc-wit);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32, 51, 104, 0.2);
}

/* ===== 5. HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--zc-blauw) 0%, #2a4480 100%);
  color: var(--zc-wit);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, var(--zc-mint) 100%);
  opacity: 0.1;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 600px;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-placeholder {
  width: 100%;
  max-width: 500px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--zc-radius);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zc-mint);
  font-size: 1.2rem;
  font-weight: 500;
}

.hero-visual-placeholder i {
  font-size: 4rem;
}

.hero .zc-logo-lg {
  width: 74px;
  height: 74px;
  margin-bottom: 1.5rem;
  background: var(--zc-wit);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(87, 230, 195, 0.3);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-sub {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--zc-mint);
  line-height: 1.6;
}

.hero-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--zc-mint);
  margin-top: 1rem;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.hero-bullets li {
  padding: 0.5rem 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-bullets li i {
  color: var(--zc-mint);
  font-size: 1.3rem;
}

/* ===== 6. BUTTONS ===== */
.btn-primary,
.price-btn,
.btn-zc {
  background: var(--zc-mint);
  color: var(--zc-blauw);
  font-weight: 600;
  border-radius: 2rem;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(87, 230, 195, 0.2);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover,
.price-btn:hover,
.btn-zc:hover,
.btn-primary:focus,
.price-btn:focus,
.btn-zc:focus {
  background: var(--zc-blauw);
  color: var(--zc-wit);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(32, 51, 104, 0.25);
}

.btn-secondary,
.btn-outline-primary {
  background: transparent;
  color: var(--zc-blauw);
  font-weight: 600;
  border-radius: 2rem;
  border: 2px solid var(--zc-mint);
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover,
.btn-outline-primary:hover {
  background: var(--zc-mint);
  color: var(--zc-blauw);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(87, 230, 195, 0.25);
}

/* Outline button op donkere achtergrond (hero sectie & CTA banner) */
.hero .btn-outline-primary,
.cta-banner .btn-outline-primary {
  border-color: var(--zc-mint);
  color: var(--zc-wit);
}

.hero .btn-outline-primary:hover,
.cta-banner .btn-outline-primary:hover {
  background: var(--zc-mint);
  color: var(--zc-blauw);
  border-color: var(--zc-mint);
}

/* ===== 7. CARDS ===== */
.usp-block,
.feature-block,
.forwho-card {
  background: var(--zc-wit);
  border-radius: var(--zc-radius);
  padding: var(--card-padding);
  border: 1px solid #e6eaec;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.usp-block:hover,
.feature-block:hover,
.forwho-card:hover {
  border-color: var(--zc-mint);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(32, 51, 104, 0.08);
}

.usp-icon,
.feature-icon,
.forwho-icon {
  font-size: 2.5rem;
  color: var(--zc-mint);
  margin-bottom: 1rem;
}

.usp-title,
.feature-title,
.forwho-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--zc-blauw);
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 1rem;
  color: var(--zc-antraciet);
  line-height: 1.6;
}

/* ===== 8. FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* ===== 9. PRICING CARDS ===== */
.price-card {
  background: var(--zc-wit);
  border-radius: var(--zc-radius);
  border: 2px solid #e6eaec;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  border-color: var(--zc-mint);
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(32, 51, 104, 0.12);
}

.price-card.featured {
  border-color: var(--zc-mint);
  border-width: 3px;
  box-shadow: 0 8px 24px rgba(87, 230, 195, 0.15);
  position: relative;
}

.price-card.featured::before {
  content: 'POPULAIR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--zc-mint);
  color: var(--zc-blauw);
  padding: 0.25rem 1rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.price-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--zc-blauw);
  margin-bottom: 0.5rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--zc-mint);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.price-amount .price-period {
  font-size: 1.2rem;
  font-weight: 400;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem 0;
  text-align: left;
  flex-grow: 1;
}

.price-features li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1rem;
}

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--zc-mint);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ===== 10. TIMELINE ===== */
.timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  position: relative;
  margin: 3rem 0;
  padding: 0;
}

.timeline-step {
  position: relative;
  z-index: 1;
  background: var(--zc-wit);
  border-radius: var(--zc-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  width: 220px;
  border: 2px solid var(--zc-mint);
  transition: all 0.3s ease;
}

.timeline-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(87, 230, 195, 0.15);
}

.timeline-step .bi {
  font-size: 2rem;
  color: var(--zc-mint);
  margin-bottom: 1rem;
}

.timeline-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--zc-blauw);
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--zc-antraciet);
  line-height: 1.5;
}

/* ===== 11. FAQ ACCORDION ===== */
.faq-accordion .accordion-item {
  border: 1px solid #e6eaec;
  margin-bottom: 1rem;
  border-radius: var(--zc-radius);
  overflow: hidden;
}

.faq-accordion .accordion-button {
  background: var(--zc-licht);
  color: var(--zc-blauw);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.25rem 1.5rem;
  transition: all 0.2s ease;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--zc-mint);
  color: var(--zc-blauw);
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: var(--zc-mint);
}

.faq-accordion .accordion-body {
  background: var(--zc-wit);
  color: var(--zc-antraciet);
  font-size: 1rem;
  padding: 1.5rem;
  line-height: 1.7;
}

/* ===== 12. FORMS ===== */
.contactform-block {
  background: var(--zc-wit);
  border-radius: var(--zc-radius);
  border: 1px solid #e6eaec;
  padding: 2.5rem;
  box-shadow: 0 4px 16px rgba(32, 51, 104, 0.06);
}

.form-label {
  font-weight: 600;
  color: var(--zc-blauw);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-control,
.form-select {
  border-radius: 0.5rem;
  border: 1.5px solid #d9e5ef;
  background: var(--zc-licht);
  font-size: 1rem;
  color: var(--zc-antraciet);
  padding: 0.75rem 1rem;
  transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--zc-mint);
  box-shadow: 0 0 0 3px rgba(87, 230, 195, 0.1);
  background: var(--zc-wit);
}

.form-text {
  color: #6c757d;
  font-size: 0.875rem;
}

.contact-success {
  background: var(--zc-mint);
  border-radius: var(--zc-radius);
  color: var(--zc-blauw);
  font-weight: 600;
  text-align: center;
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  border: 2px solid var(--zc-blauw);
  animation: fadeInUp 0.5s ease;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--zc-licht);
  border-radius: var(--zc-radius);
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--zc-mint);
  margin-top: 0.25rem;
}

.contact-item h5 {
  margin-bottom: 0.5rem;
  color: var(--zc-blauw);
  font-size: 1.1rem;
}

/* ===== 13. FOOTER ===== */
footer {
  background: var(--zc-antraciet);
  color: var(--zc-wit);
  padding: 3rem 0 1.5rem 0;
}

.footer-col {
  margin-bottom: 2rem;
}

.footer-col h5 {
  color: var(--zc-mint);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--zc-licht);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: var(--zc-mint);
}

.footer-social a {
  color: var(--zc-mint);
  font-size: 1.5rem;
  margin: 0 0.75rem 0 0;
  transition: all 0.2s;
  display: inline-block;
}

.footer-social a:hover {
  color: var(--zc-wit);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== 14. ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-section.visible {
  opacity: 1;
  transform: none;
}

.fadein {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.fadein.show {
  opacity: 1;
  transform: none;
}

/* ===== 15. RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
  .section {
    padding: 64px 0;
  }
  
  .hero {
    padding: 60px 0;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    margin-bottom: 2rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .timeline {
    flex-direction: column;
    align-items: center;
  }
  
  .timeline-step {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 767px) {
  .section {
    padding: var(--section-padding-mobile) 0;
  }
  
  .hero {
    padding: 48px 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-sub {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .hero .zc-logo-lg {
    width: 60px;
    height: 60px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    margin-bottom: 0.75rem;
  }
  
  .contactform-block {
    padding: 1.5rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }
  
  .btn-demo {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }
}

/* ===== 16. UTILITY CLASSES ===== */
.text-mint {
  color: var(--zc-mint);
}

.text-blauw {
  color: var(--zc-blauw);
}

.bg-mint {
  background-color: var(--zc-mint);
}

.bg-blauw {
  background-color: var(--zc-blauw);
}

.cta-banner {
  background: linear-gradient(135deg, var(--zc-blauw) 0%, #2a4480 100%);
  color: var(--zc-wit);
  padding: 80px 0;
  text-align: center;
  border-radius: var(--zc-radius);
  margin: 3rem 0;
}

.cta-banner h2 {
  color: var(--zc-wit);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--zc-mint);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}