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

/* ── Gold palette from Ader Express logo ── */
:root {
    --gold-bright:   #f5c842;   /* bright gold highlight */
    --gold-mid:      #d4a017;   /* mid gold / primary */
    --gold-deep:     #a87a0a;   /* deep gold / hover */
    --gold-muted:    #c9a227;   /* muted gold for accents */
    --gold-soft:     #e8c96d;   /* soft warm gold */
    --gold-faint:    rgba(212, 160, 23, 0.08);
    --gold-border:   rgba(212, 160, 23, 0.20);

    --bg-base:       #080808;   /* near-black like logo bg */
    --bg-panel:      #0e0e0e;   /* card / form surface */
    --bg-input:      #111111;
    --bg-input-focus:#141414;

    --text-primary:  #f5f0e0;   /* warm off-white */
    --text-secondary:#9e9070;   /* muted warm grey */
    --text-label:    #c8bfa0;

    --border-subtle: #1c1a14;
    --border-focus:  var(--gold-mid);

    --success:       #4ade80;
    --error-bg:      #130c00;
    --error-border:  #3a2600;
    --error-text:    #f5c842;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg-base);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
}

/* ── Outer wrapper ── */
.lp-wrap {
    display: flex;
    width: 100%;
    max-width: 1060px;
    min-height: 620px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 4px 16px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(212, 160, 23, 0.12);
    background: var(--bg-panel);
}

/* ── LEFT — Login form ── */
.lp-form-side {
    flex: 1;
    padding: 52px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-panel);
}

.lp-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
}

.lp-brand .brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-mid));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #080808;
    font-size: 20px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(212, 160, 23, 0.35);
}

.lp-brand .brand-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.lp-brand .brand-sub {
    font-size: 12px;
    color: var(--text-secondary);
}

.lp-heading {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.lp-sub {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Error */
.lp-error {
    background: var(--error-bg);
    border: 1px solid var(--error-border);
    color: var(--error-text);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
}

/* Form fields */
.fg {
    margin-bottom: 18px;
}

.fg label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-label);
    margin-bottom: 7px;
}

.fi-wrap {
    position: relative;
}

.fi-wrap .fi-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 15px;
    pointer-events: none;
}

.fi-wrap input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid var(--border-subtle);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-input);
    outline: none;
    transition: all 0.2s;
}

.fi-wrap input:focus {
    border-color: var(--gold-mid);
    background: var(--bg-input-focus);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15);
}

.fi-wrap .toggle-pw {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 15px;
    transition: color 0.2s;
}

.fi-wrap .toggle-pw:hover {
    color: var(--gold-mid);
}

/* Options row */
.lp-opts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.lp-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}

.lp-remember input {
    accent-color: var(--gold-mid);
    width: 15px;
    height: 15px;
}

.lp-forgot {
    font-size: 13px;
    color: var(--gold-mid);
    font-weight: 500;
    text-decoration: none;
}

.lp-forgot:hover {
    color: var(--gold-bright);
    text-decoration: underline;
}

/* Submit */
.btn-login {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-mid));
    color: #080808;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    cursor: pointer;
    transition: all 0.22s;
    letter-spacing: 0.2px;
}

.btn-login:hover {
    background: linear-gradient(135deg, var(--gold-mid), var(--gold-deep));
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(212, 160, 23, 0.40);
}

.lp-footer {
    text-align: center;
    margin-top: 28px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* ── RIGHT — Marketing panel ── */
.lp-info-side {
    width: 50%;
    background: linear-gradient(155deg, #060606 0%, #0c0900 40%, #1a1200 100%);
    padding: 52px 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    border-left: 1px solid var(--border-subtle);
}

/* decorative circles */
.lp-info-side::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(212, 160, 23, 0.06);
    border-radius: 50%;
    top: -120px;
    right: -100px;
}

.lp-info-side::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    background: rgba(212, 160, 23, 0.04);
    border-radius: 50%;
    bottom: -80px;
    left: -60px;
}

.lp-info-top {
    position: relative;
    z-index: 2;
}

.lp-tagline {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 12px;
}

.lp-tagline span {
    color: var(--gold-soft);
}

.lp-desc {
    font-size: 14px;
    color: rgba(245, 240, 224, 0.55);
    line-height: 1.7;
    margin-bottom: 34px;
}

/* Big stats row */
.lp-stats {
    display: flex;
    gap: 14px;
    margin-bottom: 34px;
}

.lp-stat {
    flex: 1;
    background: var(--gold-faint);
    border: 1px solid var(--gold-border);
    border-radius: 14px;
    padding: 16px 14px;
    text-align: center;
}

.lp-stat .st-icon {
    font-size: 22px;
    color: var(--gold-soft);
    margin-bottom: 8px;
}

.lp-stat .st-val {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.lp-stat .st-lbl {
    font-size: 11px;
    color: rgba(245, 240, 224, 0.45);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tips */
.lp-tips-title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(245, 240, 224, 0.40);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.lp-tips {
    display: flex;
    flex-direction: column;
    gap: 11px;
    position: relative;
    z-index: 2;
}

.lp-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 160, 23, 0.10);
    border-radius: 12px;
    padding: 13px 14px;
}

.lp-tip .tip-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: rgba(212, 160, 23, 0.12);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--gold-soft);
}

.lp-tip h5 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.lp-tip p {
    font-size: 12px;
    color: rgba(245, 240, 224, 0.50);
    line-height: 1.5;
}

.lp-info-bottom {
    position: relative;
    z-index: 2;
}

.lp-secure {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(245, 240, 224, 0.35);
    margin-top: 24px;
}

.lp-secure i {
    color: var(--success);
    font-size: 13px;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .lp-info-side {
        display: none;
    }

    .lp-form-side {
        padding: 44px 32px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
        align-items: stretch;
    }

    .lp-wrap {
        border-radius: 0;
        min-height: 100vh;
    }

    .lp-form-side {
        padding: 40px 24px;
    }
}