/* ====================================
   Piramis Locator Solution - Main Stylesheet
   Official Colors: #0a3990 (Blue) | #e6001c (Red)
   ==================================== */

/* CSS Variables */
:root {
    --primary-blue: #0a3990;
    --primary-blue-dark: #062660;
    --primary-blue-light: #1a4cb0;
    --accent-red: #e6001c;
    --accent-red-dark: #c70018;
    --accent-red-light: #ff3349;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --light-gray: #e9ecef;
    --gradient-blue: linear-gradient(135deg, #0a3990 0%, #1a4cb0 100%);
    --gradient-red: linear-gradient(135deg, #e6001c 0%, #ff3349 100%);
    --shadow-sm: 0 2px 8px rgba(48, 81, 112, 0.1);
    --shadow-md: 0 4px 20px rgba(48, 81, 112, 0.15);
    --shadow-lg: 0 8px 40px rgba(48, 81, 112, 0.2);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-blue);
}

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

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

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

/* ====================================
   Navigation
   ==================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    padding: 15px 0;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo img {
    height: 45px;
    transition: var(--transition);
}

.navbar.scrolled .navbar-logo img {
    height: 38px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
}

.navbar-links a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

.navbar-links a:hover {
    color: var(--primary-blue);
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: var(--transition);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.6rem;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    min-width: 220px;
    padding: 15px 0;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    margin-top: 10px;
    z-index: 1000;
}

/* Invisible bridge to prevent dropdown from closing */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 15px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: var(--light-bg);
    color: var(--primary-blue);
}

.dropdown-menu a .icon {
    font-size: 1.2rem;
}

/* CTA Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-red);
    color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(230, 175, 79, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 175, 79, 0.5);
}

.btn-secondary {
    background: var(--gradient-blue);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(48, 81, 112, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(48, 81, 112, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
}

.btn-outline:hover {
    background: var(--accent-red);
    color: var(--primary-blue);
}

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: var(--transition);
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
    position: relative;
    min-height: 500px;
    max-height: 700px;
    height: 70vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 40px;
    background: var(--gradient-blue);
    overflow: hidden;
}

/* Hero Homepage - leggermente più alto */
.hero-home {
    height: 80vh;
    max-height: 800px;
}

/* Hero with Background Image */
.hero-bg-image {
    background: url('images/Home.jpg') center center / cover no-repeat;
}

.hero-bg-auto {
    background: url('images/Piramis_Locator_Auto.jpeg') center center / cover no-repeat;
}

.hero-bg-moto {
    background: url('images/Piramis_Locator_Moto_2.jpeg') center center / cover no-repeat;
}

.hero-bg-truck {
    background: url('images/Piramis_Locator_Truck.jpeg') center center / cover no-repeat;
}

.hero-bg-trailer {
    background: url('images/Piramis_Locator_Trailer.jpeg') center center / cover no-repeat;
}

.hero-bg-camper {
    background: url('images/Piramis_Locator_Camper.jpeg') center center / cover no-repeat;
}

.hero-bg-work {
    background: url('images/Piramis_Locator_Work.jpeg') center center / cover no-repeat;
}

.hero-bg-dashcam {
    background: url('images/Piramis_Locator_DashCam.jpeg') center center / cover no-repeat;
}

.hero-bg-asset {
    background: url('images/Piramis_Locator_Asset.jpeg') center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(48, 81, 112, 0.55) 0%,
        rgba(30, 58, 82, 0.6) 50%,
        rgba(48, 81, 112, 0.5) 100%
    );
    z-index: 1;
}

.hero-content-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    grid-template-columns: 1fr !important;
}

.hero-content-centered .hero-text {
    max-width: 800px;
}

.hero-content-centered .hero-text p {
    margin-left: auto;
    margin-right: auto;
}

.hero-content-centered .hero-buttons {
    justify-content: center;
}

