:root {
    --brand: #3a36ff;
    --brand-dark: #2a22e0;
    --bg: #dde1ea;
    --ink: #14151a;
    --muted: #6b7280;
    --line: #d5d9e2;
    --danger: #e0171f;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    min-height: 100vh;
}

/* ---------- Stage / layout ---------- */
.showcase {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    overflow: hidden;
}

.showcase-stage {
    position: relative;
    width: 1200px;
    max-width: 100%;
    height: 900px;
}

.main-card {
    position: absolute;
    left: 55px;
    top: 90px;
    width: 930px;
    height: 720px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 30px 60px -20px rgba(40, 50, 90, .25);
    overflow: hidden;
}
.main-card.single-card { position: relative; left: 0; top: 0; height: auto; max-width: 930px; width: 100%; }

.form-col { padding: 3.6rem 3.6rem 3rem 3.6rem; background: linear-gradient(90deg, #fff 70%, #f4f5f9); }

/* ---------- Brand panel ---------- */
.brand-panel {
    background: var(--brand);
    color: #fff;
    border-radius: 10px;
    height: 100%;
    min-height: 690px;
    padding: 3rem 2.25rem 2.5rem;
}
.brand-logo {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .14em;
    font-size: .85rem;
}
.brand-logo:hover { color: #fff; }

.brand-hero { margin-top: 6.2rem; }
.brand-hero h1 {
    font-size: 2.35rem;
    font-weight: 600;
    line-height: 1.22;
    letter-spacing: -.01em;
    margin-bottom: 1.6rem;
}
.brand-hero p {
    color: rgba(255, 255, 255, .78);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 260px;
}

.testimonial-card {
    background: #2620d6;
    border-radius: 14px;
    padding: 1.5rem 1.15rem 1.15rem;
}
.testimonial-card p { font-size: .9rem; line-height: 1.55; margin-bottom: 1.4rem; }
.testimonial-avatar { width: 36px; height: 36px; border-radius: 6px; }
.testimonial-name { font-weight: 600; font-size: .82rem; }
.testimonial-role { font-size: .72rem; color: rgba(255, 255, 255, .7); }

.testimonial-dots { position: static; margin: 1rem 0 0; }
.testimonial-dots [data-bs-target] {
    width: 6px; height: 6px; border-radius: 50%;
    border: 0; margin: 0 5px; background: #fff; opacity: .35;
}
.testimonial-dots .active { opacity: 1; }

/* ---------- Forms ---------- */
.register-form h2, .login-card h2 { font-size: 1.55rem; font-weight: 600; margin-bottom: 1rem; }
.form-subtitle { font-size: .92rem; margin-bottom: 2.6rem; }
.form-subtitle a { color: var(--brand); text-decoration: none; font-weight: 500; }

.form-label { color: var(--muted); font-size: .88rem; margin-bottom: .55rem; }

.form-control {
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--ink);
    padding: 0 .9rem;
}
.form-control::placeholder { color: #8a8f99; font-weight: 400; }
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(58, 54, 255, .12); }
.form-control[type=password] { letter-spacing: .25em; font-size: 1.1rem; }

.form-control.is-invalid { border-color: var(--danger); background: #fff5f5; background-image: none; padding-right: .9rem; }
.form-control.is-invalid:focus { box-shadow: 0 0 0 3px rgba(224, 23, 31, .12); }
.invalid-feedback { color: var(--danger); font-size: .78rem; margin-top: .6rem; }

/* Radio choice cards */
.choice-card {
    display: flex;
    align-items: center;
    gap: .75rem;
    height: 54px;
    padding: 0 1.1rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #f8f9fb;
    font-size: .92rem;
    cursor: pointer;
    transition: .15s;
}
.choice-card input { display: none; }
.choice-radio {
    width: 14px; height: 14px; border-radius: 50%;
    border: 1px solid #8a8f99; position: relative; flex-shrink: 0;
}
.choice-card:has(input:checked) {
    border-color: var(--brand);
    color: var(--brand);
    font-weight: 500;
    background: linear-gradient(90deg, #fff, #f3f4ff);
}
.choice-card:has(input:checked) .choice-radio { border-color: var(--brand); }
.choice-card:has(input:checked) .choice-radio::after {
    content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--brand);
}

/* Tags */
.tag-list { display: flex; flex-wrap: wrap; gap: .7rem; }
.tag {
    display: inline-flex; align-items: center; gap: .6rem;
    background: #eef0f5; border-radius: 4px;
    padding: .5rem .7rem; font-size: .8rem; font-weight: 600;
}
.tag button { border: 0; background: none; color: #8a8f99; padding: 0; line-height: 1; font-size: 1rem; }

/* Buttons */
.btn-brand {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    font-weight: 500;
    border-radius: 4px;
}
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-lg-brand { height: 48px; padding: 0 2.1rem; font-size: .92rem; }

/* ---------- Floating: share card ---------- */
.share-card {
    position: absolute;
    top: 52px;
    right: 58px;
    width: 545px;
    background: #0c0c0d;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 16px;
    padding: 2rem 2.2rem 2rem 1.7rem;
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, .35);
    z-index: 2;
}
.share-card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: .8rem; }
.share-card p { color: #8c8f98; font-size: .88rem; line-height: 1.55; max-width: 250px; margin-bottom: 1rem; }

.share-illustration { position: relative; width: 135px; height: 130px; }
.share-illustration .tile { position: absolute; border-radius: 14px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.5)); }
.share-illustration .tile-lg { width: 92px; top: 0; left: 0; transform: rotate(-12deg); }
.share-illustration .tile-sm { width: 66px; bottom: 0; right: 12px; transform: rotate(8deg); }

.share-link {
    display: flex; align-items: center; justify-content: space-between;
    background: #26272b; border-radius: 4px; padding: 4px 4px 4px 14px;
    font-size: .85rem;
}
.share-link .btn { height: 36px; padding: 0 1.1rem; font-size: .8rem; }

/* ---------- Floating: login card (phone frame) ---------- */
.login-card {
    background: #fff;
    padding: 0 0 1rem;
}
.showcase-stage .login-card {
    position: absolute;
    right: 58px;
    bottom: -40px;
    width: 365px;
    height: 405px;
    border: 3px solid #0c0c0d;
    border-bottom: 0;
    border-radius: 24px 24px 0 0;
    padding: 2.6rem 1.9rem;
    box-shadow: 0 25px 50px -15px rgba(40, 50, 90, .3);
    z-index: 2;
}
.showcase-stage .login-card .form-subtitle { margin-bottom: 2.3rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .showcase-stage { height: auto; display: flex; flex-direction: column; gap: 1.5rem; align-items: center; }
    .main-card, .share-card, .showcase-stage .login-card {
        position: relative; inset: auto; width: 100%; max-width: 930px; height: auto;
    }
    .showcase-stage .login-card { max-width: 420px; border-bottom: 3px solid #0c0c0d; border-radius: 24px; }
    .share-card { max-width: 545px; }
}
@media (max-width: 991.98px) {
    .brand-panel { min-height: auto; }
    .brand-hero { margin: 3rem 0 2.5rem; }
    .form-col { padding: 2rem 1.5rem; }
}
@media (max-width: 575.98px) {
    .share-illustration { display: none; }
}
