/* Font Family */
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Glass Card Effect - Light Mode */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(229, 231, 235, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Radial Blur Background */
.radial-blur-bg {
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(0, 255, 194, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
}

/* Hero Particles Background */
.hero-particles {
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(59, 130, 246, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(0, 255, 194, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(99, 102, 241, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(59, 130, 246, 0.2), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(0, 255, 194, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 20s linear infinite;
}

@keyframes sparkle {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100px);
    }
}

/* Dots Grid Pattern - Light Mode */
.dots-grid {
    background-image: radial-gradient(circle, rgba(156, 163, 175, 0.2) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* AI Particles Background */
.ai-particles {
    background-image:
        radial-gradient(2px 2px at 40px 60px, rgba(0, 255, 194, 0.4), transparent),
        radial-gradient(1px 1px at 80px 120px, rgba(59, 130, 246, 0.3), transparent),
        radial-gradient(1px 1px at 120px 40px, rgba(99, 102, 241, 0.4), transparent),
        radial-gradient(2px 2px at 200px 80px, rgba(0, 255, 194, 0.2), transparent),
        radial-gradient(1px 1px at 280px 140px, rgba(59, 130, 246, 0.3), transparent),
        radial-gradient(2px 2px at 160px 180px, rgba(99, 102, 241, 0.2), transparent);
    background-repeat: repeat;
    background-size: 320px 200px;
    animation: ai-float 25s linear infinite;
}

@keyframes ai-float {
    from {
        transform: translateX(0) translateY(0);
    }

    to {
        transform: translateX(-320px) translateY(-200px);
    }
}


/* Step Container Animations */
.step-container {
    animation: step-fade-in 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.step-container:nth-child(1) {
    animation-delay: 0.3s;
}

.step-container:nth-child(2) {
    animation-delay: 0.6s;
}

.step-container:nth-child(3) {
    animation-delay: 0.9s;
}

.step-container.group:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.step-container.group:hover {
    transform: translateY(-5px);
}

@keyframes step-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Timeline Pulse Effect */
.timeline-pulse {
    animation: timeline-pulse 2s ease-in-out infinite;
}

@keyframes timeline-pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

/* Dashboard Chart Animation */
.chart-bar {
    animation: chart-grow 1.5s ease-out forwards;
    transform: scaleY(0);
    transform-origin: bottom;
}

.chart-bar:nth-child(1) {
    animation-delay: 0.1s;
}

.chart-bar:nth-child(2) {
    animation-delay: 0.2s;
}

.chart-bar:nth-child(3) {
    animation-delay: 0.3s;
}

.chart-bar:nth-child(4) {
    animation-delay: 0.4s;
}

.chart-bar:nth-child(5) {
    animation-delay: 0.5s;
}

.chart-bar:nth-child(6) {
    animation-delay: 0.6s;
}

.chart-bar:nth-child(7) {
    animation-delay: 0.7s;
}

.chart-bar:nth-child(8) {
    animation-delay: 0.8s;
}

@keyframes chart-grow {
    to {
        transform: scaleY(1);
    }
}

/* Enhanced Glass Effects */
.glass-card-enhanced {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 1.5rem;
    grid-template-areas:
        "hero hero metrics trust"
        "hero hero benefits preview"
        "cta cta cta cta";
}

.bento-hero {
    grid-area: hero;
    min-height: 500px;
}

.bento-cta {
    grid-area: cta;
    min-height: 200px;
}

.bento-item:nth-child(2) {
    grid-area: metrics;
}

.bento-item:nth-child(3) {
    grid-area: trust;
}

.bento-item:nth-child(4) {
    grid-area: benefits;
}

.bento-item:nth-child(5) {
    grid-area: preview;
}

/* Responsive Bento Grid */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        grid-template-areas:
            "hero hero"
            "metrics trust"
            "benefits preview"
            "cta cta";
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "hero"
            "metrics"
            "trust"
            "benefits"
            "preview"
            "cta";
    }

    .bento-hero {
        min-height: 400px;
    }
}

/* Compact Bento Grid Card Styles */
.bento-item.compact {
    padding: 1rem;
}

.bento-item h3 {
    margin-bottom: 0.75rem;
}

.bento-item .space-y-3>*+* {
    margin-top: 0.75rem;
}

.bento-item .space-y-4>*+* {
    margin-top: 1rem;
}

/* Reduced spacing for compact cards */
.bento-item .mb-6 {
    margin-bottom: 1rem;
}

.bento-item .mb-4 {
    margin-bottom: 0.75rem;
}

.bento-item .mt-6 {
    margin-top: 1rem;
}

.bento-item .mt-4 {
    margin-top: 0.75rem;
}

/* Compact grid spacing */
.bento-item .grid.gap-4 {
    gap: 0.75rem;
}

.bento-item .grid.gap-3 {
    gap: 0.5rem;
}

.bento-item .grid.gap-2 {
    gap: 0.375rem;
}

/* Compact padding for nested elements */
.bento-item .p-4 {
    padding: 0.75rem;
}

.bento-item .p-3 {
    padding: 0.5rem;
}

.bento-item .p-2 {
    padding: 0.375rem;
}

/* Icon size adjustments for compact cards */
.bento-item .w-6.h-6 {
    width: 1.25rem;
    height: 1.25rem;
}

.bento-item .w-5.h-5 {
    width: 1rem;
    height: 1rem;
}

/* Compact aspect ratio adjustments */
.bento-item .aspect-video {
    min-height: 120px;
}

/* Enterprise Grid Background */
.enterprise-grid-bg {
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: enterprise-grid-float 20s ease-in-out infinite;
}

@keyframes enterprise-grid-float {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.05;
    }

    25% {
        transform: translateY(-5px) translateX(-2px);
        opacity: 0.08;
    }

    50% {
        transform: translateY(-10px) translateX(0px);
        opacity: 0.1;
    }

    75% {
        transform: translateY(-5px) translateX(2px);
        opacity: 0.08;
    }
}

/* Enhanced Bento Grid Animations */
.bento-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-item:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.bento-hero:hover {
    transform: translateY(-2px);
}

/* Performance Metric Animations */
.performance-metric {
    transition: all 0.3s ease;
}

.performance-metric:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 8px;
    margin: -8px;
}

.sharpe-ratio-bar,
.drawdown-bar,
.win-rate-bar {
    animation: metric-fill 2s ease-out forwards;
    transform-origin: left;
}

@keyframes metric-fill {
    0% {
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(1);
    }
}

/* AI Network Enterprise Animation */
.ai-network-enterprise {
    animation: ai-processing 3s ease-in-out infinite;
}

@keyframes ai-processing {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

/* AI Network Visualization */
.ai-network {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ai-network::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
    top: 50%;
    left: 0;
    animation: data-flow 2s linear infinite;
}

@keyframes data-flow {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Progress Bar Animations */
.win-rate-bar,
.profit-factor-bar,
.sharpe-ratio-bar {
    animation: progress-fill 2s ease-out forwards;
    width: 0 !important;
}

@keyframes progress-fill {
    to {
        width: var(--target-width, 50%) !important;
    }
}

.win-rate-bar {
    --target-width: 87.4%;
}

.profit-factor-bar {
    --target-width: 94.7%;
}

.sharpe-ratio-bar {
    --target-width: 76.8%;
}

/* Trading Bar Animation */
.trading-bar {
    animation: trading-grow 1s ease-out forwards;
    transform: scaleY(0);
    transform-origin: bottom;
}

@keyframes trading-grow {
    to {
        transform: scaleY(1);
    }
}

/* Benefit Card Hover Effects */
.benefit-card {
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.benefit-card:hover::before {
    left: 100%;
}

/* Bento Item Hover Effects */
.bento-item {
    position: relative;
    overflow: hidden;
}

.bento-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.bento-item:hover::after {
    opacity: 1;
}

/* Live Update Animation */
@keyframes live-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.live-indicator {
    animation: live-pulse 2s ease-in-out infinite;
}

/* Staggered Animation for Bento Items */
.bento-item {
    animation: bento-fade-in 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.bento-item:nth-child(1) {
    animation-delay: 0.1s;
}

.bento-item:nth-child(2) {
    animation-delay: 0.2s;
}

.bento-item:nth-child(3) {
    animation-delay: 0.3s;
}

.bento-item:nth-child(4) {
    animation-delay: 0.4s;
}

.bento-item:nth-child(5) {
    animation-delay: 0.5s;
}

.bento-item:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes bento-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced CTA Tile Styling */
.bento-cta {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(0, 255, 194, 0.1) 100%);
    position: relative;
}

.bento-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(0, 255, 194, 0.3));
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
}

/* Neural Network Connection Lines */
.ai-network .connection-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.3), rgba(0, 255, 194, 0.3));
    animation: connection-pulse 3s ease-in-out infinite;
}

@keyframes connection-pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

/* Animated Headline */
.animated-headline {
    animation: glow-pulse 3s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    from {
        text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }

    to {
        text-shadow: 0 0 30px rgba(0, 255, 194, 0.4), 0 0 40px rgba(59, 130, 246, 0.3);
    }
}

/* Button Glow Effects */
.hover\:shadow-glow:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5), 0 10px 25px rgba(0, 0, 0, 0.3);
}

