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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    height: 100vh;
}

/* Main Screen with Video Background */
.main-screen {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: width 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.main-screen.pushed {
    width: 75%;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.main-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    width: 100%;
}

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.main-content h1 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.services-container {
    position: relative;
    min-height: 80px;
    margin-top: 2rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 900px;
}

.service-item {
    position: absolute;
    width: 100%;
    font-size: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    letter-spacing: 1px;
}

.service-item.active {
    opacity: 1;
    transform: translateY(0);
}

.main-content .button-container {
    margin-top: 2rem;
    text-align: center;
}

.get-started-btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.get-started-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.5);
    background: #b91c1c;
}

.get-started-btn:active {
    transform: translateY(-1px);
}

/* Login Canvas */
.login-canvas {
    position: fixed;
    top: 0;
    right: -25%;
    width: 25%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 250, 252, 0.98) 100%);
    backdrop-filter: blur(20px);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.15), -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 3rem;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.login-canvas.active {
    right: 0;
}

.login-header {
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease 0.2s both;
    position: relative;
    z-index: 2;
}

.login-header h2 {
    font-size: 2.2rem;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-header p {
    color: #6b7280;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.2px;
}

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

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    animation: fadeInUp 0.6s ease 0.3s both;
    position: relative;
    z-index: 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    color: #374151;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-left: 2px;
}

.form-group input {
    padding: 1rem 1.25rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    color: #1a1a1a;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-group input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.form-group input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.form-group input:hover {
    border-color: #d1d5db;
}

.login-btn {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    position: relative;
    overflow: hidden;
}

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

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

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
}

.login-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.03);
    border: none;
    font-size: 1.75rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    line-height: 1;
    font-weight: 300;
    z-index: 10;
}

.close-btn:hover {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    transform: rotate(90deg) scale(1.1);
}

.close-btn:active {
    transform: rotate(90deg) scale(0.95);
}

.forgot-password {
    text-align: center;
    margin-top: 1.5rem;
}

.forgot-password a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.forgot-password a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #dc2626;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.forgot-password a:hover {
    color: #dc2626;
}

.forgot-password a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-screen.pushed {
        width: 0%;
    }

    .login-canvas {
        width: 100%;
        right: -100%;
    }

    .logo {
        max-width: 150px;
        margin-bottom: 1.5rem;
    }

    .main-content h1 {
        font-size: 2.5rem;
    }

    .services-container {
        min-height: 60px;
        margin-top: 1.5rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .service-item {
        font-size: 1.1rem;
    }
}


