/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.global-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-52%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(185, 135, 249, 0.4) 0%, rgba(185, 135, 249, 0) 70%);
    z-index: 0;
    pointer-events: none;
    animation: glow-pulse 6s infinite alternate;
}

html,
body {
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ===== HEADER SECTION ===== */
header {
    background-color: #010114;
    top: 0;
    z-index: 100;
    padding: 1.5rem 3rem;
    color: white;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 20px;
    width: auto;
}

.nav-container {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    text-decoration: none;
    color: grey;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #9c78ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #9c78ff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.download-icon a {
    color: white;
    font-size: 1.3rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-icon a:hover {
    color: #9c78ff;
}

.download-icon span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger div {
    width: 25px;
    height: 2px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        position: relative;
        justify-content: center;
        /* Center logo */
    }

    .nav-container {
        display: none;
        /* Hide desktop nav */
    }

    .download-icon {
        display: none;
        /* Hide download icon */
    }

    /* Mobile menu styles when active */
    .nav-container.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #010114;
        z-index: 100;
        padding-top: 5rem;
    }

    .mobile-glow {
        position: absolute;
        top: -10%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, rgba(185, 135, 249, 0.4) 0%, rgba(185, 135, 249, 0) 70%);
        z-index: 1;
        animation: glow-pulse 6s infinite alternate;
    }

}

/* ===== HERO SECTION ===== */
.hero {
    background-color: #010114;
    position: relative;
    background-size: 500px;
    color: white;
    padding: 10rem 2rem;
    text-align: center;
    overflow: visible;
}

/* Desktop Content */
.hero-content.desktop {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    display: block;
}

.hero-content.desktop h1 {
    font-size: 4.0rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-content.desktop .icon {
    font-size: 1.2rem;
    margin-right: 10px;
    vertical-align: middle;
    color: #b987f9;
}

.hero-content.desktop p {
    margin: 1.5rem 0;
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
}

/* Desktop Decorative Elements */
.hero-glow {
    position: absolute;
    bottom: 10;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(184, 135, 249, 0.43) 0%, rgba(185, 135, 249, 0) 70%);
    z-index: 0;
    animation: glow-pulse 6s infinite alternate;
    pointer-events: none;
}

