/* Subscription — Pricing Styles */

/* ========================================= */
/* Subscription & Pricing Styles            */
/* ========================================= */

/* Sprint 1 — Deep-link pre-selected card highlight */
.pricing-card.pre-selected {
    border: 2px solid #C30E6E !important;
    box-shadow: 0 0 24px rgba(195, 14, 110, 0.25), 0 0 60px rgba(195, 14, 110, 0.08) !important;
    animation: pre-selected-pulse 2s ease-in-out 1;
}

@keyframes pre-selected-pulse {

    0%,
    100% {
        box-shadow: 0 0 24px rgba(195, 14, 110, 0.25);
    }

    50% {
        box-shadow: 0 0 40px rgba(195, 14, 110, 0.4), 0 0 80px rgba(195, 14, 110, 0.15);
    }
}

/* ---------- Test Mode Banner ---------- */
.test-mode-banner {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    color: white;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    z-index: 1000;
    position: relative;
}

.test-mode-banner span {
    font-weight: 800;
    letter-spacing: 0.05em;
}

/* ---------- BDE Code Card ---------- */
.bde-code-card {
    background: rgba(20, 20, 25, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(108, 99, 255, 0.25);
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.bde-code-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.bde-code-card-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.bde-code-city {
    color: var(--text-muted, rgba(255, 255, 255, 0.5));
    font-size: 0.9rem;
    margin: 4px 0 0 0;
}

.bde-code-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(108, 99, 255, 0.15);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 20px;
    color: var(--primary-color, #6C63FF);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.bde-code-description {
    color: var(--text-muted, rgba(255, 255, 255, 0.5));
    font-size: 0.9rem;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.bde-code-display {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(108, 99, 255, 0.08);
    border: 2px dashed rgba(108, 99, 255, 0.35);
    border-radius: 16px;
    padding: 20px 28px;
}

.bde-code-text {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 6px;
    color: var(--primary-color, #6C63FF);
    font-family: 'Inter', monospace;
    flex: 1;
}

.bde-code-copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-color, #6C63FF);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.bde-code-copy-btn:hover {
    background: #5b54e6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

@media (max-width: 600px) {
    .bde-code-display {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .bde-code-text {
        font-size: 1.6rem;
        letter-spacing: 4px;
    }

    .bde-code-card-header {
        flex-direction: column;
        gap: 12px;
    }
}

/* ---------- Loading Spinner ---------- */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color, #6C63FF);
    border-radius: 50%;
    animation: mundle-spin 0.8s linear infinite;
}

@keyframes mundle-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- Pricing Page Layout ---------- */
.pricing-body {
    overflow-y: auto;
    overflow-x: clip;
    background:
        radial-gradient(900px 480px at 50% -5%, rgba(195, 14, 110, 0.18), transparent 65%),
        radial-gradient(700px 400px at 88% 6%, rgba(139, 92, 246, 0.13), transparent 60%),
        radial-gradient(600px 500px at -5% 38%, rgba(162, 155, 254, 0.1), transparent 65%),
        radial-gradient(700px 460px at 95% 55%, rgba(195, 14, 110, 0.09), transparent 60%),
        radial-gradient(800px 420px at 30% 80%, rgba(139, 92, 246, 0.09), transparent 65%),
        var(--bg-color);
}

.pricing-body .pricing-page,
.pricing-body .footer {
    overflow-x: clip;
}

.pricing-page {
    min-height: auto;
    background-color: transparent;
    padding-top: 120px;
    overflow-x: hidden;
}

.pricing-header {
    text-align: center;
    padding: 0 24px 40px;
}

.pricing-header h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 18px;
    line-height: 1.15;
    color: #F8FAFC;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.pricing-header p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

.pricing-header .section-header {
    margin-bottom: 0;
}

.pricing-header .section-header__title {
    color: #F8FAFC;
}

.pricing-header .section-header__subtitle {
    color: rgba(255, 255, 255, 0.72);
}

/* ---------- Billing Toggle ---------- */
.billing-toggle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.billing-toggle {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 4px;
    position: relative;
}

.billing-toggle .toggle-option {
    position: relative;
    z-index: 2;
    width: 110px;
    text-align: center;
    padding: 10px 0;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
    user-select: none;
    white-space: nowrap;
}

.billing-toggle .toggle-option.active {
    color: #fff;
}

.billing-toggle .toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    width: calc(50% - 4px);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.billing-toggle.yearly .toggle-slider {
    transform: translateX(100%);
}

.toggle-badge {
    background: rgba(195, 14, 110, 0.15);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    display: block;
}

/* ---------- Pricing Grid ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 680px;
    }
}

@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 16px;
    }
}

/* ---------- Pricing Card ---------- */
.pricing-card {
    background: linear-gradient(180deg, rgba(38, 38, 48, 0.90) 0%, rgba(28, 28, 36, 0.82) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 32px 28px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(195, 14, 110, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.pricing-card:hover::before {
    opacity: 1;
}

/* Popular Card */
.pricing-card.popular {
    border-color: rgba(195, 14, 110, 0.55);
    background: linear-gradient(160deg, rgba(195, 14, 110, 0.14) 0%, rgba(195, 14, 110, 0.05) 55%, rgba(255, 255, 255, 0.03) 100%);
    box-shadow: 0 0 60px rgba(195, 14, 110, 0.20), 0 0 0 1px rgba(195, 14, 110, 0.12) inset;
}

.pricing-card.popular::before {
    opacity: 1;
    background: linear-gradient(90deg, transparent, rgba(195, 14, 110, 0.5), transparent);
}

.pricing-card.popular:hover {
    border-color: rgba(195, 14, 110, 0.72);
    box-shadow: 0 20px 80px rgba(195, 14, 110, 0.28), 0 0 0 1px rgba(195, 14, 110, 0.18) inset;
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #e0156d, #c30e6e);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 0 24px 0 12px;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(195, 14, 110, 0.45);
}

.plan-name {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.80);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.pricing-card.popular .plan-name {
    color: #f2679d;
    opacity: 1;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 2px;
}

.plan-price .amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -2px;
    line-height: 1;
}

.pricing-card.popular .plan-price .amount {
    font-size: 3.0rem;
}

.plan-price .period {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
    margin-left: 2px;
}

.plan-price-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 400;
    margin: 0 0 10px 0;
    display: none;
}

.plan-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 22px;
    font-weight: 400;
}

.plan-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.20), transparent);
    margin-bottom: 24px;
}

.pricing-card.popular .plan-divider {
    background: linear-gradient(90deg, transparent, rgba(195, 14, 110, 0.45), transparent);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 400;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-features li:last-child {
    border-bottom: none;
}

.pricing-card.popular .plan-features li {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(195, 14, 110, 0.08);
}

.plan-features li svg {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.65);
}

.pricing-card.popular .plan-features li svg {
    color: #e8278a;
    opacity: 1;
}

/* CTA Button */
.plan-cta {
    width: 100%;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: none;
    display: block;
    text-decoration: none;
    font-family: var(--font-family, 'Inter', sans-serif);
    position: relative;
    overflow: hidden;
}

.plan-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plan-cta:hover::after {
    opacity: 1;
}

.plan-cta.glass {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.plan-cta.glass:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.plan-cta.primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 6px 20px rgba(195, 14, 110, 0.3);
}

.plan-cta.primary:hover {
    box-shadow: 0 10px 32px rgba(195, 14, 110, 0.45);
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.plan-cta:active {
    transform: translateY(0) scale(0.98);
}

/* ---------- Pricing Footer ---------- */
.pricing-footer-text {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    padding-bottom: 60px;
}

/* ---------- FAQ Section ---------- */
.pricing-faq {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.pricing-faq h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    transition: color 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 0;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 0 20px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* ---------- Auth Modal ---------- */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.auth-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.auth-modal {
    background: #1c1c1e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    width: 100%;
    max-width: 440px;
    padding: 40px 36px;
    position: relative;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-overlay.active .auth-modal {
    transform: translateY(0) scale(1);
}

.auth-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.auth-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.auth-modal h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-modal .auth-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.auth-form-group {
    margin-bottom: 18px;
}

.auth-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}

.auth-form-group input,
.auth-form-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    font-family: var(--font-family);
    transition: all 0.3s ease;
    outline: none;
}

.auth-form-group input:focus,
.auth-form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(195, 14, 110, 0.15);
}

.auth-form-group input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.auth-form-group select option {
    background: #1c1c1e;
    color: #fff;
}

.auth-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.auth-submit-btn:hover {
    box-shadow: 0 8px 24px rgba(195, 14, 110, 0.35);
    transform: translateY(-2px);
}

.auth-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-switch a {
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.auth-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: #ef4444;
    margin-bottom: 16px;
    display: none;
}

.auth-error.visible {
    display: block;
}

/* ---------- Registration Wizard Stepper ---------- */
.reg-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
    padding: 0 20px;
}

