﻿:root {
    --brand: #00f5a8;
    --brand-dim: rgba(0, 245, 168, 0.15);
    --bg: #050507;
    --bg-s: #0e0e12;
    --border: rgba(255, 255, 255, 0.08);
    --border-h: rgba(0, 245, 168, 0.2);
    --t1: #fff;
    --t2: rgba(255, 255, 255, 0.6);
    --t3: rgba(255, 255, 255, 0.35);
    --t4: rgba(255, 255, 255, 0.22);
    --coral: #ff7148;
    --amber: #ffbd2e;
    --purple: #a78bfa;
    --blue: #60a5fa;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    -webkit-font-smoothing: antialiased;
}
body {
    font-family: "Satoshi", system-ui, sans-serif;
    background: var(--bg);
    color: var(--t1);
    height: 100vh;
    overflow: hidden;
    display: flex;
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    z-index: 9999;
}
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: inherit;
}

/* â•â•â• AMBIENT GRADIENT MESH â€” brand-green only, both sides â•â•â• */
.ag {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
}
.ag1 {
    width: 38vw;
    height: 38vw;
    top: -10vw;
    left: -10vw;
    background: var(--brand);
    opacity: 0.11;
    animation: o1 18s ease-in-out infinite;
}
.ag2 {
    width: 30vw;
    height: 30vw;
    bottom: -10vw;
    left: -4vw;
    background: var(--brand);
    opacity: 0.05;
    animation: o2 22s ease-in-out infinite alternate;
}
.ag3 {
    width: 30vw;
    height: 30vw;
    top: 30vh;
    right: -8vw;
    background: var(--brand);
    opacity: 0.07;
    animation: o1 26s ease-in-out infinite reverse;
}
@keyframes o1 {
    0%,
    100% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.12) translate(2vw, -2vw);
    }
}
@keyframes o2 {
    0% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1.15);
    }
}

/* â•â•â• LAYOUT â•â•â• */
.shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* â•â•â• RIGHT: BRAND SHOWCASE WITH APP MOCKUP â•â•â• */
.showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1.25rem, 2.2vw, 1.75rem) clamp(1.5rem, 3vw, 2.5rem);
    overflow: hidden;
    border-right: 1px solid var(--border);
    background:
        radial-gradient(120% 80% at 20% 20%, rgba(0, 245, 168, 0.1), transparent 50%),
        radial-gradient(80% 60% at 80% 80%, rgba(0, 245, 168, 0.05), transparent 55%),
        linear-gradient(180deg, rgba(0, 245, 168, 0.03), rgba(0, 245, 168, 0.01));
    height: 100vh;
    min-height: 0;
}
.showcase::before {
    content: "";
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 245, 168, 0.3) 30%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(0, 245, 168, 0.3) 70%,
        transparent
    );
    opacity: 0.6;
    pointer-events: none;
}
.showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
    background-size: 24px 24px;
    opacity: 0.5;
    pointer-events: none;
    mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
}

.showcase-logo {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--t1);
    align-self: flex-start;
    transition: opacity 0.25s var(--ease);
}
.showcase-logo:hover {
    opacity: 0.75;
}
.showcase-logo img {
    height: 28px;
    width: auto;
    display: block;
}
.showcase-logo .wm {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--t1);
}
.showcase-head {
    position: relative;
    z-index: 2;
}
.showcase-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 99px;
    background: rgba(0, 245, 168, 0.08);
    border: 1px solid rgba(0, 245, 168, 0.22);
    color: var(--brand);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
}
.showcase-tag .dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--brand);
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px var(--brand);
}
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}
.showcase-headline {
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
    max-width: 18ch;
}
.showcase-headline em {
    font-style: normal;
    background: linear-gradient(120deg, #0cffb8 0%, var(--brand) 55%, #00c486 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.showcase-sub {
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    line-height: 1.5;
    color: var(--t2);
    max-width: 42ch;
}

/* App mockup stage with browser chrome + tilt */
.mockup-stage {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1800px;
    margin: 1.5rem 0;
    min-height: 0;
}
.mockup-frame {
    position: relative;
    width: 100%;
    max-width: 680px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(20, 20, 28, 0.95), rgba(8, 8, 14, 0.95));
    box-shadow:
        0 30px 80px -20px rgba(0, 0, 0, 0.7),
        0 12px 40px -10px rgba(0, 245, 168, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: rotateX(6deg) rotateY(-9deg) rotateZ(0.4deg);
    transform-origin: center;
    transition: transform 0.8s var(--ease);
    animation: mockup-float 9s ease-in-out infinite;
}
@keyframes mockup-float {
    0%,
    100% {
        transform: rotateX(6deg) rotateY(-9deg) rotateZ(0.4deg) translateY(0);
    }
    50% {
        transform: rotateX(5deg) rotateY(-8deg) rotateZ(0.4deg) translateY(-6px);
    }
}
.mockup-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.3));
    pointer-events: none;
}
.mockup-chrome {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(8, 8, 14, 0.7);
    backdrop-filter: blur(8px);
}
.mockup-chrome .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mockup-chrome .dot:nth-child(1) {
    background: #ff5f57;
}
.mockup-chrome .dot:nth-child(2) {
    background: #febc2e;
}
.mockup-chrome .dot:nth-child(3) {
    background: #28c840;
}
.mockup-chrome .url {
    flex: 1;
    text-align: center;
    font-size: 0.62rem;
    color: var(--t4);
    letter-spacing: 0.3px;
    font-weight: 500;
}
.mockup-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top center;
    max-height: min(46vh, 420px);
}

