/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a0f;
    --surface: #12121a;
    --surface-2: #1a1a26;
    --surface-3: #22222e;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --text: #f0f0f5;
    --text-muted: #8a8a9a;
    --text-dim: #5a5a6a;
    --accent: #ff6b6b;
    --accent-2: #ffa07a;
    --gradient: linear-gradient(135deg, #ff6b6b, #ffa07a);
    --glow: rgba(255, 107, 107, 0.15);
    --success: #4ade80;
    --error: #f87171;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.hidden {
    display: none !important;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.2), transparent 70%);
    top: -200px;
    right: -200px;
    animation: orbFloat1 20s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 160, 122, 0.15), transparent 70%);
    bottom: 20%;
    left: -200px;
    animation: orbFloat2 25s ease-in-out infinite;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 130, 255, 0.1), transparent 70%);
    top: 50%;
    right: 10%;
    animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-60px, 80px); }
    66% { transform: translate(40px, -40px); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(80px, -50px); }
    66% { transform: translate(-30px, 60px); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-70px, 50px); }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.15rem;
}

.nav-logo {
    height: 48px;
    width: auto;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
    border-radius: 1px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ===== MOBILE MENU BUTTON ===== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== MAIN LAYOUT ===== */
.signup-main {
    position: relative;
    z-index: 1;
    padding-top: 160px;
    padding-bottom: 100px;
    min-height: calc(100vh - 140px);
}

/* ===== SIGNUP STEP CARD ===== */
.signup-step {
    max-width: 840px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.7), rgba(26, 26, 38, 0.5));
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 60px 56px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: fadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== PROGRESS BAR ===== */
.progress-bar-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 72px;
    transition: opacity 0.4s;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}

.step-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.progress-step.active .step-circle {
    background: var(--gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 30px var(--glow), 0 0 0 6px rgba(255, 107, 107, 0.08);
    animation: stepPulse 2s ease-in-out infinite;
}

.progress-step.completed .step-circle {
    background: var(--surface-2);
    border-color: var(--accent);
    color: var(--accent);
}

@keyframes stepPulse {
    0%, 100% { box-shadow: 0 8px 30px var(--glow), 0 0 0 6px rgba(255, 107, 107, 0.08); }
    50% { box-shadow: 0 8px 30px var(--glow), 0 0 0 10px rgba(255, 107, 107, 0.04); }
}

.step-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: color 0.4s;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: var(--text-muted);
}

.progress-connector {
    width: 120px;
    height: 2px;
    background: var(--border);
    margin: 0 20px;
    margin-bottom: 28px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.connector-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--gradient);
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== STEP HEADER ===== */
.step-header {
    text-align: center;
    margin-bottom: 56px;
    animation: fadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-header h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 18px;
}

.step-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== BUSINESS TYPE GRID ===== */
.business-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.business-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 28px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    animation: cardFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(24px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.business-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 107, 107, 0.06), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.business-card:hover .business-card-glow {
    opacity: 1;
}

.business-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.business-card.selected {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.06), rgba(255, 160, 122, 0.04));
    box-shadow: 0 8px 32px var(--glow), inset 0 1px 0 rgba(255, 107, 107, 0.1);
    transform: translateY(-4px);
}

.business-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 107, 107, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 18px;
    transition: all 0.4s;
}

.business-card.selected .business-icon {
    background: var(--gradient);
    color: white;
    box-shadow: 0 8px 24px var(--glow);
}

.business-card h3 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
    transition: color 0.3s;
    padding-right: 28px;
}

.check-mark {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.business-card.selected .check-mark {
    background: var(--gradient);
    border-color: transparent;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 16px var(--glow);
}

/* ===== LOADING / ERROR STATES ===== */
.loading-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 60px 20px;
    color: var(--text-muted);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner-small {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.btn-retry {
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 10px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-retry:hover {
    border-color: var(--accent);
    background: rgba(255, 107, 107, 0.05);
}

/* ===== STEP ACTIONS ===== */
.step-actions {
    display: flex;
    justify-content: center;
    padding-top: 16px;
}

.step-actions-duo {
    justify-content: space-between;
    gap: 16px;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px var(--glow);
    position: relative;
    overflow: hidden;
}

.btn-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s;
}

.btn-main:hover::before {
    left: 100%;
}

.btn-main:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 20px 50px var(--glow);
}

.btn-main:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-main:disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-main:disabled::before {
    display: none;
}

.btn-main svg {
    transition: transform 0.3s;
}

.btn-main:hover svg {
    transform: translateX(4px);
}

.btn-main.loading {
    pointer-events: none;
}

.btn-main.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    right: 18px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--surface);
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 60px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-back:hover {
    color: var(--text);
    border-color: var(--border-hover);
    background: var(--surface-2);
    transform: translateX(-4px);
}

.btn-back svg {
    transition: transform 0.3s;
}

.btn-back:hover svg {
    transform: translateX(-4px);
}

/* ===== FORM ===== */
.signup-form {
    max-width: 780px;
    margin: 0 auto;
    animation: fadeUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.form-group label svg {
    color: var(--accent);
    opacity: 0.7;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.form-group input::placeholder {
    color: var(--text-dim);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent);
    background: var(--surface-2);
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.08), 0 8px 24px rgba(0, 0, 0, 0.15);
}

.form-group input:hover,
.form-group select:hover {
    border-color: var(--border-hover);
}

/* ===== SELECT WRAPPER ===== */
.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 44px;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    pointer-events: none;
    transition: color 0.3s;
}

.select-wrapper:hover .select-arrow {
    color: var(--text-muted);
}

