/* ===== SOP Product Page Shared Styles ===== */

.breadcrumb {
  padding: 100px 0 0;
}
.breadcrumb a {
  color: var(--purple-3);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.breadcrumb a:hover { color: var(--purple-2); }

.product-hero {
  padding: 40px 0 80px;
  position: relative;
  overflow: hidden;
}
.product-hero .container { position: relative; z-index: 2; }
.product-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.product-info .tag { margin-bottom: 16px; }
.product-info h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}
.product-tagline {
  font-size: 1.1rem;
  color: var(--gray-1);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 520px;
}
.product-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.product-price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
}
.product-formats { display: flex; gap: 8px; }
.format-badge {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--black-3);
  border: 1px solid var(--glass-border);
  color: var(--gray-1);
}
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }
.product-guarantee {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--gray-2);
}

/* Preview card mock */
.product-preview { display: flex; justify-content: center; }
.preview-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 48px;
  width: 100%;
  max-width: 420px;
  position: relative;
  overflow: hidden;
}
.preview-card::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,0,255,0.12), transparent 70%);
  top: -60px;
  right: -60px;
  pointer-events: none;
}
.preview-icon {
  font-size: 3rem;
  margin-bottom: 28px;
}
.preview-lines { display: flex; flex-direction: column; gap: 12px; }
.preview-line {
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(108,0,255,0.12), rgba(155,77,255,0.06));
}

/* Who it's for grid */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.who-grid h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.check-list {
  list-style: none;
  margin-top: 20px;
}
.check-list li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  color: var(--gray-1);
  font-size: 0.95rem;
  line-height: 1.5;
  border-bottom: 1px solid var(--glass-border);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--purple-3);
  font-weight: 700;
}

/* Table of contents */
.toc {
  max-width: 760px;
  margin: 0 auto;
}
.toc-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--glass-border);
}
.toc-item:last-child { border-bottom: none; }
.toc-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--purple-2);
  flex-shrink: 0;
  width: 40px;
}
.toc-item h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.toc-item p {
  color: var(--gray-1);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Bottom CTA */
.product-cta {
  text-align: center;
  padding: 60px;
  background: linear-gradient(135deg, rgba(108,0,255,0.1), rgba(155,77,255,0.05));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}
.product-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.product-cta > p { color: var(--gray-1); font-size: 1.05rem; margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.product-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.product-price-lg {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
}

@media (max-width: 768px) {
  .product-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .who-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-cta { padding: 40px 24px; }
}

/* ===== SOP Doc Preview Styles ===== */

/* Hero header */
.doc-header {
  padding: 48px 0 56px;
  position: relative;
  overflow: hidden;
}
.doc-header .hero-glow { pointer-events: none; }
.doc-header .container { position: relative; z-index: 2; }
.doc-header .tag { margin-bottom: 20px; }
.doc-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}
.doc-header p.doc-intro {
  color: var(--gray-1);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
}
.doc-header .doc-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.doc-header .doc-price-tag {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
}
.doc-header .doc-formats { display: flex; gap: 8px; }
.doc-header .doc-buy {
  margin-top: 28px;
}

/* Free sample block */
.doc-sample {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 36px 40px;
  margin-top: 16px;
  margin-bottom: 64px;
  position: relative;
  overflow: hidden;
}
.doc-sample::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,0,255,0.08), transparent 70%);
  top: -80px;
  right: -80px;
  pointer-events: none;
}
.doc-sample-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(108,0,255,0.15);
  color: var(--purple-3);
  margin-bottom: 16px;
}
.doc-sample h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.doc-sample > p {
  color: var(--gray-1);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 12px;
}
.doc-sample strong { color: var(--white); }

/* Code snippet inside sample */
.doc-sample-code {
  background: var(--black-3);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 18px 22px;
  margin-top: 16px;
  max-height: 130px;
  overflow: hidden;
  position: relative;
}
.doc-sample-code::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(transparent, var(--black-3));
  pointer-events: none;
}
.doc-sample-code-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--purple-3);
  background: rgba(108,0,255,0.12);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.doc-sample-code pre {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: var(--gray-2);
  line-height: 1.7;
  white-space: pre-wrap;
  margin: 0;
}

/* Section heading */
.doc-section-head {
  margin-bottom: 16px;
}
.doc-section-head .section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--purple-3);
  margin-bottom: 8px;
}
.doc-section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
}

/* ===== Chapter Accordion (reuses global .accordion-* from styles.css) ===== */
.doc-chapters-menu {
  margin-bottom: 64px;
}
.doc-chapters-menu .accordion-content-inner .ch-blur-teaser {
  color: var(--gray-2);
  font-size: 0.88rem;
  line-height: 1.6;
  max-height: 44px;
  overflow: hidden;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}
.doc-chapters-menu .accordion-content-inner .ch-blur-teaser::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: linear-gradient(transparent, var(--black-1));
  pointer-events: none;
}
.doc-chapters-menu .accordion-content-inner .ch-unlock-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-3);
  transition: var(--transition);
}
.doc-chapters-menu .accordion-content-inner .ch-unlock-link:hover {
  color: var(--purple-2);
}

/* Unlock CTA banner */
.doc-unlock-cta {
  text-align: center;
  padding: 56px 48px;
  background: linear-gradient(135deg, rgba(108,0,255,0.1), rgba(155,77,255,0.05));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  margin-bottom: 80px;
}
.doc-unlock-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.doc-unlock-cta > p {
  color: var(--gray-1);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.6;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.doc-unlock-cta .unlock-price {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.doc-unlock-cta .unlock-note {
  font-size: 0.82rem;
  color: var(--gray-2);
  margin-top: 16px;
}

/* What's included checklist */
.doc-includes {
  list-style: none;
  padding: 0;
  margin: 0 auto 32px;
  max-width: 360px;
  text-align: left;
}
.doc-includes li {
  padding: 6px 0 6px 26px;
  position: relative;
  color: var(--gray-1);
  font-size: 0.92rem;
  line-height: 1.5;
}
.doc-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--purple-3);
  font-weight: 700;
}

@media (max-width: 768px) {
  .doc-header { padding: 36px 0 44px; }
  .doc-sample { padding: 24px 20px; margin-bottom: 48px; }
  .doc-unlock-cta { padding: 40px 24px; margin-bottom: 60px; }
}
