/* ============================================
   THE DOPAMINE HUB — Custom CSS
   ============================================ */

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

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: #0A0A12;
  color: #F8FAFC;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.font-display { font-family: 'Poppins', system-ui, sans-serif; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0A0A12; }
::-webkit-scrollbar-thumb { background: rgba(139,92,246,.45); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #8B5CF6; }

/* --- Gradient Text --- */
.gradient-text {
  background: linear-gradient(135deg, #A78BFA 0%, #22D3EE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Glass --- */
.glass {
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.07);
}
.glass-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.glass-card:hover {
  border-color: rgba(139,92,246,.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(139,92,246,.12);
}

/* --- Background Orbs --- */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none;
  animation: orb-drift 22s ease-in-out infinite alternate;
  will-change: transform;
}
.orb-1 { width:600px;height:600px; background:radial-gradient(circle,rgba(139,92,246,.3) 0%,transparent 70%); top:-200px;left:-100px; }
.orb-2 { width:500px;height:500px; background:radial-gradient(circle,rgba(34,211,238,.2) 0%,transparent 70%); top:20%;right:-100px; animation-duration:28s;animation-delay:-8s; }
.orb-3 { width:400px;height:400px; background:radial-gradient(circle,rgba(244,114,182,.15) 0%,transparent 70%); bottom:10%;left:30%; animation-duration:18s;animation-delay:-4s; }

@keyframes orb-drift {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(40px,-30px) scale(1.08); }
  100% { transform: translate(-20px,20px) scale(.95); }
}

/* --- Gradient Border Card --- */
.gradient-border {
  position: relative;
  background: #10101E;
  border-radius: 20px;
}
.gradient-border::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(139,92,246,.6), rgba(34,211,238,.4), rgba(244,114,182,.3));
  z-index: -1;
}

