/* ==========================================================================
   Mana Rebuild — Phase 2 Design System
   ========================================================================== */

/* ---------- Shared Utilities ---------- */
.tag-pill { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.06em; background: rgba(185,138,74,0.15); color: var(--antique-gold); border: 1px solid rgba(185,138,74,0.3); margin-right: 6px; margin-bottom: 6px; transition: background 0.2s; }
.tag-pill:hover { background: rgba(185,138,74,0.3); }
.tag-pill--sm { font-size: 10px; padding: 3px 8px; }
.meta-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--warm-sand); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 20px; margin-right: 6px; }
.btn-sm { padding: 10px 20px; font-size: 12px; }
.btn-full { width: 100%; text-align: center; }
.btn-outline-gold { border: 1px solid var(--bronze-gold); color: var(--antique-gold); background: transparent; padding: 12px 28px; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.06em; font-size: 13px; border-radius: 2px; transition: all 0.3s; }
.btn-outline-gold:hover { background: rgba(185,138,74,0.12); }
.coming-soon-badge { display: inline-block; padding: 6px 14px; background: rgba(185,138,74,0.12); border: 1px solid var(--bronze-gold); color: var(--antique-gold); border-radius: 20px; font-size: 12px; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 16px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: rgba(0,0,0,0.3); padding: 10px 0; border-bottom: 1px solid rgba(185,138,74,0.1); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; max-width: 1280px; margin: 0 auto; padding: 0 32px; list-style: none; }
.breadcrumbs li { font-size: 12px; color: var(--warm-sand); font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.04em; }
.breadcrumbs li::after { content: '›'; margin-left: 6px; opacity: 0.5; }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: var(--antique-gold); }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Mega Menu ---------- */
.has-mega-menu { position: relative; }
.mega-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 780px; background: rgba(15,10,5,0.97); backdrop-filter: blur(20px); border: 1px solid rgba(185,138,74,0.2); border-radius: 8px; padding: 32px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease; transform: translateX(-50%) translateY(10px); z-index: 999; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.has-mega-menu:hover .mega-menu, .mega-menu:hover { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.mega-menu-inner { display: grid; grid-template-columns: 1fr 1fr 1fr 1.1fr; gap: 24px; }
.mega-col h4 { font-family: var(--font-heading); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--bronze-gold); margin-bottom: 12px; }
.mega-col a { display: block; font-size: 13px; color: var(--warm-sand); padding: 5px 0; transition: color 0.2s; }
.mega-col a:hover { color: var(--antique-gold); }
.mega-col--cta .mega-cta { background: rgba(185,138,74,0.08); border: 1px solid rgba(185,138,74,0.2); border-radius: 6px; padding: 20px; text-align: center; }
.mega-cta img { width: 50px; margin: 0 auto 12px; }
.mega-cta p { font-size: 13px; color: var(--warm-sand); margin-bottom: 14px; }
.header-search-btn { font-size: 18px; color: var(--warm-sand); cursor: pointer; padding: 4px 8px; transition: color 0.2s; }
.header-search-btn:hover { color: var(--antique-gold); }
.header-login { padding: 10px 20px !important; font-size: 12px !important; }

/* ---------- Archive Hero ---------- */
.archive-hero { background: linear-gradient(135deg, var(--carved-wood), var(--volcanic-black)); padding: 120px 0 60px; text-align: center; }
.archive-hero h1 { font-size: clamp(32px, 5vw, 52px); color: var(--antique-gold); margin-bottom: 16px; }
.archive-hero p { max-width: 600px; margin: 0 auto; color: var(--warm-sand); font-size: 17px; line-height: 1.7; }

/* ---------- Filter Bar ---------- */
.filter-bar { padding: 28px 0; border-bottom: 1px solid rgba(185,138,74,0.1); margin-bottom: 32px; }
.filter-form { display: flex; flex-direction: column; gap: 14px; }
.filter-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-search { display: flex; gap: 10px; margin-top: 4px; }
.filter-search input { flex: 1; background: rgba(0,0,0,0.35); border: 1px solid rgba(185,138,74,0.3); color: var(--cream-text); padding: 10px 14px; border-radius: 2px; font-family: var(--font-body); font-size: 14px; }
.filter-search input:focus { outline: none; border-color: var(--antique-gold); }
.filter-pill { display: inline-block; padding: 8px 16px; border: 1px solid rgba(185,138,74,0.25); border-radius: 20px; font-size: 13px; color: var(--warm-sand); cursor: pointer; transition: all 0.25s; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.04em; }
.filter-pill:hover, .filter-pill.active { background: linear-gradient(135deg, var(--antique-gold), var(--bronze-gold)); color: var(--volcanic-black); border-color: transparent; }
.filter-pill--sm { padding: 5px 12px; font-size: 11px; }
.filter-cats--secondary { margin-top: 4px; }

/* ---------- Peptide Grid & Cards ---------- */
.peptide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.peptide-card { background: var(--charcoal-brown); border: 1px solid rgba(185,138,74,0.15); border-radius: 8px; overflow: hidden; transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; }
.peptide-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.4); border-color: rgba(185,138,74,0.5); }
.peptide-card-img { height: 180px; overflow: hidden; }
.peptide-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.peptide-card:hover .peptide-card-img img { transform: scale(1.06); }
.peptide-card-body { padding: 20px; }
.peptide-card-title { font-size: 18px; color: var(--cream-text); margin-bottom: 8px; }
.peptide-card-title a { color: inherit; }
.peptide-card-title a:hover { color: var(--antique-gold); }
.peptide-card-desc { font-size: 13px; color: var(--warm-sand); margin-bottom: 16px; line-height: 1.6; }
@media (max-width: 900px) { .peptide-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .peptide-grid { grid-template-columns: 1fr; } }

