/* CSS Variables */
:root {
    --primary: 210 100% 50%; /* #007bff */
    --primary-dark: 210 100% 40%; /* #0056b3 */
    --secondary: 108 76% 47%; /* #28a745 */
    --accent: 45 100% 51%; /* #ffc107 */
    --danger: 354 100% 58%; /* #dc3545 */
    --purple: 262 52% 47%; /* #6f42c1 */
    --background: 210 11% 98%; /* #f8f9fa */
    --surface: 0 0% 100%; /* #ffffff */
    --text: 210 11% 15%; /* #212529 */
    --text-light: 210 9% 31%; /* #495057 */
    --text-muted: 210 7% 46%; /* #6c757d */
    --border: 210 14% 89%; /* #dee2e6 */
    --shadow: 210 14% 83%; /* #ced4da */
    --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
    --gradient-accent: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--danger)));
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: hsl(var(--text));
    background-color: hsl(var(--background));
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: hsl(var(--primary));
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: hsl(var(--primary-dark));
}

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

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6 {
    flex: 0 0 50%;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.125rem;
    color: hsl(var(--text-light));
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-primary {
    background: hsl(var(--primary));
    color: white;
    border-color: hsl(var(--primary));
}

.btn-primary:hover {
    background: hsl(var(--primary-dark));
    border-color: hsl(var(--primary-dark));
    color: white;
}

.btn-secondary {
    background: hsl(var(--text-light));
    color: white;
    border-color: hsl(var(--text-light));
}

.btn-secondary:hover {
    background: hsl(var(--text));
    border-color: hsl(var(--text));
    color: white;
}

.btn-outline {
    background: transparent;
    color: hsl(var(--primary));
    border-color: hsl(var(--primary));
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Header */
.header {
    background: hsl(var(--surface));
    box-shadow: 0 2px 10px hsla(var(--shadow) / 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--text));
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: hsl(var(--text-light));
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:hover {
    color: hsl(var(--primary));
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: hsl(var(--primary));
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: hsl(var(--text));
    margin: 3px 0;
    transition: 0.3s;
}

/* Banner */
.banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 70px;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.banner-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: hsl(var(--text));
}

.banner-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: hsl(var(--text-light));
}

/* Company Info */
.company-info {
    background: hsl(var(--surface));
}