.hero-ellipse-back {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

.hero-ellipse-front {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 700px;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    opacity: 1;
}

.highlight.blue {
    color: #8a6aff;
}


.hero-star {
    position: absolute;
    top: 42%;
    right: 23%;
    width: 50px;
    height: auto;
    z-index: 2;
    animation: star-blink 2s infinite alternate;
    pointer-events: none;
}

.hero-stars {
    position: absolute;
    top: 65%;
    left: 20%;
    width: 30px;
    height: auto;
    z-index: 2;
    animation: star-blink 2s infinite alternate;
    pointer-events: none;
}

/* CTA Button */
.cta {
    background: transparent;
    border: 1px solid white;
    color: white;
    margin-top: 70px;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta:hover {
    background: white;
    color: #0d0d0f;
}

.fancy-anim .char {
    display: inline-block;
    opacity: 0.2;
    transform: translateY(20px);
}

/* Mobile Elements (hidden by default) */
.Mobile-hero-ellipse-front,
.mobile-hero-image,
.Mobile-hero-Plane,
.hero-content.mobile {
    display: none;
}


/* ===== MOBILE VERSION ===== */
@media (max-width: 768px) {
    .hero {
        padding: 0.1rem 1.1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-height: 90vh;
    }

    /* Hide desktop elements */
    .hero-glow,
    .hero-ellipse-front,
    .hero-ellipse-back,
    .hero-star,
    .hero-stars,
    .hero-content.desktop {
        display: none;
    }

    /* Show mobile elements */
    .Mobile-hero-ellipse-front,
    .mobile-hero-image,
    .Mobile-hero-Plane,
    .hero-content.mobile {
        display: block;
    }

    .Mobile-hero-Plane {
        top: 13%;
        left: 13%;
        position: absolute;
        z-index: 2;
    }

    .Mobile-hero-ellipse-front {
        position: absolute;
        top: calc(13% * (100vw / 395));
        right: calc(5% * (100vw / 395));
        width: calc(395px * 1.5 * (100vw / 395));
        /* 150% of parent */
        max-width: 380px;
        margin: 0 auto 2.5rem;
        filter: drop-shadow(0 0 calc(100px * (100vw / 395)) rgba(185, 135, 249, 0.7));
        z-index: 1;
        pointer-events: none;
        opacity: 1;
        transform-origin: right top;
        /* Scale from top-right corner */
    }


    /* Mobile image */
    .mobile-hero-image {
        width: 100%;
        max-width: 280px;
        margin: 0 auto 2.5rem;
        filter: drop-shadow(0 0 15px rgba(185, 135, 249, 0.3));
    }

    /* Mobile content */
    .hero-content.mobile {
        width: 100%;
    }

    .hero-content.mobile h1 {
        font-size: 2rem;
        letter-spacing: -0.2px;
        line-height: 1.3;
        margin-bottom: 1.2rem;
        font-weight: 700;
    }

    .hero-content.mobile .icon {
        width: 24px;
        height: 24px;
        margin-bottom: 0.5rem;
    }

    .hero-content.mobile p {
        font-size: 1rem;
        margin: 1.5rem 0;
        color: rgba(255, 255, 255, 0.85);
        line-height: 1.5;
    }

    .hero-content.mobile .cta {
        background: transparent;
        border: 1px solid white;
        color: white;
        margin-top: 30px;
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
        font-weight: bold;
        cursor: pointer;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .hero-content.mobile .cta:hover {
        background: white;
        color: #0d0d0f;
    }

    /* Highlight colors */
    .highlight.blue {
        color: #6ab7ff;
    }

    .highlight.purple {
        color: #b987f9;
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
        min-height: 85vh;
    }

    .mobile-hero-image {
        max-width: 220px;
        margin-bottom: 2rem;
    }

    .hero-content.mobile h1 {
        font-size: 1.7rem;
    }

    .hero-content.mobile p {
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

@keyframes star-blink {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* ===== FEATURES SECTION ===== */
.features-section {
    position: relative;
    background: #010114;
    color: white;
    text-align: center;
    overflow: visible;
}

/* Sliding Frame */
.features-section__sliding-container {
    width: 100%;
    height: 180px;
    margin: -1px 0;
    overflow: hidden;
    position: relative;
}



.features-section__sliding-track {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 60px;
    padding-left: 30px;
    position: relative;
    z-index: 3;
    animation: slide 20s linear infinite;
    will-change: transform;
}

.features-section__sliding-item {
    width: 15%;
    /* Reduced from 20% */
    height: auto;
    aspect-ratio: 3/4;
    /* Maintains card proportions (width:height) */
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    flex-shrink: 0;
}

/* Background Elements */
.features-section__background {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-rows: repeat(4, auto);
    row-gap: 100px;
    width: 100%;
    max-width: 1250px;
    z-index: 1;
    pointer-events: none;
}

.features-section__background-item {
    opacity: 0;
    transform: translateY(20px);
}

.opacity-100 {
    --final-opacity: 1;
}

.opacity-75 {
    --final-opacity: 0.75;
}

.opacity-50 {
    --final-opacity: 0.5;
}

.opacity-25 {
    --final-opacity: 0.25;
}

/* Content */
.features-section__content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 200px;
}

.features-heading {
    font-size: 1.6rem;
    line-height: 2.4rem;
    max-width: 90%;
    margin: 0 auto;
    font-weight: 500;
    color: #fff;
    text-align: center;
    word-break: break-word;
    overflow-wrap: break-word;
}

.fancy-anim .char {
    display: inline-block;
    white-space: pre;
    color: rgba(255, 255, 255, 0.3);
    /* start faded */
    transition: color 0.2s ease-out;
}

.show-mobile {
    display: none;
}

.show-desktop {
    display: block;
}

/* Character animation adjustments */
.char {
    display: inline;
    white-space: normal;
    word-break: normal;
}

@media (max-width: 480px) {
    .features-heading {
        font-size: 1.2rem;
        line-height: 1.8rem;
        padding: 0 16px;
    }
}

.blue-text {
    color: #6ab7ff !important;
    -webkit-text-fill-color: #6ab7ff !important;
}

.features-heading.fancy-anim {
    white-space: normal;
    line-height: 1.3;
}

.features-heading.fancy-anim br {
    display: none;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 30px));
    }
}

/* Responsive */
@media (max-width: 768px) {

    .show-desktop {
        display: none;
    }

    .show-mobile {
        display: block;
    }

    .features-section__sliding-container {
        display: none;
    }

    .features-section__background {
        top: 30px;
        row-gap: 60px;
    }

    .features-section__content {
        padding-top: 220px;
        padding-bottom: 40px;
    }

    .features-heading {
        font-size: 1.2rem;
        line-height: 1.7rem;
        padding: 0 1.5rem;
    }

    .features-heading.fancy-anim br {
        display: inline;
    }

    .highlighted::after {
        height: 1px;
        bottom: -1px;
    }
}


/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    background-color: #010114;
    position: relative;
    padding: 190px 0;
    text-align: center;
    overflow: hidden;
}

.how-it-works__wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

.how-it-works__bg {
    position: absolute;
    top: -90px;
    left: 50%;
    width: 550px;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
}

.how-it-works__phone {
    position: relative;
    z-index: 2;
    width: 240px;
    margin-bottom: 90px;
}

.how-it-works__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px 13px;
    max-width: 900px;
    margin: -100px auto 0;
    /* ⬅️ shifted up */
    position: relative;
    z-index: 2;
}

