/*
 * Complete Mobile-Responsive CSS for Mitolyn Sales Page
 *
 * This CSS is built to be fully responsive:
 * 1. Images use max-width: 100% to scale fluidly.
 * 2. Grids collapse to single columns on small screens (via the 768px media query).
 * 3. Typography and button sizes are optimized for mobile.
 */

/* --- Global & Base --- */
body {
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.65;
    margin: 0;
    padding: 0;
    background-color: #f7f7fa; 
    color: #333;
}

.container {
    /* Ensures content is contained but fluid (95% width) */
    width: 95%;
    max-width: 1080px; 
    margin: 0 auto;
    padding: 15px 0;
}

/* --- Typography and Headings --- */
.bold-heading {
    font-weight: 900;
    font-size: 2.6em; 
    text-align: center;
    line-height: 1.1;
    margin-bottom: 0.3em;
    padding-top: 10px;
}
.red-accent {
    color: #D62828; 
}
.purple-accent {
    color: #4A148C; 
}
.sub-heading {
    font-size: 1.7em; 
    font-weight: 600;
    text-align: center;
    color: #555;
    margin-bottom: 1.5em; 
}
.mini-header {
    font-size: 1.4em;
    font-weight: 700;
    color: #4A148C;
    margin-top: 25px;
    border-bottom: 2px solid #EEE;
    padding-bottom: 5px;
}
p {
    margin-bottom: 1.5em;
    font-size: 1.1em;
}

/* --- Image Centering Rules (CRITICAL FOR RESPONSIVENESS) --- */
.main-product-image,
.content-image,
.content-section img { 
    /* This rule ensures images scale down automatically on smaller screens */
    max-width: 100%; 
    height: auto; /* Preserves the image's aspect ratio */
    
    display: block; 
    margin: 30px auto; 
    border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
}

.smaller-img {
    /* Sets a max size for desktop, but respects max-width: 100% on mobile */
    max-width: 700px; 
}
/* --- END OF IMAGE CENTERING RULES --- */

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(180deg, #ffe0e0 0%, #ffffff 100%); 
    padding: 50px 0 30px 0;
    border-bottom: 10px solid #D62828;  
}

/* --- Scarcity/Urgency Box --- */
.scarcity-box {
    background-color: #FFC107; 
    border: 3px solid #FF9800;
    padding: 15px 25px;
    text-align: center;
    margin: 25px auto;
    max-width: 90%;
    border-radius: 10px;
    font-size: 1.3em; 
    font-weight: 800; 
    color: #333;
}
.scarcity-text {
    text-align: center;
    font-weight: 600;
    color: #D62828;
}

/* --- Call-to-Action (CTA) Buttons & Pulse Effect (Sized for better touch target) --- */
.cta-button {
    display: block;
    width: 95%;
    max-width: 650px; 
    margin: 30px auto; 
    padding: 22px; 
    text-align: center;
    text-decoration: none;
    font-size: 1.8em; 
    font-weight: 900;
    border-radius: 60px;  
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); 
    text-transform: uppercase;
    line-height: 1.2;
}
.primary-cta {
    background-color: #FF6600; 
    color: white;
    border: 4px solid #FF9900; 
    text-shadow: 1px 1px 3px #000;
}
.secondary-cta {
    background-color: #4A148C; 
    color: white;
    border: 4px solid #673AB7; 
    text-shadow: 1px 1px 3px #000;
}
.primary-cta:hover {
    background-color: #E65C00;
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.5); 
    transform: scale(1.01); 
}
.secondary-cta:hover {
    background-color: #380D70;
    box-shadow: 0 8px 20px rgba(74, 20, 140, 0.5); 
    transform: scale(1.01); 
}

/* --- The Pulse Effect for Maximum Attention --- */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(255, 102, 0, 0); 
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 102, 0, 0);
    }
}
.pulse-effect {
    animation: pulse 2s infinite;
}
/* --- END CTA STYLES --- */

.money-back-guarantee {
    text-align: center;
    font-size: 1.1em;
    font-weight: 600;
    color: #0077B6; 
    margin-top: -15px; 
}

/* --- Content Sections --- */
.content-section {
    padding: 40px; 
    margin-bottom: 35px; 
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); 
}
.grey-background {
    background-color: #f0f0f5;
}

/* --- Key Point Box --- */
.key-point-box {
    background-color: #FFF8E1; 
    border-left: 6px solid #FF9800;
    padding: 25px; 
    margin: 30px 0; 
    font-size: 1.25em; 
    font-style: italic;
    border-radius: 4px;
}
.key-point-box strong {
    color: #D62828;
    font-weight: 900;
}

