.gp-form-shell,
.gp-form-shell * {
    box-sizing: border-box;
}

.gp-form-shell {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 24px;
    color: #191124;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    
}
.gb-next-btn :hover{
	color:white !important;
}
.gp-bg-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(36px);
    opacity: 0.42;
    pointer-events: none;
}

.gp-orb-one {
    width: 280px;
    height: 280px;
    top: -120px;
    right: 12%;
    background: rgba(124, 58, 237, 0.35);
}

.gp-orb-two {
    width: 240px;
    height: 240px;
    bottom: -100px;
    left: 6%;
    background: rgba(192, 132, 252, 0.34);
}

.gp-form-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(18px, 3.2vw, 38px);
    border: 1px solid rgba(124, 58, 237, 0.16);
    border-radius: 22px;
    background: rgb(255 255 255 / 5%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 70px rgba(88, 28, 135, 0.13);
}

.gp-form-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.gp-kicker {
    margin: 0 0 7px;
    color: #7c3aed;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gp-main-title {
    margin: 0;
    color: #21122f;
    font-size: clamp(26px, 4vw, 44px);
    line-height: 1.05;
    font-weight: 680;
    letter-spacing: -0.04em;
}

.gp-step-pill {
    flex: 0 0 auto;
    border: 1px solid rgba(124, 58, 237, 0.16);
    border-radius: 999px;
    padding: 10px 14px;
    color: #5b21b6;
    background: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.09);
}

.gp-progress-track {
    width: 100%;
    height: 9px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.11);
    overflow: hidden;
    margin-bottom: clamp(24px, 4vw, 38px);
}

.gp-progress-fill {
    display: block;
    height: 100%;
    width: 16.666%;
    border-radius: inherit;
    background: linear-gradient(90deg, #6d28d9, #a855f7);
    transition: width 260ms ease;
}

.gp-form {
    width: 100%;
    max-width: 100%;
}

.gp-step {
    display: none;
    width: 100%;
    animation: gpFadeIn 260ms ease both;
}

.gp-step.is-active {
    display: block;
}

@keyframes gpFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gp-step-header {
    max-width: 760px;
    margin-bottom: 22px;
}

.gp-step-header h3,
.gp-success-card h3 {
    margin: 0 0 8px;
    color: #21122f;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.12;
    font-weight: 680;
    letter-spacing: -0.03em;
}

.gp-step-header p,
.gp-success-card p {
    margin: 0;
    color: #665775;
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.65;
}

/* FIXED GRID */
.gp-persona-grid,
.gp-card-grid,
.gp-field-grid {
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 100%;
}

.gp-persona-grid,
.gp-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gp-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* FIXED CARDS */
.gp-persona-card,
.gp-option-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 94px;
    text-align: left;
    appearance: none;
    cursor: pointer;
    border: 1px solid rgba(124, 58, 237, 0.14);
    border-radius: 18px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.68);
    color: #261236 !important;
    box-shadow: 0 14px 34px rgba(88, 28, 135, 0.08);
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.gp-persona-card:hover,
.gp-option-card:hover,
.gp-persona-card.is-selected,
.gp-option-card.is-selected {
    transform: translateY(-2px);
    border-color: rgba(124, 58, 237, 0.45);
    background: rgba(255, 255, 255, 0.92);
    color: #261236 !important;
    box-shadow: 0 18px 42px rgba(124, 58, 237, 0.15);
}

/* FIXED TEXT WRAPPING */
.gp-persona-card span,
.gp-option-card span {
    display: block;
    width: 100%;
    max-width: 100%;
    color: #261236 !important;
    font-size: clamp(14px, 1.05vw, 16px);
    line-height: 1.25;
    font-weight: 650;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
}

.gp-persona-card small,
.gp-option-card small {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 9px;
    color: #6b5a79 !important;
    font-size: clamp(12px, 0.95vw, 13px);
    line-height: 1.45;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
}

.gp-persona-card:hover span,
.gp-option-card:hover span,
.gp-persona-card:hover small,
.gp-option-card:hover small {
    color: inherit;
}

.gp-persona-card:hover small,
.gp-option-card:hover small {
    color: #6b5a79 !important;
}

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

.gp-field label,
.gp-choice-label {
    display: block;
    margin-bottom: 9px;
    color: #342043;
    font-size: 14px;
    font-weight: 650;
}

.gp-field input,
.gp-field select,
.gp-field textarea {
    width: 100%;
    max-width: 100%;
    min-height: 50px;
    border: 1px solid rgba(124, 58, 237, 0.16);
    border-radius: 15px;
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.82);
    color: #20102e;
    font: inherit;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.gp-field textarea {
    min-height: 118px;
    resize: vertical;
}

.gp-field input:focus,
.gp-field select:focus,
.gp-field textarea:focus {
    border-color: rgba(124, 58, 237, 0.62);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.10);
    background: #fff;
}

.gp-option-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gp-option-card::after {
    content: '';
    position: absolute;
    top: 14px;
    right: 14px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(124, 58, 237, 0.22);
    background: rgba(255, 255, 255, 0.65);
}

.gp-option-card.is-selected::after {
    border-color: #7c3aed;
    background: radial-gradient(circle, #7c3aed 0 40%, #fff 43% 100%);
}

.gp-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: clamp(24px, 4vw, 38px);
}

.gp-btn {
    appearance: none;
    border: 0;
    border-radius: 13px;
    min-height: 48px;
    padding: 13px 44px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.gp-btn:hover {
    transform: translateY(-1px);
}

.gp-btn:disabled {
    opacity: 0.58;
    cursor: not-allowed;
    transform: none;
}

.gp-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #6d28d9, #9333ea 50%, #a855f7);
    box-shadow: 0 14px 30px rgba(124, 58, 237, 0.28);
}

.gp-btn-secondary {
    color: #5b21b6;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(124, 58, 237, 0.16);
}

.gp-form-error {
    display: none;
    margin-top: 18px;
    padding: 13px 15px;
    border-radius: 14px;
    color: #7f1d1d;
    background: rgba(254, 226, 226, 0.88);
    border: 1px solid rgba(248, 113, 113, 0.28);
    font-size: 14px;
    line-height: 1.5;
}

.gp-form-error.is-visible {
    display: block;
}

.gp-final-step {
    text-align: center;
}

.gp-success-card {
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 58px);
    border-radius: 22px;
    border: 1px solid rgba(124, 58, 237, 0.16);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 44px rgba(88, 28, 135, 0.10);
}

.gp-success-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6d28d9, #a855f7);
    box-shadow: 0 14px 34px rgba(124, 58, 237, 0.24);
}

.gp-success-mark::before {
    content: '';
    width: 22px;
    height: 12px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(-45deg) translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .gp-persona-grid,
    .gp-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .gp-form-shell {
        padding: 16px;
        border-radius: 18px;
    }

    .gp-form-panel {
        padding: 18px;
        border-radius: 18px;
    }

    .gp-form-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .gp-step-pill {
        width: max-content;
        max-width: 100%;
    }

    .gp-persona-grid,
    .gp-card-grid,
    .gp-field-grid {
        grid-template-columns: 1fr;
    }

    .gp-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .gp-btn {
        width: 100%;
    }
}