.hover\:shadow-glow-green:hover {
    box-shadow: 0 0 30px rgba(0, 255, 194, 0.5), 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Feature Cards Hover Effect */
.feature-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.1);
}

/* Logo Carousel Animation */
.logos-carousel::before,
.logos-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logos-carousel::before {
    left: 0;
    background: linear-gradient(to right, #1C1C2A, transparent);
}

.logos-carousel::after {
    right: 0;
    background: linear-gradient(to left, #1C1C2A, transparent);
}

/* Mobile Menu Transitions */




/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1C1C2A;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3B82F6, #6366F1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #60A5FA, #818CF8);
}

/* Selection Color */
::selection {
    background: rgba(0, 255, 194, 0.3);
    color: #E5E7EB;
}

/* Focus Visible for Accessibility */
*:focus-visible {
    outline: 2px solid #3B82F6;
    outline-offset: 2px;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .animated-headline {
        font-size: 2.5rem;
        line-height: 1.2;
    }
}

/* High Performance GPU Acceleration */
.feature-card,
.glass-card,
button {
    transform: translateZ(0);
    will-change: transform;
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {

    .animated-headline,
    .hero-particles,
    .feature-card,
    * {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

/* 8. Security & Trust Styles */
.security-particles {
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 194, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    animation: security-pulse 8s ease-in-out infinite;
}

@keyframes security-pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.security-feature {
    transition: all 0.3s ease;
}

.security-feature:hover {
    transform: translateX(10px);
    border-color: rgba(59, 130, 246, 0.3);
}

.security-shield {
    position: relative;
    animation: security-glow 4s ease-in-out infinite;
}

@keyframes security-glow {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 40px rgba(0, 255, 194, 0.4));
    }
}

.security-orbit {
    animation: security-rotate 20s linear infinite;
}

.security-orbit:nth-child(2) {
    animation-duration: 30s;
    animation-direction: reverse;
}

@keyframes security-rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.trust-indicator {
    transition: all 0.3s ease;
}

.trust-indicator:hover {
    transform: translateY(-5px);
}

/* 9. Platform Stats Styles */
.stats-particles {
    background: radial-gradient(circle at 25% 75%, rgba(0, 255, 194, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    animation: stats-float 10s ease-in-out infinite;
}

@keyframes stats-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(10px, -10px) scale(1.05);
    }

    66% {
        transform: translate(-10px, 10px) scale(0.95);
    }
}

.stat-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.4);
}

