/* =============================================
   PRIME DARK — Black + Red Glass / Lightning
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;600;700&family=Syne:wght@700;800&display=swap');

/* ── TOKENS ── */
:root {
  --bg:         #050508;
  --bg2:        #090910;
  --glass:      rgba(255,255,255,0.035);
  --glass-border: rgba(255,60,60,0.18);
  --glass-hover: rgba(255,255,255,0.065);
  --red:        #e81c1c;
  --red-mid:    #ff3232;
  --red-bright: #ff5555;
  --red-glow:   rgba(232,28,28,0.55);
  --red-subtle: rgba(232,28,28,0.12);
  --white:      #f5f5f7;
  --muted:      #7a7a8a;
  --dim:        #3a3a4a;
  --font-display: 'Syne', sans-serif;
  --font-body:    'Space Grotesk', sans-serif;
  --radius:     16px;
  --radius-sm:  10px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── BACKGROUND GRID ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,28,28,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,28,28,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── AMBIENT ORBS ── */
.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
  opacity: 0.18;
}
.orb-1 {
  width: 600px; height: 600px;
  background: var(--red);
  top: -200px; right: -200px;
}
.orb-2 {
  width: 400px; height: 400px;
  background: #6600cc;
  bottom: 20%; left: -150px;
  opacity: 0.1;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 4px; }

/* ─────────────────────────────
   NAVBAR
───────────────────────────── */
.navbar {
  position: fixed;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 64px;
  background: rgba(9,9,16,0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--white);
  text-decoration: none;
}

.logo em {
  font-style: normal;
  color: var(--red-mid);
  text-shadow: 0 0 18px var(--red-glow);
}

.menu {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.menu li a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s;
  position: relative;
  padding-bottom: 2px;
}

.menu li a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--red-mid);
  box-shadow: 0 0 8px var(--red-glow);
  transition: width 0.3s ease;
}

.menu li a:hover,
.menu li a.active { color: var(--white); }
.menu li a:hover::after,
.menu li a.active::after { width: 100%; }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--red-mid); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--red-mid); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 96px; left: 24px; right: 24px;
  background: rgba(9,9,16,0.96);
  backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  flex-direction: column;
  padding: 1.2rem 1.6rem;
  gap: 0.3rem;
  z-index: 998;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--white); padding-left: 6px; }

/* ─────────────────────────────
   SECTIONS
───────────────────────────── */
section {
  position: relative;
  z-index: 1;
  padding: 130px 8% 90px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ─────────────────────────────
   HOME
───────────────────────────── */
#home { overflow: hidden; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red-mid);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.1s forwards;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1.5px;
  background: var(--red-mid);
  box-shadow: 0 0 8px var(--red-glow);
}

#home h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--white);
  max-width: 820px;
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.25s forwards;
}

#home h1 .red {
  color: var(--red-mid);
  text-shadow: 0 0 40px var(--red-glow), 0 0 80px rgba(232,28,28,0.3);
}

#home h3 {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.85;
  margin-bottom: 2.8rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}

.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.55s forwards;
}

/* ── LIGHTNING BUTTON ── */
.btn-lightning {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  z-index: 0;
}

.btn-lightning.primary {
  background: linear-gradient(135deg, #c01010, #ff2020, #c01010);
  background-size: 200% 100%;
  color: #fff;
  box-shadow: 0 4px 24px var(--red-glow), 0 0 0 1px rgba(255,60,60,0.3);
}

.btn-lightning.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--red-glow), 0 0 60px rgba(232,28,28,0.35);
  background-position: 100% 0;
}

.btn-lightning.ghost {
  background: var(--glass);
  color: var(--white);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}

.btn-lightning.ghost:hover {
  transform: translateY(-2px);
  background: var(--glass-hover);
  border-color: var(--red-mid);
  box-shadow: 0 0 20px rgba(232,28,28,0.2);
}

/* lightning bolt pseudo */
.btn-lightning::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transition: left 0.5s ease;
}
.btn-lightning:hover::after { left: 150%; }

/* ─────────────────────────────
   GLASS CARD UTILITY
───────────────────────────── */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* ─────────────────────────────
   SECTION LABELS
───────────────────────────── */
.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--red-mid);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 1.5px;
  background: var(--red-mid);
  box-shadow: 0 0 6px var(--red-glow);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 2.5rem;
  line-height: 1.15;
}

/* ─────────────────────────────
   ABOUT
───────────────────────────── */
#about { background: var(--bg2); }

.about-card {
  max-width: 840px;
  padding: 2.5rem 3rem;
}

