/* Base Styles - Glassmorphism Design System */
:root {
    /* Electric Blue - Dark & Intense */
    --primary: #0055FF;
    --primary-light: #0066FF;
    --primary-dark: #0044DD;
    --primary-rgb: 0, 85, 255;
    --primary-gradient: linear-gradient(90deg, #0044DD 0%, #0066FF 100%);
    --accent: #0055FF;
    --accent-light: #0066FF;
    --accent-gradient: linear-gradient(90deg, #0044DD 0%, #0066FF 100%);

    /* Neon Colors */
    --neon-orange: #FF6600;
    --neon-purple: #8B5CF6;
    --neon-cyan: #00D4FF;

    /* Base Colors */
    --secondary: #000000;
    --light: #ffffff;
    --gray: #f5f5f5;
    --dark-gray: #333333;
    --bg-dark: #0a0a0a;

    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-bg-light: rgba(255, 255, 255, 0.08);
    --glass-bg-dark: rgba(0, 0, 0, 0.3);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-light: rgba(255, 255, 255, 0.15);
    --glass-blur: blur(30px);
    --glass-blur-light: blur(20px);
    --glass-blur-heavy: blur(50px);

    /* Glassmorphism Shadows */
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --glass-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
    --glass-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --glass-shadow-glow: 0 0 30px rgba(0, 85, 255, 0.2);
    --glass-inset: inset 0 1px 1px rgba(255, 255, 255, 0.1);

    /* Gradients */
    --bg-gradient: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 25%, #0d0d0d 50%, #151515 75%, #0a0a0a 100%);
    --bg-gradient-subtle: linear-gradient(180deg, rgba(30,30,30,0.5) 0%, transparent 50%, rgba(10,10,10,0.5) 100%);
    --card-gradient: linear-gradient(145deg, rgba(40,40,40,0.9) 0%, rgba(20,20,20,0.95) 100%);
    --glass-gradient: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%);
    --progress-gradient: linear-gradient(to right, var(--primary), var(--neon-cyan));

    /* Glow Effects */
    --glow-primary: 0 0 40px rgba(0, 85, 255, 0.4);
    --glow-light: 0 0 30px rgba(0, 102, 255, 0.3);
    --glow-orange: 0 0 30px rgba(255, 102, 0, 0.4);
    --glow-purple: 0 0 30px rgba(139, 92, 246, 0.4);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --easing: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --easing-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Border Radius */
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    --border-radius-full: 9999px;

    /* Legacy */
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    --blur: blur(20px);

    /* Z-index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-toast: 500;
    --z-cursor: 9999;
}

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

/* ============================================
   GLASSMORPHISM UTILITY CLASSES
   ============================================ */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow), var(--glass-inset);
}

.glass-light {
    background: var(--glass-bg-light);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border: 1px solid var(--glass-border-light);
    box-shadow: var(--glass-shadow-sm), var(--glass-inset);
}

.glass-dark {
    background: var(--glass-bg-dark);
    backdrop-filter: var(--glass-blur-heavy);
    -webkit-backdrop-filter: var(--glass-blur-heavy);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow-lg);
}

.glass-card {
    background: var(--glass-gradient);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow), var(--glass-inset);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow-lg), var(--glass-shadow-glow);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.glass-btn {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-full);
    padding: 14px 32px;
    color: var(--light);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--glass-shadow-sm);
}

.glass-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow), var(--glass-shadow-glow);
}

.glass-btn-primary {
    background: rgba(0, 85, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-btn-primary:hover {
    background: rgba(0, 85, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow), var(--glass-shadow-glow);
}

/* Glow Border Effect */
.glow-border {
    position: relative;
}

.glow-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--primary), var(--neon-cyan), var(--neon-purple), var(--neon-orange));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(8px);
}

.glow-border:hover::before {
    opacity: 0.6;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--light);
    overflow-x: hidden;
    background: #0a0a0a;
    cursor: none;
}

/* Video Background Fisso */
.video-bg-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-bg-fixed video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 15, 15, 0.8) 0%,
        rgba(20, 20, 20, 0.75) 50%,
        rgba(15, 15, 15, 0.8) 100%
    );
    z-index: 1;
}

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

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

ul, ol {
    list-style: none;
}

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

/* Custom Cursor */
.cursor, .cursor-follower {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.cursor {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    z-index: 10000;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary);
    transition: transform 0.1s ease;
}

.cursor.active {
    transform: translate(-50%, -50%) scale(0);
}

.cursor-follower.active {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(74, 108, 247, 0.1);
}

/* ============================================
   LOADER - SIMPLE WITH TYPEWRITER
   ============================================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050508;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Logo Image */
.loader-logo-img {
    width: 140px;
    height: auto;
    opacity: 0;
    animation: loaderLogoFadeIn 0.5s ease forwards 0.2s;
    filter: drop-shadow(0 0 30px rgba(0, 85, 255, 0.5));
}

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

/* Tagline with Typewriter Effect */
.loader-tagline {
    overflow: hidden;
    opacity: 0;
    animation: loaderTaglineFadeIn 0.4s ease forwards 0.5s;
}

@keyframes loaderTaglineFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.typewriter {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 4px;
    text-transform: uppercase;
    overflow: hidden;
    border-right: 2px solid rgba(0, 85, 255, 0.8);
    white-space: nowrap;
    animation:
        typing 1.5s steps(20, end) forwards 0.5s,
        blink-caret 0.5s step-end infinite;
    width: 0;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: rgba(0, 85, 255, 0.8); }
}

/* Loader Responsive */
@media (max-width: 768px) {
    .loader-logo-img {
        width: 110px;
    }

    .typewriter {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .loader-content {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .loader-logo-img {
        width: 95px;
    }

    .typewriter {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }

    .loader-content {
        gap: 10px;
    }
}

/* ============================================
   MANIFESTO - ELEGANT DESIGN
   ============================================ */
.manifesto-section {
    min-height: auto;
    position: relative;
    overflow: hidden;
    padding: 100px 20px 120px;
}

.manifesto-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Hero Statement */
.manifesto-hero {
    text-align: center;
    margin-bottom: 100px;
}

.hero-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-line.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.line-1.visible { transition-delay: 0s; }
.line-2.visible { transition-delay: 0.15s; }
.line-3.visible { transition-delay: 0.3s; }

.hero-word {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.4em;
}

.hero-accent {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(40px, 8vw, 100px);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.8) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-accent::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: scaleX(0);
    transition: transform 0.6s ease 0.5s;
}

.hero-line.visible .hero-accent::after {
    transform: scaleX(1);
}

/* Manifesto Cards */
.manifesto-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.manifesto-card {
    background: var(--glass-gradient);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 40px 35px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.manifesto-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.manifesto-card[data-card="who"].visible { transition-delay: 0s; }
.manifesto-card[data-card="what"].visible { transition-delay: 0.15s; }
.manifesto-card[data-card="how"].visible { transition-delay: 0.3s; }

.manifesto-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow-lg), var(--glass-shadow-glow);
    transform: translateY(-8px);
}

.manifesto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.card-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.08);
    position: absolute;
    top: 20px;
    right: 25px;
    line-height: 1;
}

.card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 15px;
}

.card-divider {
    width: 40px;
    height: 2px;
    background: var(--primary-gradient);
    margin-bottom: 25px;
    transition: width 0.3s ease;
}

.manifesto-card:hover .card-divider {
    width: 80px;
}

.card-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 15px;
}

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

.card-text strong {
    color: #fff;
    font-weight: 600;
}

.card-text.highlight {
    font-size: 18px;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    position: relative;
}

.card-text.highlight::before,
.card-text.highlight::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.card-text.highlight::before { top: 0; }
.card-text.highlight::after { bottom: 0; }

/* Work Steps */
.work-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.work-step {
    padding-left: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease;
}

.work-step:hover {
    border-left-color: var(--primary);
}

.step-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 8px;
}

.work-step p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.work-step p strong {
    color: var(--primary);
}

.work-step p em {
    color: #fff;
    font-style: italic;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeInUp 1s ease 2s forwards;
}

.scroll-indicator span {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 1.5s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 0.5; }
    50% { transform: scaleY(1.3); opacity: 1; }
}

@keyframes fadeInUp {
    to { opacity: 0.5; }
}

/* Responsive */
@media (max-width: 1200px) {
    .manifesto-cards {
        grid-template-columns: 1fr;
        max-width: 700px;
        margin: 0 auto;
    }

    .manifesto-card {
        padding: 35px 30px;
    }
}

@media (max-width: 768px) {
    .manifesto-section {
        padding: 80px 15px 100px;
    }

    .manifesto-container {
        padding: 0 20px;
    }

    .manifesto-hero {
        margin-bottom: 60px;
    }

    .hero-line {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 15px;
    }

    .hero-word {
        font-size: 12px;
        letter-spacing: 0.3em;
    }

    .hero-accent {
        font-size: clamp(36px, 12vw, 60px);
    }

    .manifesto-card {
        padding: 30px 25px;
    }

    .card-number {
        font-size: 36px;
    }

    .scroll-indicator {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .manifesto-section {
        padding: 60px 10px 80px;
    }

    .manifesto-container {
        padding: 0 15px;
    }

    .manifesto-hero {
        margin-bottom: 50px;
    }

    .card-text {
        font-size: 14px;
    }

    .work-step p {
        font-size: 13px;
    }
}

/* ========================================
   Stats Section - I Numeri di WOW
   ======================================== */
.stats-section {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
    background: transparent;
    z-index: 1;
}

/* Stats Header */
.stats-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.stats-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 85, 255, 0.1);
    border: 1px solid rgba(0, 85, 255, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.stats-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}

/* Stats Grid - Layout Compatto */
.stats-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.stats-grid.stats-compact {
    max-width: 1000px;
    margin: 0 auto;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    flex-wrap: wrap;
}

.stats-row .stat-card {
    flex: 1;
    max-width: 180px;
    min-width: 140px;
}

