/* 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: #2c3e50;
    color: white;
    padding: 15px;
    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;
}

.cookie-accept {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 15px;
}

.cookie-accept:hover {
    background: #2980b9;
}

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid #e1e8ed;
    padding: 0;
    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;
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
}

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

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db;
}

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

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

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

.hero p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

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

.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.page-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.popular-comparisons h2,
.features h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #2c3e50;
}

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

.comparison-card {
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 25px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}

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

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

.comparison-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.comparison-card .category {
    background: #ecf0f1;
    color: #7f8c8d;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    display: inline-block;
}

.comparison-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

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

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

.feature h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
}

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

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

.value {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.value h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 18px;
}

/* View All */
.view-all {
    text-align: center;
}

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

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-secondary {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-secondary:hover {
    background: #3498db;
    color: white;
}

/* Filters */
.filters {
    margin-bottom: 40px;
}

.search-box {
    margin-bottom: 20px;
}

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

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

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

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

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

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

.detail-header img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.detail-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #2c3e50;
}

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

.detail-section {
    margin-bottom: 40px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.detail-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 24px;
}

.detail-section h3 {
    color: #34495e;
    margin-bottom: 15px;
    font-size: 20px;
}

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

.detail-section li {
    margin-bottom: 8px;
    color: #555;
}

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

.external-links a {
    display: inline-block;
    margin: 0 10px;
    padding: 10px 20px;
    background: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s;
}

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

.educational-notice {
    background: #e8f4f8;
    border: 1px solid #bee5eb;
    border-radius: 6px;
    padding: 20px;
    margin: 30px 0;
    text-align: center;
    color: #0c5460;
}

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

.content-wrapper h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 28px;
}

.content-wrapper h3 {
    color: #34495e;
    margin-bottom: 15px;
    margin-top: 30px;
    font-size: 22px;
}

.content-wrapper p {
    margin-bottom: 15px;
    color: #555;
    font-size: 16px;
}

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

.content-wrapper li {
    margin-bottom: 8px;
    color: #555;
}

/* Contact Form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form h2,
.contact-info h2 {
    margin-bottom: 30px;
    color: #2c3e50;
}

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

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

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

.form-group textarea {
    resize: vertical;
}

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

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

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

.contact-item {
    margin-bottom: 25px;
}

.contact-item h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 18px;
}

.contact-item p {
    color: #555;
    margin: 0;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
}

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

.response-time {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #3498db;
}

.response-time h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

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

.not-found h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #2c3e50;
}

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

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
    margin-top: 80px;
}

.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: 18px;
}

.footer-section p {
    color: #bdc3c7;
    font-size: 14px;
    line-height: 1.6;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    transition: color 0.2s;
}

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

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

.footer-bottom p {
    color: #bdc3c7;
    font-size: 14px;
}

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

    .nav {
        gap: 20px;
    }

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

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

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .cookie-accept {
        margin-left: 0;
    }

    .category-filters {
        justify-content: center;
    }
}

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

    .hero {
        padding: 50px 0;
    }

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

    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .popular-comparisons,
    .features,
    .content-section,
    .contact-section {
        padding: 40px 0;
    }
}