/* 
* TechItalia - Main Stylesheet
* Dark modern theme with yellow accent
*/

/* ------------------- */
/* Custom Properties   */
/* ------------------- */
:root {
    /* Colors */
    --color-background: #121212;
    --color-surface: #1e1e1e;
    --color-surface-light: #2a2a2a;
    --color-surface-lighter: #333333;
    --color-primary: #ffff00;
    --color-primary-dark: #cccc00;
    --color-text: #ffffff;
    --color-text-muted: #b0b0b0;
    --color-border: #3a3a3a;
    --color-success: #4CAF50;
    --color-warning: #FFC107;
    --color-error: #F44336;
    
    /* Sizes */
    --container-width: 1200px;
    --header-height: 80px;
    --section-spacing: 100px;
    --card-border-radius: 8px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-small: 0 2px 10px rgba(0, 0, 0, 0.2);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-large: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* ------------------- */
/* Reset               */
/* ------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

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

img, picture, svg {
    max-width: 100%;
    display: block;
}

input, button, textarea, select {
    font: inherit;
}

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

ul, ol {
    list-style: none;
}

/* ------------------- */
/* Utility Classes     */
/* ------------------- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

.dark-bg {
    background-color: var(--color-surface);
}

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

.hidden {
    display: none !important;
}

.divider {
    width: 6rem;
    height: 0.4rem;
    background-color: var(--color-primary);
    margin: 1.5rem auto 4rem;
}

.left-align .divider {
    margin-left: 0;
}

/* Buttons */
.btn-yellow {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-background);
    font-weight: 600;
    font-size: 1.6rem;
    padding: 1.2rem 2.4rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
    text-align: center;
}

.btn-yellow:hover, .btn-yellow:focus {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--color-text);
    font-weight: 600;
    font-size: 1.6rem;
    padding: 1.1rem 2.3rem;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
    text-align: center;
}

.btn-outline:hover, .btn-outline:focus {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-link {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    position: relative;
    transition: all var(--transition-fast);
}

.btn-link i {
    margin-left: 0.8rem;
    transition: transform var(--transition-fast);
}

.btn-link:hover, .btn-link:focus {
    color: var(--color-primary-dark);
}

.btn-link:hover i, .btn-link:focus i {
    transform: translateX(4px);
}

/* ------------------- */
/* Cookie Banner       */
/* ------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-surface-light);
    box-shadow: var(--shadow-large);
    z-index: 1000;
    padding: 2rem;
    transition: transform var(--transition-medium);
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cookie-content p {
    margin-bottom: 2rem;
}

.cookie-content a {
    color: var(--color-primary);
}

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

.cookie-settings {
    background-color: var(--color-surface-lighter);
    padding: 2rem;
    margin-top: 2rem;
    border-radius: var(--card-border-radius);
}

.cookie-settings h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.cookie-option {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

.cookie-option input {
    margin-right: 1rem;
}

#save-cookie-settings {
    margin-top: 1.5rem;
}

/* ------------------- */
/* Header & Navigation */
/* ------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-small);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 2.4rem;
    font-weight: 700;
}

.logo img {
    height: 40px;
    margin-right: 1rem;
}

nav ul {
    display: flex;
}

nav ul li:not(:last-child) {
    margin-right: 3rem;
}

nav ul li a {
    font-size: 1.6rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-medium);
}

nav ul li a:hover, nav ul li a:focus {
    color: var(--color-primary);
}

nav ul li a:hover::after, nav ul li a:focus::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: all var(--transition-fast);
}

/* Mobile Navigation */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--color-surface);
        box-shadow: var(--shadow-large);
        padding: 8rem 2rem 2rem;
        transition: right var(--transition-medium);
        z-index: 100;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin-right: 0 !important;
        margin-bottom: 2rem;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* ------------------- */