.feature-card {
    padding: 29px;
    position: relative;
    border-radius: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: none;
    background: #010114;
    /* Fully opaque dark background */
}

.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: white;
    font-weight: 500;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    font-size: 0.95rem;
}

.how-it-works__glow {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: url('../image/Glow.png') no-repeat center center;
    background-size: contain;
    z-index: 1;
    pointer-events: none;
    opacity: 1;
}

/* Default state */
.how-it-works__Regulated-banking,
.how-it-works__Global-usage,
.how-it-works__virtual-card,
.how-it-works__multi-currency {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    z-index: 2;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}


/* Hover states */
.feature-card:nth-child(1):hover~.how-it-works__phone,
.feature-card:nth-child(2):hover~.how-it-works__phone,
.feature-card:nth-child(3):hover~.how-it-works__phone,
.feature-card:nth-child(4):hover~.how-it-works__phone {
    opacity: 0;
    visibility: hidden;
}

.feature-card:nth-child(1):hover~.how-it-works__multi-currency {
    opacity: 1;
    visibility: visible;
}

.feature-card:nth-child(1):hover~.how-it-works__virtual-card {
    opacity: 1;
    visibility: visible;
}

.feature-card:nth-child(1):hover~.how-it-works__Global-usage {
    opacity: 1;
    visibility: visible;
}

.feature-card:nth-child(1):hover~.how-it-works__Regulated-banking {
    opacity: 1;
    visibility: visible;
}