.select-loading {
    position: absolute;
    right: 42px;
    top: 50%;
    transform: translateY(-50%);
}

/* ===== TOGGLE SWITCH ===== */
.toggle-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s;
}

.toggle-group:hover {
    border-color: var(--border-hover);
}

.toggle-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--text) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.toggle-hint {
    font-size: 0.82rem;
    color: var(--text-dim);
    padding-left: 24px;
}

.toggle-switch {
    width: 52px;
    height: 28px;
    border-radius: 100px;
    background: var(--surface-3);
    border: 1px solid var(--border);
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--text-dim);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-switch.active {
    background: var(--gradient);
    border-color: transparent;
    box-shadow: 0 4px 16px var(--glow);
}

.toggle-switch.active .toggle-thumb {
    left: 27px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ===== TAX FIELD ANIMATION ===== */
.tax-field.slide-in {
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 120px;
    }
}

/* ===== SUCCESS STATE ===== */
.success-container {
    text-align: center;
    padding: 40px 20px;
    animation: successIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes successIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    color: var(--success);
    animation: successPulse 2s ease-in-out infinite;
    border: 2px solid rgba(74, 222, 128, 0.15);
}

@keyframes successPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.15); }
    50% { box-shadow: 0 0 0 20px rgba(74, 222, 128, 0); }
}

.success-container h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 18px;
}

.success-container .step-desc {
    margin-bottom: 40px;
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 16px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    z-index: 200;
    animation: toastIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.toast.hidden {
    display: none !important;
}

.toast.error {
    border-color: rgba(248, 113, 113, 0.2);
}

.toast.error .toast-icon {
    color: var(--error);
}

.toast.success {
    border-color: rgba(74, 222, 128, 0.2);
}

.toast.success .toast-icon {
    color: var(--success);
}

.toast p {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-brand .nav-logo {
    height: 60px;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .signup-main {
        padding-top: 130px;
        padding-bottom: 60px;
    }

    .signup-step {
        padding: 32px 20px;
        border-radius: 20px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }

    .step-header {
        margin-bottom: 36px;
    }

    .step-header h1 {
        font-size: 1.8rem;
        line-height: 1.25;
        letter-spacing: -0.8px;
        margin-bottom: 12px;
    }

    .step-desc {
        font-size: 0.88rem;
        line-height: 1.6;
    }

    .business-type-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 32px;
    }

    .business-card {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 16px 20px;
        text-align: left;
        border-radius: 16px;
    }

    .business-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .business-icon svg {
        width: 20px;
        height: 20px;
    }

    .business-card h3 {
        font-size: 0.95rem;
        padding-right: 36px;
        line-height: 1.4;
        margin: 0;
    }

    .check-mark {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
    }

    .business-card.selected .check-mark {
        transform: translateY(-50%) scale(1.1);
    }

    .check-mark svg {
        width: 12px;
        height: 12px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 32px;
    }

    .progress-connector {
        width: 60px;
        margin: 0 12px;
    }

    .step-label {
        font-size: 0.65rem;
        letter-spacing: 0.8px;
    }

    .step-circle {
        width: 44px;
        height: 44px;
    }

    .step-actions-duo {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .btn-back,
    .btn-main {
        justify-content: center;
    }

    .nav-brand, .mobile-menu-btn {
        position: relative;
        z-index: 102;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(10, 10, 15, 0.92);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        padding: 120px 40px 40px;
        gap: 28px;
        z-index: 99;
        box-shadow: none;
        overflow-y: auto;
    }

    .nav-links.active a {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        padding: 12px 0;
        color: var(--text-muted);
    }

    .nav-links.active a:hover {
        color: var(--text);
    }

    .nav-links.active a.active {
        color: var(--text);
    }

    .nav-links.active a::after {
        display: none;
    }

    .success-container h1 {
        font-size: 2.2rem;
    }

    .toggle-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 0 16px;
    }

    .step-header h1 {
        font-size: 1.8rem;
    }

    .business-card {
        padding: 24px 20px;
    }

    .progress-connector {
        width: 40px;
        margin: 0 8px;
    }
}

/* ===== SELECT OPTION STYLING ===== */
.form-group select option {
    background: var(--surface);
    color: var(--text);
    padding: 12px;
}

.form-group select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== ERROR BANNER ===== */
.error-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
    background: rgba(248, 113, 113, 0.06);
    border: 1px solid rgba(248, 113, 113, 0.2);
    border-radius: 16px;
    margin-bottom: 28px;
    position: relative;
    animation: bannerIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes bannerIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-banner.shake {
    animation: bannerIn 0.4s cubic-bezier(0.4, 0, 0.2, 1), shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) 0.1s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

.error-banner-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(248, 113, 113, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--error);
    margin-top: 2px;
}

.error-banner-content {
    flex: 1;
    min-width: 0;
}

.error-banner-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--error);
    margin-bottom: 8px;
}

.error-banner-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.error-banner-list li {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    padding-left: 16px;
    position: relative;
}

.error-banner-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--error);
    opacity: 0.5;
}

.error-banner-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-banner-close:hover {
    color: var(--error);
    background: rgba(248, 113, 113, 0.1);
}

/* ===== FIELD ERROR STATES ===== */
.form-group input.input-error,
.form-group select.input-error {
    border-color: var(--error) !important;
    background: rgba(248, 113, 113, 0.04) !important;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.08);
}

.field-error-msg {
    font-size: 0.8rem;
    color: var(--error);
    font-weight: 500;
    margin-top: -4px;
    padding-left: 2px;
    animation: fieldErrIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fieldErrIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
