/* ===== CSS Variables ===== */
:root {
    --primary: #6B21A8;
    --primary-light: #9333EA;
    --primary-dark: #581C87;
    --secondary: #EC4899;
    --accent: #F472B6;
    --background: #FAFAFA;
    --surface: #FFFFFF;
    --text: #1F2937;
    --text-light: #6B7280;
    --text-muted: #9CA3AF;
    --success: #10B981;
    --warning: #F59E0B;
    --border: #E5E7EB;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
    color: var(--primary-light);
}

ul {
    list-style: none;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Utility Classes ===== */
.hidden {
    display: none !important;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

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

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

.btn-buy {
    background: linear-gradient(135deg, #FF9900 0%, #FFAD33 100%);
    color: #111;
    font-weight: 700;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: #111;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ===== 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);
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

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

.logo-icon {
    font-size: 1.75rem;
}

.logo-text .au {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 4rem;
    background: linear-gradient(135deg, #F3E8FF 0%, #FCE7F3 50%, #FEF3C7 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 600px;
    text-align: center;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.hero-visual {
    position: absolute;
    right: 10%;
    bottom: 20%;
    opacity: 0.3;
}

.acai-bowl-illustration {
    position: relative;
    width: 300px;
    height: 200px;
}

.bowl {
    width: 200px;
    height: 100px;
    background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
    border-radius: 0 0 100px 100px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Products Section ===== */
.products {
    padding: 5rem 0;
    background: var(--surface);
}

.view-controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.view-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.view-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border);
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.75rem;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.new {
    background: var(--success);
}

.product-badge.value {
    background: var(--warning);
    color: #111;
}

.product-badge.premium {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
}

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F3E8FF 0%, #FCE7F3 100%);
}

.acai-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    box-shadow: var(--shadow-lg);
}

.acai-icon::before {
    content: '🍇';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
}

.acai-icon.blend::before {
    content: '🥣';
}

.acai-icon.bulk::before {
    content: '📦';
}

.acai-icon.starter::before {
    content: '🌱';
}

.acai-icon.liquid::before {
    content: '🥤';
}

.acai-icon.premium-bulk::before {
    content: '✨';
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    padding: 0.25rem 0.625rem;
    background: var(--background);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.tag.organic {
    background: #DCFCE7;
    color: #166534;
    border-color: #BBF7D0;
}

.product-description {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-features {
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
}

.product-features li {
    position: relative;
    color: var(--text);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    list-style: none;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: -1.25rem;
    color: var(--success);
    font-weight: 700;
}

.product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.compare-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-light);
}

.compare-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* ===== Product Table ===== */
.product-table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
}

.product-table th,
.product-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.product-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-table tbody tr:hover {
    background: var(--background);
}

.product-table .check-icon {
    color: var(--success);
    font-weight: 700;
}

/* ===== Quiz Section ===== */
.quiz-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.quiz-section .section-header h2,
.quiz-section .section-header p {
    color: white;
}

.quiz-container {
    max-width: 700px;
    margin: 0 auto;
}

.quiz-start,
.quiz-results {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.quiz-intro .quiz-icon,
.result-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.quiz-intro h3,
.result-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.quiz-intro p {
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.quiz-questions {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

.quiz-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 25%;
}

.progress-text {
    font-size: 0.875rem;
    color: var(--text-light);
}

.quiz-question {
    display: none;
}

.quiz-question.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.quiz-question h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.quiz-option:hover {
    border-color: var(--primary-light);
    background: #F3E8FF;
}

.quiz-option.selected {
    border-color: var(--primary);
    background: #F3E8FF;
}

.option-icon {
    font-size: 1.5rem;
}

.option-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
}

.recommended-product {
    background: var(--background);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.recommended-product h4 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.recommended-product p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== Compare Section ===== */
.compare-section {
    padding: 5rem 0;
    background: var(--background);
}

.compare-container {
    min-height: 200px;
}

.compare-empty {
    text-align: center;
    padding: 3rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.compare-empty p {
    font-size: 1.125rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.compare-empty .hint {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.compare-table-wrapper {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.compare-table th,
.compare-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.compare-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.compare-table th:first-child {
    text-align: left;
    background: var(--primary-dark);
}

.compare-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text);
    background: var(--background);
}

.compare-table tbody tr:hover td {
    background: #F3E8FF;
}

.compare-table tbody tr:hover td:first-child {
    background: #E9D5FF;
}

#clearCompare {
    display: block;
    margin: 0 auto;
}

/* ===== Benefits Section ===== */
.benefits-section {
    padding: 5rem 0;
    background: var(--surface);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--background);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

/* ===== Recipes Section ===== */
.recipes-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #FDF2F8 0%, #FAE8FF 100%);
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.recipe-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.recipe-header {
    height: 120px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
}

.recipe-header.classic {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.recipe-header.tropical {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.recipe-header.protein {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.recipe-badge {
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.recipe-content {
    padding: 1.5rem;
}

.recipe-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.recipe-time {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.recipe-content h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin: 1rem 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recipe-content ul {
    padding-left: 1.25rem;
}

.recipe-content li {
    position: relative;
    font-size: 0.9375rem;
    color: var(--text);
    margin-bottom: 0.375rem;
    list-style: disc;
}

/* ===== SEO Section ===== */
.seo-section {
    padding: 5rem 0;
    background: var(--surface);
}

.seo-content {
    max-width: 800px;
    margin: 0 auto;
}

.seo-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.seo-content h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--primary);
    margin: 2rem 0 0.75rem;
}

.seo-content p {
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
    background: var(--text);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand .logo-text .au {
    color: var(--accent);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-disclaimer h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-disclaimer p {
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.6;
}

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        gap: 0;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border);
    }

    .hero {
        padding-top: 5rem;
        min-height: auto;
    }

    .hero-visual {
        display: none;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .compare-checkbox {
        justify-content: center;
    }

    .quiz-start,
    .quiz-results,
    .quiz-questions {
        padding: 1.5rem;
    }

    .quiz-option {
        padding: 1rem;
    }

    .view-controls {
        flex-wrap: wrap;
    }

    .benefits-grid,
    .recipes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .product-table th,
    .product-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.8125rem;
    }
}

/* ===== Animations ===== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.btn-buy:hover {
    animation: pulse 0.6s ease infinite;
}
