/* ========================================
   Huisprijzen.be — Evolutie Prijzen Page
   ======================================== */

:root {
  --navy: #0f2b46;
  --navy-light: #1a3d5c;
  --teal: #0ea5a0;
  --teal-dark: #0c8c88;
  --teal-light: #e6f7f6;
  --amber: #f59e0b;
  --amber-light: #fef3c7;
  --bg: #f0f6fa;
  --white: #ffffff;
  --text: #1e3a5f;
  --text-muted: #5a7a9a;
  --border: #e2eaf2;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: var(--teal-dark);
}

img {
  max-width: 100%;
  display: block;
}

/* ── Navigation ── */
#ws-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 43, 70, .97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.ws-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
}

.ws-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: -.5px;
}

.ws-logo-dot {
  color: var(--teal);
}

.ws-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.ws-nav-links a {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}

.ws-nav-links a:hover {
  color: var(--white);
}

.ws-nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: background .2s, transform .15s;
}

.ws-nav-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

/* Hamburger */
#ws-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

#ws-hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Mobile menu */
#ws-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  height: 100dvh;
  background: var(--navy);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 80px 32px 40px;
  gap: 20px;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 30px rgba(0,0,0,.3);
}

#ws-mobile-menu.open {
  right: 0;
}

#ws-mobile-menu a {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

#ws-mobile-menu a:hover {
  color: var(--white);
}

.ws-mobile-cta {
  display: inline-block;
  background: var(--teal);
  color: var(--white) !important;
  padding: 12px 24px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  margin-top: 12px;
  border-bottom: none !important;
}

#ws-menu-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* Mobile overlay */
.ws-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.ws-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ── Hero ── */
.ep-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--teal-dark) 100%);
  padding: 130px 24px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ep-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,160,.12) 0%, transparent 70%);
  pointer-events: none;
}

.ep-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ep-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14,165,160,.15);
  color: var(--teal);
  font-size: .85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(14,165,160,.25);
  margin-bottom: 20px;
}

.ep-hero h1 {
  font-size: 2.6rem;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -.5px;
}

.ep-hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Container ── */
.ep-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Sections ── */
.ep-section {
  padding: 64px 0;
}

.ep-section-title {
  font-size: 1.65rem;
  color: var(--navy);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ep-section-title i {
  color: var(--teal);
  font-size: 1.3rem;
}

/* ── Chart Card ── */
.ep-chart-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 20px rgba(15,43,70,.06);
  border: 1px solid var(--border);
  margin-bottom: 36px;
}

.ep-chart-card canvas {
  width: 100% !important;
  max-height: 400px;
}

/* ── Stat Cards ── */
.ep-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ep-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 1px 8px rgba(15,43,70,.04);
  transition: transform .2s, box-shadow .2s;
}

.ep-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(15,43,70,.08);
}

.ep-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.ep-stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.ep-stat-label {
  font-size: .88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── CTA Banner ── */
.ep-cta-banner {
  padding: 48px 0;
}

.ep-cta-inner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(14,165,160,.2);
}

.ep-cta-inner h3 {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 10px;
}

.ep-cta-inner p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.ep-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 12px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}

.ep-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.15);
  color: var(--teal-dark);
}

/* ── Content / Analysis ── */
.ep-content {
  padding: 48px 0 64px;
}

.ep-content-inner {
  max-width: 800px;
}

.ep-content h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-top: 48px;
  margin-bottom: 16px;
}

.ep-content h2:first-child {
  margin-top: 0;
}

.ep-content h3 {
  font-size: 1.15rem;
  color: var(--navy-light);
  margin-top: 28px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ep-content h3 i {
  color: var(--teal);
  font-size: 1rem;
}

.ep-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 16px;
}

.ep-content strong {
  color: var(--navy);
}

/* ── FAQ ── */
.ep-faq {
  padding: 64px 0 80px;
}

.ep-faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow .2s;
}

.ep-faq-item:hover {
  box-shadow: 0 4px 16px rgba(15,43,70,.06);
}

.ep-faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.ep-faq-item summary::-webkit-details-marker {
  display: none;
}

.ep-faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: .8rem;
  color: var(--teal);
  transition: transform .3s;
  flex-shrink: 0;
}

.ep-faq-item[open] summary::after {
  transform: rotate(180deg);
}

.ep-faq-answer {
  padding: 0 24px 20px;
}

.ep-faq-answer p {
  font-size: .95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ── Footer ── */
.ep-footer {
  background: var(--navy);
  padding: 40px 24px;
  text-align: center;
}

.molalabs-footer {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  display: inline-block;
  margin-bottom: 10px;
}

.molalabs-footer span {
  color: var(--teal);
}

.molalabs-footer:hover {
  color: var(--white);
}

.ep-footer p {
  color: rgba(255,255,255,.45);
  font-size: .85rem;
}

.ep-footer p a {
  color: rgba(255,255,255,.55);
  transition: color .2s;
}

.ep-footer p a:hover {
  color: var(--teal);
}

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .ws-nav-links {
    display: none;
  }

  #ws-hamburger {
    display: flex;
  }

  .ep-hero {
    padding: 110px 20px 50px;
  }

  .ep-hero h1 {
    font-size: 1.85rem;
  }

  .ep-hero-sub {
    font-size: 1rem;
  }

  .ep-section {
    padding: 48px 0;
  }

  .ep-section-title {
    font-size: 1.35rem;
  }

  .ep-stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ep-stat-card {
    padding: 20px 16px;
  }

  .ep-stat-number {
    font-size: 1.45rem;
  }

  .ep-chart-card {
    padding: 18px 14px;
    border-radius: 12px;
  }

  .ep-chart-card canvas {
    max-height: 280px;
  }

  .ep-cta-inner {
    padding: 36px 24px;
    border-radius: 16px;
  }

  .ep-cta-inner h3 {
    font-size: 1.3rem;
  }

  .ep-content h2 {
    font-size: 1.3rem;
  }

  .ep-faq {
    padding: 48px 0 60px;
  }

  .ep-faq-item summary {
    padding: 16px 20px;
    font-size: .95rem;
  }

  .ep-faq-answer {
    padding: 0 20px 16px;
  }
}

@media (max-width: 480px) {
  .ep-hero {
    padding: 100px 16px 40px;
  }

  .ep-hero h1 {
    font-size: 1.55rem;
  }

  .ep-hero-sub {
    font-size: .93rem;
  }

  .ep-badge {
    font-size: .78rem;
    padding: 5px 12px;
  }

  .ep-container {
    padding: 0 16px;
  }

  .ep-section {
    padding: 36px 0;
  }

  .ep-section-title {
    font-size: 1.2rem;
    gap: 8px;
  }

  .ep-chart-card {
    padding: 14px 10px;
  }

  .ep-chart-card canvas {
    max-height: 220px;
  }

  .ep-cta-banner {
    padding: 32px 0;
  }

  .ep-cta-inner {
    padding: 28px 18px;
  }

  .ep-cta-inner h3 {
    font-size: 1.15rem;
  }

  .ep-cta-btn {
    padding: 12px 24px;
    font-size: .93rem;
  }

  .ep-content {
    padding: 32px 0 48px;
  }

  .ep-content p {
    font-size: .93rem;
  }

  .ep-footer {
    padding: 32px 16px;
  }
}