/* ===== IMPORTS & RESETS ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

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

/* ===== CUSTOM PROPERTIES FOR ANIMATION TOKENS ===== */
:root {
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-spring: cubic-bezier(0.22, 0.68, 0, 1.71);
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

body {
    background-color: #0F0F0F;
    color: #FFFFFF;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== PARTICLE CANVAS ===== */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Ensure all content sits above the canvas */
section,
.cta-section,
.footer {
    position: relative;
    z-index: 1;
}

::selection {
    background: #FFD60A;
    color: #0F0F0F;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0F0F0F;
}

::-webkit-scrollbar-thumb {
    background: #FFD60A;
    border-radius: 3px;
}

/* ===== SECTION BASE ===== */
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 80px 40px;
}

/* ===== HERO / OPENING SLIDE ===== */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 214, 10, 0.06) 0%, transparent 70%);
    pointer-events: none;
    animation: heroGlowPulse 6s ease-in-out infinite;
}

/* Floating ambient particle */
#hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 214, 10, 0.05), transparent 70%);
    top: 20%;
    right: -80px;
    animation: floatParticle 8s ease-in-out infinite alternate;
    pointer-events: none;
}

.hero-logo {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    margin-bottom: 40px;
    animation: floatIn 1.2s ease-out, logoPulse 3s ease-in-out 2s infinite;
    filter: drop-shadow(0 0 40px rgba(255, 214, 10, 0.3));
    transition: transform 0.4s var(--ease-out-back);
}

.hero-logo:hover {
    transform: scale(1.12) rotate(-3deg);
    filter: drop-shadow(0 0 60px rgba(255, 214, 10, 0.5));
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    color: #FFD60A;
    letter-spacing: -2px;
    line-height: 1.1;
    text-shadow: 0 0 80px rgba(255, 214, 10, 0.2);
    background: linear-gradient(90deg,
            #FFD60A 0%,
            #fff 45%,
            #FFD60A 55%,
            #FFD60A 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleReveal 1s ease-out 0.3s both, shimmer 4s ease-in-out 2s infinite;
}

.hero-caption {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 16px;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: fadeUp 1s ease-out 0.6s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeUp 1s ease-out 1.2s both;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.4s ease;
}

.scroll-indicator:hover {
    transform: translateY(-4px);
}

.scroll-indicator span {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: textFade 2.5s ease-in-out infinite;
}

.scroll-chevron {
    width: 30px;
    height: 30px;
    border-right: 2px solid #FFD60A;
    border-bottom: 2px solid #FFD60A;
    transform: rotate(45deg);
    animation: bounceDown 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 214, 10, 0.3));
}

/* ===== INDEX SECTION ===== */
#index {
    min-height: 100vh;
    text-align: center;
    position: relative;
}

#index::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 214, 10, 0.3), transparent);
    animation: lineSweep 3s ease-out;
}

.index-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #FFD60A;
    margin-bottom: 60px;
    position: relative;
}

.index-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #FFD60A;
    margin: 20px auto 0;
    border-radius: 2px;
    animation: underlineGrow 0.8s var(--ease-out-expo) 0.3s both;
    box-shadow: 0 0 12px rgba(255, 214, 10, 0.3);
}

.index-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 600px;
    width: 100%;
}

.index-nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 500;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.index-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 214, 10, 0.08), transparent);
    transition: width 0.5s var(--ease-out-expo);
}

.index-nav a::after {
    content: '→';
    font-size: 1.2rem;
    color: #FFD60A;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s var(--ease-out-back);
}

.index-nav a:hover {
    color: #FFD60A;
    padding-left: 48px;
}

.index-nav a:hover::before {
    width: 100%;
}

.index-nav a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.index-nav a:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Stagger index links entrance */
.index-nav a:nth-child(1) {
    transition-delay: 0.05s;
}

.index-nav a:nth-child(2) {
    transition-delay: 0.1s;
}

.index-nav a:nth-child(3) {
    transition-delay: 0.15s;
}

.index-nav a:nth-child(4) {
    transition-delay: 0.2s;
}

.index-nav a:nth-child(5) {
    transition-delay: 0.25s;
}

/* ===== PRODUCT HISTORY ===== */
#product-history {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.slideshow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slideshow-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slideshow-bg img.active {
    opacity: 0.15;
}