.about-card p {
  font-size: 1rem;
  color: #b0b0c0;
  line-height: 1.95;
}

.about-card p + p { margin-top: 1.2rem; }

.about-card strong { color: var(--white); font-weight: 600; }

/* ─────────────────────────────
   PRODUCTS — full-size covers
───────────────────────────── */
#products { background: var(--bg); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin-bottom: 3rem;
}

.book-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  background: #0d0d14;
  border: 1px solid var(--glass-border);
}

.book-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 30px 80px rgba(232,28,28,0.3), 0 0 0 1px var(--red-mid);
}

/* Full-size image — no crop, real proportions */
.book-cover-wrap {
  width: 100%;
  background: #0d0d14;
}

.book-cover-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: brightness(0.92);
}

.book-card:hover .book-cover-wrap img {
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* Fallback placeholder */
.book-placeholder {
  width: 100%;
  padding: 80px 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(160deg, #1a0505, #0d0d14);
}

.placeholder-icon { font-size: 5rem; opacity: 0.15; }

.placeholder-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--red-mid);
  text-transform: uppercase;
  text-align: center;
  padding: 0 2rem;
  opacity: 0.5;
}

/* Glass overlay info panel */
.book-info {
  padding: 1.8rem 2rem;
  background: rgba(9,9,16,0.85);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
}

.book-vol {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red-mid);
  margin-bottom: 0.4rem;
}

.book-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.3px;
}

.book-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.book-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
}

.price sup {
  font-size: 0.8rem;
  color: var(--red-mid);
  vertical-align: super;
  margin-right: 2px;
  text-shadow: 0 0 10px var(--red-glow);
}

/* ── BUY BUTTON (lightning) ── */
.btn-buy {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #b00e0e, #ff2222);
  box-shadow: 0 4px 20px var(--red-glow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.3s;
}

.btn-buy::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  transition: left 0.45s ease;
}

.btn-buy:hover { transform: translateY(-2px); box-shadow: 0 8px 36px var(--red-glow), 0 0 60px rgba(232,28,28,0.3); }
.btn-buy:hover::after { left: 150%; }

/* ── CONTACT GLASS CARD ── */
.contact-card {
  padding: 2.2rem 2.6rem;
  max-width: 500px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
}

.contact-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Instagram button */
.btn-ig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 50px;
  color: #fff;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #f56040, #fcb045);
  background-size: 300% 100%;
  box-shadow: 0 4px 24px rgba(253,29,29,0.4);
  transition: background-position 0.4s ease, transform 0.2s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-ig:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(253,29,29,0.55);
}

.btn-ig::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
  transition: left 0.45s;
}

.btn-ig:hover::after { left: 150%; }

/* Instagram SVG icon */
.ig-icon {
  width: 18px; height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ─────────────────────────────
   HOW TO
───────────────────────────── */
#how-to { background: var(--bg2); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  max-width: 1000px;
}

.step-card {
  padding: 2rem 1.8rem;
  border-radius: var(--radius);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px var(--red-mid);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--red-mid);
  text-shadow: 0 0 20px var(--red-glow);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.3px;
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
}

.disclaimer {
  margin-top: 2.5rem;
  max-width: 680px;
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--red);
  background: var(--red-subtle);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─────────────────────────────
   FOOTER
───────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-top: 1px solid var(--glass-border);
  padding: 2rem 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
}

.footer-logo em {
  font-style: normal;
  color: var(--red-mid);
}

footer p {
  font-size: 0.78rem;
  color: var(--dim);
  letter-spacing: 0.3px;
}

/* ─────────────────────────────
   ANIMATIONS
───────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────
   RESPONSIVE
───────────────────────────── */
@media (max-width: 768px) {
  .menu { display: none; }
  .hamburger { display: flex; }

  .navbar {
    top: 12px;
    width: calc(100% - 32px);
    padding: 0 20px;
    height: 58px;
  }

  section { padding: 100px 6% 60px; }

  #home h1 { font-size: 2.2rem; }

  .products-grid { grid-template-columns: 1fr; }

  .steps-grid { grid-template-columns: 1fr; }

  .about-card { padding: 1.8rem; }

  .contact-card { padding: 1.8rem; }

  footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .navbar { width: calc(100% - 24px); padding: 0 16px; }
  section { padding: 90px 5% 50px; }
  #home h1 { font-size: 1.9rem; }
  .btn-row { flex-direction: column; }
  .btn-lightning { text-align: center; justify-content: center; }
}