/* ===========================
   TOKENS
   =========================== */
:root {
  --black:       #06030e;
  --bg:          #09061a;
  --bg-2:        #0d0920;
  --purple-deep: #1e0d42;
  --purple-mid:  #5b21b6;
  --purple-hi:   #7c3aed;
  --magenta:     #c026d3;
  --pink:        #f472b6;
  --white:       #ffffff;
  --off-white:   rgba(255,255,255,0.85);
  --muted:       rgba(255,255,255,0.72);
  --faint:       rgba(255,255,255,0.18);
  --line:        rgba(255,255,255,0.1);

  --display: 'Barlow Condensed', sans-serif;
  --body:    'Inter', sans-serif;
}

/* ===========================
   RESET
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ===========================
   LAYOUT
   =========================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  border: 2px solid transparent;
  padding: 13px 32px;
  font-size: 0.9rem;
  text-transform: uppercase;
}
.btn-sm { padding: 9px 20px; font-size: 0.78rem; }
.btn-large { padding: 16px 44px; font-size: 0.95rem; }

.btn-primary {
  background: var(--magenta);
  color: var(--white);
}
.btn-primary:hover {
  background: #a21caf;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(192, 38, 211, 0.5);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--pink);
  color: var(--pink);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--purple-hi);
  border-color: var(--purple-mid);
  font-size: 0.85rem;
  padding: 10px 24px;
}
.btn-ghost:hover {
  border-color: var(--purple-hi);
  color: var(--white);
}

/* ===========================
   SECTION LABELS & HEADINGS
   =========================== */
.label {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  display: block;
  margin-bottom: 18px;
}

.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--white);
}

.pink-rule {
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--magenta));
  border-radius: 2px;
  margin: 24px 0 28px;
}

/* ===========================
   FADE-IN
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ===========================
   NAV
   =========================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 3, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-brand {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
}

/* The cover-inspired gradient — dark upper-left to vivid magenta lower-right */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg,
      #06030e 0%,
      #0d0920 18%,
      #1a0640 35%,
      #3b1270 55%,
      #6d28d9 75%,
      #a21caf 90%,
      #c026d3 100%
    );
  z-index: 0;
}

/* Subtle noise/grain texture feel */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 20px;
  display: block;
}

h1 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.01em;
  font-size: clamp(4rem, 8vw, 6.5rem);
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
}

.title-rule {
  display: block;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--magenta));
  border-radius: 2px;
  margin: 28px 0 32px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 10px;
  font-weight: 400;
}

