/* ===========================
   VitaForHer — Styles
   Color Palette:
     Sage green:  #7a9e7e / #e8f0e9
     Blush/rose:  #c9907e / #f5ebe7
     Cream:       #faf8f5
     Charcoal:    #2d2d2d
     Muted plum:  #b07aab
   =========================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #2d2d2d;
    background: #faf8f5;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #7a9e7e;
    color: #fff;
}

.btn-primary:hover {
    background: #6a8e6e;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(122,158,126,0.3);
}

.btn-secondary {
    background: transparent;
    color: #7a9e7e;
    border: 2px solid #7a9e7e;
}

.btn-secondary:hover {
    background: #e8f0e9;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250,248,245,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d2d2d;
}

.logo span {
    color: #7a9e7e;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #7a9e7e;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    background: linear-gradient(160deg, #faf8f5 0%, #f5ebe7 40%, #e8f0e9 100%);
    text-align: center;
}

.hero-bg-shape {
    position: absolute;
    top: -120px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(122,158,126,0.08);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #2d2d2d;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: #999;
}

/* ---------- Trust Section ---------- */
.trust {
    padding: 80px 0;
    text-align: center;
}

.trust h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.section-subtitle {
    color: #777;
    font-size: 1.05rem;
    margin-bottom: 48px;
}

.trust-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.trust-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 28px;
    text-align: center;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
    transition: transform 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-4px);
}

.trust-icon {
    margin-bottom: 20px;
}

.trust-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.trust-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* ---------- Quiz Section ---------- */
.quiz-section {
    padding: 80px 0;
    background: #f5ebe7;
    text-align: center;
}

.quiz-section h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.quiz-container {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

/* Progress */
.progress-bar {
    height: 6px;
    background: #e8e8e8;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, #7a9e7e, #b07aab);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.progress-text {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 28px;
}

/* Steps */
.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.quiz-step h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
}

.quiz-step h3 small {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: #999;
    margin-top: 6px;
}

/* Option Cards */
.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.option-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
    color: #444;
    text-align: center;
}

.option-card input {
    display: none;
}

.option-card:hover {
    border-color: #c9907e;
    background: #fdf8f6;
}

.option-card:has(input:checked) {
    border-color: #7a9e7e;
    background: #e8f0e9;
    color: #2d2d2d;
}

/* Checkbox variant (concerns step) */
.option-card.checkbox:has(input:checked) {
    border-color: #b07aab;
    background: #f3ecf2;
}

/* Quiz Navigation */
.quiz-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
}

.quiz-nav .btn {
    min-width: 120px;
}

#prevBtn:disabled {
    opacity: 0.3;
    cursor: default;
}

/* ---------- Results Section ---------- */
.results-section {
    padding: 80px 0;
    text-align: center;
}

.results-section h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 12px;
    text-align: left;
}

.result-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.result-card .supplement-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d2d2d;
}

.result-card .supplement-why {
    font-size: 0.9rem;
    color: #7a9e7e;
    font-weight: 600;
    margin-bottom: 12px;
}

.result-card .supplement-benefits {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
    flex-grow: 1;
}

.result-card .supplement-dosage {
    font-size: 0.82rem;
    color: #999;
    margin-bottom: 20px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.result-card .where-to-buy-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.result-card .affiliate-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.result-card .btn-affiliate {
    display: inline-block;
    text-align: center;
    padding: 10px 18px;
    border-radius: 50px;
    background: #c9907e;
    color: #fff;
    font-weight: 600;
    font-size: 0.82rem;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0;
}

.result-card .btn-affiliate:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.result-card .btn-affiliate-amazon {
    background: #c9907e;
}
.result-card .btn-affiliate-amazon:hover {
    background: #b57e6c;
}

.result-card .btn-affiliate-iherb {
    background: #7a9e7e;
}
.result-card .btn-affiliate-iherb:hover {
    background: #6a8e6e;
}

.result-card .btn-affiliate-thorne {
    background: #b07aab;
}
.result-card .btn-affiliate-thorne:hover {
    background: #9a6a95;
}

/* Results Email Box */
.results-email-box {
    max-width: 520px;
    margin: 40px auto 0;
    background: #e8f0e9;
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
}

.results-email-icon {
    margin-bottom: 12px;
}

.results-email-box h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.results-email-box > p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.results-email-form .email-input-group {
    max-width: 420px;
    margin: 0 auto;
}

.results-email-success p {
    font-size: 1rem;
    color: #7a9e7e;
    font-weight: 600;
}

.results-disclaimer {
    max-width: 640px;
    margin: 40px auto 0;
    padding: 20px 24px;
    background: #f5ebe7;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #777;
    line-height: 1.6;
    text-align: left;
}

.retake-wrapper {
    margin-top: 32px;
}

/* ---------- Testimonials Section ---------- */
.testimonials {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    text-align: left;
}

.testimonial-card {
    background: #faf8f5;
    border-radius: 16px;
    padding: 32px 28px;
    position: relative;
}

.testimonial-stars {
    color: #c9907e;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #2d2d2d;
}

.testimonial-age {
    font-size: 0.82rem;
    color: #aaa;
}

/* User-Submitted Testimonials */
.user-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    text-align: left;
    margin-top: 28px;
}

