:root {
    --primary: #7FA99B;
    /* Sage Green */
    --primary-dark: #5F8578;
    --accent: #D68C45;
    /* Warm Terracotta */
    --accent-hover: #BF7B3A;
    --bg-light: #F9FBF8;
    --bg-cream: #FFF8E7;
    /* Soft Cream */
    --text-dark: #2C3E38;
    --text-body: #4A5550;
    --white: #FFFFFF;
    --shadow-soft: 0 10px 30px rgba(127, 169, 155, 0.15);
    --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --radius-lg: 20px;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-body);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    line-height: 1.2;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* --- Components --- */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #E09F5E);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(214, 140, 69, 0.4);
}

.btn-large {
    font-size: 1.2rem;
    padding: 20px 40px;
    background: var(--accent);
    color: white;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding-top: 60px;
    padding-bottom: 100px;
    background: radial-gradient(circle at top right, var(--bg-cream), var(--bg-light));
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.tag-headline {
    display: inline-block;
    background: rgba(127, 169, 155, 0.1);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary);
    font-style: italic;
}

.highlight-alt {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.highlight-alt::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(214, 140, 69, 0.2);
    z-index: -1;
}

.subheadline {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--text-body);
}

.cta-wrapper {
    margin-bottom: 40px;
}

.price-tag {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    color: var(--text-dark);
}

.trust-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-dark);
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.image-wrapper img {
    border-radius: var(--radius-lg);
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.02);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    bottom: 40px;
    left: -30px;
    animation: float 4s ease-in-out infinite;
}

.floating-card .icon {
    font-size: 1.5rem;
    background: #FFF0E0;
    padding: 10px;
    border-radius: 50%;
}

.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* --- Sections Common --- */
section {
    padding: 80px 0;
}

/* --- Nightmare --- */
.nightmare {
    background: white;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.nightmare .image-side img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    filter: grayscale(20%);
    /* Artistic touch for 'problem' */
}

.pain-list li {
    margin-bottom: 25px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.icon-box {
    font-size: 1.5rem;
    line-height: 1;
    padding-top: 5px;
    /* Visual alignment with title */
}

.text-content {
    flex: 1;
}

.text-content strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-size: 1.15rem;
}

.text-content p {
    margin: 0;
    line-height: 1.5;
    color: var(--text-body);
}

.emotional-closing {
    background: #FFF5F5;
    padding: 20px;
    border-left: 4px solid #FF8080;
    border-radius: 0 8px 8px 0;
    margin-top: 30px;
    font-style: italic;
}

/* --- Dream --- */
.dream {
    background: var(--bg-cream);
}

.dream-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.dream-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(127, 169, 155, 0.1);
}

.dream-card:hover {
    transform: translateY(-10px);
}

