@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --color-bg: #0B1320;
    --color-primary: #2563EB;
    --color-cyan: #00D4DB;
    --color-green: #2ECC71;
    --color-text: #F2F4F7;
    --color-muted: #1F2937;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(31, 41, 55, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
}

.glass-card {
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.6) 0%, rgba(11, 19, 32, 0.8) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 212, 219, 0.15);
    border: 1px solid rgba(0, 212, 219, 0.3);
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(90deg, var(--color-cyan) 0%, var(--color-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.text-gradient-blue {
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Glowing Buttons */
.btn-glow {
    position: relative;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-cyan) 100%);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-cyan), var(--color-green));
    z-index: -1;
    border-radius: 0.6rem;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-glow:hover::before {
    opacity: 0.8;
}

.btn-glow:hover {
    transform: scale(1.05);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    background: rgba(0, 212, 219, 0.05);
}

/* Navbar active state */
.nav-link {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: white;
}

.nav-link.active {
    color: var(--color-cyan);
    font-weight: 500;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-cyan);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--color-cyan);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
}

/* 3D Canvas Background */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Chart Styles */
.chart-container {
    position: relative;
    height: 200px;
    width: 100%;
}

.chart-line {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chart-line.cyan {
    stroke: var(--color-cyan);
    filter: drop-shadow(0 0 5px var(--color-cyan));
}

.chart-line.green {
    stroke: var(--color-green);
    filter: drop-shadow(0 0 5px var(--color-green));
}

.chart-line.purple {
    stroke: #a855f7;
    filter: drop-shadow(0 0 5px #a855f7);
}

/* Neon lines separator */
.neon-separator {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 219, 0.5), transparent);
    margin: 3rem 0;
}




.is-valid {
    border-color: #0d5806 !important;
}

.is-invalid {
    border-color: #5f0808 !important;
}

.is-warning {
    border-color: #5c7409 !important;
}

.confirmButton {
    background: linear-gradient(90deg, var(--color-primary), var(--color-cyan), var(--color-green));
}

.confirmButton:hover {
    background: linear-gradient(90deg, var(--color-primary), var(--color-cyan), var(--color-green));
}