/* Reset and Base Styles */
* {
    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;
}

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

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-content .btn {
    margin-right: 10px;
}

.cookie-content a {
    color: #ccc;
    text-decoration: underline;
}

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

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

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

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #2563eb;
}

.nav {
    display: flex;
    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;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

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

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

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

.btn-secondary:hover {
    background: #4b5563;
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

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

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

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

.hero-subtitle {
    font-size: 20px;
    color: #64748b;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    background: #f8fafc;
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

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

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

.last-updated {
    font-size: 14px;
    color: #9ca3af;
    margin-top: 10px;
}

/* Sections */
.popular-comparisons,
.features,
.content-section,
.comparisons-directory {
    padding: 80px 0;
}

.popular-comparisons h2,
.features h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #1e293b;
}

.section-footer {
    text-align: center;
    margin-top: 50px;
}

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

.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(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.comparison-card-image {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.comparison-category {
    display: inline-block;
    background: #e0e7ff;
    color: #3730a3;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 15px;
}

.comparison-card p {
    color: #64748b;
    margin-bottom: 15px;
}

.comparison-features {
    list-style: none;
}

.comparison-features li {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}

.comparison-features li:before {
    content: "•";
    color: #2563eb;
    position: absolute;
    left: 0;
}

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

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

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

.feature-card p {
    color: #64748b;
    font-size: 16px;
}

/* Filters */
.filters {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

/* Comparison Detail */
.breadcrumb {
    background: #f8fafc;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

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

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

.comparison-detail {
    padding: 40px 0;
}

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

.comparison-header img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 12px;
}

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

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

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

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

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

.comparison-list {
    list-style: none;
    margin-bottom: 20px;
}

.comparison-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    padding-left: 20px;
}

.comparison-list li:before {
    content: "✓";
    color: #10b981;
    position: absolute;
    left: 0;
    font-weight: bold;
}

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

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

.external-links h4 {
    margin-bottom: 15px;
    color: #1e293b;
}

.external-links a {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
    color: #2563eb;
    text-decoration: none;
}

.external-links a:hover {
    text-decoration: underline;
}

/* Content Layout */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

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

.content-main h2:first-child {
    margin-top: 0;
}

.content-main h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 30px 0 15px 0;
    color: #374151;
}

.content-main p {
    margin-bottom: 20px;
    color: #4b5563;
    line-height: 1.7;
}

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

.content-main li {
    margin-bottom: 8px;
    color: #4b5563;
    line-height: 1.6;
}

.sidebar-box {
    background: #f8fafc;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.sidebar-box h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.sidebar-box ul {
    list-style: none;
}

.sidebar-box li {
    padding: 5px 0;
    color: #4b5563;
    position: relative;
    padding-left: 15px;
}

.sidebar-box li:before {
    content: "•";
    color: #2563eb;
    position: absolute;
    left: 0;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 5px;
    color: #374151;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-message {
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

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

.contact-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item strong {
    color: #374151;
}

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

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

.contact-note {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.contact-note h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1e293b;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 40px 0 20px 0;
    color: #1e293b;
}

.legal-content h2:first-child {
    margin-top: 0;
}

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

.legal-content p {
    margin-bottom: 20px;
    color: #4b5563;
    line-height: 1.7;
}

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

.legal-content li {
    margin-bottom: 8px;
    color: #4b5563;
    line-height: 1.6;
}

.important-notice {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
}

.important-notice h2 {
    color: #92400e;
    margin-bottom: 15px;
    margin-top: 0;
}

.important-notice p {
    color: #92400e;
    margin-bottom: 0;
}

/* Disclaimer Box */
.disclaimer-box {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}

.disclaimer-box h4 {
    color: #0c4a6e;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.disclaimer-box p {
    color: #0c4a6e;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* Not Found */
.not-found {
    padding: 80px 0;
    text-align: center;
}

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

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

/* Footer */
.footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 60px 0 20px 0;
    margin-top: 80px;
}

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

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

.footer-section p {
    line-height: 1.6;
    margin-bottom: 15px;
}

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

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

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

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .nav {
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .filters {
        align-items: stretch;
    }
    
    .category-filters {
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        min-width: auto;
    }
    
    .popular-comparisons,
    .features,
    .content-section,
    .comparisons-directory {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .comparison-card {
        padding: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}