/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6b7280;
    --secondary-color: #9ca3af;
    --dark-color: #1a1a1a;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Modern spacing scale (8px grid) */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    
    /* Border radius scale */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadow scale */
    --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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
    letter-spacing: 2px;
}

.subtitle {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: var(--shadow-md);
}


/* Navigation */
.navbar {
    padding: 20px 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.logo {
    flex-shrink: 0;
    max-width: 280px;
}

.logo-img {
    height: 90px;
    width: auto;
    max-width: 100%;
    display: block;
}

.nav-menu {
    display: flex;
    flex: 1;
    justify-content: center;
    order: 2;
}

.search-box {
    position: relative;
    flex-shrink: 0;
    order: 3;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    order: 4;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin: 0;
    padding: 0;
}

.nav-list a {
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.header-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-social-links a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--text-dark);
    font-size: 15px;
    transition: var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
}

.header-social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.header-social-links a.facebook:hover {
    background-color: #1877f2;
}

.header-social-links a.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.header-social-links a.youtube:hover {
    background-color: #ff0000;
}

.search-box {
    position: relative;
    flex-shrink: 0;
}

.search-input {
    padding: 9px 38px 9px 14px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-full);
    font-size: 13px;
    width: 160px;
    transition: var(--transition);
    background-color: var(--white);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    width: 200px;
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.1);
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.3) 60%, transparent 80%);
}

.slide-content .container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.slide-text {
    color: var(--white);
    max-width: 550px;
    z-index: 2;
    padding-left: 80px;
    margin-left: 0;
    text-align: left;
}

.slide-text h1 {
    font-size: 56px;
    font-weight: 700;
    margin: 0 0 16px 0;
    letter-spacing: 3px;
    line-height: 1.2;
}

.slide-text p {
    font-size: 20px;
    margin: 0;
    font-weight: 300;
    line-height: 1.5;
}

.slide-text .slide-subtitle {
    font-size: 18px;
    margin: 0 0 16px 0;
    font-weight: 400;
    line-height: 1.5;
}

.slide-ingredients {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
}

.slide-ingredients li {
    font-size: 15px;
    font-weight: 300;
    padding-left: 20px;
    position: relative;
}

.slide-ingredients li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: bold;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    color: var(--white);
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.slider-btn.prev {
    left: 20px;
    z-index: 15;
}

.slider-btn.next {
    right: 20px;
    z-index: 15;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.featured-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.featured-content {
    padding: 40px;
}

.featured-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.featured-content p {
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

.featured-content .ingredients {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Categories */
.categories {
    padding: 80px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.category-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    height: 300px;
}

.category-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    font-size: 20px;
    text-align: center;
}

.category-item:hover img {
    transform: scale(1.1);
}

/* About Section */
.about-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--light-gray);
}

/* Active Ingredients Section */
.ingredients-section {
    padding: var(--spacing-2xl) 0 var(--spacing-3xl) 0;
    background-color: var(--light-gray);
}

.ingredients-container {
    max-width: 900px;
    margin: 50px auto 0;
}

.ingredient-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.ingredient-item:hover {
    box-shadow: var(--shadow-md);
}

.ingredient-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.ingredient-header:hover {
    background-color: var(--light-gray);
}

.ingredient-header.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.ingredient-header.active .ingredient-name {
    color: var(--white);
}

.ingredient-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.ingredient-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.4;
}


.ingredient-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--text-dark);
    font-size: 14px;
    transition: var(--transition);
    flex-shrink: 0;
}

.ingredient-header.active .ingredient-toggle {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: rotate(180deg);
}

.ingredient-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 25px;
}

.ingredient-content.active {
    max-height: 2000px;
    padding: 0 25px 25px 25px;
}

.ingredient-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    padding-top: 20px;
}

.ingredient-products {
    padding-top: 20px;
    border-top: 1px solid var(--medium-gray);
}

.ingredient-products-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.ingredient-products-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ingredient-product-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--light-gray);
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.ingredient-product-tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.ingredient-product-link {
    text-decoration: none;
    cursor: pointer;
}

.ingredient-product-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Innovations */
.innovations {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.innovation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.innovation-text p {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.8;
}

.innovation-image img {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Results Section - Before/After */
.results-section {
    padding: var(--spacing-2xl) 0;
}

.before-after-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.before-after-slider {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    cursor: ew-resize;
    user-select: none;
}

.before-image,
.after-image {
    position: relative;
}

.before-image img,
.after-image img {
    width: 100%;
    height: auto;
    display: block;
}

.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: inset(0 0 0 50%);
}

.before-image .label,
.after-image .label {
    position: absolute;
    top: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 20px;
}

.before-image .label {
    left: 20px;
}

.after-image .label {
    right: 20px;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: var(--white);
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.handle-line {
    width: 4px;
    flex: 1;
    background-color: var(--white);
}

.handle-circle {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border: 4px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    cursor: ew-resize;
}

.result-info {
    padding: 40px;
    background-color: var(--light-gray);
    border-radius: 15px;
}

.result-info h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-color);
}

.result-features {
    list-style: none;
    margin-bottom: 30px;
}

.result-features li {
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 15px;
}

.result-features li i {
    color: var(--primary-color);
    font-size: 20px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
    min-height: 250px;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    text-align: center;
}

.testimonial.active {
    opacity: 1;
    position: relative;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 30px;
}

.testimonial-author {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

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

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dots .dot {
    background-color: var(--medium-gray);
}

.testimonial-dots .dot.active {
    background-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer .social-links {
    display: flex;
    gap: 15px;
}

.footer .social-links a {
    color: var(--white);
    font-size: 24px;
}

.footer .social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Products Slider */
.products-slider-section {
    padding: var(--spacing-3xl) 0 var(--spacing-2xl) 0;
    background-color: var(--white);
}

.products-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
}

.products-slider-container {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding-bottom: 20px;
    cursor: grab;
}

.products-slider-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.product-slide {
    min-width: 320px;
    max-width: 320px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-slide:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-slide-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: var(--light-gray);
    position: relative;
}

.product-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-slide:hover .product-slide-image img {
    transform: scale(1.1);
}

.product-slide-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background-color: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.product-slide-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-slide-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-slide-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    flex: 1;
}

.product-slide-desc .benefit-item-inline {
    display: block;
    margin-bottom: 8px;
    line-height: 1.6;
}

.product-slide-desc .benefit-item-inline:last-child {
    margin-bottom: 0;
}

.product-slide-link {
    margin-top: auto;
    text-align: center;
}

.product-slide-link .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 13px;
}

.products-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    color: var(--primary-color);
    font-size: 18px;
}

.products-slider-nav:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.products-slider-nav.prev {
    left: 0;
}

.products-slider-nav.next {
    right: 0;
}

.products-slider-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.products-slider-nav:disabled:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

