/* styles.css */
/* Base Styles and CSS Reset */
:root {
    --primary-color: #3a86ff;
    --secondary-color: #8338ec;
    --accent-color: #ff006e;
    --text-color: #333;
    --light-text: #666;
    --very-light-text: #888;
    --bg-color: #fff;
    --light-bg: #f8f9fa;
    --alternate-bg: #e9f7fb;
    --border-color: #e0e0e0;
    --border-radius: 8px;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --header-height: 70px;
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    font-display: swap;
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
    background-image: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 15px auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Button Styles */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(58, 134, 255, 0.2);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(58, 134, 255, 0.3);
    color: white;
}

.cta-button:hover::before {
    left: 100%;
}

/* Header Styles */
.site-header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: var(--transition);
}

.lang-toggle:hover {
    color: var(--primary-color);
}

.lang-options {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--bg-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    width: 180px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: 1000;
    visibility: hidden;
}

.lang-options.active {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
}

.lang-options li {
    padding: 0;
}

.lang-options a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    transition: var(--transition);
}

.lang-options a:hover {
    background-color: var(--light-bg);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    position: relative;
    transition: var(--transition);
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.hamburger-icon::before {
    transform: translateY(-8px);
}

.hamburger-icon::after {
    transform: translateY(8px);
}

.menu-toggle.active .hamburger-icon {
    background-color: transparent;
}

.menu-toggle.active .hamburger-icon::before {
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger-icon::after {
    transform: rotate(-45deg);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #4b6cb7, #182848);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    color: white;
    background-image: none;
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text .subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-text .credibility {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Introduction Section */
.intro-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card:hover::before {
    transform: scaleX(1);
}

/* Science Section */
.science-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.two-column {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.text-column, .image-column {
    flex: 1;
}

.image-column img {
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.image-column img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.reversed {
    flex-direction: row-reverse;
}

/* Ingredients Section */
.ingredients-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.ingredient-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
}

.ingredient-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.ingredient-icon {
    margin: 0 auto 20px;
    width: 60px;
    height: 60px;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.benefit-item {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

/* Everyday Section */
.everyday-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.3);
}

.cta-container {
    text-align: center;
    margin-top: 50px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.testimonial-content {
    flex-grow: 1;
    padding-left: 15px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--light-text);
    margin-bottom: 20px;
}

.testimonial-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.testimonial-meta {
    font-size: 0.9rem;
    color: var(--very-light-text);
    margin-bottom: 0;
}

/* Comparison Section */
.comparison-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.comparison-table-container {
    overflow-x: auto;
    margin-top: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--light-bg);
}

.check {
    color: #00c853;
    font-weight: 700;
}

.x {
    color: #ff3d00;
    font-weight: 700;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.faq-container {
    margin-top: 40px;
}

.faq-item {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    position: relative;
    list-style: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 20px 20px;
}

/* Conclusion Section */
.conclusion-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.conclusion-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Footer Styles */
.site-footer {
    background-color: #2a2a2a;
    color: #e0e0e0;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #e0e0e0;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-bottom: 30px;
}

.footer-disclaimer p {
    font-size: 0.9rem;
    color: #a0a0a0;
}

.footer-copyright {
    text-align: center;
    color: #a0a0a0;
    font-size: 0.9rem;
}

/* Desktop Only Elements */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .two-column, .two-column.reversed {
        flex-direction: column;
    }
    
    .testimonials-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
        line-height: 1.4;
        word-wrap: break-word;
        text-wrap: balance;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .menu-toggle {
        display: block;
        order: 3;
    }
    
    .nav-menu {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        max-height: 300px;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .site-header .container {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .logo {
        flex: 1;
    }
    
    .main-nav {
        order: 3;
    }
    
    .header-actions {
        order: 2;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .site-header {
        padding: 10px 0;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    section {
        padding: 60px 0;
    }
    
    .cards-container, .ingredients-grid, .steps-container {
        grid-template-columns: 1fr;
    }
}

/* Animation and Visual Effects */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(to right, var(--light-bg) 4%, var(--alternate-bg) 25%, var(--light-bg) 36%);
    background-size: 1000px 100%;
}

/* Frosted Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 3D Transform on Hover */
.three-d-hover {
    transition: transform 0.3s ease;
    perspective: 1000px;
}

.three-d-hover:hover {
    transform: translateY(-5px) rotateX(5deg) rotateY(5deg);
}

/* Neumorphism Effect */
.neumorphic {
    border-radius: 20px;
    background: var(--bg-color);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.05),
                -10px -10px 20px rgba(255, 255, 255, 0.8);
}

/* Clipped Path Elements */
.clip-path-element {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

/* Accessibility Improvements */
:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}