.testimonial-form {
    background: #faf8f5;
    border-radius: 16px;
    padding: 24px 24px 20px;
    text-align: left;
}

.testimonial-form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.testimonial-form-row input[type="text"] {
    flex: 2;
}

.testimonial-form-row input[type="number"] {
    flex: 1;
    max-width: 80px;
}

.testimonial-form input,
.testimonial-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #2d2d2d;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
}

.testimonial-form input:focus,
.testimonial-form textarea:focus {
    border-color: #7a9e7e;
}

.testimonial-form textarea {
    resize: vertical;
    min-height: 80px;
    margin-bottom: 4px;
}

.testimonial-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.char-count {
    font-size: 0.75rem;
    color: #bbb;
}

.testimonial-submit-success p {
    font-size: 1rem;
    color: #7a9e7e;
    font-weight: 600;
    margin-top: 20px;
}

/* ---------- Hero Social Proof ---------- */
.hero-social-proof {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #7a9e7e;
    font-weight: 500;
}

.email-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.email-input-group {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 460px;
}

.email-input-group input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #2d2d2d;
    outline: none;
    transition: border-color 0.2s;
}

.email-input-group input[type="email"]:focus {
    border-color: #7a9e7e;
}

.email-input-group .btn {
    white-space: nowrap;
    padding: 14px 28px;
}

.email-disclaimer {
    margin-top: 12px;
    font-size: 0.78rem;
    color: #bbb;
}

.email-success p {
    font-size: 1rem;
    color: #7a9e7e;
    font-weight: 600;
}

/* ---------- Blog Preview Section ---------- */
.blog-section {
    padding: 80px 0;
    background: #e8f0e9;
    text-align: center;
}

.blog-section h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    text-align: left;
}

.blog-card {
    display: block;
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.blog-card-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    background: #f5ebe7;
    color: #c9907e;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.35;
}

.blog-card p {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.blog-date {
    font-size: 0.8rem;
    color: #aaa;
}

.blog-read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: #7a9e7e;
}

/* ---------- Blog Index Page ---------- */
.blog-index-page {
    padding-top: 88px;
}

.blog-index-header {
    text-align: center;
    padding: 48px 0 36px;
    background: linear-gradient(160deg, #faf8f5 0%, #f5ebe7 40%, #e8f0e9 100%);
}

.blog-index-header h1 {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.blog-index-subtitle {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
}

/* Blog Intro Section */
.blog-intro-section {
    padding: 48px 0;
    background: #fff;
}

.blog-intro-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.blog-intro-content h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #2d2d2d;
}

.blog-intro-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
}

.blog-intro-cta {
    margin-top: 28px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-index-body {
    padding: 48px 0 80px;
}

.blog-category-section {
    margin-bottom: 56px;
}

.blog-category-section:last-child {
    margin-bottom: 0;
}

.blog-category-heading {
    font-size: 1.5rem;
    color: #2d2d2d;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8f0e9;
    position: relative;
}

.blog-category-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 2px;
    background: #7a9e7e;
}

.blog-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* ---------- Blog Post Page ---------- */
.blog-post-page {
    padding-top: 88px;
}

.blog-post-header {
    text-align: center;
    padding: 40px 0 32px;
    background: linear-gradient(160deg, #faf8f5 0%, #f5ebe7 40%, #e8f0e9 100%);
}

.blog-back-link {
    display: inline-block;
    font-size: 0.9rem;
    color: #7a9e7e;
    font-weight: 500;
    margin-bottom: 20px;
    transition: color 0.2s;
}

.blog-back-link:hover {
    color: #5a7e5e;
}

.blog-post-header h1 {
    font-size: 2.4rem;
    max-width: 720px;
    margin: 0 auto 16px;
}

.blog-post-header .blog-meta {
    font-size: 0.85rem;
    color: #999;
}

.blog-post-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.blog-post-body h2 {
    font-size: 1.5rem;
    margin: 40px 0 16px;
    color: #2d2d2d;
}

.blog-post-body h2:first-child {
    margin-top: 0;
}

.blog-post-body p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 18px;
}

