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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #1a1a1a;
    background: #f8fafc;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    padding: 16px 20px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
}

.logo-tagline {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-badge {
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Main */
.main {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 16px 40px;
}

/* Article */
.article {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 40px rgba(0,0,0,0.08);
}

/* Article Meta */
.article-meta {
    padding: 20px 24px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.meta-category {
    background: #059669;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.meta-divider {
    color: #cbd5e1;
}

.meta-date, .meta-read {
    font-size: 13px;
    color: #64748b;
}

/* Title */
.article-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    padding: 20px 24px;
    color: #0f172a;
}

/* Author Box */
.author-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 24px 20px;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
}

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

.author-name {
    font-weight: 600;
    font-size: 15px;
    color: #1e293b;
}

.author-title {
    font-size: 13px;
    color: #64748b;
}

/* Hero Section */
.hero-section {
    margin-bottom: 24px;
}

.hero-link {
    display: block;
}

.hero-image {
    width: 100%;
}

.hero-caption {
    text-align: center;
    font-size: 13px;
    color: #64748b;
    padding: 12px 24px 0;
    font-style: italic;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Key Points */
.key-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0 20px;
}

.key-point {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.8);
    padding: 12px 16px;
    border-radius: 10px;
}

.key-icon {
    font-size: 20px;
}

.key-text {
    font-size: 14px;
    font-weight: 500;
    color: #166534;
}

/* Article Content */
.article-content {
    padding: 0 24px 40px;
}

.article-content p {
    margin-bottom: 20px;
    color: #374151;
}

.article-content p.lead {
    font-size: 19px;
    line-height: 1.6;
    color: #1e293b;
}

.article-content h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: #0f172a;
    line-height: 1.3;
}

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

/* Article Image */
.article-image {
    width: 100%;
    border-radius: 12px;
    margin: 24px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 20px 24px;
    border-radius: 12px;
    margin: 24px 0;
    border-left: 4px solid #f59e0b;
}

.highlight-box p {
    margin: 0;
    color: #92400e;
}

/* Quote Block */
.quote-block {
    background: #f8fafc;
    padding: 24px;
    border-radius: 12px;
    margin: 24px 0;
    border-left: 4px solid #2d5a87;
}

.quote-block p {
    font-style: italic;
    color: #475569;
    margin-bottom: 8px;
}

.quote-block p:last-child {
    margin-bottom: 0;
}

/* Product Promo */
.product-promo {
    display: block;
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
}

.product-promo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Result Card */
.result-card {
    display: flex;
    gap: 24px;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 16px;
    margin: 24px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.result-image {
    width: 180px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.result-text p {
    margin-bottom: 12px;
}

.result-text p:last-child {
    margin-bottom: 0;
}

/* Transformation Box */
.transformation-box {
    position: relative;
    margin: 24px 0;
    border-radius: 16px;
    overflow: hidden;
}

.transformation-image {
    width: 100%;
}

.transformation-result {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #059669;
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(5,150,105,0.4);
}

.result-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.result-label {
    font-size: 13px;
    opacity: 0.9;
}

/* CTA Button */
.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 28px;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    border-radius: 12px;
    margin: 28px 0;
    box-shadow: 0 4px 20px rgba(5,150,105,0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(5,150,105,0.4);
}

.cta-button.primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 20px rgba(37,99,235,0.3);
}

.cta-button.primary:hover {
    box-shadow: 0 8px 30px rgba(37,99,235,0.4);
}

.cta-button.large {
    padding: 20px 32px;
    font-size: 18px;
}

.cta-arrow {
    font-size: 20px;
}

/* Ingredients Grid */
.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
    background: #f8fafc;
    padding: 24px;
    border-radius: 16px;
}

.ingredient-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ingredient-card:nth-child(5) {
    grid-column: span 2;
}

.ingredient-card img {
    width: 100%;
    height: auto;
}

.ingredient-card:nth-child(5) img {
    height: auto;
}

.ingredient-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    padding: 16px 18px 10px;
    margin: 0;
}

.ingredient-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    padding: 0 18px 18px;
    margin: 0;
}

/* Benefits Box */
.benefits-box {
    background: #f0fdf4;
    padding: 24px;
    border-radius: 16px;
    margin: 24px 0;
    border: 1px solid #bbf7d0;
}

.benefits-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #166534;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: #15803d;
    border-bottom: 1px solid #dcfce7;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: 700;
}

/* Testimonials */
.testimonial-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s, transform 0.3s;
}

.testimonial-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.testimonial-card-photo {
    flex-direction: column;
    text-align: left;
    padding: 0;
    overflow: hidden;
}

.testimonial-card-photo .testimonial-content {
    padding: 20px 24px;
}

.testimonial-photo {
    margin: 0;
    width: 100%;
}

.testimonial-photo img {
    width: 100%;
    height: auto;
    border-radius: 0;
    display: block;
}

.testimonial-photo .fineprint {
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    margin-top: 8px;
    padding: 0 16px;
    font-style: normal;
}

.testimonial-content {
    flex: 1;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 12px;
}

.testimonial-quote {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 12px;
    font-style: italic;
}

.testimonial-author {
    font-size: 14px;
    color: #1e293b;
    margin: 0;
    font-style: normal;
}

/* Stats Box */
.stats-box {
    display: flex;
    gap: 20px;
    margin: 24px 0;
}

.stat {
    flex: 1;
    text-align: center;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #fff;
    padding: 24px 20px;
    border-radius: 16px;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-text {
    font-size: 13px;
    opacity: 0.9;
}

/* Urgency Box */
.urgency-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fef2f2;
    padding: 20px 24px;
    border-radius: 12px;
    margin: 24px 0;
    border: 1px solid #fecaca;
}

