/* 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;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.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-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 20px;
    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;
}

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

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

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

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

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

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

.nav-link:hover,
.nav-link.active {
    color: #007bff;
}

/* 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;
    margin-bottom: 20px;
    color: #333;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #0056b3;
}

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

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

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

/* Sections */
.featured,
.filters,
.comparisons-list,
.content,
.contact-section {
    padding: 60px 0;
}

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

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

.comparison-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.card-category {
    display: inline-block;
    background: #e9ecef;
    color: #666;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    margin-bottom: 15px;
}

.card-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

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

.card-link:hover {
    text-decoration: underline;
}

/* Filters */
.filter-controls {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.search-box input,
.category-filter select {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    min-width: 250px;
}

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

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

/* Comparison Detail */
.comparison-header {
    text-align: center;
    margin-bottom: 50px;
}

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

.comparison-header .category {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
}

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

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

.comparison-overview h2 {
    margin-bottom: 15px;
    color: #333;
}

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

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

.comparison-section h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 20px;
}

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

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

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

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

.cons li::before {
    content: "✗ ";
    color: #dc3545;
    font-weight: bold;
}

.features li::before {
    content: "• ";
    color: #007bff;
    font-weight: bold;
}

.external-links {
    background: #e9f7ff;
    border: 1px solid #b8e6ff;
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
}

.external-links h3 {
    margin-bottom: 15px;
    color: #333;
}

.external-links a {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
}

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

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

.content-main h2,
.content-main h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

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

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

.content-main li {
    margin-bottom: 8px;
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.sidebar-box h4 {
    margin-bottom: 15px;
    color: #333;
}

.sidebar-link {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
}

.sidebar-link:hover {
    text-decoration: underline;
}

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

.value-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.value-item h4 {
    margin-bottom: 10px;
    color: #333;
}

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

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

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

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

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

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

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

.submit-button:hover {
    background: #0056b3;
}

.contact-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    height: fit-content;
}

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

.contact-item h3 {
    margin-bottom: 10px;
    color: #333;
}

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

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

.contact-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
}

.contact-note h4 {
    margin-bottom: 10px;
    color: #856404;
}

.contact-note p {
    color: #856404;
    margin: 0;
}

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

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

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

.legal-content h2,
.legal-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333;
}

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

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

.legal-content li {
    margin-bottom: 8px;
}

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

/* Disclaimer Specific */
.disclaimer-notice {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.disclaimer-notice h2 {
    margin-top: 0;
    color: #856404;
}

.final-notice {
    background: #e9f7ff;
    border: 2px solid #007bff;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    text-align: center;
}

.final-notice h3 {
    margin-top: 0;
    color: #004085;
}

/* Disclaimer Section */
.disclaimer-section {
    background: #f8f9fa;
    padding: 40px 0;
}

.disclaimer-box {
    background: white;
    border: 1px solid #e9ecef;
    border-left: 4px solid #ffc107;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.disclaimer-box h3 {
    margin-bottom: 15px;
    color: #333;
}

.disclaimer-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.disclaimer-link:hover {
    text-decoration: underline;
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 60px 20px;
}

.error-message h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

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

/* Footer */
.footer {
    background: #333;
    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 {
    margin-bottom: 20px;
    color: white;
    font-size: 18px;
}

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

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

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

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav {
        flex-direction: column;
        gap: 20px;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box input,
    .category-filter select {
        min-width: auto;
        width: 100%;
    }
    
    .comparison-sections {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .featured,
    .filters,
    .comparisons-list,
    .content,
    .contact-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .comparison-card {
        padding: 20px;
    }
    
    .sidebar-box,
    .contact-info {
        padding: 20px;
    }
}