.crypto-badge {
    position: absolute;
    width: 80px;
    height: auto;
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Top */
.crypto-top-left {
    top: 30%;
    left: 30%;
}

.crypto-top-right {
    top: 30%;
    right: 30%;
}

/* Bottom */
.crypto-bottom-left {
    top: 40%;
    left: 15%;
}

.crypto-bottom-right {
    top: 40%;
    right: 15%;
}

.card-badge {
    position: absolute;
    width: 80px;
    height: auto;
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.card-left {
    top: 30%;
    left: 25%;
}

.card-right {
    top: 30%;
    right: 25%;
}

.global-badge {
    position: absolute;
    width: 70px;
    height: auto;
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.global-top-left {
    top: 25%;
    left: 28%;
}

.global-top-right {
    top: 25%;
    right: 28%;
}

.global-bottom-left {
    top: 40%;
    left: 20%;
}

.global-bottom-right {
    top: 40%;
    right: 20%;
}

.bank-badge {
    position: absolute;
    width: 70px;
    height: auto;
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bank-left {
    top: 35%;
    left: 26%;
}

.bank-right {
    top: 35%;
    right: 26%;
}




@media (max-width: 768px) {

    .how-it-works__glow {
        width: 400px;
        /* Smaller size for mobile */
        height: 400px;
        top: 10%;
        /* Adjusted positioning */
        opacity: 0.8;
        /* Slightly reduced opacity */

    }

    .how-it-works__Regulated-banking,
    .how-it-works__Global-usage,
    .how-it-works__virtual-card,
    .how-it-works__multi-currency {
        width: 180px;
        /* Smaller image on mobile */
        top: 17%;
        /* Adjusted vertical position */
    }

    .how-it-works {
        padding: 90px 1.1rem;
    }

    .how-it-works__grid {
        grid-template-columns: 1fr;
        margin: -70px auto 0;

    }

    .how-it-works__phone {
        width: 180px;
        margin-bottom: 60px;
    }

    .how-it-works__bg {
        width: 400px;
    }

    .crypto-badge,
    .card-badge,
    .global-badge,
    .bank-badge {
        display: none !important;
    }
}

/* ===== USE CASES SECTION ===== */
.use-cases {
    background: #010114;
    color: white;
    text-align: center;
    position: relative;
    margin-top: -40px;
    padding-bottom: 100px;
}

.use-cases__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    -webkit-background-clip: text;
    background-clip: text;
}

.use-cases__grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.use-case {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 60px 25px 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    margin-top: 40px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.use-case::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.use-case__icon {
    width: 100px;
    height: 100px;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    object-fit: contain;
}

.glow-purple {
    filter: drop-shadow(0 0 20px rgba(185, 135, 249, 0.7));
}

.glow-blue {
    filter: drop-shadow(0 0 20px rgba(100, 210, 255, 0.7));
}

.glow-green {
    filter: drop-shadow(0 0 20px rgba(100, 255, 180, 0.7));
}

.use-case p {
    font-size: 1.2rem;
    line-height: 1.5;
    font-weight: 500;
    margin: 0;
}

.use-case:hover {
    transform: scale(1.05) translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 15px 35px rgba(185, 135, 249, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .use-cases {
        padding: 40px 20px;
    }

    .use-cases__grid {
        gap: 20px;
    }

    .use-case {
        min-width: 100%;
        max-width: 100%;
        margin-top: 50px;
    }

    .use-case__icon {
        width: 100px;
        height: 100px;
        top: -50px;
    }
}

.introduction {
    background: #010114;
    color: white;
    padding: 30px 30px;
    text-align: center;
    position: relative;
    /* IMPORTANT so .waveline-bg can be absolutely positioned inside */
    z-index: 1;
}

.introduction__title {
    font-size: 2.5rem;
    margin-bottom: 10rem;
    text-align: center;
}

.introduction__container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.introduction__content {
    flex: 1 1 500px;
    text-align: left;
}

.intro-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #ddd;
}

.introduction__wrapper {
    margin-top: 30px;
    padding: 24px 39px;
    background: linear-gradient(to right,
            rgba(185, 135, 249, 0.25) 0%,
            rgba(185, 135, 249, 0.15) 60%,
            rgba(185, 135, 249, 0.0) 100%);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: visible;
    margin-right: -380px;
    /* Pulls the gradient outward */
    padding-right: 400px;
    /* Keeps original content padding */
}


.intro-key {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #fff;
}

.intro-list {
    list-style: none;
    padding-left: 0;
    line-height: 1.8;
    font-size: 0.95rem;
    color: #f0f0f0;
}

.intro-list li::before {
    content: '•';
    color: #b987f9;
    margin-right: 8px;
    font-weight: bold;
}

.introduction__image {
    text-align: center;
    margin-top: -80px;
    position: relative;
}

/* Base token image */
.introduction__image img:first-child {
    width: 200%;
    max-width: 400px;
    filter: drop-shadow(0 0 40px rgba(162, 120, 255, 0.4));
    z-index: 1;
    position: relative;
}


.introduction__image img:nth-child(2) {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.2);
    width: 150%;
    max-width: 1000px;
    z-index: 2;
    pointer-events: none;
}

.introduction__image img:nth-child(3) {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.05);
    width: 60%;
    max-width: 600px;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.15));
}

.introduction__image img:nth-child(4) {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.3);
    width: 70%;
    max-width: 1000px;
    z-index: 4;
    pointer-events: none;
    mix-blend-mode: screen;
    /* Optional: helps achieve glow effect */

}

.introduction__image img:nth-child(5) {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.3);
    width: 50%;
    max-width: 1000px;
    z-index: 5;
}