/* Hero Section        */
/* ------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-content {
    max-width: 650px;
    padding: 5rem 0;
}

.hero-content h1 {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--color-text-muted);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

/* ------------------- */
/* Section Headers     */
/* ------------------- */
.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-header h2 {
    font-size: 3.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ------------------- */
/* Chi Siamo Section   */
/* ------------------- */
.two-column {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.column {
    flex: 1;
}

.column p {
    margin-bottom: 2rem;
    color: var(--color-text-muted);
}

.column p:last-of-type {
    margin-bottom: 3rem;
}

.image-container {
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.image-container img {
    width: 100%;
    height: auto;
    transition: transform var(--transition-medium);
}

.image-container:hover img {
    transform: scale(1.05);
}

/* ------------------- */
/* Prodotti Section    */
/* ------------------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 6rem;
}

.product-card {
    background-color: var(--color-surface-light);
    padding: 3rem;
    border-radius: var(--card-border-radius);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.product-icon {
    width: 6rem;
    height: 6rem;
    margin-bottom: 2rem;
}

.product-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.product-card p {
    margin-bottom: 2rem;
    color: var(--color-text-muted);
}

.product-showcase {
    display: flex;
    align-items: center;
    gap: 4rem;
    background-color: var(--color-surface-light);
    border-radius: var(--card-border-radius);
    overflow: hidden;
}

.product-image {
    flex: 1;
    min-height: 300px;
}

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

.product-features {
    flex: 1;
    padding: 4rem;
}

.product-features h3 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
}

.product-features ul li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
}

.product-features ul li i {
    color: var(--color-primary);
    margin-right: 1rem;
}

/* ------------------- */
/* Servizi Section     */
/* ------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.service-card {
    text-align: center;
    padding: 3rem;
    border-radius: var(--card-border-radius);
    background-color: #ffffff;
    color: var(--color-background);
    transition: transform var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 2rem;
}

.service-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.service-card p {
    color: #666;
}

/* ------------------- */
/* Testimonial Section */
/* ------------------- */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-content {
    background-color: var(--color-surface-light);
    border-radius: var(--card-border-radius);
    padding: 4rem;
    position: relative;
}

.quote-icon {
    color: var(--color-primary);
    font-size: 3rem;
    margin-bottom: 2rem;
}

.testimonial-content > p {
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 3rem;
}

.client-info h4 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.client-info p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.rating {
    color: var(--color-primary);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
}

.control-prev, .control-next {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    transition: color var(--transition-fast);
}

.control-prev:hover, .control-next:hover {
    color: var(--color-primary);
}

.testimonial-dots {
    display: flex;
    margin: 0 2rem;
}

.dot {
    width: 1rem;
    height: 1rem;
    background-color: var(--color-text-muted);
    border-radius: 50%;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.dot.active {
    background-color: var(--color-primary);
}

/* ------------------- */
/* Blog Preview Section*/
/* ------------------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.blog-card {
    background-color: var(--color-surface-light);
    border-radius: var(--card-border-radius);
    overflow: hidden;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.blog-image {
    height: 200px;
    background-color: var(--color-surface-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image img {
    max-height: 100%;
    width: auto;
}

.blog-content {
    padding: 2.5rem;
}

.blog-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.blog-content p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.blog-cta {
    text-align: center;
    margin-top: 4rem;
}

/* ------------------- */
/* Contact Section     */
/* ------------------- */
.contact-info {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    margin-bottom: 2.5rem;
}

.contact-item i {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-right: 2rem;
    min-width: 2.5rem;
}

.contact-item h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: var(--color-surface-light);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
}

.subscription-form {
    background-color: var(--color-surface-light);
    padding: 3rem;
    border-radius: var(--card-border-radius);
}

.subscription-form h3 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.subscription-form p {
    margin-bottom: 2.5rem;
    color: var(--color-text-muted);
}

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

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

.form-group input {
    width: 100%;
    padding: 1.2rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text);
    transition: border-color var(--transition-fast);
}

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

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 1rem;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

.form-group.checkbox a {
    color: var(--color-primary);
}

/* ------------------- */
/* Footer              */
/* ------------------- */
footer {
    background-color: var(--color-surface);
    padding: 6rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    flex: 1 1 300px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1.5rem;
}

.footer-logo p {
    color: var(--color-text-muted);
}

.footer-links {
    flex: 2 1 600px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-column h4 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.8rem;
    width: 3rem;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column ul li a {
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.footer-column ul li a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 1.4rem;
}

/* ------------------- */
/* Thanks Page         */
/* ------------------- */
.thanks-section {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.thanks-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 5rem 0;
}

.success-icon {
    font-size: 6rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.thanks-content h1 {
    font-size: 3.6rem;
    margin-bottom: 2rem;
}

.thanks-content p {
    font-size: 1.8rem;
    color: var(--color-text-muted);
    margin-bottom: 4rem;
}

.next-steps {
    text-align: left;
    background-color: var(--color-surface-light);
    padding: 3rem;
    border-radius: var(--card-border-radius);
    margin-bottom: 3rem;
}

.next-steps h3 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.next-steps li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
}

.next-steps li i {
    color: var(--color-primary);
    margin-right: 1rem;
}

.next-steps a {
    color: var(--color-primary);
}

.thanks-content .social-links {
    justify-content: center;
    margin-bottom: 3rem;
}

/* ------------------- */
/* Legal Pages         */
/* ------------------- */
.legal-section {
    padding-top: calc(var(--header-height) + 5rem) !important;
    padding-bottom: 5rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-surface-light);
    padding: 4rem;
    border-radius: var(--card-border-radius);
}

.last-updated {
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    text-align: right;
}

.legal-block {
    margin-bottom: 4rem;
}

.legal-block h2 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
}

.legal-block h3 {
    font-size: 2rem;
    margin: 2rem 0 1.5rem;
}

.legal-block p {
    margin-bottom: 1.5rem;
}

.legal-block ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-block ul li {
    margin-bottom: 0.8rem;
}

.legal-block a {
    color: var(--color-primary);
}

/* ------------------- */
/* Blog Pages          */
/* ------------------- */
.blog-hero {
    background-color: var(--color-surface);
    padding: calc(var(--header-height) + 5rem) 0 5rem;
    text-align: center;
}

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

.blog-hero-content p {
    font-size: 1.8rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.blog-posts {
    padding-top: 5rem;
}

.blog-card.featured {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .blog-card.featured {
        flex-direction: row;
    }
    
    .blog-card.featured .blog-image {
        flex: 1;
        height: auto;
    }
    
    .blog-card.featured .blog-content {
        flex: 2;
    }
}

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

.blog-category {
    color: var(--color-primary);
}

.blog-subscribe {
    margin-top: 5rem;
}

.subscribe-form {
    background-color: transparent;
    padding: 0;
}

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

.subscribe-form input {
    background-color: var(--color-surface-light);
}

/* ------------------- */
/* Article Pages       */
/* ------------------- */
.article-section {
    padding-top: calc(var(--header-height) + 5rem);
    padding-bottom: 5rem;
}

.article-header {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--color-text-muted);
}

.article-header h1 {
    font-size: 3.6rem;
    line-height: 1.2;
    margin-bottom: 2.5rem;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.article-share span {
    color: var(--color-text-muted);
}

.article-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    background-color: var(--color-surface-light);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.article-share a:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
}

.article-featured-image {
    max-width: 1000px;
    margin: 0 auto 5rem;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

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

.article-content h2 {
    font-size: 2.8rem;
    margin: 4rem 0 2rem;
}

.article-content h3 {
    font-size: 2.4rem;
    margin: 3rem 0 1.5rem;
}

.article-content h4 {
    font-size: 2rem;
    margin: 2.5rem 0 1.2rem;
}

.article-content p {
    margin-bottom: 2rem;
    color: var(--color-text-muted);
}

.article-content ul, .article-content ol {
    margin: 0 0 2rem 2rem;
    color: var(--color-text-muted);
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin-bottom: 1rem;
}

.article-content a {
    color: var(--color-primary);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast);
}

.article-content a:hover {
    border-color: var(--color-primary);
}

.article-tags {
    max-width: 800px;
    margin: 0 auto 4rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.article-tags span {
    color: var(--color-text-muted);
}

.article-tags a {
    background-color: var(--color-surface-light);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-size: 1.4rem;
    transition: all var(--transition-fast);
}

.article-tags a:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
}

.article-navigation {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--color-border);
    padding-top: 3rem;
}

