:root {
    --primary: #000000;
    --primary-foreground: #ffffff;
    --secondary: #f8f9fa;
    --secondary-foreground: #1a1a1a;
    --muted: #f1f5f9;
    --muted-foreground: #64748b;
    --accent: #f1f5f9;
    --accent-foreground: #0f172a;
    --destructive: #ef4444;
    --destructive-foreground: #ffffff;
    --border: #e2e8f0;
    --input: #ffffff;
    --ring: #94a3b8;
    --background: #ffffff;
    --foreground: #0f172a;
    --card: #ffffff;
    --card-foreground: #0f172a;
    --popover: #ffffff;
    --popover-foreground: #0f172a;
    --radius: 0.5rem;
}

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

body {
    font-family: 'Figtree', sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--foreground);
    font-weight: 500;
    transition: color 0.2s;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary);
    color: var(--primary-foreground) !important;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    border: 2px solid var(--primary);
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary) !important;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    color: var(--primary);
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.certifications {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cert-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-weight: 500;
}

.cert-logos {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center;
}


.cert-logo {
    width: 100px;
}

.cert-logo-siae {
    width: 70px;
}

.cert-logo-text {
    letter-spacing: -0.5px;
}

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

.image-placeholder {
    width: 400px;
    height: 300px;
    background: var(--muted);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 2px dashed var(--border);
}

.image-placeholder i {
    font-size: 4rem;
    color: var(--muted-foreground);
}

.image-placeholder p {
    color: var(--muted-foreground);
    font-weight: 500;
}

/* Hero Animation Container */
.hero-animation-container {
    position: relative;
    width: 500px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

/* Central Device */
.central-device {
    position: relative;
    width: 300px;
    height: 200px;
    z-index: 10;
    transform-style: preserve-3d;
    animation: deviceFloat 8s ease-in-out infinite;
}

.device-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
    border: 2px solid var(--border);
}

.screen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--primary);
    color: var(--primary-foreground);
}

.header-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27ca3f;
}

