/* Reset and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;700&display=swap');
:root {
    --font-heading: 'Quicksand', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --font-body: 'Quicksand', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --body-size: 16px; --lh: 1.6;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header CSS moved to /assets/css/header.css */

html, body {
    font-size: var(--body-size);
    letter-spacing: 0em;
    line-height: var(--lh);
    color: #3A9AEA;
    background-color: #ffffff;
}

h1, h2 {
    font-weight: 700; 
    letter-spacing: 0.02em;
    color: #333333;
}
h3, h4 { font-weight: 500; letter-spacing: 0.01em; color: #333333; }
p, li, small { font-weight: 400; letter-spacing: 0em; }
button, .cta { font-weight: 600; letter-spacing: 0.04em; }

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

@media (min-width: 1400px) {
    .container { max-width: 1280px; }
}

/* Header */
header {
    background-color: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #3A9AEA;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0.03em;
    font-family: var(--font-heading);
    color: #333333;
    margin-bottom: 24px;
    line-height: 1.2;
}

/* generic highlight for emphasized words in headings */
.highlight {
    color: #3A9AEA;
}

.hero-text p {
    font-size: 18px;
    color: #374151;
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 16px;
}

.cta-button:hover {
    background-color: #059669;
}

.login-link {
    font-size: 14px;
    color: #6b7280;
}

.login-link a {
    color: #3A9AEA;
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    text-decoration: underline;
}

@media (min-width: 769px) {
    .login-link { display: none; }
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16 / 9;
    background-color: #e5e7eb;
}

/* Toxins Section */
.toxins {
    padding: 80px 0;
    background-color: #f6faff; /* light tint to increase contrast with white cards */
}

.toxins h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    text-align: center;
    margin-bottom: 60px;
}

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

.toxin-card {
    position: relative;
    background: #E8F2FF;
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(58,154,234,0.22);
    box-shadow: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    will-change: transform, box-shadow;
}

.toxin-card:hover {
    transform: translateY(-6px);
    box-shadow: none;
    border-color: rgba(58,154,234,0.4);
}

.toxin-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #0f172a;
    background: radial-gradient(120% 120% at 50% 0%, #e9f5ff 0%, #d7ecff 70%, #cfe7ff 100%);
    box-shadow: 0 10px 18px rgba(58, 154, 234, 0.25), inset 0 1px 0 rgba(255,255,255,0.8);
}

.toxin-percentage {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #0f2167;
    margin-bottom: 6px;
}

.toxin-label {
    display: inline-block;
    font-size: 11px;
    color: #0f2167;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e6f2ff;
    border: 1px solid rgba(58,154,234,0.35);
}

.toxin-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #3A9AEA;
    margin-bottom: 10px;
}

.toxin-card p {
    font-size: 14px;
    color: #667085;
    line-height: 1.6;
}

/* subtle shine on hover */
.toxin-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(120deg, rgba(255,255,255,0.0) 30%, rgba(255,255,255,0.25) 45%, rgba(255,255,255,0.0) 60%);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
    pointer-events: none;
}
.toxin-card:hover::after {
    transform: translateX(120%);
}

/* Why Section */
.why {
    padding: 80px 0;
    background-color: #f8fafc;
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.why-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 40px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-number {
    background-color: #3A9AEA;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.benefit-content p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
}

/* How Section */
.how {
    padding: 80px 0;
    background-color: #ffffff;
}

.how h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    text-align: center;
    margin-bottom: 60px;
}

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

.process-card {
    text-align: center;
    padding: 40px 20px;
}

.process-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.process-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 16px;
}

.process-card p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
}

/* Results Section */
.results {
    padding: 80px 0;
    background-color: #f8fafc;
}

.results h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    text-align: center;
    margin-bottom: 20px;
}

.results-intro {
    font-size: 18px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

/* arrows removed */

.result-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 20px;
    align-items: center;
    background-color: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.result-icon {
    font-size: 24px;
}

.result-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 4px;
}

.result-content p {
    font-size: 14px;
    color: #6b7280;
}

.result-percentage {
    font-size: 18px;
    font-weight: 700;
    color: #10b981;
}

.progress-bar {
    width: 100px;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #3A9AEA;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: #3A9AEA;
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-button-large {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button-large:hover {
    background-color: #059669;
}

/* Footer */
footer {
    background-color: #374151;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.8;
    max-width: 400px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid #4b5563;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .why-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .toxins-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .result-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    /* Mobile-first tap targets */
    button, .cta-button, .cta-button-large, .nav-link.login {
        min-height: 44px;
    }
    
    /* Toxin tiles mobile tuning */
    .toxins-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .toxin-card {
        padding: 18px 12px;
        border-radius: 12px;
    }
    .toxin-icon { width: 36px; height: 36px; }
    .toxin-percentage { font-size: 20px; }
    .toxin-card h3 { font-size: 16px; }
    .toxin-card p { font-size: 13px; }
    
    .toxins h2,
    .why-text h2,
    .how h2,
    .results h2,
    .cta-section h2 {
        font-size: 28px;
    }
    
    .cta-button,
    .cta-button-large {
        width: 100%;
    }
}