/* --- Benefit List (Icon Styling) --- */
.benefit-list {
    list-style: none;
    padding: 0;
}
.benefit-list li {
    font-size: 1.2em; 
    margin-bottom: 15px;
    padding-left: 40px; 
    position: relative;
    font-weight: 500;
}
.benefit-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50; 
    font-weight: 900;
    font-size: 1.6em; 
    line-height: 1; 
    top: 0; 
}

/* --- Mechanism Card Grid (How It Works) --- */
.mechanism-card-grid {
    display: grid;
    /* Grid setting for desktop */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; 
    margin-top: 40px;
}
.mechanism-card {
    background-color: #F3E5F5; 
    padding: 25px;
    border-radius: 10px;
    border-top: 8px solid #4A148C; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
.mechanism-card h4 {
    font-size: 1.5em; 
    color: #4A148C;
    margin-top: 0;
    font-weight: 800;
}

/* --- Ingredient Detail List (Desktop 2-column view) --- */
.ingredient-detail-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}
.ingredient-detail-list article {
    border: 1px solid #CCC;
    border-radius: 8px;
    padding: 20px;
    background-color: #FDFEFE;
    transition: transform 0.2s;
}
.ingredient-detail-list article:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
@media (min-width: 769px) {
    .ingredient-detail-list {
        /* 2 columns on desktop/tablet */
        grid-template-columns: 1fr 1fr; 
    }
}

/* --- Testimonials Grid --- */
.testimonial-box-grid {
    display: grid;
    /* 2 columns on desktop/tablet */
    grid-template-columns: 1fr 1fr;
    gap: 25px; 
    margin: 30px 0;
}
.testimonial-box {
    background-color: #FFEEEE; 
    border: 3px solid #D62828; 
    padding: 30px; 
    border-radius: 10px;
    font-style: italic;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.testimonial-box .quote {
    font-size: 1.3em;
    line-height: 1.4;
}
.reviewer {
    text-align: right;
    font-weight: bold;
    color: #4A148C;
    margin-top: 15px;
    font-size: 1.1em;
}


/* --- FAQ Accordion --- */
details {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
summary {
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2em;
    background-color: #fcfcfc;
    border-radius: 8px;
    color: #4A148C;
    outline: none;
    transition: background-color 0.2s;
}
details[open] summary {
    background-color: #E8EAF6; 
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
details p {
    padding: 10px 20px 20px;
    margin: 0;
    font-size: 1.05em;
    border-top: 1px solid #eee;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 30px 0;
    background-color: #1a1a2e; 
    color: #e0e0f0;
    font-size: 0.9em;
    border-top: 5px solid #4A148C;
}
footer .container {
    max-width: 1000px;
}
.legal-links a {
    color: #90CAF9; 
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
    transition: color 0.2s;
}
.legal-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.disclaimer {
    font-size: 0.8em;
    color: #a0a0c0;
    margin-top: 20px;
    line-height: 1.4;
}
.social-links a {
    color: #e0e0f0;
    text-decoration: none;
    margin: 0 5px;
    font-size: 0; 
}


/* ------------------------------------------------------------------ */
/* --- MOBILE SPECIFIC STYLES (Screen size up to 768px) --- */
/* ------------------------------------------------------------------ */
@media (max-width: 768px) {
    /* Global Container Adjustment */
    .container {
        width: 98%; /* Maximizes horizontal space usage */
        padding: 10px 0;
    }

    /* Heading Adjustments */
    .bold-heading {
        font-size: 2.0em; /* Smaller primary heading */
        padding-top: 5px;
    }
    .sub-heading {
        font-size: 1.3em; /* Smaller secondary heading */
        margin-bottom: 1em;
    }

    /* CTA Button Refinements for Mobile */
    .cta-button {
        font-size: 1.5em; /* Optimized for easy tapping */
        padding: 18px; 
        max-width: 95%; 
        border-radius: 50px;
    }
    
    /* Content and Layout Stacking (All Grids become single columns) */
    .content-section {
        padding: 15px; 
        margin-bottom: 20px;
    }
    .testimonial-box-grid,
    .mechanism-card-grid,
    .ingredient-detail-list {
        grid-template-columns: 1fr; /* Force stacking on mobile */
        gap: 15px;
    }
    
    /* Typography on Mobile */
    p, .benefit-list li {
        font-size: 1em; 
    }
    .key-point-box {
        font-size: 1.05em;
        padding: 15px;
    }
    .mechanism-card h4 {
        font-size: 1.3em;
    }
    .testimonial-box .quote {
        font-size: 1.1em;
    }
}
w