:root {
  --bg: #000;
  --c: #d084ff;
  --c-grad: linear-gradient(135deg, #c040ff, #ff60c0);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-h: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-c: rgba(180, 80, 255, 0.35);
  --text: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.45);
  --muted-2: rgba(245, 245, 247, 0.25);
  --ok: #29d391;
  --shadow: 0 0 40px rgba(180, 80, 255, 0.15);
  --r-card: 20px;
  --r-btn: 12px;
  --nav-h: 62px;
  font-family: -apple-system, "SF Pro Display", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  width: 550px;
  height: 550px;
  background: rgba(192, 64, 255, 0.18);
  top: -180px;
  right: -100px;
}
.orb-2 {
  width: 470px;
  height: 470px;
  background: rgba(255, 96, 192, 0.13);
  left: -120px;
  top: 35%;
}
.orb-3 {
  width: 460px;
  height: 460px;
  background: rgba(130, 50, 255, 0.13);
  right: 10%;
  bottom: -120px;
}

.site-nav {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, calc(100% - 1rem));
  z-index: 1000;
  background: rgba(10, 10, 12, 0.7);
  border: 1px solid var(--border);
  backdrop-filter: blur(40px);
  border-radius: 16px;
}
.progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--c-grad);
  z-index: 1100;
}
.nav-inner {
  min-height: var(--nav-h);
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  width: auto;
  height: auto;
  overflow: visible;
}
.logo-img {
  width: auto;
  height: 52px;
  max-width: 220px;
  display: block;
  transform: none;
}
@media (max-width: 768px) {
  .logo-img {
    height: 44px;
    max-width: 180px;
  }
}
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--c-grad);
}
.logo-mark svg {
  width: 14px;
  height: 14px;
  color: #000;
}
.nav-links {
  list-style: none;
  display: none;
  margin: 0;
  padding: 0;
  gap: 1.4rem;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--c);
}
.nav-right {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.hamburger {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--text);
}
.cart-btn {
  min-height: 44px;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}
.badge {
  min-width: 20px;
  min-height: 20px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--c);
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(8, 8, 12, 0.95);
  backdrop-filter: blur(30px);
  display: none;
  padding: 7rem 1.4rem 1.4rem;
}
.menu-overlay.open {
  display: block;
}
.menu-overlay a {
  display: block;
  padding: 0.9rem 0;
  font-size: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 7.5rem 0 4rem;
}
.hero-grid {
  display: grid;
  gap: 1.4rem;
}
h1,
h2,
h3 {
  letter-spacing: -2px;
  line-height: 1.05;
  margin: 0;
}
h1 {
  font-size: clamp(2.2rem, 10vw, 5.5rem);
}
h2 {
  font-size: clamp(1.7rem, 7vw, 3rem);
}
h3 {
  font-size: clamp(1.2rem, 5vw, 1.8rem);
}
.lead {
  color: var(--muted);
  line-height: 1.7;
  max-width: 62ch;
  font-size: clamp(1rem, 4vw, 1.15rem);
}
.accent-text {
  background: var(--c-grad);
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-main,
.btn-line,
.btn-ghost {
  min-height: 44px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  padding: 0.8rem 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
  cursor: pointer;
  will-change: transform;
}
.btn-main {
  background: var(--c-grad);
  color: #000;
  font-weight: 700;
}
.btn-line {
  background: var(--glass);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost {
  background: transparent;
  border-color: var(--border-c);
  color: var(--c);
}
.btn-main:hover,
.btn-line:hover,
.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.glass,
.glass-card {
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(40px);
}
.glass-card {
  border-radius: var(--r-card);
  transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
}
.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-c);
  box-shadow: var(--shadow);
}

.grid {
  display: grid;
  gap: 1rem;
}
.cards-3 {
  grid-template-columns: 1fr;
}
.cards-4 {
  grid-template-columns: 1fr;
}

.section {
  position: relative;
  z-index: 1;
  padding: 2.8rem 0;
}
.section-head {
  margin-bottom: 1.2rem;
}
.kicker {
  color: var(--c);
  font-size: 0.78rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.product-card {
  padding: 1rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.product-media {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0.9rem;
  aspect-ratio: 4/3;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.price {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.6px;
}

.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
th,
td {
  border-bottom: 1px solid var(--border);
  text-align: left;
  padding: 0.8rem;
}
th {
  color: var(--muted);
  font-weight: 600;
}
.best-col {
  border: 1px solid var(--border-c);
  background: rgba(180, 80, 255, 0.09);
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-btn {
  width: 100%;
  text-align: left;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  color: var(--text);
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  transition: max-height 0.35s cubic-bezier(.4, 0, .2, 1);
}
.accordion-panel p {
  margin: 0 0 1rem;
  line-height: 1.7;
}

.reviews-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 86%);
  overflow-x: auto;
  gap: 0.8rem;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}
.reviews-row::-webkit-scrollbar {
  height: 8px;
}
.reviews-row > article {
  scroll-snap-align: start;
  padding: 1rem;
}
.stars {
  color: var(--c);
  display: flex;
  gap: 0.15rem;
  margin-bottom: 0.7rem;
}

.trust-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  overflow-x: auto;
  gap: 0.7rem;
}
.trust-item {
  min-height: 78px;
  padding: 0.9rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  text-align: center;
}

.footer {
  position: relative;
  z-index: 1;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-grad);
}
.footer-main {
  padding: 2rem 0 1.2rem;
  display: grid;
  gap: 1.2rem;
}
.footer h4 {
  margin: 0 0 0.7rem;
}
.footer-links a {
  display: block;
  color: var(--muted);
  margin: 0.3rem 0;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 0.9rem 0 1.2rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.tab-panel h2,
.tab-panel h3,
.tab-panel h4 {
  color: var(--text);
}

.blog-content a,
article a {
  color: var(--c);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-content a:hover,
article a:hover {
  opacity: 0.8;
}

.toast-wrap {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  display: grid;
  gap: 0.5rem;
}
.toast {
  background: rgba(12, 12, 15, 0.9);
  border: 1px solid var(--border-c);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  min-width: 250px;
  transform: translateX(120%);
  transition: transform 0.28s cubic-bezier(.4, 0, .2, 1);
}
.toast.show {
  transform: translateX(0);
}

.cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  width: min(420px, 100%);
  height: 100vh;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform .3s ease;
  padding: 1rem;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1190;
  background: rgba(0, 0, 0, .65);
}

.cart-panel {
  height: 100%;
  border-radius: 16px;
  padding: 1rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: .8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  /* Fallback: als JS niet laadt zijn elementen toch zichtbaar na 1s */
  animation: reveal-fallback 0s 1s forwards;
}
@keyframes reveal-fallback {
  to { opacity: 1; transform: translateY(0); }
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: calc(var(--nav-h) + 2rem);
}

.cursor-dot {
  position: fixed;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(208, 132, 255, 0.3);
  border: 1px solid rgba(208, 132, 255, 0.8);
  pointer-events: none;
  z-index: 1300;
  transform: translate(-50%, -50%);
}

.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 6rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(12, 12, 15, 0.85);
  color: var(--text);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .section {
    padding: 4rem 0;
  }
  .nav-links {
    display: flex;
  }
  .hamburger {
    display: none;
  }
  .cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cards-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