.icon.big {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* --- Product Presentation --- */
.product-presentation {
    background: var(--white);
    overflow: hidden;
}

.tag-highlight {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.brand-text {
    color: var(--primary);
    font-style: italic;
}

.how-it-works {
    margin-top: 30px;
}

.step {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    background: var(--bg-light);
    padding: 15px;
    border-radius: 10px;
}

.step-num {
    background: var(--primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* --- Learning Preview (Recipes) --- */
.learning-preview {
    background-color: var(--bg-light);
    /* Matching Previous Section */
    padding: 60px 0 80px;
    color: var(--text-body);
}

.learning-preview .section-title {
    color: var(--text-dark);
    /* Standard Title Color */
    margin-bottom: 50px;
    font-size: 2.5rem;
    /* Match standard section title size */
}

.learning-preview .section-title::after {
    /* Optional underline override if needed */
    background: rgba(127, 169, 155, 0.3);
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    justify-content: center;
}

.learn-card {
    background-color: #FFF8E7;
    /* Soft Cream */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.learn-card:hover {
    transform: translateY(-5px);
}

.learn-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #E09F5E;
}

.learn-info {
    padding: 20px 15px;
    text-align: center;
}

.learn-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #2C3E38;
    text-transform: uppercase;
    line-height: 1.3;
}

.learn-info small {
    display: block;
    font-size: 0.65rem;
    color: #888;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 5px;
}

.more-options h3 {
    margin-top: 50px;
    color: var(--text-dark);
    /* High contrast for readability */
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
}

/* Smartphone Adjustments for Grid */
@media (max-width: 480px) {
    .learning-grid {
        grid-template-columns: 1fr;
    }

    .learn-card {
        display: flex;
        align-items: center;
        text-align: left;
        height: auto;
    }

    .learn-card img {
        width: 100px;
        height: 100px;
        border-bottom: none;
        border-right: 3px solid #E09F5E;
    }

    .learn-info {
        padding: 10px 15px;
        flex: 1;
        text-align: left;
    }

    .learn-info h3 {
        font-size: 0.9rem;
    }
}

/* --- Social Proof --- */
.testimonials {
    background: var(--bg-cream);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.avatar-placeholder {
    width: 40px;
    height: 40px;
    background: var(--primary-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

/* --- Offer / Pricing --- */
.offers {
    background: #fff;
}

.sub-offer {
    margin-top: -15px;
    margin-bottom: 40px;
    color: #666;
    font-size: 0.9rem;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    /* Align differing heights */
}

.card {
    background: white;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 40px 30px;
    width: 100%;
    max-width: 380px;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.card.popular {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 40px rgba(127, 169, 155, 0.2);
    transform: scale(1.05);
    /* Highlight effect */
    background: #FDFDFD;
    z-index: 2;
}

.badge-pop {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(214, 140, 69, 0.4);
}

.price {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--text-dark);
    margin: 20px 0;
    font-weight: 700;
}

.currency {
    font-size: 1.2rem;
    vertical-align: super;
}

.old-price {
    display: block;
    font-size: 1rem;
    text-decoration: line-through;
    color: #999;
    margin-bottom: -10px;
}

.card .features {
    text-align: left;
    margin: 30px 0;
}

.card .features li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237FA99B' width='18px' height='18px'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat left center;
    padding-left: 25px;
}

.scarcity-text {
    font-size: 0.8rem;
    color: #d9534f;
    margin-top: 10px;
    font-weight: 600;
}

/* --- Guarantee --- */
.guarantee {
    background-color: #F9FBF8;
    padding: 80px 0;
}

.guarantee-box {
    background: white;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Slightly stronger shadow */
    display: flex;
    align-items: center;
    gap: 40px;
    border: 2px dashed #E0E0E0;
    /* Trust certificate look */
}

.g-image {
    flex-shrink: 0;
    width: 200px;
}

.g-image img {
    width: 100%;
    filter: drop-shadow(0 5px 15px rgba(214, 140, 69, 0.3));
    /* Gold glow */
    animation: float 5s ease-in-out infinite;
}

.g-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.g-content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #555;
}

@media (max-width: 768px) {
    .guarantee-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .g-image {
        width: 150px;
    }
}

/* --- FAQ --- */
.faq {
    background: var(--bg-light);
}

.faq-grid {
    max-width: 800px;
    margin: 40px auto 0;
}

details {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

summary {
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none;
    /* Hide default arrow */
    position: relative;
    padding-right: 30px;
}

summary::after {
    content: '+';
    position: absolute;
    right: 0;
    font-weight: bold;
    color: var(--primary);
}

details[open] summary::after {
    content: '-';
}

details p {
    margin-top: 15px;
    color: #666;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

/* --- Footer --- */
footer {
    background: #2C3E38;
    /* Dark Green */
    color: #A3B5AE;
    padding: 60px 0;
    font-size: 0.9rem;
}

.brand-footer {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 15px;
    color: #A3B5AE;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.disclaimer {
    margin-top: 40px;
    font-size: 0.75rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.6;
}

/* --- Utilities & Animations --- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(214, 140, 69, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(214, 140, 69, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(214, 140, 69, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Smartphone Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-container,
    .split-layout,
    .split-layout.reverse {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .split-layout.reverse .image-side {
        order: -1;
    }

    /* Image first on mobile */
    .hero-image {
        order: -1;
    }

    /* Image first on mobile hero */

    .floating-card {
        bottom: 10px;
        left: 10px;
        padding: 10px;
    }

    .card.popular {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .pricing-cards {
        flex-direction: column;
    }

    .pain-list li {
        text-align: left;
    }

    .btn {
        width: 100%;
    }

    /* Full width buttons on mobile */

    .trust-badges {
        flex-direction: column;
        align-items: flex-start;
        display: inline-flex;
        text-align: left;
        gap: 12px;
        margin-top: 15px;
    }
}

/* --- Upsell Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border: 4px solid #fff;
}

.modal-overlay.open .modal-content {
    transform: translateY(0);
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
}

.close-modal-btn:hover {
    color: var(--text-dark);
}

.modal-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 5px 15px rgba(127, 169, 155, 0.3);
}

.modal-icon {
    font-size: 1.8rem;
    color: white;
}

.modal-header h2 {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 5px;
}

.highlight-text {
    color: var(--primary-dark);
    font-weight: 700;
}

.modal-header p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.modal-offer-box {
    background: var(--bg-cream);
    padding: 20px;
    border-radius: 12px;
    border: 1px dashed var(--primary);
    margin-bottom: 25px;
}

.price-header-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.original-price-modal {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.discount-badge {
    background: #FFD700;
    color: #333;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
}

.final-price-modal {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 15px;
}

.modal-benefits {
    text-align: left;
    margin-top: 15px;
    display: inline-block;
    max-width: 100%;
}

.modal-benefits li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-body);
}

.upgrade-note {
    background: #E8F5E9;
    color: #2E7D32;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    border: 1px solid #C8E6C9;
}

.btn-full {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    font-size: 1rem;
    padding: 15px;
}

.btn-text-only {
    display: block;
    text-align: center;
    background: none;
    border: 1px solid #eee;
    padding: 12px;
    width: 100%;
    border-radius: 50px;
    color: #888;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-text-only:hover {
    background: #f5f5f5;
    color: var(--text-dark);
    border-color: #ddd;
}