.stat-glow {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover .stat-glow {
    opacity: 1;
}

.stats-chart {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(0, 255, 194, 0.1) 100%);
    position: relative;
}

.stats-chart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(59, 130, 246, 0.1) 25%,
            rgba(0, 255, 194, 0.1) 50%,
            rgba(99, 102, 241, 0.1) 75%,
            transparent 100%);
    animation: chart-shimmer 3s ease-in-out infinite;
}

@keyframes chart-shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.achievement-stat {
    transition: all 0.3s ease;
}

.achievement-stat:hover {
    transform: scale(1.1);
}

[data-stat],
[data-live-stat] {
    transition: all 0.3s ease;
}

/* 10. FAQ Styles - Minimal Enterprise Design */
.faq-accordion {
    max-width: none;
}

.faq-item {
    position: relative;
}

.faq-button {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.faq-button:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.faq-icon {
    transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    transition: max-height 0.3s ease;
    overflow: hidden;
}

.faq-answer>div {
    opacity: 1;
    transition: opacity 0.2s ease 0.1s;
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-item:not(.active) .faq-answer>div {
    opacity: 0;
    transition-delay: 0s;
}

/* Enhanced FAQ Answer Typography */
.faq-answer p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Improve readability with better spacing and typography */
.faq-answer div {
    word-spacing: 0.05em;
    letter-spacing: 0.01em;
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* SVG Animation Styles */
.faq-container svg circle {
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3));
}

.faq-container svg text {
    filter: drop-shadow(0 0 5px rgba(139, 92, 246, 0.5));
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .enterprise-faq-card {
        margin-bottom: 1rem;
    }

    .faq-button {
        padding: 1.5rem;
    }

    .faq-button h3 {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .faq-number {
        width: 2rem;
        height: 2rem;
        font-size: 0.75rem;
    }

    .faq-answer {
        padding: 1.5rem;
        padding-bottom: 2rem;
    }
}

/* 11. Final CTA Styles */
.cta-particles {
    background: radial-gradient(circle at 20% 80%, rgba(0, 255, 194, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    animation: cta-energy 6s ease-in-out infinite;
}

@keyframes cta-energy {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

#final-cta-form {
    transition: all 0.3s ease;
}

#final-cta-form:hover {
    transform: translateY(-2px);
}

#final-cta-form input:focus,
#final-cta-form select:focus {
    box-shadow: 0 0 0 2px rgba(0, 255, 194, 0.2);
}


/* Live Data Animation */
@keyframes data-update {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
    }
}

.data-updating {
    animation: data-update 0.5s ease-in-out;
}

/* Cryptocurrency Carousel Styles */
.crypto-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
    /* Space for navigation arrows */
}

