/*
###############################################################################################################################################################
HOMEPAGE
###############################################################################################################################################################
*/

html, body {
    overscroll-behavior-y: contain; /* Disable the pull-to-refresh everywhere in the page */
    touch-action: unset; /* ReEnable the pull-to-refresh everywhere on iOS+Safari, else the scroll is disabled */
    overflow: unset; /* ReEnable the pull-to-refresh everywhere on iOS+Safari, else the scroll is disabled */
    scroll-behavior: smooth;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--COLOR_SURFACE_20);
}

/*
###############################################################################################################################################################
HERO SECTION
###############################################################################################################################################################
*/

#hero-section {
	position: relative;
	width: 100%;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
    background: url('/images/banner/xploo-banner.jpg') no-repeat;
    background-size: cover;
    background-position: right;
	justify-content: flex-start;
	padding: 75px 20px;
    margin-top: calc(-1 * var(--HEADER_HEIGHT));
	gap: 1.5rem;
    font-family: var(--FONT-FAMILY);
    overflow: visible;
    z-index: 9;
}

/* Overlay semi-transparent */
/* #hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1;
} */


#hero-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    /* background: var(--COLOR_SURFACE_20); */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--COLOR_SURFACE_20) 100%);
    pointer-events: none;
}


#hero-section > * {
    position: relative;
    z-index: 2;
}


#slogan {
	text-align: center;
    font-size: calc(2rem + 1.25 * var(--RESPONSIVE-RATIO)); /* font-size: calc(1.5rem + 1.5vw); */
    line-height: calc(2.5rem + 1.5 * var(--RESPONSIVE-RATIO));  /* line-height: calc(2rem + 1.5vw); */
    /* font-size: 3rem;
    line-height: 3.56rem; */
	font-weight: bold;
	color: var(--COLOR_SURFACE_90);
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.8s ease forwards;
}

.slogan-text {
    text-align: center;
    font-size: calc(0.8rem + 0.4 * var(--RESPONSIVE-RATIO)); /* font-size: calc((1.5rem + 1.5vw) / 3); */
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/*
###############################################################################################################################################################
BUTTONS
###############################################################################################################################################################
*/

.hero-buttons {
    display: flex;
    gap: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.btn-demo, .btn-more, .btn-why-choose-xploo, .btn-contact-us {
    font-family: var(--FONT-FAMILY);
    padding: 0.6rem 1.5rem;
    text-align: center;
    border-radius: var(--BUTTON_BORDER_RADIUS);
    border: none;
    text-decoration: none;
    color: var(--COLOR_SURFACE_90) !important;
    transition: all 0.3s ease;
    box-shadow: 
    inset 4px 4px 8px rgba(255, 255, 255, 0.2),
    inset -4px -4px 8px rgba(0, 0, 0, 0.2);
}

.btn-demo, .btn-why-choose-xploo, .btn-contact-us {
    background: linear-gradient(to right, var(--COLOR_ACTION_40), var(--COLOR_ACTION_60));
}

.btn-demo:hover, .btn-why-choose-xploo:hover, .btn-contact-us:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
    text-decoration: none;
}

.btn-more {
    background: transparent;
    border: 2px solid var(--COLOR_SURFACE_90);
}

.btn-more:hover {
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.btn-contact-us {
    margin-top: 2rem;
}

/*
###############################################################################################################################################################
RESPONSIVE BUTTONS
###############################################################################################################################################################
*/

@media screen and (max-width: 896px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        width: 100%;
    }

    .btn-demo, .btn-more, .btn-why-choose-xploo, .btn-contact-us {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }

    .btn-contact-us {
        margin-top: 1.5rem;
    }
}

@media screen and (max-width: 626px) {
    .hero-buttons {
        gap: 1rem;
    }

    .btn-demo, .btn-more, .btn-why-choose-xploo, .btn-contact-us {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
        max-width: 250px;
    }

    .btn-contact-us {
        margin-top: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .btn-demo, .btn-more, .btn-why-choose-xploo, .btn-contact-us {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        max-width: 180px;
    }
}

/*
###############################################################################################################################################################
PARTNERS SECTION
###############################################################################################################################################################
*/

.partners-section {
    text-align: center;
    width: 100%;
}

.partners-text {
    margin-bottom: 1.5rem;
    margin-top: 3rem;
    font-size: 1.2rem;
    color: var(--COLOR_SURFACE_90);
    font-weight: 600;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
    transform: scale(1.2);
}

.partner-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    margin-right: 2rem;
}

.partner-logo:hover {
    transform: scale(1.4);
}

/*
###############################################################################################################################################################
LANDING PAGE
###############################################################################################################################################################
*/

#landing-page {
	position: relative;
    width: 100%;
    background-color: var(--COLOR_SURFACE_20);
    padding: 0;
}