.slideshow-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            #0F0F0F 0%,
            rgba(15, 15, 15, 0.6) 30%,
            rgba(15, 15, 15, 0.6) 70%,
            #0F0F0F 100%);
    z-index: 1;
}

.history-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px;
}

.history-content .section-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #FFD60A;
    margin-bottom: 32px;
}

.history-content .section-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    max-width: 700px;
}

.year-badge {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid rgba(255, 214, 10, 0.3);
    border-radius: 50px;
    color: #FFD60A;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: badgePop 0.6s var(--ease-out-back) both;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(255, 214, 10, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.year-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 214, 10, 0.15);
}

/* ===== WHY PARTNER ===== */
#why-partner {
    min-height: 100vh;
    text-align: center;
    position: relative;
}

#why-partner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 214, 10, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.partner-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.partner-content .section-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #FFD60A;
    margin-bottom: 32px;
}

.partner-content .section-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
}

.highlight-box {
    margin-top: 48px;
    padding: 32px 40px;
    border: 1px solid rgba(255, 214, 10, 0.15);
    border-radius: 16px;
    background: rgba(255, 214, 10, 0.03);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.highlight-box:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 214, 10, 0.3);
    box-shadow: 0 8px 40px rgba(255, 214, 10, 0.06);
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: #FFD60A;
    box-shadow: 0 0 15px rgba(255, 214, 10, 0.3);
    animation: glowBar 2s ease-in-out infinite alternate;
}

/* Animated shimmer sweep across highlight box */
.highlight-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 214, 10, 0.04),
            transparent);
    animation: boxSweep 5s ease-in-out infinite;
}

.highlight-box p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

/* ===== HOW DIFFERENT ===== */
#how-different {
    min-height: 100vh;
    text-align: left;
    position: relative;
}

.different-content {
    max-width: 800px;
    width: 100%;
}

.different-content .section-heading {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #FFD60A;
    margin-bottom: 60px;
    text-align: center;
}

.bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.5s var(--ease-out-expo);
    opacity: 0;
    transform: translateX(-40px);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.bullet-item.revealed {
    opacity: 1;
    transform: translateX(0);
}

.bullet-item:hover {
    background: rgba(255, 214, 10, 0.04);
    border-color: rgba(255, 214, 10, 0.15);
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(255, 214, 10, 0.08);
}

.bullet-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 214, 10, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #FFD60A;
    margin-top: 2px;
    transition: transform 0.4s var(--ease-out-back), box-shadow 0.4s ease;
}

.bullet-item:hover .bullet-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 0 20px rgba(255, 214, 10, 0.15);
}

.bullet-item p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* ===== FEATURES ===== */
#features {
    min-height: auto;
    padding: 120px 40px 0;
}

.features-main-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #FFD60A;
    text-align: center;
    margin-bottom: 20px;
}

.features-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-bottom: 48px;
    font-weight: 300;
}