.article-nav-prev, .article-nav-next {
    flex: 0 0 48%;
}

.article-nav-next {
    text-align: right;
}

.article-navigation a {
    display: block;
    padding: 2rem;
    background-color: var(--color-surface-light);
    border-radius: var(--card-border-radius);
    transition: all var(--transition-fast);
}

.article-navigation a:hover {
    background-color: var(--color-surface-lighter);
}

.article-navigation span {
    display: block;
    font-size: 1.4rem;
    color: var(--color-text-muted);
    margin-bottom: 0.8rem;
}

.article-navigation p {
    font-size: 1.8rem;
    font-weight: 600;
}

.article-nav-prev a {
    padding-left: 1.5rem;
}

.article-nav-next a {
    padding-right: 1.5rem;
}

.related-articles {
    margin-top: 5rem;
}

/* ------------------- */
/* Responsive          */
/* ------------------- */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .two-column {
        flex-direction: column;
    }
    
    .product-showcase {
        flex-direction: column;
    }
    
    .product-features {
        padding: 3rem;
    }
    
    .article-header h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 56.25%; /* 1rem = 9px */
    }
    
    .section {
        padding: 6rem 0;
    }
    
    .hero-content h1 {
        font-size: 3.6rem;
    }
    
    .testimonial-content {
        padding: 3rem;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 2rem;
    }
    
    .article-nav-prev, .article-nav-next {
        flex: 0 0 100%;
    }
    
    .article-nav-next {
        text-align: left;
    }
    
    .legal-content {
        padding: 2.5rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 50%; /* 1rem = 8px */
    }
    
    .section-header h2 {
        font-size: 3.2rem;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
    
    .article-header h1 {
        font-size: 2.8rem;
    }
    
    .article-content h2 {
        font-size: 2.4rem;
    }
    
    .article-content h3 {
        font-size: 2.2rem;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