/* ---------- Content Cards Grid ---------- */
.content-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.content-card { background: var(--charcoal-brown); border: 1px solid rgba(185,138,74,0.12); border-radius: 8px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.content-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.35); border-color: rgba(185,138,74,0.4); }
.content-card-thumb { height: 160px; overflow: hidden; }
.content-card-thumb a { display: block; height: 100%; }
.content-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.content-card:hover .content-card-thumb img { transform: scale(1.05); }
.content-card-body { padding: 18px; }
.content-card-cat { display: block; font-size: 11px; color: var(--antique-gold); font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.content-card-type { font-size: 11px; color: rgba(231,212,178,0.5); font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.06em; }
.content-card-body h3 { font-size: 15px; color: var(--cream-text); margin: 8px 0; line-height: 1.3; }
.content-card-body h3 a { color: inherit; }
.content-card-body h3 a:hover { color: var(--antique-gold); }
.content-card-body p { font-size: 13px; color: var(--warm-sand); line-height: 1.6; }
@media (max-width: 900px) { .content-cards-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .content-cards-grid { grid-template-columns: 1fr; } }

/* ---------- Content Layout (sidebar + main) ---------- */
.content-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; padding: 48px 0; }
.content-hero { padding: 130px 0 48px; background: linear-gradient(160deg, rgba(42,26,16,0.9), rgba(8,6,4,0.95)); position: relative; overflow: hidden; }
.content-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.content-hero-scrim { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(8,6,4,0.88) 40%, rgba(8,6,4,0.65) 100%); }
.content-hero-inner { position: relative; z-index: 1; }
.content-hero h1 { font-size: clamp(28px, 4.5vw, 48px); color: var(--cream-text); margin: 12px 0; }
.content-hero-intro { font-size: 17px; color: var(--warm-sand); max-width: 620px; line-height: 1.7; margin-top: 12px; }
.content-hero--lesson { padding: 130px 0 32px; background: linear-gradient(160deg, var(--carved-wood), var(--volcanic-black)); }
.article-meta-top { margin-bottom: 14px; }
.article-actions { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.article-thumb-wrap { background: var(--charcoal-brown); padding: 0; }
.article-thumb { width: 100%; max-height: 480px; object-fit: cover; display: block; }
@media (max-width: 900px) { .content-layout { grid-template-columns: 1fr; } .content-sidebar { display: contents; } }

/* ---------- Content Sections ---------- */
.content-section { padding: 36px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.content-section:last-child { border-bottom: none; }
.content-section h2 { font-size: clamp(20px, 2.5vw, 28px); color: var(--antique-gold); margin-bottom: 16px; }
.content-section--video { border-bottom: none; }
.content-section--refs { opacity: 0.7; }
.content-body { font-size: 16px; color: var(--warm-sand); line-height: 1.85; }
.content-body p { margin-bottom: 16px; }
.content-body h2, .content-body h3 { color: var(--cream-text); margin: 24px 0 12px; }
.content-body a { color: var(--antique-gold); text-decoration: underline; }
.content-body--small { font-size: 13px; }
.article-body { font-size: 17px; }

/* ---------- Benefits Grid ---------- */
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.benefit-item { display: flex; align-items: flex-start; gap: 10px; background: rgba(15,61,46,0.2); border: 1px solid rgba(15,61,46,0.4); padding: 14px; border-radius: 6px; font-size: 14px; color: var(--cream-text); }
.benefit-icon { color: var(--antique-gold); font-size: 16px; flex-shrink: 0; margin-top: 1px; }
@media (max-width: 560px) { .benefits-grid { grid-template-columns: 1fr; } }

/* ---------- Info Boxes ---------- */
.info-box { padding: 16px 20px; border-radius: 6px; font-size: 14px; line-height: 1.7; margin-top: 16px; }
.info-box strong { display: block; margin-bottom: 4px; }
.info-box--warning { background: rgba(185,100,30,0.12); border: 1px solid rgba(185,100,30,0.35); color: var(--warm-sand); }
.info-box--amber { background: rgba(200,150,40,0.1); border: 1px solid rgba(200,150,40,0.3); color: var(--warm-sand); }
.info-box--success { background: rgba(15,61,46,0.2); border: 1px solid rgba(15,61,46,0.5); color: var(--cream-text); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item { border: 1px solid rgba(185,138,74,0.15); border-radius: 6px; overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 18px 20px; background: rgba(42,26,16,0.4); color: var(--cream-text); font-size: 15px; font-family: var(--font-body); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.25s; }
.faq-question:hover, .faq-question[aria-expanded="true"] { background: rgba(185,138,74,0.12); }
.faq-icon { font-size: 18px; color: var(--antique-gold); flex-shrink: 0; transition: transform 0.3s; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 20px 18px; background: rgba(0,0,0,0.2); }
.faq-answer p { font-size: 14px; color: var(--warm-sand); line-height: 1.75; margin-top: 14px; }
.faq-answer a { color: var(--antique-gold); text-decoration: underline; }
.cat-faqs { max-width: 800px; margin: 0 auto; }

/* ---------- Sidebar Widgets ---------- */
.content-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget { background: rgba(21,16,11,0.8); border: 1px solid rgba(185,138,74,0.15); border-radius: 8px; padding: 20px; }
.sidebar-widget h3 { font-size: 13px; color: var(--antique-gold); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(185,138,74,0.15); }
.sidebar-tag { display: inline-block; padding: 6px 14px; margin: 4px 4px 0 0; background: rgba(185,138,74,0.08); border: 1px solid rgba(185,138,74,0.2); border-radius: 20px; font-size: 12px; color: var(--warm-sand); transition: all 0.2s; }
.sidebar-tag:hover { background: rgba(185,138,74,0.2); color: var(--antique-gold); }
.sidebar-related-link { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 13px; color: var(--warm-sand); transition: color 0.2s; }
.sidebar-related-link:last-child { border-bottom: none; }
.sidebar-related-link:hover { color: var(--antique-gold); }
.related-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bronze-gold); flex-shrink: 0; }
.related-dot--gold { background: var(--antique-gold); }
.sidebar-cta { background: linear-gradient(135deg, rgba(42,26,16,0.9), rgba(8,6,4,0.9)); border-color: rgba(185,138,74,0.3); text-align: center; }
.sidebar-cta p { font-size: 13px; color: var(--warm-sand); margin-bottom: 16px; line-height: 1.6; }
.sticky-toc { position: sticky; top: 90px; }
.toc-list { display: flex; flex-direction: column; gap: 2px; }
.toc-list a { font-size: 13px; color: var(--warm-sand); padding: 5px 0; display: block; border-bottom: 1px solid rgba(255,255,255,0.04); transition: color 0.2s; }
.toc-list a:hover { color: var(--antique-gold); }
.article-reading-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.article-reading-meta span { font-size: 12px; color: var(--warm-sand); background: rgba(255,255,255,0.05); padding: 4px 10px; border-radius: 20px; }

/* ---------- Video Components ---------- */
.video-embed-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px; background: #000; }
.video-embed-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-placeholder { background: var(--carved-wood); border: 1px dashed rgba(185,138,74,0.3); border-radius: 8px; padding: 60px 32px; text-align: center; }
.video-placeholder-inner span { font-size: 48px; color: var(--antique-gold); opacity: 0.5; display: block; margin-bottom: 16px; }
.video-placeholder-inner p { color: var(--warm-sand); font-size: 15px; max-width: 400px; margin: 0 auto; }
.video-placeholder-sm { background: var(--carved-wood); border-radius: 6px; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; }
.video-placeholder-sm span { font-size: 32px; color: var(--antique-gold); opacity: 0.5; }
.video-disclaimer { font-size: 12px; color: rgba(231,212,178,0.5); margin-top: 10px; text-align: center; }
.video-block { margin-bottom: 8px; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-card h4 { margin-top: 10px; font-size: 14px; color: var(--cream-text); }
.video-card h4 a { color: inherit; }
.video-card h4 a:hover { color: var(--antique-gold); }
.video-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.video-archive-card { background: var(--charcoal-brown); border: 1px solid rgba(185,138,74,0.12); border-radius: 8px; overflow: hidden; transition: transform 0.3s, border-color 0.3s; }
.video-archive-card:hover { transform: translateY(-4px); border-color: rgba(185,138,74,0.4); }
.video-archive-card-body { padding: 16px; }
.video-archive-card-body h3 { font-size: 15px; color: var(--cream-text); margin: 8px 0; }
.video-archive-card-body h3 a { color: inherit; }
.video-archive-card-body h3 a:hover { color: var(--antique-gold); }
.video-archive-card-body p { font-size: 13px; color: var(--warm-sand); }
.video-page-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 32px 0 64px; }
.video-page-meta h1 { font-size: clamp(22px, 3vw, 32px); color: var(--cream-text); margin: 12px 0; }
.video-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
@media (max-width: 900px) { .video-archive-grid { grid-template-columns: 1fr 1fr; } .video-grid { grid-template-columns: 1fr; } .video-page-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .video-archive-grid { grid-template-columns: 1fr; } }

/* ---------- Category Page ---------- */
.cat-hero { position: relative; padding: 140px 0 60px; overflow: hidden; }
.cat-hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--carved-wood) 0%, var(--volcanic-black) 60%); z-index: 0; }
.cat-hero-bg::after { content: ''; position: absolute; inset: 0; background-image: var(--tapa-pattern); background-size: 180px; opacity: 0.06; }
.cat-hero-inner { position: relative; z-index: 1; max-width: 720px; }
.cat-eyebrow { font-family: var(--font-heading); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--bronze-gold); display: block; margin-bottom: 12px; }
.cat-hero h1 { font-size: clamp(32px, 5.5vw, 60px); color: var(--cream-text); margin-bottom: 16px; }
.cat-hero-desc { font-size: 18px; color: var(--warm-sand); line-height: 1.7; margin-bottom: 28px; }
.cat-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cat-section { padding: var(--section-pad) 0; }
.cat-section--dark { background: var(--charcoal-brown); }
.cat-faqs { max-width: 800px; }
.two-col-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.symptom-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.symptom-list li { padding: 10px 14px; background: rgba(255,255,255,0.03); border-left: 3px solid var(--bronze-gold); border-radius: 0 4px 4px 0; font-size: 14px; color: var(--warm-sand); }
.section-cta { text-align: center; margin-top: 32px; }
.placeholder-block { background: rgba(42,26,16,0.4); border: 1px dashed rgba(185,138,74,0.2); border-radius: 8px; padding: 32px; text-align: center; color: var(--warm-sand); font-size: 15px; }
.placeholder-block a { color: var(--antique-gold); text-decoration: underline; }
@media (max-width: 860px) { .two-col-layout { grid-template-columns: 1fr; } }