.hero-bg-image .hero-text h1,
.hero-bg-image .hero-text p,
.hero-bg-image .hero-text .tagline {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(230, 175, 79, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

/* Animated Grid Background */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 2;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Floating Dots Animation */
.hero-dots {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 2;
}

.dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent-red);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.dot:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.dot:nth-child(2) { top: 60%; left: 20%; animation-delay: 1s; }
.dot:nth-child(3) { top: 40%; left: 60%; animation-delay: 2s; }
.dot:nth-child(4) { top: 80%; left: 70%; animation-delay: 3s; }
.dot:nth-child(5) { top: 30%; left: 80%; animation-delay: 4s; }
.dot:nth-child(6) { top: 70%; left: 90%; animation-delay: 5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}

/* Pulse Ring Animation */
.pulse-ring {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(230, 175, 79, 0.3);
    border-radius: 50%;
    animation: pulse 3s ease-out infinite;
    z-index: 2;
}

.pulse-ring:nth-child(1) { top: 20%; right: 10%; animation-delay: 0s; }
.pulse-ring:nth-child(2) { bottom: 20%; left: 5%; animation-delay: 1s; }

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    align-content: center;
    position: relative;
    z-index: 10;
    height: 100%;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-text h1 span {
    color: var(--accent-red);
}

.hero-text .tagline {
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

.hero-text .tagline img {
    height: 70px;
    width: auto;
}

.hero-content-centered .hero-text .tagline {
    text-align: center;
}

/* Hero content box for better contrast */
.hero-content-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 60px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content-box .tagline {
    text-align: center;
    width: 100%;
}

.hero-content-box .tagline img {
    height: 80px;
}

/* Hero content box LEFT aligned for product pages */
.hero-content-box-left {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 550px;
    text-align: left;
}

.hero-content-box-left .tagline {
    text-align: left;
}

.hero-content-box-left .tagline img {
    height: 60px;
}

.hero-content-box-left h1 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 15px;
}

.hero-content-box-left h1 span {
    color: var(--accent-red);
}

.hero-content-box-left p {
    color: var(--text-dark);
    opacity: 0.85;
    font-size: 1rem;
    margin-bottom: 25px;
}

.hero-content-box-left .hero-buttons {
    justify-content: flex-start;
}

.hero-content-box-left .hero-buttons .btn-outline {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.hero-content-box-left .hero-buttons .btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

.hero-content-box h1 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content-box h1 span {
    color: var(--accent-red);
}

.hero-content-box p {
    color: var(--text-dark);
    opacity: 0.85;
}

.hero-content-box .hero-buttons {
    justify-content: center;
}

.hero-content-box .hero-buttons .btn-outline {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.hero-content-box .hero-buttons .btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

.hero-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(230, 175, 79, 0.3);
}

.hero-image-placeholder {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.hero-image-placeholder .icon {
    font-size: 8rem;
    opacity: 0.3;
}

/* Product Hero (Smaller) */
.hero-product {
    min-height: 60vh;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-product .hero-text h1 {
    font-size: 3rem;
}

.hero-product .container {
    gap: 40px;
}

/* ====================================
   Section Styling
   ==================================== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header h2 span {
    color: var(--accent-red);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.section-tag {
    display: inline-block;
    background: var(--accent-red);
    color: var(--primary-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* ====================================
   Products Grid (Homepage)
   ==================================== */
.products-section {
    background: var(--light-bg);
}

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

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-red);
    transform: scaleX(0);
    transition: var(--transition);
    z-index: 2;
}

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

.product-card:hover::before {
    transform: scaleX(1);
}

.product-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

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

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

.product-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.product-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.product-content .btn {
    margin-top: auto;
    align-self: flex-start;
}

.product-card-image {
    height: 180px;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(230, 175, 79, 0.2) 0%, transparent 50%);
}

.product-card-image .icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.product-card-content {
    padding: 25px;
}

.product-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-card-content h3 .badge {
    font-size: 0.7rem;
    background: var(--accent-red);
    color: var(--primary-blue);
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.product-card-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.product-card-link:hover {
    color: var(--accent-red);
    gap: 12px;
}

/* ====================================
   Benefits Section
   ==================================== */
.benefits-section {
    background: var(--white);
}

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

.benefit-card {
    padding: 35px 30px;
    border-radius: 16px;
    background: var(--light-bg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-red);
    transform: scaleY(0);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-card:hover::before {
    transform: scaleY(1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--white);
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ====================================
   Features Section (Product Pages)
   ==================================== */
.features-section {
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    padding: 25px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: var(--accent-red);
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--accent-red);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.feature-icon .icon-svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.feature-item h4,
.feature-content h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--primary-blue);
}

.feature-item > p,
.feature-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* ====================================
   Specs Section (Product Pages)
   ==================================== */
.specs-section {
    background: var(--gradient-blue);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.specs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(230, 175, 79, 0.1) 0%, transparent 40%);
}

.specs-section .section-header h2 {
    color: var(--white);
}

.specs-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
}

.spec-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.spec-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.spec-card .label {
    font-size: 0.85rem;
    color: var(--accent-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.spec-card .value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

/* ====================================
   Accessories Section (Camper page)
   ==================================== */
.accessories-section {
    background: var(--white);
}

.accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.accessory-card {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.accessory-card:hover {
    border-color: var(--accent-red);
    box-shadow: var(--shadow-md);
}

.accessory-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.accessory-card h4 {
    font-size: 1rem;
    color: var(--primary-blue);
}

/* ====================================
   Stats Section
   ==================================== */
.stats {
    background: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    transition: var(--transition);
}

.stat-item:hover {
    background: var(--light-bg);
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-red);
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ====================================
   CTA Section
   ==================================== */
.cta-section {
    background: var(--gradient-blue);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230, 175, 79, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ====================================
   Blog Section
   ==================================== */
.blog-section {
    background: var(--light-bg);
}

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

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.blog-card-image {
    height: 200px;
    background: var(--gradient-blue);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image .icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.blog-card-image .category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-red);
    color: var(--primary-blue);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card-content h3 a:hover {
    color: var(--accent-red);
}

.blog-card-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.read-more:hover {
    color: var(--accent-red);
    gap: 12px;
}

/* Blog Page Specific */
.blog-hero {
    min-height: 40vh;
    padding-top: 120px;
    padding-bottom: 60px;
}

.blog-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent-red);
    background: var(--accent-red);
    color: var(--primary-blue);
}

.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--light-gray);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.page-btn:hover,
.page-btn.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

/* ====================================
   Product Gallery
   ==================================== */
.product-gallery {
    padding: 60px 0;
    background: var(--light-bg);
}

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

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 200px;
    }
}

/* ====================================
   Footer
   ==================================== */
.footer {
    background: var(--primary-blue-dark);
    color: var(--white);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
    height: 70px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-red);
    color: var(--primary-blue);
}

.footer-column h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-red);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-red);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-contact p .icon {
    color: var(--accent-red);
}

