:root {
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --bg-card: #1a1a1a;
  --fg: #f0ede6;
  --fg-muted: #8a8780;
  --accent: #e8c547;
  --accent-dim: #b89a2a;
  --border: #2a2a2a;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  overflow: hidden;
}

.hero-inner {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 7vw, 80px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--accent);
  padding: 12px 0;
  border-top: 1px solid var(--border);
  display: inline-block;
}

.hero-gradient {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 197, 71, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ── SECTION LABELS ── */
.section-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 48px;
}

/* ── BOOKS ── */
.books {
  padding: 100px 40px;
  border-top: 1px solid var(--border);
}

.books-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.book-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.book-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-4px);
}

.book-cover {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.cover-1 {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.cover-2 {
  background: linear-gradient(135deg, #2d1b2e 0%, #44203e 50%, #6b2848 100%);
}

.cover-3 {
  background: linear-gradient(135deg, #1a2e1a 0%, #203e20 50%, #346034 100%);
}

.cover-4 {
  background: linear-gradient(135deg, #2e2a1a 0%, #3e3520 50%, #605030 100%);
}

.book-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  color: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: 12px;
  right: 16px;
}

.book-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.book-card p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.book-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
}

/* ── WHY ── */
.why {
  padding: 100px 40px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.why-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.why-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 12px;
}

.why-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.why-item p {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ── CLOSING ── */
.closing {
  padding: 120px 40px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
}

/* ── FOOTER ── */
.site-footer {
  padding: 32px 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--accent);
}

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

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero {
    padding: 80px 24px 60px;
    min-height: 80vh;
  }

  .hero h1 {
    letter-spacing: -1px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .books,
  .why {
    padding: 64px 24px;
  }

  .closing {
    padding: 80px 24px;
  }

  .books-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer {
    padding: 24px;
  }

  .hero-gradient {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 20px 48px;
  }

  .books,
  .why {
    padding: 48px 20px;
  }

  .closing {
    padding: 60px 20px;
  }

  .book-cover {
    height: 140px;
  }
}

/* ── BOOK CARD STOREFRONT ADDITIONS ── */
.book-cover-link {
  display: block;
  text-decoration: none;
}

.book-cover-link:hover .book-cover {
  opacity: 0.9;
  transform: translateY(-2px);
  transition: opacity 0.2s, transform 0.2s;
}

.book-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.book-title-link:hover {
  color: var(--accent);
}

.book-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.btn-buy-small {
  display: inline-block;
  padding: 8px 18px;
  background: var(--accent);
  color: #0a0a0a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.btn-buy-small:hover {
  background: #f0cf5a;
  transform: translateY(-1px);
}

/* ── NAV (landing page) ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-nav-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--accent);
  text-decoration: none;
}

.site-nav-cta {
  display: inline-block;
  padding: 10px 24px;
  background: var(--accent);
  color: #0a0a0a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.site-nav-cta:hover { background: #f0cf5a; }

@media (max-width: 480px) {
  .book-footer { flex-direction: column; align-items: flex-start; }
  .site-nav { padding: 14px 20px; }
}