/* CSS Variables */
:root {
    --primary-color: #c45b84;
    --primary-dark: #a84a6f;
    --primary-light: #f8e8ee;
    --secondary-color: #2d3436;
    --accent-color: #e17055;
    --text-color: #2d3436;
    --text-light: #636e72;
    --background: #ffffff;
    --background-alt: #f9f9f9;
    --border-color: #e0e0e0;
    --success-color: #00b894;
    --warning-color: #fdcb6e;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --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: 'Inter', -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);
    color: var(--text-color);
    background: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

.hidden {
    display: none !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

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

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

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

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

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

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

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
}

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

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

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

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

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

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

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

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

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

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
}

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

/* Hero Section */
.hero {
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff5f8 50%, #fffbf7 100%);
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

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

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

.hero-features {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-light);
}

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

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* Products Section */
.products-section {
    padding: 80px 0;
}

.filters {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    align-items: center;
}

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

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

.filter-select {
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-body);
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

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

.view-toggle {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.view-btn {
    padding: 10px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

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

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

.product-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

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

.product-image {
    position: relative;
    padding-top: 130%;
    background: var(--background-alt);
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Emoji Display Styles */
.product-image.emoji-display {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 130%;
}

.product-emoji {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    line-height: 1;
    transition: var(--transition);
}

.product-card:hover .product-emoji {
    transform: translate(-50%, -50%) scale(1.15);
}

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

.product-badge.sale {
    background: var(--accent-color);
}

.product-compare-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    font-size: 1.2rem;
}

.product-compare-btn:hover {
    background: var(--primary-light);
    transform: scale(1.1);
}

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

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 8px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

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

.stars {
    color: #ffc107;
    font-size: 0.9rem;
}

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

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

.current-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
}

.original-price {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 0.9rem;
}

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

.products-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    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(--border-color);
}

.products-table th {
    background: var(--background-alt);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.products-table td {
    vertical-align: middle;
}

.table-product-image {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.table-product-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 100px;
    border-radius: var(--radius-sm);
    font-size: 2.5rem;
}

.table-product-name {
    font-weight: 500;
    max-width: 250px;
}

.table-compare-btn {
    width: 32px;
    height: 32px;
    background: var(--background-alt);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
}

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

.load-more-container {
    text-align: center;
    margin-top: 48px;
}

/* Quiz Section */
.quiz-section {
    padding: 80px 0;
    background: var(--background-alt);
}

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

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

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

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    transition: width 0.4s ease;
    width: 20%;
}

.progress-text {
    font-size: 0.9rem;
    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-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 24px;
    text-align: center;
}

.quiz-options {
    display: grid;
    gap: 12px;
}

.quiz-option {
    padding: 16px 20px;
    background: var(--background-alt);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

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

.quiz-option-icon {
    font-size: 1.4rem;
}

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

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

.quiz-results h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.quiz-results h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 32px 0 24px;
}

.style-profile {
    padding: 24px;
    background: linear-gradient(135deg, var(--primary-light), #fff5f8);
    border-radius: var(--radius-md);
    margin-bottom: 32px;
}

.style-profile p {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.style-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.style-tag {
    padding: 8px 16px;
    background: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
}

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

/* Compare Section */
.compare-section {
    padding: 80px 0;
}

.compare-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.compare-slot {
    aspect-ratio: 3/4;
    background: var(--background-alt);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

.compare-slot:hover {
    border-color: var(--primary-color);
}

.compare-slot.filled {
    border-style: solid;
    border-color: var(--border-color);
}

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

.plus-icon {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 8px;
    color: var(--border-color);
}

.slot-product {
    width: 100%;
    height: 100%;
    padding: 12px;
    display: flex;
    flex-direction: column;
}

.slot-product img {
    width: 100%;
    flex: 1;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.slot-emoji {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border-radius: var(--radius-sm);
}

.slot-product-name {
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 8px;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slot-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slot-remove:hover {
    background: #ff6b6b;
    color: white;
}

.compare-table-container {
    overflow-x: auto;
    margin-top: 40px;
}

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

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

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    background: var(--background-alt);
    font-weight: 600;
    position: sticky;
    left: 0;
}

.compare-table thead img {
    width: 100px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin: 0 auto 12px;
}

.compare-emoji {
    width: 100px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-radius: var(--radius-sm);
    margin: 0 auto 12px;
}

.compare-actions {
    text-align: center;
    margin-top: 24px;
}

/* SEO Section */
.seo-section {
    padding: 80px 0;
    background: var(--background-alt);
}

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

.seo-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 24px;
    text-align: center;
}

.seo-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin: 32px 0 16px;
    color: var(--text-color);
}

.seo-content p {
    margin-bottom: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

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

.seo-feature {
    background: white;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.seo-feature h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.seo-feature p {
    margin: 0;
    font-size: 0.95rem;
}

.seo-list {
    list-style: disc;
    padding-left: 24px;
    margin: 16px 0;
}

.seo-list li {
    margin-bottom: 8px;
    color: var(--text-light);
}

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

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

.newsletter-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.newsletter-content p {
    opacity: 0.9;
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-body);
}

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

.newsletter-form .btn:hover {
    background: var(--background-alt);
}

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

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

.footer-brand .logo {
    margin-bottom: 16px;
}

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

.footer-brand p {
    color: #b2bec3;
    line-height: 1.8;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #b2bec3;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #3d4852;
    text-align: center;
}

.footer-bottom p {
    color: #b2bec3;
    font-size: 0.9rem;
}

.affiliate-disclosure {
    margin-top: 12px;
    font-size: 0.8rem !important;
    opacity: 0.7;
}

/* Compare Toast */
.compare-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 16px;
    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);
    }
}

