:root {
    --bg: #f8f7f4;
    --surface: #ffffff;
    --text: #1a1a1a;
    --text-muted: #6b6b6b;
    --accent: #c0392b;
    --accent-hover: #a93226;
    --accent-light: rgba(192, 57, 43, 0.08);
    --border: #e0ddd8;
    --callout-bg: #fdf6e3;
    --callout-border: #c0392b;
    --link: #2874a6;
    --star: #e8a317;
    --green: #27ae60;
    --font-heading: 'Merriweather', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.75;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
}

/* ===== HEADER ===== */
.site-header {
    background: var(--surface);
    border-bottom: 3px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* <!-- REPLACE WITH YOUR LOGO --> */
.site-logo {
    height: 32px;
    width: auto;
}

.logo-placeholder {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 900;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.header-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== CATEGORY BAR ===== */
.category-bar {
    background: var(--accent);
    padding: 6px 24px;
}

.category-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-label {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.category-nav {
    display: flex;
    gap: 20px;
}

.category-nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}

.category-nav a:hover {
    color: #fff;
}

/* ===== MAIN CONTENT ===== */
.article-wrapper {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

/* ===== HEADLINE ===== */
.article-category {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 20px;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.article-subtitle {
    font-size: 20px;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 400;
}

.article-byline {
    font-size: 14px;
    color: var(--text-muted);
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

.byline-author {
    font-weight: 600;
    color: var(--text);
}

/* ===== HERO IMAGE ===== */

.hero-img-container {
    display: flex;
    width: 100%;
    justify-content: center;
}

.hero-img {
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 32px;
    display: block;
}

/* ===== BODY TEXT ===== */
.article-body p {
    margin-bottom: 22px;
}

.article-body h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 40px 0 18px;
    color: var(--text);
}

.article-body a {
    color: var(--link);
    text-decoration: underline;
    text-decoration-color: rgba(40, 116, 166, 0.3);
    text-underline-offset: 2px;
    transition: text-decoration-color 0.2s;
}

.article-body a:hover {
    text-decoration-color: var(--link);
}

/* ===== DROP CAP ===== */
.drop-cap::first-letter {
    font-family: var(--font-heading);
    float: left;
    font-size: 68px;
    line-height: 0.85;
    padding-right: 8px;
    padding-top: 4px;
    color: var(--accent);
    font-weight: 900;
}

/* ===== PULL QUOTE ===== */
.pull-quote {
    font-family: var(--font-heading);
    font-size: 22px;
    font-style: italic;
    line-height: 1.5;
    text-align: center;
    color: var(--text);
    padding: 32px 20px;
    margin: 40px 0;
    border-top: 3px solid var(--accent);
    border-bottom: 3px solid var(--accent);
}

/* ===== CALLOUT BOX (leaked data excerpt) ===== */
.callout-box {
    background: var(--callout-bg);
    border-left: 4px solid var(--callout-border);
    padding: 24px 28px;
    margin: 36px 0;
    border-radius: 0 6px 6px 0;
}

.callout-box .callout-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 10px;
}

.callout-box p {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

.callout-box p:last-child {
    margin-bottom: 0;
}

.callout-box .leaked-entry {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    background: rgba(0,0,0,0.04);
    padding: 12px 16px;
    border-radius: 4px;
    margin-top: 12px;
    line-height: 1.8;
    color: #333;
}

/* ===== PRODUCT SECTION ===== */
.product-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin: 50px 0;
}

.product-section {
    text-align: center;
    padding: 10px 0 30px;
}

.product-section .section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 20px;
}

.product-img {
    width: 280px;
    height: 320px;
    margin: 0 auto 28px;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.product-description {
    max-width: 600px;
    margin: 0 auto 28px;
    text-align: left;
    font-size: 16px;
    line-height: 1.75;
    color: #444;
}

.product-benefits {
    max-width: 500px;
    margin: 0 auto 32px;
    text-align: left;
    list-style: none;
}

.product-benefits li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #333;
}

.product-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 17px;
}

/* ===== CTA BUTTON ===== */
.cta-button {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 36px;
    border-radius: 6px;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(192, 57, 43, 0.3);
    cursor: pointer;
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.35);
}

/* ===== TRUST ROW ===== */
.trust-row {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.trust-item {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-icon {
    font-size: 16px;
}

/* ===== DISCLAIMER ===== */
.disclaimer {
    margin-top: 36px;
    font-size: 11px;
    line-height: 1.6;
    color: #999;
    text-align: center;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.testimonials-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--text);
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    flex-shrink: 0;
    border: 2px solid var(--accent, #c1390c);
}

.testimonial-avatar-fallback {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent, #c1390c);
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Container — hidden automatically if all images fail */
.testimonial-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Dark theme override */
body.dark-theme .testimonial-photos {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Individual photo */
.testimonial-photo {
    width: calc(50% - 4px);
    max-width: 200px;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.testimonial-photo:hover {
    opacity: 0.88;
}

/* Single photo — full width up to a cap */
.testimonial-photos:has(img:only-child) .testimonial-photo {
    width: 100%;
    max-width: 320px;
    height: auto;
}

/* 3+ photos — 3 per row */
@media (min-width: 480px) {
    .testimonial-photos:has(img:nth-child(3)) .testimonial-photo {
        width: calc(33.33% - 6px);
        height: 120px;
    }
}

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

.testimonial-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
}

.testimonial-stars {
    color: var(--star);
    font-size: 14px;
    letter-spacing: 1px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

/* ===== STICKY FOOTER ===== */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 200;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
}

.footer-stock {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.footer-stock .count {
    color: var(--accent);
}

.footer-cta {
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.2s;
}

.footer-cta:hover {
    background: var(--accent-hover);
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 16px;
    color: #a93226;
}

/* ===== SITE FOOTER ===== */
.site-footer {
    background: #2c2c2c;
    padding: 24px;
    text-align: center;
    margin-bottom: 56px;
}

.site-footer p {
    font-size: 12px;
    color: #888;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .category-nav {
        display: none;
    }

    .article-title {
        font-size: 28px;
    }

    .article-subtitle {
        font-size: 17px;
    }

    .hero-img {
        height: 240px;
    }

    .article-wrapper {
        padding: 28px 18px 50px;
    }

    .pull-quote {
        font-size: 19px;
        padding: 24px 12px;
    }

    .product-name {
        font-size: 28px;
    }

    .product-img {
        width: 220px;
        height: 260px;
    }

    .cta-button {
        font-size: 16px;
        padding: 16px 28px;
        display: block;
        text-align: center;
    }

    .trust-row {
        gap: 16px;
    }

    .testimonial-card {
        padding: 18px;
    }

    .testimonial-photo {
        width: 100%;
        max-width: none;
        height: 160px;
    }

    .sticky-footer {
        padding: 10px 14px;
    }

    .footer-stock {
        font-size: 12px;
    }

    .footer-cta {
        font-size: 13px;
        padding: 9px 16px;
    }

    .callout-box {
        padding: 18px 20px;
    }

    .header-badge {
        display: none;
    }

    .drop-cap::first-letter {
        font-size: 54px;
    }
}
