/* CSS Variables */
:root {
    --primary: #8b5a7b;
    --primary-dark: #6d4560;
    --primary-light: #a87d96;
    --secondary: #2d3748;
    --accent: #d4a373;
    --accent-light: #e9c8a3;
    --background: #fafaf9;
    --surface: #ffffff;
    --text: #1a202c;
    --text-light: #4a5568;
    --text-muted: #718096;
    --border: #e2e8f0;
    --border-light: #edf2f7;
    --success: #48bb78;
    --error: #f56565;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hidden {
    display: none !important;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
    gap: 0.5rem;
}

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

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

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

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

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

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
}

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

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

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

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

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

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, #fdf4f5 0%, #f5f0f4 50%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(139, 90, 123, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.hero-title span {
    color: var(--primary);
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Categories Section */
.categories {
    padding: 5rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--surface);
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}

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

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.category-icon svg {
    width: 28px;
    height: 28px;
}

.category-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.category-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

.products-header {
    margin-bottom: 2rem;
}

.products-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--background);
    border-radius: var(--radius);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
}

.filter-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: border-color var(--transition);
}

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

.view-toggle {
    display: flex;
    gap: 0.25rem;
    margin-left: auto;
    background: var(--surface);
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.view-btn {
    padding: 0.5rem;
    border-radius: 4px;
    color: var(--text-muted);
    transition: all var(--transition);
}

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

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

.view-btn svg {
    display: block;
}

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

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

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

.product-image {
    position: relative;
    padding-top: 130%;
    background: linear-gradient(135deg, #f8f6f7 0%, #f0eef0 100%);
    overflow: hidden;
}

.product-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    opacity: 0.5;
}

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

.product-compare-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    opacity: 0;
}

.product-card:hover .product-compare-btn {
    opacity: 1;
}

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

.product-compare-btn.active {
    background: var(--primary);
    color: white;
    opacity: 1;
}

.product-info {
    padding: 1.25rem;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
    line-height: 1.4;
}

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

.product-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: var(--background);
    border-radius: 4px;
    color: var(--text-muted);
}

