/* Modern Clean Stylesheet for SEO Hugo Health Sites */
:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-family);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-color); text-decoration: none; transition: all 0.2s; }
a:hover { opacity: 0.85; }

/* Header */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.logo-icon { font-size: 1.8rem; }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); }
.logo-sub { font-size: 0.78rem; color: var(--text-secondary); }

.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-item { font-weight: 500; color: var(--text-secondary); font-size: 0.95rem; }
.nav-item.active, .nav-item:hover { color: var(--primary-color); }
.nav-btn-highlight {
    background: var(--accent-color);
    color: #ffffff !important;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Layout */
.main-container {
    max-width: 1200px;
    margin: 1.5rem auto 3rem;
    padding: 0 1.5rem;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0f172a 100%);
    color: #ffffff;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    padding: 0.25rem 0.85rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.hero-title { font-size: 2rem; margin-bottom: 0.75rem; font-weight: 800; }
.hero-subtitle { font-size: 1.05rem; opacity: 0.9; max-width: 800px; margin: 0 auto 1.5rem; }
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 1.25rem;
}
.stat-item { font-size: 0.95rem; opacity: 0.95; }
.stat-item span { font-weight: 700; font-size: 1.2rem; color: #fde047; }

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}
.count-badge { font-size: 0.85rem; color: var(--text-secondary); background: #e2e8f0; padding: 0.2rem 0.6rem; border-radius: 50px; }

/* Article Cards */
.articles-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.article-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}
.article-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}
.card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.tag-badge {
    background: rgba(29, 78, 216, 0.1);
    color: var(--primary-color);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}
.card-title { font-size: 1.25rem; margin-bottom: 0.5rem; font-weight: 700; }
.card-title a { color: var(--text-primary); }
.card-title a:hover { color: var(--primary-color); }
.card-excerpt { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 1rem; line-height: 1.6; }
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.read-more-btn { font-weight: 600; color: var(--primary-color); }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.widget {
    background: var(--bg-card);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.widget h3 { font-size: 1.05rem; margin-bottom: 1rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--primary-color); }
.widget.cta-widget {
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
    border: 2px solid var(--accent-color);
}
.widget.cta-widget p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1rem; }
.btn-primary-cta {
    display: block;
    background: var(--accent-color);
    color: #ffffff !important;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
    margin-bottom: 1rem;
}
.guarantee-list { font-size: 0.85rem; color: #166534; display: flex; flex-direction: column; gap: 0.4rem; }

.hot-list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.hot-list li { font-size: 0.9rem; display: flex; justify-content: space-between; gap: 0.5rem; }
.hot-list li a { color: var(--text-primary); line-height: 1.4; }
.hot-list li a:hover { color: var(--primary-color); }
.hot-list .date { color: var(--text-secondary); font-size: 0.8rem; white-space: nowrap; }

/* Article Detail Page */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
}
.breadcrumbs {
    grid-column: 1 / -1;
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: -0.5rem;
}
.article-detail {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.meta-pills { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; }
.tag-pill { background: #eff6ff; color: var(--primary-color); padding: 0.2rem 0.6rem; border-radius: 4px; font-weight: 600; font-size: 0.85rem; }
.verified-pill { background: #f0fdf4; color: #166534; padding: 0.2rem 0.6rem; border-radius: 4px; font-weight: 600; font-size: 0.85rem; }
.article-title { font-size: 1.9rem; line-height: 1.4; margin-bottom: 1rem; font-weight: 800; color: #0f172a; }
.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

/* Quick Summary Box */
.quick-summary-box {
    background: #f8fafc;
    border-left: 4px solid var(--primary-color);
    padding: 1.25rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 2rem;
    box-shadow: inset 0 0 0 1px var(--border-color);
}
.quick-summary-box .box-title { font-weight: 700; color: var(--primary-color); margin-bottom: 0.5rem; font-size: 1.05rem; }

/* Article Body Typography */
.article-body { font-size: 1.05rem; color: #334155; line-height: 1.85; }
.article-body h2 { font-size: 1.45rem; color: #0f172a; margin: 2rem 0 1rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--border-color); }
.article-body h3 { font-size: 1.2rem; color: #1e293b; margin: 1.5rem 0 0.75rem; }
.article-body p { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { margin: 0 0 1.25rem 1.5rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body blockquote {
    background: #fefce8;
    border-left: 4px solid #ca8a04;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: #854d0e;
}
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}
.article-body th, .article-body td {
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    text-align: left;
}
.article-body th { background: #f1f5f9; font-weight: 700; color: #0f172a; }
.article-body tr:nth-child(even) td { background: #f8fafc; }

/* Scorecards & Callouts */
.review-scorecard {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
}
.scorecard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.score-badge { font-size: 1.5rem; font-weight: 800; color: #ea580c; }
.score-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; font-size: 0.9rem; }
.score-item span { font-weight: 700; color: var(--primary-color); }

/* CTA Conversion Card */
.cta-conversion-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 2.25rem 2rem;
    border-radius: var(--radius-lg);
    margin: 2.5rem 0;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.cta-conversion-box::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    filter: blur(60px);
    opacity: 0.4;
}
.cta-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 0.25rem 0.85rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #fde047;
    margin-bottom: 0.75rem;
}
.cta-heading { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.5rem; }
.cta-subheading { font-size: 0.95rem; opacity: 0.9; margin-bottom: 1.5rem; }
.cta-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}
.feature-tag {
    background: rgba(255,255,255,0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
}
.cta-main-button {
    display: inline-block;
    background: var(--accent-color);
    color: #ffffff !important;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-main-button:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.6);
}
.cta-tip { font-size: 0.8rem; opacity: 0.75; margin-top: 1rem; }

/* FAQ Accordion */
.faq-section { margin: 2rem 0; }
.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    padding: 1rem 1.25rem;
}
.faq-question { font-weight: 700; color: #0f172a; margin-bottom: 0.4rem; font-size: 1.05rem; }
.faq-answer { color: #475569; font-size: 0.95rem; line-height: 1.65; }

/* Tags & Nav */
.article-tags { margin: 2rem 0 1.5rem; font-size: 0.9rem; }
.tag-item { background: #f1f5f9; color: var(--primary-color); padding: 0.2rem 0.6rem; border-radius: 4px; margin-right: 0.4rem; }
.article-nav-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}
.nav-prev, .nav-next { line-height: 1.5; }

/* Footer */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid #334155;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}
.footer-col h4 { color: #f8fafc; font-size: 1.1rem; margin-bottom: 1rem; }
.footer-col p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }
.trust-icons { display: flex; gap: 1rem; font-size: 0.85rem; color: #cbd5e1; flex-wrap: wrap; }
.friendly-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}
.friendly-grid a { color: #94a3b8; font-size: 0.88rem; }
.friendly-grid a:hover { color: #38bdf8; }
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 0;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 0.82rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}
.page-btn {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
}
.page-info { font-size: 0.88rem; color: var(--text-secondary); }

/* Responsive */
@media (max-width: 900px) {
    .content-wrapper, .article-layout { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .hero-title { font-size: 1.6rem; }
    .article-detail { padding: 1.5rem; }
    .article-title { font-size: 1.45rem; }
    .article-nav-pager { grid-template-columns: 1fr; }
}