.introduction__image img[alt="Token"] {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translate(-50%, -50%) translateY(0px) rotate(0deg);
    }

    25% {
        transform: translate(-50%, -50%) translateY(-10px) rotate(1deg);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-5px) rotate(-1deg);
    }

    75% {
        transform: translate(-50%, -50%) translateY(-15px) rotate(1deg);
    }

    100% {
        transform: translate(-50%, -50%) translateY(0px) rotate(0deg);
    }
}

@media (max-width: 768px) {
    .introduction {
        padding: 40px 20px;
    }

    .introduction__title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .introduction__container {
        flex-direction: column;
        gap: 20px;
    }

    .introduction__content {
        flex: 1 1 100%;
        text-align: center;
    }

    .intro-desc {
        text-align: center;
    }

    .introduction__wrapper {
        margin-right: 0;
        padding-right: 24px;
        margin-top: 20px;
        padding: 20px;
        border-radius: 20px !important;
        border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .intro-list {
        text-align: left;
        padding-left: 20px;
    }

    .introduction__image {
        order: -1;
        position: relative;
        width: 100%;
        max-width: 320px;
        height: 320px;
        margin-bottom: 40px;
        margin: 0 auto 40px auto;
    }

    .introduction__image img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 90%;
        height: auto;
        pointer-events: none;
    }

    .introduction__image img:nth-child(1) {
        z-index: 1;
        width: 110%;
        max-width: 320px;
        opacity: 0.85;
    }

    .introduction__image img:nth-child(2) {
        z-index: 2;
        width: 200%;

        max-width: 500px;
        /* Optional cap */
    }

    .introduction__image img:nth-child(3) {
        /* Number Layer */
        z-index: 3;
        width: 100%;
        /* Increased from 70% */
        max-width: 280px;
        top: 80%;
        /* Optional: limit max size if needed */
    }

    .introduction__image img:nth-child(4) {
        /* Number Layer */
        z-index: 4;
        width: 100%;
        /* Increased from 70% */
        max-width: 280px;
        /* Optional: limit max size if needed */
        top: 70%;
    }

    .introduction__image img:nth-child(5) {
        /* Number Layer */
        z-index: 5;
        width: 70%;
        /* Increased from 70% */
        max-width: 280px;
        /* Optional: limit max size if needed */

    }
}

