/* ═══════════════════════════════════════════
   CREATIVEHUB — Premium Dark Store CSS
   ═══════════════════════════════════════════ */

:root {
  --black: #080808;
  --dark: #0f0f0f;
  --dark-2: #161616;
  --dark-3: #1e1e1e;
  --border: rgba(255,255,255,0.07);
  --border-light: rgba(255,255,255,0.12);
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --gold-dim: rgba(201,168,76,0.15);
  --white: #f5f5f0;
  --muted: rgba(245,245,240,0.5);
  --accent: #8b5cf6;
  --accent-2: #06b6d4;
  --red: #ef4444;
  --green: #10b981;
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Cormorant Garamond', serif;
  --font-mono: 'DM Mono', monospace;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 480px;
  background: var(--dark-3); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
  z-index: 9999; font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--muted); opacity: 0; transform: translateY(20px);
  animation: slideUp 0.6s ease 2s forwards;
}
.cookie-banner a { color: var(--gold); }
.btn-sm {
  background: var(--gold); color: var(--black);
  border: none; border-radius: 6px; padding: 6px 14px;
  font-family: var(--font-mono); font-size: 0.75rem;
  cursor: pointer; white-space: nowrap; font-weight: 500;
  transition: var(--transition);
}
.btn-sm:hover { background: var(--gold-light); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 68px;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav.scrolled { box-shadow: 0 8px 32px rgba(0,0,0,0.5); }
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem; letter-spacing: 0.12em;
  color: var(--gold);
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.05em;
}
.nav-links a { color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.cart-btn {
  position: relative; background: none; border: 1px solid var(--border-light);
  color: var(--white); cursor: pointer; padding: 8px 10px;
  border-radius: 8px; display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.cart-btn:hover { border-color: var(--gold); color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-jarvis {
  color: var(--accent-2); font-family: var(--font-mono);
  font-size: 0.75rem; letter-spacing: 0.08em;
  border: 1px solid rgba(6,182,212,0.3); padding: 6px 14px;
  border-radius: 8px; transition: all 0.3s; white-space: nowrap;
}
.nav-jarvis:hover { border-color: #06b6d4; color: #06b6d4; }
/* Hamburger — hidden on desktop, shown on mobile */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 38px; padding: 0 9px;
  background: none; border: 1px solid var(--border-light);
  border-radius: 8px; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--white); border-radius: 2px; transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  background: var(--gold); color: var(--black);
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0); transition: var(--transition);
}
.cart-count.visible { opacity: 1; transform: scale(1); }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 120px 40px 80px;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.18;
}
.orb-1 {
  width: 600px; height: 600px; top: -100px; left: -100px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  animation: drift1 12s ease-in-out infinite alternate;
}
.orb-2 {
  width: 500px; height: 500px; bottom: -100px; right: -80px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  animation: drift2 14s ease-in-out infinite alternate;
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 1; max-width: 800px;
}
.hero-tag {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em;
  color: var(--gold); margin-bottom: 24px;
  opacity: 0; animation: fadeInUp 0.8s ease 0.2s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 11rem);
  line-height: 0.9; letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.hero-title .line-1 {
  display: block; opacity: 0;
  animation: fadeInUp 0.9s ease 0.4s forwards;
}
.hero-title .line-2 {
  display: block; color: var(--gold); opacity: 0;
  animation: fadeInUp 0.9s ease 0.55s forwards;
}
.hero-title .line-3 {
  display: block; opacity: 0;
  animation: fadeInUp 0.9s ease 0.7s forwards;
}
.hero-sub {
  font-size: 1.2rem; color: var(--muted); margin-bottom: 40px; line-height: 1.8;
  opacity: 0; animation: fadeInUp 0.9s ease 0.85s forwards;
}
.hero-cta {
  display: flex; gap: 16px; justify-content: center; margin-bottom: 56px;
  opacity: 0; animation: fadeInUp 0.9s ease 1s forwards;
}
.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 32px;
  opacity: 0; animation: fadeInUp 0.9s ease 1.15s forwards;
}
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--gold); }
.stat-label { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.1em; }
.stat-divider { width: 1px; height: 40px; background: var(--border-light); }
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted);
  letter-spacing: 0.15em; animation: bounce 2s ease infinite;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--black);
  font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; padding: 14px 32px; border-radius: var(--radius);
  border: none; cursor: pointer; transition: var(--transition);
  text-transform: uppercase;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(201,168,76,0.3); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  font-family: var(--font-mono); font-size: 0.82rem;
  letter-spacing: 0.08em; padding: 14px 32px; border-radius: var(--radius);
  border: 1px solid var(--border-light); cursor: pointer; transition: var(--transition);
  text-transform: uppercase;
}
.btn-ghost:hover { border-color: var(--white); transform: translateY(-2px); }