.hero-author {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 40px;
  letter-spacing: 0.04em;
}
.hero-author strong { color: rgba(255,255,255,0.75); font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.isbn {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.08em;
}

/* ===========================
   BOOK COVER (CSS 3D)
   =========================== */
.hero-cover { perspective: 1000px; flex-shrink: 0; }

.book-cover-3d {
  display: flex;
  transform: rotateY(-16deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
  filter: drop-shadow(-20px 20px 60px rgba(0,0,0,0.8)) drop-shadow(0 0 40px rgba(162,28,175,0.3));
}
.book-cover-3d:hover { transform: rotateY(-6deg) rotateX(2deg); }

.book-front {
  width: 230px;
  height: 325px;
  background: linear-gradient(145deg,
    #06030e 0%, #0d0920 18%, #1a0640 35%,
    #3b1270 55%, #6d28d9 75%, #a21caf 90%, #c026d3 100%
  );
  border-radius: 2px 6px 6px 2px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.book-cover-inner {
  padding: 24px 20px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.cover-spine-text {
  position: absolute;
  top: 16px;
  right: 10px;
  font-family: var(--body);
  font-size: 0.38rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

.cover-title-block { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }

.cover-pretitle {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin-bottom: 2px;
}

.cover-main-title {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 10px;
}

.cover-rule {
  width: 36px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--pink), transparent);
  border-radius: 1px;
  margin-bottom: 10px;
}

.cover-subtitle-text {
  font-size: 0.48rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin-bottom: 14px;
}

.cover-author-name {
  font-family: var(--body);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-align: right;
  margin-top: auto;
}

.book-spine {
  width: 24px;
  height: 325px;
  background: linear-gradient(180deg, #06030e 0%, #1a0640 50%, #3b1270 100%);
  border-radius: 2px 0 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateY(-90deg) translateX(-12px);
  transform-origin: left center;
  flex-shrink: 0;
}

.book-spine span {
  font-family: var(--body);
  font-size: 0.38rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  white-space: nowrap;
}

/* ===========================
   PROBLEM SECTION
   =========================== */
.problem {
  background: var(--black);
  padding: 100px 0;
}

.problem-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 72px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.problem-heading {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
}

.problem-intro {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 420px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.pain-card {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.pain-card:nth-child(3n) { border-right: none; }
.pain-card:nth-child(4), .pain-card:nth-child(5), .pain-card:nth-child(6) { border-bottom: none; }
.pain-card:hover { background: rgba(255,255,255,0.03); }

.pain-number {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 900;
  color: rgba(244,114,182,0.2);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.pain-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
}

.problem-callout {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}

.callout-quote-mark {
  font-family: Georgia, serif;
  font-size: 8rem;
  line-height: 0.6;
  color: rgba(244,114,182,0.15);
  flex-shrink: 0;
}

.callout-text p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 14px;
}
.callout-text strong { color: var(--white); font-style: normal; }

.callout-source {
  font-size: 0.8rem;
  color: rgba(244,114,182,0.7);
  letter-spacing: 0.04em;
  font-style: normal !important;
}

/* ===========================
   CONVICTION
   =========================== */
.conviction {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg,
    #06030e 0%, #0d0920 20%,
    #1a0640 40%, #3b1270 60%,
    #6d28d9 80%, #a21caf 100%
  );
}

.conviction::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  opacity: 0.4;
}

.big-quote {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.big-quote p {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: 0.01em;
  margin-bottom: 28px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.big-quote cite {
  font-family: var(--body);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

/* ===========================
   CONTENTS
   =========================== */
.contents {
  background: var(--bg);
  padding: 100px 0;
}

.contents-header {
  margin-bottom: 72px;
}

.parts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.part-card {
  background: var(--bg);
  padding: 48px 44px;
  transition: background 0.2s;
}
.part-card:hover { background: var(--bg-2); }

.part-number {
  font-family: var(--display);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(244,114,182,0.12);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.part-title {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.chapter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.chapter-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.chapter-list li:last-child { border-bottom: none; }

.chapter-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(244,114,182,0.9);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

.chapter-desc {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ===========================
   FRAMEWORKS
   =========================== */
.frameworks {
  background: var(--black);
  padding: 100px 0;
}

.frameworks-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.frameworks-intro {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.frameworks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.framework-item {
  background: var(--black);
  padding: 32px 28px;
  transition: background 0.2s;
}
.framework-item:hover { background: rgba(255,255,255,0.03); }

.framework-item h3 {
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.framework-item p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===========================
   FOREWORD / PRAISE
   =========================== */
.praise {
  background: var(--bg);
  padding: 100px 0;
}

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

.praise-meta { padding-top: 8px; }

.praise-meta .label { margin-bottom: 6px; }

.foreword-name {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.foreword-title {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.praise-divider {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}

.praise-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  font-style: italic;
}

.testimonial-body {
  position: relative;
  padding-left: 0;
}

.big-open-quote {
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 0.7;
  color: rgba(244,114,182,0.2);
  display: block;
  margin-bottom: 8px;
}

.testimonial-body blockquote p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}

/* ===========================
   AUTHOR
   =========================== */
.author {
  background: var(--black);
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.author-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.author-text p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.author-title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin-bottom: 24px;
}

.author-links {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.author-pull {
  padding: 48px;
  border: 1px solid var(--line);
  position: relative;
}

.author-pull::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--magenta));
}

.author-pull p {
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ===========================
   FAQ
   =========================== */
.faq {
  background: var(--bg-2);
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.faq-header {
  margin-bottom: 64px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.faq-item {
  background: var(--bg-2);
  padding: 36px 32px;
  transition: background 0.2s;
}
.faq-item:hover { background: rgba(255,255,255,0.03); }

.faq-item h3 {
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.faq-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
}

.faq-item a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}
.faq-item a:hover { color: var(--white); }

@media (max-width: 700px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* ===========================
   CTA
   =========================== */
.cta {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: linear-gradient(145deg,
    #06030e 0%, #0d0920 18%,
    #1a0640 35%, #3b1270 55%,
    #6d28d9 75%, #a21caf 90%, #c026d3 100%
  );
}

.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  opacity: 0.4;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}

.cta-text .label {
  color: rgba(255,255,255,0.72);
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.cta-heading {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 0;
}

.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  margin-top: 12px;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.cta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  flex-shrink: 0;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.isbn-cta {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.share-section {
  text-align: right;
}

.share-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.share-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.78);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px;
  padding: 6px 11px;
  transition: all 0.18s;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
}
.share-link:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.32);
  color: var(--white);
  transform: translateY(-1px);
}

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

.footer a {
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.footer a:hover { color: rgba(255,255,255,0.9); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-cover { display: none; }
  .problem-header { grid-template-columns: 1fr; gap: 24px; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .pain-card:nth-child(2n) { border-right: none; }
  .pain-card:nth-child(n+5) { border-bottom: none; }
  .pain-card:nth-child(3), .pain-card:nth-child(4) { border-bottom: 1px solid var(--line); }
  .parts-grid { grid-template-columns: 1fr; }
  .frameworks-header { grid-template-columns: 1fr; gap: 24px; }
  .frameworks-grid { grid-template-columns: repeat(2, 1fr); }
  .praise-inner { grid-template-columns: 1fr; gap: 40px; }
  .author-inner { grid-template-columns: 1fr; }
  .author-pull { display: none; }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-right { align-items: flex-start; }
  .share-section { text-align: left; }
  .share-links { justify-content: flex-start; max-width: 400px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .pain-grid { grid-template-columns: 1fr; }
  .pain-card:nth-child(n) { border-right: none; border-bottom: 1px solid var(--line); }
  .pain-card:last-child { border-bottom: none; }
  .frameworks-grid { grid-template-columns: 1fr; }
  .nav-brand { display: none; }
  h1 { font-size: 3.4rem; }
}
