/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background: #f3f6fb;
    color: #0f172a;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.landing-body {
    display: block;
    padding: 0;
    background: #eef3f8;
}

.landing-page {
    min-height: 100vh;
    color: #0f172a;
}

.landing-hero {
    width: min(1120px, calc(100% - 40px));
    min-height: calc(100vh - 178px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 42px;
    align-items: center;
    padding: 48px 0 34px;
}

.landing-kicker {
    color: #1d4ed8;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.landing-copy h1 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 2.85rem;
    line-height: 1.14;
    max-width: 760px;
    margin-bottom: 20px;
}

.landing-description {
    max-width: 650px;
    color: #475569;
    font-size: 1.04rem;
    line-height: 1.7;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}

.btn-primary {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-secondary {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
}

.btn-secondary:hover {
    border-color: #94a3b8;
}

.landing-panel {
    background: #ffffff;
    border: 1px solid #d7dee8;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
    padding: 30px;
}

.landing-logo {
    display: block;
    width: min(260px, 100%);
    height: auto;
    margin: 0 auto 28px;
    border-radius: 8px;
}

.landing-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.landing-stat-grid div {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 10px;
    text-align: center;
    background: #f8fafc;
}

.landing-stat-grid span {
    display: block;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
}

.landing-stat-grid p {
    color: #64748b;
    font-size: 0.82rem;
    margin-top: 4px;
}

.landing-summary {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.landing-summary div {
    background: #ffffff;
    border: 1px solid #d7dee8;
    border-radius: 8px;
    padding: 18px;
}

.landing-summary h2 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 8px;
}

.landing-summary p {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.55;
}

.container {
    width: 100%;
    max-width: 1120px;
}

/* Login Wrapper */
.login-wrapper {
    background: #ffffff;
    border: 1px solid #d7dee8;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
}

/* Welcome Section (Kiri) */
.welcome-section {
    background: #111c44;
    padding: 56px 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.welcome-section h1 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 2.2em;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.logo-container {
    margin: 24px 0;
}

.logo {
    width: 190px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    background: #ffffff;
}

.subtitle {
    color: #cbd5e1;
    font-size: 0.95em;
    line-height: 1.6;
    max-width: 350px;
}

/* Login Section (Kanan) */
.login-section {
    padding: 56px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-section h2 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.8em;
    color: #0f172a;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.25;
}

/* Alert Messages */
.alert {
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9em;
    font-weight: 800;
    border: 1px solid transparent;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.alert-error {
    background-color: #fee2e2;
    border-color: #ef4444;
    border-left: 6px solid #b91c1c;
    color: #7f1d1d;
}

.alert-success {
    background-color: #dcfce7;
    border-color: #22c55e;
    border-left: 6px solid #15803d;
    color: #14532d;
}

/* Form Styles */
.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: #334155;
    font-size: 0.95em;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d7dee8;
    border-radius: 8px;
    font: inherit;
    color: #0f172a;
    background: #ffffff;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.form-group input::placeholder {
    color: #94a3b8;
}

/* Button */
.btn-login {
    width: 100%;
    padding: 14px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-login:hover {
    background: #2563eb;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.btn-login:active {
    transform: translateY(1px);
}

/* Register Link */
.register-link {
    text-align: center;
    margin-top: 25px;
}

.register-link p {
    color: #64748b;
    font-size: 0.95em;
}

.register-link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .landing-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 24px;
        padding-top: 34px;
    }

    .landing-copy h1 {
        font-size: 2rem;
    }

    .landing-summary {
        grid-template-columns: 1fr;
    }

    .landing-stat-grid {
        grid-template-columns: 1fr;
    }

    .login-wrapper {
        grid-template-columns: 1fr;
    }
    
    .welcome-section {
        padding: 40px 30px;
    }
    
    .welcome-section h1 {
        font-size: 2em;
    }
    
    .login-section {
        padding: 40px 30px;
    }
    
    .logo {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .welcome-section h1 {
        font-size: 1.5em;
    }
    
    .login-section h2 {
        font-size: 1.5em;
    }
    
    .login-section {
        padding: 30px 20px;
    }
}
