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

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Outfit', sans-serif;
    background: black;
    overflow-x: hidden;
    min-width: 1280px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    position: relative;
    background: white;
    transform: translateZ(0);
    border-radius: 50px 50px 0 0;
    overflow: hidden;
    z-index: 10;
    margin-top: -50px;
}

/* Header */
.header {
    width: 100%;
    height: 80px;
    position: fixed;
    top: 24px !important;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 130px;
}

.header-content {
    width: 100%;
    max-width: 1470px;
    height: 80px;
    background: rgba(0, 0, 0, 0.70);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: inset 0 0 20px rgba(236, 108, 37, 0.25);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: layout style paint;
}

/* Shrink header on scroll */
.header {
    transition: padding 0.8s cubic-bezier(.22,.61,.36,1);
}

.header .header-content {
    transition: max-width 0.8s cubic-bezier(.22,.61,.36,1),
                padding 0.8s cubic-bezier(.22,.61,.36,1),
                border-radius 0.8s cubic-bezier(.22,.61,.36,1);
    transform-origin: center;
}

/* Keep initial sizes intact; on scroll we only reduce the header-content width */
.header.shrink .header-content {
    max-width: 900px;
    padding: 0 20px;
    border-radius: 12px;
}

.header.shrink .logo img {
    height: 28px;
}

/* visual hint when JS is applying a scale (debugging aid, low-impact) */
/* debug class removed to avoid extra paint during scroll */

.logo {
    color: white;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    flex-shrink: 0;
}

/* Hamburger Button */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99999 !important;
}

.hamburger-btn svg {
    width: 27px !important;
    height: 23px !important;
    display: block !important;
    fill: white;
}

