/* Custom styles for DefiBrain Landing Page - Vue App Design */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Vue App Background Gradient */
body {
    background: linear-gradient(to bottom right, #111827, #581c87, #111827);
    color: #f3f4f6;
    min-height: 100vh;
}

/* Glassmorphism Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.glass-button {
    background: linear-gradient(to right, #2563eb, #9333ea);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    transition: all 0.2s;
}

.glass-button:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: scale(1.05);
}

.glass-button-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s;
}

.glass-button-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Custom gradient animations */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Enhanced button hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Code block styling */
pre code {
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.6;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #3b82f6, #8b5cf6);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #2563eb, #7c3aed);
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav,
    footer,
    #waitlist {
        display: none;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-gradient-to-r {
        background: #000;
        color: #fff;
    }
}

/* Landing Page Dark Theme Overrides */
.bg-white {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-gray-600,
.text-gray-700 {
    color: #d1d5db !important;
}

.text-gray-900 {
    color: #f3f4f6 !important;
}

.bg-gray-50 {
    background: rgba(255, 255, 255, 0.05) !important;
}

.bg-red-50 {
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

.bg-green-50 {
    background: rgba(34, 197, 94, 0.1) !important;
    border-color: rgba(34, 197, 94, 0.3) !important;
}

.bg-blue-50 {
    background: rgba(59, 130, 246, 0.1) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}

/* Card styling with glassmorphism */
.rounded-lg,
.rounded-xl {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shadow-lg {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

/* Button overrides */
.bg-white.text-blue-600 {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #60a5fa !important;
    border-color: rgba(59, 130, 246, 0.5) !important;
}

.bg-white.text-blue-600:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* Form inputs styling - Solo para formularios con fondo claro */
.bg-white\/90 input[type="text"],
.bg-white\/90 input[type="email"],
.bg-white\/90 input[type="number"],
.bg-white\/90 select,
.bg-white\/90 textarea {
    background: white !important;
    color: #111827 !important;
    border-color: #d1d5db !important;
}

.bg-white\/90 input[type="text"]:focus,
.bg-white\/90 input[type="email"]:focus,
.bg-white\/90 input[type="number"]:focus,
.bg-white\/90 select:focus,
.bg-white\/90 textarea:focus {
    background: white !important;
    border-color: #3b82f6 !important;
    outline: none;
}

.bg-white\/90 input[type="text"]::placeholder,
.bg-white\/90 input[type="email"]::placeholder,
.bg-white\/90 input[type="number"]::placeholder,
.bg-white\/90 textarea::placeholder {
    color: #6b7280 !important;
}

.bg-white\/90 select option {
    background: white !important;
    color: #111827 !important;
}

/* Section background variations */
.section-dark {
    background: linear-gradient(to bottom right, #111827, #581c87, #111827);
}

.section-light {
    background: linear-gradient(to bottom right, #1f2937, #6b21a8, #1f2937);
}

.section-alt {
    background: linear-gradient(to bottom right, #0f172a, #4c1d95, #0f172a);
}

