/* CSS Variables */
:root {
    --color-primary: #d4a5a5;
    --color-primary-dark: #c48b8b;
    --color-primary-light: #f5e6e6;
    --color-secondary: #8b7355;
    --color-accent: #e8b4b8;
    --color-text: #2d2d2d;
    --color-text-light: #666666;
    --color-background: #fefefe;
    --color-surface: #ffffff;
    --color-border: #e8e8e8;
    --color-success: #4caf50;
    --color-warning: #ff9800;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

a {
    text-decoration: none;
    color: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

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

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 28px;
}

.logo h1 {
    font-size: 24px;
    color: var(--color-primary-dark);
}

.logo-tagline {
    font-size: 12px;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    font-weight: 500;
    color: var(--color-text);
    transition: var(--transition);
    position: relative;
}

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

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

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

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

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, #fff5f5 50%, #fffaf5 100%);
    text-align: center;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: clamp(32px, 5vw, 52px);
    color: var(--color-text);
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-petal {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50% 0 50% 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.petal-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.petal-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.petal-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--color-text);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: var(--color-text-light);
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: var(--color-surface);
}

.view-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.view-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-light);
}

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

.view-btn svg {
    opacity: 0.7;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

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

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

.product-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, #fff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--color-primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.product-compare-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 14px;
}

.product-compare-btn:hover,
.product-compare-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.product-content {
    padding: 20px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--color-text);
}

.product-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.product-meta span {
    font-size: 13px;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-description {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.5;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.stars {
    color: #ffc107;
    font-size: 14px;
    letter-spacing: 2px;
}

.rating-count {
    font-size: 13px;
    color: var(--color-text-light);
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 16px;
}

.product-cta {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ff9900 0%, #e68a00 100%);
    color: white;
    text-align: center;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.product-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Products Table */
.products-table {
    overflow-x: auto;
}

.products-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.products-table th,
.products-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.products-table th {
    background: var(--color-primary-light);
    font-weight: 600;
    color: var(--color-text);
    font-size: 14px;
}

.products-table td {
    font-size: 14px;
    color: var(--color-text);
}

.products-table tr:hover {
    background: var(--color-primary-light);
}

.products-table .btn {
    padding: 8px 16px;
    font-size: 13px;
}

.hidden {
    display: none !important;
}

/* Quiz Section */
.quiz-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--color-primary-light) 0%, #fff 100%);
}

.quiz-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.quiz-progress {
    margin-bottom: 32px;
}

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

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 13px;
    color: var(--color-text-light);
}

.quiz-question {
    margin-bottom: 24px;
}

.quiz-question h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--color-text);
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--color-background);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

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

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

.quiz-option input {
    display: none;
}

.quiz-option .radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border);
    border-radius: 50%;
    position: relative;
}

.quiz-option.selected .radio {
    border-color: var(--color-primary);
}

.quiz-option.selected .radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--color-primary);
    border-radius: 50%;
}

.quiz-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 32px;
}

.quiz-result {
    text-align: center;
}

.quiz-result h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--color-primary-dark);
}

.quiz-result p {
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.quiz-result-card {
    background: var(--color-primary-light);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.quiz-result-card h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.quiz-result-card p {
    margin-bottom: 16px;
}

/* Compare Section */
.compare-section {
    padding: 80px 0;
    background: var(--color-surface);
}

.compare-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.compare-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    background: var(--color-surface);
    cursor: pointer;
    transition: var(--transition);
}

.compare-select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.compare-table-container {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

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

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    background: #fafafa;
    font-weight: 500;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.compare-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-light);
    background: var(--color-background);
    border-radius: var(--radius-md);
    border: 2px dashed var(--color-border);
}

/* SEO Section */
.seo-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #fff 0%, var(--color-primary-light) 100%);
}

.seo-content h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 48px;
}

.seo-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.seo-column h3 {
    font-size: 20px;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
}

.seo-column p {
    color: var(--color-text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.seo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.seo-feature {
    text-align: center;
    padding: 24px;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

.seo-feature h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.seo-feature p {
    font-size: 14px;
    color: var(--color-text-light);
}

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

.footer-content {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-disclaimer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

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

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

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--color-border);
    }

    .nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

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

    .quiz-container {
        padding: 24px;
    }

    .quiz-nav {
        flex-direction: column;
    }

    .compare-selector {
        grid-template-columns: 1fr;
    }

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

    .footer-links {
        flex-wrap: wrap;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeIn 0.5s ease;
}

/* Star Rating Colors */
.star-filled {
    color: #ffc107;
}

.star-empty {
    color: #ddd;
}