.reg-stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}

.reg-stepper-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reg-stepper-step.active .reg-stepper-dot {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 16px rgba(195, 14, 110, 0.35);
}

.reg-stepper-step.done .reg-stepper-dot {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10B981;
    color: #10B981;
}

.reg-stepper-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease;
}

.reg-stepper-step.active .reg-stepper-label {
    color: var(--primary-color);
}

.reg-stepper-step.done .reg-stepper-label {
    color: #10B981;
}

.reg-stepper-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 16px;
    margin-bottom: 20px;
    position: relative;
    border-radius: 1px;
    min-width: 60px;
}

/* ---------- Registration Step Content ---------- */
.reg-step-content {
    display: none;
}

.reg-step-content.active {
    display: block;
    animation: regStepFadeIn 0.35s ease;
}

@keyframes regStepFadeIn {
    from {
        opacity: 0;
        transform: translateX(12px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ---------- Form Row (side-by-side) ---------- */
.auth-form-row {
    display: flex;
    gap: 12px;
}

.auth-form-row .auth-form-group {
    flex: 1;
}

/* ---------- Color Picker ---------- */
.color-picker-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    outline: none;
    padding: 0;
}

.color-swatch:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.color-swatch.active {
    border-color: #fff;
    transform: scale(1.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.color-swatch.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* ---------- Step Navigation Buttons ---------- */
.reg-step-buttons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.reg-step-buttons .auth-submit-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-family);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.auth-back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.auth-submit-btn svg {
    flex-shrink: 0;
}

/* ---------- Responsive: Auth modal wizard ---------- */
@media (max-width: 480px) {
    .auth-form-row {
        flex-direction: column;
        gap: 0;
    }

    .reg-stepper {
        padding: 0 10px;
    }

    .reg-stepper-line {
        min-width: 40px;
        margin: 0 10px;
    }

    .color-swatch {
        width: 32px;
        height: 32px;
    }

    .reg-step-buttons {
        flex-direction: column-reverse;
    }

    .auth-back-btn {
        padding: 12px;
    }
}

/* ========================================= */
/* Sprint 2A — Social Proof Bar              */
/* ========================================= */

.social-proof-bar {
    max-width: 800px;
    margin: -8px auto 36px;
    padding: 20px 28px;
    background: linear-gradient(180deg, rgba(26, 26, 32, 0.7) 0%, rgba(20, 20, 25, 0.55) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-align: center;
    animation: social-proof-fadein 0.8s ease-out;
}

@keyframes social-proof-fadein {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-proof-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.social-proof-avatars {
    display: flex;
    align-items: center;
}

.social-proof-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    border: 2px solid rgba(20, 20, 25, 0.8);
    margin-left: -8px;
}

.social-proof-avatar:first-child {
    margin-left: 0;
}

.social-proof-counter {
    font-weight: 700;
    font-size: 0.95rem;
    color: #C30E6E;
}

.social-proof-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.social-proof-separator {
    color: rgba(255, 255, 255, 0.2);
}

.social-proof-rating {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.social-proof-testimonial {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    font-style: italic;
    line-height: 1.5;
}

.social-proof-testimonial cite {
    font-style: normal;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================= */
/* Sprint 2B — Mini-FAQ Inline               */
/* ========================================= */

.mini-faq-section {
    max-width: 720px;
    margin: 0 auto 40px;
    padding: 0 24px;
}

.mini-faq-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

.mini-faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mini-faq-item {
    background: rgba(20, 20, 25, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.mini-faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.mini-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-align: left;
    gap: 12px;
}

.mini-faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    opacity: 0.5;
}

.mini-faq-item.active .mini-faq-question svg {
    transform: rotate(180deg);
    opacity: 0.8;
}

.mini-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 18px;
}

.mini-faq-item.active .mini-faq-answer {
    max-height: 200px;
    padding: 0 18px 14px;
}

.mini-faq-answer p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================= */
/* Auth Modal — Redesign v2                  */
/* ========================================= */

/* --- Modal container upgrade --- */
.auth-modal {
    background: linear-gradient(180deg, rgba(28, 28, 32, 0.98) 0%, rgba(22, 22, 26, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 28px;
    width: 100%;
    max-width: 440px;
    padding: 36px 32px 32px;
    position: relative;
    transform: translateY(24px) scale(0.95);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.auth-overlay.active .auth-modal {
    transform: translateY(0) scale(1);
}

/* --- Modal Header (icon + title row) --- */
.auth-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.auth-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(195, 14, 110, 0.18) 0%, rgba(109, 0, 200, 0.18) 100%);
    border: 1px solid rgba(195, 14, 110, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color, #C30E6E);
    flex-shrink: 0;
}

.auth-modal-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 2px 0;
    letter-spacing: -0.3px;
}

.auth-modal-header .auth-subtitle {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

/* --- Admin badge pill --- */
.auth-admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(195, 14, 110, 0.08);
    border: 1px solid rgba(195, 14, 110, 0.18);
    border-radius: 20px;
    font-size: 0.775rem;
    font-weight: 500;
    color: rgba(195, 14, 110, 0.8);
    margin-bottom: 20px;
    letter-spacing: 0.1px;
}

/* --- Error box with icon space --- */
.auth-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.22);
    border-left: 3px solid #ef4444;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 0.85rem;
    color: #f87171;
    margin-bottom: 16px;
    display: none;
    line-height: 1.5;
}

.auth-error.visible {
    display: block;
    animation: slide-in-error 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════════════════
   AUTH MODAL v3 — Tabs, OTP, Progress, BDE view
   ══════════════════════════════════════════════════════════════════════════ */

/* design_system.dart reference:
     background #121214, backgroundElevated #1E1E22, textPrimary #FAFAFA,
     textSecondary #E4E4E7, textTertiary #A1A1AA, primary #FAFAFA, brand rgba(195,14,110,0.82)
*/

/* ── Overlay ── */
.auth-overlay {
        --auth-bg: #121214;
        --auth-bg-elevated: #1E1E22;
        --auth-bg-card: #2D2D32;
        --auth-text: #FAFAFA;
        --auth-text-soft: #E4E4E7;
        --auth-text-muted: #A1A1AA;
        --auth-text-disabled: #71717A;
        --auth-primary: #FAFAFA;
        --auth-primary-subtle: rgba(250, 250, 250, 0.12);
        --auth-brand: rgba(195, 14, 110, 0.82);
        --auth-brand-soft: rgba(195, 14, 110, 0.14);
        --auth-brand-border: rgba(195, 14, 110, 0.28);
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    padding: 20px;
}
.auth-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ── Modal card ── */
.auth-modal {
    background: #1E1E22;
    border: 1px solid #27272A;
    border-radius: 16px;
    padding: 36px 32px 30px;
    width: 100%;
    max-width: 440px;
    position: relative;
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
    transform: translateY(16px) scale(0.97);
    transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.auth-overlay.active .auth-modal {
    transform: translateY(0) scale(1);
}

/* ── Close button ── */
.auth-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255,255,255,0.5);
    transition: background 0.15s, color 0.15s;
    padding: 0;
}
.auth-modal-close:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

/* ── Brand ── */
.auth-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}
.auth-brand-logo {
    width: 32px;
    height: 32px;
    background: #C30E6E;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}
.auth-brand-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: 0.02em;
}

/* ── Tabs ── */
.auth-tabs {
    display: flex;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 22px;
    gap: 4px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.auth-tab {
    flex: 1;
    background: transparent;
    border: none;
    border-radius: 9px;
    padding: 9px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--auth-text-muted);
    cursor: pointer;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    white-space: nowrap;
}
.auth-tab.active {
    background: #2D2D32;
    color: var(--auth-text);
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.auth-tab:not(.active):hover {
    background: rgba(255,255,255,0.07);
    color: var(--auth-text-soft);
}

/* ── Views ── */
.auth-view {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.auth-view.active {
    opacity: 1;
    transform: translateY(0);
}

/* ── Form groups ── */
.auth-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}
.auth-form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--auth-text-soft);
    letter-spacing: 0.02em;
}
.auth-label-hint {
    font-weight: 400;
    color: var(--auth-text-muted);
    font-size: 0.75rem;
    margin-left: 4px;
}
.auth-form-group input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.9rem;
    color: var(--auth-text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    width: 100%;
    box-sizing: border-box;
}
.auth-form-group input::placeholder {
    color: var(--auth-text-disabled);
}
.auth-form-group input:focus {
    background: rgba(255,255,255,0.07);
    border-color: var(--auth-brand);
    box-shadow: 0 0 0 3px rgba(195, 14, 110, 0.12);
}

/* ── Password wrapper ── */
.auth-password-wrapper {
    position: relative;
}
.auth-password-wrapper input {
    padding-right: 42px;
}
.auth-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: var(--auth-text-disabled);
    display: flex;
    align-items: center;
    transition: color 0.15s;
}
.auth-password-toggle:hover { color: var(--auth-text-soft); }

/* ── Password strength bar ── */
.auth-password-strength {
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
}
.auth-password-strength-bar {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

/* ── Submit button ── */
.auth-submit-btn {
    width: 100%;
    background: #FAFAFA;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 0.925rem;
    font-weight: 700;
    color: #121214;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    transition: opacity 0.15s, transform 0.15s;
    letter-spacing: 0.01em;
}
.auth-submit-btn:hover:not(:disabled) {
    opacity: 0.92;
    transform: translateY(-1px);
}
.auth-submit-btn:active:not(:disabled) { transform: translateY(0); }
.auth-submit-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}
.auth-submit-btn.loading { opacity: 0.7; pointer-events: none; }

/* ── Switch hint ── */
.auth-switch-hint {
    text-align: center;
    font-size: 0.83rem;
    color: var(--auth-text-muted);
    margin-top: 16px;
    margin-bottom: 0;
}
.auth-link-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: inherit;
    color: var(--auth-brand);
    font-weight: 600;
    padding: 0;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: color 0.15s, text-decoration-color 0.15s;
}
.auth-link-btn:hover {
    color: rgba(255, 129, 186, 0.98);
    text-decoration-color: currentColor;
}

