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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: white;
    padding: 15px 0;
    z-index: 1000;
}

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

.cookie-content a {
    color: #4CAF50;
    text-decoration: none;
}

.cookie-content button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 18px;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: #4CAF50;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0;
    text-align: center;
}

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

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s;
}

.cta-button:hover {
    background: #45a049;
}

/* Sections */
.popular-comparisons,
.features {
    padding: 60px 0;
}

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

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.comparison-card {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 25px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}

.comparison-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.card-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-category {
    color: #666;
    font-size: 0.9rem;
}

.card-overview {
    color: #666;
    margin-bottom: 15px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #888;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

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

/* Directory Page */
.directory-header {
    padding: 40px 0;
    background: #f8f9fa;
}

.directory-controls {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-box,
.category-filter {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.search-box {
    flex: 1;
    min-width: 300px;
}

/* Comparison Detail */
.comparison-detail {
    padding: 40px 0;
}

.detail-header {
    text-align: center;
    margin-bottom: 40px;
}

.detail-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: block;
    border-radius: 12px;
}

.detail-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.detail-category {
    color: #666;
    font-size: 1.1rem;
}

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

.detail-section {
    margin-bottom: 40px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.detail-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.detail-list {
    list-style: none;
}

.detail-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e1e5e9;
}

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

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.pros {
    background: #e8f5e8;
    padding: 25px;
    border-radius: 8px;
}

.cons {
    background: #ffeaea;
    padding: 25px;
    border-radius: 8px;
}

.external-links {
    margin-top: 30px;
    padding: 20px;
    background: #f0f8ff;
    border-radius: 8px;
}

.external-links a {
    display: inline-block;
    margin: 5px 10px 5px 0;
    padding: 8px 16px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
}

.external-links a:hover {
    background: #0056b3;
}

/* Content Pages */
.content-page {
    padding: 40px 0;
}

.content-page h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

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

.content-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.content-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.content-section p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #666;
}

.content-section ul {
    margin-bottom: 20px;
    padding-left: 30px;
}

.content-section li {
    margin-bottom: 8px;
    color: #666;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
}

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

.submit-button {
    background: #4CAF50;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-button:hover {
    background: #45a049;
}

.contact-info {
    max-width: 600px;
    margin: 40px auto 0;
    text-align: center;
}

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

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: #4CAF50;
    text-decoration: none;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-section h4 {
    margin-bottom: 15px;
    color: #4CAF50;
}

.footer-section a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #4CAF50;
}

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

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        gap: 20px;
    }

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

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

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

    .pros-cons {
        grid-template-columns: 1fr;
    }

    .directory-controls {
        flex-direction: column;
    }

    .search-box {
        min-width: auto;
    }
}

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

    .hero {
        padding: 50px 0;
    }

    .popular-comparisons,
    .features {
        padding: 40px 0;
    }

    .contact-form {
        padding: 25px;
    }
}

/* Loading States */
.loading {
    text-align: center;
    padding: 40px 0;
    color: #666;
}

.error {
    text-align: center;
    padding: 40px 0;
    color: #d32f2f;
}

/* Disclosure Box */
.disclosure {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 20px;
    border-radius: 6px;
    margin: 30px 0;
    text-align: center;
}

.disclosure p {
    margin: 0;
    color: #856404;
    font-size: 0.95rem;
}