.toast-link {
    color: var(--primary-color);
    font-weight: 500;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    margin: 20px;
    width: 100%;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: var(--background-alt);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.modal-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.modal-product {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.modal-product:hover {
    border-color: var(--primary-color);
}

.modal-product img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.modal-emoji {
    width: 100%;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.modal-product p {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .compare-slots {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

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

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-features {
        gap: 24px;
    }

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

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

    .filter-group label {
        margin-bottom: 4px;
    }

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

    .quiz-container {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

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

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

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

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

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

    .newsletter-form input {
        min-width: 100%;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .mobile-nav,
    .hero-buttons,
    .filters,
    .quiz-section,
    .compare-section,
    .newsletter-section,
    .footer {
        display: none;
    }
}

/* =====================================================
   AUTHORITY SITE STYLES - Multi-Page Layout
   ===================================================== */

/* Page Hero (for internal pages) */
.page-hero {
    padding: 140px 20px 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff5f8 50%, #fffbf7 100%);
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
}

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

.page-hero .breadcrumb {
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.page-hero .breadcrumb a {
    color: var(--primary-color);
}

.page-hero .breadcrumb span {
    color: var(--text-light);
}

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

.latest-guides .section-header {
    margin-bottom: 60px;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.guide-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.guide-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), #fff5f8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.guide-card-content {
    padding: 28px;
}

.guide-card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.guide-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--text-color);
}

.guide-card-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.guide-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
}

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

.guide-card-link:hover {
    text-decoration: underline;
}

/* Blog Index Page */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    padding: 80px 0;
}

.blog-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.blog-card-image {
    height: 220px;
    background: linear-gradient(135deg, var(--primary-light), #fff5f8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
}

.blog-card-content {
    padding: 32px;
}

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

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.4;
    color: var(--text-color);
}

.blog-card-title a {
    color: inherit;
    transition: var(--transition);
}

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

.blog-card-excerpt {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-card-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.blog-card-author-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.blog-card-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Article Page */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px 100px;
}

.article-header {
    text-align: center;
    margin-bottom: 48px;
}

.article-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.article-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--text-color);
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-color);
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 56px 0 24px;
    color: var(--text-color);
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 40px 0 20px;
    color: var(--text-color);
}

.article-content p {
    margin-bottom: 24px;
}

.article-content ul,
.article-content ol {
    margin: 24px 0;
    padding-left: 28px;
}

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

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

.article-content li {
    margin-bottom: 12px;
    line-height: 1.8;
}

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

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

/* Info Box Styles */
.info-box {
    background: linear-gradient(135deg, var(--primary-light), #fff5f8);
    border-left: 4px solid var(--primary-color);
    padding: 28px 32px;
    margin: 40px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.info-box-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box p {
    margin: 0;
    color: var(--text-color);
    font-size: 1rem;
}

.info-box ul {
    margin: 12px 0 0;
    padding-left: 20px;
}

.info-box li {
    margin-bottom: 8px;
}

/* Key Takeaway Card */
.key-takeaway {
    background: #f0fdf4;
    border: 2px solid var(--success-color);
    padding: 28px 32px;
    margin: 40px 0;
    border-radius: var(--radius-md);
}

.key-takeaway-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #166534;
    display: flex;
    align-items: center;
    gap: 10px;
}

.key-takeaway p {
    margin: 0;
    color: var(--text-color);
}

/* Warning Box */
.warning-box {
    background: #fffbeb;
    border-left: 4px solid var(--warning-color);
    padding: 28px 32px;
    margin: 40px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.warning-box-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #92400e;
    display: flex;
    align-items: center;
    gap: 10px;
}

.warning-box p {
    margin: 0;
    color: var(--text-color);
}

/* Author Bio */
.author-bio {
    background: var(--background-alt);
    padding: 32px;
    border-radius: var(--radius-md);
    margin-top: 60px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.author-bio-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.author-bio-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.author-bio-content .author-title {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.author-bio-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* About Page */
.about-section {
    padding: 100px 0;
}

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

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 48px 0 24px;
    color: var(--text-color);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 24px;
    color: var(--text-light);
}

.about-content strong {
    color: var(--text-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 32px;
    margin: 48px 0;
}

.team-member {
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.team-member-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 20px;
}

.team-member-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.team-member-role {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.team-member-bio {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Page */
.contact-section {
    padding: 80px 0 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.contact-method-text h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-method-text p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

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

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

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

/* Legal Pages */
.legal-section {
    padding: 60px 0 100px;
}

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

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin: 48px 0 20px;
    color: var(--text-color);
}

.legal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 32px 0 16px;
    color: var(--text-color);
}

.legal-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
}

.legal-content ul {
    list-style: disc;
    padding-left: 24px;
    margin: 20px 0;
}

.legal-content li {
    margin-bottom: 12px;
    color: var(--text-light);
    line-height: 1.7;
}

.legal-content .last-updated {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

/* Related Articles */
.related-articles {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

.related-articles h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 32px;
    text-align: center;
}

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

.related-card {
    background: var(--background-alt);
    padding: 24px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.related-card:hover {
    background: var(--primary-light);
}

.related-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-card-title a {
    color: var(--text-color);
}

.related-card-title a:hover {
    color: var(--primary-color);
}

.related-card-meta {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Responsive for new sections */
@media (max-width: 768px) {
    .page-hero {
        padding: 120px 20px 60px;
    }

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

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
    }

    .article-meta {
        flex-direction: column;
        gap: 12px;
    }

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