:root {
    --primary-color: #1a4d7c;
    --secondary-color: #2c5f8d;
    --accent-color: #3a7ca5;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-secondary: #f8f9fa;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --header-height: 80px;
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --primary-color: #3a7ca5;
    --secondary-color: #2c5f8d;
    --accent-color: #4a8cb5;
    --text-color: #e0e0e0;
    --text-light: #b0b0b0;
    --bg-color: #1a1a1a;
    --bg-secondary: #2a2a2a;
    --border-color: #404040;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

.main-header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navigation-bar {
    padding: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    border-radius: 50%;
    object-fit: cover;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-color);
    cursor: pointer;
}

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

.nav-link {
    padding: 8px 15px;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.theme-switcher {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    padding: 8px 15px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.theme-switcher:hover {
    transform: scale(1.1);
}

.hero-banner {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 77, 124, 0.9), rgba(58, 124, 165, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 800px;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: white;
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 3px solid white;
}

.cta-button:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.section-heading {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-weight: 700;
}

.features-section,
.blog-posts-section,
.main-article-section,
.poll-section,
.disclaimer-section {
    padding: 80px 0;
}

.features-section {
    background-color: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-color);
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.featured-article {
    background: var(--bg-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.article-content {
    padding: 40px;
}

.article-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.article-excerpt {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.post-card {
    background: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.post-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.post-content {
    padding: 25px;
}

.post-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.post-excerpt {
    margin-bottom: 20px;
    color: var(--text-light);
}

.post-link {
    display: inline-block;
    font-weight: 600;
    color: var(--accent-color);
}

.poll-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-color);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.poll-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-align: center;
}

.poll-question {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-align: center;
}

.poll-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.poll-option {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.poll-option:hover {
    background: var(--border-color);
}

.poll-option input {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.poll-submit {
    margin-top: 20px;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.poll-submit:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.poll-results {
    margin-top: 30px;
}

.result-bar {
    display: grid;
    grid-template-columns: 150px 1fr 60px;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

.result-progress {
    background: var(--bg-secondary);
    border-radius: 10px;
    height: 30px;
    overflow: hidden;
}

.result-fill {
    background: var(--accent-color);
    height: 100%;
    transition: width 1s ease;
}

.disclaimer-box {
    background: #fff3cd;
    border-left: 5px solid var(--warning-color);
    padding: 30px;
    border-radius: 8px;
}

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

.disclaimer-box p {
    color: #856404;
    line-height: 1.8;
}

.main-footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-heading {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-text {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-registration {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

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

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

.footer-links a {
    color: white;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

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

.footer-contact li {
    margin-bottom: 15px;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-color);
    padding: 25px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn.accept {
    background: var(--success-color);
    color: white;
}

.cookie-btn.reject {
    background: var(--danger-color);
    color: white;
}

.cookie-btn.customize {
    background: var(--bg-secondary);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cookie-policy-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: underline;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
}

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

.dashboard-card {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.indicator {
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.indicator.positive {
    background: #d4edda;
    color: #155724;
}

.indicator.negative {
    background: #f8d7da;
    color: #721c24;
}

.indicator.stable {
    background: #d1ecf1;
    color: #0c5460;
}

.dashboard-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.signal-status-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.status-card {
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    color: white;
}

.status-card.green {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.status-card.yellow {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.status-card.red {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.status-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.status-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 10px 0;
}

.signal-item {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 5px solid;
}

.signal-item.positive-signal {
    border-left-color: #28a745;
}

.signal-item.neutral-signal {
    border-left-color: #ffc107;
}

.signal-item.negative-signal {
    border-left-color: #dc3545;
}

.signal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.signal-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.signal-badge.positive {
    background: #d4edda;
    color: #155724;
}

.signal-badge.neutral {
    background: #fff3cd;
    color: #856404;
}

.signal-badge.negative {
    background: #f8d7da;
    color: #721c24;
}

.signal-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.signal-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 15px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 12px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 2rem;
}

.info-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-form-container {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-color);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-label input {
    margin-top: 4px;
}

.submit-button {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    text-align: center;
}

.team-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.member-position {
    color: var(--primary-color);
    font-weight: 600;
    margin: 10px 0;
}

.member-bio {
    color: var(--text-light);
    line-height: 1.8;
}

.blog-post {
    padding: 50px 0;
}

.post-header {
    margin-bottom: 40px;
}

.post-featured-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 40px;
}

.post-meta {
    display: flex;
    gap: 25px;
    margin-top: 15px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.post-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
}

.post-content h2 {
    color: var(--primary-color);
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 2rem;
}

.post-content h3 {
    color: var(--secondary-color);
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
    margin: 20px 0 20px 30px;
}

.post-content li {
    margin-bottom: 10px;
}

.lead-paragraph {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.post-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.post-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tag {
    background: var(--bg-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.post-share {
    margin-top: 30px;
}

.share-btn {
    margin-right: 10px;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
}

.related-posts {
    margin-top: 80px;
}

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

.legal-page {
    padding: 50px 0;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.legal-section p,
.legal-section ul,
.legal-section ol {
    margin-bottom: 15px;
    line-height: 1.8;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--bg-color);
    margin: 15% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    text-align: center;
}

.modal-close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-button {
    margin-top: 20px;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

.faq-item {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.faq-question {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.faq-answer {
    line-height: 1.8;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .posts-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .post-featured-image {
        height: 400px;
    }

    .page-title {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .feature-card {
        padding: 25px 15px;
    }

    .article-content {
        padding: 25px;
    }

    .post-content {
        font-size: 1rem;
    }
}