/* ===== CSS Variables ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #f97316;
    --secondary-dark: #ea580c;
    --accent: #10b981;
    --background: #f8fafc;
    --surface: #ffffff;
    --surface-elevated: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.2s ease;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

ul {
    list-style: none;
}

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

select {
    font-family: inherit;
    font-size: inherit;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

.section-title {
    text-align: center;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
}

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

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

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

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

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

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

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

.btn-cta:hover {
    background: var(--secondary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

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

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

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

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

.nav-list a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

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

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

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

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

/* ===== Hero Section ===== */
.hero {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 50%, #fef3c7 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Seat Illustration */
.seat-illustration {
    position: relative;
    width: 280px;
    height: 320px;
}

.seat-back {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 200px;
    background: linear-gradient(145deg, #4f46e5, #6366f1);
    border-radius: 20px 20px 0 0;
    box-shadow: var(--shadow-lg);
}

.seat-back::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(145deg, #818cf8, #a5b4fc);
    border-radius: 12px;
}

.seat-base {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 60px;
    background: linear-gradient(145deg, #4338ca, #4f46e5);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.seat-headrest {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 80px;
    background: linear-gradient(145deg, #6366f1, #818cf8);
    border-radius: 30px 30px 10px 10px;
    box-shadow: var(--shadow);
}

.seat-armrest {
    position: absolute;
    bottom: 80px;
    width: 30px;
    height: 80px;
    background: linear-gradient(145deg, #4338ca, #4f46e5);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.seat-armrest.left {
    left: 15px;
}

.seat-armrest.right {
    right: 15px;
}

/* ===== Filter Bar ===== */
.filter-bar {
    background: var(--surface);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 72px;
    z-index: 50;
}

.filter-bar .container {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

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

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

.filter-group select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-primary);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: var(--transition);
}

.filter-group select:hover {
    border-color: var(--primary);
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.view-toggle {
    display: flex;
    gap: 4px;
    margin-left: auto;
    background: var(--border-light);
    padding: 4px;
    border-radius: var(--radius-sm);
}

.view-btn {
    padding: 8px 12px;
    border-radius: 4px;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

.view-btn.active {
    background: var(--surface);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

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

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

.product-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.product-image {
    position: relative;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image-placeholder {
    font-size: 4rem;
    opacity: 0.8;
}

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

.product-badge.top-rated {
    background: var(--accent);
}

.product-compare-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

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

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

.product-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-brand {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

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

.stars {
    color: #fbbf24;
    letter-spacing: 2px;
}

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

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.feature-tag {
    padding: 4px 10px;
    background: var(--border-light);
    color: var(--text-secondary);
    font-size: 0.75rem;
    border-radius: 20px;
}

.product-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

/* ===== Table View ===== */
.products-table-wrapper {
    overflow-x: auto;
}

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

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

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

.products-table tbody tr {
    transition: var(--transition);
}

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

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

.table-product {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.table-product-info h4 {
    font-size: 0.9375rem;
    margin-bottom: 2px;
}

.table-product-info span {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.hidden {
    display: none !important;
}

/* ===== Quiz Section ===== */
.quiz-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

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

.quiz-header {
    text-align: center;
    margin-bottom: 32px;
}

.quiz-header h2 {
    margin-bottom: 8px;
}

.quiz-header p {
    color: var(--text-secondary);
}

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

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

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

.progress-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.quiz-content {
    min-height: 250px;
    margin-bottom: 32px;
}

.quiz-question {
    animation: fadeIn 0.3s ease;
}

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

.quiz-question h3 {
    margin-bottom: 24px;
    font-size: 1.25rem;
}

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

.quiz-option {
    padding: 16px 20px;
    background: var(--border-light);
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    font-weight: 500;
}

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

.quiz-option.selected {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.quiz-result {
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.quiz-result h3 {
    margin-bottom: 24px;
}

.result-product {
    background: var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.result-product .product-card {
    max-width: 350px;
    margin: 0 auto;
    text-align: left;
}

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

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

.compare-slot {
    position: relative;
}

.compare-select {
    width: 100%;
    padding: 14px 40px 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text-primary);
    font-size: 0.9375rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    transition: var(--transition);
}

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

.compare-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.compare-clear {
    position: absolute;
    right: 36px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    font-size: 1.25rem;
    display: none;
    align-items: center;
    justify-content: center;
}

.compare-slot.has-value .compare-clear {
    display: flex;
}

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

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

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

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

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

.compare-table thead th:first-child {
    background: var(--primary-dark);
    color: white;
}

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

.compare-product-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.compare-product-image {
    width: 80px;
    height: 80px;
    background: var(--border-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.compare-product-name {
    font-size: 0.9375rem;
    font-weight: 600;
}

.check-icon {
    color: var(--accent);
    font-size: 1.25rem;
}

.cross-icon {
    color: var(--text-muted);
    font-size: 1.25rem;
}

/* ===== Guide Section ===== */
.guide-section {
    padding: 80px 0;
    background: var(--background);
}

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

.guide-card {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.guide-card h3 {
    margin-bottom: 12px;
}

.guide-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ===== SEO Section ===== */
.seo-section {
    padding: 80px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

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

.seo-content h2 {
    margin-bottom: 24px;
    text-align: center;
}

.seo-content h3 {
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--primary);
}

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

/* ===== Footer ===== */
.footer {
    background: var(--text-primary);
    color: var(--text-muted);
    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;
    color: white;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

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

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9375rem;
    transition: var(--transition);
}

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

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

.footer-bottom p {
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.affiliate-disclosure {
    font-size: 0.8125rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--surface);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--border);
    color: var(--text-primary);
}

.modal-body {
    padding: 40px;
}

.modal-body h2 {
    margin-bottom: 20px;
}

.modal-body p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .seat-illustration {
        transform: scale(0.8);
    }

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

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--surface);
        padding: 20px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 16px;
    }

    .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);
    }

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

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

    .filter-group select {
        width: 100%;
    }

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

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

    .quiz-container {
        padding: 32px 24px;
    }

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

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

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

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

    .btn {
        width: 100%;
    }
}

/* ===== Multi-Page Navigation ===== */
.nav-list a.active {
    color: var(--primary);
}

.nav-list a.active::after {
    width: 100%;
}

/* ===== Page Hero (For inner pages) ===== */
.page-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 50%, #f8fafc 100%);
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 16px;
    font-size: clamp(2rem, 5vw, 2.75rem);
}

.page-hero .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-secondary);
}

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

.breadcrumb span {
    color: var(--text-muted);
}

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

.latest-guides .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 16px;
}

.latest-guides .section-header h2 {
    margin-bottom: 0;
}

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

.guide-article-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.guide-article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.guide-article-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
}

.guide-article-image.safety {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.guide-article-image.howto {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.guide-article-image.guide {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.guide-article-image.laws {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
}

.guide-article-image.tips {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.guide-article-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.guide-article-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.guide-article-card h3 a {
    color: var(--text-primary);
}

.guide-article-card h3 a:hover {
    color: var(--primary);
}

.guide-article-excerpt {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.guide-article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.guide-article-meta .read-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== Blog Index Page ===== */
.blog-index {
    padding: 80px 0;
}

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

/* ===== Blog Article Page ===== */
.article-page {
    padding: 60px 0 100px;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

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

.article-header .category {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-header .meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.article-header .meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-content {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--text-primary);
}

.article-content h2 {
    font-size: 1.625rem;
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.article-content h3 {
    font-size: 1.25rem;
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

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

.article-content li {
    margin-bottom: 10px;
    list-style: disc;
}

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

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

/* Info Boxes */
.info-box {
    padding: 24px 28px;
    border-radius: var(--radius);
    margin: 32px 0;
    position: relative;
}

.info-box.tip {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-left: 4px solid var(--accent);
}

.info-box.warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
}

.info-box.important {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-left: 4px solid var(--primary);
}

.info-box.safety {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    border-left: 4px solid #ec4899;
}

.info-box-title {
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.info-box ul {
    margin-bottom: 0;
    margin-top: 12px;
}

/* Key Takeaway Card */
.key-takeaway {
    background: var(--surface);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 40px 0;
    text-align: center;
}

.key-takeaway-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.key-takeaway h4 {
    font-size: 1.125rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.key-takeaway p {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--text-secondary);
}

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

.author-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.author-info .role {
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.author-info p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.7;
}

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

.related-articles h3 {
    text-align: center;
    margin-bottom: 40px;
}

/* ===== About Page ===== */
.about-content {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text h2 {
    margin-bottom: 24px;
    font-size: 1.75rem;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 20px;
    font-size: 1.0625rem;
}

.about-image {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 50%, #fef3c7 100%);
    border-radius: var(--radius-xl);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
}

.values-section {
    padding: 80px 0;
    background: var(--border-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.value-card {
    background: var(--surface);
    padding: 36px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.team-section {
    padding: 80px 0;
}

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

.team-member {
    text-align: center;
}

.team-avatar {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    margin: 0 auto 20px;
}

.team-member h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

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

.team-member p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ===== Contact Page ===== */
.contact-content {
    padding: 80px 0;
}

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

.contact-info h2 {
    margin-bottom: 20px;
}

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

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

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

.contact-method-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

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

.contact-method p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

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

.contact-form h3 {
    margin-bottom: 24px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--surface);
}

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

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

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

.legal-container h2 {
    font-size: 1.5rem;
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.legal-container h2:first-child {
    margin-top: 0;
}

.legal-container h3 {
    font-size: 1.125rem;
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-container p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-container ul {
    margin-bottom: 20px;
    padding-left: 24px;
}

.legal-container li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    list-style: disc;
    line-height: 1.7;
}

.legal-container .last-updated {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

/* ===== Trust Banner ===== */
.trust-banner {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
}

.trust-item-icon {
    font-size: 1.5rem;
}

/* ===== Responsive Updates ===== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        height: 300px;
        order: -1;
    }

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

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0 40px;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .trust-items {
        gap: 30px;
    }

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

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