* {
    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: #2c3e50;
    color: white;
    padding: 15px 0;
    z-index: 1000;
    display: none;
}

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

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

.cookie-accept {
    background: #e67e22;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}

.cookie-accept:hover {
    background: #d35400;
}

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    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;
}

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

.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: #e67e22;
    border-bottom-color: #e67e22;
}

/* Main Content */
.main {
    min-height: calc(100vh - 200px);
}

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

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

.hero-description {
    font-size: 20px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-button {
    display: inline-block;
    background: #e67e22;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #d35400;
}

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

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
}

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

.comparison-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.comparison-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    border-color: #e67e22;
}

.comparison-image {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.comparison-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

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

.comparison-overview {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

/* Features Grid */
.features {
    background: #f8f9fa;
}

.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: #2c3e50;
}

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

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

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

.comparison-header .comparison-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.comparison-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.comparison-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

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

.comparison-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
}

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

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

.comparison-section li:last-child {
    border-bottom: none;
}

.comparison-overview-section {
    grid-column: 1 / -1;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

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

.external-link {
    display: inline-block;
    background: #2c3e50;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    margin: 0 10px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.external-link:hover {
    background: #34495e;
}

.disclaimer-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}

.disclaimer-box p {
    color: #856404;
    font-weight: 500;
    margin: 0;
}

/* Comparisons Directory */
.comparisons-header {
    padding: 40px 0;
    text-align: center;
    background: #f8f9fa;
}

.comparisons-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.search-filter-section {
    padding: 30px 0;
}

.search-filter-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

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

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

.category-filter {
    background: white;
}

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

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

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

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

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

.submit-button {
    background: #e67e22;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #d35400;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 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;
    font-weight: 600;
    margin-bottom: 20px;
    color: #e67e22;
}

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

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

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

.footer-links a:hover {
    color: #e67e22;
}

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

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

.content-page h1 {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

.content-page h2 {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin: 40px 0 20px;
}

.content-page h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin: 30px 0 15px;
}

.content-page p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

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

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

.contact-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.contact-info h3 {
    margin-top: 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav {
        gap: 20px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-content {
        grid-template-columns: 1fr;
    }
    
    .search-filter-container {
        flex-direction: column;
    }
    
    .search-input {
        min-width: auto;
        width: 100%;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

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