/* ---------- Topic Grid ---------- */
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.topic-card { background: var(--charcoal-brown); border: 1px solid rgba(185,138,74,0.15); border-radius: 8px; padding: 20px; display: flex; flex-direction: column; gap: 6px; transition: all 0.3s; }
.topic-card:hover { border-color: var(--antique-gold); transform: translateY(-3px); background: rgba(185,138,74,0.06); }
.topic-card-icon { font-size: 20px; color: var(--antique-gold); }
.topic-card h4 { font-size: 14px; color: var(--cream-text); margin: 0; }
.topic-card-arrow { font-size: 16px; color: var(--bronze-gold); margin-top: auto; }
@media (max-width: 860px) { .topic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .topic-grid { grid-template-columns: 1fr; } }

/* ---------- Download Cards ---------- */
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.download-card { display: flex; align-items: center; gap: 14px; background: rgba(42,26,16,0.5); border: 1px solid rgba(185,138,74,0.2); border-radius: 8px; padding: 18px; transition: border-color 0.25s, transform 0.25s; cursor: pointer; }
.download-card:hover { border-color: var(--antique-gold); transform: translateY(-2px); }
.download-card--placeholder { opacity: 0.55; cursor: default; }
.download-card--placeholder:hover { transform: none; border-color: rgba(185,138,74,0.2); }
.download-icon { font-size: 24px; color: var(--antique-gold); flex-shrink: 0; }
.download-card h4 { font-size: 14px; color: var(--cream-text); margin-bottom: 2px; }
.download-card p { font-size: 12px; color: var(--warm-sand); }
@media (max-width: 700px) { .download-grid { grid-template-columns: 1fr; } }

