/* Luxury Fintech Styles */

:root {
    --background: #0B0B0B;
    --gold: #e9b521;
    --gold-light: #E5C158;
    --gold-dark: #B8860B;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Gold Text Gradient */
.gold-text-gradient {
    background: linear-gradient(to right, #e9b521, #E5C158, #e9b521);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Gold Glow Background */
.gold-glow {
    radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

.delay-75 { transition-delay: 75ms; }
.delay-150 { transition-delay: 150ms; }
.delay-300 { transition-delay: 300ms; }
.delay-450 { transition-delay: 450ms; }
.delay-700 { transition-delay: 700ms; }

/* Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
    display: flex;
    width: max-content;
}

/* Navbar Scrolled State */
.nav-scrolled {
    background: rgba(11, 11, 11, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Accordion Custom Styles */
.accordion-content {
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    opacity: 1;
}

.accordion-item.active .icon {
    transform: rotate(45deg);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #e9b521;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E5C158;
}

/* Chart Animations */
@keyframes drawPath {
    from { stroke-dashoffset: 1000; }
    to { stroke-dashoffset: 0; }
}

.chart-main-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 3s ease-out forwards;
}

@keyframes fadeInArea {
    from { opacity: 0; }
    to { opacity: 1; }
}

.chart-area-path {
    opacity: 0;
    animation: fadeInArea 2s ease-out 1s forwards;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Live Notification Popup */
.live-notification {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 100;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.live-notification.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Testimonial Slider */
.testimonial-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 1rem;
}

@media (min-width: 768px) {
    .testimonial-slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .testimonial-slide {
        flex: 0 0 33.333%;
    }
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #e9b521;
    width: 24px;
    border-radius: 4px;
}

/* Selection */
::selection {
    background: #e9b521;
    color: #000;
}