.urgency-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.urgency-text {
    font-size: 15px;
    color: #991b1b;
}

/* How To Use */
.how-to-use {
    background: #f8fafc;
    padding: 28px;
    border-radius: 16px;
    margin: 24px 0;
}

.how-to-use h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step {
    display: flex;
    align-items: center;
    gap: 16px;
}

.step-number {
    width: 36px;
    height: 36px;
    background: #2d5a87;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.step-text {
    font-size: 15px;
    color: #374151;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 20px;
    overflow: hidden;
    margin: 40px 0;
    border: 1px solid #bbf7d0;
}

.final-cta-image {
    width: 100%;
}

.final-cta-content {
    padding: 28px;
    text-align: center;
}

.final-cta-content h3 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #166534;
}

.final-cta-content > p {
    color: #15803d;
    margin-bottom: 20px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.trust-badge {
    font-size: 12px;
    color: #166534;
    background: rgba(255,255,255,0.7);
    padding: 6px 12px;
    border-radius: 20px;
}

/* Disclaimer */
.disclaimer {
    margin: 40px 24px 0;
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
}

.disclaimer p {
    margin-bottom: 12px;
}

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

/* Studies */
.studies {
    padding: 20px 24px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

.studies-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

.studies-links a {
    color: #2563eb;
    text-decoration: underline;
}

.studies-links a:hover {
    text-decoration: none;
}

/* Footer */
.footer {
    background: #1e293b;
    padding: 40px 20px;
    margin-top: 40px;
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.footer-tagline {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.footer-links a {
    font-size: 13px;
    color: #94a3b8;
}

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

.footer-copyright {
    font-size: 12px;
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    .header-badge {
        display: none;
    }

    .logo-title {
        font-size: 16px;
    }

    .article-title {
        font-size: 26px;
        padding: 16px 20px;
    }

    .article-meta {
        padding: 16px 20px 0;
    }

    .author-box {
        padding: 0 20px 16px;
    }

    .key-points {
        padding: 0 20px 20px;
    }

    .article-content {
        padding: 0 20px 32px;
    }

    .article-content h2 {
        font-size: 22px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .ingredients-grid {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 14px;
    }

    .ingredient-card:nth-child(5) {
        grid-column: auto;
    }

    .ingredient-card img {
        height: auto;
    }

    .ingredient-card:nth-child(5) img {
        height: auto;
    }

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

    .result-image {
        width: 100%;
    }

    .testimonial-card {
        flex-direction: column;
        text-align: center;
        padding: 12px;
    }

    .testimonial-card-photo {
        padding: 0;
    }

    .testimonial-card-photo .testimonial-content {
        padding: 16px 20px;
    }

    .stats-box {
        flex-direction: column;
    }

    .stat-number {
        font-size: 28px;
    }

    .transformation-result {
        bottom: 12px;
        right: 12px;
        padding: 12px 16px;
    }

    .result-number {
        font-size: 24px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .main {
        padding: 16px 12px 32px;
    }

    .article {
        border-radius: 12px;
    }

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

    .key-point {
        min-width: 100%;
    }

    body {
        font-size: 16px;
    }

    .cta-button {
        padding: 16px 20px;
        font-size: 16px;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* Footer Links & Buttons */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px 24px;
    flex-wrap: wrap;
    padding: 20px 24px;
}

.pr-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #2563eb;
    font-size: 13px;
    padding: 5px 10px;
    transition: color 0.2s;
    font-family: inherit;
}

.pr-btn:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Modals */
.modals-wrapper {
    position: fixed;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transform: translateY(-100px);
    overflow: hidden;
    max-height: 0;
    transition: opacity 0.3s;
    padding: 40px 10px;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.5);
}

.modals-wrapper.active {
    opacity: 1;
    min-height: 100%;
    max-height: 100%;
    transform: translateY(0);
}

.block_more_info {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    font-family: 'Inter', Arial, sans-serif;
    padding: 20px 40px 40px;
    border: 1px solid #e2e8f0;
    line-height: 1.6;
    border-radius: 16px;
}

.block_more_info h1 {
    color: #1e3a5f;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8em;
}

.block_more_info h2 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.2em;
    color: #1e293b;
}

.pr-modal {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    position: relative;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.pr-modal.active {
    display: block;
    opacity: 1;
}

.pr-modal p,
.pr-modal li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #374151;
}

.pr-modal ul {
    padding-left: 25px;
    margin-bottom: 15px;
}

.pr-modal li {
    margin-bottom: 8px;
    list-style-type: disc;
}

.pr-modal a {
    color: #2563eb;
}

body.modal-active {
    max-height: 100vh;
    overflow: hidden;
}

.close-pr-modal {
    position: sticky;
    left: auto;
    margin-left: auto;
    transform: translateX(10px);
    top: 5px;
    background: rgba(255, 255, 255, 0.9);
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.2s, transform 0.2s;
}

.close-pr-modal:hover {
    background: #fff;
    transform: translateX(10px) scale(1.1);
}

.close-pr-modal svg {
    width: 20px;
    height: 20px;
    color: #333;
}

@media (max-width: 800px) {
    .modals-wrapper {
        padding: 10px;
    }

    .pr-modal {
        max-height: calc(100vh - 20px);
    }

    .block_more_info {
        padding: 15px 20px 30px;
    }

    .block_more_info h1 {
        font-size: 1.4em;
    }
}
