*,
*::before,
*::after {
    box-sizing: border-box;
}

#root {
    padding-top: 0 !important;
    background-color: #F4F2F1;
    /* overflow-x: hidden; */
}

.CTA-bg {
    background-image: url('../medias/home/CTA_bg.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.container-bg {
    background-image: url('../medias/home/Background_mask-group.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 15% 85%;
}

/* ============================================= */
/*           Custom Font Definitions             */
/* ============================================= */

/* --- Poppins Regular --- */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* --- Poppins Bold --- */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* --- Poppins ExtraBold  */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

/* --- Poppins Black --- */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

.personalization-content {
    opacity: 0;
    /* visibility: hidden;  */
}

.personalization-image-wrapper {
    overflow: hidden;
}

/* ============================
            Hero Section
   ============================ */

.hero-section {
    padding: 100px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(243, 213, 198, 0.4), transparent 60%);
    transform: translateY(-50%);
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-headline {
    font-size: 31.3px;
    font-weight: 900;
    color: #111111;
    line-height: 1.1;
    margin: 0 0 24px 0;

}

.hero-description {
    font-size: 14.7px;
    line-height: 1.6;
    color: #5B5B5B;
    max-width: 550px;
    margin: 0 0 32px 0;
}

.hero-description strong {
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

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

.hero-image {
    max-width: 100%;
    width: 350px;
    height: auto;
    object-fit: contain;
}

.hero-wide-image-wrapper .hero-image {
    width: 100%;
    max-width: 100%;
}

.hero-flowchart-wrapper {
    margin-top: 3.5rem;
}

/* ============================================= */
/*           Responsive Styles                   */
/* ============================================= */

@media (min-width: 768px) {
    .container-bg {
        background-position: unset;
    }

    .hero-headline {
        font-size: 56px;
    }

    .hero-description {
        font-size: 15.6px;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-content {
        align-items: flex-start;
    }

    .hero-wide-image-wrapper .hero-image {
        width: 80%;
    }

}

@media (min-width: 1024px) {
    .hero-section {
        padding: 8.25rem 1rem 5rem 1rem;
    }

    .hero-headline {
        font-size: 59px;
        line-height: 76px;
    }

    .hero-image {
        width: auto;
        max-width: 450px;
    }

}

@media (min-width: 1200px) {
    .hero-container {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }

    .hero-content {
        flex: 1 1 45%;
        align-items: flex-start;
    }

    .hero-image-wrapper {
        flex: 1 1 55%;
    }

    .hero-wide-image-wrapper .hero-image {
        width: auto;
    }
}

@media (min-width: 1400px) {
    .hero-content {
        flex: 1 1 55%;
        align-items: flex-start;
    }

    .hero-image-wrapper {
        flex: 1 1 45%;
        justify-content: flex-end;
    }

    .hero-wide-image-wrapper {
        flex: 1 1 60%;
    }

}

/* ============================================= */
/*           PERSONALIZATION SECTION            */
/* ============================================= */


.personalization-section {
    padding: 50px 16px;
}

.personalization-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.personalization-image-wrapper {
    display: flex;
    justify-content: center;
}

.personalization-image-wrapper img {
    max-width: 374px;
    height: auto;
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.personalization-content {
    order: -1;
    color: #5B5B5B;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.personalization-content h1 {
    font-size: 2.25rem;
    font-weight: 900;
    color: #111111;
    line-height: 1.2;
    margin-top: 0;
}

.personalization-content p {
    font-size: 14.7px;
    line-height: 1.6;
    margin-top: 0;
    font-weight: 500;
}

.personalization-content ul {
    list-style: none;
    padding-left: 0;
    margin: 0 auto;
    display: inline-block;
    text-align: left;
    line-height: 20px;
}

.personalization-content li {
    position: relative;
    padding-left: 1.75rem;
    font-size: 14.7px;

}

.personalization-content li:not(:last-child) {
    margin-bottom: 2px;
}

.personalization-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: -0.1em;
    font-size: 1.5rem;
    color: #111111;
}

@media (min-width: 640px) {

    .personalization-content ul {
        display: block;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 768px) {
    .personalization-section {
        padding: 80px 30px;
    }
}

@media (min-width: 1024px) {
    .personalization-section {
        padding: 100px 40px;
    }

    .personalization-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4rem;
        align-items: center;
    }

    .personalization-content {
        order: 0;
    }

    .personalization-content h1 {
        font-size: 40px;
    }
}

.timeline {
    position: relative;
    width: 80%;
    padding: 0 1rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: #e5e7eb;
    z-index: 1;
}

.timeline-dot {
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    border: 1px solid #D3CBC5;
    background-color: white;
    border-radius: 9999px;
    z-index: 2;
    top: -2px;
}

.timeline-dot-left {
    display: none;
}

.timeline-dot-middle {
    left: 50%;
}

.timeline-dot-right {
    display: none;
}

:root {
    --color-bg: #F9F8F6;
    --color-card-bg: #FFFFFF;
    --color-heading: #1A202C;
    --color-text: #4A5568;
    --color-text-light: #718096;
    --card-shadow: 0px 20px 40px rgba(0, 0, 0, 0.05);
}

/* ============================
    Feature Showcase Section
   ============================ */

.feature-showcase {
    padding: 40px 16px;

    position: relative;
    z-index: 2;
}

.feature-showcase-container {
    max-width: 1077px;
    margin-left: auto;
    margin-right: auto;

}

.feature-showcase__title {
    font-size: 28.1px;
    font-weight: 900;
    color: #111111;
    text-align: center;
    margin-top: 0;
    margin-bottom: 3rem;
}

.feature-showcase__wrapper {
    display: grid;
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
    position: relative;
}


#smooth-wrapper {
    height: 100%;
    overflow: hidden;
}

#smooth-content {
    background-color: #F4F2F1;
    will-change: transform;
}

.feature-card {
    background-color: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
    padding: 20px;

    position: relative;
    left: 0;
    width: 100%;
}

.feature-card__content {
    padding: 2rem;
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card__button {
    margin-top: 1.5rem;
}

.feature-card__media {
    order: 1;
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
}

.feature-card__gradient-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(30px);
    opacity: 0.9;
}

.feature-card__img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0;
}

.feature-card__img-full {
    max-width: 103%;
    max-height: 100%;
}

.feature-card__content h3 {
    font-size: 20px;
    font-weight: 800;
    color: #111111;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.feature-card__content p {
    font-size: 14px;
    line-height: 24px;
    color: #5B5B5B;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.feature-card__content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-card__content li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    color: #000000;
}

.checkmark-icon {
    flex-shrink: 0;
    margin-top: 4px;
}


/* ============================================= */
/*           Responsive Styles                   */
/* ============================================= */

@media (min-width: 768px) {
    .feature-showcase {
        padding: 80px 40px;
    }

    .feature-showcase__title {
        font-size: 40px;
        margin-bottom: 4rem;
    }

    .feature-showcase__wrapper {
        gap: 2.5rem;
    }

    .feature-card {
        flex-direction: column;
    }

    .feature-card__content h3 {
        font-size: 24px;
    }

    .feature-card__content p {
        font-size: 14px;
    }

    .feature-card__content li {
        font-size: 14px;
    }

    .feature-card__content {
        flex-basis: 55%;
        order: initial;
        height: 100%;
        border-radius: 0;
        /* padding: 3rem; */
    }

    .feature-card__content {
        padding: 3rem;
    }

    .timeline-dot-left {
        display: block;
        left: 25%;
    }

    .timeline-dot-right {
        display: block;
        right: 25%;
    }
}

@media (min-width: 820px) {

    .feature-showcase {
        padding: 80px 40px 220px;
    }
    .feature-showcase.feature-showcase-long {
        padding: 80px 40px;
    }

    .feature-card__media {
        flex-basis: 45%;
        order: initial;
        height: 100%;
        border-radius: 0;
    }

    .feature-card {
        flex-direction: row;
        align-items: center;
        height: 370px;
        padding: 0;
    }

    .feature-card--reverse {
        flex-direction: row-reverse;
    }
}

@media (min-width: 1024px) {

    .feature-card__content {
        padding: 3.5rem;
    }

    .feature-card__content h3 {
        font-size: 28px;
    }

    .feature-card {
        height: 506px;
    }
}

@media (min-width: 1200px) {
    .feature-showcase {
        padding: 80px 100px 40px;
    }

}


/* ===============================
   How feature works Section
   =============================== */

:root {
    --color-bg: #F9F8F6;
    --color-heading: #1A202C;
    --color-card-dark-bg: #111111;
    --color-card-label: #A0AEC0;
    --color-card-title: #FFFFFF;
    --globe-glow-color: rgba(150, 200, 255, 0.15);
}

.how-it-works-section {
    padding: 48px 24px;
    overflow: hidden;
}

.how-it-works-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.how-it-works-section__title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-heading);
    text-align: center;
    position: relative;
    z-index: 2;
}

