/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #f7f7f7;
    font-size: 15px;
}

.container {
    max-width: 750px;
    margin: 20px auto;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: none;
    min-height: 100vh;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 25px;
    padding: 15px 0;
    background-color: #e9e9e9;
    color: #333;
    border-bottom: 1px solid #ddd;
    margin: -15px -15px 25px -15px;
}

.header h1 {
    font-size: 1.8em;
    margin-bottom: 5px;
    font-weight: bold;
    text-shadow: none;
}

.subtitle {
    font-size: 0.9em;
    font-style: italic;
    opacity: 1;
}

/* Typography */
h2 {
    font-size: 1.5em;
    color: #444;
    margin: 20px 0 12px 0;
    font-weight: bold;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

h3 {
    font-size: 1.1em;
    color: #555;
    margin: 18px 0 8px 0;
    font-weight: bold;
}

p {
    margin-bottom: 12px;
    text-align: justify;
    font-size: 1em;
}

strong {
    color: #0056b3;
    font-weight: bold;
}

/* Author Introduction Section */
.author-intro {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 0;
    align-items: flex-start;
}

.author-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #999;
    flex-shrink: 0;
}

.author-text {
    flex-grow: 1;
    text-align: left;
}

.author-text h2 {
    margin-top: 0;
    border-bottom: none;
    color: #333;
    font-size: 1.4em;
}

/* Content with Image Layouts */
.content-with-image {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin: 25px 0;
    align-items: flex-start;
}

.content-with-image.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 2;
    width: 100%;
}

.image-content {
    flex: 1;
    text-align: center;
    width: 100%;
}

.glucose-image, .product-image, .transformation-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #ccc;
}

.image-caption {
    font-style: italic;
    color: #666;
    margin-top: 8px;
    font-size: 0.85em;
}

/* Steps Section */
.steps-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin: 25px 0;
    justify-content: space-between;
}

.step {
    flex: 1;
    text-align: center;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 0;
}

.step-image {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 0;
    margin-bottom: 10px;
}

.step h3 {
    color: #0056b3;
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* CTA Buttons - Simplified */
.cta-button-container {
    text-align: center;
    margin: 20px 0;
}

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-weight: bold;
    font-size: 0.95em;
    text-align: center;
    box-shadow: none;
    border: 1px solid #0056b3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: none;
}

.cta-button:hover {
    background-color: #0056b3;
    transform: none;
    box-shadow: none;
}

.cta-button.final {
    font-size: 1.05em;
    padding: 15px 30px;
}

/* Read Story Text */
.read-story {
    text-align: center;
    font-style: italic;
    color: #777;
    margin-top: 15px;
    font-weight: bold;
}

/* Warning Section */
.warning-section {
    margin: 25px 0;
}

.warning-box {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 0;
    padding: 18px;
    margin: 15px 0;
}

.warning-box h3 {
    color: #856404;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.warning-box p {
    color: #856404;
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials-section {
    margin: 30px 0;
}

.testimonial {
    background-color: #f9f9f9;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid #eee;
    border-radius: 0;
}

.testimonial h3 {
    color: #0056b3;
    margin-bottom: 8px;
    font-size: 1em;
}

.testimonial p {
    font-style: italic;
    color: #555;
}

/* Expert Section */
.expert-section {
    margin: 25px 0;
}

.expert-endorsement {
    background-color: #e8f4fd;
    padding: 18px;
    border: 1px solid #bee5eb;
    border-radius: 0;
}

.expert-endorsement h3 {
    color: #0056b3;
    margin-bottom: 10px;
}

/* FAQ Section */
.faq-section {
    margin: 30px 0;
}

.faq-item {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 0;
}

.faq-item h3 {
    color: #0056b3;
    margin-bottom: 8px;
    font-size: 1em;
}

/* Guarantee Section */
.guarantee-section {
    background-color: #d4edda;
    padding: 20px;
    border: 1px solid #c3e6cb;
    border-radius: 0;
    margin: 25px 0;
    text-align: center;
}

.guarantee-section h2 {
    color: #155724;
    border-bottom: none;
    margin-bottom: 10px;
}

.guarantee-section p {
    color: #155724;
}

/* Final CTA */
.final-cta {
    text-align: center;
    margin: 30px 0 15px 0;
    padding: 20px;
    background-color: #e9e9e9;
    border-radius: 0;
    border: 1px solid #ddd;
}

.final-cta h2 {
    color: #0056b3;
    border-bottom: none;
    margin-bottom: 10px;
}

.guarantee-text {
    margin-top: 15px;
    font-size: 0.9em;
    color: #666;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
        margin: 10px;
    }
    
    .header {
        margin: -10px -10px 20px -10px;
        padding: 12px 8px;
    }
    
    .header h1 {
        font-size: 1.6em;
    }
    
    .author-intro {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 15px;
    }
    
    .author-photo {
        width: 100px;
        height: 100px;
    }
    
    .author-text {
        text-align: center;
    }
    
    .content-with-image,
    .content-with-image.reverse {
        flex-direction: column;
        gap: 15px;
    }
    
    .image-content {
        order: -1;
    }
    
    .content-with-image.reverse .image-content {
        order: 0;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 15px;
    }
    
    h2 {
        font-size: 1.3em;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    
    .cta-button.final {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 13px;
    }
    
    .container {
        padding: 8px;
        margin: 5px;
    }
    
    .header h1 {
        font-size: 1.4em;
    }
    
    .subtitle {
        font-size: 0.8em;
    }
    
    h2 {
        font-size: 1.1em;
    }
    
    .author-photo {
        width: 80px;
        height: 80px;
    }
    
    .cta-button {
        padding: 8px 15px;
        font-size: 0.85em;
    }
    
    .warning-box,
    .testimonial,
    .expert-endorsement,
    .faq-item,
    .guarantee-section {
        padding: 12px;
    }
}

/* Accessibility */
.cta-button:focus {
    outline: 2px solid #0056b3;
    outline-offset: 2px;
}

/* Loading Animation for Images */
img {
    transition: none;
}

img:not([src]) {
    opacity: 1;
}

/* Smooth Scrolling */
html {
    scroll-behavior: auto;
}

/* Selection Styles */
::selection {
    background-color: #cce5ff;
    color: #000;
}

::-moz-selection {
    background-color: #cce5ff;
    color: #000;
}