.screen-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.screen-content {
    padding: 16px;
    height: calc(100% - 44px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticket-preview {
    width: 100%;
    background: linear-gradient(135deg, #fff 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    animation: ticketPulse 3s ease-in-out infinite;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--muted);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
}

.preview-body {
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.event-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.event-date {
    font-size: 0.6rem;
    color: var(--muted-foreground);
}

.event-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
}

.preview-qr {
    padding: 8px 12px;
    border-top: 1px solid var(--border);
}

.qr-code {
    width: 40px;
    height: 40px;
    margin: 0 auto;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    width: 100%;
    height: 100%;
}

.qr-grid span {
    background: var(--primary);
    border-radius: 1px;
    animation: qrFlicker 2s ease-in-out infinite;
}

.qr-grid span:nth-child(odd) {
    animation-delay: 0.5s;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.notification {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.notification i {
    color: #22c55e;
    font-size: 0.9rem;
}

.notif-1 {
    top: 20%;
    left: -80px;
    animation: slideInLeft 4s ease-in-out infinite;
}

.notif-2 {
    top: 60%;
    right: -90px;
    animation: slideInRight 4s ease-in-out infinite;
    animation-delay: 1.5s;
}

.notif-3 {
    bottom: 30%;
    left: -70px;
    animation: slideInLeft 4s ease-in-out infinite;
    animation-delay: 3s;
}

.stats-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.stat-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-1 {
    top: 10%;
    right: -120px;
    animation: floatCard 6s ease-in-out infinite;
}

.card-2 {
    bottom: 15%;
    right: -110px;
    animation: floatCard 6s ease-in-out infinite;
    animation-delay: 3s;
}

.orbit-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.icon-1 {
    animation: orbit1 12s linear infinite;
}

.icon-2 {
    animation: orbit2 15s linear infinite;
}

.icon-3 {
    animation: orbit3 18s linear infinite;
}

.icon-4 {
    animation: orbit4 20s linear infinite;
}

/* Background Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
}

.particle-1 {
    top: 20%;
    left: 10%;
    animation: particleFloat1 8s ease-in-out infinite;
}

.particle-2 {
    top: 60%;
    left: 80%;
    animation: particleFloat2 10s ease-in-out infinite;
    animation-delay: 2s;
}

.particle-3 {
    top: 80%;
    left: 20%;
    animation: particleFloat3 12s ease-in-out infinite;
    animation-delay: 4s;
}

.particle-4 {
    top: 30%;
    left: 90%;
    animation: particleFloat1 9s ease-in-out infinite;
    animation-delay: 1s;
}

.particle-5 {
    top: 70%;
    left: 5%;
    animation: particleFloat2 11s ease-in-out infinite;
    animation-delay: 3s;
}

.particle-6 {
    top: 10%;
    left: 60%;
    animation: particleFloat3 13s ease-in-out infinite;
    animation-delay: 5s;
}

/* ====== AI INTELLIGENCE SECTION ====== */
.ai-section {
    padding: 6rem 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.ai-section .container {
    position: relative;
    z-index: 2;
}

.ai-section .section-header h2 {
    color: var(--foreground);
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.ai-section .section-header p {
    color: var(--muted-foreground);
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* AI Features Carousel */
.ai-features-carousel {
    position: relative;
}

.carousel-btn {
    position: absolute;
    top: calc(25% + 1.5rem);
    /* Aggiungo offset per centrare sulle card */
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: #333;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.carousel-btn-prev {
    left: -25px;
}

.carousel-btn-next {
    right: -25px;
}

.ai-features-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    padding: 10px;
    margin-bottom: 2rem;
}

.ai-features-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.ai-feature-card {
    flex: 0 0 350px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ai-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.ai-feature-card.primary-card {
    background: #037b2f;
    color: var(--primary-foreground);
    border-color: #037b2f;
}

.ai-feature-card.primary-card h3,
.ai-feature-card.primary-card p {
    color: var(--primary-foreground);
}

.ai-feature-card.primary-card .ai-feature-item {
    color: rgba(255, 255, 255, 0.9);
}

.ai-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--muted);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--foreground);
}

.ai-feature-card.primary-card .ai-feature-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary-foreground);
}

.ai-feature-card h3 {
    color: var(--card-foreground);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.ai-feature-card p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ai-features-list {
    list-style: none;
}

.ai-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: var(--muted-foreground);
}

.ai-feature-item i {
    color: var(--primary);
    font-size: 0.9rem;
}

.ai-feature-card.primary-card .ai-feature-item i {
    color: rgba(255, 255, 255, 0.9);
}

.ai-demo-section {
    background: var(--muted);
    border-radius: var(--radius);
    padding: 3rem;
    border: 1px solid var(--border);
}

.ai-demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.ai-demo-text h3 {
    color: var(--foreground);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.ai-demo-text p {
    color: var(--muted-foreground);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.ai-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ai-stat {
    text-align: center;
    padding: 1rem;
    background: var(--background);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.ai-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.ai-stat-label {
    display: block;
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

.ai-demo-visual {
    position: relative;
    height: 400px;
}

.ai-brain-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.ai-brain {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-foreground);
    z-index: 3;
    border: 2px solid var(--border);
}

.ai-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 2px solid var(--border);
    border-radius: 50%;
    animation: aiPulse 2s infinite;
}

.ai-connections {
    position: relative;
    width: 100%;
    height: 100%;
}

.ai-node {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--foreground);
    font-size: 0.8rem;
    text-align: center;
}

.ai-node i {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    color: var(--primary);
}

.ai-node span {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--muted-foreground);
}

.ai-node.node-1 {
    top: 10%;
    left: 20%;
    animation: nodeFloat1 3s infinite;
}

.ai-node.node-2 {
    top: 10%;
    right: 20%;
    animation: nodeFloat2 3s infinite 0.5s;
}

.ai-node.node-3 {
    bottom: 10%;
    left: 20%;
    animation: nodeFloat3 3s infinite 1s;
}

.ai-node.node-4 {
    bottom: 10%;
    right: 20%;
    animation: nodeFloat4 3s infinite 1.5s;
}

.ai-data-flow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.data-stream {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
}

.data-stream.stream-1 {
    animation: streamFlow1 4s infinite;
}

.data-stream.stream-2 {
    animation: streamFlow2 4s infinite 1s;
}

.data-stream.stream-3 {
    animation: streamFlow3 4s infinite 2s;
}

.data-stream.stream-4 {
    animation: streamFlow4 4s infinite 3s;
}

/* AI Animations */
@keyframes aiPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.4;
    }
}

@keyframes nodeFloat1 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(2deg);
    }
}

