@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Bordadinhos Palette */
    --primary-color: #10B981;
    /* Mint Green / Emerald */
    --primary-hover: #059669;
    --secondary-color: #1F2937;
    /* Dark Navy / Gray 900 */
    --accent-red: #EF4444;
    /* Red for alerts/urgency */
    --bg-light: #F9FAFB;
    /* Gray 50 */
    --bg-white: #FFFFFF;
    --text-main: #374151;
    /* Gray 700 */
    --text-light: #6B7280;
    /* Gray 500 */

    /* UI Tokens */
    --radius-md: 0.75rem;
    /* 12px */
    --radius-lg: 1rem;
    /* 16px */
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-green: 0 10px 15px -3px rgba(16, 185, 129, 0.4), 0 4px 6px -2px rgba(16, 185, 129, 0.2);

    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.text-highlight {
    color: var(--primary-color);
}

.text-accent {
    color: var(--accent-red);
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    box-shadow: var(--shadow-green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    border: none;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.5), 0 10px 10px -5px rgba(16, 185, 129, 0.3);
}

.card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid #E5E7EB;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

/* Animations */
.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- SECTIONS --- */

/* Hero */
.hero {
    padding: 4rem 0 5rem;
    background: radial-gradient(circle at top, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    /* Centered narrow width layout like Bordadinhos */
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 3rem;
    /* Very large */
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    margin-top: 3rem;
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 4px solid white;
}

/* Benefits Grid Modernized */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.benefit-card {
    padding: 3.5rem 2rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.03);
    /* Almost invisible border */
    border-radius: 2rem;
    /* Modern rounded feel */
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.06);
    /* Soft, diffuse shadow */
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    /* Top accent line that fades in */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10B981, #34D399);
    /* Emerald Gradient */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.15);
    /* Colored shadow on hover */
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: #ECFDF5;
    /* Very light emerald */
    border-radius: 50%;
    transition: all 0.4s ease;
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.05);
    /* Subtle outer ring */
}

.benefit-card:hover .benefit-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px -5px rgba(16, 185, 129, 0.4);
    /* Glow effect */
}

.benefit-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

.benefit-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Delivery Section */
.delivery {
    background-color: var(--secondary-color);
    color: white;
}

.delivery h2 {
    color: white;
}

.delivery-icons {
    display: flex;
    justify-content: center;
    gap: 5rem;
    margin-top: 3rem;
}

.delivery-item {
    color: var(--primary-color);
    font-weight: 600;
}

.delivery-item span {
    color: white;
    display: block;
    margin-top: 0.5rem;
}

/* Recipe Highlight */
.recipe-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.recipe-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
    border: 1px solid #E5E7EB;
}

/* Modern Recipe Details */
.recipe-details {
    padding: 2rem;
    display: flex;
    /* Flex is better for centering than grid here */
    justify-content: center;
    gap: 1rem;
    /* Space between items */
    background: white;
    position: relative;
    /* Optional: pull it up to overlap image slightly if desired, or keep as is */
}

.detail-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    border-radius: 1rem;
    background: #F9FAFB;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.detail-item:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

.detail-item strong {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.detail-item span {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Enhancing Icons inside details (assumed <i> tags near strong text) */
.detail-item i {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: #ECFDF5;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.detail-item:hover i {
    background: var(--primary-color);
    color: white;
    transform: rotate(15deg);
}

/* Gallery Scroll (Automatic Marquee) */
.gallery-track {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    width: max-content;
    /* Ensure track is wide enough */
    animation: scroll 30s linear infinite;
}

/* Pause on hover for better UX */
.gallery-track:hover {
    animation-play-state: paused;
}

/* Hide Scrollbar */
.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-track {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.gallery-item {
    min-width: 220px;
    /* Smaller width */
    height: 280px;
    /* Smaller height */
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    background-color: white;
    flex-shrink: 0;
    /* Prevent squishing */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(4px);
    font-size: 0.9rem;
    /* Smaller font */
    font-weight: 600;
    padding: 0.75rem;
    color: white;
    text-align: center;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Scroll half the duplicate length */
}

/* Author Section */
.author-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid #E5E7EB;
    box-shadow: var(--shadow-sm);
}

.author-frame {
    padding: 10px;
    background-color: white;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    transform: rotate(-2deg);
    /* Artistic tilt */
    transition: transform 0.3s ease;
}

.author-frame:hover {
    transform: rotate(0deg);
}

.author-frame img {
    border-radius: var(--radius-md);
    width: 100%;
    display: block;
}

.author-info h5 {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.author-info p {
    color: #1F2937;
    /* Darker text (nearly black) for high contrast */
    font-size: 1.1rem;
    /* Slightly larger text */
    line-height: 1.8;
    /* More breathing room between lines */
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* CTA Pricing - Refactored to Premium Card Style */
.cta-section {
    background: #FFFFFF;
    /* Remove image, set to clean white */
    padding: 5rem 0;
}

.pricing-card {
    background-color: #111827;
    /* Dark Premium Background */
    color: white;
    max-width: 500px;
    /* Card width */
    margin: 0 auto;
    padding: 3rem 2rem;
    border-radius: 24px;
    /* Large rounded corners */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    /* Deep shadow */
    text-align: center;
    position: relative;
    border: 1px solid #374151;
}

.pricing-card h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.cta-price {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--primary-color);
    /* Mint Green */
    margin: 1.5rem 0;
    line-height: 1;
}

/* Bonuses */
.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.bonus-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid #E5E7EB;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.bonus-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid #F3F4F6;
    max-width: 400px;
    margin: 1rem;
    text-align: left;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-mobile-gray);
}

/* FAQ */
details {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

details summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    /* Hide default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

details summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
}

details[open] summary::after {
    content: '-';
}

details p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    border-top: 1px solid #F3F4F6;
    padding-top: 1rem;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: #9CA3AF;
    text-align: center;
    padding: 4rem 0;
}

/* Mobile Responsive */
@media (max-width: 900px) {

    .benefits-grid,
    .author-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }

    .gallery-track {
        animation: scroll 20s linear infinite;
    }

    .recipe-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .delivery-icons {
        flex-direction: column;
        gap: 2rem;
    }

    .cta-price {
        font-size: 3.5rem;
    }
}