:root {
    --primary-gold: #D4AF37;
    --primary-gold-light: #F3cf55;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --bg-cream: #FCFAF8;
    --bg-white: #FFFFFF;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Removes bottom spacing bug */
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #FDFBF7;
    /* Cream background from reference */
    color: #4A3B2A;
    /* Dark brown text */
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* Essential padding */
}

/* Top Banner */
.top-banner {
    background: #000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    font-size: 0.85rem;
    /* Safe size for mobile */
    font-weight: 800;
    /* Bolder as per reference */
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

.top-banner .container {
    text-align: center;
    width: 100%;
    display: flex;
    /* Ensures vertical centering if height varies */
    justify-content: center;
}

/* ... existing code ... */

/* Hero Section */
.hero {
    position: relative;
    padding: 60px 0 60px;
    /* More bottom padding for floating img */
    text-align: center;
    /* overflow: visible; ensures image isn't clipped */
    background: radial-gradient(circle at top center, #FFF8F0 0%, #F5E6D3 100%);
    z-index: 1;
    /* Base z-index */
}

.hero-bg-glow {
    display: none;
    /* Removed old glow, using section background */
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    /* Match reference font */
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #3E2723;
    /* Darker brown */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero .subtitle {
    font-size: 1.1rem;
    color: #5D4037;
    /* Medium brown */
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.hero-image-container {
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
    /* Ensure it stays on top of next section */
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-img {
    max-width: 800px;
    width: 100%;
    /* Ensure responsiveness */
    filter: drop-shadow(0 30px 50px rgba(62, 39, 35, 0.4));
    /* Deeper, realistic shadow */
    position: relative;
    /* Helper for z-index */
    will-change: transform;
    backface-visibility: hidden;
}

.floating {
    animation: float 5s ease-in-out infinite;
}

.price-container {
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    /* Align to text baseline for cleaner look */
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 10;
}

.old-price {
    position: relative;
    display: inline-block;
    color: #999;
    font-size: 1.2rem;
    text-decoration: none;
    /* Custom strikethrough */
}

.old-price::after {
    content: '';
    width: 100%;
    height: 1.5px;
    /* Thinner, cleaner line */
    background: #FF0000;
    /* Red line */
    position: absolute;
    left: 0;
    top: 55%;
    /* Slightly lower to cross middle of text */
    transform: rotate(-10deg);
    /* Clearer diagonal */
}

/* CTA Button Enhanced */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #b8860b 0%, #D4AF37 50%, #F3cf55 100%);
    background-size: 200% auto;
    color: white !important;
    padding: 20px 52px;
    border-radius: 50px;
    font-size: 1.35rem;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4), inset 0 2px 2px rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-position: right center;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.6), inset 0 2px 2px rgba(255, 255, 255, 0.4);
}

.cta-button:active {
    transform: translateY(-2px) scale(0.98);
}

.cta-button.pulse {
    animation: pulse-glow 2.5s infinite;
}

/* Hero Benefits Row (Horizontal below button) */
.benefits-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    /* Allow wrap on very small screens */
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #5D4037;
    font-weight: 500;
}

.benefit-item .lucide {
    width: 20px;
    height: 20px;
    color: white;
    /* Check color */
    fill: #28a745;
    /* Circle fill color */
    stroke-width: 3px;
}

/* Pain Points */
/* Pain Points */
.pain-points {
    background: #FDFBF7;
    padding: 60px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    /* Larger title */
    font-weight: 700;
    text-align: center;
    color: #3E2723;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.15rem;
    /* Slightly larger */
    color: #5D4037;
    /* Warmer brown/grey */
    padding: 0 10px;
}

.pain-card {
    background: white;
    border-radius: 24px;
    /* Softer corners */
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    /* Deeper soft shadow */
    max-width: 700px;
    /* Tighter width */
    margin: 2rem auto 0;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.pain-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #3E2723;
    margin-bottom: 1.5rem;
    text-align: left;
    /* Align title inside card */
}

.pain-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pain-list li {
    display: flex;
    align-items: flex-start;
    /* Better alignment for multi-line text */
    gap: 15px;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: #4A4A4A;
    line-height: 1.5;
    text-align: left;
}

.pain-list .dot {
    width: 10px;
    height: 10px;
    background: #C6922B;
    /* Matte Gold */
    border-radius: 50%;
    margin-top: 7px;
    /* Perfect optical alignment */
    flex-shrink: 0;
}

/* Solution Grid */
.solution {
    padding: 80px 0;
    overflow: hidden;
    /* Prevent spillover */
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 100%;
    /* Ensure grid doesn't break container */
}

.left-align {
    text-align: left;
}

.feature-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
}

