:root {
    --rv-red: #dc2626;
    --rv-red-dark: #991b1b;
    --rv-navy: #1e3a8a;
    --rv-navy-dark: #1e40af;
    --rv-blue-dark: #f8fafc;
    --rv-blue-darker: #ffffff;
    --rv-blue-gray: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--rv-blue-darker);
    color: #1f2937;
    overflow-x: hidden;
    width: 100%;
}

/* Cinematic Entrance Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(60px);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
    .fade-in-up {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.fade-in-up-delay-1 { animation-delay: 0.2s; }
.fade-in-up-delay-2 { animation-delay: 0.4s; }
.fade-in-up-delay-3 { animation-delay: 0.6s; }
.fade-in-up-delay-4 { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--rv-blue-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--rv-red);
    border-radius: 4px;
}

/* Gradient Text */
.red-gradient-text {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blue-gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Effect */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(220, 38, 38, 0.35);
}

/* Button Hover Effects */
.btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.4);
}

.btn-primary-blue {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary-blue:hover::before {
    left: 100%;
}

.btn-primary-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.35);
}

.btn-outline-blue {
    border: 1px solid rgba(30, 58, 138, 0.4);
    color: #1e3a8a;
    background: transparent;
}

.btn-outline-blue:hover {
    background: #1e3a8a;
    color: #ffffff;
}

.logo-badge {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

/* Card Hover Effects */
.asset-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    color: #1f2937;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.asset-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #dc2626;
    box-shadow: 0 30px 60px rgba(220, 38, 38, 0.25);
}

/* Floating Animation */
.float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Pulse Glow */
.pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(220, 38, 38, 0.3); }
    50% { box-shadow: 0 0 40px rgba(220, 38, 38, 0.6); }
}

.pulse-glow-blue {
    animation: pulseGlowBlue 3s ease-in-out infinite;
}

@keyframes pulseGlowBlue {
    0%, 100% { box-shadow: 0 0 20px rgba(30, 58, 138, 0.25); }
    50% { box-shadow: 0 0 40px rgba(30, 58, 138, 0.5); }
}

/* Ticker Animation */
.ticker-wrap {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 2px solid #dc2626;
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 40s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Section Reveal */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Background Pattern */
.bg-pattern {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.05) 0%, transparent 50%);
}

/* Form Inputs + Select Styling */
input, select, textarea {
    color: #1f2937;
    background: #ffffff;
    border: 1px solid rgba(220, 38, 38, 0.3);
    caret-color: #dc2626;
}

select option {
    color: #0f172a;
    background: #f8fafc;
}

/* Navigation Blur */
.nav-blur {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
    color: #1f2937;
}

.nav-blur a,
.nav-blur .nav-link,
.nav-blur .menu-item a {
    color: #1f2937 !important;
}

.nav-blur a:hover,
.nav-blur .nav-link:hover,
.nav-blur .menu-item a:hover {
    color: #dc2626 !important;
}

/* Smooth Section Transitions */
section {
    position: relative;
}

.text-white {
    color: #1f2937 !important;
}

.text-gray-200,
.text-gray-100,
.text-gray-50 {
    color: #1f2937 !important;
}

.bg-blue-darker {
    background-color: #ffffff !important;
    color: #1f2937 !important;
}

.bg-blue-dark {
    background-color: #f8fafc !important;
    color: #1f2937 !important;
}

.border-red-900\/20 {
    border-color: rgba(153, 27, 27, 0.2) !important;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.5), transparent);
}
