* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eaf6 100%);
    position: relative;
}

.login-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.25;
    animation: float 8s ease-in-out infinite;
}

.gradient-orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #90caf9 0%, #ce93d8 100%);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.gradient-orb-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #ce93d8 0%, #90caf9 100%);
    bottom: 15%;
    left: 10%;
    animation-delay: 3s;
}

.gradient-orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #90caf9 30%, #ce93d8 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 6s;
}

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

.login-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 56px 48px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(33, 150, 243, 0.12);
    width: 100%;
    max-width: 440px;
    text-align: center;
    position: relative;
    z-index: 2;
    margin: 20px;
}

.login-header {
    margin-bottom: 40px;
}

.brand-logo h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #2196f3 0%, #9333ea 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    animation: gradientShift 6s ease-in-out infinite;
    letter-spacing: -0.03em;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.login-header h2 {
    color: rgba(0, 0, 0, 0.87);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.login-subtitle {
    font-family: 'Quicksand', sans-serif;
    color: rgba(0, 0, 0, 0.6);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.login-content {
    margin-bottom: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 24px;
    text-decoration: none;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #2196f3 0%, #9333ea 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.3);
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(33, 150, 243, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-apple {
    background: #000000;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: 1px solid #000000;
}

.btn-apple:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-apple:active {
    background: #333333;
    transform: translateY(0);
}

.btn-google {
    background: #ffffff;
    color: #757575;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 12px;
}

.btn-google:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-google:active {
    background: #f1f3f4;
    transform: translateY(0);
}

.btn-text {
    flex: 1;
    text-align: center;
}

.btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.login-divider {
    margin: 32px 0;
    position: relative;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.12), transparent);
}

.login-divider span {
    background: rgba(0, 0, 0, 0.04);
    padding: 8px 16px;
    border-radius: 20px;
    color: rgba(0, 0, 0, 0.5);
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.security-features {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.875rem;
    font-weight: 500;
}

.feature-icon {
    font-size: 1rem;
}

.login-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.login-footer p {
    font-family: 'Quicksand', sans-serif;
    color: rgba(0, 0, 0, 0.4);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .login-box {
        padding: 40px 28px;
        margin: 16px;
        border-radius: 20px;
    }

    .brand-logo h1 {
        font-size: 2.75rem;
    }

    .login-subtitle {
        font-size: 0.95rem;
    }

    .login-header h2 {
        font-size: 1.5rem;
    }

    .security-features {
        flex-direction: column;
        gap: 16px;
    }

    .gradient-orb-1, .gradient-orb-2, .gradient-orb-3 {
        width: 250px;
        height: 250px;
    }
}