/* ?? Shell & container ?????????????????????????????????????????????????? */
.signup-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(124, 58, 237, 0.16), transparent 30%),
        linear-gradient(180deg, #f8f7ff 0%, #ffffff 45%, #f6f3ff 100%);
}

.signup-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 20px 72px;
}

/* ?? Alert ????????????????????????????????????????????????????????????? */
.signup-alert {
    max-width: 900px;
    margin: 0 auto 28px;
    border: none;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

/* ?? Section headings ?????????????????????????????????????????????????? */
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.section-heading h3 {
    font-size: 1.55rem;
    font-weight: 750;
    color: #17132a;
    margin: 0;
}

.section-heading p {
    margin: 0;
    color: #736f88;
}

/* ?? Plans section ????????????????????????????????????????????????????? */
.plans-section {
    margin-bottom: 34px;
}

/* ?? 5-column plan grid ???????????????????????????????????????????????? */
.plan-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

/* ?? Plan cards ???????????????????????????????????????????????????????? */
.plan-card {
    position: relative;
    display: block;
    height: 100%;
    padding: 1px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(167, 139, 250, 0.12));
    box-shadow: 0 22px 60px rgba(79, 70, 229, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(79, 70, 229, 0.14);
}

.plan-card.selected {
    background: linear-gradient(135deg, #7c3aed, #a855f7 45%, #c084fc);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.12), 0 34px 90px rgba(124, 58, 237, 0.28);
}

.plan-card-inner {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-radius: 27px;
    padding: 20px 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plan-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 8px;
    margin-bottom: 6px;
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 750;
    color: #17132a;
    margin: 0;
}

.plan-price {
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
    color: #17132a;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
    margin-top: 8px;
}

.plan-price span {
    font-size: 1rem;
    color: #6f6a86;
    font-weight: 600;
    margin-left: 4px;
}

.plan-copy {
    color: #6f6a86;
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0;
    flex: 1;
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(124, 58, 237, 0.28);
}

.plan-select-btn {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 9px 14px;
    border-radius: 12px;
    border: 2px solid rgba(124, 58, 237, 0.28);
    background: transparent;
    color: #6d28d9;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.plan-select-btn:hover {
    background: rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.50);
}

.plan-select-btn.selected {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #ffffff;
    border-color: transparent;
}

/* ?? Comparison table ?????????????????????????????????????????????????? */
.compare-section {
    margin-bottom: 48px;
}

.compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 24px;
    border: 1px solid rgba(124, 58, 237, 0.10);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    background: #fff;
}

.compare-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.compare-table thead th {
    padding: 22px 14px 18px;
    text-align: center;
    background: #faf9ff;
    border-bottom: 2px solid rgba(124, 58, 237, 0.08);
}

.compare-table thead th:first-child {
    border-radius: 24px 0 0 0;
}

.compare-table thead th:last-child {
    border-radius: 0 24px 0 0;
}

.cmp-plan-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.cmp-plan-name {
    font-size: 0.78rem;
    font-weight: 800;
    color: #4b4568;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cmp-plan-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #7c3aed;
    letter-spacing: -0.02em;
}

.cmp-plan-price small {
    font-size: 0.68rem;
    font-weight: 600;
    color: #a89ece;
    letter-spacing: 0;
}

.compare-table .cmp-category td {
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.07) 0%, rgba(124, 58, 237, 0.02) 100%);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #7c3aed;
    padding: 9px 14px 9px 22px;
    border-top: 1px solid rgba(124, 58, 237, 0.08);
    border-bottom: none;
}

.compare-table tbody tr td {
    padding: 13px 14px;
    text-align: center;
    color: #312b45;
    border-bottom: 1px solid rgba(124, 58, 237, 0.05);
    vertical-align: middle;
}

.compare-table tbody tr td:first-child {
    text-align: left;
    font-weight: 600;
    font-size: 0.92rem;
    color: #2b2545;
    padding-left: 22px;
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 24px;
}

.compare-table tbody tr:last-child td:last-child {
    border-radius: 0 0 24px 0;
}

.compare-table tbody tr:not(.cmp-category):hover td {
    background: rgba(124, 58, 237, 0.025);
}

.cmp-yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.22);
}

.cmp-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #f1f0f7;
    color: #c4bfd8;
    font-size: 0.85rem;
    font-weight: 700;
}

.cmp-val {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.08);
    color: #6d28d9;
    font-weight: 800;
    font-size: 0.82rem;
}

/* ?? Signup form card ?????????????????????????????????????????????????? */
.signup-form-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: 32px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.signup-form-card .card-body {
    padding: 36px;
}

