* {
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

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

.header-timer {
    padding: 15px 10px;
    width: 100%;
}

.header-timer .content-wrapper {
    display: flex;
    align-items: center;
}

.header-timer-inner {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 15px;
    background: rgb(232, 243, 255);
    border-radius: 15px;
    box-shadow: 0px 3px 10px 1px rgba(0, 0, 0, 0.25);
    border: 1px solid rgb(0, 102, 223);
    padding: 12px 20px;
}

.header-timer-text {
    flex: 1;
    color: #1b1b1d;
    font-weight: bold;
    font-size: 0.85rem;
}

.header-timer-countdown {
    flex-shrink: 0;
}

.header-timer .timer-container {
    font-family: 'Montserrat', Arial, sans-serif;
    background: transparent;
    padding: 0;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    border-radius: 0px;
    display: flex;
    justify-content: flex-end;
}

.header-timer .countdown {
    display: flex;
    justify-content: center;
    gap: 3px;
    font-size: 12px;
    margin: 0;
    width: auto;
}

.header-timer .countdown-box {
    background: #0066DF;
    background: linear-gradient(180deg, rgba(0, 102, 223, 1) 0%, rgba(0, 67, 147, 1) 100%);
    border-radius: 10px;
    box-shadow: 0 2px 5px #00000061;
    padding: 3px 5px;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header-timer .time-value {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #FFFFFF;
    text-align: center;
}

.header-timer .time-label {
    font-size: 9px;
    text-transform: uppercase;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .header-timer-inner {
        flex-direction: row;
        text-align: left;
        gap: 10px;
        padding: 8px 12px;
    }

    .header-timer-text {
        text-align: left;
        padding-left: 0;
        font-size: 0.75rem;
        line-height: 1.3;
        color: rgb(0, 102, 223);
    }

    .header-timer .timer-container {
        justify-content: flex-end;
    }

    .header-timer .countdown-box {
        width: 38px;
        height: 38px;
        padding: 2px 3px;
    }

    .header-timer .time-value {
        font-size: 14px;
    }

    .header-timer .time-label {
        font-size: 7px;
    }

    .header-timer .countdown {
        gap: 2px;
    }

    .progress-bar .rectangle {
        flex: 1 !important;
        max-width: 20px !important;
        min-width: 4px !important;
    }

    .progress-bar {
        gap: 2px !important;
        padding: 0 5px !important;
        flex-wrap: nowrap !important;
    }

    .content-wrapper {
        padding: 0 5px !important;
    }

    .phase-2-unlocked {
        padding: 5px !important;
    }

    .phase-2-unlocked-box {
        padding: 15px 10px !important;
    }

    .container-section {
        padding: 5px !important;
    }
}

.headline,
.warning-message {
    display: none;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    width: 100%;
    max-width: 100%;
}

.hero #provato-da-persone {
    width: 60%;
    max-width: 100%;
}

.hero #headline {
    width: 100%;
    max-width: 100%;
    margin-top: 15px;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: "Inter", sans-serif;
    justify-content: center;
    margin-top: 30px;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.social-proof .social-proof-text {
    display: flex;
    gap: 7px;
    color: #1B1B1D;
    flex-wrap: wrap;
}

.social-proof .social-proof-icon {
    display: flex;
    align-items: center;
    margin: 0;
}

.social-proof .social-proof-icon img {
    width: 40px;
}

.social-proof .social-proof-text {
    display: flex;
    align-items: center;
    margin: 0;
}

.social-proof .social-proof-text .social-proof-number {
    font-weight: bold;
}

.section-timer {
    background-color: #f4f4f6;
    padding: 30px 10px 10px;
    width: 100%;
}

.section-timer .box-timer {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.24);
    text-align: center;
}

@media (max-width: 768px) {
    .section-timer .box-timer {
        padding: 15px 10px 40px;
    }

    .button-primary,
    .button-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 17px 20px !important;
    }
}

.section-timer .box-timer .title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #003574;
}

.section-timer .box-timer .title img {
    width: 18px;
    vertical-align: middle;
}

.section-timer .box-timer .boxes {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    justify-content: center;
}