/* Floating annotation pills around the mockup */
.annot {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.8rem;
    border-radius: 0.75rem;
    background: rgba(14, 14, 18, 0.85);
    backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid var(--border-h);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.5),
        0 0 24px rgba(0, 245, 168, 0.08);
    z-index: 3;
    pointer-events: none;
}
.annot .annot-icon {
    width: 28px;
    height: 28px;
    border-radius: 0.5rem;
    display: grid;
    place-items: center;
    background: rgba(0, 245, 168, 0.12);
    color: var(--brand);
    flex-shrink: 0;
}
.annot .annot-icon svg {
    width: 14px;
    height: 14px;
}
.annot .annot-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.annot .annot-v {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--t1);
}
.annot .annot-l {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--t3);
    letter-spacing: 0.2px;
}
.annot.tl {
    top: 8%;
    left: -2%;
    animation: annot-float 7s ease-in-out infinite;
}
.annot.tr {
    top: 18%;
    right: -3%;
    animation: annot-float 8s ease-in-out infinite 0.5s;
}
.annot.br {
    bottom: 14%;
    right: 4%;
    animation: annot-float 9s ease-in-out infinite 1s;
}
.annot.bl {
    bottom: 6%;
    left: -1%;
    animation: annot-float 7.5s ease-in-out infinite 1.5s;
}
@keyframes annot-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Bottom: quote + trust */
.showcase-foot {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.showcase-quote {
    padding: 0.9rem 1.1rem;
    border-left: 2px solid var(--brand);
    max-width: 520px;
    background: linear-gradient(90deg, rgba(0, 245, 168, 0.04), transparent);
    border-radius: 0 0.5rem 0.5rem 0;
}
.showcase-quote p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--t2);
    font-style: italic;
    margin-bottom: 0.4rem;
}
.showcase-quote cite {
    font-size: 0.7rem;
    color: var(--t3);
    font-style: normal;
    font-weight: 600;
}
.showcase-quote cite strong {
    color: var(--t1);
    font-weight: 700;
}
.showcase-trust {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.68rem;
    color: var(--t3);
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}
.showcase-trust .badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.showcase-trust .badges svg {
    width: 0.85rem;
    height: 0.85rem;
    color: var(--brand);
}
.showcase-trust a {
    color: var(--t3);
    text-decoration: none;
    transition: color 0.2s;
}
.showcase-trust a:hover {
    color: var(--t1);
}

/* â•â•â• LEFT: AUTH FORM PANEL â•â•â• */
.panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
    position: relative;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}
