/* Getzio Custom Styles */

:root {
    --primary: #261FB3;
    --primary-light: #4e47d4;
    --primary-dark: #1a157e;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
}

/* Base Styles */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.glass-dark {
    background: rgba(26, 31, 179, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Background Gradients */
.hero-gradient {
    background: radial-gradient(circle at top right, var(--primary-light), var(--primary));
    position: relative;
}

/* Scroll Reveal Base State */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

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

/* Custom Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

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

.stagger-1 {
    transition-delay: 100ms;
}

.stagger-2 {
    transition-delay: 200ms;
}

.stagger-3 {
    transition-delay: 300ms;
}

/* Custom Buttons & Hover Effects */
.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(38, 31, 179, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 20px 35px -5px rgba(38, 31, 179, 0.4);
    transform: translateY(-2px);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .scroll-reveal {
        transition-duration: 0.8s;
        transform: translateY(20px);
    }
}

/* Onboarding Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    /* Enable scrolling */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 2rem 1rem;
    /* More vertical padding for mobile */
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.onboarding-card {
    background: white;
    width: 100%;
    max-width: 520px;
    border-radius: 2rem;
    overflow: hidden;
    position: relative;
    margin: auto;
    /* Magic centering that works with parent overflow-y: auto */
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .onboarding-card {
    transform: scale(1) translateY(0);
}

.onboarding-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 2.5rem 2rem;
    color: white;
    text-align: center;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: #f8fafc;
    border: 2px solid #f1f5f9;
    border-radius: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--primary-light);
    background: white;
    box-shadow: 0 0 0 4px rgba(38, 31, 179, 0.1);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
    margin-left: 0.25rem;
}

.onboarding-close {
    position: absolute;
    top: 0.2rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.onboarding-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}