.checkout-summary-card {
    margin-bottom: 28px;
    padding: 20px 22px;
    border: 1px solid rgba(124, 58, 237, 0.10);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.checkout-summary-title {
    font-weight: 800;
    color: #17132a;
    margin-bottom: 12px;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    color: #4b465f;
    font-size: 0.96rem;
}

.signup-form-heading {
    margin-bottom: 28px;
}

.signup-form-heading h4 {
    font-size: 1.65rem;
    font-weight: 780;
    color: #161226;
    margin-bottom: 8px;
}

.signup-form-heading p {
    margin: 0;
    color: #726d86;
    font-size: 1rem;
}

.signup-field label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #2b2540;
    margin-bottom: 10px;
    display: block;
}

.signup-field .form-control,
.signup-field .form-select {
    border-radius: 18px;
    border: 1px solid #e7e2f3;
    padding: 14px 16px;
    min-height: 56px;
    font-size: 1rem;
    background: #fcfbff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.signup-field .form-control:focus,
.signup-field .form-select:focus {
    border-color: rgba(124, 58, 237, 0.55);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
    background: white;
}

.signup-field .form-text {
    color: #7a768f;
    margin-top: 8px;
}

.signup-divider {
    height: 1px;
    margin: 34px 0;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.16), transparent);
    border: none;
}

.signup-cta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.signup-back-link {
    color: #6b5fd5;
    font-weight: 700;
    text-decoration: none;
}

.signup-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 12px;
}

.signup-cta {
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #6d28d9, #9333ea 55%, #b832f6);
    color: white;
    padding: 16px 28px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    box-shadow: 0 24px 44px rgba(124, 58, 237, 0.30);
    min-width: 280px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.signup-cta:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 28px 54px rgba(124, 58, 237, 0.36);
}

.signup-cta:disabled {
    opacity: 0.75;
}

.signup-trust {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
    color: #736f88;
    font-size: 0.92rem;
}

.signup-trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.signup-trust span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c3aed, #c084fc);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.10);
}

.signup-inline-message {
    max-width: 520px;
    margin-top: 4px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.45;
    white-space: pre-wrap;
}

.signup-inline-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.signup-inline-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* ?? Website nav ??????????????????????????????????????????????????????? */
.ws-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    font-family: "Inter", sans-serif;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(10, 11, 16, 0.08);
    box-shadow: 0 1px 8px rgba(10, 11, 16, 0.04);
}

.ws-nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ws-nav-brand img {
    height: 34px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.15));
}

.ws-nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ws-nav-links a {
    display: block;
    padding: 7px 13px;
    border-radius: 10px;
    color: rgba(11, 14, 20, 0.82);
    font-family: "Inter", sans-serif;
    font-size: 0.91rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.ws-nav-links a:hover {
    background: rgba(11, 116, 255, 0.07);
    color: #0b74ff;
}

.ws-nav-links a.ws-nav-active {
    background: rgba(11, 116, 255, 0.08);
    color: #0b74ff;
    font-weight: 700;
}

.ws-nav-cta {
    flex-shrink: 0;
}

.ws-nav-cta a {
    display: inline-block;
    padding: 9px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff2d75, #ff688b);
    color: #ffffff !important;
    font-family: "Inter", sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(255, 45, 117, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ws-nav-cta a:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(255, 45, 117, 0.24);
    background: linear-gradient(135deg, #ff2d75, #ff688b) !important;
}

/* ?? Pricing hero ?????????????????????????????????????????????????????? */
.pricing-hero {
    text-align: center;
    padding: 52px 20px 36px;
    margin-bottom: 8px;
}

.pricing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.10);
    color: #6d28d9;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 20px;
}

.pricing-hero-heading {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: #19152e;
    margin-bottom: 14px;
}

.pricing-hero-support {
    max-width: 560px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.75;
    color: #6b6781;
}

/* ?? Responsive breakpoints ???????????????????????????????????????????? */
@media (max-width: 991.98px) {
    .signup-form-card .card-body { padding: 26px; }
    .signup-cta-wrap { align-items: stretch; width: 100%; }
    .signup-cta { width: 100%; min-width: 0; }
    .signup-trust { justify-content: flex-start; }
}

@media (max-width: 1099.98px) {
    .plan-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .plan-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ws-nav-links { display: none; }
    .ws-nav-inner { padding: 0 16px; }
}

@media (max-width: 479.98px) {
    .signup-container { padding: 24px 14px 48px; }
    .pricing-hero { padding: 28px 14px 20px; }
    .plan-grid-5 { grid-template-columns: 1fr; }
    .plan-card-inner { padding: 16px 14px; }
    .signup-form-card .card-body { padding: 20px 16px; }
    .signup-cta-row { flex-direction: column; align-items: stretch; }
    .signup-back-link { text-align: center; }
    .signup-cta-wrap { align-items: stretch; width: 100%; }
    .signup-cta { width: 100%; min-width: 0; }
    .signup-trust { justify-content: flex-start; }
}