/* ── LAUNCH BANNER ── */
.launch-banner {
  background: linear-gradient(90deg, var(--gold-dim), rgba(139,92,246,0.1), var(--gold-dim));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 14px 40px; display: flex; align-items: center; justify-content: center; gap: 32px;
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.05em;
}
.countdown { color: var(--gold); font-weight: 600; }

/* ── SECTIONS ── */
.section { padding: 100px 40px; }
.section-dark { background: var(--dark); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em;
  color: var(--gold); margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0.04em; line-height: 1;
}
.section-sub { color: var(--muted); font-size: 1.1rem; margin-top: 16px; }

/* ── PRODUCTS GRID ── */
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; max-width: 1200px; margin: 0 auto;
}
.product-card {
  position: relative; background: var(--dark-2);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--transition);
  display: flex; flex-direction: column;
}
.product-card:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.product-badge {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.12em; padding: 4px 10px; border-radius: 4px;
  background: var(--gold); color: var(--black);
}
.pv-new { background: var(--accent) !important; color: var(--white) !important; }
.bundle-badge { background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important; }

.product-visual {
  height: 180px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.pv-course { background: linear-gradient(135deg, #1a0f2e, #2d1b69); }
.pv-ebook { background: linear-gradient(135deg, #0a1628, #1a3a5c); }
.pv-music { background: linear-gradient(135deg, #0a1a0a, #1a3a1a); }
.pv-bundle { background: linear-gradient(135deg, #1a120a, #3a2a0a); }
.product-icon { font-size: 4rem; z-index: 1; filter: drop-shadow(0 0 20px rgba(255,255,255,0.3)); }
.product-glow {
  position: absolute; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
}

.product-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.product-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.product-tags span {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.08em;
  padding: 3px 10px; border: 1px solid var(--border); border-radius: 20px;
  color: var(--muted);
}
.product-name { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: 0.02em; margin-bottom: 10px; }
.product-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }
.product-features { list-style: none; margin-bottom: 24px; flex: 1; }
.product-features li {
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted);
  padding: 4px 0; border-bottom: 1px solid var(--border);
}
.product-features li:last-child { border-bottom: none; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-pricing { display: flex; flex-direction: column; }
.price-old { font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); text-decoration: line-through; }
.price-current { font-family: var(--font-display); font-size: 2rem; color: var(--gold); line-height: 1; }
.btn-add {
  background: var(--dark-3); border: 1px solid var(--border-light);
  color: var(--white); font-family: var(--font-mono); font-size: 0.78rem;
  letter-spacing: 0.08em; padding: 12px 20px; border-radius: var(--radius);
  cursor: pointer; transition: var(--transition); text-transform: uppercase;
}
.btn-add:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-add-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  color: var(--black) !important; border-color: transparent !important;
  font-weight: 700;
}
.btn-add-gold:hover { opacity: 0.9; transform: scale(1.02); }
.featured-card { border-color: rgba(201,168,76,0.3); }

/* ── HOW IT WORKS ── */
.steps-grid {
  display: flex; align-items: center; justify-content: center; gap: 0;
  max-width: 900px; margin: 0 auto; flex-wrap: wrap;
}
.step { text-align: center; padding: 32px; max-width: 240px; }
.step-line { width: 60px; height: 1px; background: var(--gold); opacity: 0.4; flex-shrink: 0; }
.step-num {
  font-family: var(--font-display); font-size: 4rem; color: var(--gold-dim);
  line-height: 1; margin-bottom: 16px; display: block;
}
.step h3 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.03em; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; max-width: 1000px; margin: 0 auto;
}
.testimonial {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: var(--transition);
}
.testimonial:hover { border-color: var(--gold-dim); }
.stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial p { font-size: 1.05rem; line-height: 1.8; color: var(--muted); font-style: italic; margin-bottom: 20px; }
.testimonial-author { font-family: var(--font-mono); font-size: 0.78rem; color: var(--gold); }

/* ── FAQ ── */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--white);
  font-family: var(--font-body); font-size: 1.05rem; padding: 20px 0;
  text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--gold); }
.faq-q span { font-family: var(--font-mono); font-size: 1.2rem; color: var(--gold); }
.faq-a { padding: 0 0 20px; color: var(--muted); font-size: 0.95rem; line-height: 1.8; display: none; }
.faq-a.open { display: block; }

/* ── EMAIL CAPTURE ── */
.email-capture {
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.email-capture-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.email-capture h2 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); letter-spacing: 0.03em; margin-bottom: 12px; }
.email-capture p { color: var(--muted); margin-bottom: 32px; font-size: 1.05rem; }
.email-form { display: flex; gap: 12px; max-width: 440px; margin: 0 auto 12px; }
.email-input {
  flex: 1; background: var(--dark-3); border: 1px solid var(--border-light);
  color: var(--white); font-family: var(--font-mono); font-size: 0.85rem;
  padding: 14px 18px; border-radius: var(--radius); outline: none; transition: border-color 0.2s;
}
.email-input:focus { border-color: var(--gold); }
.email-disclaimer { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); }

