/* Hero Section Base */
.hero-section {
    min-height: 100vh;
    width: 100%;
    border-radius: 0 0 40px 40px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
    /* background:radial-gradient(circle, white 0%, rgb(255 255 255 / 0%) 40%,
                 rgb(152 196 245 / 7%) 80%, rgb(3 105 219 / 18%) 100%); */
    background: var(--hero-bg-gradient);
    position: relative;
    overflow: hidden;
    padding-top: 2rem;
}

/* Hero Top Purple Overlay - for top 30% of hero section */
.hero-top-purple-overlay {
    position: relative;
    z-index: 0;
}


/* Responsive adjustments for purple overlay height */
/* Tablet screens */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-top-purple-overlay::before {
        height: 16%;
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    .hero-top-purple-overlay::before {
        height: 20%;
    }
}


/* Main Content Layout */
.hero-content {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
    padding: clamp(1rem, 2vw, 2rem);
}


/* Content wrapper with flexbox */
.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Distributes space evenly */
    gap: clamp(20px, 4vh, 40px);
    /* Consistent gap between sections */
}

/* Tagline Container */
.hero-tagline-container {
    width: 100%;
    text-align: center;
    padding: 2rem 0 0 0;
    position: relative;
    z-index: 2;
}

#hero-tagline {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 2rem 0 2rem;
    font-family: 'Zen Dots', cursive;
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: var(--text-color);
    text-align: center;
    opacity: 1;
    margin: 0;
}



/* Business Types and Animation Layout */
.hero-left {

    min-width: 390px;
    padding: 2rem 1rem;
    margin-top: 80px;
    background: var(--card-background);
    backdrop-filter: var(--card-blur);
    box-shadow: var(--card-shadow);
    border-radius: 10px;

}

.business-content {
    flex: 1;
    max-width: 450px;
    /* Increased to prevent text truncation */
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
}

.business-type-content {
    text-align: center;
}

.business-type-content h3 {
    margin: 0 auto;
    text-align: center;
    display: block;
}

.intro-text,
.outro-text {
    font-family: 'Parkinsans', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    color: #ffffff;
    padding: 10px 0;

}

/* Specific outro-text variations */
.outro-text.features-description {
    font-size: .81rem;
    color: var(--text-color);
    text-align: center;
    max-width: 340px;
}

.outro-text.platform-description {
    margin-top: 20px;
    font-size: .8rem;
}

.outro-text.platform-description .free-offer {
    font-weight: bold;
    color: var(--text-color);
    margin-top: 10px;
    display: inline-block;
}

.business-type-container {
    position: relative;
    height: 60px;
    /* Responsive height */
    overflow: hidden;
}

/* New semantic list styling */
.business-types-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    height: 100%;
}



/* Legacy support for any remaining divs */
.business-word {
    position: absolute;
    right: 0;
    width: 100%;
    text-align: center;
    font-family: 'Zen Dots', cursive;
    font-size: 2.5rem;
    /* Responsive font size */
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    transform: translateY(100%);
    white-space: nowrap;
    /* Prevent word wrapping */
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lottie Animation Container */
#animation-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}


#dotlottie-canvas {
    width: 525px !important;
    height: 525px !important;
    aspect-ratio: 1;
    display: block;
    object-fit: contain;
    margin: 0 auto;
}




/* Buttons */
.try-now-btn,
.features-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: .75rem 2rem;
    border-radius: 30px;
    font-family: 'Zen Dots';
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    letter-spacing: 2px;

}

.try-now-btn:hover,
.features-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(142, 45, 226, 0.3);
}


/* Key Features Rotating Section */
.key-features-section {
    width: 100%;
    margin: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.key-features-content {
    text-align: center;
    width: 100%;

}

.key-features-intro,
.key-features-outro {
    font-family: 'Parkinsans', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #ffffff;
    padding: 10px 0;
    margin: 0;
}

.key-features-container {
    position: relative;
    height: 30px;
    margin: 1rem 0;
}

/* New semantic list styling */
.key-features-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    height: 100%;
}

.key-features-list .key-feature-word {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    font-family: 'Zen Dots', cursive;
    font-size: 2.5rem;
    color: var(--text-color);
    opacity: 0;
    transform: translateY(100%);
    line-height: 1.2;
}

/* Legacy support for any remaining divs */
.key-feature-word {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    font-family: 'Zen Dots', cursive;
    font-size: 2.5rem;
    color: var(--text-color);
    opacity: 0;
    transform: translateY(100%);
    line-height: 1.2;
}


@media (max-width: 991px) {
    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }

    #hero-tagline {
        font-size: 2rem;
        padding: 1rem;
    }


    .business-type-content {
        text-align: center;
    }

    .business-word {
        text-align: center;
        font-size: 2.5rem;
    }


    .features-list {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 480px) {

    #hero-tagline {
        font-size: 1.5rem;
        padding: 0 .5rem;
        line-height: 1.4;
    }

    /* Business Types and Animation Layout */
    .hero-left {

        min-width: 320px;
        padding: 1rem 1rem;
        margin-top: 0px;

    }


    .intro-text,
    .outro-text {
        font-size: .75rem;

    }

    .business-type-container {
        height: 50px;
    }

    .business-word {
        font-size: 1.3rem;
        line-height: 1.2;
    }

    .outro-text.features-description
    {
          max-width: 275px;
    }

    .outro-text.platform-description {
        margin-top: 0px;
    }

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

    #dotlottie-canvas {
        width: 300px !important;
        height: 300px !important;
    }

    .try-now-btn,
    .features-btn {
        padding: .75rem 1.2rem;
        font-size: .65rem;

    }
}


