/* =============================================
   Signup flow – shared styles (Index + Plan)

   Brand palette (from Trublo logo):
     --brand:        #057ffa  (logo blue)
     --brand-dark:   #0568d4  (hover / darker)
     --brand-deep:   #003d85  (gradient mid)
     --brand-bg:     #010e20  (near-black background)
     --brand-end:    #021433  (gradient end)
     --brand-light:  #cfe5ff  (light tint)
     --brand-mid:    #8dc3fd  (medium tint)
     --brand-faint:  #e8f2ff  (very light bg)
   ============================================= */

/* ---- Base overrides ---- */
html { background-image: none !important; background: #010e20; }
body { padding-top: 0; min-height: 100vh; background-color: transparent; }
.container-fluid > main { padding: 0; }

/* =============================================
   signup/index – split layout
   ============================================= */

.signup-split { min-height: 100vh; display: flex; }

.signup-left {
    background: linear-gradient(145deg, #003d85 0%, #010e20 55%, #021433 100%);
    color: white;
    padding: 3rem 3rem 3rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.signup-left::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -25%;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(5,127,250,0.2) 0%, transparent 70%);
    pointer-events: none;
}
.signup-left::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -15%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(5,127,250,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.brand-name {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 2.5rem;
    position: relative;
}
.brand-name span { color: #6db8fd; }

.left-headline {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    position: relative;
}
.left-sub {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    position: relative;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    margin-bottom: 1.1rem;
    position: relative;
}
.feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}
.feature-text { font-size: 0.875rem; color: rgba(255,255,255,0.85); padding-top: 0.45rem; }

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    margin-top: 2.5rem;
    position: relative;
}
.trust-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: trust-pulse 2s infinite;
}
@keyframes trust-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.signup-right {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem 5rem;
}
.form-card { width: 100%; max-width: 460px; }
.form-title { font-size: 1.5rem; font-weight: 700; color: #010e20; margin-bottom: 0.35rem; }
.form-subtitle { font-size: 0.875rem; color: #64748b; margin-bottom: 1.75rem; }

.signup-right .form-floating .form-control,
.signup-right .form-floating .form-select {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #f0f5ff;
    font-size: 0.875rem;
    transition: border-color 0.2s, background 0.2s;
}
.signup-right .form-floating .form-control:focus,
.signup-right .form-floating .form-select:focus {
    border-color: #057ffa;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(5,127,250,0.1);
}
.signup-right .form-floating label { color: #94a3b8; font-size: 0.8rem; }

.btn-signup {
    background: linear-gradient(135deg, #057ffa 0%, #0568d4 100%);
    border: none;
    border-radius: 10px;
    padding: 0.9rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: white;
    transition: all 0.2s;
}
.btn-signup:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(5,127,250,0.4);
    color: white;
}
.btn-signup:active { transform: translateY(0); }

.divider-or {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #cbd5e1;
    font-size: 0.75rem;
    margin: 1.25rem 0;
}
.divider-or::before, .divider-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #f1f5f9;
}

.signin-link { color: #0568d4; font-weight: 600; text-decoration: none; }
.signin-link:hover { color: #057ffa; }
.tos-link { color: #0568d4; text-decoration: none; }
.tos-link:hover { text-decoration: underline; }

.mobile-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: #003d85;
    text-align: center;
    margin-bottom: 1.5rem;
}
.mobile-brand span { color: #057ffa; }

/* =============================================
   signup/plan – pricing page
   ============================================= */

.plan-page {
    min-height: 100vh;
    padding: 0 1rem 4rem;
    background: linear-gradient(180deg, #010e20 0%, #003d85 320px, #f1f5f9 320px);
}

/* Step indicator */
.step-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0 1.5rem;
}
.step-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
}
.step-item.active { color: rgba(255,255,255,0.95); }
.step-item.done   { color: rgba(255,255,255,0.7); }
.step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
}
.step-item.active .step-num { background: #057ffa; }
.step-item.done .step-num   { background: #22c55e; color: white; }
.step-line {
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 0 0.5rem;
}

/* Header */
.plan-header { text-align: center; color: white; padding-bottom: 2.5rem; }
.plan-header h1 { font-size: 2rem; font-weight: 800; margin-bottom: 0.4rem; letter-spacing: -0.5px; }
.plan-header p  { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 1.5rem; }

.country-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    padding: 0.45rem 1.1rem;
    backdrop-filter: blur(8px);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.8);
}
.country-pill select {
    background: transparent;
    border: none;
    color: white;
    font-size: 0.82rem;
    cursor: pointer;
    outline: none;
    font-weight: 600;
}
.country-pill select option { background: #003d85; }
.currency-code { font-weight: 700; color: white; }

/* Pricing grid (kept for potential future use) */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}
@media (max-width: 991px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .plans-grid { grid-template-columns: 1fr; } }

.plan-card-wrap { position: relative; }
.plan-card-wrap.featured { margin-top: -8px; }

.plan-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}
.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.plan-card.featured {
    border-color: #057ffa;
    box-shadow: 0 8px 40px rgba(5,127,250,0.2);
}
.plan-card.featured:hover { box-shadow: 0 20px 50px rgba(5,127,250,0.3); }

.plan-badge {
    background: linear-gradient(135deg, #057ffa, #0568d4);
    color: white;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    padding: 0.5rem;
}
.plan-body { padding: 1.75rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.plan-tier-name {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 0.6rem;
}
.plan-price-row { display: flex; align-items: baseline; gap: 0.2rem; margin-bottom: 0.3rem; }
.plan-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #010e20;
    line-height: 1;
    letter-spacing: -1px;
}
.plan-period { font-size: 0.82rem; color: #94a3b8; }
.plan-limit  { font-size: 0.8rem; color: #64748b; margin-bottom: 1.25rem; }

.feature-list { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.45rem 0;
    font-size: 0.82rem;
    color: #374151;
    border-bottom: 1px solid #f0faff;
}
.feature-list li:last-child { border-bottom: none; }
.feat-check { color: #22c55e; font-size: 0.85rem; flex-shrink: 0; margin-top: 1px; }

.btn-plan {
    border-radius: 10px;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.2s;
    text-align: center;
    display: block;
    text-decoration: none;
}
.btn-plan-primary {
    background: linear-gradient(135deg, #057ffa 0%, #0568d4 100%);
    color: white;
    border: none;
}
.btn-plan-primary:hover {
    color: white;
    box-shadow: 0 6px 20px rgba(5,127,250,0.45);
    transform: translateY(-1px);
}
.btn-plan-outline {
    background: transparent;
    color: #0568d4;
    border: 1.5px solid #e2e8f0;
}
.btn-plan-outline:hover {
    border-color: #057ffa;
    background: #e8f2ff;
    color: #0568d4;
}

/* Add-ons */
.addons-section {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
}
.addons-title { font-size: 1rem; font-weight: 700; color: #010e20; margin-bottom: 0.25rem; }
.addons-sub   { font-size: 0.8rem; color: #94a3b8; margin-bottom: 1.25rem; }
.addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f0f5ff;
    border-radius: 10px;
    border: 1.5px solid #f1f5f9;
    margin-bottom: 0.5rem;
    transition: border-color 0.15s;
}
.addon-item:last-child { margin-bottom: 0; }
.addon-item:hover { border-color: #8dc3fd; }
.addon-name-text  { font-size: 0.875rem; font-weight: 500; color: #334155; }
.addon-price-val  { font-size: 0.875rem; font-weight: 700; color: #0568d4; }
.addon-period     { font-size: 0.75rem; color: #94a3b8; font-weight: 400; }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.empty-icon { font-size: 3rem; color: #cbd5e1; display: block; margin-bottom: 1rem; }
.empty-state h5 { color: #374151; font-weight: 700; margin-bottom: 0.5rem; }
.empty-state p  { color: #64748b; font-size: 0.875rem; max-width: 360px; margin: 0 auto; }

/* =============================================
   signup/plan – single pricing card
   ============================================= */

/* Two-part price display (subscription + transaction %) */
.pricing-two-part {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
@media (max-width: 575px) {
    .pricing-two-part { flex-direction: column; gap: 1rem; }
    .pricing-plus { transform: rotate(90deg); }
}
.pricing-part {
    flex: 1;
    text-align: center;
    padding: 1.25rem;
    border-radius: 14px;
    background: #f0f5ff;
    border: 1.5px solid #cfe5ff;
}
.pricing-part-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}
.pricing-part-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.15rem;
    margin-bottom: 0.4rem;
}
.pricing-part-price {
    font-size: 2.25rem;
    font-weight: 900;
    color: #010e20;
    line-height: 1;
    letter-spacing: -1px;
}
.pricing-part-pct { color: #057ffa; }
.pricing-part-period { font-size: 0.85rem; color: #94a3b8; }
.pricing-part-desc { font-size: 0.75rem; color: #64748b; }
.pricing-part-sub { border-color: #e2e8f0; background: #f8faff; }
.pricing-part-txn { border-color: #8dc3fd; background: #e8f2ff; }
.pricing-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: #cbd5e1;
    flex-shrink: 0;
}

.pricing-hero-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2.5rem 2rem;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* ── Paystack page ─────────────────────────────────────── */
.paystack-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #e6f9f0;
    border: 1px solid #a7f3d0;
    border-radius: 50px;
    padding: 0.3rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #059669;
    margin-bottom: 1.25rem;
}
.stripe-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f0f0ff;
    border: 1px solid #c4b5fd;
    border-radius: 50px;
    padding: 0.3rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #6d28d9;
    margin-bottom: 1.25rem;
}
.paystack-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.3rem;
}
.paystack-field .form-control,
.paystack-field .form-select {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #f0f5ff;
    font-size: 0.875rem;
    padding: 0.6rem 0.85rem;
    color: #1e293b;
    transition: border-color 0.15s, box-shadow 0.15s;
    appearance: auto;
}
.paystack-field .form-control:focus,
.paystack-field .form-select:focus {
    border-color: #057ffa;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(5,127,250,0.1);
    outline: none;
}
.skip-link {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.75rem;
    text-decoration: none;
}
.skip-link:hover { color: #64748b; text-decoration: underline; }

.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 50px;
    padding: 0.35rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #16a34a;
    margin-bottom: 1.5rem;
}

.pricing-fee-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
    margin-bottom: 0.5rem;
}
.pricing-fee {
    font-size: 6rem;
    font-weight: 900;
    color: #010e20;
    line-height: 1;
    letter-spacing: -4px;
}
.pricing-fee-pct {
    font-size: 3rem;
    font-weight: 800;
    color: #057ffa;
    line-height: 1;
}
.pricing-fee-label {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    margin-left: 0.5rem;
    align-self: center;
}
.pricing-fee-sub {
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.pricing-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 1.75rem 0;
}

.pricing-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 2rem;
}
@media (max-width: 575px) { .pricing-features-grid { grid-template-columns: 1fr; } }

.pricing-feat {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.pricing-feat-icon {
    color: #22c55e;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.pricing-feat-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.1rem;
}
.pricing-feat-sub { font-size: 0.78rem; color: #94a3b8; }

.pricing-example {
    background: #f0f5ff;
    border: 1.5px solid #cfe5ff;
    border-radius: 10px;
    padding: 0.9rem 1.25rem;
    font-size: 0.82rem;
    color: #475569;
    margin-bottom: 0;
}
.pricing-example-label {
    display: inline-block;
    background: #cfe5ff;
    color: #0568d4;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px;
    padding: 0.15rem 0.5rem;
    margin-right: 0.5rem;
}

.pricing-cta {
    display: block;
    margin-top: 1.75rem;
    font-size: 1rem;
    padding: 0.9rem;
}

.pricing-terms {
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 1rem;
    margin-bottom: 0;
}
.pricing-terms a { color: #0568d4; text-decoration: none; }
.pricing-terms a:hover { text-decoration: underline; }

/* =============================================
   signup/complete – welcome page
   ============================================= */

.complete-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #057ffa, #0568d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.25rem;
}
.complete-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #010e20;
    margin-bottom: 0.5rem;
}
.complete-sub {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.complete-next { text-align: left; }
.complete-next-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 1rem;
}
.complete-steps { display: flex; flex-direction: column; gap: 0.75rem; }
.complete-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #f0f5ff;
    border-radius: 10px;
    border: 1.5px solid #cfe5ff;
}
.complete-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #cfe5ff;
    color: #0568d4;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.complete-step-text { font-size: 0.875rem; color: #334155; font-weight: 500; }

/* ---- Service type selector (signup) ---- */
.service-type-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
}
.service-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}
.service-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    user-select: none;
}
.service-card:hover { border-color: #94a3b8; }
.service-card.selected { border-color: #057ffa; background: rgba(5,127,250,0.06); }
.service-card-icon { font-size: 1.3rem; color: #cbd5e1; flex-shrink: 0; }
.service-card.selected .service-card-icon { color: #057ffa; }
.service-card-title { font-size: 0.82rem; font-weight: 700; color: #1e293b; }
.service-card.selected .service-card-title { color: #057ffa; }
.service-card-sub { font-size: 0.71rem; color: #94a3b8; line-height: 1.3; }