.panel::-webkit-scrollbar {
    display: none;
}
.panel-inner {
    width: 100%;
    max-width: 420px;
    position: relative;
    padding: clamp(1.1rem, 1.8vw, 1.5rem) clamp(1.1rem, 1.8vw, 1.5rem);
    border-radius: 1.1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
    border: 1px solid var(--border);
    backdrop-filter: blur(20px) saturate(1.3);
    box-shadow:
        0 30px 80px -20px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    animation: card-rise 0.7s var(--ease) both;
}
@keyframes card-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* 21st-style traveling light beam border */
.panel-inner::before,
.panel-inner::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: inherit;
}
.panel-inner::before {
    inset: -1px;
    padding: 1px;
    background: conic-gradient(
        from var(--beam, 0deg),
        transparent 0deg,
        rgba(0, 245, 168, 0.7) 22deg,
        rgba(0, 245, 168, 0) 70deg,
        transparent 360deg
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: beam-spin 6s linear infinite;
}
@property --beam {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}
@keyframes beam-spin {
    to {
        --beam: 360deg;
    }
}
.panel-inner::after {
    inset: 0;
    background: radial-gradient(60% 40% at 50% 0%, rgba(0, 245, 168, 0.08), transparent 70%);
    opacity: 0.7;
}
.panel-inner > * {
    position: relative;
    z-index: 1;
}

/* Tabs (sign in / register) */
.tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 0.65rem;
    padding: 0.25rem;
    margin-bottom: 1.75rem;
    position: relative;
}
.tab-btn {
    flex: 1;
    padding: 0.65rem;
    background: transparent;
    border: none;
    color: var(--t2);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0.45rem;
    transition: all 0.25s var(--ease);
    position: relative;
    z-index: 1;
}
.tab-btn.active {
    color: #050507;
}
.tab-btn:not(.active):hover {
    color: var(--t1);
}
.tab-slider {
    position: absolute;
    top: 0.25rem;
    bottom: 0.25rem;
    width: calc(50% - 0.25rem);
    background: var(--brand);
    border-radius: 0.45rem;
    transition: transform 0.3s var(--ease);
    box-shadow: 0 4px 16px rgba(0, 245, 168, 0.3);
    z-index: 0;
}
.tabs[data-mode="register"] .tab-slider {
    transform: translateX(100%);
}

/* Form headers */
.form-h {
    margin-bottom: 1rem;
}
.form-h h1 {
    font-size: clamp(1.4rem, 2vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 0.3rem;
    background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.78));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.form-h p {
    font-size: 0.84rem;
    color: var(--t2);
    line-height: 1.4;
}
/* Tabs sit ABOVE the panel-card */
.tabs {
    margin-bottom: 1.1rem;
}

/* Form fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 0.65rem;
}
.form-row.single {
    grid-template-columns: 1fr;
}
.field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.65rem;
}
.field label {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--t3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.input-wrap .ico {
    position: absolute;
    left: 0.85rem;
    width: 1rem;
    height: 1rem;
    color: var(--t3);
    pointer-events: none;
    transition: color 0.2s var(--ease);
}
.field input,
.field select {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border-radius: 0.55rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--t1) !important;
    -webkit-text-fill-color: var(--t1) !important;
    font-family: inherit;
    font-size: 0.88rem;
    transition: all 0.25s var(--ease);
    outline: none;
}
.input-wrap.has-icon input {
    padding-left: 2.4rem;
}
.input-wrap.has-action input {
    padding-right: 3.2rem;
}
.field input:hover,
.field select:hover {
    background: rgba(255, 255, 255, 0.06);
}
.field input:focus,
.field select:focus {
    border-color: var(--brand);
    background: rgba(0, 245, 168, 0.04);
    box-shadow:
        0 0 0 3px rgba(0, 245, 168, 0.1),
        0 0 24px -4px rgba(0, 245, 168, 0.25);
    color: var(--t1) !important;
    -webkit-text-fill-color: var(--t1) !important;
}
.field input:hover {
    color: var(--t1) !important;
    -webkit-text-fill-color: var(--t1) !important;
}
.field input::selection {
    color: var(--t1);
    background: rgba(0, 245, 168, 0.22);
}
.input-wrap input:focus ~ .ico,
.input-wrap input:focus + .ico {
    color: var(--brand);
}
.input-wrap:focus-within .ico {
    color: var(--brand);
}
.field input::placeholder {
    color: var(--t4);
}
/* Autofill — browser locks bg color; inset box-shadow is the only override.
   Use --bg-s so the field stays on-theme. Icon siblings get brand color so
   they remain visible against the now-dark background. */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--bg-s) inset;
    box-shadow: 0 0 0 1000px var(--bg-s) inset;
    -webkit-text-fill-color: var(--t1);
    caret-color: var(--t1);
    border-color: var(--border-h);
    transition: border-color 0.25s var(--ease);
}
.field input:autofill {
    box-shadow: 0 0 0 1000px var(--bg-s) inset;
    color: var(--t1);
    border-color: var(--border-h);
}
.input-wrap:has(input:-webkit-autofill) .ico,
.field input:-webkit-autofill ~ .ico {
    color: var(--brand);
}
.field-action {
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--t3);
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.35rem;
    transition: all 0.15s;
    font-family: inherit;
    letter-spacing: 0.2px;
}
.field-action:hover {
    color: var(--brand);
    background: rgba(0, 245, 168, 0.08);
}

