:root {
  --bg: #0F1623;
  --bg-alt: #161D2B;
  --surface: #1C2535;
  --fg: #F0EBE1;
  --fg-muted: #9A9490;
  --accent: #E8A838;
  --accent-dim: #C48B2A;
  --rule: rgba(232, 168, 56, 0.2);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

/* ─── BIO / AUTHOR ─── */
.bio {
  position: relative;
  padding: 90px 60px;
  background: #080810;
  overflow: hidden;
}

/* Geometric accent shapes */
.bio-geo {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.bio-geo--left {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -120px;
  background: radial-gradient(circle, rgba(255, 30, 120, 0.12) 0%, transparent 65%);
}
.bio-geo--right {
  width: 280px;
  height: 280px;
  bottom: -60px;
  right: -80px;
  background: radial-gradient(circle, rgba(180, 0, 200, 0.10) 0%, transparent 65%);
}

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

.bio-card {
  display: flex;
  align-items: center;
  gap: 64px;
  background: linear-gradient(135deg, rgba(255, 30, 120, 0.06) 0%, rgba(180, 0, 200, 0.04) 100%);
  border: 1px solid rgba(255, 30, 120, 0.25);
  border-radius: 20px;
  padding: 52px 60px;
  box-shadow:
    0 0 50px rgba(255, 30, 120, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
}
.bio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff1e78' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
  border-radius: 20px;
  pointer-events: none;
}

/* Photo */
.bio-photo-wrap {
  position: relative;
  flex-shrink: 0;
}
.bio-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  border: 3px solid rgba(255, 30, 120, 0.4);
  box-shadow: 0 0 30px rgba(255, 30, 120, 0.3);
}
/* Animated neon ring */
.bio-photo-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid transparent;
  background:
    linear-gradient(#080810, #080810) padding-box,
    linear-gradient(135deg, #ff1e78, #b400c8, #ff1e78) border-box;
  animation: ring-pulse 3s ease-in-out infinite;
}
@keyframes ring-pulse {
  0%, 100% { opacity: 0.6; box-shadow: 0 0 12px rgba(255, 30, 120, 0.4); }
  50%       { opacity: 1;   box-shadow: 0 0 28px rgba(255, 30, 120, 0.7); }
}

/* Content */
.bio-content {
  flex: 1;
}
.bio-tagline {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ff1e78;
  margin-bottom: 12px;
}
/* Glitter shimmer on tagline */
.shimmer-text {
  background: linear-gradient(
    110deg,
    #ff1e78 20%,
    #ff8ac0 40%,
    #ff1e78 60%,
    #cc0a8a 80%,
    #ff1e78
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
  to { background-position: 200% center; }
}
.bio-name {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.1;
  text-shadow: 0 0 30px rgba(255, 30, 120, 0.3);
}
.bio-title-badge {
  display: inline-block;
  margin-bottom: 24px;
}
.bio-title-badge-inner {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #ff8ac0;
  border: 1px solid rgba(255, 30, 120, 0.35);
  border-radius: 100px;
  padding: 6px 16px;
  background: rgba(255, 30, 120, 0.08);
}
.bio-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #ff1e78, #b400c8);
  border-radius: 2px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(255, 30, 120, 0.4);
}
.bio-body {
  font-size: 15px;
  color: rgba(240, 235, 225, 0.75);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 520px;
}
.bio-body strong {
  color: #ff8ac0;
  font-weight: 600;
}
.bio-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bio-credential {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 140, 192, 0.85);
  background: rgba(255, 30, 120, 0.08);
  border: 1px solid rgba(255, 30, 120, 0.18);
  border-radius: 6px;
  padding: 5px 12px;
}
.bio-credential svg { color: #ff1e78; flex-shrink: 0; }

/* ─── EBOOK CHAPTER PAGES ─── */
.ebook-chapters-nav {
  border-bottom: 1px solid var(--rule);
  padding: 0 60px;
  overflow-x: auto;
}
.ebook-chapters-nav ul {
  display: flex;
  gap: 0;
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
}
.ebook-chapters-nav li { flex-shrink: 0; }
.ebook-chapters-nav a {
  display: block;
  padding: 20px 28px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.03em;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.ebook-chapters-nav a:hover { color: var(--fg); }
.ebook-chapters-nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.ebook-header {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 60px 0;
}
.ebook-chapter-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
}
.ebook-chapter-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.ebook-chapter-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 24px;
}
.ebook-chapter-subtitle {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 680px;
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.ebook-chapter-divider {
  width: 1px;
  height: 40px;
  background: var(--accent);
  opacity: 0.3;
  margin: 0 auto 48px;
}

.ebook-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 60px 80px;
}
.ebook-body h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--fg);
  margin: 52px 0 20px;
  line-height: 1.25;
}
.ebook-body h3 {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  color: var(--fg);
  margin: 40px 0 16px;
  line-height: 1.3;
}
.ebook-body p {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.85;
  margin-bottom: 24px;
  max-width: 680px;
}
.ebook-body p:last-child { margin-bottom: 0; }
.ebook-body strong { color: var(--fg); font-weight: 600; }
.ebook-body em { font-style: italic; }
.ebook-body ul, .ebook-body ol {
  margin: 0 0 24px 0;
  padding-left: 28px;
  max-width: 680px;
}
.ebook-body li {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 10px;
}
.ebook-body li strong { color: var(--fg); }
.ebook-body blockquote {
  border-left: 3px solid var(--accent);
  margin: 32px 0;
  padding: 20px 28px;
  background: var(--surface);
  border-radius: 0 8px 8px 0;
}
.ebook-body blockquote p {
  font-size: 18px;
  font-style: italic;
  color: var(--fg);
  margin-bottom: 0;
}
.ebook-body hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 48px 0;
}
.ebook-body .chapter-end {
  text-align: center;
  padding: 64px 0 0;
  max-width: 680px;
  margin: 0 auto;
}
.ebook-body .chapter-end-prompt {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--fg-muted);
  margin-bottom: 32px;
}
.ebook-body .chapter-nav-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.ebook-body .chapter-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.ebook-body .chapter-nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(232, 168, 56, 0.06);
}
.ebook-body .chapter-nav-btn svg { flex-shrink: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav { padding: 16px 28px; flex-wrap: wrap; gap: 12px; }
  .nav-links { display: none; }
  .hero { padding: 48px 28px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
  .hero-visual { display: flex; justify-content: center; }
  .hero-ebooks-stack { justify-content: center; }
  .hero-stan-banner { padding: 16px 28px; }
  .hero-stan-inner { flex-direction: column; align-items: flex-start; }
  .manifesto { padding: 60px 28px; }
  .bio { padding: 60px 28px; }
  .bio-card { flex-direction: column; gap: 36px; padding: 36px 28px; text-align: center; }
  .bio-photo { width: 140px; height: 140px; }
  .bio-body { max-width: 100%; }
  .bio-credentials { justify-content: center; }
  .bio-geo--left { width: 200px; height: 200px; top: -60px; left: -80px; }
  .bio-geo--right { width: 180px; height: 180px; bottom: -40px; right: -60px; }
  .for-buyers { padding: 60px 28px; }
  .ebook-product-card { grid-template-columns: 1fr; gap: 32px; padding: 32px 28px; }
  .epc-cover { display: flex; justify-content: center; }
  .epc-cover-img { width: 200px; }
  .guides-grid { grid-template-columns: 1fr 1fr; }
  .for-affiliates { padding: 60px 28px; }
  .affiliates-why-grid { grid-template-columns: 1fr 1fr; }
  .aff-program-card { padding: 32px 28px; }
  .aff-program-perks { grid-template-columns: 1fr 1fr; }
  .affiliate-products { padding: 60px 28px; }
  .aff-prod-grid { grid-template-columns: 1fr 1fr; }
  .ugc-strip { padding: 60px 28px; }
  .ugc-cards { grid-template-columns: 1fr; }
  .footer { padding: 40px 28px; }
}

@media (max-width: 480px) {
  .nav-tag { display: none; }
  .hero-meta { flex-wrap: wrap; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .ebook-cover-img { width: 200px; }
  .epc-chapters { grid-template-columns: 1fr; }
  .aff-program-perks { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: 1fr; }
  .aff-prod-grid { grid-template-columns: 1fr; }
}