/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    --color-primary: #10B981;
    --color-primary-dark: #059669;
    --color-accent: #F59E0B;
    --color-accent-dark: #D97706;
    --color-bg: #FFFFFF;
    --color-bg-secondary: #F9FAFB;
    --color-text: #111827;
    --color-text-secondary: #6B7280;
    --color-border: #E5E7EB;
    --color-success: #10B981;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --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);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 5px;
}

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

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-bg-secondary);
}

/* ===========================
   Container & Layout
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
    transition: var(--transition-fast);
}

.logo:hover {
    color: var(--color-primary-dark);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: 8px 0;
}

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

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-text);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-primary:active {
    transform: translateY(0);
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 76px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.8) 0%, rgba(5, 150, 105, 0.9) 100%);
}

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

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* ===========================
   Page Hero (Smaller)
   =========================== */
.page-hero {
    position: relative;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
    margin-top: 76px;
}

.page-hero-small {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.page-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-title {
    position: relative;
    z-index: 1;
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.page-hero-subtitle {
    position: relative;
    z-index: 1;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

/* ===========================
   Product Section
   =========================== */
.product-section {
    background: var(--color-bg);
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-image {
    position: relative;
}

.product-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

.product-info h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 16px;
}

.product-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.product-info p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin: 32px 0;
    padding: 24px;
    background: var(--color-bg-secondary);
    border-radius: 12px;
    border: 2px solid var(--color-primary);
}

.price-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.price-value {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-primary);
}

/* ===========================
   Ingredients Detail Section
   =========================== */
.ingredients-detail-section {
    background: var(--color-bg-secondary);
}

.ingredients-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.ingredient-detail-card {
    background: white;
    padding: 32px 24px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all var(--transition-normal);
}

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

.ingredient-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.ingredient-detail-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.ingredient-detail-card p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.product-disclaimer {
    background: white;
    padding: 32px;
    border-radius: 12px;
    border-left: 4px solid var(--color-accent);
    box-shadow: var(--shadow-md);
}

.product-disclaimer p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.product-disclaimer strong {
    color: var(--color-text);
    font-weight: 600;
}

/* ===========================
   Benefits Section
   =========================== */
.benefits-section {
    background: var(--color-bg-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit-card {
    background: white;
    padding: 40px 32px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all var(--transition-normal);
}

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

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ===========================
   How It Works Section
   =========================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    position: relative;
    text-align: center;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    font-size: 28px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.step-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.step-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 16px;
    color: var(--color-text-secondary);
}

/* ===========================
   Ingredients Section
   =========================== */
.ingredients-section {
    background: var(--color-bg-secondary);
}

.ingredients-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ingredients-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.ingredients-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 24px;
}

.ingredients-text p {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.ingredients-list {
    list-style: none;
}

.ingredients-list li {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    padding-left: 32px;
    position: relative;
    line-height: 1.6;
}

.ingredients-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
    font-size: 20px;
}

.ingredients-list strong {
    color: var(--color-text);
    font-weight: 600;
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

/* ===========================
   Contact Section
   =========================== */
.contact-section {
    background: var(--color-bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
}

.contact-form-wrapper p {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.contact-info-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.contact-info-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.contact-info-card p {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

/* ===========================
   FAQ Section
   =========================== */
.faq-section {
    background: var(--color-bg);
}

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

.faq-item {
    background: white;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ===========================
   Content Section (Privacy, Terms, Cookies)
   =========================== */
.content-section {
    background: var(--color-bg-secondary);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.content-card h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
}

.content-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text);
    margin-top: 24px;
    margin-bottom: 12px;
}

.content-card p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-card ul,
.content-card ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

.content-card ul {
    list-style: disc;
}

.content-card ol {
    list-style: decimal;
}

.content-card li {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

.content-card a {
    color: var(--color-primary);
    text-decoration: underline;
}

.content-card a:hover {
    color: var(--color-primary-dark);
}

.content-card strong {
    color: var(--color-text);
    font-weight: 600;
}

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

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

.footer-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

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

.footer-section ul li a:hover {
    color: var(--color-primary);
}

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

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

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 40px;
    }
    
    .benefits-grid,
    .steps-grid,
    .ingredients-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ingredients-content,
    .product-content {
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .nav-links {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .page-hero-title {
        font-size: 36px;
    }
    
    .product-content,
    .benefits-grid,
    .steps-grid,
    .ingredients-detail-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .product-info h2 {
        font-size: 32px;
    }
    
    .price-value {
        font-size: 36px;
    }
    
    .ingredients-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 14px 32px;
        font-size: 16px;
    }
    
    .product-info h2 {
        font-size: 28px;
    }
    
    .product-info h3 {
        font-size: 20px;
    }
}