select.field-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='rgba(255,255,255,.4)' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    padding-right: 2rem;
}

/* Password strength meter */
.pw-meter {
    display: flex;
    gap: 0.3rem;
    margin-top: 0.45rem;
}
.pw-meter .seg {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    transition: background 0.25s;
}
.pw-meter[data-score="1"] .seg:nth-child(-n + 1) {
    background: var(--coral);
}
.pw-meter[data-score="2"] .seg:nth-child(-n + 2) {
    background: var(--amber);
}
.pw-meter[data-score="3"] .seg:nth-child(-n + 3) {
    background: var(--brand);
}
.pw-meter[data-score="4"] .seg {
    background: var(--brand);
}
.pw-hint {
    font-size: 0.7rem;
    color: var(--t3);
    margin-top: 0.4rem;
    line-height: 1.4;
}
.pw-hint .ok {
    color: var(--brand);
}
.pw-hint .miss {
    color: var(--t4);
}

/* Inline checkbox row */
.opts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0.5rem 0 1.25rem;
    gap: 1rem;
}
.cbox {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    color: var(--t2);
    cursor: pointer;
    user-select: none;
}
.cbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.cbox .box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid var(--t4);
    background: transparent;
    display: grid;
    place-items: center;
    transition: all 0.2s;
}
.cbox input:checked + .box {
    background: var(--brand);
    border-color: var(--brand);
}
.cbox input:checked + .box::after {
    content: "";
    width: 9px;
    height: 9px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23050507'%3E%3Cpath d='M20.3 5.7l-11.3 11.3-4.3-4.3-1.4 1.4 5.7 5.7 12.7-12.7z'/%3E%3C/svg%3E")
        no-repeat center/contain;
}
.opts a {
    color: var(--brand);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    transition: opacity 0.2s;
}
.opts a:hover {
    opacity: 0.85;
}

/* Primary button â€” magnetic with shimmer (21st-style) */
.btn-primary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #0cffb8, var(--brand) 55%, #00c486);
    color: #050507;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    border-radius: 0.6rem;
    cursor: pointer;
    transition:
        transform 0.15s var(--ease),
        box-shadow 0.25s var(--ease);
    box-shadow:
        0 8px 24px rgba(0, 245, 168, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    letter-spacing: -0.01em;
    overflow: hidden;
    isolation: isolate;
}
.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
    transform: translateX(-110%);
    transition: transform 0.9s var(--ease);
    z-index: -1;
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow:
        0 14px 36px rgba(0, 245, 168, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-primary:hover::before {
    transform: translateX(110%);
}
.btn-primary:active {
    transform: translateY(0) scale(0.98);
}
.btn-primary svg {
    width: 1em;
    height: 1em;
    transition: transform 0.25s var(--ease);
}
.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    color: var(--t1);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: 0.55rem;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-h);
}

/* Divider */
.sep {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
    font-size: 0.7rem;
    color: var(--t3);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.sep::before,
.sep::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Social grid */
.social-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.7rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 0.55rem;
    color: var(--t2);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}
.social-btn:hover {
    background: rgba(0, 245, 168, 0.06);
    border-color: var(--border-h);
    color: var(--t1);
    transform: translateY(-1px);
}
.social-btn:hover svg {
    color: var(--brand);
}
.social-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--t2);
    transition: color 0.2s var(--ease);
}