.icon-gold {
    color: var(--primary-gold);
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.solution-image {
    width: 100%;
    display: flex;
    justify-content: center;
}

.solution-image img {
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    max-width: 100%;
    /* Critical fix: ensure image scales down */
    height: auto;
}

/* Benefits Grid */
.benefits-grid {
    background: var(--bg-cream);
    padding: 80px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-gold), #b38f2d);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.icon-circle .lucide {
    width: 32px;
    height: 32px;
}

/* Included Section */
.included {
    padding: 80px 0;
}

.small-gap {
    gap: 20px;
}

.included-card {
    background: white;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.included-card:hover {
    border-color: var(--primary-gold);
}

.card-icon {
    color: var(--primary-gold);
}

.gallery {
    margin-top: 4rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery img {
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.03);
    z-index: 2;
}

/* Testimonials */
.testimonials {
    background: white;
    padding: 80px 0;
}

.testimonial-card {
    background: var(--bg-cream);
    padding: 30px;
    border-radius: var(--border-radius);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: #ccc;
}

.stars {
    color: #FFC107;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-medium);
}

/* Offers */
.offers {
    background: var(--bg-cream);
    padding: 80px 0;
}

.offers-grid {
    max-width: 900px;
    margin: 3rem auto 0;
}

.offer-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    /* Softer, deeper shadow */
    border: 1px solid #e1e1e1;
    /* Default border */
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.offer-card.premium {
    border: 2px solid var(--primary-gold);
    transform: scale(1.02);
    /* Slight scale */
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.25);
    /* Gold glow */
}

