.content.page {
    background: linear-gradient(145deg, rgba(220, 186, 255, 1) 0%, rgba(163, 187, 255, 1) 100%) !important;
    padding: 0;
    height: fit-content;
}

.container-fluid {
    height: 100%;
}

.component {
    width: fit-content;
    height: fit-content;
    z-index: 209;
    position: relative;
    justify-self: center;
}

.contenuto {
    position: relative;
    font-size: 2.5em;
    letter-spacing: 2.5px;
    font-weight: 600;
    color: #7c3aed;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    user-select: none;
}

.state .paragraph {
    display: flex;
    align-items: center;
    justify-content: center;
}

.state .paragraph .parSpan {
    display: block;
    opacity: 0;
    animation: slideDown 0.8s ease forwards calc(var(--i) * 0.03s);
}

.component:hover .paragraph .parSpan {
    opacity: 1;
    animation: wave 0.5s ease forwards calc(var(--i) * 0.02s);
}

.component:active .paragraph .parSpan {
    opacity: 1;
    animation: wave 0.5s ease forwards calc(var(--i) * 0.03s);
}

@keyframes wave {
    30% {
        opacity: 1;
        transform: translateY(4px) translateX(0) rotate(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-3px) translateX(0) rotate(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0) translateX(0) rotate(0);
    }
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px) translateX(5px) rotate(-90deg);
        filter: blur(5px);
    }

    30% {
        opacity: 1;
        transform: translateY(4px) translateX(0) rotate(0);
        filter: blur(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-3px) translateX(0) rotate(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0) translateX(0) rotate(0);
    }
}

@keyframes disapear {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translateX(5px) translateY(20px);
        filter: blur(5px);
    }
}


.application-content {
    /* display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center; */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 2em;
}

.component-content {
    width: fit-content;
    height: fit-content;
    margin-top: 1em;
    display: flex;
    justify-self: center;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.scrollApplications {
    width: 100%;
    height: 100%;
    background: white;
    border-top-left-radius: 2em;
    border-top-right-radius: 2em;
    padding-bottom: 1em;
}

.scrollForms {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(220, 186, 255, 1) 0%, rgba(163, 187, 255, 1) 100%);
    border-top-left-radius: 2em;
    border-top-right-radius: 2em;
    margin-top: -2em;
}

.divide-application {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 100%;
    margin-bottom: 3em;
}

.application-card {
    width: 350px;
    height: 250px;
    display: flex;
    flex-direction: column;
    border: 2px solid #511aaf;
    border: 2px solid rgba(163, 187, 255, 1);
    background: gainsboro;
    background: #7c3aed;
    background: linear-gradient(145deg, rgba(220, 186, 255, 1) 0%, rgba(163, 187, 255, 1) 100%);
    color: white;
    border-radius: 1.5em;
    margin-left: 50%;
    transform: translateX(-50%);
}

/* .application-card:hover{
    padding-left:2em;
    padding-top: 2em;
    width: 385px;
    height: 280px;
} */

.application-image {
    width: 351px;
    margin-top: -1em;
    margin-left: -1em;
    border-radius: 1em;
    border: 2px solid #511aaf;
    border: 2px solid rgba(163, 187, 255, 1);
    pointer-events: none;
}

.application-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-top: 15px;
    margin-left: 15px;
}


/* content card sensori styling */

.sensorCard {
    --card-bg: #ffffff;
    --card-accent: #7c3aed;
    --card-text: #1e293b;
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    width: 250px;
    height: 300px;
    background: var(--card-bg);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, 
         Ubuntu, Cantarell, sans-serif; */
    margin: 2em;
}

.card__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0) 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card__glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle at 50% 0%,
            rgba(124, 58, 237, 0.3) 0%,
            rgba(124, 58, 237, 0) 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card__content {
    padding: 1.25em;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75em;
    position: relative;
    z-index: 2;
}

.card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #10b981;
    color: white;
    padding: 0.25em 0.5em;
    border-radius: 999px;
    font-size: 0.7em;
    font-weight: 600;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.card__image {
    width: 100%;
    height: 100px;
    background: linear-gradient(45deg, #a78bfa, #8b5cf6);

    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.card__image.cardImg1 {
    background: url("https://www.adimpex.it/media/2121/stiramento.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.card__image.cardImg2 {
    background: url("https://www.adimpex.it/media/2115/forza.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.card__image.cardImg3 {
    background: url("https://www.adimpex.it/media/2119/pressione-plantare.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.card__image.cardImg4 {
    background: url("https://www.adimpex.it/media/2113/array-sensori-pressione.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.card__image.cardImg5 {
    background: url("https://www.adimpex.it/media/2114/flessione.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.card__image.cardImg6 {
    background: url("https://www.adimpex.it/media/2118/posizione.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.card__image.cardImg7 {
    background: url("https://www.adimpex.it/media/2120/sensori-forza-posizione.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.card__image.cardImg8 {
    background: url("https://www.adimpex.it/media/2117/pellicole-fsr.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.card__image.cardImg9 {
    background: url("https://www.adimpex.it/media/2116/kits.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 30%),
        repeating-linear-gradient(45deg,
            rgba(139, 92, 246, 0.1) 0px,
            rgba(139, 92, 246, 0.1) 2px,
            transparent 2px,
            transparent 4px);
    opacity: 0.5;
}

.card__text {
    display: flex;
    flex-direction: column;
    gap: 0.25em;
    position: relative;
    top: 2em;
}

.card__title {
    color: var(--card-text);
    font-size: 1.1em;
    margin: 0;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: left !important;
}

.card__description {
    color: var(--card-text);
    font-size: 0.75em;
    margin: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.card__price {
    color: var(--card-text);
    font-weight: 700;
    font-size: 1em;
    transition: all 0.3s ease;
}

.card__button {
    width: 28px;
    height: 28px;
    background: var(--card-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(0.9);
}

/* Hover Effects */
.sensorCard:hover {
    transform: translateY(-10px);
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(124, 58, 237, 0.2);
}

.sensorCard:hover .card__shine {
    opacity: 1;
    animation: shine 3s infinite;
}

.sensorCard:hover .card__glow {
    opacity: 1;
}

.sensorCard:hover .card__badge {
    transform: scale(1);
    opacity: 1;
    z-index: 1;
}

.sensorCard:hover .card__image {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.sensorCard:hover .card__title {
    color: var(--card-accent);
    transform: translateX(2px);
}

.sensorCard:hover .card__description {
    opacity: 1;
    transform: translateX(2px);
}

.sensorCard:hover .card__price {
    color: var(--card-accent);
    transform: translateX(2px);
}

.sensorCard:hover .card__button {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2);
}

.sensorCard:hover .card__button svg {
    animation: pulse 1.5s infinite;
}

/* Active State */
.sensorCard:active {
    transform: translateY(-5px) scale(0.98);
}

/* Animations */
@keyframes shine {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* STYLING FORM */

.form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form {
    width: 100%;
    max-width: 500px;
}

.form-title {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: white;
    margin-left: 1.5em;
}

.form-input,
.form-textarea {
    width: 90%;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-size: 16px;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}

.form-textarea {
    resize: vertical;
}

.form-button {
    margin-top: 20px;
    width: 50%;
    padding: 12px;
    background-color: #7c3aed;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 1em;
}

.form-button:hover {
    background-color: #9261e7;
}

@media screen and (max-width: 1270px) {

    .component-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .application-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

}

@media screen and (max-width: 750px) {

    .component-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .application-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contenuto{
        font-size: 2em;
    }

}