/* ── Progress steps (register view) ── */
.auth-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 22px;
}
.auth-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.auth-progress-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--auth-text-disabled);
    transition: all 0.25s ease;
}
.auth-progress-step.active .auth-progress-dot {
    background: var(--auth-brand-soft);
    border-color: var(--auth-brand);
    color: var(--auth-text);
}
.auth-progress-step.done .auth-progress-dot {
    background: var(--auth-primary);
    border-color: var(--auth-primary);
    color: var(--auth-bg);
}
.auth-progress-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--auth-text-disabled);
    transition: color 0.25s;
}
.auth-progress-step.active .auth-progress-label { color: var(--auth-brand); }
.auth-progress-step.done .auth-progress-label { color: var(--auth-text-soft); }
.auth-progress-line {
    flex: 1;
    height: 2px;
    background: rgba(255,255,255,0.1);
    margin: 0 8px;
    margin-bottom: 16px;
    min-width: 48px;
    transition: background 0.25s;
}

/* ── OTP / Verify view ── */
.auth-verify-header {
    text-align: center;
    margin-bottom: 24px;
}
.auth-verify-icon-wrap {
    width: 52px;
    height: 52px;
    background: rgba(195, 14, 110, 0.1);
    border: 1px solid rgba(195, 14, 110, 0.2);
    border-radius: 12px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--auth-brand);
}
.auth-verify-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--auth-text);
    margin: 0 0 8px;
}
.auth-verify-desc {
    font-size: 0.85rem;
    color: var(--auth-text-muted);
    line-height: 1.55;
    margin: 0;
}
.auth-verify-desc strong { color: var(--auth-text-soft); font-weight: 600; }