@keyframes nodeFloat2 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(8px) rotate(-2deg);
    }
}

@keyframes nodeFloat3 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-5px) rotate(1deg);
    }
}

@keyframes nodeFloat4 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(5px) rotate(-1deg);
    }
}

@keyframes streamFlow1 {
    0% {
        top: 20%;
        left: 30%;
        opacity: 0;
    }

    50% {
        top: 50%;
        left: 50%;
        opacity: 1;
    }

    100% {
        top: 50%;
        left: 50%;
        opacity: 0;
    }
}

@keyframes streamFlow2 {
    0% {
        top: 20%;
        right: 30%;
        opacity: 0;
    }

    50% {
        top: 50%;
        right: 50%;
        opacity: 1;
    }

    100% {
        top: 50%;
        right: 50%;
        opacity: 0;
    }
}

@keyframes streamFlow3 {
    0% {
        bottom: 20%;
        left: 30%;
        opacity: 0;
    }

    50% {
        bottom: 50%;
        left: 50%;
        opacity: 1;
    }

    100% {
        bottom: 50%;
        left: 50%;
        opacity: 0;
    }
}

@keyframes streamFlow4 {
    0% {
        bottom: 20%;
        right: 30%;
        opacity: 0;
    }

    50% {
        bottom: 50%;
        right: 50%;
        opacity: 1;
    }

    100% {
        bottom: 50%;
        right: 50%;
        opacity: 0;
    }
}

/* ====== MARQUEE SECTION ====== */
.marquee-section {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: marqueeScroll 40s linear infinite;
    font-weight: 500;
    font-size: 1rem;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin-right: 1rem;
    font-weight: 500;
    position: relative;
}

.marquee-highlight {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: calc(var(--radius) * 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    font-weight: 600;
}

/* Marquee Animation */
@keyframes marqueeScroll {
    0% {
        transform: translateX(50%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Pause animation on hover */
.marquee-section:hover .marquee-content {
    animation-play-state: paused;
}

/* Responsive marquee */
@media (max-width: 768px) {
    .marquee-content {
        animation-duration: 90s;
        font-size: 0.9rem;
    }

    .marquee-item {
        margin-right: 2rem;
    }
}

@media (max-width: 480px) {
    .marquee-section {
        padding: 0.75rem 0;
    }

    .marquee-content {
        animation-duration: 70s;
        font-size: 0.8rem;
    }

    .marquee-item {
        margin-right: 1.5rem;
    }
}

/* Hero Animation */
@keyframes deviceFloat {

    0%,
    100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }

    25% {
        transform: translateY(-10px) rotateX(2deg) rotateY(-1deg);
    }

    50% {
        transform: translateY(-5px) rotateX(0deg) rotateY(1deg);
    }

    75% {
        transform: translateY(-15px) rotateX(-1deg) rotateY(-0.5deg);
    }
}

@keyframes ticketPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }
}

@keyframes qrFlicker {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes slideInLeft {

    0%,
    20%,
    80%,
    100% {
        transform: translateX(-20px);
        opacity: 0;
    }

    30%,
    70% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {

    0%,
    20%,
    80%,
    100% {
        transform: translateX(20px);
        opacity: 0;
    }

    30%,
    70% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-20px) scale(1.05);
        opacity: 1;
    }
}

@keyframes orbit1 {
    0% {
        transform: rotate(0deg) translateX(200px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(200px) rotate(-360deg);
    }
}

@keyframes orbit2 {
    0% {
        transform: rotate(0deg) translateX(180px) rotate(0deg);
    }

    100% {
        transform: rotate(-360deg) translateX(180px) rotate(360deg);
    }
}

@keyframes orbit3 {
    0% {
        transform: rotate(0deg) translateX(220px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(220px) rotate(-360deg);
    }
}

@keyframes orbit4 {
    0% {
        transform: rotate(0deg) translateX(160px) rotate(0deg);
    }

    100% {
        transform: rotate(-360deg) translateX(160px) rotate(360deg);
    }
}

@keyframes particleFloat1 {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }

    33% {
        transform: translateY(-30px) translateX(20px);
        opacity: 0.6;
    }

    66% {
        transform: translateY(-10px) translateX(-15px);
        opacity: 0.4;
    }
}

@keyframes particleFloat2 {

    0%,
    100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-40px) translateX(-25px) scale(1.5);
        opacity: 0.7;
    }
}