.info-content {
    padding-right: 2rem;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.icon-wrapper .icon {
    width: 30px;
    height: 30px;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding-left: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: hsl(var(--background));
    border-radius: 10px;
    box-shadow: 0 5px 15px hsla(var(--shadow) / 0.1);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-weight: 500;
    color: hsl(var(--text-light));
    margin: 0;
}

/* Services */
.services {
    background: hsl(var(--background));
}

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

.service-card {
    background: hsl(var(--surface));
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px hsla(var(--shadow) / 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px hsla(var(--shadow) / 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: hsl(var(--text));
}

.service-card p {
    color: hsl(var(--text-light));
    margin: 0;
}

/* Portfolio */
.portfolio {
    background: hsl(var(--surface));
}

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

.portfolio-item {
    background: hsl(var(--background));
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px hsla(var(--shadow) / 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    margin-bottom: 1rem;
    color: hsl(var(--text));
}

.portfolio-content p {
    color: hsl(var(--text-light));
    margin: 0;
}

/* Reviews */
.reviews {
    background: hsl(var(--background));
}

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

.review-card {
    background: hsl(var(--surface));
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px hsla(var(--shadow) / 0.1);
    position: relative;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.star {
    width: 20px;
    height: 20px;
    color: hsl(var(--accent));
}

.quote-icon {
    width: 30px;
    height: 30px;
    color: hsl(var(--primary));
    opacity: 0.3;
}

.review-card p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: hsl(var(--text-light));
}

.reviewer strong {
    color: hsl(var(--text));
    font-weight: 600;
}

.reviewer span {
    color: hsl(var(--text-muted));
    margin-left: 0.5rem;
}

/* Newsletter */
.newsletter {
    background: var(--gradient-primary);
    color: white;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.newsletter-text h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

.newsletter-form {
    flex: 1;
    max-width: 500px;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.privacy-note {
    text-align: center;
}

.privacy-note a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

/* Contact */
.contact {
    background: hsl(var(--background));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: hsl(var(--text));
}

.contact-details p {
    color: hsl(var(--text-light));
    margin: 0;
}

/* Forms */
.contact-form {
    background: hsl(var(--surface));
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px hsla(var(--shadow) / 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: hsl(var(--text));
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid hsl(var(--border));
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid hsl(var(--border));
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Footer */
.footer {
    background: hsl(var(--text));
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-links svg {
    width: 20px;
    height: 20px;
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: hsl(var(--text));
    color: white;
    padding: 1.5rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    white-space: nowrap;
    min-width: auto;
    padding: 8px 16px;
}

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

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: hsl(var(--surface));
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid hsl(var(--border));
}

.modal-header h3 {
    margin: 0;
    color: hsl(var(--text));
}

.close {
    font-size: 2rem;
    cursor: pointer;
    color: hsl(var(--text-muted));
    line-height: 1;
}

.close:hover {
    color: hsl(var(--text));
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
}

.cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid hsl(var(--border));
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cookie-category div {
    flex: 1;
    margin-right: 1rem;
}

.cookie-category h4 {
    margin-bottom: 0.5rem;
    color: hsl(var(--text));
}

.cookie-category p {
    color: hsl(var(--text-light));
    font-size: 0.9rem;
    margin: 0;
}

/* Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: hsl(var(--border));
    transition: 0.4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: hsl(var(--primary));
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: hsl(var(--surface));
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 5px 15px hsla(var(--shadow) / 0.1);
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }

    .col-md-6 {
        flex: 0 0 100%;
    }

    .info-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .stats-grid {
        padding-left: 0;
        grid-template-columns: 1fr;
    }

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

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

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

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

    .service-card,
    .contact-form {
        padding: 2rem;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

/* Blog Styles */
.blog-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
    text-align: center;
}

.blog-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.blog-hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.blog-section {
    padding: 80px 0;
    background: hsl(var(--background));
}

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

.blog-card {
    background: hsl(var(--surface));
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px hsla(var(--shadow) / 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px hsla(var(--shadow) / 0.15);
}

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: hsl(var(--primary));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: hsl(var(--text-muted));
}

.blog-date,
.blog-read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-content h2 {
    margin-bottom: 1rem;
}

.blog-content h2 a {
    color: hsl(var(--text));
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h2 a:hover {
    color: hsl(var(--primary));
}

.blog-content p {
    color: hsl(var(--text-light));
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: hsl(var(--background));
    color: hsl(var(--text-light));
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    border: 1px solid hsl(var(--border));
}

.blog-read-more {
    color: hsl(var(--primary));
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-read-more:hover {
    color: hsl(var(--primary-dark));
}

/* Article Page Styles */
.article-page {
    padding-top: 100px;
    min-height: 100vh;
}

.breadcrumb {
    padding: 1rem 0;
    font-size: 0.875rem;
    color: hsl(var(--text-muted));
}

.breadcrumb a {
    color: hsl(var(--primary));
    text-decoration: none;
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: hsl(var(--text-muted));
}

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

.article-category {
    display: inline-block;
    background: hsl(var(--primary));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: hsl(var(--text));
    line-height: 1.2;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--text-muted));
    font-size: 0.875rem;
}

.meta-icon {
    width: 16px;
    height: 16px;
    color: hsl(var(--primary));
}

.article-featured-image {
    margin-bottom: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px hsla(var(--shadow) / 0.1);
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

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

.article-intro {
    margin-bottom: 3rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: hsl(var(--text-light));
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: hsl(var(--text));
}

.content-section h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: hsl(var(--text));
}

.content-section p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.content-section ul,
.content-section ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.highlight-box {
    background: hsl(var(--background));
    border-left: 4px solid hsl(var(--primary));
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}

.highlight-box h3 {
    color: hsl(var(--primary));
    margin-top: 0;
    margin-bottom: 1rem;
}

.quote-box {
    background: hsl(var(--surface));
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid hsl(var(--secondary));
}

.quote-box blockquote {
    margin: 0;
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.6;
    color: hsl(var(--text-light));
}

.quote-box footer {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: hsl(var(--text-muted));
}

.quote-box cite {
    font-weight: 500;
}

.article-tags {
    margin: 3rem 0;
    padding: 2rem;
    background: hsl(var(--background));
    border-radius: 10px;
}

.article-tags h3 {
    margin-bottom: 1rem;
    color: hsl(var(--text));
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.author-bio {
    margin: 3rem 0;
    padding: 2rem;
    background: hsl(var(--surface));
    border-radius: 15px;
    box-shadow: 0 5px 15px hsla(var(--shadow) / 0.1);
}

.author-info {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.author-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.author-details h4 {
    margin-bottom: 0.5rem;
    color: hsl(var(--text));
}

.author-details p {
    color: hsl(var(--text-light));
    margin: 0;
    font-size: 0.95rem;
}

.social-share {
    margin: 3rem 0;
    text-align: center;
}

.social-share h3 {
    margin-bottom: 1.5rem;
    color: hsl(var(--text));
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.share-btn svg {
    width: 24px;
    height: 24px;
    color: white;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0a66c2;
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.related-articles {
    margin-top: 4rem;
    padding: 2rem;
    background: hsl(var(--background));
    border-radius: 15px;
}

.related-articles h3 {
    margin-bottom: 2rem;
    text-align: center;
    color: hsl(var(--text));
}

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

.related-card {
    background: hsl(var(--surface));
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid hsl(var(--border));
    transition: border-color 0.3s ease;
}

.related-card:hover {
    border-color: hsl(var(--primary));
}

.related-card h4 {
    margin-bottom: 0.5rem;
}

.related-card h4 a {
    color: hsl(var(--text));
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.related-card h4 a:hover {
    color: hsl(var(--primary));
}

.related-card p {
    color: hsl(var(--text-light));
    font-size: 0.875rem;
    margin: 0;
}

/* Legal Pages Styles */
.legal-page {
    padding-top: 100px;
    min-height: 100vh;
    background: hsl(var(--background));
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: hsl(var(--surface));
    border-radius: 15px;
}

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: hsl(var(--text));
}

.last-updated {
    color: hsl(var(--text-muted));
    font-size: 0.95rem;
}

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

.legal-section {
    margin-bottom: 3rem;
    background: hsl(var(--surface));
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px hsla(var(--shadow) / 0.05);
}

.legal-section h2 {
    color: hsl(var(--primary));
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.legal-section h3 {
    color: hsl(var(--text));
    margin: 1.5rem 0 1rem;
    font-size: 1.25rem;
}

.legal-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.data-controller,
.authority-info,
.contact-info {
    background: hsl(var(--background));
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 3px solid hsl(var(--primary));
}

.cookie-table {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: hsl(var(--surface));
    border-radius: 8px;
    overflow: hidden;
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid hsl(var(--border));
}

.cookie-table th {
    background: hsl(var(--primary));
    color: white;
    font-weight: 500;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-preferences-section {
    text-align: center;
    margin: 2rem 0;
    padding: 2rem;
    background: hsl(var(--background));
    border-radius: 10px;
    border: 2px dashed hsl(var(--border));
}

/* Print Styles */
@media print {
    .header,
    .cookie-banner,
    .modal {
        display: none !important;
    }

    .banner {
        margin-top: 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .section {
        padding: 20px 0;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --background: 0 0% 100%;
        --surface: 0 0% 98%;
        --text: 0 0% 0%;
        --text-light: 0 0% 20%;
        --border: 0 0% 50%;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --background: 210 11% 8%;
        --surface: 210 11% 12%;
        --text: 210 11% 98%;
        --text-light: 210 9% 85%;
        --text-muted: 210 7% 70%;
        --border: 210 14% 20%;
        --shadow: 210 14% 25%;
    }
}
