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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #0a0a0a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Logo Glow Animation */
@keyframes sdata-logo-glow {
    0%, 80% {
        filter: drop-shadow(0 0 0 rgba(102, 126, 234, 0));
        transform: scale(1);
    }
    86% {
        filter: drop-shadow(0 0 12px rgba(102, 126, 234, 0.6));
        transform: scale(1.035);
    }
    90% {
        filter: drop-shadow(0 0 6px rgba(102, 126, 234, 0.3));
        transform: scale(1.012);
    }
    94% {
        filter: drop-shadow(0 0 16px rgba(118, 75, 162, 0.7));
        transform: scale(1.045);
    }
    100% {
        filter: drop-shadow(0 0 0 rgba(102, 126, 234, 0));
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-image,
    .admin-logo-image {
        animation: none !important;
    }
}

/* Accessibility - Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Skip to Main Content Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #667eea;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

/* Floating Contact Buttons for Conversions */
.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-phone,
.contact-email,
.contact-whatsapp {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.contact-phone,
.contact-email {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.contact-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.contact-phone:hover,
.contact-email:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.contact-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.contact-phone i,
.contact-email i,
.contact-whatsapp i {
    font-size: 20px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.loading-logo-image {
    max-width: 200px;
    height: auto;
    filter: brightness(1.2) contrast(1.1);
    transition: all 0.3s ease;
}

.loading-logo-image:hover {
    filter: brightness(1.4) contrast(1.2);
    transform: scale(1.05);
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.loading-text {
    font-size: 14px;
    opacity: 0.8;
    animation: fadeIn 1s ease 0.5s forwards;
}

/* Particle Background - Disabled to prevent loading issues */
#particles-js {
    display: none;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

/* Evita spostamenti di layout quando la navbar diventa fixed */
.navbar + main {
    padding-top: 90px;
}

@media (max-width: 768px) {
    .navbar + main {
        padding-top: 80px;
    }
}

.nav-logo {
    flex-shrink: 0;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.logo-image {
    max-height: 40px;
    max-width: 120px;
    height: auto;
    filter: brightness(1.2) contrast(1.1);
    transition: all 0.3s ease;
    animation: sdata-logo-glow 7s ease-in-out infinite;
    animation-delay: 1.5s;
}

.logo-image:hover {
    filter: brightness(1.4) contrast(1.2);
    transform: scale(1.05);
}

/* Logo più grande nella navbar */
.logo-image {
    height: 48px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: #667eea;
    transform: translateY(-2px);
}

.nav-icon {
    font-size: 16px;
    opacity: 0.8;
}

.nav-link:hover .nav-icon {
    opacity: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

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

.hero-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(102, 126, 234, 0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(118, 75, 162, 0.1) 50%, transparent 60%);
    background-size: 200px 200px;
    animation: linesRotate 30s linear infinite;
}

@keyframes linesRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    animation: circlePulse 4s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    animation-delay: 1s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 30%;
    animation-delay: 2s;
}

@keyframes circlePulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.6; }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    color: rgba(102, 126, 234, 0.3);
    font-size: 24px;
    animation: floatIcon 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) { top: 20%; left: 5%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 40%; right: 10%; animation-delay: 2s; }
.floating-icon:nth-child(3) { bottom: 30%; left: 15%; animation-delay: 4s; }
.floating-icon:nth-child(4) { bottom: 60%; right: 5%; animation-delay: 6s; }

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: white;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 25px;
    padding: 8px 20px;
    margin-top: 10px;
    margin-bottom: 20px;
    animation: badgeGlow 2s ease-in-out infinite alternate;
}

@keyframes badgeGlow {
    0% { box-shadow: 0 0 10px rgba(102, 126, 234, 0.3); }
    100% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.6); }
}