/* ============================================
   SITE HEADER + FLOATING PILL NAVBAR
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.875rem 1.5rem;
  pointer-events: none;
}

.navbar {
  max-width: 1152px;
  margin: 0 auto;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  background: rgba(10,10,18,.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.08);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
  pointer-events: all;
  position: relative;
}
.navbar.scrolled {
  background: rgba(10,10,18,.97);
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 8px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(139,92,246,.07);
}

/* --- Desktop nav links --- */
.nav-link {
  font-size: .8125rem; font-weight: 500; color: #94A3B8;
  position: relative; transition: color .2s;
  padding: .25rem 0;
}
.nav-link::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1.5px; background: #8B5CF6;
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease; border-radius: 1px;
}
.nav-link:hover { color: #F8FAFC; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: #A78BFA; }
.nav-link.active::after { transform: scaleX(1); }

/* --- Nav CTA ("Shop") --- */
.nav-cta-btn {
  font-size: .8rem; font-weight: 600; color: #A78BFA;
  padding: .35rem .9rem; border-radius: 8px;
  border: 1px solid rgba(139,92,246,.3);
  background: rgba(139,92,246,.08);
  transition: background .2s, border-color .2s, color .2s;
  text-decoration: none;
}
.nav-cta-btn:hover { background: rgba(139,92,246,.18); border-color: rgba(139,92,246,.5); color: #C4B5FD; }

/* --- Mobile Dropdown Menu --- */
.nav-dropdown {
  position: fixed;
  top: 74px; left: 1.5rem; right: 1.5rem;
  background: rgba(13,13,26,.98);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.7), 0 0 0 1px rgba(139,92,246,.06);
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s cubic-bezier(.4,0,.2,1), opacity .25s ease;
  opacity: 0;
  z-index: 999;
  pointer-events: all;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-dropdown.open {
  max-height: 400px;
  opacity: 1;
}
.nav-dropdown-link {
  display: block; padding: .875rem 1.5rem;
  font-size: .9375rem; font-weight: 500; color: #94A3B8;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: color .2s, background .2s;
  text-decoration: none;
}
.nav-dropdown-link:hover { color: #F8FAFC; background: rgba(139,92,246,.06); }
.nav-dropdown-link:last-child { border-bottom: none; }

/* Hamburger animation */
.hamburger-line { display: block; width: 20px; height: 1.5px; background: #94A3B8; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.hamburger.open .hamburger-line:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: linear-gradient(135deg, #7C3AED 0%, #0891B2 100%);
  color: white; border: none; cursor: pointer;
  padding: .9375rem 2rem; border-radius: 100px;
  font-family: 'Inter', sans-serif; font-size: .9375rem; font-weight: 600;
  white-space: nowrap; position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 6px 28px rgba(124,58,237,.42), 0 0 0 1px rgba(139,92,246,.2);
  text-decoration: none; letter-spacing: .01em;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, #8B5CF6 0%, #22D3EE 100%);
  opacity: 0; transition: opacity .25s;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 44px rgba(124,58,237,.55), 0 0 0 1px rgba(139,92,246,.3); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0) scale(.99); }
.btn-primary-lg { padding: 1.0625rem 2.5rem; font-size: 1.0625rem; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent;
  color: #CBD5E1; cursor: pointer;
  padding: .9375rem 2rem; border-radius: 100px;
  font-family: 'Inter', sans-serif; font-size: .9375rem; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.16);
  transition: background .25s, border-color .25s, color .25s, transform .25s;
  white-space: nowrap; text-decoration: none; letter-spacing: .01em;
}
.btn-secondary:hover {
  background: rgba(139,92,246,.1);
  border-color: rgba(139,92,246,.5);
  color: #E2E8F0;
  transform: translateY(-1px);
}
.btn-secondary:active { transform: translateY(0); }
.btn-secondary-lg { padding: 1.0625rem 2.5rem; font-size: 1.0625rem; }

/* ============================================
   TRUST BAR
   ============================================ */
.trust-item {
  display: flex; align-items: center; gap: .625rem;
  font-size: .8rem; font-weight: 500; color: #94A3B8;
}
.trust-icon {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.trust-icon svg { width: 15px; height: 15px; }

/* ============================================
   FEATURE / ICON CARDS
   ============================================ */
.icon-box {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.125rem; flex-shrink: 0;
}
.icon-box svg { width: 22px; height: 22px; }
.ib-violet { background: rgba(139,92,246,.15); color: #A78BFA; }
.ib-cyan   { background: rgba(34,211,238,.12);  color: #67E8F9; }
.ib-pink   { background: rgba(244,114,182,.12); color: #F9A8D4; }
.ib-amber  { background: rgba(251,191,36,.12);  color: #FCD34D; }
.ib-emerald{ background: rgba(52,211,153,.12);  color: #6EE7B7; }

/* ============================================
   PLANNER MOCKUP (Hero)
   ============================================ */
.planner-wrap { position: relative; perspective: 1200px; }
.planner-book {
  width: 280px;
  background: linear-gradient(145deg, #1A1A30 0%, #13132A 60%, #0C0C1E 100%);
  border-radius: 4px 16px 16px 4px;
  box-shadow: -6px 0 0 #2D2B80, -12px 0 0 #3730A3,
              24px 32px 80px rgba(0,0,0,.7),
              0 0 60px rgba(139,92,246,.15);
  padding: 2rem 1.75rem 1.75rem 2.125rem;
  transform: rotateY(-8deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform .5s ease;
  border: 1px solid rgba(139,92,246,.18);
  min-height: 400px;
}
.planner-book:hover { transform: rotateY(-4deg) rotateX(1deg) scale(1.02); }
.planner-spine {
  position: absolute; left: 0; top: 0; bottom: 0; width: 14px;
  background: linear-gradient(180deg, #5B21B6, #4338CA);
  border-radius: 4px 0 0 4px;
}
.book-brand-tag { font-size: .6rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #7C3AED; margin-bottom: .625rem; }
.book-title-main { font-family: 'Poppins', sans-serif; font-size: 1.375rem; font-weight: 800; color: white; line-height: 1.2; margin-bottom: 1.5rem; }
.book-divider { height: 1px; background: rgba(255,255,255,.07); margin-bottom: 1rem; }
.book-block {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px; padding: .75rem; margin-bottom: .625rem;
}
.book-block.bl { border-left: 2.5px solid #8B5CF6; }
.book-block.bl-c { border-left: 2.5px solid #22D3EE; }
.book-block-label { font-size: .55rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .4rem; }
.bbl-v { color: #8B5CF6; } .bbl-c { color: #22D3EE; }
.b-lines { display: flex; flex-direction: column; gap: .275rem; }
.b-line { height: 1.5px; background: rgba(255,255,255,.07); border-radius: 1px; }
.b-checks { display: flex; flex-direction: column; gap: .35rem; }
.b-check-row { display: flex; align-items: center; gap: .4rem; }
.b-check { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.bc-done { background: #8B5CF6; } .bc-done-c { background: #22D3EE; } .bc-empty { border: 1.5px solid rgba(255,255,255,.2); }
.b-check-line { flex: 1; height: 1.5px; background: rgba(255,255,255,.07); border-radius: 1px; }

/* Floating badges */
.float-tag {
  position: absolute;
  background: rgba(13,13,26,.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: .5rem .875rem;
  font-size: .75rem; font-weight: 600; color: #E2E8F0;
  display: flex; align-items: center; gap: .5rem; white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  animation: badge-float 5s ease-in-out infinite;
}
.ft-1 { top: -1.25rem; right: -.75rem; animation-delay: 0s; }
.ft-2 { bottom: 2.5rem; left: -2.5rem; animation-delay: -1.7s; }
.ft-3 { top: 4.5rem; right: -2.5rem; animation-delay: -3.2s; }

@keyframes badge-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/* ============================================
   IMAGE PLACEHOLDER
   ============================================ */
.img-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  border: 1.5px dashed rgba(139,92,246,.25);
  border-radius: 14px;
  background: rgba(139,92,246,.03);
  color: rgba(139,92,246,.45);
  font-size: .7rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; text-align: center; user-select: none;
}
.img-placeholder svg { width: 28px; height: 28px; opacity: .4; }

/* ============================================
   COLOR SWATCHES
   ============================================ */
.swatch {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s, border-color .2s; position: relative;
}
.swatch:hover  { transform: scale(1.2); }
.swatch.active { border-color: white; transform: scale(1.1); }
.swatch.active::after {
  content: ''; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.3); border-radius: 50%;
  font-size: .5rem; font-weight: 900; color: white;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-popular {
  position: relative;
  background: rgba(139,92,246,.05);
  border: 1px solid rgba(139,92,246,.4);
  border-radius: 24px;
}
.popular-pill {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, #7C3AED, #22D3EE);
  color: white; padding: .2rem 1.125rem; border-radius: 100px;
  font-size: .7rem; font-weight: 700; white-space: nowrap; letter-spacing: .06em;
}

/* ============================================
   FAQ — improved
   ============================================ */
.faq-item { border-bottom: 1px solid rgba(255,255,255,.06); }

.faq-btn {
  width: 100%; display: flex; align-items: flex-start;
  justify-content: space-between; gap: 1.25rem;
  padding: 1.375rem 0;
  text-align: left; background: none; border: none; cursor: pointer;
  color: #E2E8F0; font-family: 'Inter', sans-serif;
  font-size: 1rem; font-weight: 600;
  transition: color .2s ease;
  line-height: 1.5;
}
.faq-btn:hover { color: #A78BFA; }

.faq-toggle {
  width: 26px; height: 26px; flex-shrink: 0; margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, border-color .25s, transform .35s ease;
}
.faq-toggle svg { width: 11px; height: 11px; color: #64748B; transition: color .25s; }
.faq-item.open .faq-toggle {
  background: rgba(139,92,246,.2);
  border-color: rgba(139,92,246,.5);
  transform: rotate(45deg);
}
.faq-item.open .faq-toggle svg { color: #A78BFA; }

.faq-answer {
  overflow: hidden; max-height: 0;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
}
.faq-item.open .faq-answer { max-height: 320px; }

.faq-answer-body {
  padding: .25rem 0 1.5rem 1.25rem;
  border-left: 2px solid rgba(139,92,246,.25);
  margin-bottom: .25rem;
}
.faq-answer-body p { color: #94A3B8; font-size: .9375rem; line-height: 1.8; }

/* ============================================
   CART DRAWER
   ============================================ */
.cart-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: transparent; pointer-events: none;
  transition: background .25s ease;
}
.cart-overlay.open { background: rgba(0,0,0,.65); pointer-events: all; backdrop-filter: blur(4px); }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px,100vw); z-index: 1101;
  background: #0D0D1A;
  border-left: 1px solid rgba(255,255,255,.08);
  box-shadow: -20px 0 60px rgba(0,0,0,.5);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-header h3 { font-size: 1.0625rem; font-weight: 700; color: #F8FAFC; }
.cart-close-btn {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,.06); color: #64748B;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.cart-close-btn:hover { background: rgba(255,255,255,.1); color: #F8FAFC; }

.cart-body { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem; }
.cart-empty { text-align: center; padding: 3rem 0; color: #475569; }
.cart-empty-icon { margin-bottom: 1rem; display: flex; justify-content: center; }
.cart-empty-icon svg { width: 40px; height: 40px; opacity: .35; }

.cart-item {
  display: flex; gap: 1rem; padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.cart-item-thumb {
  width: 64px; height: 64px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(139,92,246,.18), rgba(34,211,238,.1));
  border: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  color: #7C3AED;
}
.cart-item-thumb svg { width: 24px; height: 24px; }
.cart-item-name { font-size: .9rem; font-weight: 600; color: #F8FAFC; margin-bottom: .15rem; }
.cart-item-variant { font-size: .775rem; color: #475569; margin-bottom: .5rem; }
.cart-item-controls { display: flex; align-items: center; justify-content: space-between; }
.qty-control { display: flex; align-items: center; gap: .5rem; }
.qty-btn {
  width: 26px; height: 26px; border-radius: 6px;
  background: rgba(255,255,255,.06); color: #94A3B8;
  border: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; font-weight: 700; cursor: pointer;
  transition: background .2s, color .2s;
}
.qty-btn:hover { background: rgba(139,92,246,.2); color: #A78BFA; }
.qty-num { font-size: .875rem; font-weight: 600; color: #F8FAFC; min-width: 20px; text-align: center; }
.cart-item-price { font-size: .9rem; font-weight: 700; color: #F8FAFC; }
.remove-item { font-size: .75rem; color: #334155; background: none; border: none; cursor: pointer; margin-top: .25rem; display: block; transition: color .2s; }
.remove-item:hover { color: #EF4444; }

.cart-footer {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.cart-subtotal { display: flex; justify-content: space-between; align-items: center; margin-bottom: .625rem; }
.cart-subtotal span   { font-size: .875rem; color: #475569; }
.cart-subtotal strong { font-size: 1.125rem; font-weight: 800; color: #F8FAFC; }
.cart-shipping { font-size: .775rem; color: #22D3EE; text-align: center; margin-bottom: 1rem; }

.cart-checkout-btn {
  width: 100%; padding: .9375rem;
  background: linear-gradient(135deg, #7C3AED, #0891B2);
  color: white; border: none; border-radius: 12px;
  font-family: 'Inter', sans-serif; font-size: .9375rem; font-weight: 600;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 32px rgba(124,58,237,.3);
}
.cart-checkout-btn:hover { transform: scale(1.02); box-shadow: 0 12px 40px rgba(124,58,237,.45); }

/* Cart count badge */
.cart-count {
  position: absolute; top: -6px; right: -6px;
  width: 18px; height: 18px;
  background: #8B5CF6; color: white; border-radius: 50%;
  font-size: .65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0);
  transition: opacity .2s, transform .25s cubic-bezier(.34,1.56,.64,1);
}
.cart-count.visible { opacity: 1; transform: scale(1); }

/* ============================================
   TOAST
   ============================================ */
.toast {
  position: fixed; bottom: 1.75rem; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: rgba(13,13,26,.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  color: #F8FAFC;
  padding: .875rem 1.5rem; border-radius: 12px;
  font-size: .875rem; font-weight: 500;
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
  z-index: 2000; display: flex; align-items: center; gap: .625rem;
  white-space: nowrap;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast-icon { color: #A78BFA; display: flex; align-items: center; }
.toast-icon svg { width: 16px; height: 16px; }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: .1s; }
.rd2 { transition-delay: .2s; }
.rd3 { transition-delay: .3s; }
.rd4 { transition-delay: .4s; }

/* ============================================
   SECTION DIVIDER
   ============================================ */
.section-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,.35), rgba(34,211,238,.25), transparent);
}

/* ============================================
   PRODUCT CARDS (Produkte page)
   ============================================ */
.product-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px; overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.product-card:hover {
  border-color: rgba(139,92,246,.35);
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(139,92,246,.13);
}
.product-img {
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-img.pi-violet { background: linear-gradient(135deg, rgba(139,92,246,.2), rgba(139,92,246,.05)); }
.product-img.pi-cyan   { background: linear-gradient(135deg, rgba(34,211,238,.18), rgba(34,211,238,.04)); }
.product-img.pi-pink   { background: linear-gradient(135deg, rgba(244,114,182,.18), rgba(244,114,182,.04)); }
.product-img.pi-amber  { background: linear-gradient(135deg, rgba(251,191,36,.18), rgba(251,191,36,.04)); }
.product-img.pi-green  { background: linear-gradient(135deg, rgba(52,211,153,.18), rgba(52,211,153,.04)); }
.product-img svg { width: 56px; height: 56px; opacity: .35; }

.add-to-cart-btn {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #7C3AED, #0891B2);
  color: white; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(124,58,237,.3);
  flex-shrink: 0;
}
.add-to-cart-btn:hover { transform: scale(1.12); box-shadow: 0 8px 24px rgba(124,58,237,.5); }
.add-to-cart-btn svg { width: 16px; height: 16px; }

/* ============================================
   NEWSLETTER INPUT
   ============================================ */
.nl-input {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  padding: .875rem 1.5rem;
  color: #F8FAFC; font-family: 'Inter', sans-serif; font-size: .9375rem;
  outline: none; transition: border-color .2s, background .2s;
  width: 100%; max-width: 300px;
}
.nl-input:focus { border-color: rgba(139,92,246,.5); background: rgba(139,92,246,.05); }
.nl-input::placeholder { color: #334155; }

/* ============================================
   STEP DOTS (How it works)
   ============================================ */
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #7C3AED, #0891B2);
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; font-weight: 800; color: white;
  margin: 0 auto .875rem;
  box-shadow: 0 4px 20px rgba(124,58,237,.35);
}

/* ============================================
   MINI CART DROPDOWN
   ============================================ */
.cart-widget { position: relative; }

.cart-mini {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 300px;
  background: #0D0D1A;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.7), 0 0 0 1px rgba(139,92,246,.08);
  z-index: 1200;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px) scale(.98);
  transform-origin: top right;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  pointer-events: none;
  overflow: hidden;
}
.cart-mini.open {
  opacity: 1; visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.cart-mini-empty {
  padding: 2.25rem 1.25rem;
  text-align: center; color: #475569;
}
.cart-mini-empty svg { width: 34px; height: 34px; opacity: .3; margin: 0 auto .75rem; display: block; }
.cart-mini-empty p { font-size: .8125rem; }
.cart-mini-items { max-height: 240px; overflow-y: auto; padding: .375rem .875rem; }
.cart-mini-item {
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.cart-mini-item:last-child { border-bottom: none; }
.cart-mini-thumb {
  width: 38px; height: 38px; border-radius: 8px;
  background: linear-gradient(135deg,rgba(139,92,246,.18),rgba(34,211,238,.1));
  border: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; line-height: 1;
}
.cart-mini-info { flex: 1; min-width: 0; }
.cart-mini-name {
  font-size: .8rem; font-weight: 600; color: #F8FAFC;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-mini-sub { font-size: .7rem; color: #475569; margin-top: .1rem; }
.cart-mini-price { font-size: .8rem; font-weight: 700; color: #A78BFA; flex-shrink: 0; }
.cart-mini-footer {
  padding: .75rem .875rem 1rem;
  border-top: 1px solid rgba(255,255,255,.07);
}
.cart-mini-shipping {
  font-size: .7rem; color: #22D3EE;
  text-align: center; margin-bottom: .5rem;
}
.cart-mini-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .7rem;
}
.cart-mini-total span { font-size: .8125rem; color: #64748B; }
.cart-mini-total strong { font-size: .9375rem; font-weight: 800; color: #F8FAFC; }
.cart-mini-checkout {
  display: block; width: 100%;
  padding: .7rem; border-radius: 10px;
  background: linear-gradient(135deg, #7C3AED, #0891B2);
  color: white; text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: .875rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 20px rgba(124,58,237,.3);
}
.cart-mini-checkout:hover { transform: scale(1.02); box-shadow: 0 8px 28px rgba(124,58,237,.45); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 8rem 1.5rem 5rem;
  overflow: visible;
}
.hero-content { position: relative; z-index: 2; width: 100%; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: #A78BFA;
  padding: .35rem 1rem; border-radius: 100px;
  background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.2);
  margin-bottom: 1.75rem;
}
.hero-headline {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: #F8FAFC;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.0625rem;
  color: #94A3B8;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 2.25rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  margin-top: 3rem;
  width: 100%;
}
.hero-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, #0A0A12);
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   TRUST STRIP
   ============================================ */
.trust-strip {
  padding: 2.25rem 0;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  background: rgba(255,255,255,.015);
}

/* ============================================
   FEATURE SECTIONS
   ============================================ */
.feature-section {
  padding: 7rem 0;
  position: relative;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}
.feature-grid.reversed .feature-copy { order: 2; }
.feature-grid.reversed .feature-visual { order: 1; }

.feature-copy { position: relative; z-index: 2; }
.feature-num {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: .75rem; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase;
  color: #8B5CF6;
  margin-bottom: 1rem;
  padding: .2rem .7rem;
  border-radius: 6px;
  background: rgba(139,92,246,.08);
  border: 1px solid rgba(139,92,246,.18);
}
.feature-headline {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.875rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #F8FAFC;
  margin-bottom: 1.25rem;
}
.feature-body {
  font-size: 1rem;
  color: #94A3B8;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.feature-bullets {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .625rem;
}
.feature-bullets li {
  display: flex; align-items: center; gap: .625rem;
  font-size: .9375rem; color: #CBD5E1;
}
.feature-bullets li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, #8B5CF6, #22D3EE);
  flex-shrink: 0;
}
.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   FEATURE CARD MOCKUP (fv-card)
   ============================================ */
.fv-card {
  background: #0D0D1A;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(139,92,246,.08);
  width: 100%;
  max-width: 420px;
}
.fv-card-header {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1rem;
  background: rgba(255,255,255,.025);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.fv-dot {
  width: 10px; height: 10px;
  border-radius: 50%; flex-shrink: 0;
  opacity: .8;
}
.fv-label {
  font-size: .6875rem; font-weight: 600;
  color: #64748B; margin-left: .375rem;
  letter-spacing: .04em;
}
.fv-body {
  padding: 1rem 1.125rem 1.25rem;
  display: flex; flex-direction: column; gap: .55rem;
}
.fv-section-label {
  font-size: .625rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  margin-top: .25rem; margin-bottom: .15rem;
}
.fv-check-row {
  display: flex; align-items: center; gap: .55rem;
}
.fv-check {
  width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,.18);
}
.fv-check.done   { background: #8B5CF6; border-color: #8B5CF6; }
.fv-check.done-c { background: #22D3EE; border-color: #22D3EE; }
.fv-check-text {
  font-size: .8125rem; color: #CBD5E1;
}
.fv-check-text.done-text {
  color: #64748B;
  text-decoration: line-through;
}
.fv-divider {
  height: 1px;
  background: rgba(255,255,255,.06);
  margin: .3rem 0;
}
.fv-time-row {
  display: flex; align-items: center; gap: .5rem;
}
.fv-time {
  font-size: .625rem; color: rgba(255,255,255,.25);
  width: 30px; flex-shrink: 0; text-align: right;
}
.fv-block {
  height: 20px; border-radius: 5px;
  display: flex; align-items: center; padding: 0 .5rem;
  min-width: 40px;
}
.fv-block span {
  font-size: .6rem; font-weight: 600; color: rgba(255,255,255,.85);
  white-space: nowrap;
}
.fv-line {
  height: 1.5px; border-radius: 1px;
  background: rgba(255,255,255,.08);
}
.fv-habit-grid {
  display: flex; flex-direction: column; gap: .45rem;
}
.fv-habit-row {
  display: flex; align-items: center; gap: .625rem;
}
.fv-habit-name {
  font-size: .7rem; color: #94A3B8;
  width: 64px; flex-shrink: 0;
}
.fv-habit-days {
  display: flex; gap: 3px;
}
.fv-day {
  width: 16px; height: 16px; border-radius: 3px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
}
.fv-day.done-v { background: rgba(139,92,246,.55); border-color: rgba(139,92,246,.3); }
.fv-day.done-c { background: rgba(34,211,238,.45); border-color: rgba(34,211,238,.25); }
.fv-dopamine-grid {
  display: flex; flex-wrap: wrap; gap: .35rem;
}
.fv-dopamine-item {
  font-size: .6875rem; font-weight: 500; color: #94A3B8;
  padding: .25rem .6rem; border-radius: 6px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .planner-book { transform: none; width: 100%; max-width: 280px; }
  .float-tag { display: none; }
  .cart-mini { right: -10px; width: 280px; }

  .hero-section {
    padding: 6.5rem 1.25rem 4rem;
    min-height: auto;
  }
  .hero-sub { max-width: 100%; }
  .hero-visual { margin-top: 2rem; }

  .feature-section { padding: 4.5rem 0; }
  .feature-grid, .feature-grid.reversed {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .feature-grid.reversed .feature-copy { order: 0; }
  .feature-grid.reversed .feature-visual { order: 0; }
  .feature-headline { font-size: 1.875rem; }

  .trust-strip .grid { gap: 1rem; }
  .trust-item { gap: .5rem; }
}
