:root {
    --primary-navy: #1a2b4a;
    --primary-sage: #7a9b8e;
    --accent-warm: #d4a574;
    --neutral-100: #ffffff;
    --neutral-200: #f8f9fa;
    --neutral-300: #e9ecef;
    --neutral-700: #495057;
    --neutral-900: #212529;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
}

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

body {
    font-family: 'DM Sans', -apple-system, sans-serif;
    color: var(--neutral-900);
    line-height: 1.7;
    background: var(--neutral-100);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: var(--neutral-100);
    border-bottom: 1px solid var(--neutral-300);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
}

.brand {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-badge {
    background: var(--primary-sage);
    color: white;
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.nav-links a {
    color: var(--neutral-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}

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

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

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

/* Trust Bar */
.trust-bar {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2a3f5f 100%);
    color: white;
    padding: 0.75rem 2rem;
    text-align: center;
}

.trust-items {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.95;
}

.trust-icon {
    width: 18px;
    height: 18px;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, var(--neutral-200) 0%, var(--neutral-100) 100%);
    padding: 5rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(122, 155, 142, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

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

.hero h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--neutral-700);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.search-box {
    background: white;
    border-radius: 12px;
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    border-radius: 8px;
}

.search-box button {
    background: var(--primary-navy);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.search-box button:hover {
    background: #0f1a2e;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--neutral-700);
}

.hero-stats span {
    font-weight: 600;
    color: var(--primary-navy);
}

/* Section Headers */
.section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-eyebrow {
    color: var(--primary-sage);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

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

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.category-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--neutral-300);
    text-decoration: none;
    display: block;
}

.category-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-sage);
}

.category-icon {
    background: linear-gradient(135deg, var(--primary-sage) 0%, #6a8b7e 100%);
    padding: 3rem 2rem 2rem;
    text-align: center;
    position: relative;
}

.category-icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: white;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.category-svg {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.category-content {
    padding: 2rem;
}

.category-title {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
}

.category-desc {
    color: var(--neutral-700);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.category-link {
    color: var(--primary-sage);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.category-link::after {
    content: '→';
    transition: transform 0.2s;
}

.category-card:hover .category-link::after {
    transform: translateX(4px);
}

/* Expert Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--neutral-200);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.feature-title {
    font-weight: 700;
    color: var(--primary-navy);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--neutral-700);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Comparison Section */
.comparison-section {
    background: var(--neutral-200);
    padding: 5rem 2rem;
}

.comparison-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.comparison-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent-warm);
}

.comparison-title {
    font-family: 'Crimson Pro', serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.comparison-badge {
    display: inline-block;
    background: var(--primary-sage);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.comparison-list {
    list-style: none;
    margin-top: 1.5rem;
}

.comparison-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--neutral-300);
    color: var(--neutral-700);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-link {
    color: var(--primary-sage);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.2s;
}

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

/* Fitment Database */
.fitment-section {
    background: var(--primary-navy);
    color: white;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.fitment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.fitment-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.fitment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.fitment-text h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.fitment-text p {
    font-size: 1.125rem;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.fitment-list {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.fitment-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    text-decoration: none;
    color: white;
    transition: all 0.2s;
    border: 1px solid rgba(255,255,255,0.1);
}

.fitment-list-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(8px);
}

.fitment-list-item:last-child {
    margin-bottom: 0;
}

.fitment-car {
    font-weight: 600;
    font-size: 1.05rem;
}

.fitment-count {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--neutral-900);
    color: rgba(255,255,255,0.7);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.footer-brand {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-title {
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

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

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

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

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

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

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

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

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.category-card {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }
.category-card:nth-child(6) { animation-delay: 0.6s; }