/* =========================================================
   B2BFINDER SIGNUP PAGE
   Clean, responsive, isolated styling
========================================================= */

.b2bf-signup,
.b2bf-signup * {
    box-sizing: border-box;
}

.b2bf-signup {
    --purple: #5425f5;
    --purple-dark: #4218dc;
    --ink: #101432;
    --muted: #64708c;
    --border: #e5e8f2;
    --soft: #f5f1ff;

    width: 100%;
    overflow: hidden;
    color: var(--ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    background:
        radial-gradient(ellipse at 20% 25%, #eee9ff 0%, transparent 42%),
        radial-gradient(ellipse at 85% 65%, #f1edff 0%, transparent 35%),
        #fff;
}

.b2bf-signup h1,
.b2bf-signup h2,
.b2bf-signup h3,
.b2bf-signup p {
    margin-top: 0;
}

.b2bf-signup a {
    text-decoration: none;
}

.b2bf-signup button,
.b2bf-signup input {
    font: inherit;
}

/* HEADER */

.b2bf-signup .signup-header {
    width: 100%;
    min-height: 68px;
    padding: 0 max(calc((100% - 1280px) / 2), 35px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid #ececf4;
    position: relative;
    z-index: 10;
}

.b2bf-signup .signup-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: var(--ink);
}

.b2bf-signup .signup-logo-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--purple);
    color: white;
    font-size: 23px;
    font-weight: 800;
}

.b2bf-signup .signup-logo strong {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -1px;
}

.b2bf-signup .signup-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 27px;
}

.b2bf-signup .signup-navigation a {
    color: #252b45;
    font-size: 13px;
    font-weight: 600;
    transition: color .2s ease;
}

.b2bf-signup .signup-navigation a:hover {
    color: var(--purple);
}

.b2bf-signup .signup-header-actions {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.b2bf-signup .signup-search {
    color: var(--purple);
    font-size: 22px;
    margin-right: 10px;
}

.b2bf-signup .signup-login,
.b2bf-signup .signup-get-started {
    min-height: 42px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
}

.b2bf-signup .signup-login {
    color: var(--ink);
    background: white;
    border: 1px solid var(--border);
}

.b2bf-signup .signup-get-started {
    background: var(--purple);
    color: white;
    box-shadow: 0 5px 15px #5425f530;
}

.b2bf-signup .signup-get-started:hover {
    background: var(--purple-dark);
}

/* MAIN LAYOUT */

.b2bf-signup .signup-main {
    width: min(1280px, calc(100% - 60px));
    margin: 0 auto;
    padding: 48px 0 55px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 45px;
}

/* LEFT CONTENT */

.b2bf-signup .signup-left {
    position: relative;
    min-width: 0;
    padding: 12px 0 0;
}

.b2bf-signup .signup-eyebrow {
    display: block;
    color: var(--purple);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.b2bf-signup .signup-left h1 {
    color: var(--ink);
    font-size: clamp(42px, 4.2vw, 58px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -2.7px;
    margin: 0 0 17px;
}

.b2bf-signup .signup-left h1 em,
.b2bf-signup .signup-form-heading h2 em {
    color: var(--purple);
    font-style: normal;
}

.b2bf-signup .signup-intro {
    max-width: 510px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 35px;
}

.b2bf-signup .signup-floating-card {
    position: absolute;
    top: 190px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 19px;
    background: white;
    border: 1px solid #ece8ff;
    border-radius: 15px;
    box-shadow: 0 12px 35px #30206a12;
    transform: rotate(8deg);
    z-index: 2;
}

.b2bf-signup .floating-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eee8ff;
    color: var(--purple);
    font-size: 24px;
}

.b2bf-signup .signup-floating-card strong,
.b2bf-signup .signup-floating-card small {
    display: block;
}

.b2bf-signup .signup-floating-card strong {
    font-size: 19px;
    font-weight: 800;
}

.b2bf-signup .signup-floating-card small {
    color: var(--muted);
    font-size: 12px;
}

/* BENEFITS */

.b2bf-signup .signup-benefits {
    display: grid;
    gap: 25px;
    max-width: 390px;
    position: relative;
    z-index: 3;
}

.b2bf-signup .signup-benefits article {
    display: flex;
    align-items: flex-start;
    gap: 17px;
}

.b2bf-signup .benefit-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #eee9ff;
    color: var(--purple);
    font-size: 25px;
    font-weight: 800;
}

.b2bf-signup .signup-benefits strong {
    display: block;
    color: var(--ink);
    font-size: 16px;
    font-weight: 750;
    margin: 2px 0 5px;
}

.b2bf-signup .signup-benefits p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* DASHBOARD PREVIEW */

.b2bf-signup .signup-dashboard {
    width: 420px;
    max-width: 100%;
    position: absolute;
    right: 0;
    bottom: 115px;
    background: white;
    border: 1px solid #e7e8f3;
    border-radius: 16px;
    box-shadow: 0 18px 50px #35236b15;
    transform: rotate(-5deg);
    z-index: 1;
    overflow: hidden;
}

.b2bf-signup .dashboard-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-bottom: 1px solid var(--border);
}