#landing-page h2 {
    font-size: calc(1.6rem + 1.1 * var(--RESPONSIVE-RATIO)); /* font-size: calc(1.2rem + 1.2vw); */
    overflow: unset;
    text-overflow: unset;
    white-space: unset;
}

.landing-content {
    max-width: 90%;
    margin: 0 auto;
}

.landing-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 6rem;
}

#xploo-explanation-title, #why-choose-xploo-title {
    font-size: 2.4rem;
    font-weight: 600;
    text-align: center;
    color: var(--COLOR_SURFACE_90);
    overflow: visible;
    text-overflow: clip;
    white-space: normal;

}

#xploo-explanation-title {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.features-title-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.feature {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--BUTTON_BORDER_RADIUS);
    transition: transform 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--COLOR_SURFACE_90);
    margin: 1rem 0;
    text-align: center;
}

.feature p {
    color: var(--COLOR_SURFACE_70);
    line-height: 1.6;
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.eco-care-icon, .target-icon, .gold-coin-icon, .chart-data-icon, .sparkles-glitter-colors-icon {
    height: 4.7rem;
}

.landing-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.landing-section:nth-child(even) {
    flex-direction: row-reverse;
}

.landing-section .landing-image {
    width: 40%;
    height: auto;
    object-fit: contain;
    border-radius: var(--BUTTON_BORDER_RADIUS);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.landing-section .content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
    align-items: center;
    text-align: center;
}

.landing-section .content-wrapper h3 {
    font-size: calc(1.2rem + 0.7 * var(--RESPONSIVE-RATIO)); /* calc(0.9rem + 0.9vw); */
    font-weight: 600;
    color: var(--COLOR_SURFACE_90);
    line-height: 1.3;
}

.landing-section .content-wrapper ul {
    list-style: none;
    padding-left: 1.5rem;
    margin: 0 auto;
}

.landing-section .content-wrapper ul li {
    position: relative;
    margin-bottom: 1rem;
    color: var(--COLOR_SURFACE_80);
    line-height: 1.5;
    text-align: left;
}

.landing-section .content-wrapper ul li::before {
    content: "•";
    position: absolute;
    left: -1.5rem;
    color: var(--COLOR_ACTION_40);
    font-size: 1.5rem;
    line-height: 1;
}

.trophy-image {
    height: 140px;
    width: auto;
    margin: 0 10px 0 10px;
}

/*
###############################################################################################################################################################
NEWSLETTER SECTION
###############################################################################################################################################################
*/

.newsletter-section {
    background: linear-gradient(to right, var(--COLOR_ACTION_40), var(--COLOR_ACTION_60));
    padding: 4rem 2rem;
    text-align: center;
    border-radius: var(--BUTTON_BORDER_RADIUS);
}

.newsletter-section h2 {
    color: var(--COLOR_SURFACE_90);
    font-size: 2rem;
    font-weight: 600;
    /* margin-bottom: 2rem; */
}

.newsletter-section ul {
    list-style-type: disc;
    display: inline-block;
    text-align: left;
    padding-left: 20px;
}

.newsletter-section li {
    margin: 10px 0;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form label {
    color: var(--COLOR_SURFACE_90);
    font-size: 1.2rem;
    font-weight: 500;
}

.newsletter-form input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--COLOR_SURFACE_90);
    border-radius: var(--BUTTON_BORDER_RADIUS);
    background: transparent;
    color: var(--COLOR_SURFACE_90);
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.btn-prototype {
    font-family: var(--FONT-FAMILY);
    padding: 0.8rem 2rem;
    border-radius: var(--BUTTON_BORDER_RADIUS);
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--COLOR_ACTION_40) !important;
    background: var(--COLOR_SURFACE_90);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 
    inset 4px 4px 8px rgba(255, 255, 255, 0.2),
    inset -4px -4px 8px rgba(0, 0, 0, 0.2);

}

.btn-prototype:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/*
###############################################################################################################################################################
RESPONSIVE
###############################################################################################################################################################
*/

@media screen and (max-width: 896px) {
    #hero-section {
        padding-bottom: 0;
        /* min-height: unset; */
    }

    #slogan {
        /* font-size: 2rem;
        line-height: 2.56rem; */
        margin: 0;
    }

    .slogan-text {
        /* font-size: 0.8rem; */
        white-space: normal;
        overflow: unset;
    }

    #xploo-explanation-title {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

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

    .feature {
        padding: 1.5rem;
    }

    .landing-features > h2 {
        font-size: 2rem;
    }

    .landing-section {
        flex-direction: column !important;
        text-align: center;
        gap: 2rem;
    }

    .landing-section .landing-image {
        width: 100%;
    }
    .partner-logo {
        height: 50px;
    }
    .trophy-image {
        height: 100px;
    }
}

@media (max-width: 768px) {
    .partners-text {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 480px) {
    #hero-section {
        background-position: center center;
    }
}