/* Mobile Navigation - Right Sidebar */
.mobile-nav {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen */
    width: 250px; /* Adjust width as needed */
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: flex-start; /* Was center, now starts from top */
    gap: 30px;
    padding: 100px 30px 30px 30px; /* Increased top padding to clear the cross */
    border-left: 1px solid rgba(236, 108, 37, 0.3);
    z-index: 100000;
    transition: right 0.4s ease-in-out;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-nav.active {
    right: 0; /* Slide in */
}

.mobile-nav-link {
    color: white;
    font-size: 20px; /* Increased from 16px */
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #ec6c25;
}

.logo img {
    height: 25px;
    width: auto;
    transition: opacity 0.3s ease, height 0.3s ease;
}

.nav {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
}

.nav-link {
    color: white;
    font-size: 18px;
    font-weight: 300;
    text-decoration: none;
    position: relative;
    transition: opacity 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1.5px;
    background: white;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    opacity: 1;
    font-weight: 500;
}

.nav-link-bordered {
    font-weight: 300;
    padding: 8px 20px;
    border: 1.5px solid white;
    border-radius: 10px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-link-bordered::after {
    display: none;
}

.nav-link-bordered:hover {
    background-color: #EC6C25;
    border-color: #EC6C25;
}

/* Hero Section */
.hero {
    width: 100%;
    height: 1034px;
    background: black;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 129px;
    overflow: hidden;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: black;
    z-index: -1;
}

.hero-video {
    position: absolute;
    top: 50%;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    transform: translateY(-50%) translateZ(0) scale(1.1);
    transform-origin: right center;
    backface-visibility: hidden;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 2;
    pointer-events: none;
    transform: translateZ(0);
    backface-visibility: hidden;
}

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

.hero-subtitle {
    color: white;
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero-title-container {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
}

.hero-title {
    color: white;
    font-size: 80px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0;
    position: relative;
    cursor: pointer;
}

.hero-illustration {
    height: 160px;
    width: auto;
    flex-shrink: 0;
    margin-left: auto;
    animation: float-hero 6s ease-in-out infinite;
    z-index: 11;
}

.hero-tooltip {
    position: fixed;
    background: rgba(255, 115, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: none;
    border-radius: 15px;
    padding: 12px 20px;
    color: black;
    font-size: 16px;
    font-weight: 500;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease-out, visibility 0.15s, left 0.05s ease-out, top 0.05s ease-out;
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(255, 115, 0, 0.2);
    z-index: 999999;
    will-change: left, top, opacity;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    position: relative;
    top: 160px;
    justify-content: space-between;
}

.hero-buttons-right {
    display: flex;
    gap: 35px;
    margin-left: auto;
    flex-shrink: 0;
    min-width: fit-content;
    position: relative;
    right: 0;
}

.btn-primary,
.btn-secondary,
.btn-marketplace {
    height: 55px;
    border-radius: 10px;
    border: 1px solid white;
    background: transparent;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.3s;
    text-decoration: none;
}

.btn-primary {
    position: relative;
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: width 0.3s ease;
    will-change: width;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.btn-primary .arrow-icon {
    width: 0;
    opacity: 0;
    margin-left: 0;
    transition: width 0.3s ease, opacity 0.3s ease, margin-left 0.3s ease;
    overflow: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.btn-primary:hover {
    width: 215px;
    cursor: pointer !important;
}

.btn-primary:active {
    cursor: grabbing !important;
}

.btn-primary:hover .arrow-icon {
    width: 20px;
    opacity: 1;
    margin-left: 12px;
}

.icon-white {
    filter: brightness(0) invert(1);
}

.btn-secondary {
    width: 102px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-marketplace {
    width: 204px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover,
.btn-marketplace:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* About Section */
.about {
    padding: 150px 130px 80px;
    text-align: center;
}

.about-title {
    color: black;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 30px;
}

.about-description {
    color: black;
    font-size: 24px;
    font-weight: 300;
    max-width: 834px;
    margin: 0 auto;
}

/* Value Proposition */
.value-prop {
    padding: 80px 0 60px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    background: white;
}

.value-title {
    font-size: 80px;
    line-height: 1;
    margin-bottom: 25px;
    text-align: left;
    width: 100%;
}

.value-gradient-wrapper {
    background: linear-gradient(180deg, #000000 0%, #000000 25%, #EC6C25 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    width: 100%;
}

.value-dark {
    color: inherit;
    font-weight: 400;
    display: block;
    margin-bottom: 0;
    line-height: 1;
}

.value-orange {
    color: inherit;
    font-weight: 500;
    display: block;
    text-align: right;
    padding-right: 0;
    margin-top: -35px;
    line-height: 1;
}

.value-subtitle {
    color: black;
    font-size: 24px;
    font-weight: 300;
    text-align: center;
    width: 100%;
    margin-top: 60px;
    margin-bottom: -40px;
}

/* Features */
.features {
    display: flex;
    gap: 30px;
    padding: 80px 30px;
    justify-content: center;
    max-width: 1300px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.feature-card {
    flex: 0 1 calc(25% - 23px);
    min-width: 260px;
    max-width: 276px;
    height: 375px;
    border-radius: 20px;
    border: none;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 100;
}

.feature-card:hover {
    transform: scale(1.03);
}

/* Card 1 - Lightning bolt icon */
.feature-card-1 {
    background: #6a6a6a;
}

/* Card 2 - Hand with phone */
.feature-card-2 {
    background: #6a6a6a;
}

/* Card 3 - Circuit board */
.feature-card-3 {
    background: #6a6a6a;
}

/* Card 4 - Curved lines */
.feature-card-4 {
    background: #6a6a6a;
}

.feature-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transform: translateZ(0);
    will-change: transform;
}

.feature-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: transparent;
    z-index: 2;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.feature-card:hover .feature-content {
    background: transparent;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-image: url('SVG/simbolo-cobrynet.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) invert(1);
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-title {
    color: white;
    font-size: 22px;
    font-weight: 500;
    line-height: 26px;
    margin-bottom: 8px;
}

.feature-description {
    color: white;
    font-size: 18px;
    font-weight: 300;
    line-height: 22px;
    opacity: 0.95;
}

/* Marketplace Section */
.marketplace-section {
    position: relative;
    padding: 200px 0 150px;
    background: linear-gradient(180deg, white 0%, #525252 20%, black 40%);
    overflow: visible;
    z-index: 0;
    transform: translateZ(0);
    isolation: isolate;
}

.marketplace-blur-bg-orange {
    width: 125vw;
    height: 125vw;
    min-width: 2400px;
    min-height: 2400px;
    max-height: 2800px;
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-60%);
    background: #EC6C25;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -2;
    pointer-events: none;
    opacity: 1;
    backface-visibility: hidden;
}

.marketplace-blur-bg-orange.visible {
    opacity: 1;
}

.loading-icon {
    width: 200px;
    height: 200px;
    position: absolute;
    top: 300px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: rotate 3s linear infinite;
    opacity: 1;
    pointer-events: none;
}

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

.marketplace-blur-bg {
    width: 160vw;
    height: 160vw;
    min-width: 2500px;
    min-height: 2500px;
    max-height: 3000px;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(calc(-40% - 250px));
    background: #000000;
    border-radius: 50%;
    filter: blur(70px);
    z-index: -1;
    pointer-events: none;
    opacity: 1;
    backface-visibility: hidden;
}

.marketplace-blur-bg.visible {
    opacity: 1;
}

.marketplace-title {
    background: linear-gradient(90deg, #EC6C25 0%, #EC6C25 15%, #FFB88C 35%, #EC6C25 50%, #EC6C25 65%, #FFB88C 85%, #EC6C25 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 128px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
    animation: gradient-shift 8s ease infinite;
    transform: translateZ(0);
    backface-visibility: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.marketplace-title.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.marketplace-subtitle {
    color: white;
    font-size: 24px;
    font-weight: 300;
    text-align: center;
    max-width: 1194px;
    margin: 50px auto 100px;
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease-out 0.1s, transform 0.3s ease-out 0.1s;
    transform: translateZ(0);
    backface-visibility: hidden;
}
.marketplace-subtitle.visible {
    opacity: 1;
    transform: translateY(0);
}

.marketplace-gradient-overlay {
    position: absolute;
    top: 490px;
    left: 0;
    right: 0;
    height: 600px;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 20%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 15;
}

.marketplace-packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-content: center;
    margin-bottom: 150px;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 30px;
    overflow: visible;
}

.package-card {
    height: 500px;
    border-radius: 20px;
    border: 0.5px solid #D9D9D9;
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    will-change: transform;
    animation: float 7s ease-in-out infinite;
    min-width: 280px;
}

.package-card:nth-child(2) {
    animation: float2 5.5s ease-in-out infinite;
}

.package-card:nth-child(3) {
    animation: float3 6.5s ease-in-out infinite;
}

.package-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    background-image: url('SVG/gradient-overlay.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: bottom;
    pointer-events: none;
    z-index: 50;
}

.package-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 -5px 40px rgba(236, 108, 37, 0.4);
    animation-play-state: paused;
}

.package-dark {
    background: black;
    box-shadow: 0px 4px 25px rgba(82, 82, 82, 0.5) inset;
    overflow: visible !important;
}

.package-dark .package-title {
    margin-top: 0;
}

.package-dark .package-image-bottom {
    position: relative;
    z-index: 100;
}

.package-image {
    background: black;
    background-image: url('SVG/sito-mono.svg');
    background-size: 105%;
    background-position: center calc(50% + 40px);
    background-repeat: no-repeat;
    position: relative;
}

.package-image::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    height: 200px;
    background: black;
    z-index: 0;
}

.package-image .package-title,
.package-image .package-description {
    position: relative;
    z-index: 1;
}

.package-icon {
    width: 100%;
    height: 200px;
    margin-bottom: 30px;
    background: rgba(236, 108, 37, 0.1);
    border-radius: 10px;
    flex-shrink: 0;
}

.package-title {
    text-align: center;
    font-size: 36px;
    line-height: 39px;
    margin-bottom: 20px;
}

.package-light {
    color: white;
    font-weight: 400;
}

.package-bold {
    color: white;
    font-weight: 500;
}

.package-description {
    color: white;
    font-size: 15px;
    font-weight: 300;
    line-height: 18px;
    text-align: center;
}

.package-image-bottom {
    width: 80%;
    margin-top: 70px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    max-width: calc(100% - 20px);
}

.package-dark .package-image-bottom {
    margin-top: 75px;
}

.package-dark:last-child .package-image-bottom {
    width: 64%;
    margin-top: 65px;
}

.marketplace-cta {
    text-align: center;
    position: relative;
    z-index: 20;
    margin-top: -90px;
}

.marketplace-cta-text {
    color: white;
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 40px;
    position: relative;
    z-index: 9999 !important;
}

.btn-install {
    width: 234px;
    height: 66px;
    background: transparent;
    border: 1px solid white;
    border-radius: 10px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
    position: relative;
}

.btn-install::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 5px solid rgba(236, 108, 37, 1);
    border-radius: 15px;
    opacity: 0;
    filter: blur(6px);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-install:hover::before {
    opacity: 1;
}

.btn-install .arrow-icon {
    width: 0;
    opacity: 0;
    margin-left: 0;
    transition: width 0.3s ease, opacity 0.3s ease, margin-left 0.3s ease;
    overflow: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.btn-install:hover .arrow-icon {
    width: 24px;
    opacity: 1;
    margin-left: 12px;
}

/* AI Section */
.ai-section {
    padding: 70px 130px 150px;
    background: black;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    will-change: scroll-position;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 0;
    right: 0;
    height: 150px;
    background: black;
    z-index: -1;
}

.ai-section > .carousel-btn {
    position: absolute;
    top: calc(50% - 40px);
    transform: translateY(-50%);
    z-index: 10;
}

.ai-section > .carousel-prev {
    left: max(40px, calc(50% - 750px));
}

.ai-section > .carousel-prev img {
    transform: rotate(180deg);
}

.ai-section > .carousel-next {
    right: max(40px, calc(50% - 750px));
}

.ai-title {
    color: white;
    font-size: 80px;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1;
    text-align: left;
    width: 100%;
    max-width: 1400px;
}

.ai-title-gradient {
    background: linear-gradient(90deg, white 0%, #EC6C25 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-title-orange {
    font-weight: 500;
    background: linear-gradient(90deg, #EC6C25 0%, #EC6C25 15%, #FFB88C 35%, #EC6C25 50%, #EC6C25 65%, #FFB88C 85%, #EC6C25 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 8s ease infinite;
    will-change: background-position;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.ai-title-light {
    font-weight: 300;
    display: block;
    text-align: right;
    margin-top: 0px;
    color: white;
}

.ai-subtitle {
    color: white;
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 100px;
    margin-top: 90px;
    width: 100%;
    transform: translateY(-20px);
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    min-height: 600px;
    margin-top: 100px;
    margin-bottom: 100px;
}

.donatello-card {
    background: black;
    border: 1px solid #333;
    border-radius: 20px;
    overflow: visible;
    padding: 100px 100px 80px;
    position: absolute;
    width: 100%;
    min-height: 500px;
    opacity: 0;
    transition: opacity 0.7s ease, border-color 0.3s ease;
    pointer-events: none;
    left: 0;
    top: 0;
}

.donatello-card:hover {
    border-color: #EC6C25;
}

.donatello-card.active {
    opacity: 1;
    pointer-events: auto;
}

.donatello-card.slide-left,
.donatello-card.slide-right {
    opacity: 0;
}

.donatello-header {
    background: #EC6C25;
    color: white;
    font-size: 48px;
    font-weight: 300;
    line-height: 58px;
    padding: 35px 60px;
    text-align: center;
    border-radius: 40px;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: fit-content;
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
    white-space: nowrap;
    max-width: 90%;
}

.ai-section.visible .donatello-header {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0) !important;
}

.donatello-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50px;
    width: 50px;
    height: 50px;
    background: #EC6C25;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    transform: translateY(calc(100% - 1px)) skewX(-20deg);
}

.donatello-content {
    padding: 60px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    height: 100%;
    min-height: 320px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.carousel-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.carousel-btn:hover {
    opacity: 0.7;
}

.carousel-prev {
    transform: none;
}

.carousel-next {
    transform: none;
}

/* Increase carousel arrow spacing on medium and large screens */
@media (min-width: 1440px) {
    .carousel-prev {
        margin-right: 80px;
    }
    
    .carousel-next {
        margin-left: 80px;
    }
}

@media (min-width: 1920px) {
    .carousel-prev {
        margin-right: 120px;
    }
    
    .carousel-next {
        margin-left: 120px;
    }
}

.donatello-text {
    flex: 1;
    text-align: center;
    max-width: 900px;
    padding-top: 20px;
}

.donatello-title {
    color: white;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.3;
}

.donatello-description {
    color: white;
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.4;
}

.carousel-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    transform: translateY(40px);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #EC6C25;
    transform: scale(1.2);
}

.ai-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 40px;
    background: radial-gradient(circle, rgba(236, 108, 37, 0.4) 0%, rgba(236, 108, 37, 0.2) 40%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.ai-icon img {
    width: 80px;
    height: 80px;
    transition: transform 0.1s linear;
}

@keyframes rotate-icon {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.ai-coming-soon {
    color: white;
    font-size: 36px;
    font-weight: 300;
    margin-top: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.ai-coming-soon.visible {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Section */
.cta-section {
    height: 900px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 280px 0 0 425px;
    overflow: hidden;
    isolation: isolate;
}

.cta-background-image {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: calc(100% + 100px);
    object-fit: cover;
    object-position: center;
    z-index: 0;
    transform: scale(1.1);
    animation: float 6s ease-in-out infinite;
}

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

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

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

@keyframes float-hero {
    0%, 100% {
        transform: translateY(calc(-50% + 0px));
    }
    50% {
        transform: translateY(calc(-50% - 15px));
    }
}

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

.cta-overlay-top {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.cta-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 450px;
    background: linear-gradient(360deg, black 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.cta-content {
    position: relative;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 40px;
    transform: translateY(100px);
}

.cta-title {
    color: white;
    font-size: 80px;
    font-weight: 300;
    position: relative;
    z-index: 9999 !important;
}

.cta-title .cta-bold {
    font-weight: 500;
    position: relative;
    z-index: 9999 !important;
}

.cta-button {
    position: relative;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    cursor: pointer;
    z-index: 999;
}

.cta-button:hover {
    transform: translateX(10px);
}

.cta-circle {
    width: 102px;
    height: 102px;
    background: linear-gradient(135deg, #EC6C25 0%, #F08A4B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    cursor: grab;
    transition: transform 0.3s;
    position: relative;
    z-index: 999;
    user-select: none;
}

.cta-arrow {
    width: 40px;
    height: 40px;
    pointer-events: none;
    user-select: none;
    position: relative;
    z-index: 2;
}

.cta-gradient {
    width: 100vw;
    height: 102px;
    background: linear-gradient(90deg, #EC6C25 0%, rgba(236, 108, 37, 0.95) 10%, rgba(236, 108, 37, 0.85) 30%, rgba(236, 108, 37, 0.65) 50%, rgba(236, 108, 37, 0.4) 70%, rgba(236, 108, 37, 0.1) 90%, rgba(0, 0, 0, 0) 100%);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    opacity: 0.8;
    pointer-events: none;
    border-radius: 100px 0 0 100px;
}

.cta-button:hover .cta-gradient {
    background-position: 0% 0%;
    opacity: 1;
}

/* Footer */
.footer {
    background: black;
    padding: 100px 161px 50px;
    color: white;
    position: relative;
    z-index: 10;
}



.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
    width: 100%;
}

.footer-logo {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-logo:hover {
    transform: scale(1.02);
}

.footer-logo img {
    height: 35px;
    width: auto;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.social-icon {
    width: 31px;
    height: 31px;
    background: transparent;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.3s;
}

.social-icon:hover img {
    filter: brightness(0) saturate(100%) invert(50%) sepia(89%) saturate(1500%) hue-rotate(0deg) brightness(95%) contrast(90%);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: #525252;
    margin: 20px 0 0;
}

.footer-tagline {
    color: white;
    font-size: 20px;
    font-weight: 300;
}

.footer-highlight {
    color: #EC6C25;
    font-weight: 500;
}

.footer-heading {
    color: #525252;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 20px;
}

.footer-column-offset {
    padding-left: 0;
}

.footer-column-privacy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 40px;
}

.footer-heading-orange {
    color: #EC6C25;
}

.footer-text {
    color: #525252;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    transition: color 0.3s;
}

.footer-text:hover {
    color: white;
}

.footer-link {
    display: block;
    color: white;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    margin-bottom: 15px;
    transition: opacity 0.3s;
}

.footer-link:hover {
    opacity: 0.7;
}

.footer-link-orange {
    color: #EC6C25;
    display: block;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    margin-bottom: 15px;
    text-align: left;
    transition: transform 0.3s ease;
    transform-origin: left center;
    width: fit-content;
}

.footer-link-orange:hover {
    font-weight: 600;
    color: #EC6C25;
    opacity: 1;
}

.footer-privacy {
    color: #525252;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 0;
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: none;
    display: block;
}

.footer-privacy:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-tagline-bottom {
    color: white;
    font-size: 15px;
    font-weight: 300;
    text-align: left;
    margin: 0;
}

.footer-highlight {
    color: white;
    font-weight: 300;
}

.footer-copyright {
    color: white;
    font-size: 14px;
    font-weight: 300;
    margin: 0;
}

/* Responsive Design */
/* Responsive Design - Focus su valori orizzontali mantenendo margini coerenti */

/* Medium-Large Desktop - 1440px */
@media (max-width: 1440px) {
    .header {
        padding: 0 80px;
    }
    
    .hero-title {
        font-size: 70px;
        margin-bottom: 50px;
    }
    
    .hero-subtitle {
        font-size: 28px;
    }
    
    .about-title {
        font-size: 44px;
    }
    
    .about-description {
        font-size: 22px;
    }
    
    .value-title {
        font-size: 70px;
    }
    
    .value-subtitle {
        font-size: 22px;
    }
    
    .marketplace-title {
        font-size: 110px;
    }
    
    .marketplace-subtitle {
        font-size: 22px;
    }
    
    .ai-title {
        font-size: 70px;
    }
    
    .ai-subtitle {
        font-size: 22px;
    }
    
    .cta-title {
        font-size: 70px;
    }
}

/* Large Desktop - 1600px */
@media (max-width: 1600px) {
    .hero {
        padding: 0 60px;
    }
    
    .header-content {
        max-width: 1300px;
        justify-content: space-between;
    }
    
    .hero-buttons-right {
        margin-left: auto;
    }
    
    .hero {
        padding: 0 60px;
    }
    
    .hero-illustration {
        right: 60px;
    }
    
    .about-content {
        max-width: 750px;
    }
    
    .value-prop {
        max-width: 1050px;
    }
    
    .features {
        padding: 80px 60px;
    }
    
    .marketplace-content {
        max-width: 1600px;
    }
    
    .marketplace-packages {
        gap: 25px;
        padding: 0 60px;
    }
    
    .package-card {
        height: 480px;
        padding: 38px;
    }
    
    .package-title {
        font-size: 34px;
        line-height: 37px;
    }
    
    .package-description {
        font-size: 14px;
    }
    
    .donatello-header {
        font-size: 44px;
        line-height: 54px;
        padding: 32px 55px;
        border-radius: 38px;
    }
    
    .donatello-header::after {
        left: 48px;
        width: 48px;
        height: 48px;
    }
    
    .ai-content {
        max-width: 800px;
    }
}

/* Medium Desktop - 1440px */
@media (max-width: 1440px) {
    .header {
        padding: 0 50px;
    }
    
    .header-content {
        max-width: 1150px;
        justify-content: space-between;
    }
    
    .hero-buttons-right {
        margin-left: auto;
    }
    
    .hero {
        padding: 0 50px;
    }
    
    .hero-illustration {
        right: 50px;
    }
    
    .hero-content {
        max-width: 640px;
    }
    
    .about {
        padding: 100px 50px;
    }
    
    .about-content {
        max-width: 700px;
    }
    
    .value-prop {
        max-width: 950px;
    }
    
    .features {
        padding: 80px 50px;
    }
    
    .marketplace-content {
        max-width: 1400px;
    }
    
    .ai-content {
        max-width: 750px;
    }
    
    .cta-content {
        max-width: 650px;
        z-index: 999;
    }
    
    .footer {
        padding: 60px 50px;
    }
}

/* Small Desktop / Large Tablet - 1200px */
@media (max-width: 1200px) {
    .header {
        padding: 0 40px;
    }
    
    .header-content {
        max-width: 1000px;
        justify-content: space-between;
    }
    
    .hero-buttons-right {
        margin-left: auto;
    }
    
    .hero {
        padding: 0 40px;
        padding-right: 40px;
    }
    
    .hero-illustration {
        right: 40px;
    }
    
    .hero-content {
        max-width: 580px;
    }
    
    .hero-title {
        font-size: 68px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }
    
    .about {
        padding: 90px 40px;
    }
    
    .about-content {
        max-width: 650px;
    }
    
    .value-prop {
        max-width: 850px;
    }
    
    .value-title {
        font-size: 56px;
    }
    
    .features {
        padding: 70px 40px;
    }
    
    .marketplace {
        padding: 100px 40px;
    }
    
    .marketplace-content {
        max-width: 1200px;
    }
    
    .marketplace-title {
        font-size: 72px;
    }
    
    .marketplace-packages {
        gap: 18px;
        padding: 0 40px;
    }
    
    .package-card {
        height: 450px;
        padding: 35px 30px;
    }
    
    .package-title {
        font-size: 32px;
        line-height: 35px;
    }
    
    .package-description {
        font-size: 14px;
    }
    
    .donatello-header {
        font-size: 40px;
        line-height: 48px;
        padding: 28px 50px;
        border-radius: 35px;
    }
    
    .donatello-header::after {
        left: 45px;
        width: 45px;
        height: 45px;
    }
    
    .ai-content {
        max-width: 700px;
    }
}

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .header {
        padding: 0 35px;
    }
    
    .header-content {
        max-width: 900px;
        justify-content: space-between;
    }
    
    .nav {
        display: none;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .hero-buttons-right {
        margin-left: auto;
    }
    
    .nav-links {
        gap: 30px;
    }
    
    .hero {
        padding: 0 35px;
        padding-right: 35px;
        min-height: 90vh;
    }
    
    .hero-illustration {
        right: 35px;
    }
    
    .hero-content {
        max-width: 520px;
    }
    
    .hero-title {
        font-size: 60px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0 40px;
    }
    
    .about {
        padding: 80px 35px;
    }
    
    .about-content {
        max-width: 600px;
    }
    
    .about-title {
        font-size: 56px;
    }
    
    .value-prop {
        max-width: 750px;
    }
    
    .value-title {
        font-size: 52px;
    }
    
    .features {
        padding: 70px 35px;
        gap: 25px;
    }
    
    .feature-card {
        flex: 0 1 calc(50% - 12.5px);
        min-width: 240px;
    }
    
    .marketplace {
        padding: 90px 35px;
    }
    
    .marketplace-content {
        max-width: 1000px;
    }
    
    .marketplace-title {
        font-size: 68px;
    }
    
    .marketplace-packages {
        gap: 20px;
        padding: 0 50px;
    }
    
    .package-card {
        height: 430px;
        padding: 32px 25px;
    }
    
    .package-title {
        font-size: 30px;
        line-height: 33px;
    }
    
    .package-description {
        font-size: 14px;
    }
    
    .donatello-header {
        font-size: 36px;
        line-height: 44px;
        padding: 25px 45px;
        border-radius: 32px;
    }
    
    .donatello-header::after {
        left: 40px;
        width: 42px;
        height: 42px;
    }
    
    .ai-section {
        padding: 100px 35px;
    }
    
    .ai-content {
        max-width: 650px;
    }
    
    .ai-title {
        font-size: 52px;
    }
    
    .cta-section {
        height: 800px;
    }
    
    .cta-content {
        max-width: 550px;
        z-index: 999;
    }
    
    .cta-title {
        font-size: 48px;
        z-index: 999;
    }
    
    .footer {
        padding: 50px 35px;
    }
}

/* Mobile Large - 768px */
@media (max-width: 768px) {
    .header {
        padding: 0 30px;
    }
    
    .hero-buttons-right {
        margin-left: auto;
        gap: 25px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    /* Nascondi le immagini nelle tre card del marketplace su mobile */
    .package-card .package-image-bottom,
    .package-image-centered {
        display: none;
    }
    
    /* Carosello per le tre card su mobile */
    .marketplace-packages {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 0 20px;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 60px;
    }
    
    .package-card {
        flex: 0 0 100%;
        width: 100%;
        height: auto;
        min-height: 400px;
        scroll-snap-align: start;
        animation: none;
    }
    
    .package-card:hover {
        transform: none;
        animation: none;
        box-shadow: none;
    }
    
    /* Marketplace dots - Mobile only */
    .marketplace-dots {
        display: flex;
        gap: 12px;
        justify-content: center;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    
    .marketplace-dots .dot {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: white;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 3px solid #EC6C25;
        padding: 0;
    }
    
    .marketplace-dots .dot:hover {
        background: #EC6C25;
        border-color: white;
        transform: scale(1.2);
    }
    
    .marketplace-dots .dot.active {
        background: #EC6C25;
        border-color: white;
        transform: scale(1.5);
        box-shadow: 0 0 15px rgba(236, 108, 37, 1);
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .hero {
        padding: 0 30px;
        min-height: 85vh;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 52px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        padding: 0 30px;
    }
    
    .about {
        padding: 70px 30px;
    }
    
    .about-title {
        font-size: 48px;
    }
    
    .about-description {
        font-size: 18px;
    }
    
    .value-prop {
        padding: 80px 30px 60px;
    }
    
    .value-title {
        font-size: 48px;
    }
    
    .features {
        padding: 60px 30px;
        gap: 20px;
    }
    
    .feature-card {
        flex: 0 1 calc(50% - 10px);
        min-width: 200px;
    }
    
    .feature-card {
        padding: 40px 30px;
    }
    
    .marketplace {
        padding: 80px 30px;
    }

    .marketplace-title {
        font-size: 64px;
    }

    .package-card {
        height: 400px;
        padding: 28px 20px;
    }    .package-title {
        font-size: 26px;
        line-height: 29px;
        margin-bottom: 15px;
    }
    
    .package-description {
        font-size: 13px;
    }
    
    .marketplace-cta {
        margin-top: -60px;
        z-index: 20;
    }
    
    .donatello-header {
        font-size: 32px;
        line-height: 40px;
        padding: 22px 40px;
        border-radius: 28px;
    }
    
    .donatello-header::after {
        left: 35px;
        width: 38px;
        height: 38px;
    }
    
    .ai-section {
        padding: 90px 30px;
    }
    
    .ai-title {
        font-size: 48px;
    }
    
    .ai-description {
        font-size: 18px;
    }
    
    .cta-section {
        height: 700px;
    }
    
    .cta-title {
        font-size: 42px;
    }
    
    .cta-description {
        font-size: 18px;
    }
    
    .btn-marketplace {
        padding: 0 35px;
    }
    
    .footer {
        padding: 50px 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-column {
        text-align: center;
    }
}

/* Mobile Medium - 480px */
@media (max-width: 480px) {
    .header {
        padding: 0 20px;
    }
    
    .hero-buttons-right {
        margin-left: auto;
        gap: 20px;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .nav-link-bordered {
        padding: 8px 20px;
    }
    
    .hero {
        padding: 0 20px;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 42px;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        gap: 12px;
    }
    
    .btn-primary,
    .btn-secondary {
        height: 50px;
        font-size: 14px;
        padding: 0 25px;
    }
    
    .about {
        padding: 60px 20px;
    }
    
    .about-title {
        font-size: 38px;
    }
    
    .about-description {
        font-size: 16px;
    }
    
    .value-prop {
        padding: 70px 20px 50px;
    }
    
    .value-title {
        font-size: 38px;
    }
    
    .value-description {
        font-size: 16px;
    }
    
    .features {
        padding: 50px 20px;
        gap: 18px;
    }
    
    .feature-card {
        flex: 0 1 calc(50% - 9px);
        min-width: 180px;
        height: 320px;
    }
    
    .feature-card {
        padding: 35px 25px;
    }
    
    .marketplace {
        padding: 70px 20px;
    }
    
    .marketplace-title {
        font-size: 48px;
    }
    
    .marketplace-subtitle {
        font-size: 16px;
    }
    
    .package-card {
        padding: 30px 20px;
    }
    
    .package-title {
        font-size: 22px;
    }
    
    .marketplace-cta {
        margin-top: -40px;
        z-index: 20;
    }
    
    .ai-section {
        padding: 80px 20px;
    }
    
    .donatello-header {
        font-size: 28px;
        line-height: 36px;
        padding: 20px 35px;
        border-radius: 25px;
        top: -35px;
    }
    
    .donatello-header::after {
        left: 32px;
        width: 35px;
        height: 35px;
    }
    
    .ai-title {
        font-size: 38px;
    }
    
    .ai-description {
        font-size: 16px;
    }
    
    .cta-section {
        height: 600px;
    }
    
    .cta-title {
        font-size: 34px;
    }
    
    .cta-description {
        font-size: 16px;
    }
    
    .btn-marketplace {
        height: 50px;
        font-size: 14px;
        padding: 0 30px;
    }
    
    .footer {
        padding: 40px 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-title {
        font-size: 16px;
    }
    
    .footer-links {
        gap: 12px;
    }
    
    .footer-link,
    .footer-privacy {
        font-size: 14px;
    }
}

/* Mobile Small - 375px */
@media (max-width: 375px) {
    .header {
        padding: 0 15px;
    }
    
    .hero-buttons-right {
        margin-left: auto;
        gap: 15px;
    }
    
    .nav-links {
        gap: 12px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .nav-link-bordered {
        padding: 6px 16px;
    }
    
    .hero {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .about {
        padding: 50px 15px;
    }
    
    .about-title {
        font-size: 34px;
    }
    
    .value-prop {
        padding: 60px 15px 45px;
    }
    
    .value-title {
        font-size: 34px;
    }
    
    .features {
        padding: 45px 15px;
        gap: 15px;
    }
    
    .feature-card {
        flex: 0 1 calc(50% - 7.5px);
        min-width: 160px;
        height: 280px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .marketplace {
        padding: 60px 15px;
    }
    
    .marketplace-title {
        font-size: 42px;
    }
    
    .package-card {
        padding: 25px 15px;
    }
    
    .ai-section {
        padding: 70px 15px;
    }
    
    .donatello-header {
        font-size: 24px;
        line-height: 32px;
        padding: 18px 30px;
        border-radius: 22px;
        top: -30px;
    }
    
    .donatello-header::after {
        left: 28px;
        width: 32px;
        height: 32px;
    }
    
    .ai-title {
        font-size: 34px;
    }
    
    .cta-section {
        height: 550px;
    }
    
    .cta-title {
        font-size: 30px;
    }
    
    .footer {
        padding: 35px 15px;
    }
}

/* Mobile content - hidden by default */
.mobile-content {
    display: none;
}

/* Mobile view - under 13 inches (1280px) */
@media (max-width: 1279px) {
    * {
        box-sizing: border-box;
        -webkit-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
    }
    
    /* Hide desktop content */
    .desktop-content {
        display: none !important;
    }
    
    html {
        overflow-x: hidden !important;
        width: 100%;
        max-width: 100%;
        touch-action: pan-y !important;
        -ms-touch-action: pan-y !important;
        /* Nascondi scrollbar */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    html::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    body {
        overflow-x: hidden !important;
        width: 100%;
        max-width: 100%;
        min-width: 0 !important;
        margin: 0;
        padding: 0;
        touch-action: pan-y !important;
        -ms-touch-action: pan-y !important;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        /* Nascondi scrollbar */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    body::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    /* Show mobile content */
    .mobile-content {
        display: block !important;
        width: 100vw !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        position: relative;
        touch-action: pan-y !important;
        /* Nascondi scrollbar */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .mobile-content::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    /* Wrapper to contain scaled content */
    .mobile-wrapper {
        width: 100vw !important;
        max-width: 100vw !important;
        overflow: hidden !important;
        position: relative;
        touch-action: pan-y !important;
        /* Nascondi scrollbar */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .mobile-wrapper::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    /* Mobile container - occupa esattamente 100vw dopo lo scale */
    .mobile-content .mobile-wrapper > div {
        width: 393px;
        height: 5500px;
        transform: scale(calc(100vw / 393px));
        transform-origin: top left;
        position: relative;
        background: white;
        touch-action: pan-y !important;
    }
    
    /* Centra SOLO i cerchi decorativi e i blur */
    .mobile-content .mobile-wrapper > div > div[style*="border-radius: 9999px"],
    .mobile-content .mobile-wrapper > div > div[style*="filter: blur"] {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    /* Altezza corretta per evitare spazi */
    .mobile-wrapper {
        height: calc(5500px * (100vw / 393px));
    }
    
    .mobile-content {
        height: calc(5500px * (100vw / 393px));
    }
    .mobile-content *, 
    .mobile-wrapper * {
        max-width: 100vw;
    }
    
    /* MARKETPLACE CAROUSEL ON MOBILE */
    /* Nasconde i 3 pacchetti singoli Figma */
    
    /* Hide all marketplace package cards from Figma (position absolute) */
    .mobile-content .mobile-wrapper > div > div[style*="top: 2889px"],
    .mobile-content .mobile-wrapper > div > div[style*="top: 2924px"],
    .mobile-content .mobile-wrapper > div > div[style*="top: 3010px"],
    .mobile-content .mobile-wrapper > div > div[style*="top: 3105"],
    .mobile-content .mobile-wrapper > div > div[style*="top: 3126px"],
    .mobile-content .mobile-wrapper > div > div[style*="top: 3298px"],
    .mobile-content .mobile-wrapper > div > div[style*="top: 3376px"],
    /* Hide SVG and CTA elements after packages */
    .mobile-content .mobile-wrapper > div > div[style*="top: 3200px"],
    .mobile-content .mobile-wrapper > div > div[style*="top: 3250px"],
    .mobile-content .mobile-wrapper > div > div[style*="top: 3298px"],
    .mobile-content .mobile-wrapper > div > div[style*="top: 3350px"],
    .mobile-content .mobile-wrapper > div > div[style*="top: 3400px"],
    .mobile-content .mobile-wrapper > div > div[style*="top: 3420px"],
    .mobile-content .mobile-wrapper > div > div[style*="top: 3450px"] {
        display: none !important;
    }
    
    /* Position carousel inside the scaled wrapper - SCROLL ONE CARD AT A TIME */
    #mobile-marketplace-carousel {
        position: absolute !important;
        left: 25px !important;
        top: 2900px !important;
        width: calc(100% - 50px) !important;
        max-width: unset !important;
        padding: 0 !important;
        display: flex !important;
        overflow-x: scroll !important;
        overflow-y: hidden !important;
        gap: 20px !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
        border: none !important;
        scroll-padding: 0 !important;
        overscroll-behavior: contain !important;
        touch-action: pan-x !important;
        height: auto !important;
        pointer-events: auto !important;
        z-index: 100 !important;
        user-select: none !important;
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
    }
    
    #mobile-marketplace-carousel > div {
        flex: 0 0 calc(100% - 0px) !important;
        scroll-snap-align: start !important;
        min-width: calc(100% - 0px) !important;
    }
    
    #mobile-marketplace-carousel::-webkit-scrollbar {
        display: none;
    }
    
    #mobile-marketplace-dots {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: 3150px !important;
        width: 100% !important;
        margin: 0 !important;
        z-index: 15 !important;
    }
}

/* Animazione pulse con doppio battito */

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    10% {
        transform: scale(1.03);
    }
    20% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.03);
    }
    40% {
        transform: scale(1);
    }
}

/* Contenitore simbolo con onde */
.symbol-container {
    position: relative;
    display: inline-block;
}

.symbol-container::before,
.symbol-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 133px;
    height: 133px;
    border: 2px solid #EC6C25;
    border-radius: 50%;
    animation: wave 2s linear infinite;
    pointer-events: none;
    opacity: 0;
}

.symbol-container::after {
    animation-delay: 0.6s;
}

@keyframes wave {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    10% {
        transform: translate(-50%, -50%) scale(0.7);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

/* Animazione linea verticale con scroll */
.animated-line {
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 1s ease-out;
}

.animated-line.visible {
    transform: scaleY(1);
}

.animated-dot {
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animated-dot.visible {
    opacity: 1;
    transform: scale(1);
}

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

/* Animazione Donatello - RIMOSSA */
.donatello-container {
    opacity: 1;
    transform: translateY(0);
}