.product-price {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.product-rating .stars {
    color: #f6ad55;
}

.product-rating .count {
    color: var(--text-muted);
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.product-actions .btn {
    flex: 1;
}

/* Products Table */
.products-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

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

.products-table th {
    background: var(--background);
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
}

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

.products-table .table-image {
    width: 60px;
    height: 80px;
    background: var(--background);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.products-table .table-name {
    font-weight: 500;
    color: var(--text);
    max-width: 200px;
}

.products-table .table-rating {
    color: #f6ad55;
}

.products-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

/* Quiz Section */
.quiz-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f6f7 0%, #f0f4f8 100%);
}

.quiz-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.quiz-progress {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    width: 20%;
    transition: width 0.5s ease;
    border-radius: 3px;
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.quiz-step h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.quiz-hint {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

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

.quiz-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1rem;
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
    text-align: center;
}

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

.quiz-option.selected {
    border-color: var(--primary);
    background: rgba(139, 90, 123, 0.1);
}

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

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

/* Color Options */
.color-options .quiz-option {
    flex-direction: row;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
}

.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color);
    border: 2px solid var(--border);
}

.quiz-submit {
    width: 100%;
    margin-top: 2rem;
}

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

.quiz-result h3 {
    margin-bottom: 0.5rem;
}

.result-intro {
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.recommendation-card {
    background: var(--background);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border);
}

.recommendation-card .rec-image {
    width: 100px;
    height: 130px;
    margin: 0 auto 1rem;
    background: var(--surface);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.recommendation-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.recommendation-card .rec-match {
    font-size: 0.875rem;
    color: var(--success);
    font-weight: 600;
    margin-bottom: 1rem;
}

#quiz-restart {
    margin-top: 1rem;
}

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

.compare-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.compare-slot {
    background: var(--background);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.compare-slot:not(.empty) {
    border-style: solid;
    border-color: var(--primary-light);
}

.slot-placeholder {
    text-align: center;
    color: var(--text-muted);
}

.slot-placeholder svg {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.slot-content {
    text-align: center;
    width: 100%;
    position: relative;
}

.slot-remove {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 28px;
    height: 28px;
    background: var(--error);
    color: white;
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slot-image {
    width: 80px;
    height: 100px;
    margin: 0 auto 1rem;
    background: var(--surface);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.slot-name {
    font-size: 0.875rem;
    color: var(--text);
}

.compare-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-top: 2rem;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

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

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

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

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

/* SEO Content Section */
.seo-content {
    padding: 5rem 0;
    background: var(--background);
}

.seo-content h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

.seo-block {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.seo-block h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

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

.seo-block p:last-child {
    margin-bottom: 0;
}

.seo-cta {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(139, 90, 123, 0.1), rgba(139, 90, 123, 0.05));
    border-radius: var(--radius);
}

.seo-cta p {
    font-size: 1.1rem;
    color: var(--text);
    max-width: 800px;
    margin: 0 auto;
}

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

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

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

.footer-brand .logo-icon {
    background: white;
    color: var(--primary);
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.6;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: color var(--transition);
}

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

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

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

.affiliate-disclosure {
    margin-top: 0.5rem;
    font-size: 0.75rem !important;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .seo-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: var(--shadow);
    }

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

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

    .hero {
        padding: 8rem 0 4rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group label {
        margin-bottom: 0.25rem;
    }

    .view-toggle {
        margin-left: 0;
        justify-content: center;
    }

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

    .quiz-options {
        grid-template-columns: 1fr 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        order: -1;
    }

    .footer-brand .logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-cta .btn {
        width: 100%;
    }

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

    .quiz-options {
        grid-template-columns: 1fr;
    }

    .quiz-container {
        padding: 1.5rem;
    }
}

/* ============================================
   MULTI-PAGE SITE STYLES
   ============================================ */

/* Hero Eyebrow */
.hero-eyebrow {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Latest Guides Section */
.latest-guides {
    padding: 6rem 0;
    background: var(--background);
}

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

.guide-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    text-decoration: none;
    display: block;
}

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

.guide-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.guide-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.guide-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.guide-link {
    color: var(--primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.guide-link::after {
    content: '→';
    transition: transform var(--transition);
}

.guide-card:hover .guide-link::after {
    transform: translateX(5px);
}

.guides-cta {
    text-align: center;
}

/* Page Hero (for internal pages) */
.page-hero {
    padding: 10rem 0 4rem;
    background: linear-gradient(135deg, #fdf4f5 0%, #f5f0f4 50%, #f0f4f8 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.page-hero-small {
    padding: 9rem 0 3rem;
}

.page-hero-small h1 {
    font-size: 2.5rem;
}

/* About Page Styles */
.about-content {
    padding: 5rem 0;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.about-intro h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

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

.about-values {
    margin-bottom: 4rem;
}

.about-values h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text);
}

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

.value-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.about-team {
    margin-bottom: 4rem;
}

.about-team h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text);
}

.about-team > p {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

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

.team-member {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: white;
}

.team-member h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.member-role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.team-member p:last-child {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.about-approach {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.about-approach h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.about-approach p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-cta {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(139, 90, 123, 0.1), rgba(139, 90, 123, 0.05));
    border-radius: var(--radius-lg);
}

.about-cta h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.about-cta p {
    color: var(--text-light);
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-cta .btn {
    margin-top: 1rem;
}

/* Contact Page Styles */
.contact-content {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.contact-info > p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--background);
    border-radius: var(--radius);
}

.method-icon {
    font-size: 2rem;
}

.method-details h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.method-details p {
    color: var(--text-light);
    margin: 0;
}

.method-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.contact-topics h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.contact-topics ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.contact-topics li {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text);
}

.contact-form {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: var(--surface);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--text-light);
    font-size: 0.95rem;
}

.checkbox-label input {
    width: auto;
    margin-top: 0.25rem;
}

.btn-full {
    width: 100%;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
}

.form-note a {
    color: var(--primary);
}

.faq-section {
    margin-top: 4rem;
}

.faq-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text);
}

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

.faq-item {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.faq-item a {
    color: var(--primary);
}

/* Legal Page Styles */
.legal-content {
    padding: 4rem 0;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.legal-document h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.legal-document h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-document h3 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.legal-document p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-document ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-document li {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.legal-document strong {
    color: var(--text);
}

.contact-box {
    background: var(--background);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.contact-box p {
    margin-bottom: 0.25rem;
}

.legal-note {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    font-style: italic;
    font-size: 0.95rem;
}

/* Blog Index Styles */
.blog-content {
    padding: 4rem 0;
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.category-btn {
    padding: 0.625rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--surface);
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

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

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

.blog-grid {
    display: grid;
    gap: 2rem;
}

.blog-card {
    display: flex;
    gap: 2rem;
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.blog-card-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.blog-card-content {
    flex: 1;
}

.blog-card-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.blog-card h2 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.blog-card h2 a {
    color: var(--text);
    transition: color var(--transition);
}

.blog-card h2 a:hover {
    color: var(--primary);
}

.blog-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.blog-card-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Newsletter Section */
.newsletter-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-content > p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
}

.newsletter-form .btn {
    white-space: nowrap;
}

.newsletter-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Article Styles */
.article-header {
    padding: 10rem 0 4rem;
    background: linear-gradient(135deg, #fdf4f5 0%, #f5f0f4 50%, #f0f4f8 100%);
}

.article-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 1rem;
}

.article-header h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    color: var(--text);
    max-width: 800px;
}

.article-excerpt {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 700px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 500;
    color: var(--text);
}

.publish-date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.read-time {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Article Content */
.article-content {
    padding: 4rem 0;
}

.container-narrow {
    max-width: 720px;
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-light);
    margin-bottom: 1.75rem;
}

.article-content p.lead {
    font-size: 1.25rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.article-content h2 {
    font-size: 1.75rem;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.article-content h3 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.article-content h4 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.75rem;
    padding-left: 1.5rem;
}

.article-content li {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

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

.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

/* Info Boxes */
.info-box {
    background: linear-gradient(135deg, rgba(139, 90, 123, 0.08), rgba(139, 90, 123, 0.04));
    border-left: 4px solid var(--primary);
    padding: 1.5rem 2rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 2rem 0;
}

.info-box h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
    margin-top: 0;
}

.info-box p {
    margin-bottom: 0;
    font-size: 1rem;
}

.info-box-tip {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1), rgba(72, 187, 120, 0.05));
    border-left-color: var(--success);
}

.info-box-tip h4 {
    color: var(--success);
}

.info-box-important {
    background: linear-gradient(135deg, rgba(212, 163, 115, 0.12), rgba(212, 163, 115, 0.06));
    border-left-color: var(--accent);
}

.info-box-important h4 {
    color: #b8860b;
}

/* Related Articles */
.related-articles {
    padding: 4rem 0;
    background: var(--background);
}

.related-articles h2 {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}

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

.related-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.related-card h3 {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.4;
}

/* Active nav state */
.nav-links a.active {
    color: var(--primary);
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .page-hero {
        padding: 8rem 0 3rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-card {
        flex-direction: column;
        gap: 1rem;
    }

    .blog-card-icon {
        font-size: 2.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .article-header h1 {
        font-size: 2rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .legal-document {
        padding: 2rem 1.5rem;
    }

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