.b2bf-signup .dashboard-logo {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    background: var(--purple);
    color: white;
    border-radius: 7px;
    font-weight: 800;
}

.b2bf-signup .dashboard-top strong {
    font-size: 12px;
}

.b2bf-signup .dashboard-body {
    display: grid;
    grid-template-columns: 105px 1fr;
    min-height: 240px;
}

.b2bf-signup .dashboard-sidebar {
    padding: 15px 10px;
    background: #faf9ff;
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 9px;
    color: var(--muted);
}

.b2bf-signup .dashboard-sidebar span:first-child {
    color: var(--purple);
    font-weight: 800;
}

.b2bf-signup .dashboard-content {
    padding: 15px 12px;
    min-width: 0;
}

.b2bf-signup .dashboard-content h3 {
    font-size: 14px;
    margin-bottom: 10px;
}

.b2bf-signup .dashboard-search {
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 9px;
    color: var(--muted);
}

.b2bf-signup .dashboard-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 10px 0;
}

.b2bf-signup .dashboard-filters span {
    padding: 5px 7px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 8px;
    color: var(--muted);
}

.b2bf-signup .dashboard-table {
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.b2bf-signup .dashboard-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr .5fr;
    gap: 5px;
    padding: 9px 7px;
    border-bottom: 1px solid #f0f0f5;
    font-size: 8px;
    color: var(--muted);
}

.b2bf-signup .dashboard-row:last-child {
    border-bottom: 0;
}

.b2bf-signup .dashboard-row.heading {
    background: #f7f5ff;
    color: var(--ink);
    font-weight: 800;
}

/* TRUSTED BRANDS */

.b2bf-signup .signup-trusted {
    margin-top: 42px;
    position: relative;
    z-index: 3;
}

.b2bf-signup .signup-trusted > span {
    display: block;
    color: #8992aa;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.b2bf-signup .trusted-brands {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 27px;
}

.b2bf-signup .trusted-brands strong {
    font-size: 19px;
    font-weight: 800;
}

.b2bf-signup .google-brand {
    color: #4285f4;
}

.b2bf-signup .microsoft-brand {
    color: #62666e;
}

.b2bf-signup .amazon-brand {
    color: #111;
}

.b2bf-signup .hubspot-brand {
    color: #344b65;
}

/* RIGHT FORM */

.b2bf-signup .signup-right {
    min-width: 0;
}

.b2bf-signup .signup-form-card {
    width: 100%;
    padding: 45px 38px 35px;
    border: 1px solid #efedf7;
    border-radius: 22px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 15px 55px #32216b0c;
}

.b2bf-signup .signup-form-heading {
    text-align: center;
    margin-bottom: 30px;
}

.b2bf-signup .signup-form-heading h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0 0 8px;
}

