/* ==========================================================================
   Join As Pro Marketing Page — join-as-pro.css
   All classes prefixed .jap- to avoid theme conflicts.
   ========================================================================== */

/* ── Reset ───────────────────────────────────────────────────────────────── */
.jap-page,
.jap-page * {
    box-sizing: border-box;
}
.jap-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a2e;
    /* Escape theme content container */
    margin-left:  calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    overflow-x: hidden;
}
.jap-page h1, .jap-page h2, .jap-page h3, .jap-page h4,
.jap-page h5, .jap-page h6 {
    margin: 0; padding: 0; line-height: 1.2;
}
.jap-page p { margin: 0; }
.jap-page a { text-decoration: none; }

/* ── Shared inner container ─────────────────────────────────────────────── */
.jap-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Shared button ──────────────────────────────────────────────────────── */
.jap-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #fff;
    color: #1a1a2e;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, transform 0.12s;
    line-height: 1;
}
.jap-btn-primary:hover {
    background: #f0f4ff;
    transform: translateY(-1px);
}
.jap-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    line-height: 1;
}
.jap-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}
.jap-btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, transform 0.12s;
    line-height: 1;
}
.jap-btn-dark:hover {
    background: #2d2d4e;
    transform: translateY(-1px);
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.jap-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 80px 0 70px;
    position: relative;
    overflow: hidden;
}
.jap-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -80px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.jap-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.jap-hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.55);
    margin-bottom: 18px;
}
.jap-hero-headline {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #fff;
}
.jap-hero-headline span {
    color: #7dd3fc;
}
.jap-hero-subheadline {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.75);
    margin-bottom: 30px;
}
.jap-hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.jap-hero-trust {
    margin-top: 28px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.jap-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}
.jap-trust-item::before {
    content: '✓';
    color: #7dd3fc;
    font-weight: 700;
}

/* Hero visual card */
.jap-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.jap-mock-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px 24px;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    color: #1a1a2e;
}
.jap-mock-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
}
.jap-mock-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4361ee, #7dd3fc);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 16px;
    flex-shrink: 0;
}
.jap-mock-name {
    font-weight: 700; font-size: 14px; color: #1a1a2e;
}
.jap-mock-type {
    font-size: 12px; color: #888;
}
.jap-mock-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
}
.jap-mock-stat-val {
    font-size: 20px; font-weight: 800; color: #1a1a2e;
}
.jap-mock-stat-lbl {
    font-size: 11px; color: #888; margin-top: 2px;
}

/* ── Benefits section ───────────────────────────────────────────────────── */
.jap-benefits {
    background: #fff;
    padding: 72px 0;
}
.jap-section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4361ee;
    margin-bottom: 10px;
}
.jap-section-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 12px;
    line-height: 1.2;
}
.jap-section-sub {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    max-width: 540px;
    margin-bottom: 44px;
}
.jap-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.jap-benefit-card {
    padding: 28px 24px;
    border: 1.5px solid #e5e9f0;
    border-radius: 14px;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}
.jap-benefit-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: #c7d2fe;
    transform: translateY(-2px);
}
.jap-benefit-icon {
    width: 48px; height: 48px;
    background: #eef2ff;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}
.jap-benefit-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.jap-benefit-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.55;
}

/* ── How It Works ───────────────────────────────────────────────────────── */
.jap-how {
    background: #f5f7fa;
    padding: 72px 0;
}
.jap-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 10px;
    position: relative;
}
.jap-step {
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border-radius: 14px;
    border: 1.5px solid #e5e9f0;
    position: relative;
}
.jap-step-num {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #1a1a2e;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.jap-step-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.jap-step-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.55;
}

