/* styles.css */
:root {
    --primary-color: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #818CF8;
    --secondary-color: #7F56D9;
    --accent-color: #10B981;
    --text-dark: #1F2937;
    --text-medium: #4B5563;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --bg-dark: #111827;
    --border-color: #E5E7EB;
    --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);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
}

/* Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    font-display: swap;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 4.2rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.3;
}

h2 {
    font-size: 3.6rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.8rem;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

h3 {
    font-size: 2.4rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-medium);
}

.text-gradient {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Header Styles */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
}

.logo {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.desktop-nav {
    display: none;
}

.desktop-nav ul {
    display: flex;
    gap: 3rem;
}

.desktop-nav a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: var(--primary-color);
}

.desktop-nav a:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Language Selector */
.language-selector {
    position: relative;
    z-index: 101;
}

.language-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.4rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.language-button:hover {
    background-color: var(--bg-light);
}

.language-button img {
    width: 20px;
    height: 15px;
    object-fit: cover;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    border-radius: 4px;
    min-width: 180px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.language-dropdown.show {
    max-height: 300px;
    overflow-y: auto;
    visibility: visible;
    opacity: 1;
}

.language-dropdown li {
    border-bottom: 1px solid var(--border-color);
}

.language-dropdown li:last-child {
    border-bottom: none;
}

.language-dropdown a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.language-dropdown a:hover {
    background-color: var(--bg-light);
}

.language-dropdown img {
    width: 20px;
    height: 15px;
    object-fit: cover;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.4rem;
    font-weight: 600;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.desktop-only {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    z-index: 99;
    padding: 2rem;
    transition: top 0.3s ease;
}

.mobile-menu.active {
    top: var(--header-height);
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu a {
    display: block;
    padding: 1rem 0;
    color: var(--text-dark);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--primary-color);
}

body.menu-open {
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #4F46E5 0%, #7F56D9 100%);
    color: white;
    padding: 6rem 0;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    text-align: center;
}

.hero-text h1 {
    color: white;
    background: none;
    margin-bottom: 2rem;
}

.hero-text .subtitle {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-text .credibility {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 500px;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Section Styles */
section {
    padding: 8rem 0;
}

section:nth-child(odd) {
    background-color: var(--bg-white);
}

section:nth-child(even) {
    background-color: var(--bg-light);
}

section h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

section h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.about-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(127, 86, 217, 0.1) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-card:hover::before {
    opacity: 1;
}

/* Ingredients Section */
.ingredients-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.ingredients-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.ingredients-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.ingredients-image:hover img {
    transform: scale(1.05);
}

.ingredients-list {
    margin: 2rem 0;
}

.ingredients-list li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.ingredients-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1.6rem;
    height: 1.6rem;
    background-color: var(--primary-light);
    border-radius: 50%;
}

.ingredients-list li span {
    font-weight: 600;
    color: var(--primary-color);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.benefit-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.benefit-card:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    margin-bottom: 2rem;
}

.benefits-cta {
    margin-top: 4rem;
    text-align: center;
}

/* Research Section */
.research-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.research-text {
    order: 2;
}

.research-image {
    order: 1;
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.research-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.research-image:hover img {
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.testimonial-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 8rem;
    color: rgba(79, 70, 229, 0.1);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-icon {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-detail {
    color: var(--text-light);
    font-size: 1.4rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.pricing-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.03);
}

.best-value {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom-left-radius: 8px;
}

.pricing-header {
    padding: 3rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.pricing-subtitle {
    font-size: 1.6rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.pricing-image {
    width: 150px;
    margin: 0 auto;
}

.pricing-features {
    padding: 3rem;
    flex-grow: 1;
}

.pricing-features ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pricing-features li {
    position: relative;
    padding-left: 3rem;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.pricing-cta {
    padding: 0 3rem 3rem;
    text-align: center;
}

.purchase-info {
    text-align: center;
    margin-top: 4rem;
    font-size: 1.8rem;
}

/* Quality Section */
.quality-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.quality-image {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.frost-glass {
    position: relative;
}

.frost-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.frost-glass:hover::before {
    opacity: 1;
}

.quality-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
}

.progress-container {
    margin-top: 2rem;
}

.progress-bar {
    position: relative;
    height: 12px;
    background-color: rgba(79, 70, 229, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--progress);
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 6px;
    animation: progressAnimation 1.5s ease-out;
}

.progress-bar span {
    position: absolute;
    top: -25px;
    font-size: 1.4rem;
    font-weight: 600;
}

.progress-bar span:first-child {
    left: 0;
}

.progress-bar span:last-child {
    right: 0;
    color: var(--primary-color);
}

@keyframes progressAnimation {
    from {
        width: 0;
    }
    to {
        width: var(--progress);
    }
}

/* FAQ Section */
.faq-grid {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

details {
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

details:hover {
    box-shadow: var(--shadow-md);
}

summary {
    padding: 2rem;
    position: relative;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.8rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::after {
    content: '+';
    font-size: 2rem;
    transition: transform 0.3s ease;
}

details[open] summary::after {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 2rem 2rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #4F46E5 0%, #7F56D9 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: 2rem;
}

.cta-content h2::after {
    background-color: white;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

/* Footer Styles */
.site-footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 6rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-column h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
}

.disclaimer {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.4rem;
}

/* Shimmer Loading Effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.5) 60%,
        rgba(255, 255, 255, 0)
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Media Queries */
@media screen and (min-width: 768px) {
    h1 {
        font-size: 5rem;
    }
    
    h2 {
        font-size: 4rem;
    }
    
    h3 {
        font-size: 2.6rem;
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quality-content {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .quality-image {
        flex: 1;
    }
    
    .quality-text {
        flex: 1;
    }
}

@media screen and (min-width: 1024px) {
    h1 {
        font-size: 5.6rem;
    }
    
    .desktop-nav {
        display: block;
    }

    .desktop-only {
        display: inline-flex;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero-content {
        flex-direction: row;
        text-align: left;
    }
    
    .hero-text {
        flex: 1;
        text-align: left;
    }
    
    .hero-image {
        flex: 1;
    }
    
    .about-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ingredients-content {
        flex-direction: row;
        gap: 6rem;
    }
    
    .ingredients-image {
        flex: 1;
    }
    
    .ingredients-text {
        flex: 1;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .research-content {
        flex-direction: row;
    }
    
    .research-text {
        flex: 1;
        order: 1;
    }
    
    .research-image {
        flex: 1;
        order: 2;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .header-container {
        justify-content: flex-start;
    }
    
    .desktop-nav {
        margin-left: 4rem;
    }
    
    .header-right {
        margin-left: auto;
    }
}

/* Animations and Special Effects */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

/* Neumorphism effect */
.neumorphic {
    border-radius: 10px;
    background: var(--bg-light);
    box-shadow: 
        5px 5px 10px rgba(163, 177, 198, 0.5),
        -5px -5px 10px rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.neumorphic:hover {
    box-shadow: 
        inset 5px 5px 10px rgba(163, 177, 198, 0.5),
        inset -5px -5px 10px rgba(255, 255, 255, 0.6);
}

/* 3D Transform on Hover */
.transform-3d {
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.transform-3d:hover {
    transform: perspective(1000px) rotateY(10deg) rotateX(5deg);
}

/* Clip Path Effects */
.clip-path-effect {
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    transition: clip-path 0.5s ease;
}

.clip-path-effect:hover {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* Responsive font sizes */
@media screen and (max-width: 768px) {
    html {
        font-size: 56.25%; /* 9px */
    }
    
    h1 {
        font-size: 3.8rem;
        line-height: 1.3;
        letter-spacing: -0.02em;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    h2 {
        font-size: 3.2rem;
    }
    
    h3 {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 3.4rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    h3 {
        font-size: 2rem;
    }
    
    section {
        padding: 6rem 0;
    }
}