@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Montserrat:wght@400;600;700&display=swap');

:root {
    --primary: #5C9A4F;
    --text: #333333;
    --light-text: #6b7c93;
    --border: #E0E0E0;
    --background: #f5f5f5;
    --secondary-bg: #e8e8e8;
    --tertiary-bg: #f0ebe5;  /* Slightly warm gray */
    --quaternary-bg: #faf9f7; /* Very light warm gray */
    --accent: #4A4A4A;
    --improvement: #28a745;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h2 {
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text);
}

.subheading {
    font-size: 20px;
    line-height: 1.6;
    text-align: center;
    color: var(--light-text);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(92, 154, 79, 0.1);
}

.cta-button:hover {
    background-color: #4a8a3f;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(92, 154, 79, 0.2);
}

.tab-header {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background-color: transparent;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background-color: var(--primary);
    color: white;
    border-bottom-color: var(--primary);
}

.tab-content {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: none;
}

.tab-content.active {
    display: block;
}


.dashboard-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.email-capture {
    margin-top: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.email-capture-input {
    display: flex;
    align-items: stretch;
}

.email-capture input {
    flex-grow: 1;
    padding: 15px 20px;
    border: 1px solid #ccc;
    border-radius: 30px 0 0 30px;
    font-size: 16px;
    outline: none;
}

.email-capture button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 0 30px 30px 0;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
}

.email-error {
    display: block !important;
    color: #ff4444!important;
    font-size: 14px!important;
}

.security-info {
    font-size: 10px !important;
    color: var(--light-text);
}

.login-link {
    display: block;
    font-size: 14px;
    color: var(--light-text);
    text-decoration: none;
}

@media (max-width: 768px) {
    .email-capture-input {
        flex-direction: column;
    }

    .email-capture input,
    .email-capture button {
        width: 100%;
        border-radius: 30px;
        margin-bottom: 10px;
    }

    .email-capture input {
        text-align: center;
    }
}


.results-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.results-table {
    flex: 1;
    min-width: 300px;
}

.results-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.results-table th, .results-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.results-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    font-size: 14px;
}

.results-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.results-table tr:last-child td {
    border-bottom: none;
}

.positive-change {
    color: var(--improvement);
    font-weight: 600;
}

.chart-container {
    flex: 1;
    min-width: 300px;
    height: 300px;
}

.impact-improvements {
    margin-bottom: 30px;
}

.impact-improvements h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 15px;
}

.impact-improvements ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    list-style-type: none;
    padding-left: 0;
}

.impact-improvements li {
    padding-left: 25px;
    position: relative;
    font-size: 16px;
    line-height: 1.5;
}

.impact-improvements li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--improvement);
    font-weight: bold;
}

.testimonial-box {
    background-color: var(--background);
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
    font-style: italic;
}

.testimonial-content {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 600;
    text-align: right;
    font-style: normal;
}

.hero {
    background: linear-gradient(135deg, var(--quaternary-bg) 0%, var(--tertiary-bg) 100%);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    color: var(--text);
}

