/* ===== CSS Variables ===== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --accent: #f59e0b;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-800);
    border: 2px solid var(--gray-200);
}

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

.btn-success {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.4);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.5);
}

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

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
}

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

.logo-text {
    color: var(--gray-900);
}

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

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

.nav-links a {
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition-fast);
    position: relative;
}

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

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

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

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

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

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.05;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 4rem 0;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== Features Banner ===== */
.features-banner {
    background: var(--dark);
    padding: 1.5rem 0;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
}

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

.feature-text {
    font-weight: 500;
}

/* ===== Section Styles ===== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Quiz Section ===== */
.quiz-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.quiz-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.quiz-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gray-200);
}

.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.5s ease;
}

.quiz-step {
    display: none;
}

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

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

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

.quiz-options {
    display: grid;
    gap: 1rem;
}

.quiz-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition);
}

.quiz-option:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
}

.option-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.option-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
}

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

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

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

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

.result-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.result-header h3 {
    font-size: 1.75rem;
    color: var(--gray-900);
}

.result-product {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.result-product .product-image {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.result-product .product-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.result-product .product-tagline {
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.result-product .product-specs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.result-product .spec {
    text-align: center;
}

.result-product .spec-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.result-product .spec-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
}

/* ===== Products Section ===== */
.products-section {
    background: var(--gray-50);
}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    padding: 0.625rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--gray-500);
}

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

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

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

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

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.75rem;
    background: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

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

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

.product-image-wrapper {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
    text-align: center;
}

.product-image {
    font-size: 5rem;
    transition: var(--transition);
}

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

.compare-checkbox {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    cursor: pointer;
    opacity: 0;
}

.compare-checkbox:checked + .compare-check {
    background: var(--primary);
    border-color: var(--primary);
}

.compare-checkbox:checked + .compare-check::after {
    display: block;
}

.compare-check {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    pointer-events: none;
    transition: var(--transition-fast);
}

.compare-check::after {
    content: '';
    display: none;
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.product-content {
    padding: 1.5rem;
}

.product-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: var(--accent);
}

.rating-count {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.product-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.product-spec {
    text-align: center;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: var(--radius);
}

.product-spec-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
}

.product-spec-label {
    font-size: 0.75rem;
    color: var(--gray-500);
}

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

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
}

.product-price .currency {
    font-size: 1rem;
    font-weight: 600;
}

.btn-buy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-buy:hover {
    transform: scale(1.05);
}

/* Products Table */
.products-table-wrapper {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

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

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

.products-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.products-table .model-cell {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.products-table .model-icon {
    font-size: 2rem;
}

.products-table .model-name {
    font-weight: 600;
    color: var(--gray-900);
}

.table-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.hidden {
    display: none !important;
}

/* ===== Compare Section ===== */
.compare-section {
    background: var(--white);
}

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

.compare-select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    color: var(--gray-700);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.compare-table-wrapper {
    overflow-x: auto;
    margin-bottom: 1rem;
}

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

.compare-table.active {
    display: table;
}

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

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

.compare-table .spec-label {
    text-align: left;
    font-weight: 600;
    color: var(--gray-700);
    background: var(--gray-50);
}

.compare-table .product-header {
    padding: 1.5rem;
}

.compare-table .product-header-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.compare-table .product-header-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
}

.compare-table .best-value {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary-dark);
    font-weight: 600;
}

.compare-hint {
    text-align: center;
    color: var(--gray-500);
    font-style: italic;
}

/* ===== Why Section ===== */
.why-section {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

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

.why-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.why-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.why-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* ===== Regulations Section ===== */
.regulations-section {
    background: var(--dark);
    color: var(--white);
}

.regulations-section .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-light);
}

.regulations-section .section-title {
    color: var(--white);
}

.regulations-section .section-subtitle {
    color: var(--gray-400);
}

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

.regulation-card {
    background: var(--dark-light);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.regulation-card h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.regulation-card ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.regulation-card li {
    color: var(--gray-300);
    font-size: 0.9375rem;
    padding-left: 1rem;
    position: relative;
}

.regulation-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.regulations-note {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: 2rem;
}

/* ===== SEO Section ===== */
.seo-section {
    background: var(--gray-50);
}

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

.seo-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.seo-content h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 2rem 0 1rem;
}

.seo-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.seo-content strong {
    color: var(--gray-800);
}

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

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

.newsletter-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

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

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

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

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

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

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

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9375rem;
    color: var(--gray-400);
}

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

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

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

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

.affiliate-disclosure {
    font-size: 0.8125rem !important;
    color: var(--gray-600) !important;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Compare FAB ===== */
.compare-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition);
    z-index: 100;
}

.compare-fab:hover {
    transform: scale(1.1);
}

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

.fab-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    background: var(--danger);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }

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

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

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-stats {
        gap: 2rem;
    }

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

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

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

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

    .filter-group {
        justify-content: center;
    }

    .view-toggle {
        justify-content: center;
    }

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

    .quiz-option {
        padding: 1.25rem;
    }

    .compare-fab {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

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

    .features-grid {
        gap: 1.5rem;
    }

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

    .quiz-container {
        padding: 1.5rem;
    }

    .quiz-question {
        font-size: 1.25rem;
    }
}

/* ===== Print Styles ===== */
@media print {
    .header,
    .hero-cta,
    .quiz-section,
    .newsletter-section,
    .compare-fab,
    .btn-buy {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .product-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
