:root {
    --primary: #006FFF;
    --primary-dark: #0057CC;
    --primary-light: #E6F0FF;
    --black: #000000;
    --dark-gray: #303030;
    --medium-gray: #DADADA;
    --light-gray: #F5F5F7;
    --white: #FFFFFF;
    --accent: #0099CC;
    --product-color: #FF6B00;
    --product-light: #FFF4EC;
    --service-color: #006FFF;
    --service-light: #E6F0FF;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', 'Inter', 'Roboto', sans-serif;
}

body {
    color: var(--black);
    background-color: var(--white);
    line-height: 1.5;
}

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

/* Header and Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.navbar-brand span {
    color: var(--black);
}

.nav-link {
    color: var(--dark-gray);
    font-size: 16px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem 0;
    min-width: 220px;
}

.dropdown-header {
    color: var(--dark-gray);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1.5rem;
}

.dropdown-item {
    color: var(--black);
    font-size: 14px;
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--light-gray);
    color: var(--primary);
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: var(--light-gray);
}

/* Button Styles */
.cta-button {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.secondary-button {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.secondary-button:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Products Button Variant */
.product-button {
    color: var(--product-color);
    border-color: var(--product-color);
}

.product-button:hover {
    background-color: var(--product-light);
    color: var(--product-color);
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 100px;
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.8));
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.button-group {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}


/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

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

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

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

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 0 0 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
    overflow: hidden;
}

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

.service-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin-bottom: 20px;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -35px auto 15px;
    position: relative;
    z-index: 1;
    border: 4px solid var(--white);
}

.service-icon i {
    color: var(--primary);
    width: 35px;
    height: 35px;
}

/* Servizi Detail Page */
.servizio-dettaglio {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.servizio-header {
    background-color: var(--light-gray);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.servizio-icon {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.servizio-icon i {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.servizio-content {
    padding: 40px;
}

.servizio-desc {
    font-size: 18px;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

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

.caratteristica-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
}

.caratteristica-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 16px;
}

.feature-list li i {
    color: var(--primary);
    width: 20px;
    height: 20px;
}

.tecnologie-supportate {
    margin-bottom: 40px;
}

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

.tech-item {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.tech-item i {
    color: var(--primary);
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
}

.tech-item span {
    display: block;
    font-size: 14px;
    font-weight: 500;
}

.soluzioni-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.soluzione-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
}

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

.security-item {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.security-item i {
    color: var(--primary);
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
}

.security-item span {
    display: block;
    font-size: 14px;
    font-weight: 500;
}

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

.implementazione-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.implementazione-card:hover {
    transform: translateY(-5px);
}

.implementazione-card i {
    color: var(--primary);
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
}

.implementazione-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.implementazione-card p {
    font-size: 14px;
    color: var(--dark-gray);
}

.cta-container {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}


/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.features-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.features-text {
    max-width: 500px;
}

.features-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-item i {
    color: var(--primary);
    margin-right: 15px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

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

.outline-button {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

/* Footer */
.site-footer {
    padding: 80px 0 40px;
    background-color: var(--black);
    color: var(--white);
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

.social-icon i {
    color: var(--white);
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

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

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* 404 Error Page */
.error-page {
    padding: 120px 0;
    text-align: center;
}

.error-content h1 {
    font-size: 120px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.error-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.error-content p {
    font-size: 18px;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

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

.product-category {
    margin-bottom: 80px;
}

.product-category h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--black);
}

.products-card .card-header {
    background-color: var(--product-light);
    border-left: 4px solid var(--product-color);
}

.products-card .card-link {
    color: var(--product-color);
}

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

.card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
}

.card-body {
    padding: 20px;
}

.card-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.card-body ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 15px;
    color: var(--dark-gray);
}

.card-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.products-card .card-body ul li::before {
    background-color: var(--product-color);
}

.card-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--light-gray);
    text-align: right;
}

.card-link {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.card-link svg {
    width: 14px;
    height: 14px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.card-link:hover svg {
    transform: translateX(3px);
}

/* Responsive adjustments for products section */
@media (max-width: 768px) {
    .product-category {
        margin-bottom: 60px;
    }

    .product-category h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

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