.section-timer .box-timer .boxes .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 140px;
    background: linear-gradient(45deg, rgb(1, 86, 187) 2.00%, rgb(0, 67, 146) 99.00%);
    padding: 25px;
    border-radius: 10px;
    color: #FFFFFF;
}

.section-timer .box-timer .boxes .box .minutes,
.section-timer .box-timer .boxes .box .seconds {
    font-size: 1.95rem;
    font-weight: bold;
}

.section-timer .box-timer .boxes .box .minutes-label,
.section-timer .box-timer .boxes .box .seconds-label {
    text-transform: uppercase;
    font-weight: bold;
}

/* Content wrapper for sections with constrained width */
.content-wrapper {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 10px;
    width: 100%;
}

/* Ensure container sections stay full width for backgrounds */
.container-section {
    width: 100%;
    overflow-x: hidden;
}

.phase-2-unlocked {
    padding: 20px !important;
    width: 100%;
}

.phase-2-unlocked-box {
    background: rgb(1 86 187 / 16%);
    padding: 20px;
    box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.24);
    border-radius: 8px;
    text-align: center;
    width: 100%;
}

.phase-2-unlocked-box .title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0156bb;
    margin: 0;
}

.phase-2-unlocked-box .description {
    font-size: 1.05rem;
    margin-top: 0;
}

#posti-rimanenti-heading {
    margin-bottom: 5px;
    color: #333;
    font-size: 1em;
    font-weight: normal;
}

#posti-count {
    background-color: #0156bb;
    padding: 2px 5px;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
}

.progress-bar {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 50px;
    gap: 30px;
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
}

.progress-bar .rectangle {
    flex: 1;
    min-width: 8px;
    max-width: 50px;
    height: 40px;
    background-color: grey;
    border-radius: 2px;
    transition: background-color 0.3s;
}

.progress-bar .rectangle.filled {
    background-color: #003574;
}

.progress-bar .rectangle.filled.flicker {
    animation: flicker 1s infinite;
}

@keyframes flicker {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

.button-primary,
.button-secondary {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    text-decoration: none;
    border-radius: 9px;
    border: none;
    padding: 10px 25px;
    max-width: 400px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    transition: background 0.2s ease;
    cursor: pointer;
}

.button-primary {
    background: linear-gradient(90deg, rgb(0, 102, 223) 0%, rgb(0, 84, 185) 100%);
}

.button-secondary {
    background: linear-gradient(90deg, rgb(21, 203, 1) 0%, rgb(17, 163, 1) 100%);
}

.button-primary .main-text,
.button-secondary .main-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    text-transform: uppercase;
    color: #FFFFFF;
}

.button-primary .main-text i,
.button-secondary .main-text i {
    font-size: 18px;
}

.button-primary .sub-text {
    color: #CEDDF4;
    font-size: 14px;
}

.button-secondary .sub-text {
    color: #f1ffef;
    font-size: 14px;
}

@media (max-width: 770px) {
    .button-primary,
    .button-secondary {
        width: 100%;
        max-width: 100%;
        padding: 20px 25px;
    }
}

