/* Georanc - Global Styles */

/* Base */
body {
    background-color: #020202;
    color: #EDEDED;
    overflow-x: hidden;
}

section { scroll-margin-top: 100px; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #020202; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgb(179, 161, 199); }

/* Typography */
.metallic-text {
    background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 0px 25px rgba(255,255,255,0.2);
}

.text-gradient {
    background: linear-gradient(to right, #ffffff, #a5a5a5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cards */
.blur-card {
    position: relative;
    background: rgba(18, 18, 20, 0.5); 
    backdrop-filter: blur(24px); 
    -webkit-backdrop-filter: blur(24px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.blur-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 1rem; 
    padding: 1px; 
    background: linear-gradient(145deg, rgba(179, 161, 199, 0.15), rgba(255,255,255,0.02) 40%, rgba(0,0,0,0) 100%); 
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.blur-card-interactive {
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.blur-card-interactive:hover {
    transform: translateY(-4px);
    background: rgba(25, 25, 30, 0.6);
    box-shadow: 0 20px 40px -10px rgba(179, 161, 199, 0.15); 
    border-color: rgba(179, 161, 199, 0.3);
}

/* Navigation */
.nav-glass {
    background: rgba(2, 2, 2, 0.6);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Buttons */
.btn-human {
    background: linear-gradient(129.981deg, rgb(179, 161, 199) 0%, rgb(113, 94, 139) 24.9%, rgb(89, 71, 114) 51.5%, rgb(113, 94, 139) 78.2%, rgb(179, 161, 199) 100%);
    background-size: 200% 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    box-shadow: 0px 4px 40px 0px rgba(179, 161, 199, 0.3);
    color: rgb(245, 245, 245);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: shimmer 4s infinite linear;
}

.btn-human:hover {
    box-shadow: 0px 4px 60px 0px rgba(179, 161, 199, 0.6);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer-gradient {
    background: linear-gradient(to top, #120b18 0%, #020202 100%);
}

/* Charts & Animations */
.timeline-line { transition: height 0.5s ease-out; }
.bar-fill { width: 0%; transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1); }
.circle-progress {
    stroke-dasharray: 251;
    stroke-dashoffset: 251;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.sparkline-path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 2s ease-out;
}
.sparkline-path.animate {
    stroke-dashoffset: 0;
}
.chart-line-draw {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 3s ease-out forwards;
}
.chart-dot {
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

/* Progress Bars */
.live-bar {
    transition: height 1s ease-out, background 0.3s;
    animation: barPulse 3s ease-in-out infinite;
}
.live-bar:hover {
    filter: brightness(1.2);
}
.live-bar .animate-shimmer {
    animation: barShimmer 2s ease-in-out infinite;
}

/* Reveal Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }

/* Legal Content */
.legal-content h2 { font-size: 1.5rem; font-weight: 700; margin-top: 2rem; margin-bottom: 1rem; color: #fff; }
.legal-content h3 { font-size: 1.125rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.75rem; color: #fff; }
.legal-content p { margin-bottom: 1rem; color: #9CA3AF; line-height: 1.7; }
.legal-content ul { list-style: disc; margin-left: 1.5rem; margin-bottom: 1rem; color: #9CA3AF; }
.legal-content li { margin-bottom: 0.5rem; }

/* Ticker & Scroll */
.ticker-scroll {
    animation: ticker 25s linear infinite;
}
.recommendation-scroll {
    animation: scrollUp 15s linear infinite;
}

/* Glow Effects */
.glow-pulse {
    animation: glowPulse 2s ease-in-out infinite;
}
.data-point {
    animation: dataFloat 3s ease-in-out infinite;
}

/* Scan Line */
.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(179, 161, 199, 0.8), transparent);
    animation: scanDown 3s ease-in-out infinite;
}

/* Keyframes */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes barShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes barPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.15); }
}

@keyframes draw {
    0% { stroke-dashoffset: 1000; }
    100% { stroke-dashoffset: 0; }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 5px rgba(179, 161, 199, 0.3); }
    50% { box-shadow: 0 0 20px rgba(179, 161, 199, 0.6); }
}

@keyframes dataFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes scanDown {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes ticker {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}