@keyframes particleFloat3 {

    0%,
    100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-20px) translateX(30px) rotate(90deg);
        opacity: 0.5;
    }

    75% {
        transform: translateY(-35px) translateX(-20px) rotate(270deg);
        opacity: 0.6;
    }
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
    line-height: 1.1;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.2s;
}

.feature-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-card p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: var(--muted);
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
    line-height: 1.1;
}

.benefits-text>p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-item i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.benefit-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.benefit-item p {
    color: var(--muted-foreground);
    line-height: 1.5;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.pricing-header {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 2rem;
    text-align: center;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price-number {
    font-size: 3rem;
    font-weight: 700;
}

.price-text {
    font-size: 1rem;
    opacity: 0.9;
}

.pricing-features {
    padding: 2rem;
}

.pricing-features h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.pricing-features ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li i {
    color: var(--primary);
    font-size: 1rem;
}

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

.pricing-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--muted);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
    line-height: 1.1;
}

.contact-info>p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-feature i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-feature p {
    color: var(--muted-foreground);
    line-height: 1.5;
}

/* Contact Form */
.contact-form-container {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    background: var(--input);
    color: var(--foreground);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

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

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.4;
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    background: var(--input);
    margin: 0;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-foreground);
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.checkbox-label input[type="checkbox"]:hover {
    border-color: var(--primary);
}

.checkbox-label span:not(.checkmark) {
    flex: 1;
    margin-top: 1px;
}

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