/* ── FOOTER ── */
.footer { padding: 80px 40px 40px; border-top: 1px solid var(--border); }
.footer-top { display: flex; gap: 60px; flex-wrap: wrap; margin-bottom: 60px; }
.footer-brand { max-width: 260px; }
.footer-logo { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
.footer-links { display: flex; gap: 60px; flex: 1; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.15em; color: var(--gold); margin-bottom: 16px; text-transform: uppercase; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--border); padding-top: 32px;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted);
}

/* ── CART DRAWER ── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 1998;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed; right: 0; top: 0; bottom: 0; width: 380px; max-width: 100%;
  background: var(--dark-2); border-left: 1px solid var(--border);
  z-index: 1999; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px; border-bottom: 1px solid var(--border);
}
.cart-header h3 { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0.04em; }
.cart-close {
  background: none; border: none; color: var(--muted); font-size: 1.2rem;
  cursor: pointer; transition: color 0.2s;
}
.cart-close:hover { color: var(--white); }
.cart-items { flex: 1; overflow-y: auto; padding: 24px; }
.cart-empty { color: var(--muted); font-family: var(--font-mono); font-size: 0.85rem; text-align: center; padding: 40px 0; line-height: 2; }
.cart-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.cart-item-name { font-size: 1rem; margin-bottom: 4px; }
.cart-item-price { font-family: var(--font-mono); font-size: 0.9rem; color: var(--gold); }
.cart-item-remove {
  background: none; border: none; color: var(--muted); font-size: 1.1rem;
  cursor: pointer; transition: color 0.2s; padding: 4px 8px;
}
.cart-item-remove:hover { color: var(--red); }
.cart-summary { padding: 24px; border-top: 1px solid var(--border); }
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; font-size: 1.1rem;
}
.cart-total span:last-child { font-family: var(--font-display); font-size: 2rem; color: var(--gold); }
.btn-checkout { width: 100%; justify-content: center; font-size: 0.88rem; margin-bottom: 12px; }
.cart-secure { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); text-align: center; }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 32px; right: 32px;
  background: var(--dark-3); border: 1px solid var(--gold);
  color: var(--white); font-family: var(--font-mono); font-size: 0.82rem;
  padding: 14px 24px; border-radius: var(--radius); z-index: 9000;
  transform: translateY(20px); opacity: 0; transition: all 0.3s ease;
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes drift1 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(80px, 60px) scale(1.1); }
}
@keyframes drift2 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-60px, -80px) scale(1.2); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { padding: 0 18px; }
  .nav-logo { font-size: 1.05rem; letter-spacing: 0.08em; }
  .nav-toggle { display: flex; }
  .cart-btn-label { display: none; }
  /* Links collapse into a full-width dropdown panel under the bar */
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(8,8,8,0.97); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 8px 18px 16px;
    max-height: 0; overflow: hidden; opacity: 0;
    transform: translateY(-8px); pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
  }
  .nav-links.open {
    max-height: 320px; opacity: 1; transform: translateY(0); pointer-events: auto;
  }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-jarvis { text-align: center; margin-top: 12px; padding: 12px; }
  .hero { padding: 100px 24px 60px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .section { padding: 70px 24px; }
  .steps-grid { flex-direction: column; }
  .step-line { width: 1px; height: 40px; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 32px; }
  .email-form { flex-direction: column; }
  .cart-drawer { width: 100%; }
  .launch-banner { flex-direction: column; gap: 8px; text-align: center; padding: 12px 20px; }
}
