:root {
  --bg-primary: #0a0c10;
  --bg-secondary: #12151c;
  --bg-card: #181c26;
  --fg-primary: #e8e6e1;
  --fg-secondary: #9b978f;
  --fg-muted: #5c5952;
  --accent: #c4a35a;
  --accent-dim: rgba(196, 163, 90, 0.15);
  --accent-glow: rgba(196, 163, 90, 0.08);
  --red-accent: #8b3a3a;
  --border: rgba(196, 163, 90, 0.12);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(196, 163, 90, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(139, 58, 58, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-tag::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg-primary);
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-lede {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--fg-secondary);
  max-width: 600px;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

/* ═══ ABOUT ═══ */
.about {
  padding: 8rem 2rem;
  background: var(--bg-secondary);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
}

.about-inner {
  max-width: 800px;
  margin: 0 auto;
}

.about-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}

.about h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg-primary);
  margin-bottom: 2rem;
}

.about-text {
  font-size: 1.1rem;
  color: var(--fg-secondary);
  line-height: 1.8;
}

.about-text strong {
  color: var(--fg-primary);
}

/* ═══ BOOKS (Catalog) ═══ */
.catalog {
  padding: 8rem 2rem;
  background: var(--bg-primary);
}

.catalog-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.catalog-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
}

.catalog-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}

.catalog-count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.book-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.book-card:hover {
  border-color: var(--accent);
  background: rgba(196, 163, 90, 0.04);
}

.book-number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.book-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg-primary);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.book-excerpt {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ═══ FEATURES (Why Direct) ═══ */
.features {
  padding: 8rem 2rem;
  background: var(--bg-secondary);
}

.features-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.features-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}

.features h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg-primary);
  max-width: 600px;
  margin-bottom: 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-item {
  padding: 2.5rem;
  border-left: 2px solid var(--border);
  transition: border-color 0.3s ease;
}

.feature-item:hover {
  border-left-color: var(--accent);
}

.feature-number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg-primary);
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.7;
}

/* ═══ CLOSING ═══ */
.closing {
  padding: 10rem 2rem;
  background: var(--bg-primary);
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 50% 40% at 50% 50%, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--fg-primary);
  margin-bottom: 1.5rem;
}

.closing h2 em {
  font-style: normal;
  color: var(--accent);
}

.closing p {
  font-size: 1.15rem;
  color: var(--fg-secondary);
  line-height: 1.7;
}

/* ═══ FOOTER ═══ */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg-primary);
}

.footer-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 1.5rem 3rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .book-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .catalog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .feature-item {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .closing h2 {
    font-size: 2rem;
  }

  .book-card {
    padding: 1.5rem 1.25rem;
  }
}