/* ---------- Related Section ---------- */
.related-section { background: var(--charcoal-brown); padding: var(--section-pad) 0; }
.no-results { text-align: center; padding: 60px 20px; }
.no-results h3 { color: var(--antique-gold); margin-bottom: 12px; }
.no-results p, .no-results a { color: var(--warm-sand); }
.no-results a { text-decoration: underline; }

/* ---------- Disclaimer ---------- */
.disclaimer-box { background: rgba(0,0,0,0.3); border: 1px solid rgba(185,138,74,0.1); border-radius: 6px; padding: 16px 20px; font-size: 12px; color: rgba(231,212,178,0.55); line-height: 1.7; margin: 32px 0 48px; }
.disclaimer-box strong { color: rgba(231,212,178,0.8); }

/* ---------- Save & Action Buttons ---------- */
.save-btn { padding: 8px 18px; border: 1px solid rgba(185,138,74,0.4); border-radius: 20px; font-size: 12px; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.06em; color: var(--warm-sand); cursor: pointer; background: transparent; transition: all 0.25s; }
.save-btn:hover, .save-btn.saved { background: linear-gradient(135deg, var(--antique-gold), var(--bronze-gold)); color: var(--volcanic-black); border-color: transparent; }
.share-btn, .print-btn { padding: 8px 18px; border: 1px solid rgba(255,255,255,0.15); border-radius: 20px; font-size: 12px; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.06em; color: var(--warm-sand); cursor: pointer; background: transparent; transition: all 0.25s; }
.share-btn:hover, .print-btn:hover { border-color: var(--warm-sand); }
.complete-btn { padding: 14px 32px; background: var(--carved-wood); border: 1px solid rgba(185,138,74,0.3); border-radius: 4px; font-size: 14px; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.06em; color: var(--warm-sand); cursor: pointer; transition: all 0.3s; }
.complete-btn:hover { border-color: var(--antique-gold); color: var(--antique-gold); }
.complete-btn.completed { background: rgba(15,61,46,0.3); border-color: var(--deep-palm-green); color: var(--cream-text); }
.lesson-complete-wrap { padding: 24px 0; text-align: center; }

/* ---------- Progress Bar ---------- */
.progress-bar-wrap { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; margin: 10px 0 4px; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--bronze-gold), var(--antique-gold)); border-radius: 2px; transition: width 0.8s ease; }
.progress-label { font-size: 11px; color: var(--warm-sand); font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.04em; }
.content-card-type { text-transform: capitalize; }

/* ---------- Dashboard ---------- */
.dashboard-page { background: var(--volcanic-black); min-height: 100vh; }
.dashboard-hero { background: linear-gradient(135deg, var(--carved-wood), var(--charcoal-brown)); padding: 110px 0 36px; }
.dashboard-welcome { display: flex; align-items: center; gap: 20px; }
.dashboard-logo { height: 56px; width: auto; }
.dashboard-welcome h1 { font-size: clamp(24px, 3.5vw, 36px); color: var(--cream-text); }
.dashboard-welcome p { font-size: 15px; color: var(--warm-sand); }
.dashboard-grid { display: grid; grid-template-columns: 1fr 280px; gap: 40px; padding: 40px 0 80px; }
.dash-section { margin-bottom: 40px; }
.dash-section-title { font-size: 20px; color: var(--antique-gold); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(185,138,74,0.15); }
.dash-empty { background: rgba(42,26,16,0.4); border: 1px dashed rgba(185,138,74,0.2); border-radius: 8px; padding: 24px; color: var(--warm-sand); font-size: 14px; }
.dash-empty a { color: var(--antique-gold); text-decoration: underline; }
.content-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.content-card--small .content-card-body { padding: 14px; }
.content-card--small h3 { font-size: 14px; }
.dash-widget { background: rgba(21,16,11,0.8); border: 1px solid rgba(185,138,74,0.15); border-radius: 8px; padding: 18px; margin-bottom: 20px; }
.dash-widget-title { font-size: 12px; color: var(--antique-gold); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(185,138,74,0.15); }
.stat-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.stat-row:last-child { border-bottom: none; }
.stat-number { font-size: 28px; font-family: var(--font-heading); color: var(--antique-gold); min-width: 44px; }
.stat-label { font-size: 13px; color: var(--warm-sand); }
.rec-link { display: flex; align-items: flex-start; gap: 8px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 13px; color: var(--warm-sand); transition: color 0.2s; }
.rec-link:last-child { border-bottom: none; }
.rec-link:hover { color: var(--antique-gold); }
.rec-type { display: inline-block; font-size: 9px; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.06em; color: var(--bronze-gold); background: rgba(185,138,74,0.1); padding: 2px 6px; border-radius: 3px; flex-shrink: 0; margin-top: 2px; }
.quick-links { display: flex; flex-direction: column; gap: 4px; }
.quick-link { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px; font-size: 13px; color: var(--warm-sand); transition: all 0.2s; }
.quick-link:hover { background: rgba(185,138,74,0.08); color: var(--antique-gold); }
@media (max-width: 860px) { .dashboard-grid { grid-template-columns: 1fr; } .content-cards { grid-template-columns: 1fr 1fr; } }

