.pfc-wrap,
.pfc-wrap * {
    box-sizing: border-box;
}

.pfc-wrap {
    --pfc-primary: #6847e8;
    --pfc-primary-dark: #5133c7;
    --pfc-primary-soft: #f2efff;
    --pfc-heading: #211f2d;
    --pfc-text: #625f6f;
    --pfc-muted: #858191;
    --pfc-border: #e9e6f1;
    --pfc-soft: #f8f7fb;
    --pfc-white: #ffffff;

    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 28px 24px 34px;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--pfc-text);
    background:
        radial-gradient(circle at top left, rgba(104, 71, 232, .09), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #fbfaff 100%);
    border: 1px solid var(--pfc-border);
    border-radius: 24px;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pfc-card {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px clamp(22px, 3vw, 44px) 46px;
    background: rgba(255,255,255,.96);
    border: 1px solid var(--pfc-border);
    border-radius: 20px;
    box-shadow: 0 20px 58px rgba(40, 32, 82, .08);
    overflow: visible;
}

.pfc-language-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0 0 24px;
}

.pfc-language {
    width: auto;
    min-width: 205px;
    height: 40px;
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--pfc-border);
    border-radius: 9px;
    background: var(--pfc-white);
    color: var(--pfc-heading);
    font-size: 13px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.pfc-language:hover,
.pfc-language:focus {
    border-color: var(--pfc-primary);
    box-shadow: 0 0 0 3px rgba(104,71,232,.08);
}

.pfc-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.pfc-heading::before {
    content: "AlphaMindz, LLC Business Advisory Form";
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    color: var(--pfc-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.pfc-heading h2 {
    margin: 0 0 12px;
    color: var(--pfc-heading);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1.1px;
}

.pfc-heading p {
    margin: 0;
    color: var(--pfc-text);
    font-size: 16px;
    line-height: 1.7;
}

.pfc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
}

.pfc-field {
    min-width: 0;
}

.pfc-full {
    grid-column: 1 / -1;
}

.pfc-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--pfc-heading);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
}

.pfc-field label span {
    color: #c62828;
}

.pfc-field input,
.pfc-field select,
.pfc-field textarea {
    width: 100%;
    border: 1px solid #d9d5e3;
    border-radius: 10px;
    background: #fff;
    color: var(--pfc-heading);
    font: inherit;
    font-size: 14px;
    outline: none;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.pfc-field input,
.pfc-field select {
    height: 49px;
    padding: 12px 14px;
}

.pfc-field textarea {
    min-height: 150px;
    padding: 13px 14px;
    resize: vertical;
    line-height: 1.6;
}

.pfc-field input::placeholder,
.pfc-field textarea::placeholder {
    color: #aaa6b4;
}

.pfc-field input:hover,
.pfc-field select:hover,
.pfc-field textarea:hover {
    border-color: #c5bfda;
}

.pfc-field input:focus,
.pfc-field select:focus,
.pfc-field textarea:focus {
    border-color: var(--pfc-primary);
    box-shadow: 0 0 0 3px rgba(104, 71, 232, .09);
    background: #fff;
}

.pfc-field-error {
    border-color: #c62828 !important;
    box-shadow: 0 0 0 3px rgba(198,40,40,.08) !important;
}

.pfc-error {
    min-height: 16px;
    margin-top: 5px;
    color: #b42318;
    font-size: 12px;
}

.pfc-checkbox-row {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    margin: 28px 0 0;
    padding: 18px 19px 6px;
    border: 1px solid var(--pfc-border);
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    background: var(--pfc-soft);
    color: var(--pfc-heading);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

.pfc-checkbox-row input {
    appearance: none;
    -webkit-appearance: none;
    width: 19px;
    height: 19px;
    margin: 1px 0 0;
    border: 1.5px solid #bcb6ca;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    position: relative;
}

.pfc-checkbox-row input:checked {
    border-color: var(--pfc-primary);
    background: var(--pfc-primary);
}

.pfc-checkbox-row input:checked::after {
    content: "✓";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.pfc-disclosure {
    margin: 0;
    padding: 8px 19px 18px 50px;
    border: 1px solid var(--pfc-border);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    background: var(--pfc-soft);
    color: #6c6877;
    font-size: 12px;
    line-height: 1.65;
}

.pfc-disclosure a {
    color: var(--pfc-primary) !important;
    font-weight: 600 !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}


.pfc-consent-group + .pfc-consent-group {
    margin-top: 14px;
}

.pfc-mobile-privacy {
    margin: 12px 4px 0;
    color: #6c6877;
    font-size: 11.5px;
    line-height: 1.6;
}

.pfc-submit {
    min-width: 210px;
    height: 52px;
    display: block !important;
    margin: 34px auto 0 !important;
    padding: 0 32px !important;
    border: 1px solid var(--pfc-primary);
    border-radius: 9px;
    background: var(--pfc-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.pfc-submit:hover {
    background: var(--pfc-primary-dark);
    border-color: var(--pfc-primary-dark);
    transform: translateY(-2px);
}

.pfc-submit:disabled {
    opacity: .7;
    cursor: not-allowed;
}

.pfc-spinner {
    display: none;
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255,255,255,.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pfcspin .7s linear infinite;
    vertical-align: middle;
}

.pfc-submit.is-loading .pfc-submit-text { display: none; }
.pfc-submit.is-loading .pfc-spinner { display: inline-block; }

.pfc-summary {
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid #f1b4b4;
    border-radius: 9px;
    background: #fff6f6;
    color: #9f1c1c;
    font-size: 13px;
}

.pfc-thank-you {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 16px 36px;
    text-align: center;
}

.pfc-check {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #edf9f1;
    color: #137a41;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
}

.pfc-thank-you h2 {
    margin: 0 0 10px;
    color: var(--pfc-heading);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -.7px;
}

.pfc-thank-you p {
    margin: 0 0 10px;
    color: var(--pfc-text);
    font-size: 15px;
    line-height: 1.65;
}

.pfc-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 17px;
    padding: 12px 22px;
    border-radius: 8px;
    background: var(--pfc-primary);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.pfc-home-link:hover { background: var(--pfc-primary-dark); }

.pfc-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

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

@media (max-width: 760px) {
    .pfc-wrap {
        padding: 14px;
        border-radius: 18px;
    }

    .pfc-card {
        padding: 18px 18px 30px;
        border-radius: 16px;
    }

    .pfc-language-row { margin-bottom: 18px; }
    .pfc-language { min-width: 190px; }

    .pfc-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pfc-full { grid-column: auto; }

    .pfc-heading { margin-bottom: 30px; }
    .pfc-heading h2 { font-size: 34px; }

    .pfc-checkbox-row { padding: 16px 15px 6px; }
    .pfc-disclosure { padding: 8px 15px 16px 46px; }

    .pfc-submit {
        width: 100% !important;
        min-width: 0;
    }
}