/* Base styles (mobile-first, small viewports, low height) */
.feature-block {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 80px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-block+.feature-block {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.feature-sticky-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0;
    box-sizing: border-box;
    z-index: 2;
}

.feature-heading {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #FFD60A;
    margin: 0 0 24px 0;
    opacity: 1;
    /* always visible on standard/fallback layout */
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-heading.revealed {
    opacity: 1;
    transform: none;
}

/* Feature image container: relative wrapper for absolute overlay text */
.feature-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    border-radius: 24px;
    box-shadow: 0 20px 80px rgba(255, 214, 10, 0.06);
    opacity: 1;
    /* always visible on fallback */
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.8s ease;
}

/* If there are multiple images (like Journey), layout them stacked vertically */
.feature-image-wrapper:has(img + img) {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.feature-image-wrapper::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 24px;
    border: 1px solid rgba(255, 214, 10, 0.15);
    z-index: 5;
    pointer-events: none;
    transition: border-color 0.8s ease;
}

.feature-image-wrapper img {
    width: 100%;
    max-height: 50vh;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    border-radius: 24px;
    transition: filter 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Text description is displayed naturally below the image on small screen heights / fallback */
.feature-text {
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    width: 100%;
    max-width: 560px;
    padding: 24px 20px;
    border-radius: 20px;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 214, 10, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    text-align: center;
    margin-top: 24px;
    /* margins instead of absolute overlay */
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Upgrade layout to modern sticky animations when viewport height is sufficient (min-height: 480px) */
@media (min-height: 480px) {
    .feature-block {
        height: 180vh;
        /* Scroll track height for sticky effect */
        padding: 0;
        display: block;
    }

    .feature-sticky-inner {
        position: sticky;
        top: 0;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 40px 20px;
        box-sizing: border-box;
        z-index: 2;
    }

    .feature-image-wrapper:has(img + img) {
        position: relative;
    }

    .feature-image-wrapper:has(img + img) img:nth-child(1) {
        position: relative;
        z-index: 1;
        opacity: 1;
        transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s var(--ease-out-expo);
    }

    .feature-image-wrapper:has(img + img) img:nth-child(2) {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        opacity: 0;
        transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s var(--ease-out-expo);
    }

    .feature-heading {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .feature-heading.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .feature-image-wrapper {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
        box-shadow: 0 20px 80px rgba(255, 214, 10, 0.06);
    }

    .feature-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -45%) scale(0.92);
        width: calc(100% - 32px);
        max-width: 320px;
        opacity: 0;
        pointer-events: none;
        margin-top: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        z-index: 10;
    }

    /* Stage 1: Heading */
    .feature-block.stage-heading .feature-heading {
        opacity: 1;
        transform: translateY(0);
    }

    .feature-block.stage-heading .feature-image-wrapper {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
    }

    /* Stage 2 / 2a / 2b: Image */
    .feature-block.stage-image .feature-heading,
    .feature-block.stage-image-1 .feature-heading,
    .feature-block.stage-image-2 .feature-heading {
        opacity: 1;
        transform: translateY(0);
    }

    .feature-block.stage-image .feature-image-wrapper,
    .feature-block.stage-image-1 .feature-image-wrapper,
    .feature-block.stage-image-2 .feature-image-wrapper {
        opacity: 1;
        transform: translateY(0) scale(1);
        box-shadow: 0 30px 100px rgba(255, 214, 10, 0.14);
    }

    .feature-block.stage-image .feature-image-wrapper img,
    .feature-block.stage-image-1 .feature-image-wrapper img,
    .feature-block.stage-image-2 .feature-image-wrapper img {
        filter: blur(0px) brightness(1) saturate(1);
        transform: scale(1);
    }

    .feature-block.stage-image .feature-image-wrapper::before,
    .feature-block.stage-image-1 .feature-image-wrapper::before,
    .feature-block.stage-image-2 .feature-image-wrapper::before {
        border-color: rgba(255, 214, 10, 0.25);
    }

    .feature-block.stage-image .feature-text,
    .feature-block.stage-image-1 .feature-text,
    .feature-block.stage-image-2 .feature-text {
        opacity: 0;
        transform: translate(-50%, -45%) scale(0.92);
    }

    /* Dual Image Stage Fades */
    .feature-block.stage-image-1 .feature-image-wrapper img:nth-child(1) {
        opacity: 1;
        filter: blur(0px) brightness(1) saturate(1);
        transform: scale(1);
    }
    .feature-block.stage-image-1 .feature-image-wrapper img:nth-child(2) {
        opacity: 0;
    }

    .feature-block.stage-image-2 .feature-image-wrapper img:nth-child(1) {
        opacity: 0;
    }
    .feature-block.stage-image-2 .feature-image-wrapper img:nth-child(2) {
        opacity: 1;
        filter: blur(0px) brightness(1) saturate(1);
        transform: scale(1);
    }

    /* Stage 3 (Stage 4 for dual): Text */
    .feature-block.stage-text .feature-heading {
        opacity: 0.5;
        transform: translateY(0);
    }

    .feature-block.stage-text .feature-image-wrapper {
        opacity: 1;
        transform: translateY(0) scale(1.02);
        box-shadow: 0 30px 100px rgba(255, 214, 10, 0.18);
    }

    .feature-block.stage-text .feature-image-wrapper img {
        filter: blur(14px) brightness(0.4) saturate(0.5);
        transform: scale(1.04);
    }

    .feature-block.stage-text:has(img + img) .feature-image-wrapper img:nth-child(1) {
        opacity: 0;
    }
    .feature-block.stage-text:has(img + img) .feature-image-wrapper img:nth-child(2) {
        opacity: 1;
        filter: blur(14px) brightness(0.4) saturate(0.5);
        transform: scale(1.04);
    }

    .feature-block.stage-text .feature-image-wrapper::before {
        border-color: rgba(255, 214, 10, 0.4);
    }

    .feature-block.stage-text .feature-text {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        pointer-events: auto;
    }
}

/* ===== SECTION TITLE TAGS ===== */
.section-title-tag {
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFD60A;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 8px;
    display: block;
    text-align: center;
}

/* ===== GLOBAL SCROLL INDICATOR ===== */
#global-scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    pointer-events: auto;
    cursor: pointer;
    transition: opacity 0.4s ease, visibility 0.4s, transform 0.3s var(--ease-out-back);
    opacity: 1;
    visibility: visible;
}

#global-scroll-indicator:hover {
    transform: translateX(-50%) translateY(-6px);
}