.crypto-carousel-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

.crypto-card {
    flex-shrink: 0;
    width: 128px;
    height: 128px;
    margin: 0 16px;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(229, 231, 235, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.crypto-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.crypto-card .crypto-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.crypto-card:hover .crypto-icon {
    transform: scale(1.1);
}

.crypto-card img {
    width: 40px;
    height: 40px;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.crypto-card:hover img {
    filter: grayscale(0);
}

/* Carousel Navigation */
.carousel-prev,
.carousel-next {
    z-index: 10;
    background: white;
    border: 1px solid rgba(229, 231, 235, 1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-prev:hover,
.carousel-next:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.carousel-prev svg,
.carousel-next svg {
    width: 20px;
    height: 20px;
    color: rgba(107, 114, 128, 1);
    transition: color 0.3s ease;
}

.carousel-prev:hover svg,
.carousel-next:hover svg {
    color: rgba(59, 130, 246, 1);
}

/* Carousel Indicators */
.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgba(209, 213, 219, 1);
}

.indicator.active {
    background-color: rgba(59, 130, 246, 1);
    transform: scale(1.2);
}

.indicator:hover:not(.active) {
    background-color: rgba(156, 163, 175, 1);
}

/* Responsive Design for Carousel */
@media (max-width: 768px) {
    .crypto-carousel-container {
        padding: 0 40px;
    }

    .crypto-card {
        width: 100px;
        height: 100px;
        margin: 0 12px;
    }

    .crypto-card .crypto-icon {
        width: 48px;
        height: 48px;
    }

    .crypto-card img {
        width: 32px;
        height: 32px;
    }

    .carousel-prev,
    .carousel-next {
        width: 32px;
        height: 32px;
    }

    .carousel-prev svg,
    .carousel-next svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .crypto-carousel-container {
        padding: 0 30px;
    }

    .crypto-card {
        width: 80px;
        height: 80px;
        margin: 0 8px;
    }

    .crypto-card .crypto-icon {
        width: 40px;
        height: 40px;
    }

    .crypto-card img {
        width: 24px;
        height: 24px;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    animation: scroll 40s linear infinite;
    width: max-content;
}