.blog-post-body ul,
.blog-post-body ol {
    margin: 0 0 18px 24px;
    line-height: 1.8;
    color: #444;
}

.blog-post-body li {
    margin-bottom: 6px;
}

.blog-post-body .supplement-block {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    margin: 28px 0;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    border-left: 4px solid #7a9e7e;
}

.blog-post-body .supplement-block h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.blog-post-body .supplement-block .dosage-note {
    font-size: 0.85rem;
    color: #999;
    margin: 12px 0 16px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.blog-post-body .btn-affiliate {
    display: inline-block;
    text-align: center;
    padding: 10px 22px;
    border-radius: 50px;
    background: #c9907e;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.blog-post-body .btn-affiliate:hover {
    background: #b57e6c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201,144,126,0.3);
}

.blog-post-body .disclaimer-box {
    background: #f5ebe7;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 40px 0;
    font-size: 0.88rem;
    color: #777;
    line-height: 1.7;
}

.blog-post-body .sources-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid #eee;
}

.blog-post-body .sources-section h2 {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.blog-post-body .sources-section ol {
    font-size: 0.88rem;
    color: #666;
}

.blog-post-body .sources-section a {
    color: #7a9e7e;
    text-decoration: underline;
}

.blog-post-body .sources-section a:hover {
    color: #5a7e5e;
}

/* ---------- Blog Byline & Updated ---------- */
.blog-byline {
    font-size: 0.9rem;
    color: #7a9e7e;
    font-weight: 500;
    margin-top: 8px;
}

.blog-updated {
    font-size: 0.82rem;
    color: #999;
    margin-top: 4px;
}

/* ---------- Editorial Note ---------- */
.editorial-note {
    background: #e8f0e9;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 32px 0;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.7;
}

.editorial-note strong {
    color: #7a9e7e;
}

/* ---------- FAQ Section ---------- */
.faq {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid #eee;
}

.faq h2 {
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.faq [itemtype="https://schema.org/Question"] {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.faq [itemtype="https://schema.org/Question"]:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq h3[itemprop="name"] {
    font-size: 1.1rem;
    color: #2d2d2d;
    margin-bottom: 12px;
}

.faq [itemprop="text"] {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

/* ---------- Comparison Tables ---------- */
.blog-post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.9rem;
}

.blog-post-body table th,
.blog-post-body table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.blog-post-body table th {
    background: #e8f0e9;
    color: #2d2d2d;
    font-weight: 600;
    font-size: 0.85rem;
}

.blog-post-body table tr:hover {
    background: #faf8f5;
}

.blog-post-body table tr:last-child td {
    border-bottom: none;
}

/* ---------- View All Articles Link ---------- */
.blog-view-all {
    text-align: center;
    margin-top: 40px;
}

.blog-view-all a {
    font-size: 1rem;
    font-weight: 600;
    color: #7a9e7e;
    transition: color 0.2s;
}

.blog-view-all a:hover {
    color: #5a7e5e;
}

/* ---------- Responsive Tables ---------- */
@media (max-width: 768px) {
    .blog-post-body table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .blog-post-body table th,
    .blog-post-body table td {
        padding: 10px 12px;
    }
}

/* ---------- Sources Page ---------- */
.sources-page {
    padding-top: 88px;
}

.sources-header {
    text-align: center;
    padding: 48px 0 36px;
    background: linear-gradient(160deg, #faf8f5 0%, #f5ebe7 40%, #e8f0e9 100%);
}

.sources-header h1 {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.sources-intro {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
}

.sources-body {
    padding: 48px 0 80px;
}

.sources-container {
    max-width: 800px;
}

.sources-methodology {
    background: #e8f0e9;
    border-radius: 16px;
    padding: 28px 28px;
    margin-bottom: 48px;
}

.sources-methodology h2 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.sources-methodology p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

.source-supplement-group {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.source-supplement-group:last-of-type {
    border-bottom: none;
}

.source-supplement-group h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #2d2d2d;
}

.source-context {
    font-size: 0.88rem;
    color: #7a9e7e;
    font-weight: 500;
    margin-bottom: 20px;
}

.source-list {
    list-style: decimal;
    margin-left: 20px;
}

.source-list li {
    margin-bottom: 18px;
    font-size: 0.92rem;
    color: #444;
    line-height: 1.6;
}

.source-list li strong {
    color: #2d2d2d;
}

.source-detail {
    display: block;
    font-size: 0.84rem;
    color: #888;
    margin-top: 4px;
    line-height: 1.5;
}

.source-list a {
    color: #7a9e7e;
    text-decoration: underline;
    font-size: 0.84rem;
}

.source-list a:hover {
    color: #5a7e5e;
}

.sources-cta {
    text-align: center;
    padding: 40px 0 0;
    margin-top: 20px;
}

.sources-cta p {
    font-size: 1.05rem;
    margin-bottom: 16px;
    color: #444;
}

.nav-links .active-link {
    color: #7a9e7e;
}

/* ---------- Feedback Page ---------- */
.feedback-page {
    background: #faf8f5;
}

.feedback-header {
    text-align: center;
    padding: 120px 0 40px;
    background: linear-gradient(160deg, #faf8f5 0%, #f5ebe7 40%, #e8f0e9 100%);
}

.feedback-header h1 {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.feedback-body {
    padding: 48px 0 64px;
}

.feedback-form-wrapper {
    max-width: 600px;
    margin: 0 auto 60px;
    text-align: center;
}

.feedback-form-wrapper h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.feedback-submitted {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.feedback-submitted h2 {
    font-size: 1.6rem;
    margin-bottom: 28px;
}

.feedback-empty {
    font-size: 1rem;
    color: #999;
    margin-top: 20px;
}

.feedback-cta {
    padding: 48px 0 64px;
    background: #e8f0e9;
}

/* ---------- Partner / Advertise Page ---------- */
.partner-page {
    padding-top: 88px;
}

.partner-header {
    text-align: center;
    padding: 48px 0 36px;
    background: linear-gradient(160deg, #faf8f5 0%, #f5ebe7 40%, #e8f0e9 100%);
}

.partner-header h1 {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.partner-body {
    padding: 48px 0 80px;
}

.partner-container {
    max-width: 760px;
    margin: 0 auto;
}

.partner-intro {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: center;
}

.partner-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

.partner-option {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
    text-align: center;
    transition: transform 0.3s ease;
}

.partner-option:hover {
    transform: translateY(-4px);
}

.partner-option-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.partner-option h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.partner-option p {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.6;
}

.partner-form-section {
    background: #faf8f5;
    border-radius: 20px;
    padding: 40px 36px;
    max-width: 560px;
    margin: 0 auto;
}

.partner-form-section h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    text-align: center;
}

.partner-form-section > p {
    font-size: 0.92rem;
    color: #666;
    text-align: center;
    margin-bottom: 24px;
}

.partner-form .form-group {
    margin-bottom: 16px;
}

.partner-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

.partner-form input,
.partner-form textarea,
.partner-form select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #2d2d2d;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
}

.partner-form input:focus,
.partner-form textarea:focus,
.partner-form select:focus {
    border-color: #7a9e7e;
}

.partner-form textarea {
    resize: vertical;
    min-height: 100px;
}

.partner-form .btn {
    width: 100%;
    margin-top: 8px;
}

.partner-success {
    text-align: center;
}

.partner-success p {
    font-size: 1rem;
    color: #7a9e7e;
    font-weight: 600;
}

.partner-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    text-align: center;
}

.partner-stat {
    padding: 24px 16px;
}

.partner-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #7a9e7e;
    margin-bottom: 8px;
}

.partner-stat-label {
    font-size: 0.88rem;
    color: #666;
}

/* ---------- Email Drip Upgrade ---------- */
.drip-optin {
    padding: 64px 0;
    background: #fff;
    text-align: center;
}

.drip-optin-box {
    max-width: 620px;
    margin: 0 auto;
    background: #e8f0e9;
    border-radius: 20px;
    padding: 48px 40px;
}

.drip-optin-box h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.drip-optin-box > p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 24px;
}

.drip-schedule {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.drip-item {
    background: #fff;
    border-radius: 12px;
    padding: 16px 14px;
    flex: 1;
    min-width: 120px;
    max-width: 170px;
    text-align: center;
}

.drip-item-week {
    font-size: 0.72rem;
    font-weight: 700;
    color: #7a9e7e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.drip-item-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #2d2d2d;
    line-height: 1.3;
}

/* ---------- Footer ---------- */
.footer {
    background: #2d2d2d;
    color: #ccc;
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 8px;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.9rem;
    color: #999;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.9rem;
    color: #aaa;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-disclosure {
    border-top: 1px solid #444;
    padding-top: 24px;
    margin-bottom: 24px;
}

.footer-disclosure p {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.7;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #666;
}

/* ---------- About Page ---------- */
.about-page {
    padding-top: 88px;
}

.about-header {
    text-align: center;
    padding: 48px 0 36px;
    background: linear-gradient(160deg, #faf8f5 0%, #f5ebe7 40%, #e8f0e9 100%);
}

.about-header h1 {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.about-intro {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
}

.about-body {
    padding: 48px 0 80px;
}

.about-container {
    max-width: 800px;
}

/* Author Profile */
.author-profile {
    text-align: center;
    margin-bottom: 48px;
}

.author-headshot {
    width: 200px;
    height: 200px;
    max-width: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 4px solid #fff;
}

.author-credentials {
    margin-bottom: 24px;
}

.author-credentials h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: #2d2d2d;
}

.credentials-subtitle {
    font-size: 1rem;
    color: #7a9e7e;
    font-weight: 500;
}

.author-bio {
    text-align: left;
    max-width: 680px;
    margin: 0 auto 32px;
}

.author-bio p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 18px;
}

.author-bio p:last-child {
    margin-bottom: 0;
}

.author-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.author-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    transition: all 0.2s ease;
}

.author-link:hover {
    border-color: #7a9e7e;
    color: #7a9e7e;
    background: #e8f0e9;
}

.author-link svg {
    flex-shrink: 0;
}

/* Expert Quote */
.expert-quote {
    margin: 48px 0;
}

.expert-quote blockquote {
    background: #faf8f5;
    border-left: 4px solid #7a9e7e;
    border-radius: 0 16px 16px 0;
    padding: 32px 36px;
    font-size: 1.1rem;
    font-style: italic;
    color: #444;
    line-height: 1.8;
    margin: 0;
}

.expert-quote blockquote cite {
    display: block;
    margin-top: 16px;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 600;
    color: #7a9e7e;
}

/* Content Attribution */
.content-attribution {
    background: #e8f0e9;
    border-radius: 16px;
    padding: 28px 28px;
    margin-bottom: 48px;
}

.content-attribution h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.content-attribution p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

.content-attribution p:last-child {
    margin-bottom: 0;
}

.content-attribution a {
    color: #7a9e7e;
    text-decoration: underline;
}

.content-attribution a:hover {
    color: #5a7e5e;
}

/* About CTA */
.about-cta {
    text-align: center;
    padding: 40px 0 0;
}

.about-cta p {
    font-size: 1.05rem;
    margin-bottom: 16px;
    color: #444;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .hero {
        padding: 130px 0 70px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .trust-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-grid,
    .user-testimonials {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-form-row {
        flex-direction: column;
    }

    .testimonial-form-row input[type="number"] {
        max-width: 100%;
    }

    .testimonial-form-footer {
        flex-direction: column;
        gap: 12px;
    }

    .testimonial-form-footer .btn {
        width: 100%;
    }

    .email-input-group {
        flex-direction: column;
    }

    .email-input-group .btn {
        width: 100%;
    }

    .quiz-container {
        padding: 28px 20px;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .result-card .affiliate-links {
        flex-direction: column;
    }

    .partner-options {
        grid-template-columns: 1fr;
    }

    .partner-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .partner-form-section {
        padding: 28px 20px;
    }

    .drip-schedule {
        flex-direction: column;
        align-items: center;
    }

    .drip-item {
        max-width: 100%;
    }

    .blog-post-header h1 {
        font-size: 1.8rem;
    }

    .blog-index-header h1 {
        font-size: 1.8rem;
    }

    .blog-index-grid {
        grid-template-columns: 1fr;
    }

    .blog-category-heading {
        font-size: 1.3rem;
    }

    .about-header h1 {
        font-size: 1.8rem;
    }

    .author-headshot {
        width: 160px;
        height: 160px;
    }

    .author-credentials h2 {
        font-size: 1.5rem;
    }

    .author-links {
        flex-direction: column;
        align-items: center;
    }

    .expert-quote blockquote {
        padding: 24px 20px;
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
    }

    .nav-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .quiz-step h3 {
        font-size: 1.1rem;
    }

    .quiz-nav {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .quiz-nav .btn {
        width: 100%;
    }
}

/* ---------- Supplements Page ---------- */
.supplements-page {
    padding-top: 88px;
}

.supplements-header {
    text-align: center;
    padding: 48px 0 36px;
    background: linear-gradient(160deg, #faf8f5 0%, #f5ebe7 40%, #e8f0e9 100%);
}

.supplements-header h1 {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.supplements-subtitle {
    max-width: 680px;
    margin: 0 auto 24px;
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
}

.supplements-cta {
    margin-top: 20px;
}

/* Filter Tags */
.supplements-filter {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 64px;
    z-index: 50;
}

.filter-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-tag {
    padding: 8px 18px;
    border-radius: 50px;
    border: 2px solid #e8e8e8;
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tag:hover {
    border-color: #7a9e7e;
    color: #7a9e7e;
}

.filter-tag.active {
    background: #7a9e7e;
    border-color: #7a9e7e;
    color: #fff;
}

/* Supplements Grid */
.supplements-body {
    padding: 48px 0 80px;
}

.supplements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.supplement-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.supplement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.supplement-card-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.supplement-card-header h2 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: #2d2d2d;
}

.supplement-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.supplement-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.supplement-tag.tag-essential {
    background: #e8f0e9;
    color: #7a9e7e;
}

.supplement-tag.tag-energy {
    background: #fef3cd;
    color: #b8860b;
}

.supplement-tag.tag-bone {
    background: #f5ebe7;
    color: #c9907e;
}

.supplement-tag.tag-sleep {
    background: #f3ecf2;
    color: #b07aab;
}

.supplement-tag.tag-skin {
    background: #ffe4ec;
    color: #d1477a;
}

.supplement-tag.tag-gut {
    background: #e0f4f4;
    color: #2a9d9d;
}

.supplement-card-body {
    padding: 20px 24px;
    flex-grow: 1;
}

.supplement-card-body .supplement-benefits {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 16px;
}

.supplement-card-body .supplement-dosage {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 12px;
    padding: 12px 14px;
    background: #faf8f5;
    border-radius: 8px;
}

.supplement-card-body .supplement-best-for {
    font-size: 0.85rem;
    color: #7a9e7e;
}

.supplement-card-body .supplement-best-for strong {
    color: #5a7e5e;
}

.supplement-card-footer {
    padding: 20px 24px;
    background: #faf8f5;
    border-top: 1px solid #f0f0f0;
}

.supplement-card-footer .where-to-buy {
    font-size: 0.78rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.supplement-card-footer .affiliate-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.supplement-card-footer .btn-affiliate {
    display: inline-block;
    text-align: center;
    padding: 10px 16px;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    font-size: 0.82rem;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 80px;
}

.supplement-card-footer .btn-affiliate:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.supplement-card-footer .btn-affiliate-amazon {
    background: #c9907e;
}
.supplement-card-footer .btn-affiliate-amazon:hover {
    background: #b57e6c;
}

.supplement-card-footer .btn-affiliate-iherb {
    background: #7a9e7e;
}
.supplement-card-footer .btn-affiliate-iherb:hover {
    background: #6a8e6e;
}

.supplement-card-footer .btn-affiliate-thorne {
    background: #b07aab;
}
.supplement-card-footer .btn-affiliate-thorne:hover {
    background: #9a6a95;
}

/* Supplements Disclaimer */
.supplements-disclaimer {
    max-width: 720px;
    margin: 48px auto 0;
    padding: 20px 24px;
    background: #f5ebe7;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #777;
    line-height: 1.6;
    text-align: center;
}

/* Supplements Bottom CTA */
.supplements-cta-bottom {
    text-align: center;
    margin-top: 56px;
    padding: 48px 36px;
    background: #e8f0e9;
    border-radius: 20px;
}

.supplements-cta-bottom h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.supplements-cta-bottom p {
    font-size: 1rem;
    color: #555;
    max-width: 500px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

/* Responsive Supplements Page */
@media (max-width: 768px) {
    .supplements-header h1 {
        font-size: 1.8rem;
    }

    .supplements-grid {
        grid-template-columns: 1fr;
    }

    .filter-tags {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .filter-tag {
        flex-shrink: 0;
    }

    .supplement-card-footer .affiliate-links {
        flex-direction: column;
    }

    .supplements-cta-bottom {
        padding: 36px 24px;
    }
}