@keyframes x2000loadleftbouncing {
    0% {
        transform: translateY(0%);
    }

    15% {
        transform: translateY(0%);
    }

    35% {
        transform: translateY(-35%);
    }

    45% {
        transform: translateY(0%);
    }

    55% {
        transform: translateY(-20%);
    }

    70% {
        transform: translateY(0%);
    }

    80% {
        transform: translateY(-10%);
    }

    90% {
        transform: translateY(0%);
    }

    95% {
        transform: translateY(-2%);
    }

    99% {
        transform: translateY(0%);
    }

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

.bouncing-button {
    animation: x2000loadleftbouncing 2s infinite ease normal;
    animation-delay: 2000ms;
    animation-fill-mode: both;
    cursor: pointer;
}

.footer {
    background-color: #000000;
    text-align: center;
    color: #FFFFFF;
    padding: 40px 15px;
    font-size: 1.02rem;
    font-weight: 500;
    font-family: "Oswald", sans-serif;
    line-height: 1;
}

.footer p {
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    color: #FFFFFF;
    font-size: 1.02rem;
    line-height: 1;
}

.container-section {
    background-color: #f4f4f6;
    padding: 10px;
}

h2 {
    font-weight: bold;
    font-size: 1.7rem;
}

.section-gabriele h2 {
    text-align: center;
}

h2 b {
    color: #0156bb;
}

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

.reviews-container {
    font-family: Arial, Helvetica, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
    width: 100%;
}

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

.review-card-trustpilot {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.review-header-left {
    display: flex;
    gap: 10px;
}

.review-avatar {
    display: flex;
    background-color: #b7b7b7;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 100%;
}

.review-name {
    font-weight: bold;
    font-size: 16px;
    margin-right: 10px;
    color: #4a4742;
}

.reviews-number {
    color: #605d56;
    font-size: 14px;
}

.review-date {
    font-size: 15px;
    color: #777;
    margin: 5px 0;
}

.review-stars {
    width: 108px;
    margin-bottom: 20px;
}

.review-text {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.review-text p {
    margin-bottom: 12px;
}

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

.reviews-container .swiper-pagination-bullet-active {
    background: #003D84;
}

@media (max-width: 950px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .progress-bar {
        gap: 15px;
    }
}

@media (max-width: 500px) {
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-name {
        margin-bottom: 5px;
    }
}

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

.phones-container .phone-slide img {
    width: 100%;
}

.client-reviews .client-review-headline {
    margin-top: 10px;
    color: #FFFFFF;
}

.client-reviews .client-review-headline {
    font-size: 20px;
    font-weight: bold;
    line-height: normal;
    color: #1B1B1D;
}

.client-reviews .client-review img {
    width: 100%;
}

.client-reviews .client-review-list {
    margin-top: 20px;
}

.client-reviews .client-review-list li {
    border: Solid 1px #0155BA;
    border-radius: 10px;
    padding: 10px;
    background: rgba(1, 86, 187, 0.11);
    font-size: 1.1rem;
    color: #0155BA;
    margin-top: 10px;
}

.client-reviews .client-review-list li i {
    color: #0155BA;
}

.container-section ul {
    list-style: none;
    padding: 0;
}

.container-section ul li {
    background-color: #D8E0EE;
    padding: 10px;
    color: #0156bb;
    border: Solid 1px #0156bb;
    border-radius: 10px;
    margin: 10px 0;
}

.container-section ul li img {
    width: 15px !important;
}

.section-faq h2 {
    text-align: center;
}

.accordion {
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    font-size: 1.2rem;
}

.accordion-item {
    border-bottom: 1px solid #ccc;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-button {
    background: linear-gradient(45deg, rgb(1, 86, 187) 2.00%, rgb(0, 67, 146) 99.00%);
    color: #ffffff;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.accordion-button:hover,
.accordion-button:focus {
    background-color: #ddd;
}

.accordion-button::after {
    content: '+';
    font-size: 20px;
    color: #ffffff;
    float: right;
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.accordion-button.active {
    background-color: #eee;
}

.accordion-button.active::after {
    content: '−';
    transform: rotate(180deg);
}

.accordion-panel {
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 18px;
}

.accordion-panel.active {
    padding: 18px;
}

.accordion-panel p {
    margin: 0 0 12px 0;
    line-height: 1.6;
    text-align: left;
}

.accordion-panel p:last-child {
    margin-bottom: 0;
}

/* Tablet accordion adjustments */
@media (min-width: 600px) and (max-width: 1024px) {
    .accordion {
        max-width: 95%;
        margin: 1.5rem auto;
    }

    .accordion-button {
        padding: 16px;
        font-size: 1.15rem;
    }

    .accordion-panel {
        padding: 0 16px;
    }

    .accordion-panel.active {
        padding: 16px;
    }
}

/* Mobile accordion adjustments */
@media (max-width: 599px) {
    .accordion {
        max-width: 100%;
        margin: 1rem auto;
        font-size: 1rem;
    }

    .accordion-button {
        padding: 14px 12px;
        font-size: 1rem;
    }

    .accordion-button::after {
        font-size: 18px;
    }

    .accordion-panel {
        padding: 0 12px;
    }

    .accordion-panel.active {
        padding: 14px 12px;
    }

    .accordion-panel p {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
}