/* Modern, High-Performance Mobile-First CSS for The Last Relapse Landing Page */
:root {
 --bg-primary: #0a0c10;
 --bg-secondary: #12161f;
 --bg-card: #181d27;
 --bg-card-hover: #1f2633;
 --text-primary: #f3f4f6;
 --text-muted: #9ca3af;
 --accent-gold: #f59e0b;
 --accent-gold-hover: #d97706;
 --accent-green: #10b981;
 --border-color: #262e3d;
 --radius-sm: 8px;
 --radius-md: 14px;
 --radius-lg: 20px;
 --font-main:
  -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
  Arial, sans-serif;
 --shadow-card:
  0 10px 25px -5px rgba(0, 0, 0, 0.5),
  0 8px 10px -6px rgba(0, 0, 0, 0.5);
}

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

body {
 background-color: var(--bg-primary);
 color: var(--text-primary);
 font-family: var(--font-main);
 line-height: 1.6;
 -webkit-font-smoothing: antialiased;
 padding-bottom: 80px; /* Space for mobile sticky CTA */
}

/* Container */
.container {
 width: 100%;
 max-width: 760px;
 margin: 0 auto;
 padding: 0 20px;
}

/* Header & Announcement */
.top-badge {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 background: rgba(245, 158, 11, 0.12);
 border: 1px solid rgba(245, 158, 11, 0.3);
 color: var(--accent-gold);
 padding: 6px 14px;
 border-radius: 50px;
 font-size: 0.85rem;
 font-weight: 600;
 margin-bottom: 16px;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}

/* Hero Section */
.hero {
 padding: 48px 0 36px;
 text-align: center;
}

.hero h1 {
 font-size: 2.2rem;
 line-height: 1.25;
 font-weight: 800;
 color: #ffffff;
 margin-bottom: 16px;
 letter-spacing: -0.5px;
}

.hero h1 .highlight {
 color: var(--accent-gold);
}

.hero .subheadline {
 font-size: 1.15rem;
 color: var(--text-muted);
 margin-bottom: 28px;
 max-width: 640px;
 margin-left: auto;
 margin-right: auto;
}

/* 3D Book Mockup Visual */
.book-visual-wrapper {
 margin: 24px auto 32px;
 display: flex;
 justify-content: center;
}

.book-visual-wrapper {
 perspective: 1000px;
 display: flex;
 justify-content: center;
 align-items: center;
 margin: 30px auto;
}

.book-cover-img {
 width: 100%;
 max-width: 240px;
 height: auto;
 border-radius: 8px;
 box-shadow:
  -10px 15px 35px rgba(0, 0, 0, 0.8),
  0 0 15px rgba(245, 158, 11, 0.2);
 /* border: 1px solid rgba(245, 158, 11, 0.35); */
 transform: rotateY(-8deg) rotateX(2deg);
 transition:
  transform 0.3s ease,
  box-shadow 0.3s ease;
}

.book-cover-img:hover {
 transform: rotateY(0deg) rotateX(0deg) scale(1.03);
 box-shadow:
  0 20px 40px rgba(0, 0, 0, 0.9),
  0 0 25px rgba(245, 158, 11, 0.4);
}