/* ---------- Auth Pages ---------- */
.auth-page { min-height: 100vh; background: var(--volcanic-black); }
.auth-hero { background: linear-gradient(135deg, var(--carved-wood), var(--volcanic-black)); padding: 120px 0 48px; text-align: center; }
.auth-logo { height: 64px; margin: 0 auto 20px; }
.auth-hero h1 { font-size: clamp(28px, 4vw, 40px); color: var(--antique-gold); }
.auth-hero p { color: var(--warm-sand); font-size: 16px; margin-top: 8px; }
.auth-card { max-width: 500px; margin: 40px auto 80px; background: rgba(21,16,11,0.9); border: 1px solid rgba(185,138,74,0.2); border-radius: 12px; padding: 36px; }
.auth-error { background: rgba(200,50,50,0.12); border: 1px solid rgba(200,50,50,0.3); color: #f8a8a8; padding: 12px 16px; border-radius: 6px; font-size: 14px; margin-bottom: 20px; }
.auth-form .form-row { margin-bottom: 18px; }
.auth-form label { display: block; font-family: var(--font-heading); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--warm-sand); margin-bottom: 7px; }
.auth-form input, .auth-form select { width: 100%; background: rgba(0,0,0,0.35); border: 1px solid rgba(185,138,74,0.3); color: var(--cream-text); padding: 12px 14px; border-radius: 4px; font-family: var(--font-body); font-size: 14px; }
.auth-form input:focus { outline: none; border-color: var(--antique-gold); }
.auth-links { margin-top: 20px; text-align: center; font-size: 13px; color: var(--warm-sand); }
.auth-links a { color: var(--antique-gold); text-decoration: underline; }
.auth-links span { margin: 0 8px; opacity: 0.5; }
.auth-benefits { background: rgba(15,61,46,0.15); border: 1px solid rgba(15,61,46,0.3); border-radius: 8px; padding: 18px 20px; margin-bottom: 24px; }
.auth-benefits h3 { font-size: 13px; color: var(--antique-gold); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.auth-benefits ul { display: flex; flex-direction: column; gap: 8px; }
.auth-benefits li { font-size: 13px; color: var(--warm-sand); }

/* ---------- Health Library ---------- */
.library-hero { background: linear-gradient(135deg, var(--carved-wood), var(--volcanic-black)); padding: 130px 0 52px; text-align: center; }
.library-hero h1 { font-size: clamp(32px, 5vw, 54px); color: var(--antique-gold); margin-bottom: 12px; }
.library-hero p { color: var(--warm-sand); font-size: 17px; max-width: 580px; margin: 0 auto 28px; }
.library-search-form { max-width: 700px; margin: 0 auto; }
.library-search-wrap { display: flex; gap: 0; margin-bottom: 14px; }
.library-search-input { flex: 1; background: rgba(255,255,255,0.07); border: 1px solid rgba(185,138,74,0.4); border-right: none; color: var(--cream-text); padding: 16px 20px; font-size: 15px; font-family: var(--font-body); border-radius: 4px 0 0 4px; }
.library-search-input:focus { outline: none; border-color: var(--antique-gold); background: rgba(255,255,255,0.1); }
.library-search-wrap .btn { border-radius: 0 4px 4px 0; white-space: nowrap; }
.library-type-filters { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.quick-searches { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.quick-searches span { font-size: 12px; color: rgba(231,212,178,0.5); }
.quick-search-tag { font-size: 12px; color: var(--warm-sand); border: 1px solid rgba(255,255,255,0.12); padding: 4px 12px; border-radius: 20px; transition: all 0.2s; }
.quick-search-tag:hover { border-color: var(--antique-gold); color: var(--antique-gold); }
.library-section { margin: 48px 0; }
.library-section h2 { margin-bottom: 24px; }
.library-quicklinks { margin-top: 56px; }
.quicklink-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quicklink-card { background: var(--charcoal-brown); border: 1px solid rgba(185,138,74,0.15); border-radius: 8px; padding: 24px; text-align: center; transition: all 0.3s; }
.quicklink-card:hover { border-color: var(--antique-gold); transform: translateY(-3px); }
.quicklink-card span { font-size: 28px; color: var(--antique-gold); display: block; margin-bottom: 10px; }
.quicklink-card h3 { font-size: 16px; color: var(--cream-text); margin-bottom: 6px; }
.quicklink-card p { font-size: 13px; color: var(--warm-sand); }
.search-section { margin-bottom: 40px; }
.search-section h3 { font-size: 18px; color: var(--antique-gold); margin-bottom: 18px; }
.search-suggestions { background: rgba(42,26,16,0.4); border: 1px solid rgba(185,138,74,0.15); border-radius: 8px; padding: 24px; margin-bottom: 32px; }
.search-suggestions h3 { font-size: 15px; color: var(--warm-sand); margin-bottom: 16px; }
@media (max-width: 700px) { .quicklink-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Health Tools ---------- */
.tools-page { background: var(--volcanic-black); }
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; padding: 40px 0 40px; }
.tool-card { background: var(--charcoal-brown); border: 1px solid rgba(185,138,74,0.15); border-radius: 10px; padding: 28px; }
.tool-card--placeholder { opacity: 0.55; }
.tool-card h2 { font-size: 18px; color: var(--antique-gold); margin-bottom: 8px; }
.tool-card p { font-size: 14px; color: var(--warm-sand); margin-bottom: 20px; }
.tool-form { display: flex; flex-direction: column; gap: 14px; }
.tool-row label { display: block; font-size: 12px; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.06em; color: var(--warm-sand); margin-bottom: 6px; }
.tool-row input, .tool-row select { width: 100%; background: rgba(0,0,0,0.35); border: 1px solid rgba(185,138,74,0.3); color: var(--cream-text); padding: 10px 14px; border-radius: 4px; font-family: var(--font-body); font-size: 14px; }
.tool-row input:focus, .tool-row select:focus { outline: none; border-color: var(--antique-gold); }
.tool-result { padding: 16px; background: rgba(185,138,74,0.08); border: 1px solid rgba(185,138,74,0.2); border-radius: 6px; font-size: 14px; color: var(--cream-text); display: none; margin-top: 4px; line-height: 1.7; }
.tool-result.visible { display: block; animation: fadeInUp 0.3s ease; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 700px) { .tools-grid { grid-template-columns: 1fr; } }

/* ---------- Newsletter ---------- */
.newsletter-section { background: linear-gradient(90deg, var(--carved-wood), var(--charcoal-brown)); padding: 56px 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.newsletter-inner h2 { font-size: 24px; color: var(--cream-text); margin-bottom: 6px; }
.newsletter-inner p { color: var(--warm-sand); font-size: 15px; }
.newsletter-form { display: flex; gap: 0; flex: 1; max-width: 440px; }
.newsletter-form input { flex: 1; background: rgba(0,0,0,0.35); border: 1px solid rgba(185,138,74,0.3); border-right: none; color: var(--cream-text); padding: 14px 16px; border-radius: 4px 0 0 4px; font-family: var(--font-body); font-size: 14px; }
.newsletter-form input:focus { outline: none; }
.newsletter-form .btn { border-radius: 0 4px 4px 0; }
@media (max-width: 700px) { .newsletter-inner { flex-direction: column; } .newsletter-form { max-width: 100%; width: 100%; } }

/* ---------- Print Styles ---------- */
@media print {
  .site-header, .scroll-indicator, .sidebar-cta, .save-btn, .share-btn, .related-section, .newsletter-section { display: none !important; }
  .content-layout { grid-template-columns: 1fr; }
  body { color: #000; background: #fff; }
  .content-body, .faq-answer p { color: #333; }
  a { color: #000; }
}

/* ==========================================================================
   Registration as primary entry — enhanced hero background
   ========================================================================== */
.auth-hero {
  background:
    linear-gradient(160deg, rgba(42,26,16,0.92) 0%, rgba(8,6,4,0.95) 100%),
    url('../images/hero-static.jpg') center/cover no-repeat !important;
  border-bottom: 1px solid rgba(185,138,74,0.15);
}
.auth-card {
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.auth-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* Back to welcome link */
.auth-back {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: rgba(231,212,178,0.5);
}
.auth-back a {
  color: var(--warm-sand);
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 0.2s;
}
.auth-back a:hover { opacity: 1; color: var(--antique-gold); }

/* ==========================================================================
   Intake Form Styles
   ========================================================================== */
.intake-page { background: var(--volcanic-black); }

.intake-hero {
  position: relative;
  padding: 120px 0 52px;
  overflow: hidden;
}
.intake-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(42,26,16,0.93) 0%, rgba(8,6,4,0.96) 100%),
    url('../images/hero-static.jpg') center/cover no-repeat;
  z-index: 0;
}
.intake-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.intake-hero h1 {
  font-size: clamp(30px, 5vw, 50px);
  color: var(--antique-gold);
  margin: 16px 0 10px;
}
.intake-hero p {
  color: var(--warm-sand);
  font-size: 17px;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.65;
}

.intake-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  padding: 48px 0 80px;
  align-items: start;
}

.intake-card {
  background: rgba(21,16,11,0.9);
  border: 1px solid rgba(185,138,74,0.2);
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

/* Intake form fields */
.intake-form { display: flex; flex-direction: column; gap: 18px; }
.intake-form-row label {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--warm-sand);
  margin-bottom: 8px;
}
.required { color: var(--antique-gold); }
.intake-form-row input,
.intake-form-row select,
.intake-form-row textarea {
  width: 100%;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(185,138,74,0.25);
  color: var(--cream-text);
  padding: 14px 16px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.25s;
  -webkit-appearance: none;
}
.intake-form-row input::placeholder,
.intake-form-row textarea::placeholder { color: rgba(231,212,178,0.35); }
.intake-form-row input:focus,
.intake-form-row select:focus,
.intake-form-row textarea:focus {
  outline: none;
  border-color: var(--antique-gold);
  background: rgba(0,0,0,0.5);
}
.intake-form-row select { cursor: pointer; }
.intake-form-row select option { background: #15100B; color: var(--cream-text); }
.intake-form-row textarea { resize: vertical; min-height: 110px; }

.intake-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(15,61,46,0.15);
  border: 1px solid rgba(15,61,46,0.3);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--warm-sand);
  line-height: 1.6;
}
.privacy-icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }

.intake-submit {
  padding: 18px;
  font-size: 15px;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.intake-footer-links {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(231,212,178,0.5);
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.intake-footer-links a {
  color: var(--warm-sand);
  transition: color 0.2s;
}
.intake-footer-links a:hover { color: var(--antique-gold); }
.intake-footer-links span { opacity: 0.3; }

/* Right side — what to expect */
.intake-side {
  position: sticky;
  top: 100px;
}
.intake-side h3 {
  font-size: 20px;
  color: var(--antique-gold);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(185,138,74,0.15);
}
.intake-expect-list { display: flex; flex-direction: column; gap: 20px; }
.intake-expect-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: rgba(21,16,11,0.7);
  border: 1px solid rgba(185,138,74,0.1);
  border-radius: 8px;
  transition: border-color 0.3s;
}
.intake-expect-item:hover { border-color: rgba(185,138,74,0.3); }
.expect-icon {
  font-size: 22px;
  color: var(--antique-gold);
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}
.intake-expect-item h4 {
  font-size: 15px;
  color: var(--cream-text);
  margin-bottom: 4px;
}
.intake-expect-item p {
  font-size: 13px;
  color: var(--warm-sand);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .intake-container { grid-template-columns: 1fr; }
  .intake-side { position: static; }
}

/* ==========================================================================
   Login page polish
   ========================================================================== */
.auth-hero h1 { color: var(--antique-gold); }

/* ==========================================================================
   Premium Home Page Sections
   ========================================================================== */

/* Home hero */
.home-hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.home-hero-media { position: absolute; inset: 0; z-index: 0; }
.home-hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(8,6,4,0.82) 30%, rgba(8,6,4,0.35) 70%, rgba(8,6,4,0.55) 100%);
}
.home-hero-content {
  position: relative; z-index: 2;
  max-width: 680px;
}
.home-hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--antique-gold);
  background: rgba(185,138,74,0.12);
  border: 1px solid rgba(185,138,74,0.3);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  animation: welcomeFadeUp 0.8s ease both;
}
.home-hero-title {
  font-size: clamp(38px, 6vw, 80px);
  color: var(--cream-text);
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
  animation: welcomeFadeUp 0.8s ease 0.2s both;
}
.home-hero-sub {
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--warm-sand);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
  animation: welcomeFadeUp 0.8s ease 0.4s both;
}
.home-hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: welcomeFadeUp 0.8s ease 0.55s both;
}

