@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --koly: #8B5CF6;
    --koly-dark: #7C3AED;
    --koly-soft: #F5F3FF;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.bg-gradient-koly {
    background: radial-gradient(circle at top left, #8B5CF610 0%, transparent 40%),
                radial-gradient(circle at bottom right, #7C3AED10 0%, transparent 40%);
}

.shadow-violet {
    box-shadow: 0 20px 40px -15px rgba(139, 92, 246, 0.15);
}

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

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

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--koly);
}

/* Modal Styles Refined */
.modal-overlay {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

.modal-content {
    transform: translateY(30px) scale(0.98);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: white;
    filter: drop-shadow(0 25px 50px -12px rgba(139, 92, 246, 0.25));
}

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

.input-koly {
    width: 100%;
    height: 3.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 1rem;
    background-color: #f8fafc;
    border: 2px solid #f1f5f9;
    transition: all 0.3s ease;
    outline: none;
    font-weight: 600;
    color: #0f172a;
    font-size: 0.875rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.input-koly:focus {
    border-color: rgba(139, 92, 246, 0.4);
    background-color: white;
    box-shadow: 0 0 0 8px rgba(139, 92, 246, 0.05), inset 0 2px 4px rgba(0,0,0,0.02);
}

.input-koly::placeholder {
    color: #cbd5e1;
}

.input-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.input-label {
    font-size: 10px;
    font-weight: 900;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-left: 0.25rem;
    transition: color 0.3s ease;
}

.input-container:focus-within .input-label {
    color: var(--koly);
}

.captcha-wrapper {
    padding: 1rem;
    background-color: rgba(248, 250, 252, 0.5);
    border-radius: 1rem;
    border: 1px solid rgba(241, 245, 249, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.success-icon-animation {
    animation: scale-up 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scale-up {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

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