.hero p {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--light-text);
}
.disease-cloud-container {
    margin-top: 4rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.disease-cloud-title {
    font-size: 2rem;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.disease-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.disease-item {
    padding: 0.5rem 1rem;
    background-color: #f0f4f8;
    border-radius: 20px;
    font-size: 1rem;
    color: #2c3e50;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.disease-item:hover {
    color: #ffffff;
    transform: scale(1.05);
    background-color: var(--primary);
}

.email-capture {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.email-capture input {
    padding: 20px;
    border: 2px solid var(--border);
    border-radius: 30px 0 0 30px;
    font-size: 18px;
    width: 350px;
}

.email-capture button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 22px 40px;
    border-radius: 0 30px 30px 0;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.transform-health {
    background-color: var(--background);
}

.transform-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.transform-item {
    flex: 1;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


.transform-item, .feature, .comparison-table, .rating-card, .users-card, .studies-card, .stat, .accordion-item {
    background-color: #ffffff;
}
.cta-button, .tab-btn, .accordion-header {
    font-family: 'Montserrat', sans-serif;
}

.testimonial-box, .accordion-content {
    background-color: var(--quaternary-bg);
}

.transform-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.transform-item i {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 20px;
}

.how-it-works {
    background-color: var(--quaternary-bg);
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 15px;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-size: 24px;
    margin-bottom: 15px;
}

.features {
    background-color: var(--tertiary-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature i {
    font-size: 36px;
    color: var(--accent);
    margin-bottom: 15px;
}

.comparison {
    background-color: var(--secondary-bg);
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background-color: var(--background);
    color: var(--text);
    font-weight: bold;
}

.testimonials {
    background-color: var(--background);
}

.testimonial {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.social-proof {
    background-color: var(--quaternary-bg);
}

.ratings-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.rating-card, .users-card, .studies-card {
    background-color: var(--background);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    flex-basis: 30%;
}

.stars {
    color: #ffc107;
    font-size: 24px;
    margin-bottom: 10px;
}

.rating-score, .user-count, .study-count {
    font-size: 48px;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 10px;
}

.rating-count, .users-card p, .studies-card p {
    font-size: 18px;
    color: var(--light-text);
}
.scientific-approach {
    background-color: var(--tertiary-bg);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.science-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-top: 30px;
}

.stat {
    flex-basis: 30%;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--accent);
    margin: 10px 0;
}

.endorsements {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.endorsements p {
    font-style: italic;
    color: var(--text);
    margin-bottom: 20px;
}

.endorsement-author {
    font-weight: bold;
    color: var(--accent);
}

.impact-stories {
    background-color: var(--background);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.story-carousel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
}

.story {
    flex: 0 0 auto;
    width: 300px;
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.story-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.story-content {
    font-style: italic;
    color: var(--text);
    margin-bottom: 10px;
}

.story-author {
    font-weight: bold;
    color: var(--accent);
}

.faq {
    background-color: var(--background);
}

.accordion-item {
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
}

.accordion-header {
    background-color: white;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-content {
    padding: 20px;
    display: none;
    background-color: var(--background);
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 60px;
    background-color: white;
    padding: 40px 0;
}

.trust-badge img {
    height: 60px;
}

.guarantee {
    margin-top: 10px;
    font-size: 14px;
    color: var(--light-text);
}

.benefits {
    display: flex;
    justify-content: space-around;
    margin-top: 60px;
}

.benefit {
    text-align: center;
    max-width: 250px;
}

.benefit i {
    font-size: 36px;
    color: var(--accent);
    margin-bottom: 10px;
}

.benefit p {
    font-size: 16px;
    color: var(--text);
}

.cta-container {
    text-align: center;
    margin-top: 40px;
}

.disclaimer {
    font-size: 14px;
    color: var(--light-text);
    text-align: center;
    margin-top: 10px;
}

.pulse {
    animation: pulse 2s infinite;
}

.condition-scroll {
    overflow: hidden;
    height: 50px;
    position: relative;
}

.condition-scroll::before, .condition-scroll::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 25px;
    z-index: 1;
}

.condition-scroll::before {
    top: 0;
    background: linear-gradient(to bottom, white, transparent);
}

.condition-scroll::after {
    bottom: 0;
    background: linear-gradient(to top, white, transparent);
}

.condition-list {
    animation: scrollUp 60s linear infinite;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.real-results {
    background-color: var(--tertiary-bg);
    padding: 80px 0;
}

.result-flex {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.result-data {
    flex: 1;
}

.result-card {
    background-color: var(--background);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.result-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text);
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
}

.result-label {
    font-weight: 600;
    color: var(--light-text);
}

.result-value {
    font-weight: 600;
    color: var(--accent);
}

.result-change {
    color: var(--improvement);
    font-weight: 600;
    margin-left: 10px;
}
.key-improvements {
    margin-top: 30px;
}

.key-improvements h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

.key-improvements ul {
    list-style-type: none;
    padding-left: 0;
}

.key-improvements li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.key-improvements li:before {
    content: "✓";
    color: var(--improvement);
    font-weight: bold;
    display: inline-block;
    width: 1.5em;
    margin-right: 0.5em;
}

.summary-stats {
    background-color: var(--secondary-bg);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    text-align: center;
}

.summary-stats h5 {
    font-size: 18px;
    margin-bottom: 15px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--light-text);
}

.dashboard-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.dashboard-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: #666;
    margin-bottom: 24px;
}

.tab-header {
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 24px;
}

.tab-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    padding-bottom: 12px;
    display: inline-block;
    border-bottom: 2px solid #333;
    margin-bottom: -2px;
}

.tab-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin-top: 8px;
    margin-bottom: 24px;
}

.final-cta {
    width: 100%;
    padding: 80px 0;
    background-color: var(--secondary-bg);
}

.final-cta .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

@keyframes shake {
    0%, 100% {transform: translateX(0);}
    10%, 30%, 50%, 70%, 90% {transform: translateX(-10px);}
    20%, 40%, 60%, 80% {transform: translateX(10px);}
}

.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(92, 154, 79, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(92, 154, 79, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(92, 154, 79, 0);
    }
}

@media (max-width: 768px) {
    .transform-grid, .steps, .ratings-container, .science-stats, .impact-stats {
        flex-direction: column;
    }
    .transform-item, .step, .rating-card, .users-card, .studies-card, .stat {
        margin-bottom: 30px;
    }
    .email-capture {
        flex-direction: column;
    }
    .email-capture input, .email-capture button {
        width: 100%;
        border-radius: 30px;
        margin-bottom: 10px;
    }
    .result-flex {
        flex-direction: column;
    }
    .chart-container {
        height: 250px;
    }
    .result-grid, .stat-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 40px;
    }
    .hero p {
        font-size: 18px;
    }
    .cta-button {
        font-size: 18px;
        padding: 10px 20px;
    }
    .tab-header {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .tab-btn {
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 16px;
    }
    .cta-button {
        font-size: 16px;
        padding: 8px 16px;
    }
    .result-card h4 {
        font-size: 18px;
    }
    .result-item {
        font-size: 14px;
    }
    .stat-value {
        font-size: 20px;
    }
    .stat-label {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    #popup-title {
        font-size: 20px !important;
    }

    #popup-description {
        font-size: 14px !important;
    }

    #exitEmail, #exitSubmit {
        font-size: 14px !important;
        padding: 10px !important;
    }

    .visually-hidden {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }
}