.offer-card h3 {
    font-family: 'Playfair Display', serif;
    /* Serif font from image */
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.offer-card .subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.price {
    margin: 2rem 0;
}

/* Old definition removed to fix strikethrough bug */
.new-price {
    display: block;
    font-size: 4.5rem;
    /* Bigger */
    font-weight: 800;
    color: var(--primary-gold);
    line-height: 1;
    font-family: 'Outfit', sans-serif;
    /* Keep number modern geometric */
}

.badge {
    position: absolute;
    top: -1px;
    /* Align with top border */
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, #D4AF37, #F3cf55);
    color: white;
    padding: 8px 24px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
    z-index: 10;
}

.offer-features {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
}

.offer-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.offer-features .lucide {
    width: 16px;
    height: 16px;
    color: var(--primary-gold);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: var(--primary-gold);
    color: white;
}

/* FAQ */
.faq {
    background: white;
    padding: 80px 0;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-content p {
    padding-bottom: 20px;
    color: var(--text-medium);
}

.faq-btn.active .lucide {
    transform: rotate(180deg);
}

/* Guarantee */
.guarantee {
    background: var(--bg-white);
    padding: 60px 0;
    text-align: center;
}

.guarantee-box {
    border: 2px solid #28a745;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    background: #f9fffb;
}

.shield-icon {
    width: 60px;
    height: 60px;
    color: #28a745;
}

/* Final CTA */
.final-cta {
    background: radial-gradient(circle at center, #FDFBF7 0%, #EFE5D5 100%);
    color: var(--text-dark);
    padding: 80px 0;
    text-align: center;
}

.final-cta h2 {
    color: #4A3B2A;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.final-price-container {
    margin-bottom: 2rem;
}

.final-old-price {
    position: relative;
    display: inline-block;
    color: #999;
    font-size: 1.2rem;
    text-decoration: none;
    /* Removed default line-through to use custom one */
}

.final-old-price::after {
    content: '';
    width: 100%;
    height: 2px;
    background: #FF0000;
    /* Red line */
    position: absolute;
    left: 0;
    top: 50%;
    transform: rotate(-6deg);
    /* Angled red line */
}

.final-new-price {
    font-size: 4rem;
    font-weight: 800;
    color: #C6922B;
    /* Darker Bronze Gold */
    display: block;
    line-height: 1;
}

.final-cta .cta-button {
    background: #C6922B;
    box-shadow: 0 15px 30px rgba(198, 146, 43, 0.4);
    font-size: 1.4rem;
    padding: 22px 60px;
}

.final-cta .cta-button:hover {
    background: #b08123;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(198, 146, 43, 0.5);
}

.final-subtext {
    margin-top: 2rem;
    color: #6D5E52;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: #111;
    color: #666;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
/* Conflicting media query removed. Mobile styles are handled at the bottom of the file. */

/* Utilities for Solution Section Redesign */
.serif-title {
    font-family: 'Playfair Display', serif;
    color: #4A3B2A;
    /* Dark brown from image */
}

.centered-title {
    text-align: center;
    font-size: 2.8rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.2;
}

.icon-green {
    color: #28a745;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.feature-item h4.serif-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.mt-5 {
    margin-top: 3rem;
}

/* Premium Gold Finishes */

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b89628;
}

/* Selection */
::selection {
    background: var(--primary-gold-light);
    color: #000;
}

/* Gold Accents for Titles */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Card Gold Borders & Glows */
.pain-card,
.benefit-card,
.testimonial-card,
.included-card {
    border-top: 3px solid transparent;
    transition: all 0.3s ease;
}

.pain-card:hover,
.benefit-card:hover,
.testimonial-card:hover,
.included-card:hover {
    border-top-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
    transform: translateY(-5px);
}

/* Enhanced Gold Gradients */
.icon-circle {
    background: linear-gradient(135deg, #F3cf55 0%, #D4AF37 50%, #b8860b 100%);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* Mobile Gallery Optimization - Vertical Stack */
@media (max-width: 768px) {
    .gallery.grid-4 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0;
        overflow-x: visible;
    }

    .gallery.grid-4 img {
        width: 100% !important;
        min-width: 0;
        height: auto !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }
}

/* Responsive - Main Mobile Optimization */
@media (max-width: 900px) {

    .container {
        width: 90%;
        /* Safer margin */
        padding: 0 15px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 25px;
        /* Slightly tighter gap */
    }

    /* Hero adjustments */
    .hero {
        padding: 50px 0 30px;
    }

    .hero h1 {
        font-size: 2.6rem;
        line-height: 1.15;
        margin-bottom: 20px;
        padding: 0 5px;
    }

    .hero .subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .hero-img {
        width: 85%;
        /* Prevent edge touching */
        max-width: 350px;
        /* Optimal mobile size */
        margin: 0 auto;
    }

    /* Typography */
    .section-title,
    .centered-title {
        font-size: 2.2rem !important;
        margin-bottom: 1.5rem;
    }

    /* Spacing */
    .pain-points,
    .solution,
    .benefits-grid,
    .included,
    .testimonials,
    .offers,
    .faq,
    .final-cta {
        padding: 60px 0;
    }

    /* Solution Image First on Mobile */
    .solution .grid-2 {
        display: flex;
        flex-direction: column;
    }

    .solution-image {
        order: -1;
        margin-bottom: 25px;
    }

    /* Cards */
    .pain-card,
    .offer-card,
    .guarantee-box,
    .included-card,
    .benefit-card,
    .testimonial-card {
        padding: 30px 20px;
    }

    /* Buttons */
    .cta-button {
        width: 100%;
        text-align: center;
        padding: 22px;
        font-size: 1.3rem;
    }

    /* Ensure desktop grid is not affected */
    .offers-grid {
        grid-template-columns: 1fr !important;
        /* Offers are always 1 column as per design */
    }

    /* Price Vertical Stack on Mobile */
    .price-container {
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }

    .old-price {
        font-size: 1.1rem;
        margin-bottom: -5px;
        /* Pull closer to big number */
    }

    .final-new-price {
        font-size: 3.5rem;
    }

    /* Benefits Row Mobile Stack */
    .benefits-row {
        flex-direction: column;
        gap: 15px;
    }
}

/* Notification Toast */
.notification-toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: white;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    max-width: 320px;
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-family: 'Outfit', sans-serif;
}

.notification-toast.visible {
    transform: translateY(0);
    opacity: 1;
}

.notification-icon {
    width: 35px;
    height: 35px;
    background: #d4edda;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon .lucide {
    width: 18px;
    height: 18px;
    color: #155724;
    stroke-width: 2.5px;
}

.notification-content {
    flex-grow: 1;
    font-size: 0.8rem;
    line-height: 1.3;
    color: #4A4A4A;
}

.notification-content strong {
    color: #1A1A1A;
    font-weight: 700;
    display: block;
}

.notification-close {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    padding: 2px;
    display: flex;
    transition: color 0.3s;
}

.notification-close:hover {
    color: #555;
    background: #f0f0f0;
    border-radius: 50%;
}

.notification-close .lucide {
    width: 14px;
    height: 14px;
}

/* Mobile Adjustment for Toast */
@media (max-width: 600px) {
    .notification-toast {
        left: 50%;
        bottom: 20px;
        transform: translate(-50%, 150%);
        /* Start hidden below */
        width: 90%;
        max-width: 360px;
    }

    .notification-toast.visible {
        transform: translate(-50%, 0);
        /* Center on screen */
    }
}