/* ===================================
   SCROLLYTELLING PRODUCT SHOWCASE
   =================================== */

.scrollytelling-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0e27 0%, #1a1f2e 50%, #0a0e27 100%);
    position: relative;
    overflow: hidden;
}

.scrollytelling-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 168, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 210, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.scrollytelling-header {
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards;
}

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

/* Story Container */
.scroll-story {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.scroll-story.active {
    opacity: 1;
}

.scroll-story:not(:last-child) {
    border-bottom: 1px solid rgba(0, 168, 255, 0.1);
}

/* Story Content */
.story-content {
    padding: 40px;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-content[data-scroll-reveal="right"] {
    transform: translateX(100px);
}

.scroll-story.active .story-content {
    opacity: 1;
    transform: translateX(0);
}

.story-badge {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00a8ff, #00d2ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0a0e27;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.4);
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.story-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #00a8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.story-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.story-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.story-features li {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.story-features li:hover {
    padding-left: 1rem;
    border-bottom-color: rgba(0, 168, 255, 0.3);
}

.story-features li i {
    color: #00a8ff;
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.story-features li:hover i {
    transform: scale(1.2) rotate(360deg);
}

.story-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #00a8ff, #00d2ff);
    color: #0a0e27;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.story-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.story-cta:hover::before {
    width: 300px;
    height: 300px;
}

.story-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 168, 255, 0.5);
    color: #0a0e27;
}

.story-cta i {
    transition: transform 0.3s ease;
}

.story-cta:hover i {
    transform: translateX(5px);
}

/* Story Visual */
.story-visual {
    padding: 40px;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.story-visual[data-scroll-reveal="left"] {
    transform: translateX(-100px);
}

.scroll-story.active .story-visual {
    opacity: 1;
    transform: translateX(0);
}

.visual-wrapper {
    position: relative;
    perspective: 1000px;
}

.visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.3) 0%, transparent 70%);
    filter: blur(60px);
    animation: glowPulse 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.story-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 100px rgba(0, 168, 255, 0.2);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    border: 2px solid rgba(0, 168, 255, 0.3);
}

.scroll-story.active .story-image {
    animation: imageFloat 6s ease-in-out infinite;
}

@keyframes imageFloat {

    0%,
    100% {
        transform: translateY(0) rotateY(0deg);
    }

    25% {
        transform: translateY(-20px) rotateY(5deg);
    }

    50% {
        transform: translateY(0) rotateY(0deg);
    }

    75% {
        transform: translateY(-20px) rotateY(-5deg);
    }
}

.visual-wrapper:hover .story-image {
    transform: scale(1.05) rotateY(10deg);
}

/* Visual Stats */
.visual-stats {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 1.5rem;
    z-index: 2;
}

.stat-item {
    background: rgba(10, 14, 39, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 168, 255, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    min-width: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 168, 255, 0.6);
    box-shadow: 0 15px 40px rgba(0, 168, 255, 0.3);
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00a8ff, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-value::after {
    content: '%';
    font-size: 1.5rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 168, 255, 0.1);
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00a8ff, #00d2ff);
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.6);
}

/* Responsive */
@media (max-width: 991px) {
    .story-title {
        font-size: 2rem;
    }

    .story-content,
    .story-visual {
        padding: 20px;
    }

    .scroll-story {
        min-height: auto;
        padding: 60px 0;
    }

    .visual-stats {
        position: static;
        justify-content: center;
        margin-top: 2rem;
    }

    .story-visual[data-scroll-reveal="left"],
    .story-content[data-scroll-reveal="right"] {
        transform: translateY(50px);
    }

    .scroll-story.active .story-visual[data-scroll-reveal="left"],
    .scroll-story.active .story-content[data-scroll-reveal="right"] {
        transform: translateY(0);
    }
}