/* Stat Card Compatta */
.stat-card {
    position: relative;
    background: var(--card-gradient);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 85, 255, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card.animate-in {
    animation: statCardIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes statCardIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 85, 255, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 85, 255, 0.2);
}

.stat-card:hover::before,
.stat-card:hover::after {
    opacity: 1;
}

/* Cerchio Progress - PICCOLO */
.stat-circle {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.stat-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.stat-circle .circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 4;
}

.stat-circle .circle-progress {
    fill: none;
    stroke: var(--primary);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 15px rgba(0, 85, 255, 0.8));
}

.stat-card:hover .circle-progress {
    filter: drop-shadow(0 0 25px rgba(0, 85, 255, 1));
}

/* Valore compatto */
.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    text-align: center;
    margin: 0 0 6px;
}

.stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
}

.stat-suffix {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0055FF;
    margin-left: 2px;
}

/* Stat Label */
.stat-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.3px;
    margin-top: 0;
    text-transform: uppercase;
}

/* Stat Description */
.stat-description {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
    font-style: italic;
}

/* Pulse animation per il cerchio quando animato */
.stat-card.animate-in .stat-circle {
    animation: circlePulse 2s ease-in-out infinite;
}

@keyframes circlePulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(0, 85, 255, 0.3));
    }
    50% {
        transform: scale(1.03);
        filter: drop-shadow(0 0 25px rgba(0, 85, 255, 0.5));
    }
}

/* Icona decorativa animata */
.stat-card::after {
    pointer-events: none;
}

/* Stats Responsive */
@media (max-width: 1200px) {
    .stats-grid.stats-compact {
        max-width: 900px;
    }

    .stats-row {
        gap: 12px;
    }

    .stats-row .stat-card {
        min-width: 130px;
        max-width: 160px;
    }

    .stat-circle {
        width: 70px;
        height: 70px;
    }

    .stat-num {
        font-size: 2.5rem;
    }

    .stat-suffix {
        font-size: 1.6rem;
    }
}

@media (max-width: 992px) {
    .stats-section {
        padding: 50px 0;
    }

    .stats-grid.stats-compact {
        max-width: 100%;
        gap: 12px;
    }

    .stats-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .stats-row .stat-card {
        min-width: 120px;
        max-width: 150px;
    }

    .stats-title {
        font-size: 1.5rem;
    }

    .stat-num {
        font-size: 1.8rem;
    }

    .stat-suffix {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .stats-section {
        padding: 40px 0;
    }

    .stats-header {
        margin-bottom: 20px;
    }

    .stats-title {
        font-size: 1.3rem;
    }

    .stats-grid.stats-compact {
        gap: 10px;
    }

    .stats-row {
        gap: 8px;
    }

    .stats-row .stat-card {
        min-width: 100px;
        max-width: 110px;
    }

    .stat-card {
        padding: 12px 8px;
        border-radius: 12px;
    }

    .stat-num {
        font-size: 1.4rem;
    }

    .stat-suffix {
        font-size: 0.9rem;
    }

    .stat-label {
        font-size: 0.55rem;
    }

    .stat-description {
        font-size: 0.5rem;
    }
}

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

.section-title {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #fff;
    position: relative;
    display: inline-block;
}

.section-title[data-text]::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary);
    opacity: 0.3;
    transform: translate(5px, 5px);
    z-index: -1;
}

.title-bar {
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 0 auto 40px;
    position: relative;
    border-radius: 2px;
}

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

.section-header.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Navigation */
.nav-modern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: all 0.4s ease;
}

.nav-modern.scrolled {
    background: rgba(5, 10, 25, 0.95);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 85, 255, 0.2);
    box-shadow: var(--glass-shadow-lg);
}

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

.nav-logo img {
    height: 60px;
    transition: all 0.3s ease;
}

.nav-toggle {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 101;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.toggle-icon {
    width: 30px;
    height: 20px;
    position: relative;
}

.toggle-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.toggle-icon span:nth-child(1) { top: 0; }
.toggle-icon span:nth-child(2) { top: 9px; }
.toggle-icon span:nth-child(3) { top: 18px; }

.nav-toggle.active .toggle-icon span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}

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

.nav-toggle.active .toggle-icon span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}

/* Fullscreen Menu */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
}

.menu-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: rgba(5, 10, 20, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 0;
    border-left: 1px solid var(--glass-border);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

.fullscreen-menu.active .menu-bg {
    width: 100%;
}

.menu-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    z-index: 1;
    transition: opacity 1s ease 0.5s;
    pointer-events: none;
}

.fullscreen-menu.active .menu-sphere {
    opacity: 0.8;
}

.menu-sphere-1 {
    width: 400px;
    height: 400px;
    top: 20%;
    right: 10%;
    background: radial-gradient(circle, rgba(0, 85, 255, 0.7), transparent 70%);
    animation: menuSphereFloat 20s infinite alternate ease-in-out;
}

.menu-sphere-2 {
    width: 350px;
    height: 350px;
    bottom: 10%;
    left: 15%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 70%);
    animation: menuSphereFloat 18s infinite alternate-reverse ease-in-out;
}

.menu-sphere-3 {
    width: 300px;
    height: 300px;
    top: 60%;
    left: 25%;
    background: radial-gradient(circle, rgba(0, 85, 255, 0.6), transparent 70%);
    animation: menuSphereFloat 15s infinite alternate ease-in-out;
}

@keyframes menuSphereFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, -20px); }
}

.menu-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 0.3s;
    z-index: 2;
}

.fullscreen-menu.active .menu-content {
    opacity: 1;
    transform: translateY(0);
}

.menu-header {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.menu-logo {
    height: 60px;
    filter: brightness(1.2) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.menu-close {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    position: relative;
}

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

.menu-close span {
    display: block;
    position: absolute;
    height: 2px;
    width: 30px;
    background: #fff;
    border-radius: 2px;
}

.menu-close span:nth-child(1) {
    transform: rotate(45deg);
}

.menu-close span:nth-child(2) {
    transform: rotate(-45deg);
}

.menu-nav {
    text-align: center;
    position: relative;
    z-index: 3;
}

.menu-list {
    display: inline-block;
    padding: 0;
    margin: 0;
    list-style: none;
}

.menu-item {
    margin: 20px 0;
    overflow: hidden;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.fullscreen-menu.active .menu-item {
    transform: translateY(0);
    opacity: 1;
}

.fullscreen-menu.active .menu-item:nth-child(1) { transition-delay: 0.4s; }
.fullscreen-menu.active .menu-item:nth-child(2) { transition-delay: 0.5s; }
.fullscreen-menu.active .menu-item:nth-child(3) { transition-delay: 0.6s; }
.fullscreen-menu.active .menu-item:nth-child(4) { transition-delay: 0.7s; }
.fullscreen-menu.active .menu-item:nth-child(5) { transition-delay: 0.8s; }
.fullscreen-menu.active .menu-item:nth-child(6) { transition-delay: 0.9s; }

.menu-link {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: transform 0.5s ease, color 0.3s ease;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    padding: 8px 16px;
}

.menu-link::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: rgba(0, 85, 255, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 1;
    text-shadow: 0 5px 15px rgba(0, 85, 255, 0.5);
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, rgba(0, 85, 255, 0.8), transparent);
    transition: width 0.5s ease;
    border-radius: 3px;
}

.menu-link:hover {
    color: #fff;
}

.menu-link:hover::before {
    transform: translateY(0);
    opacity: 1;
}

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

.menu-footer {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 3;
}

.menu-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 0.9s;
}

.fullscreen-menu.active .menu-socials {
    opacity: 1;
    transform: translateY(0);
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: var(--glass-shadow-sm);
}

.social-link:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow), var(--glass-shadow-glow);
}

/* Header Modern */
.header-modern {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-modern.with-background-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

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

.header-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent 0%, rgba(5, 10, 25, 1) 100%);
    z-index: 2;
}

/* Section Styles */
.section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.section-dark {
    background-color: var(--secondary);
    color: var(--light);
}

.section-light {
    background: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

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

.btn-primary {
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.9) 0%, rgba(0, 102, 255, 0.8) 100%);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    color: var(--light);
    border: 1px solid rgba(0, 102, 255, 0.5);
    box-shadow: var(--glass-shadow), var(--glow-primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(0, 102, 255, 1) 0%, rgba(0, 85, 255, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: var(--glass-shadow-lg), var(--glass-shadow-glow);
}

.btn-outline {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border: 2px solid var(--glass-border-light);
    color: var(--light);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow), var(--glass-shadow-glow);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.full-width {
    width: 100%;
}

/* Light Spheres - Hidden for cleaner design */
.light-sphere {
    display: none;
}

.sphere-1, .sphere-2, .sphere-3 {
    display: none;
}

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

/* Grid Pattern - Hidden for cleaner design */
.grid-pattern {
    display: none;
}

/* Reveal Animations */
.reveal-element {
    opacity: 0;
    transform: translateY(50px);
    transition: transform 1s var(--easing), opacity 1s var(--easing);
}

.reveal-element.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-animation.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Services Section */
#cosafacciamo {
    position: relative;
    padding: 120px 0;
    background: transparent;
    overflow: hidden;
    z-index: 1;
}

#cosafacciamo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.3) 0%, rgba(26, 26, 26, 0.2) 50%, rgba(10, 10, 10, 0.1) 100%);
    z-index: -2;
}

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

.services-modern {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.services-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 50px;
    flex-wrap: nowrap;
}

.service-nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 18px;
    border-radius: 14px;
    background: var(--card-gradient);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 100px;
    overflow: hidden;
    color: #fff;
}

.service-nav-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow-lg), var(--glass-shadow-glow);
}

.service-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px 16px 0 0;
}

.service-nav-item:hover::before {
    opacity: 1;
}

.service-nav-item.active {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 15px 30px rgba(74, 108, 247, 0.4);
}

.nav-icon {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: var(--accent-red);
    transition: all 0.4s ease;
}

.service-nav-item.active .nav-icon {
    color: #fff;
    transform: scale(1.1);
}

.service-nav-item span {
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.4s ease;
    white-space: nowrap;
}