.how-it-works-section__sub_title {
    font-size: 16px;
    color: #5b5b5b;
    text-align: center;
    margin-top: 1rem;
    position: relative;
    z-index: 2;
}

.how-it-works-section__content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.how-it-works-section__globe-bg {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 430px;
    height: 430px;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

.how-it-works-section__content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: 2;
    pointer-events: none;
}

.how-it-works-section__cards-wrapper {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 300px;
}

/* Reusable Card Component */
.how-it-works-card {
    background-color: #111;
    border-radius: 20px;
    padding: 40px;
    height: 440px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.how-it-works-card.how-it-works-card--tall-wide {
    height: 510px;
}


.how-it-works-card__visual-placeholder {
    flex-grow: 1;
}

.how-it-works-card__label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #777777;
    margin-bottom: 5px;
}

.how-it-works-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.how-it-works-card__img {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.how-it-works-card__img--tall {
    max-height: 70%;
    transform: translate(-50%, -57%);
}

.how-it-works-card__img.how-it-works-card__img--tall-wide {
    max-width: 100%;
    max-height: 100%;
}

@media (min-width: 768px) {

    .how-it-works-section {
        padding: 80px 40px 150px;
    }

    .how-it-works-section__title {
        font-size: 2.5rem;
    }

    .how-it-works-section__globe-bg {
        width: 800px;
        height: 800px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .how-it-works-section__cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: unset;
    }

}

@media (min-width: 820px) {
    .how-it-works-section__cards-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 100%;
    }
}