#global-scroll-indicator.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#global-scroll-indicator .scroll-chevron {
    width: 20px;
    height: 20px;
    border-right: 2px solid #FFD60A;
    border-bottom: 2px solid #FFD60A;
    transform: rotate(45deg);
    animation: bounceDown 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 214, 10, 0.6));
}



/* ===== CTA / FOOTER ===== */
.cta-section {
    padding: 100px 40px;
    text-align: center;
    position: relative;
    background: linear-gradient(to top, rgba(255, 214, 10, 0.04), transparent);
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #FFD60A;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 18px 48px;
    background: #FFD60A;
    color: #0F0F0F;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s var(--ease-out-back);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 0 rgba(255, 214, 10, 0.4);
    animation: ctaPulse 2.5s ease-in-out 1s infinite;
}

/* Ripple shine effect */
.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    animation: ctaShine 3s ease-in-out 2s infinite;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 14px 50px rgba(255, 214, 10, 0.35);
    animation: none;
}

.cta-button:active {
    transform: translateY(-1px) scale(0.98);
}

.footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

.footer .footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    margin-bottom: 16px;
    opacity: 0.5;
    transition: opacity 0.4s ease, transform 0.4s var(--ease-out-back);
}

.footer .footer-logo:hover {
    opacity: 0.8;
    transform: scale(1.1) rotate(-3deg);
}

/* ===== SCROLL REVEAL ANIMATION CLASSES ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ===== KEYFRAMES ===== */
@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.8) rotate(-5deg);
    }

    60% {
        transform: translateY(5px) scale(1.02) rotate(1deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0);
    }
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(40px);
        letter-spacing: 10px;
    }

    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: -2px;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceDown {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    40% {
        transform: rotate(45deg) translateY(10px);
    }

    60% {
        transform: rotate(45deg) translateY(5px);
    }
}

/* ===== NEW ANIMATION KEYFRAMES ===== */
@keyframes logoPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 40px rgba(255, 214, 10, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 60px rgba(255, 214, 10, 0.5));
    }
}

@keyframes shimmer {
    0% {
        background-position: 100% 50%;
    }

    50% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

@keyframes heroGlowPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes floatParticle {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(-60px, 40px) scale(1.3);
        opacity: 0.3;
    }
}

