:root {
    /* Color Palette - Trustworthy & Natural */
    --primary: #FF7B54;      /* Warm, friendly orange/coral */
    --primary-light: #FFB29A;
    --primary-dark: #E05F39;
    
    --secondary: #4A90E2;    /* Trustworthy blue */
    --secondary-light: #80B4EB;
    
    --bg-color: #F7F9FC;     /* Clean, soft grey/white background */
    --bg-white: #FFFFFF;
    
    --text-main: #2C3E50;    /* Soft dark blue/grey for text */
    --text-muted: #7F8C8D;
    
    --border-color: #E2E8F0;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 32px rgba(44, 62, 80, 0.15);
    
    --success: #2ECC71;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Layout Container */
.container {
    max-width: 1000px; /* Optimal width for readability */
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 2.5rem;
    margin-top: 1.5rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.highlight {
    color: var(--primary);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.bounce-hover {
    display: inline-block;
    color: var(--primary);
}

/* Card Panel (Finder Area) - Clean & Natural */
.glass-panel {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 800px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
}

/* Step Content */
.step-content {
    text-align: center;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.option-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: all var(--transition-bounce);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-sm);
}

.option-card:hover, .option-card:active, .option-card.active {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.option-card.active {
    background: rgba(255, 123, 84, 0.1);
}

.option-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    transition: transform var(--transition-bounce);
}

.option-card:hover .option-icon {
    transform: scale(1.1);
    color: var(--primary);
}

.option-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-main);
}

/* Results Area */
.results-container {
    width: 100%;
    margin-top: 1rem;
}

.hidden {
    display: none !important;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
}

/* Buttons */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-secondary {
    background: var(--bg-color);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #E2E8F0;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 123, 84, 0.3);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

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

.product-img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform var(--transition-medium);
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border-top: 1px solid var(--border-color);
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.product-vendor {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

/* Loading Spinner */
.loader {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-color);
    border-bottom-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin: 2rem auto;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer */
.footer {
    margin-top: auto;
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .glass-panel {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .step-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .options-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 0.8rem;
    }
    
    .option-card {
        padding: 1.2rem 0.5rem;
        gap: 0.5rem;
    }
    
    .option-icon {
        font-size: 2rem;
    }
    
    .option-label {
        font-size: 0.95rem;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .results-header h2 {
        font-size: 1.5rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for products on mobile if possible, or 1 */
        gap: 1rem;
    }
    
    .product-img-container {
        height: 150px;
    }
    
    .product-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr; /* 1 column on very small screens */
    }
}

/* Ad Placeholders */
.ad-placeholder {
    background: #E2E8F0;
    border: 1px dashed #CBD5E1;
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    width: 100%;
}

.ad-leaderboard {
    height: 90px;
    max-width: 728px;
    margin: 0 auto 2rem auto;
}

.ad-square {
    height: 250px;
    width: 100%;
}

/* Sponsored Label */
.sponsored-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.product-card.sponsored {
    border: 2px solid var(--primary-light);
    box-shadow: 0 4px 15px rgba(255, 123, 84, 0.15);
}

/* Lead Generation / Newsletter */
.lead-gen-box {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 3rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.lead-gen-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.lead-gen-box h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.lead-gen-box p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* Partners Section */
.partners-section {
    margin-top: 4rem;
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
}

.partners-title {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.partners-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.partner-logo-placeholder {
    padding: 1rem 1.5rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-muted);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.partner-logo-placeholder:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --- THEMES FOR SEO LANDING PAGES --- */
/* The user requested to keep the main style (white cards, orange buttons/logo) exactly the same,
   and ONLY change the body background color to reflect the 'vibe' of the category. */

body.theme-hem {
    background-color: #E6F0FA; /* Zacht, koel lichtblauw voor mannen */
}

body.theme-haar {
    background-color: #FFF0F5; /* Zacht roze/paars voor vrouwen */
}

body.theme-kind {
    background-color: #F0FFF4; /* Speels lichtgroen voor kinderen */
}

body.theme-baby {
    background-color: #FFFBF0; /* Zacht warm geel/creme voor babys */
}

body.theme-opaoma {
    background-color: #FDF5E6; /* Nostalgisch warm beige/sepia voor ouderen */
}

/* --- ANIMATIONS --- */
@keyframes gift-bounce {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.1) translateY(-10px); }
}

.gift-animate {
    animation: gift-bounce 0.4s ease-in-out;
}

.loading-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.loading-icon {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.8;
    margin-bottom: 20px;
    animation: gift-bounce 1s infinite;
}

.loading-bar-container {
    width: 80%;
    max-width: 300px;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.loading-bar {
    position: absolute;
    top: 0; left: 0; height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 1.5s ease-in-out;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 20px;
    margin: 2px;
}

#subtitle-target {
    color: var(--primary);
    transition: color 0.3s ease;
}

/* Discount Badge */
.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff4757;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(255, 71, 87, 0.4);
    z-index: 10;
    transform: rotate(10deg);
    animation: gift-bounce 2s infinite;
}

/* Blogs Area */
.blog-preview-section {
    width: 100%;
}
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}
.blog-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    cursor: pointer;
    text-align: left;
    position: relative;
    overflow: hidden;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.blog-card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}
.blog-card h3 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}
.blog-card-snippet {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}
.blog-card-content {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-main);
    line-height: 1.6;
    animation: fadeIn 0.4s ease;
}
.blog-card-content h3 {
    margin-top: 15px;
    font-size: 1.1rem;
    color: var(--primary);
}
.blog-card.open .blog-card-content {
    display: block;
}
.blog-card.open .blog-card-snippet {
    display: none;
}
.blog-read-more {
    color: var(--primary);
    font-weight: bold;
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
}
.blog-card.open .blog-read-more {
    display: none;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