.otp-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}
.otp-digit {
    width: 46px;
    height: 54px;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--auth-text);
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s;
    caret-color: var(--auth-brand);
    padding: 0;
}
.otp-digit:focus {
    border-color: var(--auth-brand);
    box-shadow: 0 0 0 3px rgba(195, 14, 110, 0.12);
}
.otp-sep {
    width: 12px;
    height: 2px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    flex-shrink: 0;
}

.auth-resend-text {
    text-align: center;
    font-size: 0.82rem;
    color: var(--auth-text-muted);
    margin-top: 14px;
}
.auth-resend-countdown {
    color: var(--auth-text-disabled);
    margin-left: 4px;
    font-size: 0.8rem;
}

/* ── Success view ── */
.auth-success-wrap {
    text-align: center;
    padding: 12px 0 8px;
}
.auth-success-icon {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: #10B981;
    animation: success-pop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes success-pop {
    from { transform: scale(0.5); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}
.auth-success-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--auth-text);
    margin: 0 0 10px;
}
.auth-success-desc {
    font-size: 0.87rem;
    color: var(--auth-text-muted);
    line-height: 1.6;
    margin: 0 0 20px;
}
.auth-success-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255,255,255,0.12);
    border-top-color: var(--auth-brand);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

/* ── BDE view ── */
.bde-view-header {
    text-align: center;
    margin-bottom: 22px;
}
.bde-view-icon {
    width: 48px;
    height: 48px;
    background: rgba(195, 14, 110, 0.1);
    border: 1px solid rgba(195, 14, 110, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 13px;
    color: var(--auth-brand);
}
#bde-view-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--auth-text);
    margin: 0 0 6px;
}
.bde-view-subtitle {
    font-size: 0.83rem;
    color: var(--auth-text-muted);
    line-height: 1.5;
    margin: 0;
}