/* Mission strip */
.mission-strip { background: var(--charcoal-brown); border-bottom: 1px solid rgba(185,138,74,0.1); }
.mission-strip-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.mission-strip-item {
  padding: 32px 24px;
  border-right: 1px solid rgba(185,138,74,0.08);
  text-align: center;
}
.mission-strip-item:last-child { border-right: none; }
.mission-strip-icon { font-size: 24px; color: var(--antique-gold); display: block; margin-bottom: 10px; }
.mission-strip-item h3 { font-size: 15px; color: var(--cream-text); margin-bottom: 6px; }
.mission-strip-item p { font-size: 13px; color: var(--warm-sand); line-height: 1.6; }
@media (max-width: 860px) { .mission-strip-inner { grid-template-columns: 1fr 1fr; } .mission-strip-item { border-right: none; border-bottom: 1px solid rgba(185,138,74,0.08); } }
@media (max-width: 480px) { .mission-strip-inner { grid-template-columns: 1fr; } }

/* Home sections */
.home-section { padding: var(--section-pad) 0; }
.home-section--dark { background: var(--charcoal-brown); }
.home-section--warm { background: rgba(42,26,16,0.3); }
.home-section--video-bg { position: relative; min-height: 60vh; display: flex; align-items: center; overflow: hidden; }
.home-section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.home-section-header > div { max-width: 560px; }
.home-section-header h2 { font-size: clamp(24px, 3.5vw, 40px); color: var(--cream-text); margin-bottom: 8px; }
.home-section-header p { font-size: 15px; color: var(--warm-sand); line-height: 1.65; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--antique-gold);
  margin-bottom: 8px;
}
@media (max-width: 700px) { .home-section-header { flex-direction: column; align-items: flex-start; } }