/* Footer */
.footer {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 4rem 0 2rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section h3 {
    font-size: 1.25rem;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section ul a {
    color: var(--primary-foreground);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.certifications-footer {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Messages */
.message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    max-width: 400px;
}

.message-container.hidden {
    display: none;
}

.message {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}


/* ====== CUSTOMIZATION SECTION ====== */
.customization {
    padding: 120px 0;
    background-color: var(--muted);
    position: relative;
    overflow: hidden;
}

.customization .container {
    position: relative;
    z-index: 1;
}

.customization .section-header h2 {
    background: linear-gradient(135deg, var(--primary) 0%, #333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.customization-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-top: 4rem;
}

.custom-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.custom-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.custom-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.custom-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #333 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.custom-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.custom-info p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Customization Visual */
.customization-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.customization-animation {
    position: relative;
    width: 600px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Canvas Container */
.canvas-container {
    position: relative;
    z-index: 10;
    transform: perspective(1000px) rotateY(-10deg);
    animation: canvasFloat 8s ease-in-out infinite;
}

.canvas-frame {
    width: 400px;
    height: 300px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--border);
    overflow: hidden;
}

.canvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--primary);
    color: white;
}

.canvas-dots {
    display: flex;
    gap: 6px;
}

.canvas-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.canvas-body {
    padding: 16px;
    height: calc(100% - 44px);
}

.theme-preview {
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: all 0.5s ease;
    position: relative;
}

/* Theme Variants */
.theme-preview.theme-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.theme-preview.theme-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.theme-preview.theme-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-placeholder {
    width: 40px;
    height: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    animation: logoShimmer 2s ease-in-out infinite;
}

.nav-area {
    display: flex;
    gap: 8px;
}

.nav-item {
    width: 30px;
    height: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    animation: navShimmer 2s ease-in-out infinite;
}

.nav-item:nth-child(2) {
    animation-delay: 0.2s;
}

.nav-item:nth-child(3) {
    animation-delay: 0.4s;
}

.preview-content {
    display: flex;
    gap: 8px;
    padding: 12px;
    height: 120px;
}

.content-block {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    backdrop-filter: blur(5px);
    animation: contentPulse 3s ease-in-out infinite;
}

.main-block {
    flex: 2;
}

.side-block {
    flex: 1;
    animation-delay: 0.5s;
}

.preview-footer {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-block {
    height: 16px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    animation: footerShimmer 2.5s ease-in-out infinite;
}

/* Customization Tools */
.custom-tools {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.tool-panel {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    animation: toolFloat 6s ease-in-out infinite;
}

.panel-1 {
    top: 20%;
    left: -80px;
    animation-delay: 0s;
}

.panel-2 {
    top: 60%;
    right: -90px;
    animation-delay: 2s;
}

.panel-3 {
    bottom: 20%;
    left: -70px;
    animation-delay: 4s;
}

.tool-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.tool-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.color-options {
    display: flex;
    gap: 4px;
}

.color-option {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.color-option:hover {
    transform: scale(1.2);
    border-color: var(--primary);
}

.color-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.color-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.color-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.font-options {
    display: flex;
    gap: 4px;
}

.font-option {
    width: 20px;
    height: 16px;
    background: var(--muted);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
}

.layout-options {
    display: flex;
    gap: 4px;
}

.layout-option {
    width: 16px;
    height: 12px;
    background: var(--muted);
    border-radius: 2px;
}

/* Floating Elements */
.custom-floating {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.custom-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.custom-badge i {
    color: #22c55e;
}

.badge-1 {
    top: 10%;
    left: 20%;
    animation: customBadgeFloat1 4s ease-in-out infinite;
}

.badge-2 {
    top: 30%;
    right: 10%;
    animation: customBadgeFloat2 4s ease-in-out infinite;
    animation-delay: 1s;
}

.badge-3 {
    bottom: 25%;
    left: 15%;
    animation: customBadgeFloat3 4s ease-in-out infinite;
    animation-delay: 2s;
}

/* Customization Particles */
.custom-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.custom-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
}

.particle-1 {
    top: 15%;
    left: 25%;
    animation: customParticleFloat1 8s ease-in-out infinite;
}

.particle-2 {
    top: 70%;
    right: 20%;
    animation: customParticleFloat2 8s ease-in-out infinite;
    animation-delay: 2s;
}

.particle-3 {
    bottom: 40%;
    left: 10%;
    animation: customParticleFloat3 8s ease-in-out infinite;
    animation-delay: 4s;
}

.particle-4 {
    top: 50%;
    right: 30%;
    animation: customParticleFloat4 8s ease-in-out infinite;
    animation-delay: 6s;
}

/* Customization Animations */
@keyframes canvasFloat {

    0%,
    100% {
        transform: perspective(1000px) rotateY(-10deg) translateY(0px);
    }

    50% {
        transform: perspective(1000px) rotateY(-10deg) translateY(-20px);
    }
}

@keyframes logoShimmer {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes navShimmer {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

@keyframes contentPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.02);
    }
}

@keyframes footerShimmer {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes toolFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.9;
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
        opacity: 1;
    }
}

@keyframes customBadgeFloat1 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(-2deg);
    }
}

@keyframes customBadgeFloat2 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-18px) rotate(3deg);
    }
}

