* {
    scroll-behavior: smooth;
}

html, body {
    background-color: #000000;
    overflow-x: hidden;
    max-width: 100%;
}

/* Glassmorphism Base */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(117, 145, 209, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(117, 145, 209, 0.1);
}

.glass-input {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    padding: 14px 18px;
    width: 100%;
    transition: all 0.3s ease;
    outline: none;
}

.glass-input:focus {
    border: 1px solid rgba(117, 145, 209, 0.5);
    box-shadow: 0 0 20px rgba(117, 145, 209, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #000000 0%, #7591d1 50%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow Effects */
.glow-border {
    position: relative;
}

.glow-border::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(117, 145, 209, 0.5), transparent 40%, transparent 60%, rgba(117, 145, 209, 0.5));
    z-index: -1;
    opacity: 0.7;
}

/* Marquee Fade Edges */
.marquee-container {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

/* Global Ripple Cursor Layer */
#ripple-layer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background-color: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><defs><radialGradient id='g'><stop offset='0%25' stop-color='%23000000' stop-opacity='0.001'/><stop offset='100%25' stop-color='%23000000' stop-opacity='0'/></radialGradient></defs><circle cx='55' cy='55' r='55' fill='url(%23g)'/><circle cx='165' cy='55' r='55' fill='url(%23g)'/><circle cx='55' cy='165' r='55' fill='url(%23g)'/><circle cx='165' cy='165' r='55' fill='url(%23g)'/><circle cx='110' cy='110' r='45' fill='url(%23g)'/></svg>");
    background-size: 220px 220px;
    background-repeat: repeat;
}
#ripple-layer canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* Three.js Hero Canvas */
#hero-shader {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}
#hero-shader canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* Animated Background Grid */
.grid-bg {
    background-image:
        linear-gradient(rgba(117, 145, 209, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 36, 65, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Floating Animation Delays */
.float-delay-1 { animation-delay: 0s; }
.float-delay-2 { animation-delay: 2s; }
.float-delay-3 { animation-delay: 4s; }

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #000000;
}
::-webkit-scrollbar-thumb {
    background: rgba(117, 145, 209, 0.3);
    border-radius: 3px;
}

/* Section Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Responsive financial table */
.fin-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.fin-table th, .fin-table td { padding: 14px 18px; text-align: left; font-size: 0.95rem; }
.fin-table thead th { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(143, 168, 224, 0.9); border-bottom: 1px solid rgba(255,255,255,0.08); }
.fin-table tbody tr { transition: background 0.25s ease; }
.fin-table tbody tr:hover { background: rgba(117, 145, 209, 0.06); }
.fin-table tbody td { border-bottom: 1px solid rgba(255,255,255,0.04); color: rgba(255,255,255,0.75); }
.fin-table tbody tr:last-child td { border-bottom: none; }
.fin-table .total { color: #8fa8e0; font-weight: 600; }
@media (max-width: 640px) {
    .fin-table th, .fin-table td { padding: 10px 10px; font-size: 0.82rem; }
}