.footer-bottom {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links a:hover {
    color: var(--accent-red);
}

/* ====================================
   Animations
   ==================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-text p {
        margin: 0 auto 35px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
    }
    
    .navbar-menu.active {
        display: flex;
    }
    
    .navbar-links {
        flex-direction: column;
        width: 100%;
    }
    
    .navbar-links li {
        width: 100%;
    }
    
    .navbar-links a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        padding: 10px 0 10px 20px;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-text .tagline {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 22px;
        font-size: 0.85rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
    
    .products-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   Utility Classes
   ==================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.py-1 { padding-top: 10px; padding-bottom: 10px; }
.py-2 { padding-top: 20px; padding-bottom: 20px; }
.py-3 { padding-top: 30px; padding-bottom: 30px; }
.py-4 { padding-top: 40px; padding-bottom: 40px; }


/* SVG Icon Styles */
.icon-svg {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
}

.menu-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

.benefit-icon .icon-svg,
.feature-icon .icon-svg {
    width: 48px;
    height: 48px;
    color: var(--accent-red);
}

.arrow-icon {
    width: 16px;
    height: 16px;
}

.footer-contact .icon-svg {
    width: 20px;
    height: 20px;
    color: var(--accent-red);
}

.footer-social .icon-svg {
    width: 24px;
    height: 24px;
}

.blog-card-meta .icon-svg {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

/* ====================================
   Use Cases Section
   ==================================== */
.use-cases {
    padding: 80px 0;
    background: var(--light-bg);
}

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

.use-case-card {
    background: var(--white);
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--accent-red);
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.use-case-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.use-case-icon .icon-svg {
    width: 30px;
    height: 30px;
    color: white;
}

.use-case-card h3 {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.use-case-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}

/* Use Cases Page */
.use-cases-page {
    padding: 80px 0;
}

.use-cases-page.alt-bg {
    background: var(--light-bg);
}

.use-case-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent-red);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.use-case-link:hover {
    color: var(--primary-blue);
}

/* ====================================
   Use Case Detail Page Styles
   ==================================== */
.use-case-section {
    padding: 80px 0;
}

.use-case-section.alt-bg {
    background: var(--light-bg);
}

.use-case-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.use-case-content.reverse {
    direction: rtl;
}

.use-case-content.reverse > * {
    direction: ltr;
}

.use-case-text {
    padding-right: 20px;
}

.use-case-content.reverse .use-case-text {
    padding-right: 0;
    padding-left: 20px;
}

.section-title-left {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title-center {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.section-description {
    text-align: center;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.use-case-text p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.use-case-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.use-case-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.use-case-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--accent-red);
    border-radius: 50%;
}

.use-case-list li strong {
    color: var(--text-dark);
}

.use-case-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.use-case-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon .icon-svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.benefit-card h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Tagline Category */
.tagline-category {
    display: inline-block;
    background: var(--accent-red);
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dropdown Categories */
.dropdown-menu-categories {
    min-width: 280px;
    padding: 15px 0;
}

.dropdown-category {
    padding: 0 20px;
    margin-bottom: 10px;
}

.dropdown-category:last-child {
    margin-bottom: 0;
}

.dropdown-category-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-category a {
    display: block;
    padding: 8px 0;
    color: var(--text-gray);
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-category a:hover {
    color: var(--accent-red);
    padding-left: 10px;
}

/* Footer Logo Image */
.footer-logo-img {
    max-width: 180px;
    height: auto;
    margin-bottom: 1rem;
}

/* Responsive Use Case Page */
@media (max-width: 992px) {
    .use-case-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .use-case-content.reverse {
        direction: ltr;
    }
    
    .use-case-text {
        padding-right: 0;
    }
    
    .use-case-content.reverse .use-case-text {
        padding-left: 0;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title-left,
    .section-title-center {
        font-size: 1.5rem;
    }
}

/* ====================================
   Related Products Section
   ==================================== */
.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 2rem;
}

.related-product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.related-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.related-product-image {
    height: 180px;
    overflow: hidden;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-product-card:hover .related-product-image img {
    transform: scale(1.05);
}

.related-product-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-product-content h3 {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.related-product-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}

.related-product-link {
    color: var(--accent-red);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.related-product-card:hover .related-product-link {
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    .related-products-grid {
        grid-template-columns: 1fr;
    }
    
    .related-product-card {
        flex-direction: row;
    }
    
    .related-product-image {
        width: 120px;
        height: auto;
        min-height: 140px;
    }
    
    .related-product-content {
        padding: 15px;
    }
    
    .related-product-content h3 {
        font-size: 1.1rem;
    }
    
    .related-product-content p {
        font-size: 0.85rem;
    }
}

/* ====================================
   Chi Siamo Page Styles
   ==================================== */
.about-section {
    padding: 80px 0;
}

.about-section.alt-bg {
    background: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content.reverse {
    direction: rtl;
}

.about-content.reverse > * {
    direction: ltr;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.mission-statement {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-left: 20px;
    border-left: 4px solid var(--accent-red);
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--accent-red);
    border-radius: 50%;
}

.about-list li strong {
    color: var(--text-dark);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon .icon-svg {
    width: 36px;
    height: 36px;
    fill: white;
}

.value-card h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Numbers Grid */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.number-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-red);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.number-label {
    color: var(--text-gray);
    font-size: 1rem;
}

/* ====================================
   Come Funziona Page Styles
   ==================================== */
.how-section {
    padding: 80px 0;
}

.how-section.alt-bg {
    background: var(--light-bg);
}

.how-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Process Timeline */
.process-timeline {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-red);
    border-radius: 2px;
}

.process-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content {
    background: var(--white);
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    flex: 1;
}

.step-content h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* Included Grid */
.included-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.included-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
}

.included-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.included-icon .icon-svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.included-card h3 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.included-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Platform Grid */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.platform-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.platform-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.platform-icon .icon-svg {
    width: 36px;
    height: 36px;
    fill: white;
}

.platform-card h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.platform-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Modules Grid */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 3rem;
}

.module-card {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-red);
}

.module-card h3 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.module-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* FAQ Styles */
.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-bg);
}

.faq-question h3 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent-red);
    font-weight: 300;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content.reverse {
        direction: ltr;
    }
    
    .values-grid,
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .included-grid,
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline::before {
        left: 25px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .values-grid,
    .numbers-grid,
    .included-grid,
    .platform-grid,
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-statement {
        font-size: 1.2rem;
    }
    
    .number {
        font-size: 2.5rem;
    }
    
    .process-step {
        flex-direction: column;
        gap: 15px;
        padding-left: 40px;
    }
    
    .process-timeline::before {
        left: 10px;
    }
    
    .step-number {
        position: absolute;
        left: -15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ====================================
   Blog Page Styles
   ==================================== */
.blog-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.blog-card.featured {
    grid-column: span 2;
}

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e3a52 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card.featured .blog-card-image {
    height: 250px;
}

.blog-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-red);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card.featured h3 {
    font-size: 1.4rem;
}

.blog-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card-link {
    color: var(--accent-red);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.blog-card-link:hover {
    color: var(--primary-blue);
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: var(--white);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

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

.newsletter-form {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    max-width: 350px;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

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

/* Blog Responsive */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-card.featured {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card.featured {
        grid-column: span 1;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-input {
        max-width: 100%;
        width: 100%;
    }
}

/* ====================================
   Products Page Styles
   ==================================== */
.products-intro {
    padding: 60px 0;
    background: var(--white);
}

.products-section {
    padding: 40px 0 80px;
    background: var(--light-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

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

.product-card.featured {
    grid-column: span 2;
    flex-direction: row;
}

.product-card-image {
    height: 220px;
    overflow: hidden;
}

.product-card.featured .product-card-image {
    width: 45%;
    height: auto;
    min-height: 350px;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card.featured .product-card-content {
    width: 55%;
    justify-content: center;
}

.product-badge {
    display: inline-block;
    background: var(--accent-red);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    width: fit-content;
}

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

.product-tagline {
    color: var(--accent-red);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.product-card > .product-card-content > p:not(.product-tagline) {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.product-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: bold;
}

.product-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Products Features Section */
.products-features-section {
    padding: 80px 0;
    background: var(--white);
}

.products-features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.products-features-grid .feature-item {
    text-align: center;
}

.products-features-grid .feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.products-features-grid .feature-icon .icon-svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.products-features-grid .feature-item h4 {
    font-size: 1rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.products-features-grid .feature-item p {
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* Products Page Responsive */
@media (max-width: 1200px) {
    .products-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card.featured {
        grid-column: span 1;
        flex-direction: column;
    }
    
    .product-card.featured .product-card-image {
        width: 100%;
        height: 250px;
        min-height: auto;
    }
    
    .product-card.featured .product-card-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .products-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .products-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   Modules Page Styles
   ==================================== */
.modules-intro {
    padding: 60px 0;
    background: var(--white);
}

.modules-section {
    padding: 40px 0 80px;
    background: var(--light-bg);
}

.module-detail {
    display: flex;
    gap: 40px;
    padding: 40px;
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.module-detail:hover {
    box-shadow: var(--shadow-md);
}

.module-detail-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-detail-icon .icon-svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.module-detail-content {
    flex: 1;
}

.module-detail h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.module-tagline {
    color: var(--accent-red);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
}

.module-detail-content > p:not(.module-tagline) {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.module-features {
    background: var(--light-bg);
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.module-features h4 {
    font-size: 0.95rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.module-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.module-features li {
    position: relative;
    padding-left: 22px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.module-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: bold;
}

.module-compatibility {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.module-compatibility span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.compatibility-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.compatibility-badges .badge {
    display: inline-block;
    padding: 5px 12px;
    background: var(--primary-blue);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.compatibility-badges .badge:hover {
    background: var(--accent-red);
}

/* Modules Page Responsive */
@media (max-width: 992px) {
    .module-features ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .module-detail {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }
    
    .module-detail-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
    
    .module-detail-icon .icon-svg {
        width: 30px;
        height: 30px;
    }
    
    .module-detail h3 {
        font-size: 1.3rem;
    }
}

/* ====================================
   Features Modules Section (Product Pages)
   ==================================== */
.features-modules {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a3a52 100%);
}

.features-modules .section-header {
    color: white;
}

.features-modules .section-subtitle {
    color: var(--accent-red);
}

.features-modules .section-header h2 {
    color: white;
}

.features-modules .section-description {
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

.modules-grid-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 3rem;
}

.module-card-compact {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 25px;
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.module-card-compact:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    border-color: var(--accent-red);
}

.module-card-compact .module-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-red);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.module-card-compact .module-icon .icon-svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.module-card-compact h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.module-card-compact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.modules-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.modules-cta .btn-outline {
    border-color: white;
    color: white;
}

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

/* Responsive */
@media (max-width: 992px) {
    .modules-grid-compact {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .modules-grid-compact {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   Contact Page Styles
   ==================================== */
.hero-small {
    min-height: 40vh;
    padding-top: 100px;
}

.hero-small .hero-content-box h1 {
    font-size: 2.5rem;
}

.contact-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.contact-form-wrapper h2 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.contact-form-wrapper > p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 500;
    color: var(--dark-blue);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(198, 168, 103, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

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

.form-checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--accent-red);
}

.form-checkbox label {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.form-checkbox label a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    font-size: 1.05rem;
}

.btn-full .icon-svg {
    width: 20px;
    height: 20px;
}

/* Thank You Message */
.thank-you-message {
    text-align: center;
    padding: 40px 20px;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.thank-you-icon .icon-svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.thank-you-message h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.thank-you-message p {
    color: var(--text-gray);
    margin-bottom: 25px;
}

/* Contact Info Sidebar */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-bg);
}

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

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: var(--accent-red);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-icon .icon-svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.contact-info-content h4 {
    color: var(--dark-blue);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.contact-info-content a,
.contact-info-content p {
    color: var(--text-gray);
    font-size: 1rem;
    text-decoration: none;
}

.contact-info-content a:hover {
    color: var(--accent-red);
}

/* Schedule */
.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-bg);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item span {
    color: var(--text-gray);
}

.schedule-item strong {
    color: var(--primary-blue);
}

/* CTA Card */
.contact-cta-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a3a52 100%);
}

.contact-cta-card h3 {
    color: white;
    border-bottom-color: rgba(255,255,255,0.2);
}

.contact-cta-card p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}

.contact-cta-card .btn-primary {
    background: var(--accent-red);
    color: white;
    width: 100%;
    justify-content: center;
    gap: 10px;
}

.contact-cta-card .btn-primary:hover {
    background: #d4b86a;
}

/* Contact Page Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-wrapper {
        order: -1;
    }
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .hero-small .hero-content-box h1 {
        font-size: 2rem;
    }
}

/* Spin animation for loading */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite;
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ====================================
   FAQ Page Styles
   ==================================== */
.faq-section {
    padding: 60px 0 80px;
    background: var(--light-bg);
}

/* Search */
.faq-search-wrapper {
    max-width: 600px;
    margin: 0 auto 30px;
}

.faq-search {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    padding: 12px 24px;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: var(--transition);
}

.faq-search:focus-within {
    border-color: var(--accent-red);
    box-shadow: var(--shadow-md);
}

.faq-search .icon-svg {
    width: 24px;
    height: 24px;
    fill: var(--text-gray);
    margin-right: 12px;
}

.faq-search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
}

.faq-search input::placeholder {
    color: #aaa;
}

/* Category Filters */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.faq-category-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: var(--white);
    border-radius: 25px;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.faq-category-btn:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.faq-category-btn.active {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: white;
}

/* Loading */
.faq-loading {
    text-align: center;
    padding: 60px 20px;
}

.faq-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--light-bg);
    border-top-color: var(--accent-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.faq-loading p {
    color: var(--text-gray);
}

/* FAQ List */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-blue);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-red);
}

.faq-question span {
    flex: 1;
    padding-right: 15px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    fill: var(--accent-red);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.faq-category-tag {
    display: inline-block;
    background: var(--light-bg);
    color: var(--text-gray);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* No Results */
.faq-no-results {
    text-align: center;
    padding: 60px 20px;
}

.faq-no-results .icon-svg {
    width: 60px;
    height: 60px;
    fill: #ddd;
    margin-bottom: 15px;
}

.faq-no-results h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.faq-no-results p {
    color: var(--text-gray);
}

/* CTA */
.faq-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: var(--white);
    border-radius: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-cta h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.faq-cta p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 576px) {
    .faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .faq-item.open .faq-answer {
        padding: 0 20px 15px;
    }
    
    .faq-categories {
        gap: 8px;
    }
    
    .faq-category-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Logo footer con sfondo bianco */
.footer-brand img {
    height: auto;
    max-height: 80px;
    width: auto;
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
}

/* ====================================
   Counters Section - Animated Numbers
   ==================================== */
.counters-section {
    padding: 80px 0;
    background: var(--white);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.counters-section::before {
    display: none;
}

.counters-section .section-header {
    position: relative;
    z-index: 1;
}

.counters-section .section-subtitle {
    color: var(--text-light);
}

.counters-section h2 {
    color: var(--primary-blue);
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.counter-item {
    text-align: center;
    padding: 30px 20px;
}

.counter-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(26, 54, 93, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.counter-item:hover .counter-icon {
    background: rgba(26, 54, 93, 0.2);
    transform: scale(1.1);
    border-color: rgba(26, 54, 93, 0.3);
}

.counter-icon .icon-svg {
    width: 32px;
    height: 32px;
    color: var(--primary-blue);
}

.counter-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: none;
}

.counter-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive counters */
@media (max-width: 992px) {
    .counters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .counters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .counter-value {
        font-size: 2rem;
    }
    
    .counter-label {
        font-size: 0.85rem;
    }
    
    .counters-section {
        padding: 60px 0;
    }
}
/* Legal Pages Styles - Da aggiungere a styles.css */

.legal-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.legal-intro {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e6001c;
}

.legal-content h2 {
    color: #0a3990;
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul {
    margin: 16px 0 24px 0;
    padding-left: 24px;
}

.legal-content ul li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 8px;
    position: relative;
}

.legal-content ul li::marker {
    color: #e6001c;
}

.legal-content a {
    color: #0a3990;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.legal-content a:hover {
    border-bottom-color: #0a3990;
}

.legal-box {
    background: #f0f4f8;
    border-left: 4px solid #0a3990;
    padding: 24px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
}

.legal-box p {
    margin-bottom: 8px;
}

.legal-box p:last-child {
    margin-bottom: 0;
}

.legal-update {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

/* Cookie Report Container */
.cookie-report-container {
    margin: 24px 0;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
    overflow-x: auto;
}

/* Footer Policy Links */
.footer-bottom a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-content {
        padding: 24px;
        margin: 0 16px;
    }
    
    .legal-content h2 {
        font-size: 1.2rem;
    }
    
    .legal-section {
        padding: 48px 0;
    }
}

/* ====================================
   Blog Category Filter System
   ==================================== */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.blog-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.blog-filter-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.blog-filter-btn.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

.blog-filter-btn .count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.blog-filter-btn.active .count {
    background: rgba(255, 255, 255, 0.25);
}

/* Blog card hidden state for filtering */
.blog-card.hidden {
    display: none;
}

/* No results message */
.blog-no-results {
    text-align: center;
    padding: 60px 20px;
    display: none;
}

.blog-no-results.visible {
    display: block;
}

.blog-no-results h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.blog-no-results p {
    color: var(--text-light);
}

/* ====================================
   Article Navigation (prev/next + categories)
   ==================================== */
.article-nav-bar {
    background: var(--light-bg);
    border-bottom: 1px solid var(--light-gray);
    padding: 15px 0;
    position: sticky;
    top: 70px;
    z-index: 100;
}

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

.article-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-tag {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-light);
    border: 1px solid var(--light-gray);
}

.category-tag:hover {
    background: var(--light-gray);
    color: var(--text-dark);
}

.category-tag.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.article-nav-arrows {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-dark);
    background: var(--white);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

.nav-arrow:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.nav-arrow.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.nav-arrow svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ====================================
   Article Content Styles
   ==================================== */
.article-section {
    padding-top: 30px;
    background: var(--white);
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.article-hero-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
}

.article-meta {
    color: var(--text-light);
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.article-category {
    color: var(--white);
    background: var(--primary-blue);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
}

.article-content h2 {
    color: var(--primary-blue);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.article-content h3 {
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.article-content p {
    margin-bottom: 16px;
    line-height: 1.7;
    color: var(--text-dark);
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Article highlight boxes */
.highlight-box {
    background: #FEF2F2;
    border-left: 4px solid var(--accent-red);
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box.green {
    background: #ECFDF5;
    border-left-color: #059669;
}

.highlight-box.blue {
    background: #EFF6FF;
    border-left-color: var(--primary-blue);
}

.alert-box {
    background: #FEF2F2;
    border-left: 4px solid #DC2626;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.alert-box strong {
    color: #DC2626;
}

.quote-box {
    border-left: 4px solid var(--primary-blue);
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    color: var(--text-light);
}

.quote-author {
    font-style: normal;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Article tables */
.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.stats-table th {
    background: var(--primary-blue);
    color: var(--white);
    padding: 12px 15px;
    text-align: left;
}

.stats-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--light-gray);
}

.stats-table tr:nth-child(even) {
    background: var(--light-bg);
}

.stats-table .stat-value {
    font-weight: 700;
    color: var(--accent-red);
}

/* Article CTA box */
.cta-box {
    background: var(--primary-blue);
    color: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
}

.cta-box h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

/* Checklist style */
.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
}

.checklist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
}

/* Utility classes */
.bold {
    font-weight: 600;
}

.text-primary {
    color: var(--primary-blue);
}

.text-red {
    color: var(--accent-red);
}

.text-green {
    color: #059669;
}

/* Responsive styles */
@media (max-width: 768px) {
    .article-nav-container {
        justify-content: center;
    }
    
    .article-categories {
        width: 100%;
        justify-content: center;
    }
    
    .article-nav-arrows {
        width: 100%;
        justify-content: center;
    }
    
    .article-container {
        padding: 30px 20px;
    }
    
    .article-hero-image {
        border-radius: 8px;
    }
    
    .article-content h2 {
        font-size: 1.3rem;
    }
    
    .article-content h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .blog-filters {
        gap: 8px;
    }
    
    .blog-filter-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .category-tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .nav-arrow {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .nav-arrow span {
        display: none;
    }
}

/* ====================================
   Blog Notification Badge
   ==================================== */
.nav-blog-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-notification-badge {
    display: none;
    width: 8px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 50%;
    animation: pulse-badge 2s infinite;
}

.blog-notification-badge::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 50%;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes ping {
    75%, 100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* ====================================
   Demo Link Highlight
   ==================================== */
.nav-demo-link {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: all 0.3s ease;
}

.nav-demo-link:hover {
    background: linear-gradient(135deg, var(--accent-red-light), var(--accent-red));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 0, 28, 0.3);
}

.nav-demo-link::after {
    display: none !important;
}

/* ====================================
   Demo Page Styles
   ==================================== */
.demo-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.demo-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.demo-card {
    background: var(--white);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: var(--shadow-lg);
}

.demo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.demo-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.demo-card h1 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--primary-blue);
}

.demo-card .lead {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.credentials-box {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    text-align: left;
}

.credential-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
}

.credential-row:last-child {
    border-bottom: none;
}

.credential-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.credential-label svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-blue);
}

.credential-value {
    display: flex;
    align-items: center;
    gap: 10px;
}

.credential-value code {
    background: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.95rem;
    color: var(--text-dark);
    border: 1px solid var(--light-gray);
}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: var(--light-gray);
}

.copy-btn svg {
    width: 18px;
    height: 18px;
    fill: var(--text-light);
}

.copy-btn.copied svg {
    fill: #22c55e;
}

.demo-cta {
    margin-bottom: 24px;
}

.demo-cta .btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 1.1rem;
}

.demo-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(10, 57, 144, 0.05);
    border-radius: 10px;
    padding: 16px;
    text-align: left;
    margin-bottom: 24px;
}

.demo-note svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.demo-note p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.demo-alternative {
    padding-top: 24px;
    border-top: 1px solid var(--light-gray);
}

.demo-alternative p {
    color: var(--text-light);
    margin-bottom: 12px;
}

.demo-alternative .btn-outline {
    padding: 12px 24px;
}

/* Responsive demo */
@media (max-width: 600px) {
    .demo-card {
        padding: 32px 24px;
    }
    
    .credential-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .credential-value {
        width: 100%;
        justify-content: space-between;
    }
}

/* ====================================
   Article Page Styles
   ==================================== */
.article-hero {
    min-height: 40vh;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-top: 16px;
}

.article-section {
    padding: 60px 0 80px;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-content .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--light-gray);
}

.article-content h2 {
    font-size: 1.75rem;
    margin: 48px 0 20px;
    color: var(--primary-blue);
}

.article-content h3 {
    font-size: 1.35rem;
    margin: 36px 0 16px;
    color: var(--primary-blue);
}

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

.article-content ul,
.article-content ol {
    margin: 20px 0 20px 24px;
}

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

.article-content blockquote {
    border-left: 4px solid var(--primary-blue);
    padding: 20px 24px;
    margin: 32px 0;
    background: var(--light-bg);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-light);
}

.article-content img {
    width: 100%;
    border-radius: 12px;
    margin: 32px 0;
}

.article-cta {
    max-width: 800px;
    margin: 48px auto;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 16px;
    text-align: center;
    color: white;
}

.article-cta h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.article-cta p {
    opacity: 0.9;
    margin-bottom: 24px;
}

.article-cta .btn-primary {
    background: white;
    color: var(--primary-blue);
}

.article-cta .btn-primary:hover {
    background: var(--light-bg);
}

.article-nav {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 768px) {
    .article-content {
        font-size: 1rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-cta {
        padding: 32px 24px;
    }
}

/* ====================================
   WhatsApp Widget
   ==================================== */
.wa-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
}

.wa-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.wa-fab svg {
    width: 32px;
    height: 32px;
    fill: white;
    transition: all 0.3s ease;
}

.wa-fab .wa-icon-close {
    display: none;
    width: 24px;
    height: 24px;
}

.wa-fab.active .wa-icon-wa { display: none; }
.wa-fab.active .wa-icon-close { display: block; }
.wa-fab.active { background: #128C7E; }

.wa-tooltip {
    position: absolute;
    right: 70px;
    background: var(--text-dark);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--text-dark);
}

.wa-fab:not(.active):hover .wa-tooltip {
    opacity: 1;
    visibility: visible;
}

.wa-widget {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 360px;
    max-height: 480px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.18), 0 4px 15px rgba(0, 0, 0, 0.08);
    z-index: 9998;
    overflow: hidden;
    transform: scale(0.5) translateY(20px);
    opacity: 0;
    visibility: hidden;
    transform-origin: bottom right;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.wa-widget.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}

.wa-header {
    background: linear-gradient(135deg, #128C7E, #25D366);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.wa-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.4);
    overflow: hidden;
}

.wa-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.wa-header-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: white;
    margin-bottom: 2px;
}

.wa-header-status {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 5px;
}

.wa-header-status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7CFC00;
}

.wa-body {
    padding: 20px;
    background-color: #ECE5DD;
    background-image: url('images/wa-bg.jpg');
    background-size: 400px;
    background-repeat: repeat;
}

.wa-bubble {
    background: white;
    padding: 12px 16px;
    border-radius: 0 12px 12px 12px;
    max-width: 85%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    position: relative;
    margin-bottom: 16px;
}

.wa-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 10px 0;
    border-color: transparent white transparent transparent;
}

.wa-bubble-text {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.5;
}

.wa-bubble-time {
    font-size: 11px;
    color: var(--text-light);
    text-align: right;
    margin-top: 4px;
}

.wa-privacy {
    background: white;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.wa-privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.wa-privacy-check input[type="checkbox"] {
    display: none;
}

.wa-privacy-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.wa-privacy-check input:checked ~ .wa-privacy-checkmark {
    background: #25D366;
    border-color: #25D366;
}

.wa-privacy-check input:checked ~ .wa-privacy-checkmark svg {
    display: block;
}

.wa-privacy-checkmark svg {
    width: 14px;
    height: 14px;
    fill: white;
    display: none;
}

.wa-privacy-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.wa-privacy-text {
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.5;
}

.wa-privacy-text a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.wa-footer {
    padding: 14px 20px;
    background: white;
    border-top: 1px solid #eee;
}

.wa-cta {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: #25D366;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    opacity: 0.4;
    pointer-events: none;
}

.wa-cta.enabled {
    opacity: 1;
    pointer-events: auto;
}

.wa-cta.enabled:hover {
    background: #128C7E;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.wa-cta svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 420px) {
    .wa-widget {
        right: 10px;
        left: 10px;
        width: auto;
        bottom: 94px;
    }
    .wa-fab {
        bottom: 16px;
        right: 16px;
    }
}

@media (max-width: 768px) {
    .wa-fab {
        bottom: 16px;
        right: 16px;
        width: 54px;
        height: 54px;
    }

    .wa-fab svg {
        width: 28px;
        height: 28px;
    }

    .wa-tooltip {
        display: none;
    }
}

/* ====================================
   Breadcrumb Navigation
   ==================================== */
.breadcrumb {
    background: var(--light-bg);
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: var(--primary-blue);
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 500;
}

.breadcrumb-separator {
    color: var(--text-light);
    opacity: 0.5;
    font-size: 0.75rem;
}

.breadcrumb-home-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 10px 0;
    }
    
    .breadcrumb-list {
        font-size: 0.8rem;
    }
}

/* ====================================
   Article Navigation Spacer (v32)
   ==================================== */
.article-nav-spacer {
    height: 100px;
}

/* Article Category Tag */
.article-category-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-back {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--primary-blue);
    background: var(--white);
    border: 1px solid var(--primary-blue);
    transition: var(--transition);
}

.nav-back:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* ============================================
   NEW ARTICLE BANNER (top of page)
   ============================================ */
.new-article-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: linear-gradient(135deg, #0a3990 0%, #1a4cb0 50%, #0a3990 100%);
    background-size: 200% 200%;
    animation: bannerShimmer 3s ease infinite;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 2px 10px rgba(10, 57, 144, 0.3);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

@keyframes bannerShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.new-article-banner__badge {
    background: var(--accent-red);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.new-article-banner__text {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
}

.new-article-banner__link {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    transition: all 0.2s ease;
}

.new-article-banner__link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    color: white;
}

.new-article-banner__link .arrow {
    transition: transform 0.2s ease;
}

.new-article-banner__link:hover .arrow {
    transform: translateX(3px);
}

.new-article-banner__close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0 0 0 8px;
    line-height: 1;
    transition: color 0.2s ease;
}

.new-article-banner__close:hover {
    color: white;
}

body.has-new-article-banner .navbar {
    top: 42px;
}

body.has-new-article-banner .article-nav-spacer {
    margin-top: 42px;
}

@media (max-width: 768px) {
    .new-article-banner {
        padding: 8px 12px;
        gap: 8px;
    }

    .new-article-banner__text {
        font-size: 0.75rem;
        max-width: 150px;
    }

    .new-article-banner__link {
        font-size: 0.75rem;
        padding: 3px 10px;
    }

    .new-article-banner__badge {
        font-size: 0.6rem;
        padding: 2px 8px;
    }

    body.has-new-article-banner .navbar {
        top: 38px;
    }
}

@media (max-width: 480px) {
    .new-article-banner__text {
        display: none;
    }

    body.has-new-article-banner .navbar {
        top: 36px;
    }
}

/* ============================================
   BLOG CARD "NUOVO" BADGE
   ============================================ */
.blog-card-badge-new {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #e6001c 0%, #ff3349 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 2px 8px rgba(230, 0, 28, 0.4);
    animation: newBadgePulse 2s ease-in-out infinite;
    z-index: 2;
}

@keyframes newBadgePulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(230, 0, 28, 0.4); }
    50% { box-shadow: 0 2px 16px rgba(230, 0, 28, 0.7); }
}