/* ── Comparison table ───────────────────────────────────────────────────── */
.jap-comparison {
    background: #fff;
    padding: 72px 0;
}
.jap-comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid #e5e9f0;
    margin-top: 8px;
}
.jap-comparison-table thead tr {
    background: #f5f7fa;
}
.jap-comparison-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #555;
    border-bottom: 1.5px solid #e5e9f0;
}
.jap-comparison-table th:not(:first-child) {
    text-align: center;
}
.jap-comparison-table td {
    padding: 13px 20px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f2f6;
}
.jap-comparison-table td:not(:first-child) {
    text-align: center;
}
.jap-comparison-table tbody tr:last-child td {
    border-bottom: none;
}
.jap-comparison-table tbody tr:hover td {
    background: #fafbfd;
}
.jap-check { color: #2e7d32; font-size: 16px; font-weight: 700; }
.jap-dash  { color: #bbb; font-size: 20px; }
.jap-tier-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.jap-tier-badge.free     { background: #f0f4ff; color: #4361ee; }
.jap-tier-badge.preferred { background: #fff3e0; color: #e65100; }

/* ── Service categories tag cloud ───────────────────────────────────────── */
.jap-categories {
    background: #f5f7fa;
    padding: 56px 0;
    text-align: center;
}
.jap-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}
.jap-tag {
    padding: 8px 18px;
    background: #fff;
    border: 1.5px solid #e5e9f0;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.jap-tag:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4361ee;
}

/* ── CTA Strip ───────────────────────────────────────────────────────────── */
.jap-cta-strip {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    padding: 64px 0;
    text-align: center;
    color: #fff;
}
.jap-cta-strip h2 {
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 800;
    margin-bottom: 14px;
}
.jap-cta-strip p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .jap-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .jap-hero-visual { display: none; }
    .jap-benefits-grid,
    .jap-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .jap-benefits-grid,
    .jap-steps {
        grid-template-columns: 1fr;
    }
    .jap-hero {
        padding: 56px 0 48px;
    }
    .jap-benefits,
    .jap-how,
    .jap-comparison,
    .jap-categories,
    .jap-cta-strip {
        padding: 48px 0;
    }
    .jap-hero-ctas {
        flex-direction: column;
    }
    .jap-btn-primary,
    .jap-btn-outline,
    .jap-btn-dark {
        justify-content: center;
    }
    .jap-comparison-table th,
    .jap-comparison-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}


/* ==========================================================================
   Multi-Step Registration Wizard
   Used by template-join-as-pro.php
   ========================================================================== */

/* ── Page shell ──────────────────────────────────────────────────────────── */
.jap-wizard-page {
    display: flex;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a2e;
    background: #f5f7fa;
}
.jap-wizard-page *,
.jap-wizard-page *::before,
.jap-wizard-page *::after {
    box-sizing: border-box;
}
.jap-wizard-page h1, .jap-wizard-page h2, .jap-wizard-page h3 {
    margin: 0;
}
.jap-wizard-page p {
    margin: 0;
}

/* ── Mobile rail (hidden on desktop) ────────────────────────────────────── */
.jap-mobile-rail {
    display: none;
}

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.jap-wizard-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #1a1a2e;
    color: #fff;
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.jap-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.jap-sidebar-brand-icon { font-size: 26px; }
.jap-sidebar-brand-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}
.jap-sidebar-tagline {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 36px;
    line-height: 1.5;
}

/* Step rail */
.jap-step-rail {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
    margin-bottom: 32px;
}
.jap-step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    text-decoration: none;
    cursor: default;
    pointer-events: none;
    transition: opacity 0.15s;
}
.jap-step-item.is-done {
    cursor: pointer;
    pointer-events: all;
}
.jap-step-item-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
}
.jap-step-check { display: none; color: #fff; font-size: 14px; font-weight: 700; }
.jap-step-num   { color: rgba(255,255,255,0.5); font-size: 13px; font-weight: 600; }

.jap-step-item.is-active .jap-step-item-circle {
    background: #4361ee;
    border-color: #4361ee;
}
.jap-step-item.is-active .jap-step-num { color: #fff; }

.jap-step-item.is-done .jap-step-item-circle {
    background: #22c55e;
    border-color: #22c55e;
}
.jap-step-item.is-done .jap-step-num  { display: none; }
.jap-step-item.is-done .jap-step-check { display: block; }

.jap-step-item-label {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    transition: color 0.2s;
    line-height: 1.3;
}
.jap-step-item.is-active .jap-step-item-label { color: #fff; font-weight: 600; }
.jap-step-item.is-done   .jap-step-item-label { color: rgba(255,255,255,0.7); }

.jap-step-connector-line {
    width: 2px;
    height: 18px;
    background: rgba(255,255,255,0.12);
    margin-left: 15px;
}

/* Trust bullets */
.jap-sidebar-trust {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.jap-sidebar-trust p {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    line-height: 1.8;
}

/* ── Wizard main ──────────────────────────────────────────────────────────── */
.jap-wizard-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 56px 24px 80px;
    overflow-y: auto;
}

/* ── Steps ────────────────────────────────────────────────────────────────── */
.jap-step {
    display: none;
    width: 100%;
    max-width: 560px;
    animation: japFadeIn 0.25s ease;
}
.jap-step--active {
    display: block;
}
@keyframes japFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Step header */
.jap-step-header {
    margin-bottom: 32px;
}
.jap-step-eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4361ee;
    margin-bottom: 8px;
}
.jap-step-title {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.jap-step-subtitle {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Step-level error */
.jap-step-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    margin-bottom: 18px;
}

/* ── Form fields ──────────────────────────────────────────────────────────── */
.jap-field-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 18px;
}
.jap-field-group label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}
.jap-req { color: #dc2626; }
.jap-field-hint {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.4;
}
.jap-field-group input[type="text"],
.jap-field-group input[type="email"],
.jap-field-group input[type="tel"],
.jap-field-group input[type="url"],
.jap-field-group input[type="number"],
.jap-field-group select,
.jap-field-group textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a2e;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}
.jap-field-group input:focus,
.jap-field-group select:focus,
.jap-field-group textarea:focus {
    outline: none;
    border-color: #4361ee;
    box-shadow: 0 0 0 3px rgba(67,97,238,0.1);
}
.jap-field-group textarea { resize: vertical; min-height: 72px; }
.jap-field-error { border-color: #dc2626 !important; }
.jap-error-msg {
    font-size: 12px;
    color: #dc2626;
    margin-top: 2px;
}

/* 2-col rows */
.jap-field-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.jap-field-row-2col .jap-field-group { margin-bottom: 18px; }

/* Password wrapper */
.jap-pw-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.jap-pw-wrap input {
    width: 100%;
    padding-right: 56px !important;
}
.jap-pw-toggle {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 600;
    color: #4361ee;
    cursor: pointer;
    padding: 2px 6px;
}

/* ── Service card grid (Step 2) ───────────────────────────────────────────── */
.jap-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 8px;
}
.jap-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 10px;
    background: #fff;
    border: 2px solid #e5e9f0;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, transform 0.1s;
    text-align: center;
    font-family: inherit;
}
.jap-service-card:hover {
    border-color: #c7d2fe;
    background: #f5f7ff;
    transform: translateY(-1px);
}
.jap-service-card.selected {
    border-color: #4361ee;
    background: #eef2ff;
    box-shadow: 0 0 0 3px rgba(67,97,238,0.15);
}
.jap-service-card-icon  { font-size: 24px; line-height: 1; }
.jap-service-card-name  { font-size: 12px; font-weight: 600; color: #374151; line-height: 1.3; }
.jap-service-card.selected .jap-service-card-name { color: #4361ee; }

/* ── Toggles ──────────────────────────────────────────────────────────────── */
.jap-toggle-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.jap-toggle-input { display: none; }
.jap-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    user-select: none;
}
.jap-toggle-switch {
    width: 40px;
    height: 22px;
    background: #d1d5db;
    border-radius: 11px;
    position: relative;
    flex-shrink: 0;
    transition: background 0.2s;
}
.jap-toggle-switch::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: left 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.jap-toggle-input:checked + .jap-toggle-label .jap-toggle-switch {
    background: #4361ee;
}
.jap-toggle-input:checked + .jap-toggle-label .jap-toggle-switch::after {
    left: 21px;
}

/* Step 4 optional badge */
.jap-step-4-optional-badge {
    display: inline-block;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ── Review card (Step 5) ─────────────────────────────────────────────────── */
.jap-review-card {
    background: #fff;
    border: 1.5px solid #e5e9f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}
.jap-review-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f2f6;
}
.jap-review-grid { display: flex; flex-direction: column; gap: 10px; }
.jap-review-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    font-size: 14px;
}
.jap-review-label {
    color: #6b7280;
    font-weight: 500;
    flex-shrink: 0;
    min-width: 100px;
}
.jap-review-value {
    color: #1a1a2e;
    font-weight: 600;
    text-align: right;
}

/* Terms row */
.jap-terms-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #374151;
}
.jap-terms-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #4361ee;
}
.jap-terms-row a { color: #4361ee; }

/* Submit status */
.jap-submit-status {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}
.jap-status-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.jap-status-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.jap-submit-note {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 12px;
}

/* ── Wizard nav ───────────────────────────────────────────────────────────── */
.jap-wizard-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f0f2f6;
}
.jap-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.15s, transform 0.1s, opacity 0.15s;
    font-family: inherit;
    line-height: 1;
}
.jap-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }
.jap-btn-primary {
    background: #1a1a2e;
    color: #fff;
}
.jap-btn-primary:hover { background: #2d2d4e; transform: translateY(-1px); }
.jap-btn-ghost {
    background: transparent;
    color: #6b7280;
    border: 1.5px solid #d1d5db;
}
.jap-btn-ghost:hover { background: #f9fafb; }
.jap-btn-submit {
    background: #4361ee;
    padding: 13px 28px;
    font-size: 15px;
}
.jap-btn-submit:hover { background: #3451d1; transform: translateY(-1px); }
.jap-btn-arrow { font-size: 16px; }

/* ── Progress bar (mobile) ────────────────────────────────────────────────── */
.jap-progress-bar {
    height: 3px;
    background: #e5e9f0;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 8px;
}
.jap-progress-fill {
    height: 100%;
    background: #4361ee;
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 820px) {
    .jap-wizard-page {
        flex-direction: column;
    }
    .jap-wizard-sidebar {
        display: none;
    }
    .jap-mobile-rail {
        display: block;
        background: #1a1a2e;
        padding: 16px 20px 12px;
        position: sticky;
        top: 0;
        z-index: 100;
    }
    .jap-mobile-steps {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        overflow-x: auto;
    }
    .jap-dot {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    .jap-dot-circle {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        border: 2px solid rgba(255,255,255,0.25);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 700;
        color: rgba(255,255,255,0.4);
        transition: background 0.2s, border-color 0.2s, color 0.2s;
    }
    .jap-dot.is-active .jap-dot-circle {
        background: #4361ee;
        border-color: #4361ee;
        color: #fff;
    }
    .jap-dot.is-done .jap-dot-circle {
        background: #22c55e;
        border-color: #22c55e;
        color: #fff;
    }
    .jap-dot-label {
        font-size: 9px;
        color: rgba(255,255,255,0.35);
        white-space: nowrap;
    }
    .jap-dot.is-active .jap-dot-label { color: #fff; }
    .jap-dot-connector {
        width: 24px;
        height: 2px;
        background: rgba(255,255,255,0.15);
        margin: 0 4px;
        margin-bottom: 16px;
        flex-shrink: 0;
    }
    .jap-wizard-main {
        padding: 32px 16px 60px;
    }
    .jap-field-row-2col {
        grid-template-columns: 1fr;
    }
    .jap-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .jap-service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .jap-service-card {
        padding: 10px 6px;
    }
    .jap-service-card-icon  { font-size: 20px; }
    .jap-service-card-name  { font-size: 11px; }
}