.service-nav-item.active span {
    color: #fff;
}

.services-showcase {
    position: relative;
    min-height: 550px;
    margin-bottom: 50px;
}

.service-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.service-panel.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.service-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

/* Phone Mockup - Enhanced */
.phone-mockup {
    position: relative;
    width: 280px;
    height: 550px;
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border-radius: 45px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 0 2px rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    overflow: visible;
    transform: rotateY(-15deg) rotateX(5deg);
    transform-style: preserve-3d;
    animation: floatPhoneModern 8s infinite ease-in-out;
}

@keyframes floatPhoneModern {
    0%, 100% { transform: rotateY(-15deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-10deg) rotateX(3deg) translateY(-25px); }
}

.phone-screen {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 38px;
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #000;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 10;
}

.phone-notch::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Social Feed Animation */
.social-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 45px 12px 12px;
    height: 100%;
    overflow: hidden;
}

.social-post {
    min-height: 140px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: postSlide 12s infinite ease-in-out;
}

.social-post::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    width: 35px;
    height: 35px;
    background: var(--primary-gradient);
    border-radius: 50%;
}

.social-post::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 55px;
    width: 80px;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
}

.social-post:nth-child(1) { animation-delay: 0s; }
.social-post:nth-child(2) { animation-delay: 0.3s; }
.social-post:nth-child(3) { animation-delay: 0.6s; }

@keyframes postSlide {
    0%, 100% { transform: translateY(0); opacity: 1; }
    45% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-20px); opacity: 0.7; }
    55% { transform: translateY(0); opacity: 1; }
}

/* Post content simulation */
.social-post .post-image {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    height: 70px;
    background: linear-gradient(135deg, #f0f0f0, #e5e5e5);
    border-radius: 10px;
}

/* Floating Icons - Enhanced Visibility */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.floating-icons i {
    position: absolute;
    font-size: 1.8rem;
    opacity: 1 !important;
    filter: drop-shadow(0 8px 25px rgba(74, 108, 247, 0.3));
    animation: floatIconsModern 6s infinite ease-in-out;
    background: var(--primary-gradient);
    padding: 18px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    box-shadow:
        0 15px 40px rgba(74, 108, 247, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.4);
    color: #1a1a1a !important;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.floating-icons i:nth-child(1) {
    top: 8%;
    left: -3%;
    animation-delay: 0s;
    background: var(--primary-gradient);
}
.floating-icons i:nth-child(2) {
    top: 32%;
    right: -6%;
    animation-delay: 0.5s;
    background: linear-gradient(145deg, #ffd700, #e6ac00);
}
.floating-icons i:nth-child(3) {
    bottom: 32%;
    left: -6%;
    animation-delay: 1s;
    background: linear-gradient(135deg, #ffcc00, #e6ac00);
}
.floating-icons i:nth-child(4) {
    bottom: 6%;
    right: -3%;
    animation-delay: 1.5s;
    background: linear-gradient(145deg, #e6ac00, #ffc800);
}

@keyframes floatIconsModern {
    0%, 100% {
        transform: translateY(0) rotate(0) scale(1);
    }
    25% {
        transform: translateY(-15px) rotate(-5deg) scale(1.05);
    }
    50% {
        transform: translateY(-25px) rotate(5deg) scale(1.1);
    }
    75% {
        transform: translateY(-10px) rotate(-3deg) scale(1.05);
    }
}

/* Service Info */
.service-info {
    padding: 35px;
    background: var(--card-gradient);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: none !important;
}

.service-info:hover {
    background: var(--card-gradient) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    transform: none !important;
}

.service-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--light);
    position: relative;
    display: inline-block;
}

.service-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

.service-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(74, 108, 247, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

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

.btn-glow {
    position: relative;
    overflow: hidden;
}
f9f9f9, #f0f0f0);
    border-radius: 5px;
}

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

.code-line {
    position: absolute;
    height: 15px;
    border-radius: 8px;
    background: rgba(74, 108, 247, 0.5);
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.2);
    animation: floatCode 8s infinite ease-in-out;
}

.code-line:nth-child(1) { top: 20%; left: 5%; width: 120px; animation-delay: 0s; }
.code-line:nth-child(2) { top: 50%; right: 10%; width: 180px; animation-delay: 1.5s; }
.code-line:nth-child(3) { bottom: 25%; left: 15%; width: 150px; animation-delay: 3s; }

@keyframes floatCode {
    0%, 100% { transform: translateY(0) rotate(0); opacity: 0.7; }
    50% { transform: translateY(-20px) rotate(2deg); opacity: 1; }
}

/* Web Showcase - Browser Mockup Enhanced */
.web-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.browser-mockup {
    width: 420px;
    max-width: 100%;
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border-radius: 16px;
    box-shadow:
        0 35px 70px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    transform-style: preserve-3d;
    animation: floatBrowserModern 8s infinite ease-in-out;
}

@keyframes floatBrowserModern {
    0%, 100% { transform: rotateY(-10deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-5deg) rotateX(3deg) translateY(-20px); }
}

.browser-header {
    background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-actions {
    display: flex;
    gap: 8px;
}

.browser-actions span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.browser-actions span:nth-child(1) {
    background: #ff5f57;
    box-shadow: 0 0 8px rgba(255, 95, 87, 0.5);
}

.browser-actions span:nth-child(2) {
    background: #ffbd2e;
    box-shadow: 0 0 8px rgba(255, 189, 46, 0.5);
}

.browser-actions span:nth-child(3) {
    background: #28c840;
    box-shadow: 0 0 8px rgba(40, 200, 64, 0.5);
}

.browser-address {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.browser-address i {
    color: #28c840;
    font-size: 0.75rem;
}

.browser-address span {
    color: rgba(255, 255, 255, 0.9);
}

.browser-body {
    background: #fff;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

/* Website Preview Content */
.website-preview {
    width: 100%;
    height: 100%;
    min-height: 280px;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Website Preview Header */
.preview-header {
    height: 45px;
    background: var(--primary-gradient);
    position: relative;
}

.preview-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background: rgba(255,255,255,0.3);
    border-radius: 6px;
}

.preview-header::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 80px;
    height: 12px;
    background: rgba(255,255,255,0.3);
    border-radius: 6px;
}

/* Website Preview Hero */
.preview-hero {
    padding: 25px 20px;
    text-align: center;
    background: linear-gradient(180deg, rgba(74, 108, 247, 0.1) 0%, transparent 100%);
}

.preview-title {
    width: 70%;
    height: 18px;
    background: linear-gradient(90deg, #1a1a1a, #333);
    border-radius: 4px;
    margin: 0 auto 12px;
    animation: shimmer 2s infinite;
}

.preview-subtitle {
    width: 50%;
    height: 10px;
    background: #ddd;
    border-radius: 4px;
    margin: 0 auto 18px;
}

.preview-btn {
    width: 100px;
    height: 30px;
    background: var(--primary-gradient);
    border-radius: 6px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.2);
    animation: btnPulse 2s infinite ease-in-out;
}

@keyframes btnPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(74, 108, 247, 0.2); }
    50% { transform: scale(1.02); box-shadow: 0 6px 20px rgba(74, 108, 247, 0.3); }
}

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

/* Website Preview Cards */
.preview-cards {
    display: flex;
    gap: 12px;
    padding: 15px 20px;
    flex: 1;
}

.preview-card {
    flex: 1;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    animation: cardFadeIn 0.5s ease-out both;
}

.preview-card:nth-child(1) { animation-delay: 0.1s; }
.preview-card:nth-child(2) { animation-delay: 0.2s; }
.preview-card:nth-child(3) { animation-delay: 0.3s; }

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

.preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
}

.preview-card::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 10px;
    right: 10px;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
}

/* Web Floating Icons */
.web-floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.web-icon {
    position: absolute;
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: floatWebIcon 6s infinite ease-in-out;
}

.web-icon i {
    font-size: 1.8rem;
}