.b2bf-signup .signup-form-heading p {
    color: var(--muted);
    font-size: 15px;
    margin: 0;
}

/* SOCIAL BUTTONS */

.b2bf-signup .signup-social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.b2bf-signup .signup-social button {
    min-height: 53px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: white;
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.b2bf-signup .signup-social button:hover {
    border-color: #b9a9ff;
    background: #faf9ff;
}

.b2bf-signup .google-g {
    color: #4285f4;
    font-size: 22px;
    font-weight: 800;
    margin-right: 8px;
}

.b2bf-signup .microsoft-mark {
    width: 17px;
    height: 17px;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    vertical-align: middle;
    margin-right: 8px;
}

.b2bf-signup .microsoft-mark i:nth-child(1) {
    background: #f25022;
}

.b2bf-signup .microsoft-mark i:nth-child(2) {
    background: #7fba00;
}

.b2bf-signup .microsoft-mark i:nth-child(3) {
    background: #00a4ef;
}

.b2bf-signup .microsoft-mark i:nth-child(4) {
    background: #ffb900;
}

/* DIVIDER */

.b2bf-signup .signup-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
}

.b2bf-signup .signup-divider span {
    height: 1px;
    flex: 1;
    background: var(--border);
}

.b2bf-signup .signup-divider small {
    color: var(--muted);
    font-size: 12px;
}

/* FORM FIELDS */

.b2bf-signup .signup-form {
    display: flex;
    flex-direction: column;
}

.b2bf-signup .signup-form label {
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.b2bf-signup .signup-form input {
    width: 100%;
    height: 51px;
    padding: 0 16px;
    border: 1px solid #dfe3ef;
    border-radius: 8px;
    outline: none;
    background: white;
    color: var(--ink);
    font-size: 13px;
    margin-bottom: 22px;
    box-shadow: none;
}

.b2bf-signup .signup-form input:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px #5425f518;
}

.b2bf-signup .signup-form input::placeholder {
    color: #929bb0;
}

.b2bf-signup .signup-password-wrap {
    position: relative;
}

.b2bf-signup .signup-password-wrap input {
    padding-right: 50px;
}

.b2bf-signup .password-toggle {
    position: absolute;
    right: 14px;
    top: 13px;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 18px;
}

/* SUBMIT */

.b2bf-signup .signup-submit {
    width: 100%;
    min-height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(100deg, #5425f5, #682cf9);
    color: white;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
    box-shadow: 0 7px 18px #5425f525;
}

.b2bf-signup .signup-submit:hover {
    background: var(--purple-dark);
    transform: translateY(-1px);
}

.b2bf-signup .signup-terms {
    text-align: center;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
    margin: 10px 0 0;
}

.b2bf-signup .signup-terms a {
    color: var(--purple);
    font-weight: 700;
}

/* TRUST FEATURES */

.b2bf-signup .signup-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 38px;
    text-align: center;
}

.b2bf-signup .signup-trust-grid article > span {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    margin: 0 auto 9px;
    border-radius: 12px;
    background: #f0ebff;
    color: var(--purple);
    font-size: 22px;
}

.b2bf-signup .signup-trust-grid p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

/* FORM MESSAGES */

.b2bf-signup .signup-error {
    padding: 13px 15px;
    margin-bottom: 20px;
    border: 1px solid #f5c6c6;
    border-radius: 8px;
    background: #fff4f4;
    color: #b42318;
    font-size: 13px;
}

.b2bf-signup .signup-success {
    padding: 25px;
    border-radius: 12px;
    background: #f0fbf3;
    color: #176b35;
    text-align: center;
}

.b2bf-signup .signup-success strong {
    font-size: 19px;
}

.b2bf-signup .signup-success a {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 20px;
    border-radius: 8px;
    background: var(--purple);
    color: white;
    font-weight: 700;
}

/* FOOTER */

.b2bf-signup .signup-footer {
    width: 100%;
    background: white;
    border-top: 1px solid var(--border);
}