.features-button-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Style for the show features button */
.show-features-btn.plan-button {
    background: linear-gradient(45deg, #4A00E0, #8E2DE2, #FF0080);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-family: 'Zen Dots', cursive;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-features-btn.plan-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(142, 45, 226, 0.5);
}

.show-features-btn {
    opacity: 1;
    transform: scale(1);
}



/* Feature Item Styling in Horizontal Scroll */

.infinite-horizontal-scroll-section {
    bottom: 1rem;
}

/* Disable CSS animation - using GSAP instead */
.hero-section .scroll-line {
    animation: none;
    /* GSAP will handle the animation */
}

.scroll-item .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.scroll-item .feature-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    padding: 8px;

}

.scroll-item .feature-item span {
    font-family: 'Zen Dots', cursive;
    color: var(--text-color);
    font-size: 1rem;
    text-align: center;
    width: 130px;
    white-space: normal;
    word-break: break-word;
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}




/* Media Queries */
@media (max-width: 768px) {
    .grid-overlay {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        grid-auto-rows: 100px;
        gap: 10px;
    }

    .content-wrapper {
        gap: clamp(15px, 3vh, 30px);
        /* Slightly reduced gap on smaller screens */
    }


    .floating-features {
        min-height: clamp(150px, 35vh, 250px);
        margin-left: -30px;
    }

    .features-title {
        font-size: clamp(2.5rem, 10vw, 4.5rem);
    }

    .feature-icon img {
        width: clamp(40px, 8vw, 60px);
    }

    .feature-icon span {
        font-size: clamp(0.9rem, 1.7vw, 1.2rem);
    }


    .counter-container {
        width: 180px;
    }

    .cta-button {
        width: 200px;
        padding: 0.5rem 1.5rem;
    }
}



/* Tablet Landscape Mode */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {



    .features-title {
        font-size: clamp(2.5rem, 6vw, 4.5rem);
    }

    .feature-icon img {
        width: clamp(30px, 6vw, 50px);
    }

    .feature-icon span {
        font-size: clamp(0.9rem, 1.7vw, 1.2rem);
    }

    .gift-animation-container {
        margin-top: 60px;
    }


    .counter-cta-wrapper {
        width: 150px;
        height: 100px;
    }


    .spots-counter {
        font-size: clamp(1.5rem, 5vw, 3.5rem);
    }

    .spots-text {
        font-size: clamp(1rem, 3vw, 1.5rem);
    }

    .cta-button {
        font-size: clamp(1rem, 1.25vw, 1.25rem);
        padding: 0.5rem .5rem;
        width: 170px;
    }

}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {



    .features-title {
        font-size: clamp(3rem, 7vw, 5rem);
    }

    .feature-icon img {
        width: clamp(40px, 8vw, 60px);
    }

    .feature-icon span {
        font-size: clamp(1rem, 1.8vw, 1.5rem);
    }

    .gift-animation-container {
        margin-top: 60px;
    }


    .counter-cta-wrapper {
        width: 150px;
        height: 100px;
    }


    .spots-counter {
        font-size: clamp(1.5rem, 5vw, 3.5rem);
    }

    .spots-text {
        font-size: clamp(1rem, 2.5vw, 1.5rem);
    }


}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 2rem;
    }

    .business-content,
    .animation-content {
        padding: 0.5rem;
    }


}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        padding: 1rem;
    }

    .business-content {
        max-width: 100%;
        text-align: center;
    }

    .business-type-content {
        text-align: center;
    }

    .business-type-container {
        height: 55px;
    }

    .business-word {
        text-align: center;
        font-size: 2rem;
    }



}

@media (max-width: 480px) {
    .hero-content {
        padding: 2rem 0.5rem;
    }

    .content-wrapper {
        gap: clamp(10px, 2vh, 20px);
        /* Further reduced gap for mobile */
    }

    .key-features-list .key-feature-word {
        font-size: 1.5rem;
    }

    .floating-features {
        min-height: clamp(150px, 35vh, 250px);
        margin-left: -20px;
    }

    .features-title {
        font-size: clamp(1.5rem, 2rem, 2.5rem);
    }

    .feature-icon img {
        width: clamp(40px, 8vw, 60px);
    }

    .feature-icon span {
        font-size: clamp(0.9rem, 1.7vw, 1.2rem);
    }

    .gift-animation-container {
        flex-direction: column;
        min-height: clamp(200px, 20vh, 300px);
        gap: 10px;
        padding: 10px 5%;
    }

    .features-button-container,
    .alternating-content-container {
        width: 100%;
    }

    /* Adjusted for the gift box interaction in mobile */
    #giftBoxCanvas {
        width: 80px;
        height: 80px;
    }

    .counter-cta-wrapper {
        width: 180px;
        height: 100px;
    }

    .counter-container {
        width: 180px;
    }

    .spots-counter {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }

    .spots-text {
        font-size: clamp(1rem, 1vw, 1.5rem);
    }

    .cta-button {
        width: 150px;
        font-size: clamp(0.7rem, 1vw, 1rem);
        padding: 0.5rem .8rem;
    }

    .large-button {
        font-size: 1.5rem;
        padding: .5rem 3rem;
        width: 300px;
    }
}



/* Responsive Design for Key Features */
@media (max-width: 768px) {


    
    .key-features-intro,
    .key-features-outro {
        font-size: 1rem;
    }
    
    .key-features-container {
        height: 60px;
    }
    
    .key-feature-word {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {

    

    
    .key-features-intro,
    .key-features-outro {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .key-features-container {
        height: 45px;
    }
    
    .key-feature-word {
        font-size: 1.2rem;
    }
}