/* Custom styles for Naireso Investment website - Modern Design 2025 */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --accent: #f97316;
    --accent-dark: #ea580c;
    --accent-light: #ffedd5;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Ultra-modern gradients */
    --gradient-ultramodern: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-futuristic: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    --gradient-neon: linear-gradient(135deg, #22d3ee 0%, #818cf8 100%);
    
    /* Shadows */
    --shadow-soft: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --shadow-colored: 0 10px 15px -3px rgba(59, 130, 246, 0.5), 0 4px 6px -2px rgba(59, 130, 246, 0.25);
}

/* General styles */
body {
    scroll-behavior: smooth;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Modern Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-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);
}

/* Neomorphism */
.neomorphic {
    background: var(--light);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1),
                -5px -5px 15px rgba(255, 255, 255, 0.8);
    border-radius: 15px;
}

.neomorphic-dark {
    background: var(--dark);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5),
                -5px -5px 15px rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.neomorphic-inset {
    background: var(--light);
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.1),
                inset -5px -5px 10px rgba(255, 255, 255, 0.8);
    border-radius: 15px;
}

/* Frosted Glass */
.frosted {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.125);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Header scroll effect */
#main-header {
    transition: all 0.3s ease;
}

#main-header.scrolled .frosted {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Card Styles */
.card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 5px;
    background: var(--gradient-ultramodern);
    transform: scaleX(0);
    transform-origin: 0 0;
    transition: transform 0.5s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-ultramodern {
    border: none;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    overflow: hidden;
}

.card-ultramodern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-neon {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.4s ease;
}

.card-neon:hover {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5), 0 0 30px rgba(99, 102, 241, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.6);
}

/* Button styles */
.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--gradient-futuristic);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-neon {
    background: transparent;
    border: 2px solid var(--primary-light);
    color: var(--primary-light);
    box-shadow: 0 0 5px var(--primary-light), 0 0 10px rgba(96, 165, 250, 0.3);
}

.btn-neon:hover {
    background: rgba(96, 165, 250, 0.1);
    box-shadow: 0 0 10px var(--primary-light), 0 0 20px rgba(96, 165, 250, 0.5);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.btn span, .btn i {
    position: relative;
    z-index: 2;
}

/* Custom Gradients */
.bg-gradient-primary {
    background: var(--gradient-futuristic);
}

.bg-gradient-ultramodern {
    background: var(--gradient-ultramodern);
}

.bg-gradient-neon {
    background: var(--gradient-neon);
}

.text-gradient {
    background: var(--gradient-ultramodern);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-gradient-neon {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-primary {
    background: var(--gradient-futuristic);
}

.gradient-ultramodern {
    background: var(--gradient-ultramodern);
}

.gradient-neon {
    background: var(--gradient-neon);
}

/* Animations */
.animate-fadeIn {
    animation: fadeIn 0.8s ease-in-out forwards;
}

.animate-slideIn {
    animation: slideIn 0.8s ease-in-out forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-slow {
    animation: float 10s ease-in-out 2s infinite;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

.animate-spin {
    animation: spin 3s linear infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite alternate;
}

.animate-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.animate-morph {
    animation: morph 8s ease-in-out infinite;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }

/* Form elements */
input, textarea, select {
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    outline: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Modern section styles */
.section-divider {
    position: relative;
    height: 100px;
    overflow: hidden;
}

.section-divider svg {
    position: absolute;
    width: 100%;
    height: 100%;
    fill: var(--light);
}

/* Floating elements */
.float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .dark-mode-support {
        background-color: var(--dark);
        color: var(--light);
    }
}