.web-icon.html {
    top: 5%;
    left: 0;
    background: linear-gradient(135deg, #e34f26, #f06529);
    animation-delay: 0s;
}

.web-icon.html i { color: white; }

.web-icon.css {
    top: 35%;
    right: -5%;
    background: linear-gradient(135deg, #1572b6, #33a9dc);
    animation-delay: 0.5s;
}

.web-icon.css i { color: white; }

.web-icon.js {
    bottom: 30%;
    left: -5%;
    background: linear-gradient(135deg, #f7df1e, #e6c700);
    animation-delay: 1s;
}

.web-icon.js i { color: #1a1a1a; }

.web-icon.react {
    bottom: 5%;
    right: 5%;
    background: linear-gradient(135deg, #20232a, #282c34);
    animation-delay: 1.5s;
}

.web-icon.react i { color: #61dafb; }

@keyframes floatWebIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(-5deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
    75% { transform: translateY(-8px) rotate(-3deg); }
}

/* Hide old floating code */
.floating-code .code-line {
    display: none;
}

/* Old website preview before - hide */
.website-preview > ::before {
    display: none;
}

.website-preview::after {
    content: '';
    position: absolute;
    top: 80px;
    left: 20px;
    right: 20px;
    height: 120px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

@keyframes websiteHeaderShine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Website content cards */
.website-preview .web-card {
    position: absolute;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.website-preview .web-card:nth-child(1) {
    bottom: 20px;
    left: 20px;
    width: 45%;
    height: 50px;
    animation: webCardFloat 4s infinite ease-in-out;
}

.website-preview .web-card:nth-child(2) {
    bottom: 20px;
    right: 20px;
    width: 45%;
    height: 50px;
    animation: webCardFloat 4s infinite ease-in-out 0.5s;
}

@keyframes webCardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Floating Code Elements Enhanced */
.floating-code {
    z-index: 5;
}

.code-line {
    background: linear-gradient(90deg, rgba(74, 108, 247, 0.6), rgba(0, 102, 255, 0.6));
    box-shadow:
        0 5px 20px rgba(74, 108, 247, 0.25),
        0 0 30px rgba(74, 108, 247, 0.15);
    backdrop-filter: blur(5px);
}

/* App Showcase - Enhanced */
.app-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.app-devices {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.app-phone {
    width: 200px;
    height: 400px;
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border-radius: 35px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 2px rgba(255, 255, 255, 0.1),
        inset 0 0 15px rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
    transform: rotate(-8deg) translateX(40px);
    animation: floatAppPhoneModern 7s infinite ease-in-out;
    overflow: visible;
}

@keyframes floatAppPhoneModern {
    0%, 100% { transform: rotate(-8deg) translateX(40px) translateY(0); }
    50% { transform: rotate(-5deg) translateX(40px) translateY(-20px); }
}

.app-tablet {
    width: 320px;
    height: 220px;
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border-radius: 25px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 0 0 2px rgba(255, 255, 255, 0.1),
        inset 0 0 15px rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
    transform: rotate(8deg) translateX(-40px) translateY(50px);
    animation: floatAppTabletModern 8s infinite ease-in-out;
    overflow: visible;
}

@keyframes floatAppTabletModern {
    0%, 100% { transform: rotate(8deg) translateX(-40px) translateY(50px); }
    50% { transform: rotate(10deg) translateX(-40px) translateY(30px); }
}

.app-phone .app-screen {
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    overflow: hidden;
}

.app-tablet .app-screen {
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border-radius: 20px;
    overflow: hidden;
}

/* App Phone Notch */
.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #0a0a0a;
    border-radius: 0 0 18px 18px;
    z-index: 10;
}

.phone-notch::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #1a1a1a;
    border-radius: 50%;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.5);
}

/* Tablet Camera */
.tablet-camera {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    z-index: 10;
}

/* App UI Content */
.app-ui {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* App Status Bar */
.app-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    padding-top: 30px;
    font-size: 10px;
    font-weight: 600;
    color: #333;
}

.status-time {
    font-weight: 700;
}

.status-icons {
    display: flex;
    gap: 4px;
}

.status-icons i {
    font-size: 9px;
    color: #333;
}

/* App Header */
.app-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 10px;
}

.app-logo-small {
    width: 28px;
    height: 28px;
    background: var(--primary-gradient);
    border-radius: 8px;
    animation: logoShine 3s infinite ease-in-out;
}

@keyframes logoShine {
    0%, 100% { box-shadow: 0 2px 10px rgba(74, 108, 247, 0.2); }
    50% { box-shadow: 0 4px 20px rgba(74, 108, 247, 0.4); }
}

.app-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    flex: 1;
}

.app-header > i {
    font-size: 14px;
    color: #666;
}

/* App Content */
.app-content {
    flex: 1;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

.app-card.welcome {
    position: relative;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.app-card.welcome .card-gradient {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: cardShine 3s infinite;
}

@keyframes cardShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.app-card.welcome span {
    color: white;
    font-size: 14px;
    font-weight: 600;
    z-index: 1;
}

.app-stats-row {
    display: flex;
    gap: 10px;
}

.app-stat {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    animation: statPulse 4s infinite ease-in-out;
}

.app-stat:nth-child(2) {
    animation-delay: 0.5s;
}

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

.app-stat i {
    font-size: 14px;
    color: var(--primary);
}

.app-stat span {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
}

.app-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-list-item {
    height: 35px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.app-list-item::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    border-radius: 6px;
}

.app-list-item::after {
    content: '';
    position: absolute;
    left: 45px;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    height: 8px;
    background: linear-gradient(90deg, #e0e0e0, #f5f5f5);
    border-radius: 4px;
}

.app-list-item:nth-child(1) { animation: listSlide 0.5s ease-out; }
.app-list-item:nth-child(2) { animation: listSlide 0.5s ease-out 0.1s both; }
.app-list-item:nth-child(3) { animation: listSlide 0.5s ease-out 0.2s both; }

@keyframes listSlide {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* App Navigation Bar */
.app-nav-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.app-nav-bar i {
    font-size: 16px;
    color: #aaa;
    transition: all 0.3s ease;
}

.app-nav-bar i.active {
    color: var(--primary);
    transform: scale(1.1);
}

.app-nav-bar i:nth-child(3) {
    font-size: 22px;
    color: var(--primary);
}

/* Tablet UI Styles */
.app-tablet .app-ui.tablet {
    display: flex;
    flex-direction: row;
    padding: 0;
    background: #f5f7fa;
}

.tablet-sidebar {
    width: 50px;
    background: linear-gradient(180deg, #1a1a1a, #2d2d2d);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    gap: 15px;
}

.sidebar-logo {
    width: 28px;
    height: 28px;
    background: var(--primary-gradient);
    border-radius: 8px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.sidebar-item {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar-item i {
    font-size: 12px;
    color: #888;
}

.sidebar-item.active {
    background: rgba(74, 108, 247, 0.15);
}

.sidebar-item.active i {
    color: var(--primary);
}

.tablet-main {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tablet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tablet-header span {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}

.tablet-search {
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.tablet-search i {
    font-size: 10px;
    color: #888;
}

.tablet-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.tablet-card {
    height: 45px;
    border-radius: 10px;
    animation: tabletCardPop 0.6s ease-out both;
}

.tablet-card.card-1 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    animation-delay: 0.1s;
}
.tablet-card.card-2 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    animation-delay: 0.2s;
}
.tablet-card.card-3 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    animation-delay: 0.3s;
}
.tablet-card.card-4 {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    animation-delay: 0.4s;
}

@keyframes tabletCardPop {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.tablet-chart {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100%;
    gap: 8px;
}

.chart-bar {
    width: 20px;
    background: linear-gradient(180deg, #e6ac00, #ffd700);
    border-radius: 4px 4px 0 0;
    animation: chartGrow 1s ease-out both;
}

.chart-bar:nth-child(1) { animation-delay: 0.1s; }
.chart-bar:nth-child(2) { animation-delay: 0.2s; }
.chart-bar:nth-child(3) { animation-delay: 0.3s; }
.chart-bar:nth-child(4) { animation-delay: 0.4s; }
.chart-bar:nth-child(5) { animation-delay: 0.5s; }
.chart-bar:nth-child(6) { animation-delay: 0.6s; }

@keyframes chartGrow {
    from { height: 0 !important; }
}

/* App Floating Elements */
.app-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.floating-notification {
    position: absolute;
    top: 15%;
    right: -10px;
    background: white;
    padding: 8px 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    animation: floatNotification 4s infinite ease-in-out;
}

.floating-notification i {
    color: var(--primary);
    font-size: 12px;
}

.floating-notification span {
    font-size: 10px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

@keyframes floatNotification {
    0%, 100% { transform: translateY(0) rotate(-5deg); opacity: 1; }
    50% { transform: translateY(-15px) rotate(5deg); opacity: 0.9; }
}

.floating-code {
    position: absolute;
    bottom: 20%;
    left: -15px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #1a1a1a, #333);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: floatCode 5s infinite ease-in-out;
}

.floating-code span {
    color: #4ade80;
    font-size: 14px;
    font-weight: 700;
    font-family: monospace;
}

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

.floating-heart {
    position: absolute;
    top: 45%;
    right: 5%;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(238, 90, 90, 0.4);
    animation: floatHeart 3s infinite ease-in-out;
}

.floating-heart i {
    color: white;
    font-size: 14px;
}

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

/* Floating Tech Icons - Enhanced */
.floating-tech {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.tech-icon {
    position: absolute;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: white;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    animation: floatTechModern 6s infinite ease-in-out;
}

.tech-icon:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    background: linear-gradient(135deg, #fff, #f0f0f0);
}
.tech-icon:nth-child(2) {
    top: 65%;
    right: 5%;
    animation-delay: 0.7s;
    background: linear-gradient(135deg, #fff, #e8f5e9);
}
.tech-icon:nth-child(3) {
    bottom: 15%;
    left: 8%;
    animation-delay: 1.4s;
    background: linear-gradient(135deg, #fff, #e3f2fd);
}

.tech-icon i {
    font-size: 1.8rem;
}
.tech-icon:nth-child(1) i { color: #000; }
.tech-icon:nth-child(2) i { color: #3DDC84; }
.tech-icon:nth-child(3) i { color: #61DAFB; }

@keyframes floatTechModern {
    0%, 100% {
        transform: translateY(0) rotate(0) scale(1);
    }
    25% {
        transform: translateY(-12px) rotate(-8deg) scale(1.05);
    }
    50% {
        transform: translateY(-20px) rotate(8deg) scale(1.1);
    }
    75% {
        transform: translateY(-8px) rotate(-4deg) scale(1.05);
    }
}

/* Content Showcase - Enhanced */
.content-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 350px;
    transform: rotateY(-8deg) rotateX(5deg);
    transform-style: preserve-3d;
    animation: contentGridFloat 7s infinite ease-in-out;
}

@keyframes contentGridFloat {
    0%, 100% { transform: rotateY(-8deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-5deg) rotateX(3deg) translateY(-15px); }
}

.content-item {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
    border-radius: 16px;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.8);
    overflow: hidden;
    position: relative;
}

.content-item.photo {
    height: 140px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.content-item.photo::before {
    content: '\f03e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.content-item.video {
    height: 140px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    grid-row: span 2;
}

.content-item.video .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: playButtonPulse 2s infinite ease-in-out;
}

.content-item.video .play-button i {
    color: #11998e;
    font-size: 1.5rem;
    margin-left: 4px;
}

@keyframes playButtonPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
    50% { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); }
}

.content-item.text {
    height: 140px;
    background: linear-gradient(135deg, #e6ac00 0%, #ffd700 100%);
    padding: 15px;
}

.content-item.text::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    height: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
}

.content-item.text::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 15px;
    width: 70%;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 5px;
}

/* Floating Elements - Content */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.floating-camera,
.floating-video,
.floating-pen {
    position: absolute;
    width: 55px;
    height: 55px;
    background: white;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    animation: floatElementsContent 6s infinite ease-in-out;
}

.floating-camera {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    background: linear-gradient(135deg, #fff, #ffe0e0);
}

.floating-video {
    top: 60%;
    right: 3%;
    animation-delay: 0.7s;
    background: linear-gradient(135deg, #fff, #e0ffe0);
}

.floating-pen {
    bottom: 15%;
    left: 8%;
    animation-delay: 1.4s;
    background: linear-gradient(135deg, #fff, #fff5e0);
}

.floating-camera i,
.floating-video i,
.floating-pen i {
    font-size: 1.5rem;
}

.floating-camera i { color: #e74c3c; }
.floating-video i { color: #27ae60; }
.floating-pen i { color: var(--primary); }

@keyframes floatElementsContent {
    0%, 100% {
        transform: translateY(0) rotate(0) scale(1);
    }
    25% {
        transform: translateY(-12px) rotate(-5deg) scale(1.05);
    }
    50% {
        transform: translateY(-20px) rotate(5deg) scale(1.08);
    }
    75% {
        transform: translateY(-8px) rotate(-3deg) scale(1.03);
    }
}

/* ============================================
   CONCEPT CREATOR SHOWCASE
   ============================================ */

.concept-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.concept-central {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.concept-bulb {
    position: relative;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.5);
    animation: bulbPulse 3s infinite ease-in-out;
    z-index: 10;
}

.concept-bulb i {
    font-size: 3rem;
    color: #fff;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

.bulb-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s infinite ease-in-out;
}

@keyframes bulbPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(255, 215, 0, 0.5); }
    50% { transform: scale(1.1); box-shadow: 0 0 80px rgba(255, 215, 0, 0.7); }
}

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

.concept-orbits {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.orbit {
    position: absolute;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 160px;
    height: 160px;
    animation: orbitRotate1 8s linear infinite;
}

.orbit-2 {
    width: 220px;
    height: 220px;
    animation: orbitRotate2 12s linear infinite reverse;
}

.orbit-3 {
    width: 280px;
    height: 280px;
    animation: orbitRotate3 16s linear infinite;
}

.orbit-dot {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fff, #f0f0f0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.orbit-1 .orbit-dot i { color: #e74c3c; font-size: 1.1rem; }
.orbit-2 .orbit-dot i { color: #9b59b6; font-size: 1.1rem; }
.orbit-3 .orbit-dot i { color: #e91e63; font-size: 1.1rem; }

@keyframes orbitRotate1 {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbitRotate2 {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbitRotate3 {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.mood-cards {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.mood-card {
    position: absolute;
    width: 80px;
    height: 100px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    animation: moodFloat 6s infinite ease-in-out;
}

.mood-card.mood-1 {
    top: 5%;
    right: 10%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    animation-delay: 0s;
}

.mood-card.mood-2 {
    bottom: 10%;
    left: 5%;
    background: linear-gradient(135deg, #11998e, #38ef7d);
    animation-delay: 0.5s;
}

.mood-card.mood-3 {
    bottom: 20%;
    right: 5%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    animation-delay: 1s;
}

@keyframes moodFloat {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* Concept Creator Floating Elements */
.floating-idea,
.floating-brush,
.floating-gem {
    position: absolute;
    width: 55px;
    height: 55px;
    background: white;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    animation: floatElementsContent 6s infinite ease-in-out;
}

.floating-idea {
    top: 8%;
    left: 8%;
    animation-delay: 0s;
    background: linear-gradient(135deg, #fff, #fff5e0);
}

.floating-brush {
    top: 15%;
    right: 8%;
    animation-delay: 0.7s;
    background: linear-gradient(135deg, #fff, #ffe0f0);
}

.floating-gem {
    bottom: 10%;
    left: 12%;
    animation-delay: 1.4s;
    background: linear-gradient(135deg, #fff, #e0f0ff);
}

.floating-idea i,
.floating-brush i,
.floating-gem i {
    font-size: 1.5rem;
}

.floating-idea i { color: #f1c40f; }
.floating-brush i { color: #e91e63; }
.floating-gem i { color: #3498db; }

/* ============================================
   COSA FACCIAMO - RESPONSIVE DEVICE MOCKUPS
   ============================================ */

@media (max-width: 992px) {
    .phone-mockup {
        width: 240px;
        height: 480px;
        border-radius: 38px;
    }

    .browser-mockup {
        width: 360px;
    }

    .app-phone {
        width: 170px;
        height: 340px;
    }

    .app-tablet {
        width: 270px;
        height: 190px;
    }

    .floating-icons i {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        padding: 14px;
        border-width: 2px;
    }

    .tech-icon {
        width: 48px;
        height: 48px;
    }

    .tech-icon i {
        font-size: 1.5rem;
    }

    .content-grid {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .phone-mockup {
        width: 200px;
        height: 400px;
        border-radius: 32px;
        transform: rotateY(-10deg) rotateX(3deg);
    }

    .phone-screen {
        border-radius: 28px;
    }

    .phone-notch {
        width: 100px;
        height: 24px;
    }

    .social-post {
        min-height: 110px;
    }

    .browser-mockup {
        width: 300px;
        transform: rotateY(-5deg) rotateX(3deg);
    }

    .browser-body {
        min-height: 220px;
    }

    .website-preview {
        min-height: 220px;
    }

    .app-phone {
        width: 150px;
        height: 300px;
        transform: rotate(-5deg) translateX(25px);
    }

    .app-tablet {
        width: 230px;
        height: 165px;
        transform: rotate(6deg) translateX(-25px) translateY(35px);
    }

    /* App UI Responsive - 768px */
    .phone-notch {
        width: 80px;
        height: 20px;
    }

    .app-status-bar {
        padding: 6px 10px;
        padding-top: 22px;
        font-size: 8px;
    }

    .app-header {
        padding: 8px 10px;
        gap: 6px;
    }

    .app-logo-small {
        width: 22px;
        height: 22px;
    }

    .app-title {
        font-size: 11px;
    }

    .app-content {
        padding: 8px 10px;
        gap: 8px;
    }

    .app-card.welcome {
        height: 50px;
        border-radius: 10px;
    }

    .app-card.welcome span {
        font-size: 11px;
    }

    .app-stat {
        padding: 8px;
        border-radius: 8px;
    }

    .app-stat i {
        font-size: 10px;
    }

    .app-stat span {
        font-size: 9px;
    }

    .app-list-item {
        height: 28px;
    }

    .app-nav-bar {
        padding: 8px 10px;
    }

    .app-nav-bar i {
        font-size: 12px;
    }

    .app-nav-bar i:nth-child(3) {
        font-size: 16px;
    }

    /* Web Icons Responsive - 768px */
    .web-icon {
        width: 45px;
        height: 45px;
        border-radius: 12px;
    }

    .web-icon i {
        font-size: 1.4rem;
    }

    .web-icon.html { top: 3%; left: 2%; }
    .web-icon.css { top: 30%; right: 0%; }
    .web-icon.js { bottom: 25%; left: 0%; }
    .web-icon.react { bottom: 3%; right: 8%; }

    .preview-header { height: 35px; }
    .preview-hero { padding: 18px 15px; }
    .preview-title { height: 14px; }
    .preview-subtitle { height: 8px; margin-bottom: 14px; }
    .preview-btn { width: 80px; height: 24px; }
    .preview-cards { gap: 8px; padding: 10px 15px; }

    /* Tablet UI Responsive - 768px */
    .tablet-sidebar {
        width: 40px;
        padding: 8px 0;
    }

    .sidebar-logo {
        width: 22px;
        height: 22px;
    }

    .sidebar-item {
        width: 26px;
        height: 26px;
    }

    .sidebar-item i {
        font-size: 10px;
    }

    .tablet-main {
        padding: 8px;
        gap: 6px;
    }

    .tablet-header span {
        font-size: 11px;
    }

    .tablet-search {
        width: 22px;
        height: 22px;
    }

    .tablet-cards {
        gap: 5px;
    }

    .tablet-card {
        height: 32px;
        border-radius: 6px;
    }

    .chart-bar {
        width: 14px;
    }

    /* Floating Elements Responsive - 768px */
    .floating-notification {
        padding: 5px 10px;
        right: -5px;
    }

    .floating-notification i {
        font-size: 10px;
    }

    .floating-notification span {
        font-size: 8px;
    }

    .floating-code {
        width: 35px;
        height: 35px;
        left: -10px;
    }

    .floating-code span {
        font-size: 11px;
    }

    .floating-heart {
        width: 28px;
        height: 28px;
    }

    .floating-heart i {
        font-size: 11px;
    }

    .floating-icons i {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        padding: 12px;
        border-width: 2px;
    }

    .floating-icons i:nth-child(1) { left: 0%; top: 5%; }
    .floating-icons i:nth-child(2) { right: 0%; top: 28%; }
    .floating-icons i:nth-child(3) { left: 0%; bottom: 28%; }
    .floating-icons i:nth-child(4) { right: 0%; bottom: 5%; }

    .tech-icon {
        width: 42px;
        height: 42px;
    }

    .tech-icon i {
        font-size: 1.3rem;
    }

    .content-grid {
        max-width: 260px;
        gap: 10px;
    }

    .content-item.photo,
    .content-item.video,
    .content-item.text {
        height: 110px;
    }

    .content-item.video .play-button {
        width: 50px;
        height: 50px;
    }

    .content-item.video .play-button i {
        font-size: 1.2rem;
    }

    .floating-camera,
    .floating-video,
    .floating-pen {
        width: 45px;
        height: 45px;
    }

    .floating-camera i,
    .floating-video i,
    .floating-pen i {
        font-size: 1.2rem;
    }

    /* Concept Creator Responsive - 768px */
    .concept-central {
        width: 160px;
        height: 160px;
    }

    .concept-bulb {
        width: 80px;
        height: 80px;
    }

    .concept-bulb i {
        font-size: 2.2rem;
    }

    .orbit-1 { width: 130px; height: 130px; }
    .orbit-2 { width: 180px; height: 180px; }
    .orbit-3 { width: 230px; height: 230px; }

    .orbit-dot {
        width: 32px;
        height: 32px;
        top: -12px;
    }

    .orbit-dot i { font-size: 0.9rem !important; }

    .mood-card {
        width: 60px;
        height: 75px;
    }

    .floating-idea,
    .floating-brush,
    .floating-gem {
        width: 45px;
        height: 45px;
    }

    .floating-idea i,
    .floating-brush i,
    .floating-gem i {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .visual-container {
        transform: scale(0.85);
    }

    .phone-mockup {
        width: 180px;
        height: 360px;
        border-radius: 28px;
        transform: rotateY(-8deg) rotateX(2deg);
    }

    .social-post {
        min-height: 90px;
    }

    .social-post::before {
        width: 28px;
        height: 28px;
    }

    .social-post::after {
        width: 60px;
        height: 8px;
        top: 15px;
        left: 45px;
    }

    .browser-mockup {
        width: 260px;
        transform: rotateY(-3deg) rotateX(2deg);
    }

    .browser-header {
        padding: 10px 12px;
        gap: 10px;
    }

    .browser-actions span {
        width: 10px;
        height: 10px;
    }

    .browser-address {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .browser-body,
    .website-preview {
        min-height: 180px;
    }

    /* Web Icons Responsive - 576px */
    .web-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .web-icon i {
        font-size: 1.1rem;
    }

    .web-icon.html { top: 2%; left: 3%; }
    .web-icon.css { top: 25%; right: 2%; }
    .web-icon.js { bottom: 22%; left: 2%; }
    .web-icon.react { bottom: 2%; right: 10%; }

    .preview-header { height: 28px; }
    .preview-header::before { width: 18px; height: 18px; left: 12px; }
    .preview-header::after { width: 50px; height: 8px; right: 12px; }
    .preview-hero { padding: 12px 10px; }
    .preview-title { height: 12px; width: 60%; }
    .preview-subtitle { height: 6px; width: 40%; margin-bottom: 10px; }
    .preview-btn { width: 60px; height: 20px; border-radius: 4px; }
    .preview-cards { gap: 6px; padding: 8px 10px; }
    .preview-card { border-radius: 6px; }

    .app-phone {
        width: 130px;
        height: 260px;
        transform: rotate(-4deg) translateX(20px);
    }

    .app-tablet {
        width: 200px;
        height: 145px;
        transform: rotate(5deg) translateX(-20px) translateY(30px);
    }

    /* App UI Responsive - 576px */
    .phone-notch {
        width: 65px;
        height: 16px;
    }

    .app-status-bar {
        padding: 4px 8px;
        padding-top: 18px;
        font-size: 7px;
    }

    .status-icons i {
        font-size: 7px;
    }

    .app-header {
        padding: 5px 8px;
        gap: 5px;
    }

    .app-logo-small {
        width: 18px;
        height: 18px;
        border-radius: 5px;
    }

    .app-title {
        font-size: 9px;
    }

    .app-header > i {
        font-size: 10px;
    }

    .app-content {
        padding: 5px 8px;
        gap: 6px;
    }

    .app-card.welcome {
        height: 40px;
        border-radius: 8px;
    }

    .app-card.welcome span {
        font-size: 9px;
    }

    .app-stats-row {
        gap: 5px;
    }

    .app-stat {
        padding: 5px;
        border-radius: 6px;
        gap: 4px;
    }

    .app-stat i {
        font-size: 8px;
    }

    .app-stat span {
        font-size: 7px;
    }

    .app-list {
        gap: 4px;
    }

    .app-list-item {
        height: 22px;
        border-radius: 6px;
    }

    .app-list-item::before {
        width: 16px;
        height: 16px;
        left: 5px;
        border-radius: 4px;
    }

    .app-list-item::after {
        left: 28px;
        width: 50%;
        height: 5px;
    }

    .app-nav-bar {
        padding: 6px 8px;
    }

    .app-nav-bar i {
        font-size: 10px;
    }

    .app-nav-bar i:nth-child(3) {
        font-size: 14px;
    }

    /* Tablet UI Responsive - 576px */
    .tablet-sidebar {
        width: 32px;
        padding: 6px 0;
        gap: 8px;
    }

    .sidebar-logo {
        width: 18px;
        height: 18px;
        border-radius: 5px;
    }

    .sidebar-menu {
        gap: 6px;
        margin-top: 6px;
    }

    .sidebar-item {
        width: 20px;
        height: 20px;
        border-radius: 5px;
    }

    .sidebar-item i {
        font-size: 8px;
    }

    .tablet-main {
        padding: 6px;
        gap: 5px;
    }

    .tablet-header span {
        font-size: 9px;
    }

    .tablet-search {
        width: 18px;
        height: 18px;
        border-radius: 5px;
    }

    .tablet-search i {
        font-size: 7px;
    }

    .tablet-cards {
        gap: 4px;
    }

    .tablet-card {
        height: 26px;
        border-radius: 5px;
    }

    .tablet-chart {
        border-radius: 8px;
        padding: 6px;
    }

    .chart-bar {
        width: 10px;
        border-radius: 2px 2px 0 0;
    }

    /* Floating Elements Responsive - 576px */
    .app-floating-elements {
        display: none;
    }

    .floating-icons i {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
        padding: 10px;
        border-width: 2px;
    }

    .floating-icons i:nth-child(1) { left: 2%; top: 3%; }
    .floating-icons i:nth-child(2) { right: 2%; top: 25%; }
    .floating-icons i:nth-child(3) { left: 2%; bottom: 25%; }
    .floating-icons i:nth-child(4) { right: 2%; bottom: 3%; }

    .tech-icon {
        width: 38px;
        height: 38px;
    }

    .tech-icon i {
        font-size: 1.1rem;
    }

    .content-grid {
        max-width: 220px;
        gap: 8px;
    }

    .content-item.photo,
    .content-item.video,
    .content-item.text {
        height: 90px;
    }

    .content-item.video .play-button {
        width: 40px;
        height: 40px;
    }

    .content-item.video .play-button i {
        font-size: 1rem;
    }

    .floating-camera,
    .floating-video,
    .floating-pen {
        width: 38px;
        height: 38px;
    }

    .floating-camera i,
    .floating-video i,
    .floating-pen i {
        font-size: 1rem;
    }

    /* Concept Creator Responsive - 576px */
    .concept-central {
        width: 130px;
        height: 130px;
    }

    .concept-bulb {
        width: 65px;
        height: 65px;
    }

    .concept-bulb i {
        font-size: 1.8rem;
    }

    .orbit-1 { width: 110px; height: 110px; }
    .orbit-2 { width: 150px; height: 150px; }
    .orbit-3 { width: 190px; height: 190px; }

    .orbit-dot {
        width: 26px;
        height: 26px;
        top: -10px;
    }

    .orbit-dot i { font-size: 0.75rem !important; }

    .mood-card {
        width: 50px;
        height: 60px;
        border-radius: 8px;
    }

    .floating-idea,
    .floating-brush,
    .floating-gem {
        width: 38px;
        height: 38px;
    }

    .floating-idea i,
    .floating-brush i,
    .floating-gem i {
        font-size: 1rem;
    }
}

/* Ads Showcase */
.ads-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ads-dashboard {
    width: 90%;
    max-width: 500px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg);
    animation: floatDashboard 6s infinite alternate ease-in-out;
}

@keyframes floatDashboard {
    0% { transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(0); }
    100% { transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(-20px); }
}

.dashboard-header {
    background: var(--primary);
    color: var(--secondary);
    padding: 15px 20px;
    font-weight: 600;
}

.dashboard-body {
    padding: 20px;
    height: 300px;
}

.dashboard-chart {
    height: 180px;
    background: linear-gradient(135deg, #f9f9f9, #f0f0f0);
    border-radius: 10px;
    margin-bottom: 20px;
}

.dashboard-metrics {
    display: flex;
    justify-content: space-around;
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.metric-label {
    font-size: 0.9rem;
    color: #666;
}

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

.platform-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    animation: floatPlatform 8s infinite ease-in-out;
}

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

.platform-icon i { font-size: 1.2rem; }
.platform-icon:nth-child(1) i { color: #4285F4; }
.platform-icon:nth-child(2) i { color: #4267B2; }
.platform-icon:nth-child(3) i { color: #E1306C; }
.platform-icon:nth-child(4) i { color: #000; }

@keyframes floatPlatform {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-15px) rotate(8deg); }
}

/* AI Agent Showcase */
.ai-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-robot-container {
    position: relative;
    width: 90%;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatRobot 6s infinite ease-in-out;
}

.ai-robot-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 85, 255, 0.4));
    z-index: 2;
    position: relative;
}

.ai-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 85, 255, 0.4) 0%, rgba(0, 85, 255, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 3s infinite ease-in-out;
    z-index: 1;
}

@keyframes floatRobot {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

.ai-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.ai-particles span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary), 0 0 30px var(--primary);
    animation: particleFloat 4s infinite ease-in-out;
}

.ai-particles span:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.ai-particles span:nth-child(2) { top: 20%; right: 15%; animation-delay: 0.5s; }
.ai-particles span:nth-child(3) { top: 50%; left: 10%; animation-delay: 1s; }
.ai-particles span:nth-child(4) { bottom: 30%; right: 10%; animation-delay: 1.5s; }
.ai-particles span:nth-child(5) { bottom: 15%; left: 25%; animation-delay: 2s; }
.ai-particles span:nth-child(6) { top: 35%; right: 25%; animation-delay: 2.5s; }

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

.ai-data-streams {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.data-stream {
    position: absolute;
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    opacity: 0.5;
    animation: streamFlow 2s infinite linear;
}

.data-stream:nth-child(1) { left: 15%; top: 20%; animation-delay: 0s; }
.data-stream:nth-child(2) { right: 20%; top: 30%; animation-delay: 0.7s; }
.data-stream:nth-child(3) { left: 30%; bottom: 20%; animation-delay: 1.4s; }

@keyframes streamFlow {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 0.8; }
    100% { transform: translateY(200%); opacity: 0; }
}

.floating-ai-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ai-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-light);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 85, 255, 0.2);
    animation: floatAiIcon 8s infinite ease-in-out;
}

.ai-icon:nth-child(1) { top: 5%; left: 5%; animation-delay: 0s; }
.ai-icon:nth-child(2) { top: 15%; right: 0%; animation-delay: 1s; }
.ai-icon:nth-child(3) { bottom: 25%; left: 0%; animation-delay: 2s; }
.ai-icon:nth-child(4) { bottom: 5%; right: 10%; animation-delay: 3s; }

.ai-icon i {
    font-size: 1.3rem;
    color: var(--primary);
}

@keyframes floatAiIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(10deg); }
}

/* AI Showcase Responsive */
@media (max-width: 768px) {
    .ai-robot-image {
        max-width: 250px;
    }

    .ai-glow {
        width: 200px;
        height: 200px;
    }

    .ai-icon {
        width: 40px;
        height: 40px;
    }

    .ai-icon i {
        font-size: 1rem;
    }

    .ai-particles span {
        width: 6px;
        height: 6px;
    }
}

/* ============================================
   VR EXPERIENCE SHOWCASE
   ============================================ */
.vr-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.vr-video-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 85, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.vr-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vr-partner-logo img {
    width: 200px;
    height: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.vr-partner-logo img:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(0, 85, 255, 0.4));
}

.vr-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

.vr-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 85, 255, 0.1) 0%,
        transparent 50%,
        rgba(0, 85, 255, 0.05) 100%
    );
    pointer-events: none;
    border-radius: 18px;
}

.vr-video-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), transparent, var(--primary));
    border-radius: 22px;
    z-index: -1;
    opacity: 0.5;
    animation: vrGlow 3s ease-in-out infinite alternate;
}

@keyframes vrGlow {
    0% {
        opacity: 0.3;
        filter: blur(10px);
    }
    100% {
        opacity: 0.6;
        filter: blur(15px);
    }
}

/* VR Responsive */
@media (max-width: 768px) {
    .vr-showcase {
        flex-direction: column;
        gap: 20px;
    }

    .vr-video-container {
        max-width: 100%;
        border-radius: 16px;
    }

    .vr-video {
        border-radius: 14px;
    }

    .vr-partner-logo img {
        width: 150px;
    }
}

/* Pricing Section */
#pacchetti {
    padding: 120px 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(30px);
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #fff;
}

#pacchetti::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.95), rgba(10, 10, 10, 0.95));
    z-index: -2;
}

#pacchetti .section-title {
    color: #D6A226;
}

.pricing-intro {
    color: #fff;
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 18px;
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    perspective: 2000px;
}

.pricing-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: rgba(5, 5, 5, 0.98);
    color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    transition: transform 0.5s ease;
    position: relative;
    border: 1px solid rgba(20, 20, 20, 0.9);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow-lg), var(--glass-shadow-glow);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 24px 24px 0 0;
}

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

.pricing-card.featured {
    background: rgba(10, 10, 10, 0.98);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    z-index: 4;
    padding-top: 20px;
}

.pricing-card.featured:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow-lg), var(--glass-shadow-glow);
}

.wow-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: block;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.9);
    color: #D6A226;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    z-index: 2;
}

.featured-tag {
    background: rgba(0, 0, 0, 0.9);
    color: #D6A226;
    text-align: center;
    padding: 10px 0;
    font-weight: 700;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-radius: 19px 19px 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    font-size: 14px;
}

.package-title {
    font-size: 24px;
    margin: 15px 0 10px;
    color: #D6A226;
    text-align: center;
    font-weight: 700;
    padding: 0 20px;
}

.featured .package-title {
    margin-top: 30px;
}

.price-container {
    margin: 15px auto;
    text-align: center;
    padding: 0 20px;
}

.discount-badge {
    background: rgba(0, 0, 0, 0.9);
    color: #D6A226;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    display: block;
    font-size: 14px;
    margin: 10px auto 0;
    width: fit-content;
}

.price {
    font-size: 20px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    color: #fff;
}

.currency {
    font-size: 24px;
    font-weight: 600;
    margin-right: 5px;
}

.amount {
    font-size: 46px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #D6A226, #F2D675);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.period {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 5px;
}

.card-description {
    padding: 0 25px;
    text-align: center;
    margin-bottom: 15px;
}

.card-description p {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.card-content {
    padding: 0 25px 20px;
    flex-grow: 1;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.2;
    text-align: left;
}

.features-list li i {
    color: #D6A226;
    margin-right: 12px;
    font-size: 12px;
    background-color: rgba(0, 0, 0, 0.9);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.features-list li strong {
    font-weight: 600;
    color: #D6A226;
    margin-right: 4px;
}

.card-footer {
    padding: 25px;
    text-align: center;
    border-top: 1px solid rgba(30, 30, 30, 0.9);
    background: rgba(0, 0, 0, 0.5);
    margin-top: auto;
}

.cta-button {
    background: rgba(0, 0, 0, 0.9);
    color: #D6A226;
    border: none;
    border-radius: 30px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    transition: transform 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow), var(--glass-shadow-glow);
}

.pricing-note {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    padding: 0 20px;
}

/* Case Study Section */
#casestudy {
    position: relative;
    padding: 120px 0;
    background: transparent;
    overflow: hidden;
    z-index: 1;
}

.splash {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
}

.yellow-splash-1 {
    top: 15%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: rgba(248, 181, 0, 0.15);
    animation: float-splash 25s infinite alternate ease-in-out;
}

.yellow-splash-2 {
    bottom: 10%;
    left: 20%;
    width: 300px;
    height: 300px;
    background: rgba(248, 181, 0, 0.1);
    animation: float-splash 20s infinite alternate-reverse ease-in-out;
}

.black-splash-1 {
    top: 40%;
    left: 5%;
    width: 250px;
    height: 250px;
    background: rgba(0, 0, 0, 0.05);
    animation: float-splash 22s infinite alternate ease-in-out;
}

.black-splash-2 {
    bottom: 30%;
    right: 15%;
    width: 350px;
    height: 350px;
    background: rgba(0, 0, 0, 0.03);
    animation: float-splash 18s infinite alternate-reverse ease-in-out;
}

@keyframes float-splash {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.1); }
    100% { transform: translate(-30px, 20px) scale(0.95); }
}

.section-title.black-title {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #222;
}

.title-bar.yellow-bar {
    width: 100px;
    height: 6px;
    margin: 15px auto;
    background: linear-gradient(90deg, #0055FF, #0066FF);
    border-radius: 3px;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.case-study-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

.case-study-container:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 25px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(248, 181, 0, 0.2), rgba(248, 181, 0, 0.5), rgba(248, 181, 0, 0.2));
}

.case-study-step {
    display: flex;
    position: relative;
    margin-bottom: 100px;
    padding-left: 50px;
}

.case-study-step.reverse {
    flex-direction: row-reverse;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: rgba(30, 30, 30, 0.9);
    border: 2px solid #0055FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0055FF;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(248, 181, 0, 0.3);
}

.step-content {
    flex: 1;
    padding: 30px 40px;
    background: rgba(30, 30, 30, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-right: 30px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-study-step.reverse .step-content {
    margin-right: 0;
    margin-left: 30px;
}

.step-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px 0;
}

.step-content h4 {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 15px 0;
    font-weight: 500;
}

.step-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 20px 0;
}

.step-image {
    flex: 1;
    perspective: 1000px;
}

.image-card {
    width: 100%;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.image-card:hover {
    transform: rotateY(-10deg) rotateX(-5deg);
}

.case-study-step.reverse .image-card {
    transform: rotateY(-10deg) rotateX(5deg);
}

.case-study-step.reverse .image-card:hover {
    transform: rotateY(10deg) rotateX(-5deg);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(248, 181, 0, 0.3), rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

.results-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}


.award-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #0055FF, #0066FF);
    padding: 10px 20px;
    border-radius: 50px;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(248, 181, 0, 0.3);
}

.trophy {
    font-size: 1.5rem;
    margin-right: 10px;
}

.award-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.case-quote {
    max-width: 800px;
    margin: 80px auto 0;
    text-align: center;
}

.case-quote blockquote {
    font-size: 2rem;
    font-style: italic;
    color: #222;
    padding: 0 60px;
    margin: 0;
}

/* Case Spheres - Hidden for cleaner design */
.case-sphere, .case-sphere-1, .case-sphere-2, .case-sphere-3 {
    display: none;
}

/* ========================================
   Portfolio Section - Modern Categories & Clients
   ======================================== */
#portfolio,
.portfolio-modern {
    padding: 120px 0 80px;
    background: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Portfolio Decorative Spheres */
.portfolio-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}

.portfolio-sphere-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: 10%;
    left: -10%;
}

.portfolio-sphere-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: 10%;
    right: -5%;
}

.portfolio-sphere-3 {
    width: 200px;
    height: 200px;
    background: #8B5CF6;
    top: 50%;
    right: 20%;
}

/* Categorie Container */
.categorie-container {
    margin-bottom: 60px;
}

.categorie-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 20px 0;
}

.loading-categorie {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.loading-categorie i {
    font-size: 1.2rem;
    color: var(--primary);
}

.no-categorie,
.error-categorie {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    padding: 40px;
}

/* Categoria Pill - Modern Glass Style */
.categoria-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

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

.categoria-pill i {
    font-size: 1.1rem;
    color: var(--pill-color, var(--primary));
    transition: all 0.3s ease;
}

.categoria-pill span {
    position: relative;
    z-index: 2;
}

.categoria-pill .pill-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--pill-color, var(--primary)) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50px;
}

.categoria-pill:hover {
    border-color: var(--pill-color, var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                0 0 20px color-mix(in srgb, var(--pill-color, var(--primary)) 30%, transparent);
}

.categoria-pill:hover .pill-glow {
    opacity: 0.15;
}

.categoria-pill:hover i {
    transform: scale(1.2);
}

.categoria-pill.active {
    background: linear-gradient(135deg, var(--pill-color, var(--primary)) 0%, color-mix(in srgb, var(--pill-color, var(--primary)) 70%, #000) 100%);
    border-color: var(--pill-color, var(--primary));
    color: #fff;
    box-shadow: 0 8px 25px color-mix(in srgb, var(--pill-color, var(--primary)) 40%, transparent),
                0 0 30px color-mix(in srgb, var(--pill-color, var(--primary)) 20%, transparent);
}

.categoria-pill.active i {
    color: #fff;
}

.categoria-pill.active .pill-glow {
    opacity: 0.3;
}

/* Clienti Showcase */
.clienti-showcase {
    min-height: 300px;
    position: relative;
}

.clienti-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* Placeholder & Empty States */
.clienti-placeholder,
.clienti-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.clienti-placeholder i,
.clienti-empty i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.clienti-placeholder p,
.clienti-empty p {
    font-size: 1.1rem;
    max-width: 300px;
}

/* Cliente Card Modern */
.cliente-card-modern {
    position: relative;
    display: block;
    text-decoration: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
    transform: translateY(30px);
}

.cliente-card-modern.animate-in {
    animation: clienteCardIn 0.6s ease forwards;
}

@keyframes clienteCardIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cliente-card-inner {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.cliente-card-modern:hover .cliente-card-inner {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Logo Wrapper */
.cliente-logo-wrapper {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.cliente-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(20%);
    transition: all 0.4s ease;
}

.cliente-card-modern:hover .cliente-logo-wrapper img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Logo Shine Effect */
.logo-shine {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 60%
    );
    transition: all 0.6s ease;
}

.cliente-card-modern:hover .logo-shine {
    top: 100%;
    left: 100%;
}

/* Name Wrapper */
.cliente-name-wrapper {
    text-align: center;
}

.cliente-name-wrapper h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px;
    transition: color 0.3s ease;
}

.view-project {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.view-project i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.cliente-card-modern:hover .view-project {
    opacity: 1;
    transform: translateY(0);
}

.cliente-card-modern:hover .view-project i {
    transform: translateX(4px);
}

/* Card Glow Effect */
.cliente-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, var(--primary) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
    z-index: 1;
}

.cliente-card-modern:hover .cliente-card-glow {
    opacity: 0.1;
}

/* Responsive Portfolio */
@media (max-width: 768px) {
    .categorie-pills {
        gap: 10px;
    }

    .categoria-pill {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .clienti-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 20px;
    }

    .cliente-logo-wrapper {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .categorie-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 15px 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .categorie-pills::-webkit-scrollbar {
        display: none;
    }

    .categoria-pill {
        flex-shrink: 0;
    }

    .clienti-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .cliente-card-inner {
        padding: 20px 15px 15px;
    }

    .cliente-logo-wrapper {
        width: 80px;
        height: 80px;
        padding: 10px;
    }

    .cliente-name-wrapper h4 {
        font-size: 0.9rem;
    }
}

/* Contact Section */
#contatti {
    position: relative;
    padding: 120px 0;
    background: transparent;
    overflow: hidden;
    z-index: 1;
}

/* Contact Spheres - Hidden for cleaner design */
.contact-sphere {
    display: none;
}

.contact-sphere-1, .contact-sphere-2, .contact-sphere-3 {
    display: none;
}

/* Grid Pattern - Hidden for cleaner design */
.contact-grid-pattern {
    display: none;
}

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

.contact-info {
    background: var(--glass-gradient);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--glass-shadow), var(--glass-inset);
    border: 1px solid var(--glass-border-light);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.contact-info:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow-lg), var(--glass-shadow-glow);
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.contact-headline {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 15px;
}

.contact-subline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    color: #fff;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(74, 108, 247, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(74, 108, 247, 0.2);
}

.contact-text h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 5px;
}

.contact-text p,
.contact-text a {
    color: rgba(255, 255, 255, 0.7);
}

.contact-text a:hover {
    color: var(--primary);
}

/* Bandiere CSS */
.flag-it, .flag-es {
    display: inline-block;
    width: 24px;
    height: 16px;
    margin-right: 10px;
    border-radius: 3px;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.flag-it {
    background: linear-gradient(to right, #009246 33%, #fff 33%, #fff 66%, #ce2b37 66%);
}

.flag-es {
    background: linear-gradient(to bottom, #c60b1e 25%, #ffc400 25%, #ffc400 75%, #c60b1e 75%);
}

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

.contact-form-container {
    background: var(--glass-gradient);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--glass-shadow-lg), var(--glass-inset);
    border: 1px solid var(--glass-border);
    position: relative;
    transition: var(--transition);
}

.contact-form-container:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow-lg), var(--glass-shadow-glow);
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

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

.form-header {
    background: var(--glass-bg-dark);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    color: #fff;
    padding: 25px 30px;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.form-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.contact-form {
    padding: 30px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    font-size: 1rem;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    background-color: transparent;
    transition: border-color 0.3s ease;
    font-family: inherit;
    color: rgba(255, 255, 255, 0.9);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: all 0.3s ease;
}

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

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

/* Footer */
.footer.liquid-glass {
    position: relative;
    padding: 40px 0 25px;
    color: #fff;
    overflow: hidden;
    z-index: 1;
    background: #0a0a0a;
}

.video-background {
    display: none;
}

.video-background video {
    display: none;
}

.video-overlay {
    display: none;
}

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

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
}

.footer-contact-item i {
    margin-right: 12px;
    font-size: 16px;
    color: #fff;
    width: 36px;
    height: 36px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.footer-contact-item:hover i {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow-sm), var(--glass-shadow-glow);
}

.footer-contact-item a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
}

.admin-link {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    padding: 10px 15px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--glass-border);
    width: fit-content;
    transition: var(--transition);
    box-shadow: var(--glass-shadow-sm);
}

.admin-link:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow), var(--glass-shadow-glow);
}

.admin-link i {
    margin-right: 10px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.footer-copyright a {
    color: #fff;
    text-decoration: none;
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-credits span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.credit-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.footer-logo-small {
    height: 40px;
    width: auto;
    filter: brightness(1.1) drop-shadow(0 0 8px rgba(0, 85, 255, 0.4));
    transition: all 0.3s ease;
    margin-right: 10px;
}

.credit-text {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.credit-link:hover .footer-logo-small {
    filter: brightness(1.3) drop-shadow(0 0 15px rgba(0, 85, 255, 0.6));
    transform: scale(1.05);
}

.credit-link:hover .credit-text {
    color: rgba(0, 85, 255, 0.9);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 99;
    cursor: none;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.9) 0%, rgba(30, 180, 85, 0.8) 100%);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--light);
    box-shadow: var(--glass-shadow), 0 0 30px rgba(37, 211, 102, 0.4);
    border: 1px solid rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.whatsapp-button:hover .whatsapp-icon {
    background: linear-gradient(135deg, rgba(37, 211, 102, 1) 0%, rgba(30, 180, 85, 0.95) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: var(--glass-shadow-lg), 0 0 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    top: 50%;
    left: calc(100% + 10px);
    transform: translateY(-50%);
    background: var(--glass-bg-dark);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--light);
    padding: 8px 15px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--glass-border);
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--glass-shadow);
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    cursor: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.top-arrow {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.9) 0%, rgba(0, 102, 255, 0.8) 100%);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.2rem;
    box-shadow: var(--glass-shadow), var(--glow-primary);
    border: 1px solid rgba(0, 102, 255, 0.4);
    transition: var(--transition);
}

.back-to-top:hover .top-arrow {
    background: linear-gradient(135deg, rgba(0, 102, 255, 1) 0%, rgba(0, 85, 255, 0.95) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: var(--glass-shadow-lg), 0 0 30px rgba(0, 85, 255, 0.5);
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg-dark);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--glass-border);
    color: var(--light);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: var(--transition-slow);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

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

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

.cookie-content p {
    flex: 1;
    min-width: 300px;
    font-size: 0.9rem;
}

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

/* Virtual Assistant */
#virtual-assistant-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
}