.why-taptap {
    background: #010114;
    padding: 20px 20px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.why-taptap__title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.why-taptap__logo {
    height: 30px;
    /* Adjust as needed to align with text */
    vertical-align: middle;
    transform: translateY(4px);
}

.highlight {
    color: #ffffff;
    font-weight: 700;
}

.why-taptap__reasons {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
}

.reason-box {
    display: inline-block;
    background-color: #1a1330;
    /* dark solid color */
    color: #ffffff;
    border-radius: 16px;
    padding: 14px 20px;
    border: 1px solid #2f2f3a;
    /* solid border, avoid rgba transparency */
    font-size: 1rem;
    line-height: 1.6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
    /* ensure it's above the wave */
}


.reason-box:hover {
    transform: scale(1.50);
    /* 👈 Enlarges on hover */
    box-shadow: 0 8px 20px rgba(185, 135, 249, 0.15);
    /* Optional glow */
}

.waveline-bg {
    position: absolute;
    top: 150px;
    /* 👈 move the wave image down */
    left: 0;
    width: 100%;
    height: auto;
    z-index: 0;
    pointer-events: none;
    opacity: 0.2;
}

@media (max-width: 768px) {
    .why-taptap {
        padding: 40px 15px;
    }

    .waveline-bg {
        position: absolute;
        top: auto;
        bottom: 0;
        /* Stick to bottom */
        left: 0;
        width: 100%;
        opacity: 0.2;
        /* Optional: reduce visibility if needed */
        transform: translateY(40%);
        /* Adjust vertical position */
    }

    /* Push content up if wave overlaps */
    .introduction__container {
        margin-bottom: 20px;
    }

    .why-taptap__title {
        flex-direction: column;
        /* Stack text and logo vertically */
        font-size: 1.8rem;
        margin-bottom: 30px;
        gap: 5px;
        /* Reduce gap between text and logo */
    }

    .why-taptap__logo {
        height: 25px;
        /* Slightly smaller logo for mobile */
        transform: translateY(0);
        /* Reset vertical alignment */
        margin-top: 5px;
        /* Space between "Why" and logo */
    }

    .why-taptap__reasons {
        gap: 16px;
        /* Reduced gap between boxes */
    }

    .reason-box {
        width: 100%;
        /* Full width boxes on mobile */
        padding: 12px 16px;
        font-size: 0.9rem;
        text-align: center;
    }

    .reason-box:hover {
        transform: scale(1.05);
        /* More subtle hover effect on mobile */
    }
}

.how-to-use {
    background: #010114;
    padding: 80px 20px;
    text-align: center;
}

.how-to-use__card {
    background: #8f5ef9;
    border-radius: 40px;
    max-width: 700px;
    margin: 0 auto;
    padding: 50px 30px;
    color: white;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease;
    transform-origin: center;
    will-change: transform;
    cursor: default;
}

.how-to-use__card:hover {
    transform: scale(1.08);
    /* 👈 Stronger and smoother enlargement */
    box-shadow: 0 20px 40px rgba(143, 94, 249, 0.35);
    /* Bigger glow */
}

.how-to-use__title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.how-to-use__logo {
    height: 24px;
    transform: translateY(3px);
}

.how-to-use__steps {
    font-size: 1rem;
    line-height: 1.8;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.how-to-use__steps span {
    position: relative;
    padding: 0 10px;
}

.how-to-use__steps span:not(:last-child)::after {
    content: "→";
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.7);
}


@media (max-width: 768px) {
    .how-to-use {
        padding: 40px 15px;
    }

    .how-to-use__card {
        padding: 25px 20px;
        border-radius: 20px;
        max-width: 100%;
    }

    .how-to-use__title {
        flex-direction: column;
        font-size: 1.3rem;
        gap: 4px;
        margin-bottom: 15px;
    }

    .how-to-use__logo {
        height: 18px;
        margin-top: 3px;
    }

    .how-to-use__steps {
        font-size: 0.88rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    .how-to-use__steps br {
        display: none;
    }

    .how-to-use__steps {
        gap: 4px;
    }

    .how-to-use__steps span {
        display: block;
        position: relative;
        padding: 6px 0;
    }

    .how-to-use__steps span:not(:last-child)::after {
        content: "↓";
        display: block;
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.6);
        margin: 2px 0;
        text-align: center;
    }

    .how-to-use__card:hover {
        transform: scale(1.02);
    }
}

.tap2-cta {
    background: #ffffff;
    text-align: center;
    padding: 60px 20px;
    color: #111111;
}

.tap2-cta__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.tap2-cta__subtitle {
    font-size: 1rem;
    color: #333333;
    margin-bottom: 32px;
    line-height: 1.6;
}

.tap2-cta__buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid #111111;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #111111;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    background: #f2f2f2;
}

.cta-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .tap2-cta {
        padding: 50px 15px;
    }

    .tap2-cta__title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .tap2-cta__subtitle {
        font-size: 0.9rem;
        margin-bottom: 24px;
        line-height: 1.5;
    }

    .tap2-cta__subtitle br {
        display: none;
    }

    .tap2-cta__buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 260px;
        justify-content: center;
        padding: 14px 20px;
    }

    .cta-button:hover {
        transform: scale(1.02);
    }
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0e1111;
    padding: 50px 40px;
    color: #ccc;
    flex-wrap: wrap;
}

.footer__left a {
    margin-right: 50px;
    font-size: 0.85rem;
    text-decoration: none;
    color: #ccc;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.footer__left a:hover {
    color: #ffffff;
}

.footer__right a {
    margin-left: 20px;

}

.footer__right img {
    width: 20px;
    height: 20px;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer__right img:hover {
    opacity: 1;
}


@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
        gap: 25px;
    }

    .footer__left {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .footer__left a {
        margin-right: 0;
        font-size: 0.9rem;
        padding: 8px 0;
    }

    .footer__right {
        display: flex;
        justify-content: center;
        gap: 20px;
        width: 100%;
    }

    .footer__right a {
        margin-left: 0;
    }

    .footer__right img {
        width: 24px;
        height: 24px;
    }
}