/* Badge più grande per l'esperienza */
.badge-text {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    padding: 0.8rem 1.8rem !important;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-text {
    color: white;
    border-right: 3px solid #667eea;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: #667eea; }
}

.hero-subtitle-main {
    color: #667eea;
    font-size: 2.5rem;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
    font-variant-numeric: tabular-nums;
    min-width: 6ch;
    text-align: center;
    width: 120px; /* Larghezza fissa per evitare reflow */
    text-align: center; /* Centra il testo nella larghezza fissa */
    min-height: 3rem; /* Altezza minima per evitare salti verticali */
    line-height: 1; /* Linea singola per altezza consistente */
    font-family: 'Courier New', monospace; /* Font monospace per padding consistente */
    white-space: pre; /* Preserva gli spazi del padding */
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(102, 126, 234, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(3px);
}

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

.hero-3d-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.hero-3d-container.ecommerce-3d {
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    gap: 35px;
}

.hero-3d-container.ecommerce-3d .floating-card {
    width: 130px;
    height: 130px;
    text-align: center;
}

.hero-3d-container.ecommerce-3d .floating-card span {
    font-size: 0.85rem;
    letter-spacing: 0;
    text-transform: none;
    color: #fff;
}

.hero-3d-container.ecommerce-3d .ecommerce-visualization {
    flex: 1 1 320px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.floating-card {
    --parallax-x: 0px;
    --parallax-y: 0px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
}

.floating-card:hover {
    transform: translate3d(var(--parallax-x), calc(var(--parallax-y) - 10px), 0) scale(1.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

[data-parallax] {
    --parallax-x: 0px;
    --parallax-y: 0px;
    transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
    will-change: transform;
    transition: transform 0.3s ease-out;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-card:hover .card-glow {
    opacity: 1;
}

.floating-card i {
    font-size: 30px;
    margin-bottom: 8px;
    color: #667eea;
}

.floating-card span {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.card-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    animation: float 4s ease-in-out infinite;
}

.card-2 {
    animation: float 4s ease-in-out infinite 1s;
}

.card-3 {
    animation: float 4s ease-in-out infinite 2s;
}

.hero-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    z-index: -1;
}

.orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    animation: orbPulse 2s ease-in-out infinite;
}

.orb-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: orbRotate 10s linear infinite;
}

.orb-ring-1 {
    width: 100px;
    height: 100px;
    animation-duration: 10s;
}

.orb-ring-2 {
    width: 140px;
    height: 140px;
    animation-duration: 15s;
    animation-direction: reverse;
}

.orb-ring-3 {
    width: 180px;
    height: 180px;
    animation-duration: 20s;
}

@keyframes orbPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes orbRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    z-index: 5;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, #667eea, transparent);
    animation: float 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 12px;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#mouse-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Features Preview */
.features-preview {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.features-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(100, 149, 237, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: backgroundShift 15s ease-in-out infinite;
}

.features-preview::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(102, 126, 234, 0.05) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(118, 75, 162, 0.05) 50%, transparent 60%);
    background-size: 200px 200px;
    animation: linesRotate 30s linear infinite;
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    z-index: 2;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(100, 149, 237, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover::after {
    opacity: 1;
}

.feature-item:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.4);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: #667eea;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
}

.feature-item:hover .feature-icon::before {
    opacity: 1;
}

.feature-item:hover .feature-icon::after {
    width: 100px;
    height: 100px;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.feature-item:hover h3 {
    color: #667eea;
    text-shadow: 0 0 15px rgba(102, 126, 234, 0.5);
}

.feature-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.feature-item:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Animazione per le feature cards */
.feature-item {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.feature-item:nth-child(1) { animation-delay: 0.2s; }
.feature-item:nth-child(2) { animation-delay: 0.4s; }
.feature-item:nth-child(3) { animation-delay: 0.6s; }

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: white;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-image {
    max-width: 180px;
    min-width: 120px;
    height: auto;
    width: auto;
    max-height: 60px;
    filter: brightness(1.2) contrast(1.1);
    transition: all 0.3s ease;
    object-fit: contain;
}

.footer-logo-image:hover {
    filter: brightness(1.4) contrast(1.2);
    transform: scale(1.05);
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #667eea;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    color: #667eea;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
    padding-left: 15px;
}

.footer-section ul li a:hover::before {
    opacity: 1;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    background: rgba(102, 126, 234, 0.2);
}

.social-hover {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.social-link:hover .social-hover {
    opacity: 1;
}

.contact-info p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.contact-info p a:hover {
    color: #667eea;
}

.contact-info p i {
    color: #667eea;
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 20px;
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .logo-image {
        max-height: 35px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

    .hero-subtitle-main {
        font-size: 2rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 30px;
    }

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

    .hero-visual {
        height: 300px;
    }

    .floating-card {
        width: 80px;
        height: 80px;
    }

    .floating-card i {
        font-size: 20px;
    }

    .hero-orb {
        width: 150px;
        height: 150px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-logo-image {
        max-width: 144px;
        min-width: 100px;
        max-height: 50px;
    }

    /* Floating contact buttons responsive */
    .floating-contact {
        right: 15px;
        bottom: 15px;
    }

        .contact-phone,
    .contact-email,
    .contact-whatsapp {
        width: 50px;
        height: 50px;
    }
    
    .contact-phone i,
    .contact-email i,
    .contact-whatsapp i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        max-height: 30px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .page-hero {
        min-height: 15vh;
        padding: 60px 0 20px 0;
    }

    .hero-subtitle-main {
        font-size: 1.8rem;
    }

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

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .floating-card {
        width: 60px;
        height: 60px;
    }

    .floating-card i {
        font-size: 16px;
    }

    .floating-card span {
        font-size: 10px;
    }

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

    .footer-logo-image {
        max-width: 120px;
        min-width: 80px;
        max-height: 40px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .floating-card:hover {
        transform: none;
    }

    .feature-item:hover {
        transform: none;
    }

    .social-link:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }

    .nav-link {
        border: 1px solid transparent;
    }

    .nav-link:hover {
        border-color: currentColor;
    }
}

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

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* AOS Animations */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Enhanced Fallback Effects for Better Graphics */
.particle-fallback {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle-fallback .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #6495ed;
    border-radius: 50%;
    animation: float 6s infinite linear;
    box-shadow: 0 0 10px rgba(100,149,237,0.5);
}

/* Enhanced Card Effects */
.card, .service-card, .feature-card {
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.card::before, .service-card::before, .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(100,149,237,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.card:hover::before, .service-card:hover::before, .feature-card:hover::before {
    opacity: 1;
}

/* Enhanced Hover Effects */
.card:hover, .service-card:hover, .feature-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(100,149,237,0.3);
}

/* Enhanced Background Effects */
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(100,149,237,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118,75,162,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(102,126,234,0.1) 0%, transparent 50%);
    animation: backgroundShift 10s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Enhanced Glow Effects */
.hero-title, .section-title {
    text-shadow: 0 0 20px rgba(100,149,237,0.3);
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #6495ed 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

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

/* Enhanced Button Effects */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::after {
    left: 100%;
}

/* Enhanced Floating Elements */
.floating-icon {
    filter: drop-shadow(0 0 10px rgba(100,149,237,0.5));
}

.floating-icon:hover {
    filter: drop-shadow(0 0 20px rgba(100,149,237,0.8));
    transform: scale(1.1);
}

/* Enhanced Particle Effects */
#particles-js {
    display: none;
}

/* Page Hero Section */
.page-hero {
    min-height: 25vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0 40px 0;
    position: relative;
    overflow: hidden;
}

.page-hero .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
}

.page-hero .hero-title {
    font-size: 3.5rem;
}

/* About Section */
.about-section {
    padding: 20px 0;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-text {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.about-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(102, 126, 234, 0.3);
}

.about-text p {
    color: #e0e0e0;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 18px;
    text-align: justify;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: #667eea;
    font-weight: 600;
}



/* Timeline Section */
.timeline-section {
    padding: 20px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    border: 4px solid #0a0a0a;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.marker-line {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, #667eea, transparent);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin: 0 20px;
    flex: 1;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.timeline-content:hover::before {
    left: 100%;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.4);
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #667eea;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.timeline-achievements {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(102, 126, 234, 0.1);
    padding: 8px 12px;
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    font-size: 0.8rem;
    color: #667eea;
}

.achievement i {
    font-size: 12px;
}

/* Values Section */
.values-section {
    padding: 20px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.4);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: #667eea;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: white;
}

.value-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Services Section */
.services-section {
    padding: 20px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.4);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: #667eea;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: white;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 20px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.4);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: #667eea;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
    width: 120px; /* Larghezza fissa per evitare reflow */
    text-align: center; /* Centra il testo nella larghezza fissa */
    min-height: 3rem; /* Altezza minima per evitare salti verticali */
    line-height: 1; /* Linea singola per altezza consistente */
    font-family: 'Courier New', monospace; /* Font monospace per padding consistente */
    white-space: pre; /* Preserva gli spazi del padding */
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

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

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
}

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

/* Responsive Design for Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        margin-left: 40px;
    }
    
    .timeline-marker {
        position: absolute;
        left: -30px;
        top: 20px;
    }
    
    .timeline-content {
        margin: 0;
        width: 100%;
    }
    
    .page-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .page-hero {
        min-height: 20vh;
        padding: 80px 0 30px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        max-width: 600px;
        padding: 0 15px;
    }
    
    .about-text {
        padding: 30px;
    }
    
    .about-text p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .about-content {
        max-width: 400px;
        padding: 0 10px;
    }
    
    .about-text {
        padding: 20px;
    }
    
    .about-text p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .timeline-achievements {
        flex-direction: column;
    }
} 

/* Stories Section */
.stories-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.stories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stories-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23stories-pattern)"/></svg>');
    opacity: 0.5;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.story-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.story-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.story-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.story-card:hover .story-icon::before {
    opacity: 1;
}

.story-icon i {
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 2;
}

.story-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1rem;
}

.story-quote {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #667eea;
    padding: 20px;
    border-radius: 10px;
    position: relative;
}

.story-quote i {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
}

.story-quote span {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mission Section */
.mission-section {
    padding: 20px 0;
    background: linear-gradient(135deg, #16213e 0%, #0a0a0a 50%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

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

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin: 15px 0;
}

.mission-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mission-card:hover::before {
    opacity: 1;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.mission-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    overflow: hidden;
}

.mission-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mission-card:hover .mission-icon::before {
    opacity: 1;
}

.mission-icon i {
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 2;
}

.mission-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.1rem;
}

.mission-values {
    margin-top: 40px;
}

.mission-values h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.value-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateX(10px);
}

.value-item i {
    font-size: 1.5rem;
    color: #667eea;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.value-item span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1rem;
}

/* Responsive Design for new sections */
@media (max-width: 768px) {
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .story-card {
        padding: 30px;
    }
    
    .story-icon {
        width: 60px;
        height: 60px;
    }
    
    .story-icon i {
        font-size: 1.5rem;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mission-card {
        padding: 40px 30px;
    }
    
    .mission-icon {
        width: 80px;
        height: 80px;
    }
    
    .mission-icon i {
        font-size: 2rem;
    }
    
    .values-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stories-section,
    .mission-section {
        padding: 30px 0;
    }
    
    .story-card,
    .mission-card {
        padding: 25px;
    }
    
    .story-card h3,
    .mission-card h3 {
        font-size: 1.3rem;
    }
    
    .story-card p,
    .mission-card p {
        font-size: 0.95rem;
    }
    
    .story-quote {
        padding: 15px;
    }
    
    .story-quote span {
        font-size: 0.9rem;
    }
}

/* Main Content Modules */
.main-content-modules {
    padding: 40px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: visible;
    z-index: 10;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: auto !important;
}

/* Fix per evitare sovrapposizione delle sezioni contatti */
.contact-info-card,
.contact-form-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.main-content-modules::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 15px;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-info-card:hover::before {
    opacity: 1;
}

.contact-info-card h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-intro {
    color: #b8c5d6;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-methods {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    color: white;
    font-size: 20px;
}

.method-content h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.method-content p {
    color: #b8c5d6;
    margin-bottom: 5px;
}

.method-content p a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.method-content p a:hover {
    color: #764ba2;
}

.method-note {
    color: #8a9ba8;
    font-size: 0.9rem;
    font-style: italic;
}

/* Certificazioni e Badge */
.certifications-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.certifications-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.certification-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.certification-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-icon i {
    color: white;
    font-size: 16px;
}

.badge-content h5 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.2;
}

.badge-note {
    color: #8a9ba8;
    font-size: 0.75rem;
    line-height: 1.2;
}

.social-contact {
    margin-top: 30px;
}

.social-contact h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.social-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-btn:hover::before {
    left: 100%;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.social-btn i {
    font-size: 20px;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-form-card:hover::before {
    opacity: 1;
}

.contact-form h3 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.form-label {
    display: block;
    color: #fff;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 16px;
    z-index: 2;
}

.form-input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-input::placeholder {
    color: #8a9ba8;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Rimuovi qualsiasi background non desiderato dai campi del form */
.form-input,
.form-input:focus,
.form-input:invalid {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.form-input:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

/* Nascondi checkmark che potrebbero apparire sotto i campi del form, ma non quelli del checkbox privacy */
.input-wrapper .checkmark,
.form-input + .checkmark {
    display: none !important;
}

.form-input:invalid {
    border-color: #e74c3c;
}

textarea.form-input {
    resize: vertical;
    min-height: 300px;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 0;
    display: none;
}

.error-message:not(:empty) {
    display: block;
    min-height: 20px;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

.checkbox-wrapper input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-wrapper .checkmark {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.checkbox-wrapper input:checked ~ .checkmark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.checkbox-wrapper .checkmark:after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-wrapper input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-text {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 400;
}

.checkbox-text a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.checkbox-text a:hover {
    color: #764ba2;
}

.submit-btn {
    width: 100%;
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%) !important;
}

.submit-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Messaggi di conferma e errore */
.success-message,
.error-message {
    margin-top: 20px;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

.success-message {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.error-message {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.success-content,
.error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.success-content i {
    color: #2ecc71;
    font-size: 2rem;
}

.error-content i {
    color: #e74c3c;
    font-size: 2rem;
}

.success-content h4,
.error-content h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.success-content p,
.error-content p {
    color: #b8c5d6;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

/* Map Section */
.map-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #16213e 0%, #0a0a0a 100%);
    position: relative;
    overflow: visible;
    z-index: 1;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(118, 75, 162, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.map-placeholder {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-placeholder:hover::before {
    opacity: 1;
}

.map-content h3 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.map-content p {
    color: #b8c5d6;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.map-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
}

.map-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

.map-icon i {
    color: white;
    font-size: 35px;
}

.map-details {
    display: grid;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateX(5px);
}

.detail-item i {
    color: #667eea;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.detail-item span {
    color: #b8c5d6;
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    position: relative;
    overflow: visible;
    z-index: 10;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: auto !important;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 75%, rgba(102, 126, 234, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(118, 75, 162, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question[aria-expanded="true"] {
    background: rgba(102, 126, 234, 0.1);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.faq-text {
    flex: 1;
    margin-right: 20px;
}

.faq-icon {
    color: #667eea;
    font-size: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer p {
    padding: 0 30px 25px;
    color: #b8c5d6;
    line-height: 1.6;
    margin: 0;
}

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

/* Contact 3D Container */
.contact-3d-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.contact-3d-container .floating-card {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-3d-container .floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.contact-3d-container .floating-card i {
    font-size: 30px;
    color: #667eea;
    margin-bottom: 8px;
}

.contact-3d-container .floating-card span {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 15px 20px;
    }
    
    .contact-info-card h2 {
        font-size: 2rem;
    }
    
    .contact-form h3 {
        font-size: 1.8rem;
    }
    
    .contact-methods {
        gap: 12px;
    }
    
    .contact-method {
        padding: 10px;
    }
    
    .method-icon {
        width: 45px;
        height: 45px;
    }
    
    .method-icon i {
        font-size: 18px;
    }
    
    .social-buttons {
        gap: 12px;
    }
    
    .social-btn {
        width: 45px;
        height: 45px;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .certification-badge {
        padding: 8px;
    }
    
    .badge-icon {
        width: 35px;
        height: 35px;
    }
    
    .badge-icon i {
        font-size: 14px;
    }
    
    .badge-content h5 {
        font-size: 0.8rem;
    }
    
    .badge-note {
        font-size: 0.7rem;
    }
    
    .map-placeholder {
        padding: 40px 25px;
    }
    
    .map-content h3 {
        font-size: 1.8rem;
    }
    
    .map-icon {
        width: 70px;
        height: 70px;
    }
    
    .map-icon i {
        font-size: 30px;
    }
    
    .faq-question {
        padding: 20px 25px;
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 25px 20px;
    }
    
    .contact-3d-container .floating-card {
        width: 100px;
        height: 100px;
    }
    
    .contact-3d-container .floating-card i {
        font-size: 25px;
    }
}

@media (max-width: 480px) {
    .contact-info-card,
    .contact-form-card {
        padding: 12px 15px;
    }
    
    .contact-info-card h2 {
        font-size: 1.8rem;
    }
    
    .contact-form h3 {
        font-size: 1.6rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 8px;
    }
    
    .method-icon {
        align-self: center;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .certification-badge {
        padding: 10px;
    }
    
    .badge-icon {
        width: 40px;
        height: 40px;
    }
    
    .badge-icon i {
        font-size: 16px;
    }
    
    .badge-content h5 {
        font-size: 0.9rem;
    }
    
    .badge-note {
        font-size: 0.8rem;
    }
    
    .social-buttons {
        justify-content: center;
    }
    
    .map-placeholder {
        padding: 30px 20px;
    }
    
    .map-content h3 {
        font-size: 1.6rem;
    }
    
    .map-icon {
        width: 60px;
        height: 60px;
    }
    
    .map-icon i {
        font-size: 25px;
    }
    
    .detail-item {
        padding: 10px 15px;
    }
    
    .faq-question {
        padding: 18px 20px;
        font-size: 0.95rem;
    }
    
    .faq-answer p {
        padding: 0 20px 18px;
        font-size: 0.9rem;
    }
    
    .contact-3d-container .floating-card {
        width: 80px;
        height: 80px;
    }
    
    .contact-3d-container .floating-card i {
        font-size: 20px;
    }
    
    .contact-3d-container .floating-card span {
        font-size: 0.8rem;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10000;
    display: none;
    padding: 20px;
}

/* Isolamento degli stili del cookie banner */
.cookie-banner .cookie-checkbox,
.cookie-banner .cookie-label {
    /* Stili isolati per evitare conflitti */
}

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

.cookie-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.cookie-header i {
    font-size: 1.5rem;
    color: #667eea;
}

.cookie-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.cookie-body p {
    color: #b8c5d6;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.cookie-banner .cookie-option {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner .cookie-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.cookie-banner .cookie-checkbox input[type="checkbox"] {
    display: none;
}

.cookie-banner .cookie-checkbox .checkmark {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-banner .cookie-checkbox input:checked ~ .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.cookie-banner .cookie-checkbox .checkmark:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

.cookie-banner .cookie-checkbox input:checked ~ .checkmark:after {
    opacity: 1;
}

/* Stili specifici per i checkbox del form di contatto */
.form-group .checkbox-wrapper .checkmark {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.form-group .checkbox-wrapper input:checked ~ .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-wrapper:hover .checkmark {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.form-group .checkbox-wrapper .checkmark:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

.form-group .checkbox-wrapper input:checked ~ .checkmark:after {
    opacity: 1;
}

/* Assicurati che il checkbox privacy sia sempre visibile */
#privacy + .checkmark {
    display: block !important;
}

.checkbox-wrapper .checkmark {
    display: block !important;
}

.cookie-banner .cookie-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cookie-banner .cookie-label strong {
    color: #fff;
    font-size: 0.95rem;
}

.cookie-banner .cookie-label small {
    color: #8a9ba8;
    font-size: 0.8rem;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.cookie-actions .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cookie-links a {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.cookie-links a:hover {
    color: #764ba2;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal-content {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-modal-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.4rem;
}

.close-btn {
    background: none;
    border: none;
    color: #8a9ba8;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.cookie-modal-body {
    padding: 30px;
}

.cookie-category {
    margin-bottom: 30px;
}

.cookie-category h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.cookie-category p {
    color: #b8c5d6;
    line-height: 1.6;
    margin-bottom: 15px;
}

.cookie-category ul {
    color: #b8c5d6;
    margin-bottom: 15px;
    padding-left: 20px;
}

.cookie-category li {
    margin-bottom: 5px;
}

.cookie-modal-actions {
    padding: 25px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .cookie-options {
        grid-template-columns: 1fr;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-actions .btn {
        width: 100%;
    }
    
    .cookie-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .cookie-modal-content {
        margin: 20px;
        max-height: 90vh;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-actions {
        padding: 20px;
    }
    
    .cookie-modal-actions {
        flex-direction: column;
    }
}

/* Privacy Policy Styles */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.privacy-section {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.privacy-section h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-section h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 25px;
}

.privacy-section p {
    color: #b8c5d6;
    line-height: 1.6;
    margin-bottom: 15px;
}

.privacy-section ul {
    color: #b8c5d6;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 20px;
}

.privacy-section li {
    margin-bottom: 8px;
}

.privacy-section strong {
    color: #fff;
    font-weight: 600;
}

.contact-info-privacy {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
}

.contact-info-privacy p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-privacy i {
    color: #667eea;
    width: 20px;
}

/* Cookie Table Styles */
.cookie-table {
    margin: 20px 0;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
}

.cookie-table th {
    background: rgba(102, 126, 234, 0.2);
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.cookie-table td {
    color: #b8c5d6;
    padding: 12px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.cookie-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Responsive Privacy */
@media (max-width: 768px) {
    .privacy-content {
        padding: 20px 15px;
    }
    
    .privacy-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .privacy-section h3 {
        font-size: 1.2rem;
    }
    
    .cookie-table {
        font-size: 0.8rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 10px;
    }
}

/* Cookie Settings Button */
.cookie-settings-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    padding: inherit;
    margin: inherit;
    display: inherit;
    align-items: inherit;
    gap: inherit;
    transition: inherit;
    text-decoration: inherit;
}

.cookie-settings-btn:hover {
    color: #667eea;
    transform: translateY(-2px);
}

.cookie-settings-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* ===== DROPDOWN MENU STYLES ===== */

/* Dropdown Navigation */
.nav-item.dropdown {
    position: relative;
}

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

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    margin-left: 0.25rem;
}

.dropdown-arrow.rotate {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    padding: 0;
    min-width: 700px;
    max-width: 90vw;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.dropdown-menu.closing {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px) scale(0.95);
    transition: all 0.2s ease;
}

.dropdown-content {
    padding: 1.5rem;
}

.dropdown-section {
    margin-bottom: 1.5rem;
}

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

.dropdown-section h4 {
    color: #667eea;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.dropdown-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 1px;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.dropdown-item:hover::before {
    left: 100%;
}

.dropdown-item:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.dropdown-item:hover .dropdown-icon {
    transform: scale(1.1) rotate(5deg);
}

.dropdown-text h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.dropdown-text p {
    color: #b8c5d6;
    font-size: 0.8rem;
    line-height: 1.3;
    margin: 0;
}

.dropdown-footer {
    padding: 1rem 1.5rem;
    background: rgba(102, 126, 234, 0.1);
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 0 0 20px 20px;
    text-align: center;
}

.dropdown-all-services {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.dropdown-all-services:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.6);
    transform: translateY(-2px);
}

/* Responsive Dropdown */
@media (max-width: 1024px) {
    .dropdown-menu {
        min-width: 500px;
        left: 0;
        transform: translateX(0) translateY(10px);
    }
    
    .dropdown-menu.show {
        transform: translateX(0) translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        min-width: auto;
        width: 100%;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(255, 255, 255, 0.02);
        border: none;
        border-radius: 0;
        margin-top: 1rem;
        box-shadow: none;
    }
    
    .dropdown-content {
        padding: 1rem;
    }
    
    .dropdown-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .dropdown-item {
        padding: 1rem;
    }
    
    .dropdown-footer {
        padding: 1rem;
        border-radius: 0;
    }
}

/* ===== HERO CONTAINER STYLES ===== */

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    z-index: 2;
}

.hero-image {
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero[data-service="ecommerce"] .hero-title .highlight {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #b8c5d6;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #b8c5d6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== RESULTS SECTION STYLES ===== */

.results-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.results-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.result-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.result-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.1);
}

.result-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.result-number {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.result-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.result-description {
    font-size: 0.9rem;
    color: #b8c5d6;
    line-height: 1.5;
}

/* ===== PROCESS SECTION STYLES ===== */

.process-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

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

.step-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin: 0 2rem;
    flex: 1;
    position: relative;
}

.step-content::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border: 15px solid transparent;
}

.process-step:nth-child(odd) .step-content::before {
    right: -30px;
    border-left-color: rgba(102, 126, 234, 0.2);
}

.process-step:nth-child(even) .step-content::before {
    left: -30px;
    border-right-color: rgba(102, 126, 234, 0.2);
}

.step-content h3 {
    color: #667eea;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-content p {
    color: #b8c5d6;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.step-content ul {
    list-style: none;
    padding: 0;
}

.step-content li {
    color: #b8c5d6;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.step-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* ===== CTA SECTION STYLES ===== */

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.cta-guarantee i {
    color: #4ade80;
}

/* ===== SEO PAGE STYLES ===== */

.hero[data-service="seo"] {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.hero[data-service="seo"] .gradient-text {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero[data-service="seo"] .btn-primary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.hero[data-service="seo"] .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.6);
}

.hero[data-service="seo"] .btn-secondary {
    border: 2px solid #4facfe;
    color: #4facfe;
}

.hero[data-service="seo"] .btn-secondary:hover {
    background: #4facfe;
    color: white;
}

/* ===== ECOMMERCE PAGE STYLES ===== */

.hero[data-service="ecommerce"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero[data-service="ecommerce"] .gradient-text {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero[data-service="ecommerce"] .btn-primary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
}

.hero[data-service="ecommerce"] .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.6);
}

.hero[data-service="ecommerce"] .btn-secondary {
    border: 2px solid #f093fb;
    color: #f093fb;
}

.hero[data-service="ecommerce"] .btn-secondary:hover {
    background: #f093fb;
    color: white;
}

/* ===== API DEVELOPMENT PAGE STYLES ===== */

.hero[data-service="api-development"] {
    background: linear-gradient(135deg, #0c4a6e 0%, #075985 100%);
}

.hero[data-service="api-development"] .gradient-text {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero[data-service="api-development"] .btn-primary {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.hero[data-service="api-development"] .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.6);
}

.hero[data-service="api-development"] .btn-secondary {
    border: 2px solid #06b6d4;
    color: #06b6d4;
}

.hero[data-service="api-development"] .btn-secondary:hover {
    background: #06b6d4;
    color: white;
}

/* ===== HERO VISUALIZATIONS STYLES ===== */

/* SEO Visualization */
.seo-visualization {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.search-engine {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-engine i {
    font-size: 2rem;
    color: #4facfe;
}

.search-engine span {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.search-results {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 300px;
}

.result-item {
    margin-bottom: 1rem;
}

.result-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a0dab;
    margin-bottom: 0.25rem;
}

.result-url {
    font-size: 0.9rem;
    color: #006621;
    margin-bottom: 0.25rem;
}

.result-description {
    font-size: 0.85rem;
    color: #545454;
    line-height: 1.4;
}

.traffic-arrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.traffic-arrow i {
    font-size: 1.2rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* E-commerce Visualization */
.ecommerce-visualization {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.store-preview {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    min-width: 350px;
    max-width: 400px;
}

.store-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f093fb;
}

.store-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.store-nav {
    display: flex;
    gap: 1rem;
}

.store-nav span {
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.store-nav span:hover {
    color: #f093fb;
}

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

.product-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.product-image {
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: #f093fb;
}

.conversion-arrow {
    --parallax-x: 0px;
    --parallax-y: 0px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    animation: bounceParallax 2s infinite;
    transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
}

.conversion-arrow i {
    font-size: 1.2rem;
}

@keyframes bounceParallax {
    0%, 20%, 50%, 80%, 100% { transform: translate3d(var(--parallax-x), var(--parallax-y), 0); }
    40% { transform: translate3d(var(--parallax-x), calc(var(--parallax-y) - 10px), 0); }
    60% { transform: translate3d(var(--parallax-x), calc(var(--parallax-y) - 5px), 0); }
}

/* API Visualization */
.api-visualization {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.api-connections {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.api-node {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(6, 182, 212, 0.3);
    transition: all 0.3s ease;
}

.api-node:hover {
    transform: scale(1.1);
    border-color: #06b6d4;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.api-node.central {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    border-color: #06b6d4;
    z-index: 10;
}

.api-node i {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.25rem;
}

.api-node.central i {
    font-size: 2rem;
}

.api-node span {
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    text-align: center;
}

.api-node.central span {
    font-size: 0.8rem;
}

.api-node:nth-child(2) { top: 0; left: 50%; transform: translateX(-50%); }
.api-node:nth-child(3) { top: 50%; right: 0; transform: translateY(-50%); }
.api-node:nth-child(4) { bottom: 0; left: 50%; transform: translateX(-50%); }
.api-node:nth-child(5) { top: 50%; left: 0; transform: translateY(-50%); }

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
    height: 2px;
    border-radius: 1px;
    animation: flow 3s infinite;
}

.line:nth-child(1) {
    top: 50%;
    left: 50%;
    width: 50%;
    transform: translateY(-50%) rotate(0deg);
    transform-origin: left center;
}

.line:nth-child(2) {
    top: 50%;
    right: 50%;
    width: 50%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: right center;
}

.line:nth-child(3) {
    bottom: 50%;
    left: 50%;
    width: 50%;
    transform: translateY(50%) rotate(180deg);
    transform-origin: left center;
}

.line:nth-child(4) {
    top: 50%;
    left: 0;
    width: 50%;
    transform: translateY(-50%) rotate(270deg);
    transform-origin: right center;
}

@keyframes flow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ===== RESPONSIVE STYLES FOR HERO VISUALIZATIONS ===== */

@media (max-width: 1024px) {
    .seo-visualization {
        gap: 1.5rem;
    }
    
    .search-results {
        min-width: 250px;
        padding: 1rem;
    }
    
    .store-preview {
        min-width: 300px;
        max-width: 350px;
        padding: 1rem;
    }
    
    .product-grid {
        gap: 0.75rem;
    }
    
    .api-connections {
        width: 250px;
        height: 250px;
    }
    
    .api-node {
        width: 60px;
        height: 60px;
    }
    
    .api-node.central {
        width: 80px;
        height: 80px;
    }
    
    .api-node i {
        font-size: 1.2rem;
    }
    
    .api-node.central i {
        font-size: 1.5rem;
    }
    
    .api-node span {
        font-size: 0.6rem;
    }
    
    .api-node.central span {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .seo-visualization {
        gap: 1rem;
    }
    
    .search-engine {
        padding: 0.75rem 1.5rem;
    }
    
    .search-engine i {
        font-size: 1.5rem;
    }
    
    .search-engine span {
        font-size: 1rem;
    }
    
    .search-results {
        min-width: 200px;
        padding: 0.75rem;
    }
    
    .result-title {
        font-size: 1rem;
    }
    
    .result-url {
        font-size: 0.8rem;
    }
    
    .result-description {
        font-size: 0.75rem;
    }
    
    .traffic-arrow {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .store-preview {
        min-width: 250px;
        max-width: 300px;
        padding: 0.75rem;
    }
    
    .store-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .store-nav {
        gap: 0.5rem;
    }
    
    .store-nav span {
        font-size: 0.8rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .product-card {
        padding: 0.75rem;
    }
    
    .product-image {
        height: 60px;
    }
    
    .product-title {
        font-size: 0.8rem;
    }
    
    .product-price {
        font-size: 0.9rem;
    }
    
    .conversion-arrow {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .api-connections {
        width: 200px;
        height: 200px;
    }
    
    .api-node {
        width: 50px;
        height: 50px;
    }
    
    .api-node.central {
        width: 70px;
        height: 70px;
    }
    
    .api-node i {
        font-size: 1rem;
    }
    
    .api-node.central i {
        font-size: 1.2rem;
    }
    
    .api-node span {
        font-size: 0.5rem;
    }
    
    .api-node.central span {
        font-size: 0.6rem;
    }
}

/* ===== RESPONSIVE STYLES FOR NEW SECTIONS ===== */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .results-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .process-step {
        flex-direction: row !important;
        padding-left: 60px;
    }
    
    .step-content::before {
        left: -30px !important;
        right: auto !important;
        border-right-color: rgba(102, 126, 234, 0.2) !important;
        border-left-color: transparent !important;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 0 15px;
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .result-card {
        padding: 1.5rem;
    }
    
    .result-number {
        font-size: 2.5rem;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .process-step {
        padding-left: 50px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .step-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .step-content h3 {
        font-size: 1.3rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== LOADING SCREEN STYLES ===== */

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: #fff;
}

.loading-logo {
    margin-bottom: 2rem;
}

.loading-logo-image {
    width: 120px;
    height: auto;
    animation: pulse 2s ease-in-out infinite;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    animation: loading 2s ease-in-out infinite;
}

.loading-text {
    font-size: 1rem;
    color: #b8c5d6;
    font-weight: 500;
}

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

@keyframes loading {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ===== AOS ANIMATION STYLES ===== */

/* Animazioni di base per sostituire AOS */
[data-aos] {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.8s ease;
}

[data-aos="fade-up"] {
    transform: translateY(0) !important;
}

[data-aos="fade-left"] {
    transform: translateX(0) !important;
}

[data-aos="fade-right"] {
    transform: translateX(0) !important;
}

[data-aos="zoom-in"] {
    transform: scale(1) !important;
}

[data-aos="fade-down"] {
    transform: translateY(0) !important;
}

[data-aos="fade-up"].aos-animate,
[data-aos="fade-left"].aos-animate,
[data-aos="fade-right"].aos-animate,
[data-aos="zoom-in"].aos-animate,
[data-aos="fade-down"].aos-animate {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

/* ===== DATA ENTRY PAGE STYLES ===== */

/* Schema Colori Data Entry - Verde/Arancione */
:root {
    --data-entry-primary: #10b981; /* Verde smeraldo */
    --data-entry-secondary: #f59e0b; /* Arancione ambra */
    --data-entry-accent: #34d399; /* Verde chiaro */
    --data-entry-dark: #064e3b; /* Verde scuro */
    --data-entry-light: #d1fae5; /* Verde molto chiaro */
    --data-entry-gradient: linear-gradient(135deg, #10b981 0%, #f59e0b 100%);
    --data-entry-bg: linear-gradient(135deg, #064e3b 0%, #0a0a0a 100%);
}

/* Schema Colori Web Scraping - Rosso/Arancione */
:root {
    --scraping-primary: #ef4444; /* Rosso */
    --scraping-secondary: #f97316; /* Arancione */
    --scraping-accent: #fbbf24; /* Giallo ambra */
    --scraping-dark: #7f1d1d; /* Rosso scuro */
    --scraping-light: #fef2f2; /* Rosso molto chiaro */
    --scraping-gradient: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    --scraping-bg: linear-gradient(135deg, #7f1d1d 0%, #0a0a0a 100%);
}

/* Schema Colori Sviluppo Software - Blu/Viola (esistente) */
:root {
    --software-primary: #667eea; /* Blu */
    --software-secondary: #764ba2; /* Viola */
    --software-accent: #a78bfa; /* Viola chiaro */
    --software-dark: #1e1b4b; /* Blu scuro */
    --software-light: #e0e7ff; /* Blu molto chiaro */
    --software-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --software-bg: linear-gradient(135deg, #1e1b4b 0%, #0a0a0a 100%);
}

/* Data Entry Hero Section */
.data-entry-hero {
    background: var(--data-entry-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Stili specifici per Data Entry */
.data-entry-hero .btn-primary {
    background: var(--data-entry-gradient);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.data-entry-hero .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.data-entry-hero .btn-secondary {
    border: 2px solid var(--data-entry-primary);
    color: var(--data-entry-primary);
}

.data-entry-hero .btn-secondary:hover {
    background: var(--data-entry-primary);
    color: white;
}

/* Stili per le card dei servizi Data Entry */
.services-overview .service-card {
    border: 1px solid rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.05);
}

.services-overview .service-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.1);
    transform: translateY(-10px);
}

.services-overview .service-card::before {
    background: linear-gradient(90deg, var(--data-entry-primary) 0%, var(--data-entry-secondary) 100%);
}

.services-overview .service-icon {
    background: var(--data-entry-gradient);
    color: white;
}

.services-overview .service-card h3 {
    color: var(--data-entry-primary);
}

/* ===== WEB SCRAPING PAGE STYLES ===== */

/* Stili specifici per Web Scraping */
.hero[data-service="web-scraping"] {
    background: var(--scraping-bg);
}

.hero[data-service="web-scraping"] .gradient-text {
    background: var(--scraping-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero[data-service="web-scraping"] .btn-primary {
    background: var(--scraping-gradient);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.hero[data-service="web-scraping"] .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
}

.hero[data-service="web-scraping"] .btn-secondary {
    border: 2px solid var(--scraping-primary);
    color: var(--scraping-primary);
}

.hero[data-service="web-scraping"] .btn-secondary:hover {
    background: var(--scraping-primary);
    color: white;
}

/* Stili per le card dei servizi Web Scraping */
.services-section[data-service="web-scraping"] .service-card {
    border: 1px solid rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.05);
}

.services-section[data-service="web-scraping"] .service-card:hover {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.1);
    transform: translateY(-10px);
}

.services-section[data-service="web-scraping"] .service-card::before {
    background: linear-gradient(90deg, var(--scraping-primary) 0%, var(--scraping-secondary) 100%);
}

.services-section[data-service="web-scraping"] .service-icon {
    background: var(--scraping-gradient);
    color: white;
}

.services-section[data-service="web-scraping"] .service-card h3 {
    color: var(--scraping-primary);
}

/* ===== SVILUPPO SOFTWARE PAGE STYLES ===== */

/* Stili specifici per Sviluppo Software */
.hero[data-service="software-development"] {
    background: var(--software-bg);
}

.hero[data-service="software-development"] .gradient-text {
    background: var(--software-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero[data-service="software-development"] .btn-primary {
    background: var(--software-gradient);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.hero[data-service="software-development"] .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.hero[data-service="software-development"] .btn-secondary {
    border: 2px solid var(--software-primary);
    color: var(--software-primary);
}

.hero[data-service="software-development"] .btn-secondary:hover {
    background: var(--software-primary);
    color: white;
}

/* Stili per le card dei servizi Sviluppo Software */
.services-section[data-service="software-development"] .service-card {
    border: 1px solid rgba(102, 126, 234, 0.2);
    background: rgba(102, 126, 234, 0.05);
}

.services-section[data-service="software-development"] .service-card:hover {
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.1);
    transform: translateY(-10px);
}

.services-section[data-service="software-development"] .service-card::before {
    background: linear-gradient(90deg, var(--software-primary) 0%, var(--software-secondary) 100%);
}

.services-section[data-service="software-development"] .service-icon {
    background: var(--software-gradient);
    color: white;
}

.services-section[data-service="software-development"] .service-card h3 {
    color: var(--software-primary);
}

/* Pattern specifici per Web Scraping */
.hero[data-service="web-scraping"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="web-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M 0 15 L 15 0 L 30 15 L 15 30 Z" fill="none" stroke="rgba(239,68,68,0.1)" stroke-width="1"/><circle cx="15" cy="15" r="2" fill="rgba(239,68,68,0.2)"/></pattern></defs><rect width="100" height="100" fill="url(%23web-pattern)"/></svg>');
    opacity: 0.3;
    animation: webCrawl 15s linear infinite;
}

@keyframes webCrawl {
    0% { transform: translateX(0) translateY(0) rotate(0deg); }
    25% { transform: translateX(-5px) translateY(-5px) rotate(1deg); }
    50% { transform: translateX(0) translateY(-10px) rotate(0deg); }
    75% { transform: translateX(5px) translateY(-5px) rotate(-1deg); }
    100% { transform: translateX(0) translateY(0) rotate(0deg); }
}

/* Pattern specifici per Sviluppo Software */
.hero[data-service="software-development"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="code-pattern" width="25" height="25" patternUnits="userSpaceOnUse"><rect x="0" y="0" width="25" height="25" fill="none" stroke="rgba(102,126,234,0.1)" stroke-width="0.5"/><path d="M 5 5 L 20 5 M 5 10 L 15 10 M 5 15 L 20 15" stroke="rgba(102,126,234,0.2)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23code-pattern)"/></svg>');
    opacity: 0.3;
    animation: codeGlow 12s ease-in-out infinite;
}

@keyframes codeGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.02); }
}

/* ===== ELEMENTI INTERATTIVI E MICRO-ANIMAZIONI ===== */

/* Tooltip personalizzati */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 8px 12px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    font-size: 0.9rem;
    line-height: 1.4;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Animazioni per le card dei servizi */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::after {
    left: 100%;
}

/* Effetti di parallax per le icone */
.service-icon {
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1.1) rotate(5deg); }
    50% { transform: scale(1.15) rotate(5deg); }
}

/* Animazioni per i bottoni */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

/* Effetti di hover per le sezioni */
.section-header {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.section-header:hover {
    transform: translateY(-2px);
}

.section-header:hover .section-title {
    background: linear-gradient(135deg, var(--data-entry-primary), var(--data-entry-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animazioni per le statistiche */
.stat-item {
    transition: all 0.3s ease;
}

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

.stat-number {
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    color: var(--data-entry-primary);
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* ===== SEZIONE FAQ ===== */
.faq-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="faq-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(16,185,129,0.1)"/><path d="M 0 20 L 40 20 M 20 0 L 20 40" stroke="rgba(16,185,129,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23faq-pattern)"/></svg>');
    opacity: 0.3;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(16, 185, 129, 0.05);
    transition: all 0.3s ease;
}

.faq-question h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: var(--data-entry-primary);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

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

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* ===== SEZIONE TESTIMONIAL ===== */
.testimonial-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    position: relative;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="testimonial-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="3" fill="rgba(239,68,68,0.1)"/><path d="M 0 25 L 50 25 M 25 0 L 25 50" stroke="rgba(239,68,68,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23testimonial-pattern)"/></svg>');
    opacity: 0.2;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--scraping-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.1);
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-quote {
    margin-bottom: 1.5rem;
}

.testimonial-quote i {
    color: var(--scraping-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.testimonial-quote p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--scraping-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.author-info h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.author-info span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ===== MIGLIORAMENTI TIPOGRAFIA ===== */

/* Gerarchia tipografica migliorata */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--data-entry-gradient);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Titoli delle card con varietà */
.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.case-study-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* Testi con varietà di dimensioni */
.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.typing-text {
    font-size: 3.5rem;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.02em;
}

/* Statistiche con enfasi */
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    display: block;
    margin-bottom: 0.5rem;
    width: 150px; /* Larghezza fissa maggiore per numeri più grandi */
    text-align: center; /* Centra il testo nella larghezza fissa */
    min-height: 3.5rem; /* Altezza minima per evitare salti verticali */
    font-family: 'Courier New', monospace; /* Font monospace per padding consistente */
    white-space: pre; /* Preserva gli spazi del padding */
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
}

/* Bottoni con varietà tipografica */
.btn {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
}

.btn-large {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 2rem;
}

/* FAQ con gerarchia chiara */
.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.faq-answer p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Testimonial con enfasi */
.testimonial-quote p {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
    font-style: italic;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.author-info span {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive typography */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title .gradient-text,
    .typing-text {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
        width: 100px; /* Larghezza ridotta per tablet */
        min-height: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title .gradient-text,
    .typing-text {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
        width: 80px; /* Larghezza ridotta per mobile */
        min-height: 2rem;
    }
}


.data-entry-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="data-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(16,185,129,0.2)" stroke-width="0.5"/><circle cx="10" cy="10" r="1" fill="rgba(16,185,129,0.3)"/></pattern></defs><rect width="100" height="100" fill="url(%23data-grid)"/></svg>');
    opacity: 0.4;
    animation: dataFlow 20s linear infinite;
}

@keyframes dataFlow {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-10px) translateY(-5px); }
    50% { transform: translateX(0) translateY(-10px); }
    75% { transform: translateX(10px) translateY(-5px); }
    100% { transform: translateX(0) translateY(0); }
}

.data-entry-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.data-entry-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.data-entry-hero .hero-title .highlight {
    background: var(--data-entry-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.data-entry-hero .hero-subtitle {
    font-size: 1.3rem;
    color: #b8c5d6;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.data-entry-hero .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Data Entry Animation */
.data-entry-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    height: 400px;
    position: relative;
}

.document-stack {
    position: relative;
    width: 120px;
    height: 160px;
}

.document {
    position: absolute;
    width: 100px;
    height: 140px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    animation: documentFloat 3s ease-in-out infinite;
    overflow: hidden;
}

.doc-1 {
    top: 0;
    left: 0;
    animation-delay: 0s;
    z-index: 3;
}

.doc-2 {
    top: 10px;
    left: 10px;
    animation-delay: 0.5s;
    z-index: 2;
    opacity: 0.9;
}

.doc-3 {
    top: 20px;
    left: 20px;
    animation-delay: 1s;
    z-index: 1;
    opacity: 0.8;
}

.doc-lines {
    padding: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doc-line {
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    animation: linePulse 2s ease-in-out infinite;
}

.doc-line:nth-child(1) { width: 90%; animation-delay: 0s; }
.doc-line:nth-child(2) { width: 70%; animation-delay: 0.2s; }
.doc-line:nth-child(3) { width: 85%; animation-delay: 0.4s; }
.doc-line:nth-child(4) { width: 60%; animation-delay: 0.6s; }

.scan-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 140px;
    background: linear-gradient(to bottom, transparent 0%, rgba(102, 126, 234, 0.5) 50%, transparent 100%);
    animation: scanMove 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 4;
}

.conversion-arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-svg {
    width: 80px;
    height: 80px;
}

.arrow-path {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: arrowDraw 2s ease-in-out infinite;
}

.arrow-head {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    animation: arrowDraw 2s ease-in-out infinite 0.5s;
}

.arrow-circle {
    animation: arrowRotate 3s linear infinite;
    transform-origin: 40px 40px;
}

.data-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.data-particles .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #667eea;
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 3s ease-in-out infinite;
}

.data-particles .particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.data-particles .particle:nth-child(2) {
    top: 50%;
    left: 20%;
    animation-delay: 0.5s;
}

.data-particles .particle:nth-child(3) {
    top: 70%;
    left: 15%;
    animation-delay: 1s;
}

.data-particles .particle:nth-child(4) {
    top: 40%;
    left: 5%;
    animation-delay: 1.5s;
}

.digital-data {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.database-container {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.db-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #fff;
}

.db-icon {
    font-size: 1.5rem;
    color: #667eea;
    animation: iconPulse 2s ease-in-out infinite;
}

.db-title {
    font-weight: 600;
    font-size: 1rem;
}

.db-rows {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.db-row {
    display: flex;
    gap: 0.5rem;
    animation: rowSlide 1.5s ease-in-out infinite;
}

.db-row:nth-child(1) { animation-delay: 0s; }
.db-row:nth-child(2) { animation-delay: 0.2s; }
.db-row:nth-child(3) { animation-delay: 0.4s; }
.db-row:nth-child(4) { animation-delay: 0.6s; }

.db-cell {
    flex: 1;
    height: 8px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    animation: cellPulse 2s ease-in-out infinite;
}

.db-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    animation: pulseRing 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes documentFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes linePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes scanMove {
    0% { transform: translateY(-100%); }
    50% { transform: translateY(100%); }
    100% { transform: translateY(-100%); }
}

@keyframes arrowDraw {
    0% { stroke-dashoffset: 40; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 40; }
}

@keyframes arrowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translate(0, 0) scale(0); }
    20% { opacity: 1; transform: translate(20px, -30px) scale(1); }
    100% { opacity: 0; transform: translate(40px, -60px) scale(0); }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes rowSlide {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    50% { transform: translateX(5px); opacity: 1; }
}

@keyframes cellPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes pulseRing {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* Services Overview */
.services-overview {
    padding: 6rem 0;
    background: #0f0f23;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.1);
}

.service-card .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 2;
}

.service-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    overflow: hidden;
    border-radius: 16px;
    z-index: 0;
}

.service-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.service-card:hover .service-visual {
    opacity: 0.2;
}

.db-top, .db-bottom {
    animation: dbFloat 3s ease-in-out infinite;
}

.db-body {
    animation: dbGlow 2s ease-in-out infinite;
}

.data-line {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: lineDraw 2s ease-in-out infinite;
}

.data-line:nth-child(1) { animation-delay: 0s; }
.data-line:nth-child(2) { animation-delay: 0.3s; }
.data-line:nth-child(3) { animation-delay: 0.6s; }

.doc-paper {
    animation: docShake 4s ease-in-out infinite;
}

.text-line {
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    animation: textWrite 2s ease-in-out infinite;
}

.text-line:nth-child(1) { animation-delay: 0s; }
.text-line:nth-child(2) { animation-delay: 0.2s; }
.text-line:nth-child(3) { animation-delay: 0.4s; }
.text-line:nth-child(4) { animation-delay: 0.6s; }

.scan-beam {
    animation: scanMove 2s ease-in-out infinite;
}

.code-line {
    opacity: 0;
    animation: codeAppear 1.5s ease-in-out infinite;
}

.code-line:nth-child(1) { animation-delay: 0s; }
.code-line:nth-child(2) { animation-delay: 0.3s; }
.code-line:nth-child(3) { animation-delay: 0.6s; }

.cursor-blink {
    animation: cursorBlink 1s ease-in-out infinite;
}

@keyframes dbFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes dbGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

@keyframes lineDraw {
    0% { stroke-dashoffset: 100; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 100; }
}

@keyframes docShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(1deg); }
    75% { transform: rotate(-1deg); }
}

@keyframes textWrite {
    0% { stroke-dashoffset: 80; opacity: 0; }
    50% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: 80; opacity: 0; }
}

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

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.service-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #b8c5d6;
    line-height: 1.6;
}

/* Process Steps with Animations */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(102, 126, 234, 0.3) 20%, rgba(102, 126, 234, 0.3) 80%, transparent 100%);
    z-index: 0;
}

@media (max-width: 768px) {
    .process-steps::before {
        display: none;
    }
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.step-visual {
    margin-bottom: 0;
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.step-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.step-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.step-particles .particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    opacity: 0;
    animation: particleOrbit 3s ease-in-out infinite;
}

.step-particles .particle:nth-child(1) {
    top: 0;
    left: 50%;
    animation-delay: 0s;
}

.step-particles .particle:nth-child(2) {
    top: 50%;
    right: 0;
    animation-delay: 0.5s;
}

.step-particles .particle:nth-child(3) {
    bottom: 0;
    left: 50%;
    animation-delay: 1s;
}

.processing-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
}

.gear {
    position: absolute;
    font-size: 2rem;
    color: rgba(102, 126, 234, 0.6);
}

.gear-1 {
    top: 0;
    left: 0;
    animation: gearRotate 3s linear infinite;
}

.gear-2 {
    bottom: 0;
    right: 0;
    animation: gearRotate 3s linear infinite reverse;
}

.success-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
}

.check-mark {
    width: 100%;
    height: 100%;
}

.check-circle {
    stroke-dasharray: 125;
    stroke-dashoffset: 125;
    animation: circleDraw 1s ease-out forwards;
}

.check-path {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: checkDraw 0.8s ease-out forwards 0.5s;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 1.5rem auto;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
    animation: numberPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.step-content {
    margin-top: 1rem;
}

.step-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-content p {
    color: #b8c5d6;
    line-height: 1.6;
    font-size: 1rem;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes particleOrbit {
    0% { 
        opacity: 0;
        transform: translate(-50%, -50%) rotate(0deg) translateX(50px) rotate(0deg);
    }
    50% { 
        opacity: 1;
    }
    100% { 
        opacity: 0;
        transform: translate(-50%, -50%) rotate(360deg) translateX(50px) rotate(-360deg);
    }
}

@keyframes gearRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes circleDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes checkDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes numberPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Benefits Section */
.benefits {
    padding: 6rem 0;
    background: #0a0a0a;
}

.benefits-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
    --grid-columns-lg: 4;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.1);
}

.benefit-card .benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.benefit-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-card p {
    color: #b8c5d6;
    line-height: 1.6;
}

/* Data Types Section */
.data-types {
    padding: 6rem 0;
    background: #0f0f23;
}

.data-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.data-type-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.data-type-item:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
}

.data-type-item .data-type-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    color: white;
}

.data-type-item h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

/* Quotes Section */
.quotes {
    padding: 6rem 0;
    background: #0a0a0a;
}

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

.quote-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
}

.quote-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 4rem;
    color: #667eea;
    font-family: serif;
    opacity: 0.3;
}

.quote-content blockquote {
    color: #fff;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.quote-content cite {
    color: #667eea;
    font-weight: 500;
    font-style: normal;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: #0f0f23;
}

/* Target Audience Section */
.target-audience {
    padding: 6rem 0;
    background: #0a0a0a;
}

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

.target-description {
    color: #b8c5d6;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.target-examples {
    display: grid;
    gap: 1.5rem;
    --grid-columns-lg: 4;
}

.target-example {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.target-example:hover {
    transform: translateY(-3px);
    border-color: rgba(102, 126, 234, 0.4);
}

.target-example i {
    color: #667eea;
    font-size: 1.5rem;
}

.target-example span {
    color: #fff;
    font-weight: 500;
}

/* Why S-Data Section */
.why-sdata {
    padding: 6rem 0;
    background: #0f0f23;
}

.why-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.why-text p {
    color: #b8c5d6;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.why-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.why-feature i {
    color: #667eea;
    font-size: 1.2rem;
}

.why-feature span {
    color: #fff;
    font-weight: 500;
}

.why-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.experience-badge {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    text-align: center;
}

.cta-content h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    color: #b8c5d6;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

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

/* Hero Badge */
.hero-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #fff !important;
    font-weight: 500;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-badge i {
    color: #667eea;
}

/* Hero Stats */
.hero-stats {
    display: flex !important;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1 !important;
    visibility: visible !important;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--data-entry-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #b8c5d6;
    font-weight: 400;
}

/* Hero Trust */
.hero-trust {
    display: flex !important;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    opacity: 1 !important;
    visibility: visible !important;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #b8c5d6;
}

.trust-item i {
    color: #667eea;
    font-size: 1rem;
}

/* Social Proof Banner */
.social-proof-banner {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    padding: 2rem 0;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.proof-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
}

.proof-item i {
    font-size: 2rem;
    background: var(--data-entry-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.proof-text {
    font-size: 1rem;
    line-height: 1.4;
}

.proof-text strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background: #0f0f23;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 6rem;
    color: rgba(102, 126, 234, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.15);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 1rem;
}

.testimonial-text {
    color: #b8c5d6;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

.testimonial-author span {
    color: #b8c5d6;
    font-size: 0.85rem;
}

/* Guarantees Section */
.guarantees-section {
    padding: 6rem 0;
    background: #0a0a0a;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.guarantee-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.guarantee-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.guarantee-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
}

.guarantee-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.guarantee-card p {
    color: #b8c5d6;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Why Stats */
.why-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.why-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--data-entry-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.why-stat-label {
    font-size: 0.9rem;
    color: #b8c5d6;
}

/* Certifications */
.certifications {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
}

.cert-item i {
    color: #667eea;
    font-size: 1.2rem;
}

/* CTA Badge */
.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.2) 0%, rgba(255, 152, 0, 0.2) 100%);
    border: 1px solid rgba(255, 87, 34, 0.3);
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #ffab40;
    font-weight: 600;
    animation: pulse 2s ease-in-out infinite;
}

.cta-badge i {
    color: #ff5722;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* CTA Trust */
.cta-trust {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b8c5d6;
    font-size: 0.9rem;
}

.trust-badge i {
    color: #10b981;
    font-size: 1rem;
}

/* Button Badge */
.btn-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.2rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Button Subtitle */
.btn-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* Button Large */
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    min-width: 220px;
    position: relative;
    overflow: hidden;
}

.btn-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-large:hover::before {
    width: 300px;
    height: 300px;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Fade in animation for new sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonials-section,
.guarantees-section,
.social-proof-banner {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== SOFTWARE DEVELOPMENT ANIMATIONS ===== */

.software-development-animation {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Code Editor */
.code-editor {
    background: #1e1e1e;
    border-radius: 12px;
    width: 300px;
    height: 200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    animation: codeEditorFloat 4s ease-in-out infinite;
}

.editor-header {
    background: #2d2d2d;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #3d3d3d;
}

.editor-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28ca42; }

.editor-title {
    color: #b8c5d6;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
}

.editor-body {
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
}

.code-line {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    color: #d4d4d4;
}

.line-number {
    color: #858585;
    width: 20px;
    text-align: right;
}

.code-keyword {
    color: #569cd6;
}

.code-variable {
    color: #9cdcfe;
}

.code-function {
    color: #dcdcaa;
}

.code-string {
    color: #ce9178;
}

.code-number {
    color: #b5cea8;
}

.code-cursor {
    display: inline-block;
    width: 2px;
    height: 16px;
    background: #fff;
    margin-left: 2px;
    animation: cursorBlink 1s ease-in-out infinite;
}

/* App Preview */
.app-preview {
    position: relative;
    width: 280px;
    height: 200px;
}

.app-window {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: appWindowFloat 4s ease-in-out infinite 0.5s;
}

.app-header {
    background: #f5f5f5;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.app-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-close { background: #ff5f57; }
.control-minimize { background: #ffbd2e; }
.control-maximize { background: #28ca42; }

.app-content {
    display: flex;
    height: 160px;
}

.app-sidebar {
    width: 60px;
    background: #f9f9f9;
    border-right: 1px solid #e0e0e0;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-item {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    animation: sidebarPulse 2s ease-in-out infinite;
}

.sidebar-item.active {
    background: #667eea;
}

.sidebar-item:nth-child(1) { animation-delay: 0s; }
.sidebar-item:nth-child(2) { animation-delay: 0.3s; }
.sidebar-item:nth-child(3) { animation-delay: 0.6s; }

.app-main {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.content-block {
    height: 20px;
    background: #f0f0f0;
    border-radius: 4px;
    animation: contentLoad 2s ease-in-out infinite;
}

.content-block:nth-child(1) { width: 100%; animation-delay: 0s; }
.content-block:nth-child(2) { width: 80%; animation-delay: 0.2s; }
.content-block:nth-child(3) { width: 90%; animation-delay: 0.4s; }

/* Database Visual */
.database-visual {
    position: relative;
    width: 250px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.db-server {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
    animation: serverPulse 2s ease-in-out infinite;
}

.db-connections {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.connection-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, transparent 100%);
    border-radius: 2px;
    animation: connectionFlow 2s ease-in-out infinite;
}

.connection-line:nth-child(1) { animation-delay: 0s; }
.connection-line:nth-child(2) { animation-delay: 0.3s; }
.connection-line:nth-child(3) { animation-delay: 0.6s; }

.db-tables {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.db-table {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 6px;
    padding: 0.5rem;
    min-width: 100px;
    animation: tablePulse 2s ease-in-out infinite;
}

.table-header {
    height: 8px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.table-row {
    height: 4px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 2px;
    margin-bottom: 0.25rem;
}

.table-row:nth-child(2) { width: 90%; }
.table-row:nth-child(3) { width: 75%; }

/* Floating Tech Icons */
.floating-tech-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.tech-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #667eea;
    animation: techIconFloat 4s ease-in-out infinite;
    animation-delay: var(--delay);
}

.tech-icon:nth-child(1) {
    top: 10%;
    left: 10%;
}

.tech-icon:nth-child(2) {
    top: 20%;
    right: 15%;
}

.tech-icon:nth-child(3) {
    bottom: 15%;
    left: 15%;
}

.tech-icon:nth-child(4) {
    bottom: 10%;
    right: 10%;
}

/* Service Visual SVG */
.service-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    overflow: hidden;
    border-radius: 16px;
    z-index: 0;
}

.service-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.service-card:hover .service-visual {
    opacity: 0.2;
}

.browser-window {
    animation: browserGlow 3s ease-in-out infinite;
}

.browser-bar {
    animation: browserBarPulse 2s ease-in-out infinite;
}

.browser-dot {
    animation: dotPulse 2s ease-in-out infinite;
}

.browser-dot:nth-child(1) { animation-delay: 0s; }
.browser-dot:nth-child(2) { animation-delay: 0.2s; }
.browser-dot:nth-child(3) { animation-delay: 0.4s; }

.content-line {
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    animation: lineDraw 2s ease-in-out infinite;
}

.content-line:nth-child(1) { animation-delay: 0s; }
.content-line:nth-child(2) { animation-delay: 0.3s; }
.content-line:nth-child(3) { animation-delay: 0.6s; }

/* Animations */
@keyframes codeEditorFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes appWindowFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
}

@keyframes serverPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5); }
}

@keyframes connectionFlow {
    0% { opacity: 0.3; transform: scaleX(0.5); }
    50% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0.3; transform: scaleX(0.5); }
}

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

@keyframes techIconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-20px) rotate(5deg); opacity: 1; }
}

@keyframes sidebarPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes contentLoad {
    0% { opacity: 0.3; transform: translateX(-10px); }
    50% { opacity: 1; transform: translateX(0); }
    100% { opacity: 0.3; transform: translateX(-10px); }
}

@keyframes browserGlow {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.3; }
}

@keyframes browserBarPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.6; }
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Responsive Design for Software Development Page */
@media (max-width: 768px) {
    .software-development-animation {
        height: 400px;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .code-editor,
    .app-preview {
        width: 100%;
        max-width: 300px;
    }
    
    .database-visual {
        width: 100%;
        max-width: 250px;
    }
    
    .tech-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* ===== WEB SCRAPING ANIMATIONS ===== */

.web-scraping-animation {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Spider Web Visual */
.spider-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.web-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.web-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: webDraw 2s ease-in-out infinite;
}

.web-line:nth-child(1) { animation-delay: 0s; }
.web-line:nth-child(2) { animation-delay: 0.3s; }
.web-line:nth-child(3) { animation-delay: 0.6s; }
.web-line:nth-child(4) { animation-delay: 0.9s; }

.web-spiral {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: spiralDraw 3s ease-in-out infinite;
}

.web-spiral:nth-child(5) { animation-delay: 0s; }
.web-spiral:nth-child(6) { animation-delay: 0.5s; }
.web-spiral:nth-child(7) { animation-delay: 1s; }

.spider-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.4);
    animation: spiderMove 4s ease-in-out infinite;
    z-index: 2;
}

/* Data Extraction Flow */
.extraction-flow {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.source-site {
    position: relative;
    width: 120px;
    height: 120px;
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
}

.site-icon {
    font-size: 2.5rem;
    color: #ef4444;
    animation: sitePulse 2s ease-in-out infinite;
}

.site-label {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 500;
}

.data-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.data-particles .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    opacity: 0;
    animation: particleExtract 2s ease-in-out infinite;
}

.data-particles .particle:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.data-particles .particle:nth-child(2) {
    top: 50%;
    left: 20%;
    animation-delay: 0.3s;
}

.data-particles .particle:nth-child(3) {
    top: 70%;
    left: 40%;
    animation-delay: 0.6s;
}

.extraction-arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-path {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: arrowExtract 2s ease-in-out infinite;
}

.arrow-head {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    animation: arrowExtract 2s ease-in-out infinite 0.3s;
}

.extracted-data {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.data-structure {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    min-width: 150px;
}

.data-table {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.table-header,
.table-row {
    display: flex;
    gap: 0.5rem;
}

.table-cell {
    flex: 1;
    height: 8px;
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
    border-radius: 2px;
    animation: cellFill 2s ease-in-out infinite;
}

.table-cell:nth-child(1) { animation-delay: 0s; }
.table-cell:nth-child(2) { animation-delay: 0.2s; }
.table-cell:nth-child(3) { animation-delay: 0.4s; }

.table-row .table-cell {
    height: 6px;
    opacity: 0.7;
}

.data-label {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 500;
}

/* Floating Data Points */
.floating-data-points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.data-point {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid rgba(239, 68, 68, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ef4444;
    animation: dataPointFloat 4s ease-in-out infinite;
    animation-delay: var(--delay);
}

.data-point:nth-child(1) {
    top: 10%;
    left: 15%;
}

.data-point:nth-child(2) {
    top: 25%;
    right: 20%;
}

.data-point:nth-child(3) {
    bottom: 20%;
    left: 20%;
}

.data-point:nth-child(4) {
    bottom: 10%;
    right: 15%;
}

/* Animations */
@keyframes webDraw {
    0% { stroke-dashoffset: 200; opacity: 0; }
    50% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: 200; opacity: 0; }
}

@keyframes spiralDraw {
    0% { stroke-dashoffset: 100; opacity: 0; }
    50% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: 100; opacity: 0; }
}

@keyframes spiderMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -10px) rotate(5deg); }
    50% { transform: translate(-5px, 10px) rotate(-5deg); }
    75% { transform: translate(-10px, -5px) rotate(3deg); }
}

@keyframes sitePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes particleExtract {
    0% { opacity: 0; transform: translate(0, 0) scale(0); }
    30% { opacity: 1; transform: translate(30px, -20px) scale(1); }
    100% { opacity: 0; transform: translate(60px, -40px) scale(0); }
}

@keyframes arrowExtract {
    0% { stroke-dashoffset: 60; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 60; }
}

@keyframes cellFill {
    0%, 100% { opacity: 0.5; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

@keyframes dataPointFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-15px) rotate(10deg); opacity: 1; }
}

/* Responsive Design for Web Scraping Page */
@media (max-width: 768px) {
    .web-scraping-animation {
        height: 400px;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .spider-container {
        width: 150px;
        height: 150px;
    }
    
    .extraction-flow {
        flex-direction: column;
        gap: 1rem;
    }
    
    .source-site,
    .extracted-data {
        width: 100%;
        max-width: 200px;
    }
    
    .data-point {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* ===== TECH ECOSYSTEM ANIMATION (SERVIZI.HTML) ===== */

.tech-ecosystem-animation {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central Hub */
.tech-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    z-index: 3;
}

.hub-core {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.5);
    animation: hubPulse 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.hub-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.hub-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: ringExpand 3s ease-in-out infinite;
}

.ring-1 {
    width: 140px;
    height: 140px;
    animation-delay: 0s;
}

.ring-2 {
    width: 160px;
    height: 160px;
    animation-delay: 0.5s;
}

.ring-3 {
    width: 180px;
    height: 180px;
    animation-delay: 1s;
}

/* Service Orbit */
.service-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    z-index: 1;
}

.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(-1 * var(--radius))) rotate(calc(-1 * var(--angle)));
    animation: orbitRotate 20s linear infinite;
    animation-delay: calc(var(--angle) * 0.05s);
}

.orbit-icon {
    width: 60px;
    height: 60px;
    background: rgba(102, 126, 234, 0.15);
    border: 2px solid rgba(102, 126, 234, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #667eea;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.orbit-item:hover .orbit-icon {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.6);
    transform: scale(1.2);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
}

.orbit-label {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.orbit-item:hover .orbit-label {
    opacity: 1;
}

/* Connection Lines */
.connection-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    z-index: 0;
    opacity: 0.4;
}

.conn-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: lineFlow 3s ease-in-out infinite;
}

.conn-line:nth-child(1) { animation-delay: 0s; }
.conn-line:nth-child(2) { animation-delay: 0.2s; }
.conn-line:nth-child(3) { animation-delay: 0.4s; }
.conn-line:nth-child(4) { animation-delay: 0.6s; }
.conn-line:nth-child(5) { animation-delay: 0.8s; }
.conn-line:nth-child(6) { animation-delay: 1s; }
.conn-line:nth-child(7) { animation-delay: 1.2s; }
.conn-line:nth-child(8) { animation-delay: 1.4s; }

/* Data Flow Particles */
.data-flow-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.flow-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.8);
    animation: particleFlow 4s ease-in-out infinite;
    animation-delay: var(--delay);
    top: 50%;
    left: 50%;
}

/* Why Choose Section */
.why-choose-section {
    padding: 6rem 0;
    background: #0f0f23;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
}

.why-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.why-card p {
    color: #b8c5d6;
    line-height: 1.6;
}

/* Animations */
@keyframes hubPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 10px 40px rgba(102, 126, 234, 0.5); }
    50% { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 15px 50px rgba(102, 126, 234, 0.7); }
}

@keyframes ringExpand {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
}

@keyframes orbitRotate {
    0% { transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(-1 * var(--radius))) rotate(calc(-1 * var(--angle))); }
    100% { transform: translate(-50%, -50%) rotate(calc(var(--angle) + 360deg)) translateY(calc(-1 * var(--radius))) rotate(calc(-1 * var(--angle) - 360deg)); }
}

@keyframes lineFlow {
    0% { stroke-dashoffset: 200; opacity: 0.3; }
    50% { stroke-dashoffset: 0; opacity: 0.8; }
    100% { stroke-dashoffset: -200; opacity: 0.3; }
}

@keyframes particleFlow {
    0% { 
        transform: translate(-50%, -50%) translate(0, 0) scale(0);
        opacity: 0;
    }
    20% { 
        opacity: 1;
        transform: translate(-50%, -50%) translate(60px, -60px) scale(1);
    }
    100% { 
        transform: translate(-50%, -50%) translate(120px, -120px) scale(0);
        opacity: 0;
    }
}

/* Responsive Design for Servizi Page */
@media (max-width: 768px) {
    .tech-ecosystem-animation {
        height: 400px;
    }
    
    .service-orbit {
        width: 300px;
        height: 300px;
    }
    
    .orbit-item {
        --radius: 90px;
    }
    
    .orbit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .hub-core {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .connection-lines {
        width: 300px;
        height: 300px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design for Data Entry Page */
@media (max-width: 1024px) {
    .data-entry-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .data-entry-hero .hero-title {
        font-size: 2.8rem;
    }
    
    .why-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .data-entry-hero .hero-title {
        font-size: 2.2rem;
    }
    
    .data-entry-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .data-entry-hero .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 1rem;
    }
    
    .proof-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .guarantees-grid {
        grid-template-columns: 1fr;
    }
    
    .why-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-trust {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .data-entry-animation {
        height: 300px;
        flex-direction: column;
        gap: 1rem;
    }
    
    .document-stack {
        width: 100px;
        height: 140px;
    }
    
    .document {
        width: 80px;
        height: 120px;
    }
    
    .digital-data {
        align-items: center;
    }
    
    .data-row {
        width: 150px;
    }
    
    .services-grid,
    .benefits-grid,
    .data-types-grid {
        grid-template-columns: 1fr;
    }
    
    .quotes-grid {
        grid-template-columns: 1fr;
    }
    
    .how-it-works .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .how-it-works .step {
        padding: 1.5rem;
    }
    
    .how-it-works .step-visual {
        height: 100px;
    }
    
    .how-it-works .step-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .how-it-works .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin: 1rem auto;
    }
    
    .how-it-works .step-content h3 {
        font-size: 1.3rem;
    }
    
    .how-it-works .step-content p {
        font-size: 0.95rem;
    }
    
    .target-examples {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .data-entry-hero .hero-content {
        padding: 0 1rem;
    }
    
    .data-entry-hero .hero-title {
        font-size: 1.8rem;
    }
    
    .target-examples {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        width: 120px;
        height: 120px;
    }
    
    .badge-number {
        font-size: 2rem;
    }
    
    .badge-text {
        font-size: 0.8rem;
    }
}

/* ========================================
   STILI SPECIFICI PAGINA SVILUPPO SOFTWARE
   ======================================== */

/* Servizi di Sviluppo Software */
.services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.1;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 2;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.service-features {
    list-style: none;
    text-align: left;
    position: relative;
    z-index: 2;
}

.service-features li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.service-features i {
    color: #667eea;
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* Tecnologie Utilizzate */
.technologies-section {
    padding: 100px 0;
    background: #0a0a0a;
    position: relative;
}

.technologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-category {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

.tech-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.05);
}

.tech-item i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.tech-item span {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Processo di Sviluppo */
.process-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    min-height: 600px;
}

.process-timeline {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    opacity: 1;
    visibility: visible;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

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

.step-content {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin: 0 2rem;
    flex: 1;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.process-step:nth-child(even) .step-content {
    text-align: right;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.step-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Casi di Studio */
.case-studies-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    position: relative;
    min-height: 600px;
}

.case-studies-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="caseGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23caseGrid)"/></svg>') repeat;
    opacity: 0.1;
    z-index: 1;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.case-study-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
    visibility: visible;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.case-study-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.case-study-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.case-study-content {
    padding: 2rem;
}

.case-study-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.case-study-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.case-study-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

/* CTA Section per Sviluppo Software */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="ctaGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23ctaGrid)"/></svg>') repeat;
    z-index: 1;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-whatsapp {
    background: #25d366;
    border-color: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128c7e;
    border-color: #128c7e;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    min-width: 180px;
}

/* Responsive Design per Sviluppo Software */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .technologies-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-items {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .process-step {
        flex-direction: row !important;
        padding-left: 60px;
        margin-bottom: 3rem;
    }
    
    .step-content {
        margin: 0;
        text-align: left !important;
        padding: 1.5rem;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .case-study-card {
        min-height: 300px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .tech-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .case-study-content {
        padding: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
}

/* Clienti Section */
.clients-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.client-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.client-card:hover::before {
    left: 100%;
}

.client-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.client-logo {
    margin-bottom: 1.5rem;
}

.logo-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.client-info h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.client-location {
    color: #667eea;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.client-sector {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.client-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.service-tag {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

/* Testimonianze Section */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.quote-icon {
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.testimonial-content blockquote {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.author-info h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.author-info p {
    color: #ccc;
    font-size: 0.9rem;
}

.rating {
    display: flex;
    gap: 0.2rem;
}

.rating i {
    color: #ffd700;
    font-size: 1rem;
}

.testimonials-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.testimonials-stats .stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    min-width: 150px;
}

.testimonials-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
    width: 120px; /* Larghezza fissa per evitare reflow */
    text-align: center; /* Centra il testo nella larghezza fissa */
    min-height: 3rem; /* Altezza minima per evitare salti verticali */
    line-height: 1; /* Linea singola per altezza consistente */
    font-family: 'Courier New', monospace; /* Font monospace per padding consistente */
    white-space: pre; /* Preserva gli spazi del padding */
}

.testimonials-stats .stat-label {
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ========================================
   AREA CLIENTI PRIVATA - STILI SPECIFICI
   ======================================== */

/* Pagina Login */
.login-page {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
}

.login-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    overflow: hidden;
}

.login-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.login-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

.login-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

.login-circles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.login-circles .circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    animation: float 8s ease-in-out infinite;
}

.login-circles .circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.login-circles .circle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.login-circles .circle-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 60%;
    animation-delay: 4s;
}

.login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
}

.login-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.8s ease-out;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-logo {
    margin-bottom: 1.5rem;
}

.login-logo-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    background: white;
    padding: 8px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.login-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.login-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    font-weight: 400;
}

.login-description {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 1rem;
}

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

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.help-text {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.help-link {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.help-link:hover {
    color: #764ba2;
}

.security-note {
    color: #4ade80;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #667eea;
}

/* Messaggi Login */
.login-error,
.login-success {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    animation: slideDown 0.3s ease-out;
}

.login-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.login-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Dashboard */
.dashboard-page {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
}

.dashboard-header {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

.dashboard-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.dashboard-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
}

.dashboard-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 25s linear infinite;
}

.dashboard-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.welcome-section {
    text-align: center;
    margin-bottom: 3rem;
}

.dashboard-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.user-name {
    color: #667eea;
}

.dashboard-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-content p {
    color: #ccc;
    font-size: 0.9rem;
}

/* Dashboard Content */
.dashboard-content-section {
    padding: 2rem 0 4rem;
}

.dashboard-sections-title {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    margin-right: 1rem;
}

.card-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    flex: 1;
}

.card-badge {
    background: #667eea;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    min-width: 25px;
    text-align: center;
}

.card-content {
    margin-bottom: 1.5rem;
}

.card-content p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

/* Comunicazioni */
.recent-communications {
    max-height: 200px;
    overflow-y: auto;
}

.communication-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    transition: background 0.3s ease;
}

.communication-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.communication-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
    flex-shrink: 0;
}

.communication-content {
    flex: 1;
}

.communication-content h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.communication-content p {
    color: #aaa;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.communication-date {
    color: #667eea;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Documenti */
.recent-documents {
    max-height: 200px;
    overflow-y: auto;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    transition: background 0.3s ease;
}

.document-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.document-icon {
    width: 40px;
    height: 40px;
    background: #ef4444;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
}

.document-content {
    flex: 1;
}

.document-content h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.document-content p {
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.document-size {
    color: #667eea;
    font-size: 0.75rem;
    font-weight: 500;
}

.download-btn {
    background: #667eea;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.download-btn:hover {
    background: #764ba2;
}

/* Progetti */
.recent-projects {
    max-height: 200px;
    overflow-y: auto;
}

.project-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    transition: background 0.3s ease;
}

.project-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.project-status {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
    flex-shrink: 0;
}

.status-in-progress {
    background: #f59e0b;
}

.status-completed {
    background: #10b981;
}

.status-pending {
    background: #6b7280;
}

.project-content {
    flex: 1;
}

.project-content h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.project-content p {
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.project-progress {
    width: 100%;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Supporto */
.support-methods {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.support-method {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: background 0.3s ease;
}

.support-method:hover {
    background: rgba(255, 255, 255, 0.05);
}

.support-method i {
    color: #667eea;
    font-size: 1rem;
    width: 20px;
}

.support-method span {
    color: #ccc;
    font-size: 0.9rem;
}

/* Logout Button */
.logout-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 0.9rem;
}

.logout-btn:hover {
    background: #dc2626;
}

/* Animazioni */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   PANNELLO AMMINISTRATIVO - STILI
   ======================================== */

/* Pagina Admin */
.admin-page {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
}

.admin-navbar {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.admin-nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-logo-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    padding: 4px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    animation: sdata-logo-glow 8s ease-in-out infinite;
}

.admin-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

.admin-nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-user-info {
    color: #ccc;
    font-size: 0.9rem;
}

.admin-logout-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 0.9rem;
}

.admin-logout-btn:hover {
    background: #dc2626;
}

/* Admin Header */
.admin-header {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

.admin-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.admin-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
}

.admin-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 25s linear infinite;
}

.admin-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.admin-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.admin-subtitle {
    color: #667eea;
}

.admin-description {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Admin Dashboard */
.admin-dashboard {
    padding: 2rem 0 4rem;
}

.admin-sections-title {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.admin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

/* ===== LAYOUT GRID BILANCIATO ===== */
.features-grid,
.footer-content,
.values-grid,
.services-grid,
.stats-grid,
.stories-grid,
.mission-grid,
.values-list,
.cookie-options,
.results-grid,
.testimonial-grid,
.benefits-grid,
.target-examples,
.data-types-grid,
.quotes-grid,
.process-steps,
.technologies-grid,
.case-studies-grid,
.clients-grid,
.testimonials-grid,
.dashboard-stats,
.dashboard-grid,
.admin-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .features-grid,
    .footer-content,
    .values-grid,
    .services-grid,
    .stats-grid,
    .stories-grid,
    .mission-grid,
    .values-list,
    .cookie-options,
    .results-grid,
    .testimonial-grid,
    .benefits-grid,
    .target-examples,
    .data-types-grid,
    .quotes-grid,
    .process-steps,
    .technologies-grid,
    .case-studies-grid,
    .clients-grid,
    .testimonials-grid,
    .dashboard-stats,
    .dashboard-grid,
    .admin-grid {
        grid-template-columns: repeat(var(--grid-columns-md, 2), minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .features-grid,
    .footer-content,
    .values-grid,
    .services-grid,
    .stats-grid,
    .stories-grid,
    .mission-grid,
    .values-list,
    .cookie-options,
    .results-grid,
    .testimonial-grid,
    .benefits-grid,
    .target-examples,
    .data-types-grid,
    .quotes-grid,
    .process-steps,
    .technologies-grid,
    .case-studies-grid,
    .clients-grid,
    .testimonials-grid,
    .dashboard-stats,
    .dashboard-grid,
    .admin-grid {
        grid-template-columns: repeat(var(--grid-columns-lg, var(--grid-columns-md, 2)), minmax(0, 1fr));
    }
}

.features-grid {
    --grid-columns-lg: 3;
}

.footer-content {
    --grid-columns-lg: 4;
}

.values-grid {
    --grid-columns-lg: 3;
}

.services-grid {
    --grid-columns-lg: 4;
}

.services-overview .services-grid {
    --grid-columns-lg: 3;
}

.stats-grid {
    --grid-columns-lg: 4;
}

.stories-grid {
    --grid-columns-lg: 3;
}

.mission-grid {
    --grid-columns-lg: 2;
}

.values-list {
    --grid-columns-lg: 2;
}

.cookie-options {
    --grid-columns-lg: 3;
}

.results-grid {
    --grid-columns-lg: 4;
}

.testimonial-grid,
.testimonials-grid {
    --grid-columns-lg: 3;
}

.target-examples {
    --grid-columns-lg: 4;
}

.data-types-grid {
    --grid-columns-lg: 3;
}

.quotes-grid {
    --grid-columns-lg: 3;
}

.process-steps {
    --grid-columns-lg: 3;
}

.technologies-grid {
    --grid-columns-lg: 4;
}

.case-studies-grid {
    --grid-columns-lg: 3;
}

.clients-grid {
    --grid-columns-lg: 3;
}

.benefits-grid {
    --grid-columns-lg: 4;
}

.dashboard-stats {
    --grid-columns-lg: 4;
}

.dashboard-grid {
    --grid-columns-lg: 3;
}

.admin-grid {
    --grid-columns-lg: 4;
}

.admin-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.admin-actions .btn {
    flex: 1;
    min-width: 120px;
}

/* Modali Admin */
.admin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
}

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

.modal-header h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.modal-body {
    padding: 2rem;
}

/* Form Admin */
.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.admin-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-form label {
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.8rem;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

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

.admin-form small {
    color: #aaa;
    font-size: 0.8rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Liste Admin */
.users-list,
.communications-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.user-item,
.communication-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.user-item:hover,
.communication-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.user-info,
.comm-info {
    flex: 1;
}

.user-info h4,
.comm-info h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.user-info p,
.comm-info p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.user-role {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.user-role.admin {
    background: #ef4444;
    color: white;
}

.user-role.client {
    background: #10b981;
    color: white;
}

.comm-meta {
    color: #667eea;
    font-size: 0.8rem;
    font-weight: 500;
}

.user-actions,
.comm-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.btn-danger {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-danger:hover {
    background: #dc2626;
}

/* Mobile Responsive for Area Clienti */
@media (max-width: 768px) {
    .login-card {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .login-title {
        font-size: 2rem;
    }
    
    .dashboard-title {
        font-size: 2.5rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .dashboard-card {
        padding: 1.5rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .communication-item,
    .document-item,
    .project-item {
        padding: 0.8rem;
    }
    
    .support-methods {
        gap: 0.5rem;
    }
    
    .support-method {
        padding: 0.6rem;
    }
    
    /* Admin Mobile */
    .admin-nav-container {
        padding: 1rem;
    }
    
    .admin-title {
        font-size: 2rem;
    }
    
    .admin-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .admin-card {
        padding: 1.5rem;
    }
    
    .admin-actions {
        flex-direction: column;
    }
    
    .admin-actions .btn {
        flex: none;
    }
    
    .modal-content {
        margin: 1rem;
        max-height: 95vh;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    .user-item,
    .communication-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .user-actions,
    .comm-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 0 1rem;
    }
    
    .login-card {
        padding: 1.5rem 1rem;
    }
    
    .dashboard-content {
        padding: 0 1rem;
    }
    
    .dashboard-header {
        padding: 2rem 0;
    }
    
    .dashboard-title {
        font-size: 2rem;
    }
    
    .dashboard-subtitle {
        font-size: 1rem;
    }
}

/* Mobile Responsive for Clienti and Testimonials */
@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .client-card {
        padding: 1.5rem;
    }
    
    .logo-placeholder {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .client-info h3 {
        font-size: 1.3rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .testimonials-stats {
        gap: 1.5rem;
    }
    
    .testimonials-stats .stat-item {
        padding: 1rem 1.5rem;
        min-width: 120px;
    }
    
    .testimonials-stats .stat-number {
        font-size: 2rem;
        width: 100px; /* Larghezza ridotta per tablet */
        min-height: 2.5rem;
    }
}

@media (max-width: 480px) {
    .clients-section,
    .testimonials-section {
        padding: 60px 0;
    }
    
    .client-card,
    .testimonial-card {
        padding: 1.2rem;
    }
    
    .testimonials-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonials-stats .stat-item {
        width: 100%;
        max-width: 200px;
    }
} 