.bde-form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}
.auth-back-btn {
    flex-shrink: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--auth-text-soft);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.auth-back-btn:hover {
    background: rgba(255,255,255,0.1);
    color: var(--auth-text);
}
.bde-form-buttons .auth-submit-btn {
    flex: 1;
    margin-top: 0;
}

/* ── Spin animation (reused) ── */
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Mobile ── */
@media (max-width: 480px) {
    .auth-modal { padding: 28px 20px 24px; }
    .auth-form-row { grid-template-columns: 1fr; }
    .otp-digit { width: 40px; height: 48px; font-size: 1.2rem; }
    .otp-sep { display: none; }
}


@keyframes slide-in-error {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Input improvements --- */
.auth-form-group input,
.auth-form-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    font-family: var(--font-family, 'Inter', sans-serif);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    outline: none;
    box-sizing: border-box;
}

.auth-form-group input:focus,
.auth-form-group select:focus {
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

/* --- Password field with toggle button --- */
.auth-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-password-wrapper input {
    padding-right: 48px;
    /* make room for toggle */
}

.auth-password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.3);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    line-height: 0;
}

.auth-password-toggle:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Submit button with icon --- */
.auth-submit-btn {
    width: 100%;
    padding: 13px 20px;
    background: rgba(255,255,255,0.93);
    color: #0d0d16;
    border: none;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-family, 'Inter', sans-serif);
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.1px;
}

