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

.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 20px;
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

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

.cookie-content p {
    margin: 0;
    font-size: 14px;
}

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

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

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

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

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #2563eb;
}

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

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

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

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-secondary {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
}

.hero-subtitle {
    font-size: 20px;
    color: #64748b;
    margin-bottom: 30px;
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* Sections */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #1e293b;
}

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

.features {
    padding: 80px 0;
    background: #f8fafc;
}

/* Grids */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

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

/* Cards */
.comparison-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.comparison-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

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

.comparison-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1e293b;
}

.comparison-card .category {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.comparison-card p {
    color: #64748b;
    line-height: 1.6;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
}

/* Page Content */
.page-header {
    background: #f8fafc;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
}

.page-header p {
    font-size: 18px;
    color: #64748b;
}

.page-content {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1e293b;
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1e293b;
}

.content-section h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 25px 0 15px 0;
    color: #374151;
}

.content-section p {
    margin-bottom: 15px;
    color: #4b5563;
}

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

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

/* Filters */
.filters {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: end;
}

.search-box {
    flex: 1;
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
}

.category-filter label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #374151;
}

.category-select {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    background: white;
}

/* Comparison Detail */
.breadcrumb {
    margin-bottom: 30px;
    color: #64748b;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.comparison-detail {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
}

.comparison-header {
    padding: 40px;
    background: #f8fafc;
    display: flex;
    gap: 30px;
    align-items: center;
}

.comparison-header img {
    width: 80px;
    height: 80px;
}

.comparison-meta h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e293b;
}

.comparison-meta .category {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.comparison-content {
    padding: 40px;
}

.comparison-section {
    margin-bottom: 40px;
}

.comparison-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1e293b;
}

.comparison-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 15px 0;
    color: #374151;
}

.feature-list,
.pros-cons-list {
    display: grid;
    gap: 8px;
}

.feature-item,
.pros-cons-item {
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 4px solid #e2e8f0;
}

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

.pros-item {
    border-left-color: #10b981;
    background: #f0fdf4;
}

.cons-item {
    border-left-color: #ef4444;
    background: #fef2f2;
}

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

.external-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    color: #2563eb;
    font-weight: 500;
}

.external-link:hover {
    background: #e2e8f0;
    text-decoration: none;
}

/* Disclaimer Box */
.disclaimer-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 20px;
    margin-top: 40px;
}

.disclaimer-box h3 {
    color: #92400e;
    margin-bottom: 10px;
}

.disclaimer-box p {
    color: #78350f;
    margin: 0;
}

/* Contact Form */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: grid;
    gap: 5px;
}

.form-group label {
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1e293b;
}

.contact-info p {
    color: #4b5563;
    margin: 0;
}

.contact-info a {
    color: #2563eb;
    text-decoration: none;
}

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

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px 0;
}

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

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

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

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

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

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

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.not-found {
    text-align: center;
    padding: 60px 20px;
}

.not-found h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1e293b;
}

.not-found p {
    color: #64748b;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .comparison-header {
        flex-direction: column;
        text-align: center;
    }
    
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .external-links {
        flex-direction: column;
    }
    
    .page-content {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .comparison-card,
    .feature-card {
        padding: 20px;
    }
    
    .comparison-header,
    .comparison-content {
        padding: 20px;
    }
}