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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 32px;
    height: 32px;
}

.brand-text {
    font-weight: bold;
    font-size: 1.2rem;
    color: hsl(23, 70%, 50%);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: hsl(23, 70%, 50%);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: white;
    padding: 1rem;
    z-index: 1000;
    transition: transform 0.3s;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: hsl(23, 70%, 50%);
    color: white;
}

.btn-primary:hover {
    background: hsl(23, 70%, 45%);
}

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #dee2e6;
}

.btn-secondary:hover {
    background: #e9ecef;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Popular Comparisons */
.popular-comparisons {
    padding: 4rem 0;
}

.popular-comparisons h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

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

.comparison-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    transition: box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

.comparison-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.comparison-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.comparison-card h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.comparison-card .category {
    color: hsl(23, 70%, 50%);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.comparison-card p {
    color: #666;
    line-height: 1.5;
}

/* Features Section */
.features {
    background: #f8f9fa;
    padding: 4rem 0;
}

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

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

.feature h3 {
    margin-bottom: 1rem;
    color: #333;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* Comparison Detail Page */
.comparison-detail {
    padding: 2rem 0;
}

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

.comparison-header img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.comparison-header h1 {
    margin-bottom: 0.5rem;
}

.comparison-header .category {
    color: hsl(23, 70%, 50%);
    font-weight: 500;
}

.comparison-content {
    display: grid;
    gap: 3rem;
}

.section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
}

.section h2 {
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 2px solid hsl(23, 70%, 50%);
    padding-bottom: 0.5rem;
}

.section ul {
    padding-left: 1.5rem;
}

.section li {
    margin-bottom: 0.5rem;
}

.external-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.disclaimer {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1rem;
    margin: 2rem 0;
    font-size: 0.9rem;
    color: #666;
}

/* Directory Page */
.directory {
    padding: 2rem 0;
}

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

.search-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 200px;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 1rem;
}

.filter-select {
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 1rem;
    background: white;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: hsl(23, 70%, 50%);
}

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

/* Content Pages */
.content-page {
    padding: 2rem 0;
}

.content-page h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.content-page h2 {
    margin: 2rem 0 1rem;
    color: #333;
}

.content-page p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.content-page ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.content-page li {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: hsl(23, 70%, 60%);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: hsl(23, 70%, 60%);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

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

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

    .search-filters {
        flex-direction: column;
    }

    .external-links {
        flex-direction: column;
    }
}

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

    .hero {
        padding: 2rem 0;
    }

    .popular-comparisons {
        padding: 2rem 0;
    }

    .features {
        padding: 2rem 0;
    }

    .comparison-card {
        padding: 1.5rem;
    }

    .section {
        padding: 1.5rem;
    }
}