:root {
    --bg-dark: #0a0c15;
    --bg-darker: #05070f;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --primary: #3b82f6;
    --primary-glow: #3b82f680;
    --primary-light: #60a5fa;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --text-light: #f1f5f9;
    --text-secondary: #94a3b8;
    --border-dim: #1e293b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    scroll-behavior: smooth;
}


.glass-nav {
    background: rgba(10, 12, 21, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.navbar-brand {
    letter-spacing: -0.5px;
}

.text-gradient {
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 800;
}

.nav-link {
    color: var(--text-light) !important;
    transition: 0.2s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-light) !important;
}

.btn-primary {
    background: var(--accent-gradient);
    border: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.shine-btn {
    position: relative;
    overflow: hidden;
}

.shine-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(25deg);
    transition: 0.5s;
}

.shine-btn:hover::after {
    left: 100%;
}


.hero-section {
    background: radial-gradient(circle at 10% 30%, #0f172a, var(--bg-darker));
    position: relative;
}

.bg-gradient-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 40%, rgba(59, 130, 246, 0.15), transparent 70%);
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent);
    filter: blur(50px);
    top: -50px;
    right: -50px;
    z-index: 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.counter-num {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}


.animate-fade-up,
.animate-fade-right,
.trend-card,
.asset-card,
.result-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.6s ease;
}

.animate-fade-up.visible,
.trend-card.visible,
.asset-card.visible,
.result-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-right {
    transform: translateX(40px);
}

.animate-fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}


.trend-card,
.asset-card {
    background: var(--bg-card);
    border-radius: 28px;
    transition: all 0.3s;
    border: 1px solid var(--border-dim);
}

.trend-card:hover,
.asset-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.5);
}

.icon-circle {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.12);
    border-radius: 60px;
    color: var(--primary-light);
}

.bg-dark-alt {
    background-color: #0c1020;
}

.bg-glass {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3);
}


.result-card {
    background: linear-gradient(145deg, #111827, #0a0f1a);
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.form-control,
.form-select {
    background-color: #1e293b;
    border: 1px solid #334155;
    color: white;
}

.form-control:focus,
.form-select:focus {
    background-color: #1e293b;
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
    color: white;
}

.bg-gradient-success {
    background: linear-gradient(90deg, #10b981, #3b82f6);
}

.progress-bar {
    border-radius: 8px;
}

.btn-outline-primary {
    border: 1px solid var(--primary);
    color: var(--primary-light);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: black;
}


.bg-primary-soft {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-light);
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .display-1 {
        font-size: 3rem;
    }
}


.shadow-elevate {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

footer a,
footer li {
    cursor: pointer;
    transition: 0.2s;
}

footer li:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.bi,
i {
    transition: 0.2s;
}


::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}