.chat-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #000000;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: 2px solid #000000;
}

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

.chat-button:hover {
    transform: scale(1.05);
}

.chat-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: none;
    flex-direction: column;
    max-height: 500px;
    border: 2px solid #000000;
}

.chat-header {
    background-color: #000000;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.chat-header h3 img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    border-radius: 50%;
}

.chat-header button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.chat-body {
    display: flex;
    flex-direction: column;
    height: 400px;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
    max-width: 85%;
    display: flex;
}

.message.user {
    margin-left: auto;
    justify-content: flex-end;
}

.message.assistant {
    margin-right: auto;
    display: flex;
    align-items: flex-start;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 8px;
    flex-shrink: 0;
    border: 1px solid #000000;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message p {
    padding: 10px 15px;
    border-radius: 15px;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.message.user p {
    background-color: #000000;
    color: white;
    border-bottom-right-radius: 5px;
}

.message.assistant p {
    background-color: #f1f1f1;
    color: #333;
    border-bottom-left-radius: 5px;
}

.quick-questions {
    padding: 10px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-question {
    background-color: #f1f1f1;
    border: 1px solid #000000;
    border-radius: 15px;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.quick-question:hover {
    background-color: #e0e0e0;
}

.chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
}

.chat-input input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #000000;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
}

.chat-input button {
    width: 36px;
    height: 36px;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Media Queries */
@media (max-width: 992px) {
    .service-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-visual {
        height: 400px;
    }

    .services-showcase {
        min-height: auto;
        height: auto;
    }

    .service-panel {
        position: relative;
        display: none;
    }

    .service-panel.active {
        display: block;
    }

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

    .case-study-step {
        flex-direction: column;
        padding-left: 40px;
    }

    .case-study-step.reverse {
        flex-direction: column;
    }

    .step-content {
        margin-right: 0;
        margin-bottom: 30px;
        width: 100%;
    }

    .case-study-step.reverse .step-content {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .services-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .service-nav-item {
        min-width: 100px;
        padding: 15px;
    }

    .pricing-container {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .menu-link {
        font-size: 2rem;
    }

    .cursor, .cursor-follower {
        display: none;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .menu-content {
        padding: 30px;
    }

    .menu-link {
        font-size: 1.8rem;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-logo img {
        height: 45px;
    }
}

