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

body {
    font-family: 'Space Grotesk', sans-serif;
    min-height: 100vh;
    display: flex;
    background: #09090f;
}

/* LEFT */
.l {
    width: 52%;
    min-height: 100vh;
    background: #09090f;
    display: flex;
    flex-direction: column;
    padding: 52px 60px;
    position: relative;
    overflow: hidden;
}

.l-glow {
    position: absolute;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(109,40,217,0.22) 0%, transparent 65%);
    top: -160px;
    left: -160px;
    pointer-events: none;
}

.l-glow2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79,70,229,0.12) 0%, transparent 65%);
    bottom: -100px;
    right: -80px;
    pointer-events: none;
}

.l-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.l-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: auto;
}

.l-logo-box {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.l-logo-name {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.2px;
}

.l-body {
    padding: 60px 0 80px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.l-eyebrow {
    font-size: 12px;
    font-weight: 600;
    color: #7c3aed;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.l-h1 {
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -1.2px;
    margin-bottom: 20px;
}

.l-h1 span {
    color: transparent;
    background: linear-gradient(90deg, #a78bfa 0%, #818cf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.l-desc {
    font-size: 15px;
    color: #5c5c78;
    line-height: 1.7;
    max-width: 340px;
    margin-bottom: 52px;
}

.l-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.l-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.l-item-icon {
    width: 34px;
    height: 34px;
    background: rgba(124,58,237,0.12);
    border: 1px solid rgba(124,58,237,0.2);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.l-item-icon svg { color: #a78bfa; }

.l-item-text {
    font-size: 14px;
    color: #6b6884;
}

.l-item-text strong {
    color: #e0dff0;
    font-weight: 600;
}

.l-footer {
    font-size: 12px;
    color: #2e2e3e;
}

/* RIGHT */
.r {
    flex: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
}

.r-box {
    width: 100%;
    max-width: 360px;
}

.r-head {
    margin-bottom: 34px;
}

.r-head h2 {
    font-size: 23px;
    font-weight: 700;
    color: #0c0c18;
    letter-spacing: -0.6px;
    margin-bottom: 6px;
}

.r-head p {
    font-size: 13.5px;
    color: #9a97b0;
}

.f-group {
    margin-bottom: 13px;
}

.f-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #3c3a54;
    margin-bottom: 6px;
}

.f-row {
    position: relative;
    display: flex;
    align-items: center;
}

.f-ico {
    position: absolute;
    left: 12px;
    pointer-events: none;
    color: #cccae0;
    display: flex;
    transition: color 0.15s;
}

.f-input {
    width: 100%;
    height: 44px;
    background: #fafafd;
    border: 1.5px solid #ebebf5;
    border-radius: 10px;
    padding: 0 12px 0 38px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    color: #0c0c18;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.f-input::placeholder { color: #d0ceea; }
.f-input:hover { border-color: #d8d6ee; }
.f-input:focus {
    background: #fff;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124,58,237,0.09);
}

.f-row:focus-within .f-ico { color: #7c3aed; }

.f-eye {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #cccae0;
    display: flex;
    align-items: center;
    padding: 3px;
    transition: color 0.15s;
}

.f-eye:hover { color: #7c3aed; }

.opt-row {
    display: flex;
    align-items: center;
    margin: 8px 0 24px;
}

.chk {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.chk input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: #7c3aed;
    cursor: pointer;
}

.chk span {
    font-size: 13px;
    color: #6e6b84;
    user-select: none;
}

.btn-go {
    width: 100%;
    height: 46px;
    background: #0c0c18;
    border: none;
    border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    letter-spacing: -0.1px;
    transition: background 0.15s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.btn-go:hover { background: #1c1c2e; transform: translateY(-1px); }
.btn-go:active { transform: translateY(0); }
.btn-go:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.sep {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.sep-line { flex: 1; height: 1px; background: #f0eef8; }
.sep-txt { font-size: 11.5px; color: #ccc9e4; }

.trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    color: #b8b5d0;
}

.trust svg { color: #c8c5e0; }

.r-note {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f3f2fb;
    font-size: 12px;
    color: #c0bdd8;
    text-align: center;
    line-height: 1.7;
}

/* APPLE ALERT */
.apple-alert {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-12px);
    background: rgba(28, 28, 30, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
    max-width: 340px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.28), 0 2px 8px rgba(0,0,0,0.16);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.34,1.56,0.64,1);
    z-index: 9999;
    white-space: nowrap;
}

.apple-alert.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.apple-alert-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.apple-alert-icon.err  { background: #ff3b30; }
.apple-alert-icon.warn { background: #ff9500; }
.apple-alert-icon.ok   { background: #34c759; }

.apple-alert-body { display: flex; flex-direction: column; gap: 1px; flex: 1; }

.apple-alert-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.apple-alert-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    line-height: 1.4;
}

/* LOCK OVERLAY */
.lock-overlay {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px 20px;
    background: #fafafe;
    border: 1.5px solid #ebebf5;
    border-radius: 14px;
    text-align: center;
}

.lock-overlay.active { display: flex; }

.lock-icon-wrap {
    width: 48px;
    height: 48px;
    background: #fff3f3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lock-overlay h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0c0c18;
    letter-spacing: -0.3px;
}

.lock-overlay p {
    font-size: 13px;
    color: #9a97b0;
    line-height: 1.5;
}

.countdown-badge {
    font-size: 28px;
    font-weight: 700;
    color: #ef4444;
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
    .l { display: none; }
    .r { padding: 40px 24px; }
}
