* {
    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;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    font-size: 14px;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner a {
    color: #ffd700;
    text-decoration: underline;
}

.cookie-banner button {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 15px;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: #007bff;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.cta-button {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #0056b3;
}

.secondary-button {
    display: inline-block;
    background: #6c757d;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.secondary-button:hover {
    background: #545b62;
}

/* Sections */
section {
    padding: 80px 0;
}

.popular-comparisons {
    background: #f8f9fa;
}

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

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

.comparison-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

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

.comparison-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.comparison-card .category {
    background: #e9ecef;
    color: #495057;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: inline-block;
}

.comparison-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.comparison-card .learn-more {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}

.comparison-card .learn-more:hover {
    text-decoration: underline;
}

.view-all {
    text-align: center;
}

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

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

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

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

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

.comparison-header {
    text-align: center;
    margin-bottom: 50px;
}

.comparison-header img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.comparison-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
}

.comparison-content {
    display: grid;
    gap: 40px;
}

.comparison-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

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

.comparison-section ul {
    list-style: none;
    padding-left: 0;
}

.comparison-section li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.comparison-section li:before {
    content: "✓ ";
    color: #28a745;
    font-weight: bold;
    margin-right: 10px;
}

.cons-section li:before {
    content: "✗ ";
    color: #dc3545;
}

.external-links {
    margin-top: 30px;
}

.external-links a {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
}

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

/* Directory Page */
.directory-header {
    text-align: center;
    margin-bottom: 50px;
}

.directory-controls {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

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

.search-input {
    min-width: 300px;
}

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

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

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

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

.btn {
    background: #007bff;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: #0056b3;
}

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

.content-page h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.content-page h2 {
    font-size: 2rem;
    margin: 30px 0 15px 0;
    color: #333;
}

.content-page h3 {
    font-size: 1.5rem;
    margin: 25px 0 10px 0;
    color: #333;
}

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

.content-page ul,
.content-page ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.content-page li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Contact Info */
.contact-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

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

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

.contact-info a {
    color: #007bff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 50px 0 20px 0;
}

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

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-section li {
    margin-bottom: 8px;
}

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

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

    .nav-toggle {
        display: block;
    }

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

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

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

    .directory-controls {
        flex-direction: column;
        align-items: center;
    }

    .search-input {
        min-width: auto;
        width: 100%;
    }

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

    .cookie-banner button {
        margin: 10px 0 0 0;
    }
}

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

    section {
        padding: 50px 0;
    }

    .comparison-card {
        padding: 20px;
    }

    .hero {
        padding: 60px 0;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.hidden {
    display: none;
}

.disclosure {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 15px;
    margin: 20px 0;
    font-size: 0.9rem;
    color: #856404;
}