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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #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 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

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

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

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

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

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #007bff;
}

.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: #007bff;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
    transform: translateY(-1px);
}

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

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-top: 30px;
}

/* Main Content */
.main {
    min-height: 60vh;
}

.popular-comparisons {
    padding: 60px 0;
}

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

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

.comparison-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e9ecef;
}

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

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

.comparison-card img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.comparison-card h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
}

.comparison-category {
    background: #e9ecef;
    color: #495057;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

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

.comparison-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.card-link:hover {
    color: #0056b3;
}

.section-cta {
    text-align: center;
}

/* Features Section */
.features {
    background: #f8f9fa;
    padding: 60px 0;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}

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

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

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

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

.directory-header h1 {
    font-size: 42px;
    color: #333;
    margin-bottom: 15px;
}

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

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

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

.category-filter {
    min-width: 200px;
}

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

.comparison-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.comparison-header h1 {
    font-size: 42px;
    color: #333;
    margin-bottom: 15px;
}

.comparison-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

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

.comparison-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.comparison-section h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.comparison-section h3 {
    font-size: 22px;
    color: #495057;
    margin-bottom: 15px;
    margin-top: 25px;
}

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

.comparison-section li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.comparison-section li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.pros-list li:before {
    content: "✓";
    color: #28a745;
}

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

.external-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.external-link {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

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

.disclosure {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 20px;
    margin: 30px 0;
    color: #856404;
}

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

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

.content-page h2 {
    font-size: 32px;
    color: #495057;
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-page h3 {
    font-size: 24px;
    color: #495057;
    margin-top: 30px;
    margin-bottom: 15px;
}

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

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

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

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

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

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.contact-item {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.contact-item h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.contact-item p {
    color: #666;
    margin-bottom: 10px;
}

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

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

/* 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 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

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

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

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

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

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

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

    .nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

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

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

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

    .comparison-meta {
        flex-direction: column;
        gap: 10px;
    }

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

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

    .contact-form {
        margin: 0 20px;
        padding: 30px 20px;
    }
}

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

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 28px;
    }

    .comparison-card {
        padding: 20px;
    }

    .features {
        padding: 40px 0;
    }

    .content-page h1 {
        font-size: 32px;
    }

    .content-page h2 {
        font-size: 26px;
    }
}