@media (min-width: 1024px) {

    .how-it-works-card__title {
        font-size: 1.25rem;
    }

    .how-it-works-card {
        padding: 2rem;
    }

    .how-it-works-card.how-it-works-card--tall-wide {
        height: 550px;
    }
}

/* ===============================
   Integration Benefits Section
   ================================ */

.integration-benefits {
    padding: 50px 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.integration-benefits .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.integration-benefits__header {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.integration-benefits__title {
    font-size: 27px;
    font-weight: 900;
    color: #111111;
    line-height: 1.2;
    margin: 0;
}

.integration-benefits__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 0 auto;
}

/* ---  Benefit Card Component --- */
.benefit-card {
    background-color: white;
    padding: 16px;
    border-radius: 16px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.benefit-card__icon img {
    width: 28px;
    height: 28px;
}

.benefit-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #1E1E1E;
}

.benefit-card__description {
    font-size: 14.7px;
    color: #5B5B5B;
    line-height: 20px;
    font-weight: 500;
}


/* ============================================= */
/*           Responsive Styles                   */
/* ============================================= */

@media (min-width: 768px) {
    .integration-benefits {
        padding: 80px 40px;
    }

    .integration-benefits__title {
        font-size: 36px;
        max-width: 541px;
    }

    .integration-benefits__grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 640px;
    }
}

@media (min-width: 1024px) {
    .integration-benefits__title {
        font-size: 42px;
        max-width: 828px;
    }

    .integration-benefits__grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 960px;
        gap: 24px;
    }

}

@media (min-width: 1200px) {

    .benefit-card {
        min-height: 162px;
        width: 304px;
    }
}

/* ==================
   FAQ Section
   ================== */

.faq-section {
    padding: 80px 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.faq-section .container {
    margin: 0 auto;
}

.faq-section__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

.faq-section__title {
    font-size: 28px;
    font-weight: 900;
    color: #111;
    margin: 0;
    text-align: center;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ---  FAQ Item Component --- */
.faq-item {
    background-color: #EEEEEE;
    border-radius: 12px;
    transition: background-color 0.2s ease;
}

.faq-question {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    padding: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    background: none;
    border: none;
    cursor: pointer;
    gap: 16px;

}

.faq-question-text {
    flex-grow: 1;
    font-size: 14px;
}

.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #555;
}

.faq-icon--minus {
    display: none;
}

.faq-item.is-open .faq-icon--plus {
    display: none;
}

.faq-item.is-open .faq-icon--minus {
    display: block;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    opacity: 0;
}

.faq-item.is-open .faq-answer {
    opacity: 1;
}

.faq-answer-text {
    overflow: hidden;
    margin: 0;
    padding: 0 45px 10px;
    font-size: 14px;
    font-weight: 500;
    color: rgb(153, 153, 153);
    line-height: 1.6;
}


/* ============================================= */
/*           Responsive Styles                   */
/* ============================================= */

@media (min-width: 768px) {
    .faq-section__content {
        grid-template-columns: 1fr 3fr;
        gap: 40px;
    }

    .faq-section__title {
        font-size: 48px;
        text-align: left;
    }
}