/* Luxury Fintech Styles */

:root {
    --background: #0B0B0B;
    --gold: #D4AF37;
    --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, #D4AF37, #E5C158, #D4AF37);
    -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: #D4AF37;
    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: #D4AF37;
    width: 24px;
    border-radius: 4px;
}

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

/* CapitalFieldMarkets homepage additions */
.section-eyebrow {
    color: var(--gold);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: Poppins, sans-serif;
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.section-copy {
    max-width: 48rem;
    margin: 0 auto;
    color: #9ca3af;
    font-size: 1.05rem;
    line-height: 1.8;
}

.feature-grid, .steps-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

.premium-card, .step-card, .award-card, .market-widget {
    background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 20px 55px rgba(0,0,0,.22);
}

.premium-card, .step-card {
    padding: 2rem;
    border-radius: 1.5rem;
    transition: transform .35s ease, border-color .35s ease;
}

.premium-card:hover, .step-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,.38); }
.premium-card svg, .step-card svg, .award-card svg { width: 2rem; height: 2rem; color: var(--gold); margin-bottom: 1.5rem; }
.premium-card h3, .step-card h3, .award-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .65rem; }
.premium-card p, .step-card p, .award-card p { color: #9ca3af; font-size: .92rem; line-height: 1.7; }
.step-card { position: relative; overflow: hidden; }
.step-card > span { position: absolute; top: 1rem; right: 1.25rem; color: rgba(212,175,55,.18); font: 700 2.5rem Poppins,sans-serif; }
.award-card { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem; border-radius: 1.25rem; }
.award-card svg { flex: 0 0 auto; margin: 0; }
.award-card h3 { margin-bottom: .2rem; }
.market-widget { height: 520px; min-height: 420px; overflow: hidden; border-radius: 1.5rem; padding: 4px; }
.market-widget .tradingview-widget-container { width: 100%; height: 100%; }

@media (min-width: 640px) {
    .feature-grid, .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .market-widget { height: 440px; }
}
