/* General Resets & Body Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #fff;
}

/* Keyframe Animations from tailwind.config.js */
@keyframes moving {
    0% {
        transform: translateX(0px);
    }

    20% {
        transform: translateX(-50px);
    }

    50% {
        transform: translateX(-40px);
    }

    100% {
        transform: translateX(0px);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes float-up {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Animations to replicate Framer Motion */
@keyframes slide-in {
    from {
        transform: rotate(-90deg) translateY(200px);
        opacity: 0;
    }

    to {
        transform: rotate(0) translateY(0);
        opacity: 1;
    }
}

@keyframes slide-out {
    from {
        transform: rotate(0) translateY(0);
        opacity: 1;
    }

    to {
        transform: rotate(90deg) translateY(-200px);
        opacity: 0;
    }
}

.slide-motion-wrapper.is-exiting {
    animation: slide-out 0.8s ease-in-out forwards;
}

.slide-motion-wrapper.is-entering {
    animation: slide-in 0.8s ease-in-out forwards;
}


/* Main Section Styles */
#home {
    padding-top: 75px;
    padding-bottom: 15px;
}

#main-banner {
    margin: 0 0.5rem;
    /* mx-2 */
    position: relative;
    z-index: 10;
    background: linear-gradient(284.05deg, #EBD1FF 8.66%, rgba(244, 233, 252, 0.54) 92.88%);
    background-size: 200% 200%;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    color: white;
    padding: 10px;
    border-radius: 20px;
    overflow: hidden;
    animation: gradientShift 6s ease infinite;
}

.banner-container {
    max-width: 1230px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

/* Left & Right Area Layout */
.slider-area {
    display: none;
    /* hidden on mobile */
    position: relative;
    z-index: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 0 10px;
}

.content-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Header and Logo Styles */
.content-header {
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
}

.typed-text-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
    height: 60px;
    /* Fixed height to prevent layout shift */
}

.typed-text-container h1 {
    font-size: 40px;
    font-weight: 700;
    color: #5f29c5;
}

/* Typed.js specific styles */
#typed-element {
    font-size: 20px;
    text-align: center;
    font-weight: 700;
    color: black;
}

.typed-cursor {
    font-size: 20px;
    color: black;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 20px;
}

.logo-wrapper {
    position: relative;
    width: 45px;
    height: 45px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-container h2 {
    font-size: 40px;
    font-weight: 700;
    color: #5f29c5;
}

/* Platform Navigation Links */
.platform-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 1rem;
}

.platform-link {
    position: relative;
    width: 100px;
    height: 35px;
    border-radius: 0.375rem;
    overflow: hidden;
}

.platform-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.375rem;
}

/* Slider Layer Styles */
.slider-figure {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-motion-wrapper {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.slide-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

/* Positioning for each slider layer (from wrapperClass) */
.slider-figure[data-name="mini"] {
    animation: moving 9s linear infinite;
}

.slider-figure[data-name="mini1"] {
    bottom: -25%;
    animation: moving 9s linear infinite;
}

.slider-figure[data-name="main"] {
    position: relative;
    /* Overrides absolute */
    z-index: 0;
    animation: float-up 2s ease-in-out infinite;
}

.slider-figure[data-name="bottom"] {
    left: 70%;
    bottom: 10%;
}

.slider-figure[data-name="bottom1"] {
    left: 70%;
    bottom: -25%;
}

/* Responsive Styles (lg breakpoint at 1024px) */
@media (min-width: 1024px) {
    #home {
        padding-top: 100px;
        padding-left: 50px;
        padding-right: 50px;
        padding-bottom: 50px;
    }

    #main-banner {
        height: 600px;
        padding: 40px;
    }

    .banner-container {
        flex-direction: row;
    }

    .slider-area {
        display: block;
        /* Show on desktop */
        width: 55%;
    }

    .content-area {
        width: 45%;
        align-items: flex-start;
    }

    .typed-text-container {
        height: 120px;
        /* Taller for larger font */
    }

    #typed-element,
    .typed-cursor {
        font-size: 40px;
    }

    .logo-container h2 {
        font-size: 50px;
    }

    .platform-link {
        width: 33.33%;
        aspect-ratio: 3 / 1;
        height: auto;
    }
}

/* --- General & Layout --- */
:root {
    --color-1: #f2fce4;
    --color-2: #fff3ff;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    margin: 0;
    color: #333;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.justify-content-center {
    justify-content: center;
}

