/* ============================================
   aCheq — main.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Outfit:wght@200;300;400&display=swap');

/* ============================================
   RESET
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ============================================
   THEMA VARIABELEN — Donker (standaard)
   ============================================ */
:root,
[data-theme="dark"] {
  --bg: #080c14;
  --bg2: rgba(255, 255, 255, 0.02);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.65);
  --accent: #C4B5FD;
  --green: #6EE7B7;
  --border: rgba(255, 255, 255, 0.08);
  --nav-bg: rgba(8, 12, 20, 0.9);
  --grid-dot: rgba(196, 181, 253, 0.03);
}

/* Licht thema */
[data-theme="light"] {
  --bg: #f5f5f7;
  --bg2: rgba(0, 0, 0, 0.02);
  --text: #0a0a0a;
  --muted: rgba(0, 0, 0, 0.85);
  --accent: #7c3aed;
  --green: #059669;
  --border: rgba(0, 0, 0, 0.08);
  --nav-bg: rgba(245, 245, 247, 0.9);
  --grid-dot: rgba(124, 58, 237, 0.04);
}

/* ============================================
   BASIS
   ============================================ */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, var(--grid-dot) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   NAVIGATIE
   ============================================ */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

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

.nav-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-lang {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-lang select {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 14px;
}

.nav-cta-wrap {
  position: relative;
}

.nav-cta {
  background: rgba(196, 181, 253, 0.1);
  border: 1px solid rgba(196, 181, 253, 0.3);
  color: var(--accent);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 300;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: rgba(196, 181, 253, 0.2);
}

.nav-store-choice {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  padding-top: 6px;
  right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
  min-width: 160px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.nav-cta-wrap:hover .nav-store-choice {
  display: flex;
}

.store-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text) !important;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.2s;
}

.store-link:hover {
  background: var(--bg2);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 24px 60px;
}

.hero-label {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

/* ============================================
   STEPS
   ============================================ */
.steps {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 24px 100px;
}

.steps::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(196, 181, 253, 0.15) 10%, rgba(196, 181, 253, 0.15) 90%, transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

.step {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-left {
  text-align: right;
  padding: 40px 40px 40px 0;
}

.step-right {
  text-align: left;
  padding: 40px 0 40px 40px;
}

.step-empty {
  min-height: 120px;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  flex-shrink: 0;
}

.step-circle.purple {
  background: rgba(196, 181, 253, 0.08);
  border: 1px solid rgba(196, 181, 253, 0.3);
  color: var(--accent);
}

.step-circle.green {
  background: rgba(110, 231, 183, 0.08);
  border: 1px solid rgba(110, 231, 183, 0.3);
  color: var(--green);
}

.step-circle.white {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
}

.step-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 28px 24px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.step-card:hover {
  border-color: rgba(196, 181, 253, 0.3);
  background: rgba(196, 181, 253, 0.04);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(196, 181, 253, 0.15);
}

.step-card.green-card:hover {
  border-color: rgba(110, 231, 183, 0.3);
  background: rgba(110, 231, 183, 0.03);
  box-shadow: 0 20px 40px rgba(110, 231, 183, 0.15);
}

.step-tag {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 500;
}

.step-tag.purple {
  color: rgba(196, 181, 253, 0.5);
}

.step-tag.green {
  color: rgba(110, 231, 183, 0.5);
}

.step-tag.white {
  color: rgba(255, 255, 255, 0.25);
}

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 10px;
}

.step-title em {
  font-style: italic;
  color: var(--accent);
}

.step-title em.g {
  color: var(--green);
}

.step-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  justify-content: flex-end;
}

.badges.left {
  justify-content: flex-start;
}

.badge {
  font-size: 10px;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
}

.badge.purple {
  background: rgba(196, 181, 253, 0.08);
  border: 1px solid rgba(196, 181, 253, 0.2);
  color: var(--accent);
}

.badge.green {
  background: rgba(110, 231, 183, 0.08);
  border: 1px solid rgba(110, 231, 183, 0.2);
  color: var(--green);
}

.badge.white {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   FINALE
   ============================================ */
.finale {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px 100px;
  text-align: center;
}

.finale-card {
  background: rgba(196, 181, 253, 0.04);
  border: 1px solid rgba(196, 181, 253, 0.15);
  border-radius: 24px;
  padding: 48px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.finale-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.finale-label {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.finale-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 16px;
}

.finale-title em {
  font-style: italic;
  color: var(--accent);
}

.finale-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.dl-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.dlbtn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 24px;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.dlbtn:hover {
  background: rgba(255, 255, 255, 0.09);
}

.dlbtn .sl {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
}

.dlbtn .sn {
  font-size: 15px;
  font-weight: 300;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  position: relative;
  z-index: 1;
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
}

/* ============================================
   ANIMATIES
   ============================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   HAMBURGER MENU
   ============================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
  z-index: 200;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile overlay menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: var(--bg);
  padding: 80px 32px 40px;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 22px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: var(--text);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

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

.mobile-menu-bottom {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu-lang {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mobile-menu-lang select {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  flex: 1;
}

.mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  transition: background 0.2s;
}

.mobile-store-btn:hover {
  background: var(--bg2);
}

/* ============================================
   MOBIEL
   ============================================ */
@media (max-width: 680px) {
  #main-nav {
    padding: 14px 20px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  footer {
    padding: 32px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .steps::before {
    left: 28px;
  }

  .step {
    grid-template-columns: 56px 1fr;
  }

  .step-empty {
    display: none;
  }

  .step-left,
  .step-right {
    padding: 20px 0 20px 20px;
    grid-column: 2;
    text-align: left;
  }

  .step-num {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    padding-top: 24px;
  }

  .badges {
    justify-content: flex-start;
  }

  .finale-card {
    padding: 32px 20px;
  }
}