@keyframes textFade {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes lineSweep {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes underlineGrow {
    from {
        width: 0;
    }

    to {
        width: 60px;
    }
}

@keyframes badgePop {
    from {
        opacity: 0;
        transform: scale(0.6);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glowBar {
    0% {
        box-shadow: 0 0 10px rgba(255, 214, 10, 0.2);
    }

    100% {
        box-shadow: 0 0 25px rgba(255, 214, 10, 0.45);
    }
}

@keyframes boxSweep {

    0%,
    100% {
        left: -100%;
    }

    50% {
        left: 200%;
    }
}

@keyframes ctaPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 214, 10, 0.4);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(255, 214, 10, 0);
    }
}

@keyframes ctaShine {

    0%,
    100% {
        left: -100%;
    }

    50% {
        left: 200%;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    section {
        min-height: auto;
        padding: 60px 24px;
    }

    #hero {
        min-height: 100vh;
    }

    #index,
    #product-history,
    #why-partner,
    #how-different {
        min-height: auto;
    }

    #features {
        padding: 80px 24px 0;
    }

    .feature-block {
        padding: 60px 20px;
    }

    .feature-image-wrapper {
        max-width: 100%;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
    }

    .feature-image-wrapper::before {
        display: none;
    }

    .feature-image-wrapper img {
        border-radius: 0;
        max-height: 70vh;
    }

    .feature-image-wrapper:has(img + img) {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .bullet-item {
        padding: 20px 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .index-nav a {
        font-size: 1rem;
        padding: 20px 16px;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .highlight-box {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 48px 16px;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .hero-caption {
        letter-spacing: 2px;
    }

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

    .feature-image-wrapper:has(img + img) {
        max-width: 100%;
    }
}

@media (max-width: 768px) and (min-height: 480px) {
    .feature-block {
        height: 200vh;
        padding: 0;
    }

    .feature-block:has(.feature-image-wrapper img + img) {
        height: 300vh;
    }

    .feature-sticky-inner {
        padding: 0;
    }

    .feature-heading {
        margin-top: 24px;
        margin-bottom: auto;
        z-index: 3;
        position: relative;
    }

    .feature-image-wrapper {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        margin: 0;
        z-index: 1;
        box-shadow: none !important;
    }

    .feature-image-wrapper::before {
        display: none !important;
    }

    .feature-image-wrapper img {
        width: 100%;
        height: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 0;
    }

    .feature-image-wrapper:has(img + img) {
        display: block;
    }

    .feature-image-wrapper:has(img + img) img:nth-child(2) {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }
}

/* ===== FULLSCREEN MODAL ===== */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    pointer-events: none;
}

.fullscreen-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.maximize-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 214, 10, 0.3);
    color: #FFD60A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.feature-image-wrapper:hover .maximize-btn {
    opacity: 1;
    visibility: visible;
}

.maximize-btn:hover {
    background: #FFD60A;
    color: #0F0F0F;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 214, 10, 0.4);
}

@media (max-width: 768px) {
    .maximize-btn {
        display: none !important;
    }
}

.minimize-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 214, 10, 0.3);
    color: #FFD60A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10002;
}

.minimize-btn:hover {
    background: #FFD60A;
    color: #0F0F0F;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 214, 10, 0.5);
}

.modal-content {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    max-width: 90%;
    max-height: 85%;
    width: auto;
    height: auto;
    animation: zoomInModal 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 214, 10, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes zoomInModal {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== MOBILE TRANSITIONS & CATCHY ANIMATIONS OVERRIDES ===== */
@media (max-width: 768px) {
    /* Tactile press on logo */
    .hero-logo {
        transition: transform 0.3s ease, filter 0.3s ease;
    }
    .hero-logo:active {
        transform: scale(0.93) rotate(-2deg);
        filter: drop-shadow(0 0 30px rgba(255, 214, 10, 0.8));
    }

    /* Tactile index list touch transitions */
    .index-nav a {
        transition: padding 0.3s ease, color 0.3s ease, background 0.3s ease !important;
    }
    .index-nav a:active {
        color: #FFD60A !important;
        padding-left: 40px !important;
        background: rgba(255, 214, 10, 0.12) !important;
    }
    .index-nav a:active::before {
        width: 100% !important;
    }
    .index-nav a:active::after {
        opacity: 1 !important;
        transform: translateX(0) !important;
    }

    /* Parallax Scroll-driven depth effects for Heading and Mockup card */
    .feature-heading {
        transform: translateY(calc((1 - var(--scroll-progress, 0)) * 15px)) !important;
        opacity: calc(0.3 + var(--scroll-progress, 0) * 0.7) !important;
        transition: transform 0.1s linear, opacity 0.1s linear !important;
    }

    .feature-image-wrapper {
        transform: translateY(calc((1 - var(--scroll-progress, 0)) * 25px)) scale(calc(0.96 + var(--scroll-progress, 0) * 0.04)) !important;
        transition: transform 0.1s linear !important;
    }

    /* Fluid slide transitions for images inside wrappers */
    .feature-image-wrapper img {
        transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.6s ease !important;
    }

    /* Active touch shrink feedback on mockup screen card */
    .feature-image-wrapper:active img {
        transform: scale(0.95) !important;
        filter: brightness(0.85) saturate(1.1) !important;
    }

    /* Table of contents link hover/active underline animation */
    .index-nav a::after {
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    }
}