@keyframes customBadgeFloat3 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .hero-content,
    .benefits-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons a {
        text-align: center;
    }

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

    .benefits-text,
    .contact-info {
        order: 2;
    }

    .benefits-image,
    .contact-form-container {
        order: 1;
    }

    .image-placeholder {
        width: 100%;
        height: 250px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2rem;
        line-height: 1.1;
    }

    .benefits-text h2,
    .contact-info h2 {
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero-animation-container {
        width: 350px;
        height: 300px;
    }

    .central-device {
        width: 250px;
        height: 160px;
    }

    .screen-header {
        padding: 8px 12px;
    }

    .screen-title {
        font-size: 0.7rem;
    }

    .preview-header {
        font-size: 0.6rem;
        padding: 6px 10px;
    }

    .preview-body {
        padding: 10px;
    }

    .event-title {
        font-size: 0.7rem;
    }

    .event-date {
        font-size: 0.55rem;
    }

    .event-price {
        font-size: 0.8rem;
    }

    .qr-code {
        width: 32px;
        height: 32px;
    }

    .notification {
        font-size: 0.65rem;
        padding: 6px 10px;
    }

    .stats-card {
        padding: 8px 12px;
        gap: 8px;
    }

    .stat-icon {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }

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

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

    .orbit-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .benefits-animation {
        width: 300px;
        height: 300px;
    }

    .benefits-hub {
        width: 80px;
        height: 80px;
    }

    .hub-icon {
        font-size: 1.2rem;
    }

    .hub-text {
        font-size: 0.6rem;
    }

    .connection-lines {
        width: 240px;
        height: 240px;
    }

    .feature-node {
        width: 50px;
        height: 50px;
    }

    .node-icon {
        font-size: 1rem;
    }

    .benefit-badge {
        font-size: 0.6rem;
        padding: 4px 8px;
    }
}

/* Mobile Optimization */
@media (max-width: 768px) {


    .marquee-content {
        display: flex;
        align-items: center;
        white-space: nowrap;
        animation: marqueeScroll 10s linear infinite;
        font-weight: 500;
        font-size: 1rem;
    }

    /* Hero e Benefits: una sola colonna */
    .hero-content,
    .benefits-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Contenitori animazioni ridimensionati */
    .hero-animation-container,
    .benefits-animation {
        width: 100%;
        height: auto;
        margin: 2rem auto;
    }

    .central-device,
    .benefits-hub {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: 0 auto;
    }

    /* Nasconde elementi dinamici per evitare overflow e migliorare performance */
    .floating-elements,
    .particles,
    .data-particles,
    .feature-node,
    .connection-lines,
    .stats-card,
    .notification,
    .orbit-icon,
    .benefit-badge {
        display: none;
    }

    /* Previene overflow orizzontale */
    .hero,
    .benefits {
        overflow-x: hidden;
    }

    /* Stack della sezione contatti: una colonna e ordine naturale */
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        order: 1;
    }

    .contact-form-container {
        order: 2;
    }
}