/* ============================================
   NEWS POPUP MODAL
   ============================================ */
.news-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.news-popup-overlay.visible {
    background: rgba(0, 0, 0, 0.6);
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(4px);
}

.news-popup {
    background: white;
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s ease;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

.news-popup-overlay.visible .news-popup {
    transform: translateY(0) scale(1);
}

.news-popup__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.08);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    line-height: 1;
}

.news-popup__close:hover {
    background: rgba(0, 0, 0, 0.15);
    color: #333;
}

.news-popup__image {
    width: 100%;
    max-height: 240px;
    overflow: hidden;
}

.news-popup__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-popup__content {
    padding: 28px 32px 32px;
}

.news-popup__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue, #0a3990);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.news-popup__body {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 24px;
}

.news-popup__body p {
    margin: 0 0 12px 0;
}

.news-popup__body p:last-child {
    margin-bottom: 0;
}

.news-popup__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e6001c 0%, #ff3349 100%);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(230, 0, 28, 0.3);
}

.news-popup__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 0, 28, 0.4);
    color: white;
}

.news-popup__button::after {
    content: "\2192";
    transition: transform 0.2s ease;
}

.news-popup__button:hover::after {
    transform: translateX(4px);
}

/* Mobile responsive */
@media (max-width: 600px) {
    .news-popup-overlay {
        padding: 12px;
        align-items: flex-end;
    }

    .news-popup {
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        max-height: 85vh;
    }

    .news-popup-overlay.visible .news-popup {
        transform: translateY(0);
    }

    .news-popup__content {
        padding: 20px 24px 28px;
    }

    .news-popup__title {
        font-size: 1.2rem;
    }

    .news-popup__image {
        max-height: 180px;
    }

    .news-popup__button {
        width: 100%;
        justify-content: center;
    }
}