.col-md-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-xl-12 {
    width: 100%;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}


/* --- Spacing & Sizing --- */
.pt-50 {
    padding-top: 50px;
}

.pb-50 {
    padding-bottom: 50px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-55 {
    margin-bottom: 55px;
}

/* --- Text & Headers --- */
.section-header {
    text-align: center;
}

.section-title-lg {
    font-weight: 700;
    font-size: 20px;
}

.section-header p {
    font-size: 15px;
    min-height: 30px;
    color: #555;
}

/* --- Payment Card Styles --- */
.tp-payment-area {
    overflow-x: hidden;
    /* Prevent horizontal scroll from overflowing images */
}

.tp-payment-item {
    position: relative;
    z-index: 1;
    padding: 30px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(284.05deg, #ebd1ff 8.66%, #f4e9fc8a 92.88%);
}

/* Specific background colors for cards */
.tp-payment-bg-color-2 {
    background: linear-gradient(142.23deg, #f3f8ff 7.63%, #cedbff 99.01%);
    min-height: 300px;
}

.tp-payment-bg-color-3 {
    background: linear-gradient(142.23deg, #d7eff3 7.63%, #c9f8ff 99.01%),
        linear-gradient(142.23deg, #fff7f1 7.63%, #fae9ef 99.01%);
    min-height: 330px;
}
.tp-payment__shape-2 img{
    opacity: 40%;
}

.tp-payment-item .tp-payment-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.tp-payment-item ol {
    margin-left: 1rem;
    padding-left: 1rem;
    /* Adjust for better alignment */
    list-style: decimal;
}

.tp-payment-item li {
    font-weight: 500;
    /* font-medium */
    margin-bottom: 8px;
}


/* --- Shape Image Positioning --- */
[class*="tp-payment__shape-"] {
    position: absolute;
    z-index: -1;
}

[class*="tp-payment__shape-"] img {
    max-width: 100%;
    height: auto;
}

/* Card 1 Shapes */
.tp-payment__shape-5 {
    width: 60%;
    bottom: -20px;
    right: -20px;
}

.tp-payment__shape-8 {
    width: 60%;
    left: -12%;
    bottom: -12%;
}

/* Card 2 Shapes */
.tp-payment__shape-9 {
    width: 40%;
    bottom: -2.25rem;
    right: -12px;
}

.tp-payment__shape-11 {
    width: 40%;
    left: 0;
    bottom: 0;
}

/* Card 3 Shapes */
.tp-payment__shape-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.tp-payment__shape-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.tp-payment__shape-3 {
    position: absolute;
    bottom: -5%;
    right: 0;
    width: 60%;
}


/* --- Online Shop Card (Box 3) --- */
.online-shop-card {
    height: 100%;
}

.online-shop-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 40px;
}

.online-shop-image-area {
    position: relative;
    height: 300px;
}

.online-shop-image-wrapper {
    width: 200px;
    height: 100%;
    position: absolute;
    bottom: -100px;
    right: -20px;
}

.online-shop-image-wrapper img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

/* --- Responsive Adjustments --- */
@media (min-width: 768px) {

    /* md */
    .section-title-lg {
        font-size: 30px;
    }

    .section-header p {
        font-size: 20px;
        min-height: 40px;
    }

    .tp-payment-bg-color-2 {
        min-height: 325px;
    }

    .tp-payment-item .tp-payment-title {
        font-size: 25px;
    }

    .tp-payment__shape-3 {
        width: 50%;
        right: 30%;
        bottom: -10%;
    }

    .online-shop-image-wrapper {
        bottom: -150px;
    }
}

@media (min-width: 992px) {

    /* lg */
    .section-title-lg {
        font-size: 40px;
    }

    .section-header p {
        font-size: 25px;
        min-height: 50px;
    }

    .tp-payment-bg-color-2,
    .tp-payment-bg-color-3 {
        min-height: 460px;
    }

    .tp-payment-item .tp-payment-title {
        font-size: 30px;
    }

    .tp-payment__shape-5,
    .tp-payment__shape-8 {
        width: 50%;
    }

    .tp-payment__shape-3 {
        width: 40%;
        right: 40%;
        bottom: -100px;
    }

    .online-shop-image-wrapper {
        width: 350px;
        right: 97px;
        bottom: -100px;
    }
}