/* Health Topics grid */
.home-topics-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.home-topic-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(21,16,11,0.8);
  border: 1px solid rgba(185,138,74,0.12);
  border-radius: 10px;
  padding: 18px 20px;
  transition: all 0.3s ease;
}
.home-topic-card:hover {
  border-color: var(--antique-gold);
  background: rgba(185,138,74,0.06);
  transform: translateX(4px);
}
.home-topic-icon { font-size: 20px; color: var(--antique-gold); flex-shrink: 0; width: 32px; text-align: center; }
.home-topic-card h3 { font-size: 14px; color: var(--cream-text); flex: 1; margin: 0; letter-spacing: 0.02em; }
.home-topic-arrow { font-size: 16px; color: var(--bronze-gold); opacity: 0.6; transition: opacity 0.3s; }
.home-topic-card:hover .home-topic-arrow { opacity: 1; }
@media (max-width: 860px) { .home-topics-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .home-topics-grid { grid-template-columns: 1fr; } }

.peptide-grid--home { grid-template-columns: repeat(4,1fr); }
@media (max-width: 1000px) { .peptide-grid--home { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .peptide-grid--home { grid-template-columns: 1fr; } }

/* Home video placeholder */
.home-video-placeholder { max-width: 720px; margin: 0 auto; }
.video-placeholder-thumb {
  aspect-ratio: 16/9;
  background: var(--carved-wood);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.video-placeholder-thumb span { font-size: 40px; color: var(--antique-gold); opacity: 0.5; }
.video-placeholder-thumb p { font-size: 13px; color: var(--warm-sand); font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.08em; }

/* Health Quiz */
.home-quiz-section { background: linear-gradient(135deg, var(--carved-wood), var(--volcanic-black)); }
.quiz-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  background: rgba(21,16,11,0.7);
  border: 1px solid rgba(185,138,74,0.2);
  border-radius: 16px;
  padding: 48px;
}
.quiz-content h2 { font-size: clamp(22px, 3vw, 36px); color: var(--cream-text); margin-bottom: 10px; }
.quiz-content p { font-size: 15px; color: var(--warm-sand); margin-bottom: 24px; }
.quiz-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.quiz-option {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid rgba(185,138,74,0.3);
  border-radius: 24px;
  font-size: 13px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--warm-sand);
  transition: all 0.25s ease;
}
.quiz-option:hover {
  background: linear-gradient(135deg, var(--antique-gold), var(--bronze-gold));
  color: var(--volcanic-black);
  border-color: transparent;
  transform: scale(1.03);
}
.quiz-visual { text-align: center; opacity: 0.25; }
.quiz-visual img { max-width: 240px; margin: 0 auto; }
@media (max-width: 860px) {
  .quiz-card { grid-template-columns: 1fr; padding: 32px; }
  .quiz-visual { display: none; }
}

/* Community section */
.community-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.community-content h2 { font-size: clamp(28px, 4.5vw, 52px); color: var(--cream-text); margin-bottom: 12px; }
.community-content p { max-width: 560px; margin: 0 auto 32px; color: var(--warm-sand); font-size: 17px; line-height: 1.7; }
.community-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.community-stat { text-align: center; }
.stat-number-lg { display: block; font-family: var(--font-heading); font-size: clamp(32px, 5vw, 56px); color: var(--antique-gold); line-height: 1; }
.stat-label-lg { font-size: 12px; color: var(--warm-sand); text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-heading); }

