/* styles.css */
:root {
    --primary-color: #4a6bfd;
    --primary-dark: #3a56d4;
    --secondary-color: #ff7846;
    --text-color: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --background-dark: #2d3748;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 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;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --container-width: 1200px;
    --header-height: 80px;
}

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-weight: 400;
    background-color: var(--background-white);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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);
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
    transition: var(--transition);
}

ul, ol {
    list-style-position: inside;
    padding-left: 1rem;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.credibility {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-container {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.desktop-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
}

.desktop-nav a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.desktop-nav a:hover::after {
    width: 100%;
}

/* Language Selector */
.language-selector {
    position: relative;
}

#language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-color);
}

#language-toggle img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

#language-toggle svg {
    transition: var(--transition);
}

#language-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 180px;
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
}

.language-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-menu li {
    list-style: none;
}

.language-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--text-color);
    font-size: 0.875rem;
    transition: var(--transition);
}

.language-menu a:hover {
    background-color: var(--background-light);
}

.language-menu img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-white);
    font-weight: 600;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--text-white);
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 107, 253, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(74, 107, 253, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 107, 253, 0);
    }
}

.cta-center {
    text-align: center;
    margin: 2rem 0;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--background-white);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    z-index: 999;
}

.menu-open .mobile-menu {
    max-height: 300px;
}

.mobile-menu ul {
    padding: 1.5rem;
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 1rem;
}

.mobile-menu a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.125rem;
    display: block;
    padding: 0.5rem 0;
}

.mobile-cta {
    margin-top: 1rem;
}

.mobile-cta .cta-button {
    width: 100%;
}

/* Main Content */
main {
    flex: 1;
    padding-top: var(--header-height);
}

section {
    padding: 4rem 0;
}

section:nth-child(odd) {
    background-color: var(--background-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4a6bfd 0%, #a259ff 100%);
    color: var(--text-white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    color: var(--text-white);
    -webkit-text-fill-color: var(--text-white);
    background: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-text p {
    color: rgba(255, 255, 255, 0.9);
}

.hero-image {
    text-align: center;
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Overview Section */
.overview {
    text-align: center;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.overview-text {
    text-align: left;
}

.overview-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    max-width: 500px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.overview-image img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--background-dark);
    color: var(--text-white);
}

.testimonials h2 {
    color: var(--text-white);
    text-align: center;
}

.testimonials h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    transform: translateY(0);
    opacity: 0;
    animation: fadeSlideUp 0.5s forwards;
    animation-delay: calc(var(--index, 0) * 0.1s);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.testimonial-icon {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.testimonial-card h3 {
    color: var(--text-white);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.testimonial-detail {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    max-width: 500px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.about-image img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* How It Works Section */
.mechanism-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mechanism-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.mechanism-card.animate {
    animation: fadeSlideUp 0.5s forwards;
}

.mechanism-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mechanism-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.comparison {
    margin-top: 3rem;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.benefit-card.animate {
    animation: fadeSlideUp 0.5s forwards;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Ingredients Section */
.ingredients-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.ingredients-progress {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.progress-item {
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateX(20px);
}

.progress-item.animate {
    animation: fadeSlideIn 0.5s forwards;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.progress-bar {
    height: 8px;
    background-color: var(--background-light);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0;
    transition: width 1s ease-in-out;
}

.progress-item.animate .progress-fill {
    width: var(--width, 0%);
}

/* Usage Section */
.usage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tips-list {
    margin-top: 1.5rem;
    list-style-type: none;
}

.tips-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.tips-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.usage-card {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
}

.card-glass h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.card-glass ol {
    margin-bottom: 2rem;
}

.card-glass ol li {
    margin-bottom: 1rem;
}

.card-glass .cta-button {
    width: 100%;
}

/* Results Section */
.results-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.before-after.animate {
    animation: fadeSlideUp 0.5s forwards;
}

.before, .after {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.before {
    border-top: 4px solid #ff5757;
}

.after {
    border-top: 4px solid #57c557;
}

.before h4, .after h4 {
    text-align: center;
    margin-bottom: 1rem;
}

.before h4 {
    color: #ff5757;
}

.after h4 {
    color: #57c557;
}

/* Trusted Solution Section */
.trusted-solution {
    text-align: center;
}

.trusted-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Holistic Section */
.holistic-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.card-3d {
    perspective: 1000px;
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
    height: 200px;
    opacity: 0;
    transform: translateY(20px);
}

.card-3d.animate {
    animation: fadeSlideUp 0.5s forwards;
}

.card-inner {
    width: 100%;
    height: 100%;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    color: var(--text-white);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card-3d:hover .card-inner {
    transform: rotateY(10deg) rotateX(10deg);
    box-shadow: -20px 20px 30px rgba(0, 0, 0, 0.2);
}

.card-inner h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

/* Conclusion Section */
.conclusion {
    text-align: center;
}

.conclusion-content {
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

details:hover {
    box-shadow: var(--shadow-md);
}

summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: var(--transition);
}

details[open] summary::after {
    content: '−';
}

.faq-content {
    padding: 0 1.5rem 1.5rem;
}

/* Footer */
footer {
    background-color: var(--background-dark);
    color: var(--text-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-section h3 {
    color: var(--text-white);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
    color: var(--text-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.copyright {
    margin-bottom: 1rem;
}

.disclaimer {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 800px;
    margin: 0 auto;
}

/* Animation Keyframes */
@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Shimmer Loading Effect */
.shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Only show Buy Now button on desktop */
.desktop-only {
    display: inline-block;
}

/* Media Queries */
@media (max-width: 1200px) {
    :root {
        --container-width: 992px;
    }
}

@media (max-width: 992px) {
    :root {
        --container-width: 768px;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-content,
    .overview-content,
    .about-content,
    .mechanism-cards,
    .benefits-grid,
    .ingredients-content,
    .usage-content,
    .results-content,
    .holistic-content,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .overview-image,
    .about-image {
        order: -1;
    }
    
    .hero-image img,
    .overview-image img,
    .about-image img {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-width: 100%;
        --header-height: 70px;
    }
    
    h1 {
        font-size: 1.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.4;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .desktop-nav, 
    .desktop-only {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .testimonials-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    
    .hero-image img,
    .overview-image img,
    .about-image img {
        max-width: 100%;
    }
    
    .language-selector {
        display: none;
    }
    
    .before-after {
        grid-template-columns: 1fr;
    }
}