.b2bf-signup .signup-footer-inner {
    width: min(1280px, calc(100% - 60px));
    margin: 0 auto;
    padding: 35px 0 0;
}

.b2bf-signup .signup-footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 55px;
    padding-bottom: 30px;
}

.b2bf-signup .signup-footer-brand p {
    max-width: 300px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 12px 0;
}

.b2bf-signup .signup-footer-social {
    display: flex;
    gap: 18px;
}

.b2bf-signup .signup-footer-social a {
    color: #52607c;
    font-weight: 800;
    font-size: 16px;
}

.b2bf-signup .signup-footer-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.b2bf-signup .signup-footer-column strong {
    color: var(--ink);
    font-size: 13px;
    margin-bottom: 3px;
}

.b2bf-signup .signup-footer-column a {
    color: var(--muted);
    font-size: 12px;
}

.b2bf-signup .signup-footer-column a:hover {
    color: var(--purple);
}

.b2bf-signup .signup-footer-bottom {
    min-height: 47px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 11px;
}

.b2bf-signup .signup-footer-bottom b {
    color: #ed4141;
}

/* RESPONSIVE TABLET */

@media (max-width: 1050px) {

    .b2bf-signup .signup-header {
        padding: 0 25px;
        gap: 15px;
    }

    .b2bf-signup .signup-navigation {
        gap: 15px;
    }

    .b2bf-signup .signup-main {
        gap: 25px;
    }

    .b2bf-signup .signup-floating-card {
        display: none;
    }

    .b2bf-signup .signup-dashboard {
        opacity: .9;
        width: 340px;
    }

    .b2bf-signup .signup-form-card {
        padding: 35px 25px;
    }
}

/* RESPONSIVE MOBILE */

@media (max-width: 760px) {

    .b2bf-signup .signup-header {
        min-height: 65px;
        padding: 10px 18px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .b2bf-signup .signup-logo strong {
        font-size: 20px;
    }

    .b2bf-signup .signup-logo-icon {
        width: 36px;
        height: 36px;
    }

    .b2bf-signup .signup-navigation {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        gap: 22px;
        padding: 8px 0;
    }

    .b2bf-signup .signup-navigation a {
        flex-shrink: 0;
        font-size: 12px;
    }

    .b2bf-signup .signup-search {
        display: none;
    }

    .b2bf-signup .signup-login,
    .b2bf-signup .signup-get-started {
        min-height: 37px;
        padding: 0 12px;
        font-size: 11px;
    }

    .b2bf-signup .signup-main {
        width: calc(100% - 36px);
        padding: 40px 0;
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .b2bf-signup .signup-left h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .b2bf-signup .signup-intro {
        font-size: 15px;
    }

    .b2bf-signup .signup-dashboard {
        display: none;
    }

    .b2bf-signup .signup-benefits {
        gap: 20px;
    }

    .b2bf-signup .signup-trusted {
        margin-top: 35px;
    }

    .b2bf-signup .trusted-brands {
        gap: 18px;
    }

    .b2bf-signup .trusted-brands strong {
        font-size: 16px;
    }

    .b2bf-signup .signup-form-card {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .b2bf-signup .signup-form-heading h2 {
        font-size: 24px;
    }

    .b2bf-signup .signup-social {
        grid-template-columns: 1fr;
    }

    .b2bf-signup .signup-footer-inner {
        width: calc(100% - 36px);
    }

    .b2bf-signup .signup-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .b2bf-signup .signup-footer-brand {
        grid-column: 1 / -1;
    }

    .b2bf-signup .signup-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 13px 0;
    }
}

@media (max-width: 400px) {

    .b2bf-signup .signup-left h1 {
        font-size: 37px;
    }

    .b2bf-signup .signup-trust-grid {
        gap: 5px;
    }

    .b2bf-signup .signup-trust-grid p {
        font-size: 10px;
    }

    .b2bf-signup .signup-header-actions {
        gap: 6px;
    }

}
