:root {
    --primary-color: #4CAF50;
    --primary-dark: #2E7D32;
    --secondary-color: #81C784;
    --accent-color: #FF5722;
    --text-dark: #1A1A1A;
    --text-light: #555555;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: #f0f7f0;
    color: var(--text-dark);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Background Effects */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/fresh_background.png') center/cover no-repeat;
    opacity: 0.3;
    z-index: -2;
}

.water-drop {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.8), 2px 2px 5px rgba(0, 0, 0, 0.1);
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

.drop-1 {
    width: 40px;
    height: 40px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.drop-2 {
    width: 25px;
    height: 25px;
    top: 30%;
    right: 20%;
    animation-delay: 2s;
}

.drop-3 {
    width: 60px;
    height: 60px;
    bottom: 15%;
    left: 5%;
    animation-delay: 1s;
}

.floating-veg {
    position: fixed;
    font-size: 2rem;
    z-index: -1;
    opacity: 0.7;
    animation: floatVeg 10s ease-in-out infinite;
}

.leaf-1 {
    top: 15%;
    right: 10%;
    animation-delay: 0.5s;
}

.leaf-2 {
    bottom: 20%;
    right: 5%;
    animation-delay: 3s;
    font-size: 2.5rem;
}

.tomato {
    top: 40%;
    left: 5%;
    animation-delay: 1s;
}

.cucumber {
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
}

/* Layout */
.app-container {
    max-width: 600px;
    /* Mobile first focus */
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.main-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 20px;
    gap: 8px;
}

.logo {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.secure-badge {
    font-size: 0.8rem;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.5);
    padding: 4px 8px;
    border-radius: 12px;
}

/* BENEFITS & COMPARISON */
.benefit-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.benefit-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.benefit-content h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.benefit-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Comparison Table */
.comparison-wrapper {
    overflow: hidden;
    padding: 0 !important;
    /* Override glass padding for clean edges */
}

.comp-header {
    display: flex;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.comp-col-left,
.comp-col-right {
    flex: 1;
    padding: 15px;
    text-align: center;
}

.comp-col-left {
    background: #ffebee;
    color: #c62828;
}

.comp-col-right {
    background: #e8f5e9;
    color: #2e7d32;
}

.comp-row {
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comp-row:last-child {
    border-bottom: none;
}

.comp-item {
    flex: 1;
    padding: 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.comp-item.bad {
    color: #b71c1c;
    background: rgba(255, 235, 238, 0.3);
}

.comp-item.good {
    color: #1b5e20;
    font-weight: 600;
    background: rgba(232, 245, 233, 0.3);
}


/* Glass Panel Style */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

/* View Management */
.view {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.view.active {
    display: block;
}

/* QUIZ STYLES */
.quiz-progress {
    margin-bottom: 20px;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.4s ease-out;
}

.progress-text {
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
}

.question-text {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--primary-dark);
    line-height: 1.3;
}

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option {
    padding: 16px;
    border: 2px solid transparent;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.quiz-option:hover {
    transform: translateY(-2px);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.quiz-option.selected {
    border-color: var(--primary-color);
    background: #effff1;
    color: var(--primary-dark);
}

/* ANALYZING STYLES */
.analyzing-card {
    text-align: center;
    padding: 40px 20px;
}

.spinner-container {
    margin-bottom: 20px;
}

.salad-spinner {
    font-size: 4rem;
    animation: spin 3s linear infinite;
    display: inline-block;
}

.typing-text {
    color: var(--text-light);
    margin: 10px 0 20px;
    height: 20px;
}

.check-list {
    text-align: left;
    max-width: 250px;
    margin: 0 auto;
}

.check-item {
    margin: 10px 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.5s ease;
}

.check-item.show {
    opacity: 1;
    transform: translateX(0);
}

.check {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 8px;
}

/* SALES PAGE STYLES */
.headline-box {
    text-align: center;
    margin-bottom: 20px;
}

.tag {
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 10px;
}

h1 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 12px;
    background: -webkit-linear-gradient(#1e5631, #2E7D32);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subheadline {
    font-size: 1.1rem;
    color: var(--text-light);
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.video-container {
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 4px solid white;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    position: relative;
}

.video-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.play-button {
    font-size: 3rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.2);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    border: 2px solid white;
    margin-bottom: 10px;
}

.video-placeholder p {
    position: relative;
    z-index: 2;
    font-weight: 600;
}

.objections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.objection-card {
    background: rgba(255, 255, 255, 0.6);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

.objection-card .icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.objection-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.objection-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Nutri & Bonus */
/* Nutri Expert Section */
.nutri-section {
    position: relative;
    padding-top: 40px !important;
    /* Space for badge */
    margin: 40px 0;
    overflow: visible;
    text-align: center;
}

.nutri-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-dark);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.nutri-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.nutri-headshot-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nutri-img-large {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 12px;
}

.nutri-titles h4 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin: 0;
    line-height: 1.2;
}

.nutri-titles .role {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-top: 4px;
}

.nutri-titles .crn {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 2px;
}

.nutri-bio {
    background: rgba(255, 255, 255, 0.6);
    padding: 15px;
    border-radius: 12px;
    position: relative;
}

.nutri-bio blockquote p {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

/* Desktop override */
@media (min-width: 768px) {
    .nutri-section {
        text-align: left;
        padding: 40px !important;
    }

    .nutri-badge {
        left: 40px;
        transform: none;
    }

    .nutri-layout {
        flex-direction: row;
        align-items: flex-start;
    }

    .nutri-headshot-box {
        flex: 0 0 200px;
        /* Fixed width for profile column */
        align-items: center;
        text-align: center;
    }

    .nutri-bio {
        flex: 1;
        margin-top: 20px;
    }
}

.bonus-section {
    margin: 40px 0;
    text-align: center;
}

/* Reviews - Horizontal Scroll */
.reviews-wrapper {
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.reviews-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.reviews-track {
    display: flex;
    gap: 16px;
    padding: 0 10px;
    /* Side padding so cards aren't cut off */
    width: max-content;
}

.review-card {
    min-width: 280px;
    max-width: 320px;
    background: var(--glass-bg);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.review-header h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.review-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-dark);
    font-style: italic;
}

.section-title {
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: var(--primary-dark);
}

.bonus-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bonus-card {
    background: white;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.bonus-card:hover {
    transform: translateY(-3px);
}

.bonus-card img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.bonus-card h4 {
    flex: 1;
    text-align: left;
    font-size: 1rem;
}

.price-tag {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.price-tag s {
    color: #999;
    font-weight: 400;
}

/* Offer Section */
.offer-section {
    text-align: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(240, 255, 240, 0.9));
    border: 2px solid var(--primary-color);
}

.scarcity-banner {
    background: #FFF3E0;
    color: #E65100;
    font-weight: 700;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    display: inline-block;
}

.price-box {
    margin-bottom: 20px;
}

.old-price {
    font-size: 0.9rem;
    color: var(--text-light);
}

.current-price {
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 5px 0;
}

.currency {
    font-size: 1.2rem;
    font-weight: 600;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.period {
    font-size: 1rem;
    align-self: flex-end;
    margin-bottom: 8px;
}

.installments {
    font-weight: 600;
    color: var(--primary-color);
}

.cta-button {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(45deg, #FF5722, #F44336);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.cta-button:active {
    transform: scale(0.98);
}

.btn-sub {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 4px;
}

.guarantee-seal {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes floatVeg {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(10px, -20px) rotate(10deg);
    }

    66% {
        transform: translate(-10px, 10px) rotate(-5deg);
    }
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.pulse-border {
    animation: pulseBorder 2s infinite;
}

@keyframes pulseBorder {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.pulse-btn {
    animation: beat 1.5s infinite;
}

@keyframes beat {
    0% {
        transform: scale(1);
    }

    10% {
        transform: scale(1.02);
    }

    20% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

/* Reviews Section */
.reviews-section {
    margin: 40px 0;
}

.reviews-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.review-header h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin: 0;
}

.stars {
    color: #FFC107;
    font-size: 0.9rem;
    display: block;
}

.review-card p {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.4;
}

/* Product Showcase */
.products-showcase {
    margin: 40px 0;
    text-align: center;
}

.showcase-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 5px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.showcase-item {
    min-width: 140px;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.showcase-item img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.showcase-item:hover img {
    transform: scale(1.05);
}

.showcase-item span {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    margin: 40px 0;
    padding: 20px !important;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 16px 0;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question .icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s;
    font-weight: 300;
}

.faq-question.active .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), opacity 0.4s ease;
    opacity: 0;
}

.faq-answer.open {
    opacity: 1;
}

.faq-answer p {
    padding-bottom: 16px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Problem Solution Section */
.problem-solution-section {
    margin: 40px 0;
}

.comparison-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.problem-column,
.solution-column {
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
}

.problem-column {
    border-left: 4px solid #ef5350;
}

.solution-column {
    border-left: 4px solid var(--primary-color);
    background: rgba(232, 245, 233, 0.5);
}

.problem-column h3 {
    color: #c62828;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.solution-column h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.comparison-grid ul {
    list-style: none;
}

.comparison-grid li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    position: relative;
    padding-left: 10px;
}

/* Responsive */
@media (min-width: 768px) {
    .app-container {
        max-width: 800px;
    }

    .bonus-grid {
        flex-direction: row;
        justify-content: center;
    }

    .bonus-card {
        flex: 1;
        flex-direction: column;
        text-align: center;
    }

    .bonus-card h4 {
        text-align: center;
    }

    .price-tag {
        align-items: center;
    }

    .showcase-grid {
        justify-content: center;
        overflow-x: visible;
        flex-wrap: wrap;
    }

    .showcase-item {
        min-width: 160px;
        flex: 1;
        max-width: 300px;
        /* Increased to allow larger images */
    }

    .showcase-grid {
        gap: 20px;
    }
}

.jar-showcase-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: block;
    aspect-ratio: 3/4;
    /* Consistent aspect ratio */
    object-fit: cover;
}


/* Layout Optimizations */
.app-container {
    max-width: 800px;
    padding: 20px;
    /* Cleaner spacing */
}

/* Typography Improvements */
h1 {
    line-height: 1.3;
    margin-bottom: 24px;
}

p {
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Mobile Optimization: Images */
img {
    max-width: 100%;
    height: auto;
}

/* Simple Forms (Quiz Options) */
.quiz-option {
    padding: 20px;
    margin-bottom: 15px;
    /* Spacing for touch targets */
    border-radius: 8px;
    /* Softer edges */
    font-size: 1rem;
}

/* CTA Visibility */
.cta-button {
    font-size: 1.2rem;
    padding: 20px;
    margin-top: 20px;
    /* High contrast is already set by gradient */
}

/* Scarcity Elements */
.scarcity-banner {
    font-weight: 700;
    font-size: 1rem;
    padding: 10px;
    /* Urgency Styling */
    background: #FFECB3;
    color: #E65100;
    border: 1px solid #FFCC80;
}

/* Visuals */
.video-container {
    margin: 40px 0;
    /* Breathing room */
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    h1 {
        font-size: 1.6rem;
    }

    .glass-panel {
        padding: 20px;
    }
}

/* Helper Classes */
.hidden {
    display: none !important;
}

/* Transition Handler */
.view {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.view.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.delayed-buy-btn {
    opacity: 0;
    transition: opacity 1s ease;
}

.thumbnail-overlay {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}