@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0f172a;
    --accent: #6366f1;
    --glass: rgba(255, 255, 255, 0.7);
    --border: rgba(255, 255, 255, 0.4);
}

body {
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    color: #1e293b;
    background-color: #f8faff;
    background-image: 
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(56, 189, 248, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(236, 72, 153, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
}

body::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    z-index: -1;
    animation: floatingOrb 15s infinite alternate ease-in-out;
}

@keyframes floatingOrb {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 100px) scale(1.3); }
}

.soft-card {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 32px;
    padding: 3rem;
    border: 1px solid var(--border);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.02),
        0 20px 40px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); 
    opacity: 0; 
    animation: smoothSlideUp 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    will-change: transform, opacity; 
}

@keyframes smoothSlideUp {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.95);  
    }
    60% {
        opacity: 0.7; 
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);  
    }
}

.soft-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 255, 255, 0.8);
}

.brand-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    color: #fff;
    font-weight: 800;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    padding: 20px;
    transition: 0.3s ease;
    height: 100%;
}

.feature:hover {
    background: #ffffff;
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.feature h6 {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
    padding: 0 16px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
}

.input-group-text {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-left: none;
    border-radius: 0 14px 14px 0;
    color: #94a3b8;
}

.btn-wow {
    height: 52px;
    width: 100%;
    border-radius: 16px;
    border: none;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.15);
}

.btn-wow:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.25);
}

.eye { cursor: pointer; }

.invalid-feedback {
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 5px;
}

.shake {
    animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

.modal-content {
    border-radius: 28px;
    border: none;
    padding: 15px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.modal-header { border-bottom: none; }
.modal-footer { border-top: none; }