/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #111111;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --text: #f5f5f5;
  --text-muted: #999999;
  --red: #ef4444;
  --red-dark: #dc2626;
  --red-glow: rgba(239, 68, 68, 0.15);
  --border: #2a2a2a;
  --radius: 8px;
  --radius-lg: 16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: none;
}

img { max-width: 100%; display: block; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 12px 20px;
}
.btn-ghost:hover {
  color: var(--text);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

.icon-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--red);
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-logo-bad {
  color: var(--red);
}

.nav-logo-blog {
  color: var(--text);
}

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  padding: 8px 20px;
  border: 1px solid var(--red);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}
.nav-cta:hover {
  background: var(--red);
  color: #fff;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 32px;
  padding: 8px 20px;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 100px;
}

.hero-title {
  font-size: clamp(56px, 12vw, 140px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 28px;
}

.hero-title-bad {
  color: var(--red);
  display: block;
}

.hero-dot {
  color: var(--red);
}

.hero-sub {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.hero-grid-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(239, 68, 68, 0.06), transparent);
}

.hero-grid-line:nth-child(1) { left: 25%; }
.hero-grid-line:nth-child(2) { left: 50%; }
.hero-grid-line:nth-child(3) { left: 75%; }

/* ===== BOOK ===== */
.book {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.book-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}

.book-mockup {
  position: sticky;
  top: 100px;
}

.book-cover {
  position: relative;
  width: 280px;
  height: 400px;
  background: #0a0a0a;
  border-radius: 4px 12px 12px 4px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow:
    12px 12px 40px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: perspective(800px) rotateY(-5deg);
  transition: transform 0.4s ease;
}

.book-cover:hover {
  transform: perspective(800px) rotateY(0deg);
}

.book-cover-line {
  width: 60px;
  height: 3px;
  background: var(--red);
  margin-bottom: 24px;
}

.book-cover-title {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--red);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.book-cover-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.book-cover-divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin-bottom: 16px;
}

.book-cover-author {
  font-size: 13px;
  font-weight: 600;
  color: #c9a227;
  letter-spacing: 1px;
}

.book-spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--red), #991b1b);
  border-radius: 4px 0 0 4px;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.book-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.book-tagline {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.book-desc {
  font-size: 17px;
  color: #cccccc;
  line-height: 1.7;
  margin-bottom: 32px;
}

.book-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.book-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #cccccc;
}

.book-highlight .icon {
  margin-top: 2px;
}

.book-format {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ===== PHILOSOPHY ===== */
.philosophy {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.philosophy .section-label {
  text-align: center;
  margin-bottom: 56px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.philosophy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.3s ease;
}

.philosophy-card:hover {
  border-color: rgba(239, 68, 68, 0.3);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.philosophy-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--red);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

.philosophy-text {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

/* ===== ALSO BY ===== */
.also-by {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.also-by .section-label {
  margin-bottom: 40px;
}

.also-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.also-cover {
  display: flex;
  justify-content: center;
}

.also-cover-inner {
  width: 200px;
  height: 280px;
  background: linear-gradient(135deg, #1a3a5c, #0d2240);
  border-radius: 4px 10px 10px 4px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 8px 8px 30px rgba(0, 0, 0, 0.4);
}

.also-cover-title {
  font-size: 22px;
  font-weight: 800;
  color: #f5f5f5;
  margin-bottom: 8px;
}

.also-cover-subtitle {
  font-size: 13px;
  color: #8bb8e0;
  line-height: 1.4;
}

.also-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 4px;
}

.also-tagline {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.also-desc {
  font-size: 16px;
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 24px;
}

.also-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== EMAIL CAPTURE ===== */
.email-capture {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.email-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.email-icon {
  color: var(--red);
  margin-bottom: 24px;
}

.email-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.email-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.5;
}

.email-form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.email-input {
  flex: 1;
  font-family: var(--font);
  font-size: 15px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
}

.email-input::placeholder {
  color: #555;
}

.email-input:focus {
  border-color: var(--red);
}

.btn-submit {
  white-space: nowrap;
}

.email-note {
  font-size: 13px;
  color: var(--text-muted);
}

.email-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.email-success p {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

/* ===== FOOTER ===== */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-copy {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--red);
}

.footer-legal {
  font-size: 13px;
  color: #555;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .book-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .book-mockup {
    position: static;
    display: flex;
    justify-content: center;
  }

  .book-cover {
    transform: none;
    width: 240px;
    height: 340px;
    padding: 32px 24px;
  }

  .book-cover:hover {
    transform: none;
  }

  .book-cover-title {
    font-size: 22px;
  }

  .book-title {
    font-size: 32px;
  }

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

  .also-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px;
  }

  .also-links {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 100px 20px 60px;
    min-height: 90vh;
  }

  .hero-title {
    letter-spacing: -2px;
  }

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

  .book {
    padding: 80px 0;
  }

  .philosophy {
    padding: 80px 0;
  }

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

  .philosophy-card {
    padding: 28px 24px;
  }

  .philosophy-text {
    font-size: 17px;
  }

  .also-by {
    padding: 80px 0;
  }

  .also-cover-inner {
    width: 180px;
    height: 250px;
  }

  .email-capture {
    padding: 80px 0;
  }

  .email-form-row {
    flex-direction: column;
  }

  .email-title {
    font-size: 26px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    width: 100%;
    justify-content: center;
  }
}
