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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.landing-page {
    width: 100%;
    max-width: 480px;
}

.login-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(59, 130, 246, 0.2);
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.logo-section h1 {
    color: #ffffff;
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 2px 15px rgba(59, 130, 246, 0.4);
}

.tagline {
    color: #d1d5db;
    font-size: 15px;
    font-weight: 400;
}

.login-form h2 {
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.input-group {
    margin-bottom: 20px;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    color: #ffffff;
}

input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="text"]::placeholder {
    color: #9ca3af;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.primary-btn {
    width: 100%;
    padding: 16px;
    background: rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

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

.signup-link {
    text-align: center;
    margin-top: 25px;
}

.signup-link p {
    color: #d1d5db;
    font-size: 14px;
}

.signup-link a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.signup-link a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.message {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
    display: none;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.show {
    display: block;
}

.message.success {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border: 2px solid rgba(34, 197, 94, 0.3);
    backdrop-filter: blur(10px);
}

.message.error {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 2px solid rgba(239, 68, 68, 0.3);
    backdrop-filter: blur(10px);
}

.forgot-password-link {
    text-align: right;
    margin-top: 8px;
}

.forgot-password-link a {
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.forgot-password-link a:hover {
    color: #60a5fa;
}

.secondary-btn {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #9ca3af;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-1px);
}

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

@media (max-width: 480px) {
    .login-card {
        padding: 40px 25px;
    }
    
    .logo-section h1 {
        font-size: 30px;
    }
    
    input[type="email"],
    input[type="password"],
    input[type="text"] {
        padding: 14px 16px;
        font-size: 14px;
    }
}