.book-card {
 width: 260px;
 background: linear-gradient(145deg, #1f2532, #141820);
 border: 1px solid rgba(245, 158, 11, 0.4);
 border-radius: var(--radius-md);
 padding: 24px 20px;
 text-align: center;
 box-shadow:
  0 20px 35px rgba(0, 0, 0, 0.7),
  inset 0 1px 0 rgba(255, 255, 255, 0.1);
 position: relative;
}

.book-card::before {
 content: '';
 position: absolute;
 top: 0;
 left: 12px;
 bottom: 0;
 width: 4px;
 background: rgba(255, 255, 255, 0.08);
 border-radius: 2px;
}

.book-card .tag {
 font-size: 0.7rem;
 text-transform: uppercase;
 letter-spacing: 1px;
 color: var(--accent-gold);
 font-weight: 700;
 margin-bottom: 12px;
}

.book-card .title {
 font-size: 1.5rem;
 font-weight: 900;
 color: #ffffff;
 line-height: 1.15;
 margin-bottom: 8px;
}

.book-card .subtitle {
 font-size: 0.8rem;
 color: var(--text-muted);
 line-height: 1.4;
 margin-bottom: 20px;
}

.book-card .author {
 font-size: 0.85rem;
 font-weight: 600;
 color: #e5e7eb;
}

.book-card .badge {
 display: inline-block;
 margin-top: 14px;
 background: rgba(16, 185, 129, 0.15);
 border: 1px solid rgba(16, 185, 129, 0.4);
 color: var(--accent-green);
 font-size: 0.75rem;
 font-weight: 700;
 padding: 4px 10px;
 border-radius: 20px;
}

/* Call to Action Button */
.cta-button {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 10px;
 width: 100%;
 max-width: 400px;
 background: linear-gradient(
  180deg,
  var(--accent-gold) 0%,
  var(--accent-gold-hover) 100%
 );
 color: #000000;
 font-size: 1.15rem;
 font-weight: 800;
 padding: 16px 28px;
 border-radius: var(--radius-sm);
 text-decoration: none;
 box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
 transition:
  transform 0.15s ease,
  box-shadow 0.15s ease;
 border: none;
 cursor: pointer;
}

.cta-button:hover {
 transform: translateY(-2px);
 box-shadow: 0 12px 25px rgba(245, 158, 11, 0.45);
}

.price-subtext {
 margin-top: 10px;
 font-size: 0.9rem;
 color: var(--text-muted);
}

.price-subtext .strike {
 text-decoration: line-through;
 color: #6b7280;
}

.discreet-note {
 margin-top: 12px;
 font-size: 0.85rem;
 color: var(--accent-green);
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 6px;
}

/* Content Sections */
.section {
 padding: 40px 0;
 border-top: 1px solid var(--border-color);
}

.section-title {
 font-size: 1.6rem;
 font-weight: 800;
 margin-bottom: 20px;
 color: #ffffff;
}

.section-intro {
 font-size: 1.05rem;
 color: var(--text-muted);
 margin-bottom: 24px;
}

/* Infographic Box (Dopamine Cycle) */
.infographic-box {
 background: var(--bg-secondary);
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 padding: 24px;
 margin: 24px 0;
}

.infographic-title {
 font-size: 1.15rem;
 font-weight: 700;
 color: var(--accent-gold);
 margin-bottom: 16px;
 text-align: center;
}

.cycle-steps {
 display: grid;
 grid-template-columns: 1fr;
 gap: 12px;
}

@media (min-width: 600px) {
 .cycle-steps {
  grid-template-columns: 1fr 1fr;
 }
}

.cycle-step {
 background: var(--bg-card);
 border: 1px solid rgba(255, 255, 255, 0.05);
 padding: 16px;
 border-radius: var(--radius-sm);
 display: flex;
 gap: 12px;
}

.step-num {
 width: 28px;
 height: 28px;
 background: rgba(245, 158, 11, 0.2);
 color: var(--accent-gold);
 font-weight: 800;
 font-size: 0.9rem;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 flex-shrink: 0;
}

.step-content h4 {
 font-size: 0.95rem;
 font-weight: 700;
 color: #ffffff;
 margin-bottom: 4px;
}

.step-content p {
 font-size: 0.85rem;
 color: var(--text-muted);
 line-height: 1.4;
}

/* Symptom Checklist */
.checklist {
 list-style: none;
 margin: 20px 0;
}

.checklist li {
 background: var(--bg-secondary);
 border: 1px solid var(--border-color);
 padding: 14px 18px;
 border-radius: var(--radius-sm);
 margin-bottom: 10px;
 display: flex;
 align-items: flex-start;
 gap: 12px;
 font-size: 0.95rem;
 color: #e5e7eb;
}

.check-icon {
 color: #ef4444;
 font-weight: 900;
 font-size: 1.1rem;
 flex-shrink: 0;
}

/* Chapter Cards */
.chapter-grid {
 display: grid;
 grid-template-columns: 1fr;
 gap: 14px;
 margin: 24px 0;
}

@media (min-width: 600px) {
 .chapter-grid {
  grid-template-columns: 1fr 1fr;
 }
}

.chapter-card {
 background: var(--bg-secondary);
 border: 1px solid var(--border-color);
 border-radius: var(--radius-sm);
 padding: 18px;
 transition:
  transform 0.15s ease,
  border-color 0.15s ease;
}

.chapter-card:hover {
 transform: translateY(-2px);
 border-color: rgba(245, 158, 11, 0.4);
}

.chapter-card .part-tag {
 font-size: 0.75rem;
 color: var(--accent-gold);
 font-weight: 700;
 text-transform: uppercase;
 margin-bottom: 6px;
}

.chapter-card h4 {
 font-size: 1.05rem;
 font-weight: 700;
 color: #ffffff;
 margin-bottom: 6px;
}

.chapter-card p {
 font-size: 0.85rem;
 color: var(--text-muted);
 line-height: 1.4;
}

/* FAQ Accordion */
.faq-item {
 background: var(--bg-secondary);
 border: 1px solid var(--border-color);
 border-radius: var(--radius-sm);
 margin-bottom: 12px;
 padding: 18px;
}

.faq-item h4 {
 font-size: 1rem;
 font-weight: 700;
 color: #ffffff;
 margin-bottom: 8px;
}

.faq-item p {
 font-size: 0.9rem;
 color: var(--text-muted);
 line-height: 1.5;
}

/* Author Box */
.author-box {
 background: linear-gradient(145deg, #131720, #191f2c);
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 padding: 24px;
 margin: 32px 0;
}

.author-box h3 {
 font-size: 1.2rem;
 font-weight: 800;
 color: #ffffff;
 margin-bottom: 8px;
}

.author-box p {
 font-size: 0.95rem;
 color: var(--text-muted);
 line-height: 1.5;
}

/* Floating Mobile Sticky CTA */
.mobile-sticky-cta {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: rgba(10, 12, 16, 0.95);
 backdrop-filter: blur(10px);
 border-top: 1px solid var(--border-color);
 padding: 12px 20px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 16px;
 z-index: 999;
}

.sticky-info {
 display: flex;
 flex-direction: column;
}

.sticky-price {
 font-size: 1.1rem;
 font-weight: 800;
 color: var(--accent-gold);
}

.sticky-guarantee {
 font-size: 0.75rem;
 color: var(--text-muted);
}

.sticky-btn {
 background: var(--accent-gold);
 color: #000000;
 font-size: 0.95rem;
 font-weight: 800;
 padding: 10px 18px;
 border-radius: var(--radius-sm);
 text-decoration: none;
 flex-shrink: 0;
}

/* Footer */
footer {
 text-align: center;
 padding: 30px 0 20px;
 font-size: 0.8rem;
 color: #6b7280;
 border-top: 1px solid var(--border-color);
}
