.register-page { min-height:100vh; overflow-x:hidden; }
.register-main { position:relative; z-index:2; }
.register-section { padding-top:150px; padding-bottom:55px; }
.register-layout { display:grid; grid-template-columns:minmax(0,1.06fr) minmax(430px,.94fr); gap:64px; align-items:center; }
.register-showcase h1 { font-size:clamp(48px,6vw,78px); line-height:.98; letter-spacing:-.055em; max-width:770px; margin:18px 0 20px; }
.register-showcase h1 span { background:linear-gradient(120deg,#5555d8,#8b5bc7); -webkit-background-clip:text; background-clip:text; color:transparent; }
.register-showcase > p { max-width:720px; margin:0; color:var(--muted); font-size:14px; line-height:1.8; }
.active-register { box-shadow:0 10px 25px rgba(92,92,226,.2); }

.journey { margin-top:28px; padding:20px; border-radius:24px; }
.journey-head { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:17px; }
.journey-head span { font-size:10px; text-transform:uppercase; letter-spacing:.12em; color:#8a96a6; font-weight:700; }
.journey-head strong { font-size:10px; color:var(--primary); }
.journey-line { display:grid; grid-template-columns:1fr auto 1fr auto 1fr auto 1fr; align-items:center; gap:8px; }
.journey-line > svg { width:15px; color:#adb6c2; }
.journey-step { min-width:0; }
.journey-step > span { width:29px; height:29px; border-radius:10px; display:grid; place-items:center; background:rgba(121,132,150,.09); color:#7d8999; font-size:8px; font-weight:800; margin-bottom:8px; }
.journey-step.active > span { background:linear-gradient(145deg,#6d6de7,#5353cc); color:white; box-shadow:6px 7px 15px rgba(82,82,186,.2); }
.journey-step b,.journey-step small { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.journey-step b { font-size:10px; }
.journey-step small { font-size:7.5px; color:#8e9aa8; margin-top:3px; }

.register-benefits { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:15px; }
.benefit-card { min-height:132px; border-radius:20px; padding:17px; }
.benefit-card > span { width:37px; height:37px; border-radius:13px; display:grid; place-items:center; background:rgba(92,92,226,.09); color:var(--primary); margin-bottom:16px; }
.benefit-card > span svg { width:18px; }
.benefit-card strong,.benefit-card small { display:block; }
.benefit-card strong { font-size:10px; }
.benefit-card small { margin-top:6px; color:#8793a3; font-size:8px; line-height:1.5; }
.profile-preview { margin-top:15px; border-radius:23px; padding:18px; }
.profile-preview-top { display:flex; align-items:center; gap:11px; }
.profile-avatar { width:39px; height:39px; border-radius:13px; display:grid; place-items:center; color:white; background:linear-gradient(145deg,#6d6de7,#5555c8); }
.profile-avatar svg { width:18px; }
.profile-preview-top > div { flex:1; min-width:0; }
.profile-preview-top small,.profile-preview-top strong { display:block; }
.profile-preview-top small { font-size:7px; color:#929daa; text-transform:uppercase; letter-spacing:.1em; }
.profile-preview-top strong { margin-top:2px; font-size:11px; }
.profile-status { display:flex; align-items:center; gap:4px; font-size:7px; color:#27804a; background:rgba(34,197,94,.08); padding:7px 9px; border-radius:10px; }
.profile-status svg { width:12px; }
.profile-preview-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-top:13px; }
.profile-preview-grid div { background:rgba(255,255,255,.42); border:1px solid rgba(255,255,255,.62); border-radius:12px; padding:10px; }
.profile-preview-grid small,.profile-preview-grid strong { display:block; }
.profile-preview-grid small { font-size:6.5px; color:#9aa4b0; }
.profile-preview-grid strong { font-size:8.5px; margin-top:4px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.register-card { border-radius:32px; padding:30px; position:relative; overflow:hidden; box-shadow:0 26px 70px rgba(79,92,116,.16), inset 1px 1px 0 rgba(255,255,255,.9); }
.register-card::before { content:""; position:absolute; width:210px; height:210px; border-radius:50%; background:rgba(92,92,226,.09); right:-90px; top:-105px; }
.register-card > * { position:relative; z-index:1; }
.register-card-top { display:flex; align-items:center; gap:14px; }
.register-logo { width:50px; height:50px; border-radius:16px; display:grid; place-items:center; color:white; background:linear-gradient(145deg,#7373ef,#4d4dc4); box-shadow:9px 9px 22px rgba(83,83,183,.23), inset 1px 1px 0 rgba(255,255,255,.3); }
.register-logo svg { width:22px; }
.register-card-top small { display:block; color:var(--muted); font-size:9px; text-transform:uppercase; letter-spacing:.12em; }
.register-card-top h2 { margin:2px 0 0; font-size:29px; letter-spacing:-.04em; }
.register-intro { color:#8793a3; font-size:8.5px; line-height:1.6; margin:13px 0 19px; }
.register-notice { display:flex; gap:9px; align-items:flex-start; padding:11px 12px; border-radius:14px; margin-bottom:16px; font-size:9px; line-height:1.5; }
.register-notice svg { width:16px; flex:0 0 auto; }
.register-notice.error { background:rgba(239,68,68,.08); color:#b33d3d; border:1px solid rgba(239,68,68,.13); }
.register-notice.success { background:rgba(34,197,94,.08); color:#27804a; border:1px solid rgba(34,197,94,.13); }
.register-form { display:grid; gap:14px; }
.field-group { display:grid; gap:7px; }
.field-group > span { font-size:10px; font-weight:800; color:#516074; }
.field-group > span em { color:#d25364; font-style:normal; }
.field-group > span b { font-weight:600; color:#929dab; font-size:8px; }
.field-group > small { color:#8a97a8; font-size:8px; line-height:1.45; }
.field-shell { min-height:49px; display:flex; align-items:center; gap:9px; border-radius:15px; padding:0 13px; background:#edf2f7; box-shadow:inset 5px 5px 12px rgba(166,178,194,.21), inset -6px -6px 14px rgba(255,255,255,.82); border:1px solid rgba(255,255,255,.7); transition:.2s ease; }
.field-shell:focus-within { border-color:rgba(92,92,226,.2); box-shadow:inset 4px 4px 10px rgba(166,178,194,.18), inset -5px -5px 12px rgba(255,255,255,.88), 0 0 0 3px rgba(92,92,226,.05); }
.field-group.has-error .field-shell { border-color:rgba(220,70,88,.23); background:rgba(255,239,241,.62); }
.field-group.has-error > small { color:#bc5260; }
.field-shell > svg { width:17px; color:#7d899a; flex:0 0 auto; }
.country-code { font-size:10px; font-weight:800; color:#59677a; padding-right:8px; border-right:1px solid rgba(129,145,165,.18); }
.field-shell input { border:0; outline:0; background:transparent; width:100%; min-width:0; color:#2f3b4a; font:inherit; font-size:10.5px; }
.field-shell input::placeholder { color:#9ba6b4; }
.password-toggle { width:30px; height:30px; border:0; border-radius:10px; cursor:pointer; background:transparent; color:#7b8797; display:grid; place-items:center; flex:0 0 auto; }
.password-toggle:hover { background:rgba(255,255,255,.7); color:var(--primary); }
.password-toggle svg { width:16px; }
.pin-grid { display:grid; grid-template-columns:1fr 1fr; gap:11px; }
.pin-meter { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:9px; padding:8px 10px; border-radius:12px; background:rgba(92,92,226,.045); }
.meter-label { font-size:7.5px; color:#758397; display:flex; align-items:center; gap:5px; }
.meter-label svg { width:12px; color:var(--primary); }
.meter-bars { display:grid; grid-template-columns:repeat(3,1fr); gap:4px; }
.meter-bars i { height:4px; border-radius:99px; background:rgba(130,143,160,.15); transition:.2s ease; }
.pin-meter[data-level="1"] .meter-bars i:nth-child(1),
.pin-meter[data-level="2"] .meter-bars i:nth-child(-n+2),
.pin-meter[data-level="3"] .meter-bars i { background:var(--primary); }
.pin-meter small { color:#929dab; font-size:7px; white-space:nowrap; }
.terms-control { display:grid; grid-template-columns:auto 1fr; gap:8px; align-items:flex-start; cursor:pointer; margin-top:1px; }
.terms-control input { position:absolute; opacity:0; pointer-events:none; }
.custom-check { width:18px; height:18px; border-radius:6px; display:grid; place-items:center; background:#e8edf3; box-shadow:inset 3px 3px 6px rgba(152,166,185,.22), inset -3px -3px 6px white; color:transparent; margin-top:1px; }
.custom-check svg { width:11px; }
.terms-control input:checked + .custom-check { background:var(--primary); color:white; box-shadow:none; }
.terms-control em { font-style:normal; font-size:8px; color:#768497; line-height:1.55; }
.terms-control a { color:var(--primary); font-weight:700; }
.terms-control.has-error em,.terms-error { color:#bc5260; }
.terms-error { margin-top:-9px; padding-left:26px; font-size:7.5px; }
.register-submit { margin-top:2px; }
.secure-strip { display:flex; gap:8px; align-items:flex-start; margin-top:13px; padding:10px 12px; border-radius:13px; background:rgba(34,197,94,.055); color:#657c6d; font-size:8px; line-height:1.45; }
.secure-strip svg { width:14px; color:#2d9a58; flex:0 0 auto; }
.auth-divider { display:flex; align-items:center; gap:10px; color:#94a0ae; font-size:8px; margin:18px 0 12px; }
.auth-divider::before,.auth-divider::after { content:""; height:1px; flex:1; background:rgba(126,142,164,.15); }
.phase-note { display:flex; gap:7px; align-items:flex-start; color:#8794a4; font-size:8px; line-height:1.5; margin:17px 0 0; padding-top:15px; border-top:1px solid rgba(130,146,166,.14); }
.phase-note svg { width:14px; flex:0 0 auto; }

.registration-flow { padding-top:18px; padding-bottom:70px; }
.flow-card { border-radius:30px; padding:28px; display:grid; grid-template-columns:.75fr 1.25fr; gap:34px; align-items:center; }
.flow-copy h2 { font-size:31px; letter-spacing:-.04em; margin:10px 0 10px; line-height:1.05; }
.flow-copy p { color:var(--muted); font-size:9px; line-height:1.7; margin:0; }
.flow-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; }
.flow-grid > div { min-height:142px; padding:14px; border-radius:18px; background:rgba(255,255,255,.44); border:1px solid rgba(255,255,255,.62); position:relative; }
.flow-grid > div > span { position:absolute; top:10px; right:11px; font-size:7px; color:#a1aab6; }
.flow-grid svg { width:19px; color:var(--primary); margin:5px 0 18px; }
.flow-grid strong,.flow-grid small { display:block; }
.flow-grid strong { font-size:9px; }
.flow-grid small { margin-top:5px; font-size:7.5px; color:#8c97a5; line-height:1.5; }
.auth-footer { padding-top:0; }
.auth-footer .footer-card { padding:18px 25px; }
.auth-footer-bottom { margin:0; padding:0; border-top:0; }
.auth-footer-bottom a { color:inherit; }
.mini-toast { position:fixed; left:50%; bottom:24px; transform:translate(-50%,20px); background:#2f3a49; color:white; padding:10px 14px; border-radius:12px; font-size:9px; z-index:120; opacity:0; pointer-events:none; transition:.24s ease; box-shadow:0 12px 30px rgba(34,44,58,.24); }
.mini-toast.show { opacity:1; transform:translate(-50%,0); }

@media (max-width:1120px) {
    .register-layout { grid-template-columns:1fr; gap:40px; }
    .register-showcase { max-width:880px; }
    .register-card { max-width:650px; width:100%; }
    .flow-card { grid-template-columns:1fr; }
}
@media (max-width:760px) {
    .register-section { padding-top:118px; }
    .register-benefits { grid-template-columns:1fr; }
    .benefit-card { min-height:0; display:grid; grid-template-columns:auto 1fr; gap:12px; align-items:start; }
    .benefit-card > span { margin:0; }
    .journey-line { grid-template-columns:1fr 1fr; gap:12px; }
    .journey-line > svg { display:none; }
    .profile-preview-grid { grid-template-columns:1fr 1fr; }
    .pin-grid { grid-template-columns:1fr; }
    .flow-grid { grid-template-columns:1fr 1fr; }
    .register-card { padding:24px 18px; border-radius:25px; }
    .register-showcase h1 { font-size:clamp(42px,12vw,60px); }
}
@media (max-width:480px) {
    .journey { padding:16px; }
    .journey-line { grid-template-columns:1fr; }
    .profile-preview { display:none; }
    .flow-grid { grid-template-columns:1fr; }
    .flow-grid > div { min-height:0; }
    .pin-meter { grid-template-columns:1fr; }
    .pin-meter small { white-space:normal; }
    .auth-footer-bottom { font-size:8px; }
}