/* Step indicator (register only) */
.steps {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}
.step-dot {
    flex: 1;
    height: 3px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    transition:
        background 0.3s var(--ease),
        transform 0.3s var(--ease);
    transform-origin: left center;
}
.step-dot.done {
    background: var(--brand);
}
.step-dot.current {
    background: linear-gradient(90deg, var(--brand) 50%, rgba(255, 255, 255, 0.08) 50%);
    background-size: 200% 100%;
    background-position: 0 0;
    animation: step-fill 0.8s var(--ease) forwards;
}
@keyframes step-fill {
    to {
        background-position: -100% 0;
    }
}
.step-label {
    font-size: 0.7rem;
    color: var(--t3);
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}
.step-label strong {
    color: var(--brand);
    font-weight: 700;
}

/* Wizard pages */
.wiz-page {
    display: none;
}
.wiz-page.active {
    display: block;
    animation: fade-in 0.3s var(--ease);
}
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Use-case picker (step 3) */
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.usecase {
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: all 0.2s var(--ease);
    position: relative;
}
.usecase:hover {
    border-color: var(--border-h);
    background: rgba(0, 245, 168, 0.04);
}
.usecase.selected {
    border-color: var(--brand);
    background: linear-gradient(180deg, rgba(0, 245, 168, 0.1), rgba(0, 245, 168, 0.02));
    box-shadow: 0 0 0 3px rgba(0, 245, 168, 0.06);
}
.usecase-ico {
    width: 24px;
    height: 24px;
    border-radius: 0.4rem;
    display: grid;
    place-items: center;
    margin-bottom: 0.5rem;
    background: rgba(0, 245, 168, 0.1);
    color: var(--brand);
}
.usecase-ico svg {
    width: 14px;
    height: 14px;
}
.usecase-t {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.15rem;
}
.usecase-d {
    font-size: 0.7rem;
    color: var(--t3);
    line-height: 1.3;
}
.usecase-check {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--brand);
    display: none;
    place-items: center;
    color: #050507;
}
.usecase-check svg {
    width: 9px;
    height: 9px;
}
.usecase.selected .usecase-check {
    display: grid;
}

/* Wizard nav */
.wiz-nav {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.wiz-nav .btn-secondary {
    flex: 0 0 auto;
    padding: 0.85rem 1.1rem;
}
.wiz-nav .btn-primary {
    flex: 1;
}

/* Footer disclaimer */
.disclaimer {
    font-size: 0.68rem;
    color: var(--t4);
    text-align: center;
    line-height: 1.5;
    margin-top: 1.25rem;
}
.disclaimer a {
    color: var(--t3);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.18);
    transition: color 0.2s;
}
.disclaimer a:hover {
    color: var(--brand);
    text-decoration-color: var(--brand);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translate(-50%, 8px);
    padding: 0.75rem 1.1rem;
    background: rgba(14, 14, 18, 0.96);
    backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid var(--border);
    border-radius: 0.65rem;
    font-size: 0.82rem;
    color: var(--t1);
    opacity: 0;
    transition: all 0.25s var(--ease);
    z-index: 400;
    pointer-events: none;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}
.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}
.toast strong {
    color: var(--brand);
}

/* Mobile header bar â€” replaces hidden brand showcase on small screens */
.mobile-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    padding: 0 1rem;
    background: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    align-items: center;
    gap: 0.6rem;
    z-index: 5;
}
.mobile-bar .mb-back {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--t2);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.mobile-bar .mb-back:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--t1);
}
.mobile-bar .mb-back svg {
    width: 16px;
    height: 16px;
}
.mobile-bar .mb-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--t1);
    margin-left: auto;
    margin-right: auto;
    padding-right: 38px;
}
.mobile-bar .mb-logo img {
    height: 26px;
    width: auto;
}
.mobile-bar .mb-logo .wm {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

/* â•â•â• RESPONSIVE â•â•â• */
@media (max-width: 1024px) {
    .shell {
        grid-template-columns: 1fr;
    }
    .showcase {
        display: none;
    }
    .panel {
        padding: calc(56px + 1.5rem) clamp(1rem, 3vw, 2rem) 2rem;
        justify-content: flex-start;
    }
    .panel-inner {
        max-width: 480px;
    }
    .mobile-bar {
        display: flex;
    }
}
@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .social-grid {
        grid-template-columns: 1fr;
    }
    .form-h h1 {
        font-size: 1.5rem;
    }
    .usecase-grid {
        grid-template-columns: 1fr;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}
