/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    background-color: #fff;
}

/* Container */
.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;
}

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

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

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.2rem;
}

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

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

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

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

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

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

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

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

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

.hero p {
    font-size: 1.2rem;
    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: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

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

/* Main Content */
.main {
    flex: 1;
}

/* Sections */
section {
    padding: 60px 0;
}

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

.comparison-card {
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

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

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

.comparison-card .category {
    display: inline-block;
    background: #ecf0f1;
    color: #7f8c8d;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

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

.comparison-card .btn-primary {
    width: 100%;
}

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

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

.feature {
    text-align: center;
}

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

.feature p {
    color: #666;
    line-height: 1.6;
}

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

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

/* Comparison Detail */
.comparison-detail {
    max-width: 800px;
    margin: 0 auto;
}

.comparison-header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 1px solid #e1e8ed;
}

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

.comparison-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.comparison-header .category {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.comparison-section {
    padding: 40px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.comparison-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.comparison-section h3 {
    color: #34495e;
    margin: 25px 0 15px 0;
    font-size: 1.3rem;
}

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

.comparison-section li {
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
    position: relative;
    padding-left: 25px;
}

.comparison-section li:before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.pros li:before {
    content: "✓";
    color: #27ae60;
}

.cons li:before {
    content: "✗";
    color: #e74c3c;
}

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

.external-links h3 {
    margin-top: 0;
}

.external-links a {
    color: #3498db;
    text-decoration: none;
    margin-right: 15px;
}

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

/* Content Article */
.content {
    padding: 40px 0;
}

.content-article {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.content-article h2 {
    color: #2c3e50;
    margin: 40px 0 20px 0;
    font-size: 1.8rem;
}

.content-article h3 {
    color: #34495e;
    margin: 30px 0 15px 0;
    font-size: 1.3rem;
}

.content-article h4 {
    color: #34495e;
    margin: 25px 0 10px 0;
    font-size: 1.1rem;
}

.content-article p {
    margin-bottom: 15px;
    color: #555;
}

.content-article ul,
.content-article ol {
    margin: 15px 0 15px 30px;
}

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

/* Disclaimer Boxes */
.disclaimer-box {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}

.disclaimer-box.important {
    background: #e3f2fd;
    border-color: #2196f3;
}

.disclaimer-box.warning {
    background: #fff3e0;
    border-color: #ff9800;
}

.disclaimer-box h4 {
    margin-top: 0;
    color: #2c3e50;
}

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

.value {
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 25px;
}

.value h4 {
    color: #3498db;
    margin-bottom: 15px;
}

/* Contact */
.contact-section {
    padding: 40px 0;
}

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

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
}

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

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

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

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

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

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

.contact-item h3 {
    color: #34495e;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

/* FAQ */
.faq-section {
    margin-top: 60px;
}

.faq-section h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

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

.faq-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
}

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

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

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

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

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

.footer-section h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
}

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

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

.footer-section ul li a {
    color: #ecf0f1;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.footer-section ul li a:hover {
    opacity: 1;
}

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

/* Error State */
.error-state {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 40px 0;
}

.error-state h2 {
    color: #e74c3c;
    margin-bottom: 15px;
}

.error-state p {
    color: #666;
    margin-bottom: 25px;
}

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
        font-size: 0.9rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .filters {
        flex-direction: column;
    }
    
    .search-box input,
    .category-filter select {
        min-width: auto;
        width: 100%;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .comparison-card {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .btn-primary,
    .btn-secondary {
        display: none;
    }
    
    .main {
        margin: 0;
        padding: 0;
    }
    
    .page-header {
        background: none;
        padding: 20px 0;
    }
    
    .comparison-card {
        border: 1px solid #ccc;
        margin-bottom: 20px;
        break-inside: avoid;
    }
}