* {
    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;
}

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

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.25rem;
}

.logo img {
    margin-right: 0.5rem;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #c17817;
}

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

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.hero p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: #c17817;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

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

/* Comparison Grid */
.featured-comparisons {
    padding: 4rem 0;
}

.featured-comparisons h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

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

.comparison-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.5rem;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.comparison-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.comparison-card .category {
    color: #c17817;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.comparison-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

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

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

/* Transparency Section */
.transparency {
    background: #f8f9fa;
    padding: 4rem 0;
}

.transparency h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

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

.transparency-item {
    text-align: center;
    padding: 2rem;
}

.transparency-item h3 {
    margin-bottom: 1rem;
    color: #333;
}

.transparency-item p {
    color: #666;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #c17817;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: #c17817;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: white;
    padding: 1rem;
    z-index: 1000;
}

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

.cookie-content button {
    background: #c17817;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

/* Comparison Detail Page */
.comparison-detail {
    padding: 2rem 0;
}

.comparison-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

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

.comparison-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.comparison-section h3 {
    margin-bottom: 1rem;
    color: #333;
}

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

.comparison-section li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e5e5;
}

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

.external-links {
    text-align: center;
    margin-top: 2rem;
}

.external-links a {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #c17817;
    color: white;
    text-decoration: none;
    border-radius: 6px;
}

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

/* Directory Page */
.directory {
    padding: 2rem 0;
}

.directory-header {
    text-align: center;
    margin-bottom: 3rem;
}

.directory-controls {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.directory-controls input,
.directory-controls select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Content Pages */
.content-page {
    padding: 3rem 0;
}

.content-page h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.content-page h2 {
    margin: 2rem 0 1rem;
    color: #333;
}

.content-page p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-page ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.content-page li {
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

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

.submit-button {
    background: #c17817;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}

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

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

    .nav {
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .comparison-content {
        grid-template-columns: 1fr;
    }

    .directory-controls {
        flex-direction: column;
        align-items: center;
    }

    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .header-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .logo img {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .footer-content {
    text-align: right;
}