.auth-submit-btn:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.auth-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    filter: none;
}

/* --- Divider separator --- */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 4px;
    color: rgba(255, 255, 255, 0.18);
    font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.auth-divider span {
    flex-shrink: 0;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- Switch link --- */
.auth-switch {
    text-align: center;
    margin-top: 16px;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.4);
}

.auth-switch a {
    color: rgba(255,255,255,0.72);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.auth-switch a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* --- Register view h2 + subtitle (no header row layout) --- */
#register-view h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

#register-view .auth-subtitle {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.87rem;
    margin-bottom: 22px;
}

/* ========================================= */
/* Scroll-triggered entrance animations      */
/* ========================================= */

.pricing-grid > .pricing-card,
.social-proof-bar,
.billing-toggle-wrapper,
.mini-faq-section,
.security-badges,
.pricing-footer-text {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.pricing-grid > .pricing-card.visible,
.social-proof-bar.visible,
.billing-toggle-wrapper.visible,
.mini-faq-section.visible,
.security-badges.visible,
.pricing-footer-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger pricing cards */
.pricing-grid > .pricing-card:nth-child(2) { transition-delay: 0.08s; }
.pricing-grid > .pricing-card:nth-child(3) { transition-delay: 0.16s; }
.pricing-grid > .pricing-card:nth-child(4) { transition-delay: 0.24s; }
