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

:root {
    --primary-color: #8B5CF6;
    --primary-dark: #7C3AED;
    --primary-light: #A78BFA;
    --secondary-color: #EC4899;
    --accent-color: #F59E0B;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --gradient-1: linear-gradient(135deg, #8B5CF6 0%, #EC4899 50%, #F59E0B 100%);
    --gradient-2: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --gradient-3: linear-gradient(135deg, #F093FB 0%, #F5576C 100%);
    --gradient-hero: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    --shadow-sm: 0 2px 4px rgba(139, 92, 246, 0.1);
    --shadow-md: 0 4px 6px rgba(139, 92, 246, 0.15);
    --shadow-lg: 0 10px 15px rgba(139, 92, 246, 0.2);
    --shadow-xl: 0 20px 25px rgba(139, 92, 246, 0.25);
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-icon {
    font-size: 2.25rem;
    filter: drop-shadow(0 2px 4px rgba(139, 92, 246, 0.3));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 100px;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(30px, 30px) scale(1.1) rotate(5deg);
    }
    66% {
        transform: translate(-30px, -30px) scale(0.9) rotate(-5deg);
    }
}

.hero-background {
    display: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.75rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1.125rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

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

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

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    font-weight: 400;
}

/* Ingredients Overview */
.ingredients-overview {
    background: var(--bg-light);
    position: relative;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.ingredient-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.ingredient-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.ingredient-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.ingredient-card:hover::before {
    transform: scaleX(1);
}

.ingredient-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.2));
    transition: transform 0.4s ease;
}

.ingredient-card:hover .ingredient-icon {
    transform: scale(1.15) rotate(5deg);
}

.ingredient-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Ingredients Details */
.ingredients-details {
    background: var(--bg-white);
}

.ingredient-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 32px;
}

.ingredient-detail:last-child {
    margin-bottom: 0;
}

.ingredient-detail.reverse {
    direction: rtl;
}

.ingredient-detail.reverse > * {
    direction: ltr;
}

.detail-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.4s ease;
}

.detail-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

.detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.detail-content {
    padding: 1rem;
}

.detail-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.3));
}

.detail-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.detail-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.detail-list {
    list-style: none;
    padding: 0;
}

.detail-list li {
    padding: 0.875rem 0;
    padding-left: 2.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.detail-list li:hover {
    color: var(--text-dark);
}

.detail-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.875rem;
    width: 24px;
    height: 24px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

/* Complex Formula */
.complex-formula {
    background: var(--gradient-1);
    color: white;
    position: relative;
    overflow: hidden;
}

.complex-formula::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
}

.formula-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.formula-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.75rem;
    letter-spacing: -0.02em;
}

.formula-description {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.formula-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.formula-subtitle {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.formula-list {
    display: grid;
    gap: 1.25rem;
    text-align: left;
}

.formula-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 1.125rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.formula-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.formula-check {
    font-size: 1.75rem;
    color: #A78BFA;
    font-weight: 700;
}

/* Benefits Section */
.benefits {
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.benefit-card:hover::before {
    opacity: 0.05;
}

.benefit-card > * {
    position: relative;
    z-index: 1;
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.2));
    transition: transform 0.4s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.2) rotate(10deg);
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-description {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
    background: var(--bg-white);
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.form-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.contact-form-element {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.125rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.btn-submit {
    width: 100%;
    margin-top: 1.5rem;
}

/* Important Info */
.important-info {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    position: relative;
}

.info-box {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3.5rem;
    border-radius: 32px;
    box-shadow: var(--shadow-xl);
    border: 3px solid #F59E0B;
    position: relative;
}

.info-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.info-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 1rem 0;
    padding-left: 2.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 28px;
    height: 28px;
    background: #F59E0B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.info-link {
    display: inline-block;
    margin-top: 2rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.info-link:hover {
    color: var(--primary-dark);
    transform: translateX(8px);
}

/* Legal Info */
.legal-info {
    background: var(--bg-light);
}

.legal-box {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3.5rem;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
}

.legal-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.legal-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.legal-intro {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.legal-details p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

.legal-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.legal-details a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.legal-warning {
    background: #FEF3C7;
    padding: 1.5rem;
    border-radius: 16px;
    margin-top: 1.5rem;
    border-left: 4px solid #F59E0B;
}

.legal-warning p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 450px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.footer-tagline {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-disclaimer {
    font-size: 0.875rem;
    line-height: 1.7;
    opacity: 0.8;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.875rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-info p {
    margin-bottom: 0.75rem;
    opacity: 0.8;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-info a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ingredients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ingredient-detail {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .ingredient-detail.reverse {
        direction: ltr;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1.5rem;
        font-size: 0.875rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .ingredients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-element {
        padding: 2rem;
    }
    
    .form-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .ingredients-grid {
        grid-template-columns: 1fr;
    }
    
    .info-box,
    .legal-box {
        padding: 2rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}