/* Newsletter */
.home-newsletter-section { background: var(--charcoal-brown); }
.newsletter-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: rgba(21,16,11,0.7);
  border: 1px solid rgba(185,138,74,0.15);
  border-radius: 16px;
  padding: 48px;
}
.newsletter-box-text h2 { font-size: clamp(22px, 3vw, 36px); color: var(--cream-text); margin-bottom: 10px; }
.newsletter-box-text p { font-size: 15px; color: var(--warm-sand); line-height: 1.65; }
.newsletter-form-inline { display: flex; flex-direction: column; gap: 12px; }
.newsletter-form-inline input {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(185,138,74,0.25);
  color: var(--cream-text);
  padding: 14px 16px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 14px;
}
.newsletter-form-inline input:focus { outline: none; border-color: var(--antique-gold); }
.newsletter-form-inline input::placeholder { color: rgba(231,212,178,0.35); }
.newsletter-form-inline .btn { width: 100%; }
@media (max-width: 860px) {
  .newsletter-box { grid-template-columns: 1fr; padding: 32px; gap: 28px; }
}

/* ==========================================================================
   Premium Peptide Video Placeholder
   ========================================================================== */
.peptide-video-section { border-bottom: none; }
.peptide-video-placeholder {
  background: linear-gradient(135deg, rgba(42,26,16,0.8), rgba(8,6,4,0.9));
  border: 1px solid rgba(185,138,74,0.2);
  border-radius: 12px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.peptide-video-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--tapa-pattern);
  background-size: 160px;
  opacity: 0.05;
}
.pvp-inner {
  position: relative; z-index: 1;
  text-align: center;
  padding: 32px;
  max-width: 500px;
}
.pvp-play {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(185,138,74,0.15);
  border: 2px solid rgba(185,138,74,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  color: var(--antique-gold);
  margin: 0 auto 20px;
  transition: all 0.3s;
}
.peptide-video-placeholder:hover .pvp-play {
  background: rgba(185,138,74,0.25);
  border-color: var(--antique-gold);
}
.pvp-inner h3 { font-size: 20px; color: var(--cream-text); margin-bottom: 10px; }
.pvp-inner p { font-size: 14px; color: var(--warm-sand); line-height: 1.65; }

/* Peptide hero default bg */
.peptide-hero-default-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--carved-wood) 0%, var(--volcanic-black) 100%);
  z-index: 0;
}
.peptide-hero-default-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--tapa-pattern);
  background-size: 180px;
  opacity: 0.06;
}
.content-hero-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bronze-gold);
  margin-bottom: 8px;
}
.content-section-note {
  font-size: 13px;
  color: rgba(231,212,178,0.6);
  font-style: italic;
  margin-bottom: 16px;
  border-left: 3px solid var(--bronze-gold);
  padding-left: 12px;
}
.bottom-line-box {
  background: rgba(15,61,46,0.15);
  border: 1px solid rgba(15,61,46,0.35);
  border-radius: 8px;
  padding: 24px;
  font-size: 16px;
  color: var(--warm-sand);
  line-height: 1.8;
}
.bottom-line-section { background: rgba(15,61,46,0.06); border-radius: 8px; padding: 32px !important; }
.peptide-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* Community page */
.community-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-bottom: 48px; }
.community-feature-card {
  background: var(--charcoal-brown);
  border: 1px solid rgba(185,138,74,0.12);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.3s;
}
.community-feature-card:hover { border-color: rgba(185,138,74,0.3); }
.community-feature-icon { font-size: 28px; color: var(--antique-gold); display: block; margin-bottom: 14px; }
.community-feature-card h3 { font-size: 18px; color: var(--cream-text); margin-bottom: 8px; }
.community-feature-card p { font-size: 14px; color: var(--warm-sand); line-height: 1.65; margin-bottom: 16px; }
.community-newsletter { text-align: center; background: rgba(21,16,11,0.7); border: 1px solid rgba(185,138,74,0.15); border-radius: 12px; padding: 40px; margin-bottom: 32px; }
.community-newsletter h2 { color: var(--antique-gold); margin-bottom: 10px; }
.community-newsletter p { color: var(--warm-sand); margin-bottom: 20px; max-width: 440px; margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .community-grid { grid-template-columns: 1fr; } }

/* Header search */
.header-search-form { display: flex; align-items: center; }
.header-search-input {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(185,138,74,0.2);
  color: var(--cream-text);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  width: 160px;
  transition: width 0.35s ease, border-color 0.25s;
  font-family: var(--font-body);
}
.header-search-input:focus {
  outline: none;
  width: 220px;
  border-color: var(--antique-gold);
  background: rgba(255,255,255,0.1);
}
.header-search-input::placeholder { color: rgba(231,212,178,0.4); }
@media (max-width: 1100px) { .header-search-form { display: none; } }

/* Intake name row - side by side */
.intake-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .intake-name-row { grid-template-columns: 1fr; } }

/* Password strength indicator */
.password-strength-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -10px 0 14px;
}
.password-strength-bar {
  height: 4px;
  border-radius: 2px;
  width: 0;
  transition: width 0.4s ease, background 0.4s ease;
  flex: 1;
  background: var(--bronze-gold);
}
.password-strength-label {
  font-size: 11px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--warm-sand);
  white-space: nowrap;
  min-width: 60px;
}

/* ==========================================================================
   Register page — wider card + split rows to match auth-form theme
   ========================================================================== */
.register-card {
  max-width: 680px; /* wider than login to fit two-column fields */
}
.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.form-row--split label {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--warm-sand);
  margin-bottom: 7px;
}
.form-row--split input {
  width: 100%;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(185,138,74,0.3);
  color: var(--cream-text);
  padding: 12px 14px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14px;
}
.form-row--split input:focus {
  outline: none;
  border-color: var(--antique-gold);
}
.form-row--split input::placeholder { color: rgba(231,212,178,0.35); }
.required { color: var(--antique-gold); }
@media (max-width: 600px) {
  .form-row--split { grid-template-columns: 1fr; }
  .register-card { max-width: 100%; }
}