@media (max-width: 768px) {

    .ai-demo-section {
        display: none;
    }

    .customization-content {
        display: block;
        padding: 2rem;
    }

    .customization-animation {
        width: 200px;
    }

    .canvas-frame {
        width: 250px;
        height: 200px;
    }

    .canvas-body {
        height: 100%;
    }

    /* Padding interno delle sezioni su mobile */
    .hero-text,
    .benefits-text,
    .contact-info,
    .section-header {
        padding: 0 1rem;
    }

    /* Pulsanti hero della stessa dimensione */
    .hero-buttons a {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    /* Footer ottimizzato per mobile */
    .footer {
        padding: 2rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-section {
        padding: 0 1rem;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .footer-section ul {
        gap: 0.4rem;
    }

    .footer-section ul a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
    }

    .certifications-footer {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .features,
    .benefits,
    .pricing,
    .contact {
        padding: 60px 0;
    }

    /* Padding interno ancora maggiore su mobile piccolo */
    .hero-text,
    .benefits-text,
    .contact-info,
    .section-header {
        padding: 0 1.5rem;
    }

    .cert-logos {
        flex-direction: row;
        gap: 4rem;
        align-items: stretch;
    }


    .cert-logo {
        width: 80px;
    }

    .cert-logo-siae {
        width: 50px;
    }

    .cert-item {
        text-align: center;
        justify-content: center;
        padding: 1rem;
    }

    .cert-logo-placeholder {
        width: 28px;
        height: 28px;
        font-size: 0.55rem;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        top: calc(45% + 0.75rem);
        /* Offset ancora più ridotto per schermi piccoli */
    }

    .carousel-btn-prev {
        left: -15px;
    }

    .carousel-btn-next {
        right: -15px;
    }

    .ai-feature-card {
        flex: 0 0 280px;
        padding: 1.25rem;
    }

    .ai-feature-card h3 {
        font-size: 1.3rem;
    }

    .ai-feature-card p {
        font-size: 0.9rem;
    }

    .ai-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* Benefits Animation */
.benefits-animation {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central Hub */
.benefits-hub {
    position: relative;
    width: 100px;
    height: 100px;
    z-index: 10;
}

.hub-center {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #333 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    box-shadow:
        0 0 0 4px rgba(0, 0, 0, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.2);
    animation: hubPulse 4s ease-in-out infinite;
}

.hub-icon {
    font-size: 1.5rem;
    margin-bottom: 4px;
    animation: hubRotate 8s linear infinite;
}

.hub-text {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Connection Lines */
.connection-lines {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.connection-line {
    stroke-dasharray: 10, 5;
    animation: lineFlow 3s ease-in-out infinite;
}

.line-1 {
    animation-delay: 0s;
}

.line-2 {
    animation-delay: 0.5s;
}

.line-3 {
    animation-delay: 1s;
}

.line-4 {
    animation-delay: 1.5s;
}

/* Feature Nodes */
.feature-node {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-node:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.node-icon {
    font-size: 1.2rem;
    color: var(--primary);
    z-index: 2;
}

.node-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: nodePulse 3s ease-in-out infinite;
}

.node-1 {
    top: 20px;
    left: 20px;
    animation: nodeFloat1 6s ease-in-out infinite;
}

.node-1 .node-pulse {
    animation-delay: 0s;
}

.node-2 {
    top: 20px;
    right: 20px;
    animation: nodeFloat2 6s ease-in-out infinite;
}

.node-2 .node-pulse {
    animation-delay: 1s;
}

.node-3 {
    bottom: 20px;
    left: 20px;
    animation: nodeFloat3 6s ease-in-out infinite;
}

.node-3 .node-pulse {
    animation-delay: 2s;
}

.node-4 {
    bottom: 20px;
    right: 20px;
    animation: nodeFloat4 6s ease-in-out infinite;
}

.node-4 .node-pulse {
    animation-delay: 3s;
}

/* Data Flow Particles */
.data-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 8;
}

.data-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
}

.particle-a {
    animation: dataFlow1 4s ease-in-out infinite;
}

.particle-b {
    animation: dataFlow2 4s ease-in-out infinite;
    animation-delay: 1s;
}

.particle-c {
    animation: dataFlow3 4s ease-in-out infinite;
    animation-delay: 2s;
}

.particle-d {
    animation: dataFlow4 4s ease-in-out infinite;
    animation-delay: 3s;
}

/* Floating Elements */
.benefits-animation .floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
}

.benefit-badge {
    position: absolute;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-1 {
    top: 60px;
    left: -30px;
    animation: badgeFloat1 5s ease-in-out infinite;
}

.badge-2 {
    top: 160px;
    right: -40px;
    animation: badgeFloat2 5s ease-in-out infinite;
    animation-delay: 1.5s;
}

.badge-3 {
    bottom: 80px;
    left: -35px;
    animation: badgeFloat3 5s ease-in-out infinite;
    animation-delay: 3s;
}

/* Keyframes for Benefits Animation */
@keyframes hubPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 0 0 4px rgba(0, 0, 0, 0.1),
            0 10px 30px rgba(0, 0, 0, 0.2);
    }

    50% {
        transform: scale(1.05);
        box-shadow:
            0 0 0 8px rgba(0, 0, 0, 0.05),
            0 15px 40px rgba(0, 0, 0, 0.25);
    }
}

@keyframes hubRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes lineFlow {

    0%,
    100% {
        stroke-dashoffset: 0;
        opacity: 0.3;
    }

    50% {
        stroke-dashoffset: -20;
        opacity: 0.8;
    }
}

@keyframes nodePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
}

@keyframes nodeFloat1 {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    33% {
        transform: translateY(-8px) translateX(5px);
    }

    66% {
        transform: translateY(5px) translateX(-3px);
    }
}

@keyframes nodeFloat2 {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    33% {
        transform: translateY(8px) translateX(-5px);
    }

    66% {
        transform: translateY(-5px) translateX(3px);
    }
}

@keyframes nodeFloat3 {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    33% {
        transform: translateY(-5px) translateX(-8px);
    }

    66% {
        transform: translateY(8px) translateX(5px);
    }
}

@keyframes nodeFloat4 {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    33% {
        transform: translateY(5px) translateX(8px);
    }

    66% {
        transform: translateY(-8px) translateX(-5px);
    }
}

@keyframes dataFlow1 {
    0% {
        top: 50%;
        left: 50%;
        opacity: 0;
        transform: translate(-50%, -50%);
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        top: 20px;
        left: 20px;
        opacity: 0;
        transform: translate(-50%, -50%);
    }
}

@keyframes dataFlow2 {
    0% {
        top: 50%;
        left: 50%;
        opacity: 0;
        transform: translate(-50%, -50%);
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        top: 20px;
        right: 20px;
        opacity: 0;
        transform: translate(50%, -50%);
    }
}

@keyframes dataFlow3 {
    0% {
        top: 50%;
        left: 50%;
        opacity: 0;
        transform: translate(-50%, -50%);
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        bottom: 20px;
        left: 20px;
        opacity: 0;
        transform: translate(-50%, 50%);
    }
}

@keyframes dataFlow4 {
    0% {
        top: 50%;
        left: 50%;
        opacity: 0;
        transform: translate(-50%, -50%);
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        bottom: 20px;
        right: 20px;
        opacity: 0;
        transform: translate(50%, 50%);
    }
}

@keyframes badgeFloat1 {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-15px) scale(1.05);
        opacity: 1;
    }
}

@keyframes badgeFloat2 {

    0%,
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-20px) scale(1.05) rotate(5deg);
        opacity: 1;
    }
}

@keyframes badgeFloat3 {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-10px) scale(1.05);
        opacity: 1;
    }
}

/* Floating Info Button */
.floating-info-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: floatingPulse 3s infinite;
}

.floating-info-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.floating-info-btn:active {
    transform: scale(0.95);
}

/* Info Modal */
.info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    padding: 20px;
}

.info-modal.active {
    display: flex;
}

.info-modal-content {
    background: var(--background);
    padding: 2rem;
    border-radius: 1rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

.info-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.info-modal-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.info-modal-body {
    line-height: 1.6;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.info-modal-body p {
    margin-bottom: 1rem;
}

.info-modal-omologation {
    background: var(--muted);
    padding: 1rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--foreground);
    border-left: 4px solid var(--primary);
}

.info-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--muted-foreground);
    transition: color 0.2s;
}

.info-modal-close:hover {
    color: var(--destructive);
}

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

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .floating-info-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 15px;
        right: 15px;
    }
    
    .info-modal-content {
        padding: 1.5rem;
    }
    
    .info-modal-title {
        font-size: 1.25rem;
    }
}


