:root {
    --bg-color: #1a1c1e;
    --accent-yellow: #d4e157;
    --text-white: #ffffff;
    --text-muted: #a0a0a0;
    --beam-color: #0d0e0f;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Background Beams Pattern */
.background-beams {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.beam {
    position: absolute;
    background-color: var(--beam-color);
    transform-origin: center;
}

.beam-1 {
    width: 200%;
    height: 100px;
    top: 20%;
    left: -50%;
    transform: rotate(15deg);
}

.beam-2 {
    width: 200%;
    height: 120px;
    bottom: 10%;
    left: -50%;
    transform: rotate(-10deg);
}

.beam-3 {
    width: 150px;
    height: 200%;
    left: 10%;
    top: -50%;
    transform: rotate(5deg);
}

.beam-4 {
    width: 100px;
    height: 200%;
    right: 20%;
    top: -50%;
    transform: rotate(-15deg);
}

/* Main Container */
.main-container {
    text-align: center;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo-wrapper {
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-out;
}

.logo-wrapper img {
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
    filter: invert(1);
}

.logo-wrapper img:hover {
    transform: scale(1.05);
}

/* Login Card */
.login-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out;
}

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

.login-header h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
    margin-left: 5px;
}

.form-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 12px 15px;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-yellow);
    background: rgba(255, 255, 255, 0.1);
}

.login-submit {
    width: 100%;
    background: var(--accent-yellow);
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-submit:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--accent-yellow);
}

.login-footer {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.login-footer a {
    color: var(--accent-yellow);
    text-decoration: none;
    margin: 0 10px;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Landing specific */
.proptech-text {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-white);
    margin-bottom: 5px;
    opacity: 0.9;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.go-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-yellow);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    padding: 5px 15px;
    border-radius: 4px;
    margin-top: 10px;
}

.go-btn:hover {
    color: #fff;
    transform: translateX(5px);
}

.go-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Navigation & Footer */
.nav-top-right {
    position: absolute;
    top: 40px;
    right: 40px;
    text-align: right;
    font-size: 14px;
}

.nav-intro {
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.nav-links {
    color: var(--text-white);
}

.nav-links span {
    color: var(--accent-yellow);
}

.footer-bottom-right {
    position: absolute;
    bottom: 40px;
    right: 40px;
    text-align: right;
    font-size: 12px;
    color: var(--text-white);
    line-height: 1.6;
}

.company-name {
    font-size: 14px;
    font-weight: 600;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-top-right, .footer-bottom-right {
        position: static;
        margin-top: 40px;
        text-align: center;
    }
    body {
        overflow-y: auto;
        height: auto;
        padding: 60px 20px;
    }
    .background-beams { opacity: 0.5; }
    .logo-wrapper img { max-width: 150px !important; }
    .login-card { padding: 30px 20px; }
}
