/* ============================================================
   deploy.build Onboarding Wizard — White Corporate Premium
   Clean white wizard with elevated cards, blue accents,
   spring animations, skeuomorphic depth elements.
   ============================================================ */

:root {
    --bg-deep:        #FFFFFF;
    --bg-section:     #F9FAFE;
    --bg-card:        #FFFFFF;
    --bg-card-solid:  #FFFFFF;
    --bg-card-hover:  #F1F5F9;
    --border:         #E2E8F0;
    --border-light:   #CBD5E1;
    --text-primary:   #000C2A;
    --text-secondary: #475569;
    --text-tertiary:  #94A3B8;
    --accent:         #0069FF;
    --accent-hover:   #1433D6;
    --accent-glow:    rgba(0, 105, 255, 0.12);
    --accent-light:   #E0F0FF;
    --green:          #16A34A;
    --red:            #DC2626;
    --purple:         #7C3AED;
    --radius:         8px;
    --radius-lg:      12px;
    --radius-xl:      16px;
    --font-sans:      "Inter", system-ui, -apple-system, sans-serif;
    --font-mono:      "JetBrains Mono", "Fira Code", monospace;
    --shadow-sm:      0 1px 2px rgba(0,0,0,0.05);
    --shadow-md:      0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg:      0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-xl:      0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
    --shadow-blue:    0 4px 14px rgba(0, 105, 255, 0.15);

    /* Spring-like easing curves */
    --spring-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
    --spring-smooth:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --spring-snap:    cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-sans);
    background: var(--bg-deep);
    color: var(--text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* TLD dropdown — ensure native selects are readable on white backgrounds */
select, select option {
    color-scheme: light;
    background: #FFFFFF;
    color: var(--text-primary);
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

/* ── Elevated Cards (white corporate) ── */
.glass {
    background: #FFFFFF;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    border: 1px solid #E2E8F0;
}
.glass-heavy {
    background: #FFFFFF;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    border: 1px solid #E2E8F0;
}

/* ── Light Inset & Button Surfaces ── */
.metal-inset {
    background: #F0F2F5;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06), inset 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid #E2E8F0;
}
.metal-button {
    background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFE 100%);
    border: 1px solid #E2E8F0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}
.metal-button:hover {
    background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.metal-button:active {
    background: #F1F5F9;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* ── Accent Button (gradient blue with subtle shadow) ── */
.btn-accent {
    background: linear-gradient(180deg, #0069FF 0%, #0069FF 100%);
    border: 1px solid #0069FF;
    box-shadow: 0 2px 4px rgba(0, 105, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.06);
    color: white;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: var(--font-sans);
}
.btn-accent:hover {
    background: linear-gradient(180deg, #0069FF 0%, #1433D6 100%);
    box-shadow: 0 4px 12px rgba(0, 105, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}
.btn-accent:active {
    transform: translateY(0);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}
.btn-accent:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* ── Gradient Text ── */
.gradient-text {
    background: linear-gradient(135deg, #000C2A 0%, #0069FF 50%, #0069FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Section Label (small uppercase badge) ── */
.section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
}

/* ── Dot Grid Overlay ── */
.dot-grid {
    background-image: radial-gradient(#CBD5E1 1px, transparent 1px);
    background-size: 24px 24px;
}

/* ── Glow Pulse Animation ── */
.glow-pulse { animation: glow-pulse 3s ease-in-out infinite; }

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 105, 255, 0.15), 0 0 40px rgba(0, 105, 255, 0.05); }
    50% { box-shadow: 0 0 20px rgba(0, 105, 255, 0.25), 0 0 60px rgba(0, 105, 255, 0.1); }
}

/* ── Shimmer (progress bar) ── */
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Sticky Header ── */
.ob-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #E2E8F0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.ob-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ob-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #000C2A;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.025em;
}
svg.ob-logo-icon {
    width: 24px;
    height: 24px;
    color: #0069FF;
    flex-shrink: 0;
}
.ob-logo-text {
    display: inline;
}

/* ── Animated Stepper Progress ── */
.ob-stepper {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Each step: ring + label */
.ob-stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}
.ob-stepper-ring {
    width: 30px;
    height: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* SVG circular track + fill */
.ob-stepper-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.ob-stepper-track {
    fill: none;
    stroke: #E2E8F0;
    stroke-width: 2.5;
}
.ob-stepper-fill {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2.5;
    stroke-linecap: round;
    /* Circumference = 2 * PI * 15.5 ≈ 97.39 */
    stroke-dasharray: 97.39;
    stroke-dashoffset: 97.39;
    transition: stroke-dashoffset 0.8s var(--spring-smooth);
    filter: drop-shadow(0 0 4px rgba(0, 105, 255, 0.4));
}
/* Active step: ring fills up */
.ob-stepper-step.active .ob-stepper-fill {
    stroke-dashoffset: 0;
}
/* Completed step: ring stays filled */
.ob-stepper-step.completed .ob-stepper-fill {
    stroke-dashoffset: 0;
    stroke: var(--green);
    filter: drop-shadow(0 0 4px rgba(34, 197, 94, 0.4));
}

/* Number inside the ring */
.ob-stepper-num {
    position: relative;
    z-index: 2;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    transition: all 0.5s var(--spring-bounce);
}
.ob-stepper-step.active .ob-stepper-num {
    background: #E0F0FF;
    border-color: #93C5FD;
    box-shadow: 0 0 10px rgba(0, 105, 255, 0.12);
    transform: scale(1.1);
}
.ob-stepper-step.completed .ob-stepper-num {
    background: #DCFCE7;
    border-color: #86EFAC;
    box-shadow: 0 0 8px rgba(22, 163, 74, 0.1);
}
.ob-stepper-digit {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-tertiary);
    transition: all 0.4s;
    font-family: var(--font-mono);
}
.ob-stepper-step.active .ob-stepper-digit {
    color: var(--accent);
}
.ob-stepper-step.completed .ob-stepper-digit {
    display: none;
}
/* Checkmark replaces digit on completed */
.ob-stepper-check {
    display: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--green);
}
.ob-stepper-step.completed .ob-stepper-check {
    display: block;
    animation: pop-check 0.4s var(--spring-snap) forwards;
}

/* Step label beneath ring */
.ob-stepper-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
    color: var(--text-tertiary);
    transition: color 0.4s, transform 0.4s var(--spring-bounce);
}
.ob-stepper-step.active .ob-stepper-label {
    color: var(--accent);
    transform: translateY(-1px);
    font-weight: 600;
}
.ob-stepper-step.completed .ob-stepper-label {
    color: var(--text-secondary);
}

/* Connector line between steps */
.ob-stepper-connector {
    width: 60px;
    height: 2px;
    border-radius: 1px;
    background: #E2E8F0;
    margin: 0 6px;
    align-self: flex-start;
    margin-top: 17px;
    overflow: hidden;
    position: relative;
}
.ob-stepper-connector-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--accent), var(--green));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--spring-smooth);
    border-radius: 1px;
}
/* Fill connector when the NEXT step is active or completed */
.ob-stepper-connector.filled .ob-stepper-connector-fill {
    transform: scaleX(1);
}

/* Pulse animation on active ring */
.ob-stepper-step.active .ob-stepper-ring::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(0, 105, 255, 0.2);
    animation: stepper-pulse 2s ease-in-out infinite;
}
@keyframes stepper-pulse {
    0%, 100% { opacity: 0; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}

.ob-help {
    font-size: 14px;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.2s;
}
.ob-help:hover { color: var(--text-secondary); }

/* ── Main Content ── */
.ob-main {
    position: relative;
    z-index: 10;
    padding: 48px 24px;
    min-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
}
.ob-content {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    padding-top: 16px;
    width: 100%;
}

/* ── Step Container (shared) ── */
.ob-step {
    display: none;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
}
.ob-step.active {
    display: block;
}

/* ── Slide Animations ── */
.ob-step.slide-in-right {
    display: block;
    animation: slide-in-right 0.5s var(--spring-bounce) forwards;
}
.ob-step.slide-in-left {
    display: block;
    animation: slide-in-left 0.5s var(--spring-bounce) forwards;
}
.ob-step.slide-out-right {
    animation: slide-out-right 0.25s ease-out forwards;
}
.ob-step.slide-out-left {
    animation: slide-out-left 0.25s ease-out forwards;
}

@keyframes slide-in-right {
    from { opacity: 0; transform: translateX(300px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slide-in-left {
    from { opacity: 0; transform: translateX(-300px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slide-out-right {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(300px); }
}
@keyframes slide-out-left {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-300px); }
}

/* ── Step Heading ── */
.ob-step-heading {
    text-align: center;
    margin-bottom: 40px;
}
.ob-step-heading .section-label {
    margin-bottom: 12px;
    opacity: 0;
    animation: fade-up 0.4s ease forwards 0.1s;
}
.ob-step-heading h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    opacity: 0;
    animation: fade-up 0.4s ease forwards 0.15s;
}
.ob-step-heading p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    opacity: 0;
    animation: fade-up 0.4s ease forwards 0.2s;
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Step 1: Project Type Card Grid (2x3) ── */
.ob-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.ob-type-card {
    position: relative;
    cursor: pointer;
    border-radius: var(--radius-xl);
    padding: 24px;
    transition: all 0.25s var(--spring-smooth);

    /* White elevated card */
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);

    /* Stagger entrance animation */
    opacity: 0;
    transform: translateY(20px);
    animation: stagger-up 0.5s var(--spring-bounce) forwards;
}
.ob-type-card:nth-child(1) { animation-delay: 0ms; }
.ob-type-card:nth-child(2) { animation-delay: 60ms; }
.ob-type-card:nth-child(3) { animation-delay: 120ms; }
.ob-type-card:nth-child(4) { animation-delay: 180ms; }
.ob-type-card:nth-child(5) { animation-delay: 240ms; }
.ob-type-card:nth-child(6) { animation-delay: 300ms; }
.ob-type-card:nth-child(7) { animation-delay: 360ms; }

@keyframes stagger-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.ob-type-card:hover {
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.ob-type-card.selected {
    background: #FFFFFF;
    border-color: #93C5FD;
    box-shadow: 0 0 0 3px rgba(0, 105, 255, 0.1), var(--shadow-md);
    transform: scale(1.03);
}
.ob-type-card:active {
    transform: scale(0.97);
}
.ob-type-card.selected:active {
    transform: scale(1.0);
}

/* Checkmark badge — springs in on select */
.ob-type-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s var(--spring-snap);
}
.ob-type-card.selected .ob-type-check {
    opacity: 1;
    transform: scale(1);
}
.ob-type-check .material-symbols-outlined {
    font-size: 14px;
    color: white;
    font-weight: 700;
}

/* Icon container */
.ob-type-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s var(--spring-smooth);
    background: #F1F5F9;
}
.ob-type-card:hover .ob-type-icon {
    transform: scale(1.1);
}
.ob-type-card.selected .ob-type-icon {
    background: #E0F0FF;
}
.ob-type-icon .material-symbols-outlined {
    font-size: 24px;
    color: var(--text-secondary);
    transition: color 0.2s;
}
.ob-type-card.selected .ob-type-icon .material-symbols-outlined {
    color: var(--accent);
}

/* Per-card icon colors */
.ob-type-icon.icon-indigo { background: #EEF2FF; }
.ob-type-icon.icon-indigo .material-symbols-outlined { color: #6366F1; }
.ob-type-icon.icon-pink { background: #FCE7F3; }
.ob-type-icon.icon-pink .material-symbols-outlined { color: #EC4899; }
.ob-type-icon.icon-blue { background: #E0F0FF; }
.ob-type-icon.icon-blue .material-symbols-outlined { color: var(--accent); }
.ob-type-icon.icon-orange { background: #FFF7ED; }
.ob-type-icon.icon-orange .material-symbols-outlined { color: #EA580C; }
.ob-type-icon.icon-emerald { background: #ECFDF5; }
.ob-type-icon.icon-emerald .material-symbols-outlined { color: #059669; }
.ob-type-icon.icon-slate { background: #F1F5F9; }
.ob-type-icon.icon-slate .material-symbols-outlined { color: #64748B; }
.ob-type-icon.icon-purple { background: #F3E8FF; }
.ob-type-icon.icon-purple .material-symbols-outlined { color: #9333EA; }

/* "Not Sure?" help card — full-width strip with dashed purple border */
.ob-type-card.ob-type-help {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border-style: dashed;
    border-color: #C4B5FD;
    background: #FAF5FF;
}
.ob-type-card.ob-type-help:hover {
    border-color: #A78BFA;
    background: #F5F3FF;
}
.ob-type-card.ob-type-help .ob-type-icon { margin-bottom: 0; }
.ob-type-card.ob-type-help h3 { margin-bottom: 0; }
.ob-type-card.ob-type-help p { margin: 0; }

.ob-type-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}
.ob-type-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ── Step 3: Configure Your Build ── */
.ob-config-section {
    opacity: 0;
    transform: translateY(16px);
    animation: stagger-up 0.5s var(--spring-bounce) forwards;
}
.ob-config-section:nth-child(1) { animation-delay: 0ms; }
.ob-config-section:nth-child(2) { animation-delay: 80ms; }
.ob-config-section:nth-child(3) { animation-delay: 160ms; }
.ob-config-section:nth-child(4) { animation-delay: 240ms; }
.ob-config-section:nth-child(5) { animation-delay: 320ms; }

.ob-config-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Label */
.ob-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.ob-label .material-symbols-outlined {
    font-size: 16px;
}

/* Input fields */
.ob-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-sans);
    outline: none;
    transition: box-shadow 0.2s, border-color 0.2s;
    /* White input style */
    background: #FFFFFF;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
}
.ob-input::placeholder {
    color: var(--text-tertiary);
}
.ob-input:focus {
    box-shadow: 0 0 0 3px rgba(0, 105, 255, 0.1);
    border-color: #93C5FD;
}

/* (domain-group removed — replaced by ob-domain-search) */

/* ── Domain Search ── */
.ob-domain-search {
    display: flex;
    gap: 8px;
    position: relative;
    align-items: stretch;
}
.ob-domain-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--text-tertiary);
    pointer-events: none;
    z-index: 2;
}
.ob-domain-search-input {
    padding-left: 42px !important;
    flex: 1;
}
.ob-domain-check-btn {
    padding: 10px 18px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* TLD quick-select chips */
.ob-tld-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.ob-tld-chip {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #E2E8F0;
    background: #F9FAFE;
    color: var(--text-tertiary);
}
.ob-tld-chip:hover {
    background: #F1F5F9;
    color: var(--text-secondary);
}
.ob-tld-chip.checked {
    background: #E0F0FF;
    border-color: #93C5FD;
    color: var(--accent);
}
.ob-tld-chip:active {
    transform: scale(0.95);
}
.ob-tld-browse {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-sans);
    font-weight: 500;
    color: var(--text-tertiary);
}
.ob-tld-browse:hover {
    color: var(--accent);
}

/* TLD browser panel */
.ob-tld-browser {
    margin-top: 10px;
    padding: 16px;
    border-radius: var(--radius-xl);
    background: #F9FAFE;
    border: 1px solid #E2E8F0;
    animation: fade-up 0.3s ease forwards;
}
.ob-tld-filter {
    margin-bottom: 12px;
    font-size: 13px;
}
.ob-tld-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 260px;
    overflow-y: auto;
}
.ob-tld-cat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    cursor: pointer;
    border-radius: var(--radius);
    transition: background 0.15s;
    user-select: none;
}
.ob-tld-cat-header:hover {
    background: #F1F5F9;
}
.ob-tld-cat-header .material-symbols-outlined {
    font-size: 16px;
    color: var(--text-tertiary);
    transition: transform 0.2s;
}
.ob-tld-cat-header.open .material-symbols-outlined {
    transform: rotate(180deg);
}
.ob-tld-cat-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}
.ob-tld-cat-count {
    font-size: 11px;
    color: var(--text-tertiary);
}
.ob-tld-cat-body {
    display: none;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 10px 12px;
}
.ob-tld-cat-body.open {
    display: flex;
}

/* Domain results */
.ob-domain-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}
.ob-domain-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-lg);
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(10px);
    animation: stagger-up 0.4s var(--spring-bounce) forwards;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.ob-domain-result.selected {
    border-color: #93C5FD;
    background: #E0F0FF;
}
.ob-domain-result-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.ob-domain-status {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ob-domain-status.available {
    background: rgba(34, 197, 94, 0.12);
}
.ob-domain-status.available .material-symbols-outlined {
    font-size: 16px;
    color: var(--green);
}
.ob-domain-status.taken {
    background: rgba(239, 68, 68, 0.12);
}
.ob-domain-status.taken .material-symbols-outlined {
    font-size: 16px;
    color: var(--red);
}
.ob-domain-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-mono);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ob-domain-avail {
    font-size: 11px;
    font-weight: 600;
    margin-top: 2px;
}
.ob-domain-avail.yes { color: var(--green); }
.ob-domain-avail.no { color: var(--red); }
.ob-domain-result-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.ob-domain-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
}
.ob-domain-price span {
    font-size: 11px;
    color: var(--text-tertiary);
    font-weight: 400;
}
.ob-domain-select-btn {
    padding: 7px 16px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    transition: all 0.2s;
}
.ob-domain-select-btn:hover {
    background: #F1F5F9;
    color: var(--text-primary);
}
.ob-domain-select-btn.selected {
    background: linear-gradient(180deg, #0069FF 0%, #0069FF 100%);
    border-color: #0069FF;
    box-shadow: 0 2px 4px rgba(0, 105, 255, 0.2);
    color: white;
}
.ob-domain-select-btn:active {
    transform: scale(0.95);
}
.ob-domain-checking {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    color: var(--text-secondary);
    font-size: 14px;
}
.ob-label-optional {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-tertiary);
    margin-left: 4px;
}

/* Datacenter location buttons */
.ob-dc-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ob-dc-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--radius-lg);
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.2s ease;
    /* White button */
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
    color: var(--text-secondary);
}
.ob-dc-btn:hover {
    color: var(--text-primary);
    background: #F1F5F9;
}
.ob-dc-btn:active {
    transform: scale(0.95);
}
.ob-dc-btn.selected {
    background: linear-gradient(180deg, #0069FF 0%, #0069FF 100%);
    border: 1px solid #0069FF;
    box-shadow: 0 2px 4px rgba(0, 105, 255, 0.2);
    color: white;
    font-weight: 600;
}

/* Server recommendation card */
.ob-server-rec {
    border-radius: var(--radius-xl);
    padding: 20px;
    /* White card */
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
}
.ob-server-rec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.ob-server-rec-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.ob-server-rec-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    background: rgba(0, 105, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ob-server-rec-icon .material-symbols-outlined {
    font-size: 20px;
    color: var(--accent);
}
.ob-server-rec-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}
.ob-server-rec-specs {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}
.ob-server-rec-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    text-align: right;
}
.ob-server-rec-period {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 400;
}

/* ── Server Card Grid (selectable tiers: cloud + dedicated) ── */
.ob-server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.ob-server-card {
    position: relative;
    cursor: pointer;
    border-radius: var(--radius-xl);
    padding: 24px 20px 20px;
    transition: all 0.25s var(--spring-smooth);
    /* White elevated card */
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Stagger entrance */
    opacity: 0;
    transform: translateY(20px);
    animation: stagger-up 0.5s var(--spring-bounce) forwards;
}
.ob-server-card:nth-child(1) { animation-delay: 0ms; }
.ob-server-card:nth-child(2) { animation-delay: 80ms; }
.ob-server-card:nth-child(3) { animation-delay: 160ms; }
.ob-server-card:nth-child(4) { animation-delay: 240ms; }

.ob-server-card:hover {
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.ob-server-card.selected {
    background: #FFFFFF;
    border-color: #93C5FD;
    box-shadow: 0 0 0 3px rgba(0, 105, 255, 0.1), var(--shadow-md);
    transform: scale(1.03);
}
.ob-server-card:active {
    transform: scale(0.97);
}
.ob-server-card.selected:active {
    transform: scale(1.0);
}

/* "Recommended" badge — floats at top-right */
.ob-server-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, #0069FF, #60A5FA);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 105, 255, 0.3);
}

/* Checkmark badge — springs in on selection (like project type cards) */
.ob-server-card-check {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s var(--spring-snap);
}
.ob-server-card.selected .ob-server-card-check {
    opacity: 1;
    transform: scale(1);
}
.ob-server-card-check .material-symbols-outlined {
    font-size: 14px;
    color: white;
    font-weight: 700;
}

/* Card header: icon + type label (Cloud VPS / Dedicated) */
.ob-server-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ob-server-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s var(--spring-smooth);
}
.ob-server-card:hover .ob-server-card-icon {
    transform: scale(1.1);
}
.ob-server-card-icon.cloud {
    background: rgba(0, 105, 255, 0.15);
}
.ob-server-card-icon.cloud .material-symbols-outlined {
    color: #60A5FA;
    font-size: 20px;
}
.ob-server-card-icon.dedi {
    background: rgba(168, 85, 247, 0.15);
}
.ob-server-card-icon.dedi .material-symbols-outlined {
    color: #C084FC;
    font-size: 20px;
}
.ob-server-card-type {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-tertiary);
}

/* Server name and description */
.ob-server-card-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}
.ob-server-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Specs row: vCPU / RAM / SSD */
.ob-server-card-specs {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-tertiary);
    padding: 8px 0;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}
.ob-server-card-specs span {
    display: flex;
    align-items: center;
    gap: 3px;
}
.ob-server-card-specs strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Footer: price + deploy time */
.ob-server-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
}
.ob-server-card-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}
.ob-server-card-price span {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-tertiary);
}
.ob-server-card-deploy {
    font-size: 11px;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* "See all servers" expand section */
.ob-more-servers {
    margin-top: 12px;
}
.ob-more-servers-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px dashed #CBD5E1;
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    padding: 10px 16px;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
    font-family: var(--font-sans);
}
.ob-more-servers-btn:hover {
    color: var(--accent);
    border-color: #93C5FD;
    background: #E0F0FF;
}
.ob-more-servers-btn .material-symbols-outlined {
    font-size: 18px;
    transition: transform 0.3s var(--spring-bounce);
}
.ob-more-servers-btn.expanded .material-symbols-outlined {
    transform: rotate(180deg);
}
.ob-more-servers-grid {
    margin-top: 12px;
}

/* Loading spinner */
.ob-spinner {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(0, 105, 255, 0.3);
    border-top-color: var(--accent);
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* AI Tools Grid (5 columns) */
.ob-tools-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
.ob-tool-chip {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--radius-lg);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-sans);
    /* White chip */
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: var(--text-secondary);
}
.ob-tool-chip:hover {
    background: #F1F5F9;
    color: var(--text-primary);
}
.ob-tool-chip:active {
    transform: scale(0.95);
}
.ob-tool-chip.checked {
    background: #E0F0FF;
    border-color: #93C5FD;
    color: var(--accent);
}
.ob-tool-check {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    border: 1px solid #CBD5E1;
    background: transparent;
}
.ob-tool-chip.checked .ob-tool-check {
    background: var(--accent);
    border-color: var(--accent);
}
.ob-tool-check .material-symbols-outlined {
    font-size: 12px;
    color: white;
    font-weight: 700;
    display: none;
}
.ob-tool-chip.checked .ob-tool-check .material-symbols-outlined {
    display: block;
}
.ob-tool-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Step 3: Go Live ── */
.ob-step-narrow {
    max-width: 640px;
}
.ob-golive-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.ob-golive-section {
    opacity: 0;
    transform: translateY(16px);
    animation: stagger-up 0.5s var(--spring-bounce) forwards;
}
.ob-golive-section:nth-child(1) { animation-delay: 0ms; }
.ob-golive-section:nth-child(2) { animation-delay: 80ms; }
.ob-golive-section:nth-child(3) { animation-delay: 160ms; }
.ob-golive-section:nth-child(4) { animation-delay: 240ms; }

/* Order summary card */
.ob-summary-card {
    border-radius: var(--radius-xl);
    padding: 24px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
}
.ob-summary-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.ob-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}
.ob-summary-label {
    font-size: 14px;
    color: var(--text-secondary);
}
.ob-summary-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}
.ob-summary-value.mono {
    font-family: var(--font-mono);
}
.ob-summary-divider {
    border-top: 1px solid #E2E8F0;
    margin: 12px 0;
    padding-top: 12px;
}
.ob-summary-total-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
}
.ob-summary-annual-note {
    font-size: 12px;
    color: var(--green);
    text-align: right;
    margin-top: 4px;
}

/* Billing toggle */
.ob-billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.ob-billing-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-tertiary);
    transition: color 0.3s;
}
.ob-billing-label.active {
    color: var(--text-primary);
}
.ob-billing-save {
    font-size: 12px;
    font-weight: 600;
    color: var(--green);
    margin-left: 4px;
}

/* Toggle switch (light corporate) */
.ob-toggle-track {
    width: 48px;
    height: 26px;
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
    /* Light track */
    background: #E2E8F0;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
    border: 1px solid #CBD5E1;
}
.ob-toggle-track.active {
    background: linear-gradient(180deg, #0069FF, #0069FF);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    border-color: #0069FF;
}
.ob-toggle-knob {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s var(--spring-snap);
}
.ob-toggle-track.active .ob-toggle-knob {
    transform: translateX(22px);
}

/* Payment tabs */
.ob-payment-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
}
.ob-payment-tabs {
    display: flex;
    border-bottom: 1px solid #E2E8F0;
}
.ob-payment-tab {
    flex: 1;
    padding: 12px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-sans);
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ob-payment-tab:hover {
    color: var(--text-primary);
}
.ob-payment-tab.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    background: #E0F0FF;
}
.ob-payment-tab .material-symbols-outlined {
    font-size: 18px;
}

.ob-payment-body {
    padding: 24px;
}
.ob-payment-panel {
    display: none;
}
.ob-payment-panel.active {
    display: block;
    animation: fade-up 0.3s ease forwards;
}

/* Card form inputs */
.ob-card-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ob-card-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.ob-card-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: block;
}
.ob-card-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-mono);
    outline: none;
    transition: box-shadow 0.2s;
    background: #FFFFFF;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
}
.ob-card-input::placeholder { color: var(--text-tertiary); }
.ob-card-input:focus {
    box-shadow: 0 0 0 3px rgba(0, 105, 255, 0.1);
    border-color: #93C5FD;
}

/* Crypto options grid */
/* ── Step 1: Account Form ── */
.ob-account-card,
.ob-auth-card {
    max-width: 480px;
    margin: 0 auto;
    padding: 36px 32px;
    border-radius: var(--radius-xl);
}
.ob-account-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
/* Spacing between form field groups */
.ob-form-group {
    margin-bottom: 18px;
}
.ob-form-group:last-of-type {
    margin-bottom: 8px;
}
/* The signup form inside auth card — flex column with comfortable gaps */
.ob-auth-card form {
    display: flex;
    flex-direction: column;
}
.ob-auth-btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-sans);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}
.ob-auth-btn:hover { transform: translateY(-1px); }
.ob-auth-btn:active { transform: translateY(0); }
.ob-github-btn {
    background: linear-gradient(180deg, #333 0%, #24292e 100%);
    border: 1px solid #24292e;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    color: white;
}
.ob-github-btn:hover {
    background: linear-gradient(180deg, #444 0%, #333 100%);
}
.ob-auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 4px 0;
}
.ob-auth-divider::before,
.ob-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #E2E8F0;
}
.ob-auth-divider span {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.ob-auth-error {
    padding: 10px 14px;
    border-radius: var(--radius);
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: var(--red);
    font-size: 13px;
}
/* Info variant — blue instead of red, used for "coming soon" notices */
.ob-auth-error.ob-auth-info {
    background: #E0F0FF;
    border-color: #BFDBFE;
    color: var(--accent);
}
.ob-auth-login {
    text-align: center;
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 4px;
}
.ob-auth-login a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}
.ob-auth-login a:hover { text-decoration: underline; }
.ob-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    margin-bottom: 16px;
}
.ob-terms input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}
.ob-terms a {
    color: var(--accent);
    text-decoration: none;
}
.ob-terms a:hover { text-decoration: underline; }

/* Password strength meter */
.ob-password-strength {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.ob-pw-bar {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: #E2E8F0;
    overflow: hidden;
    position: relative;
}
.ob-pw-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    transform-origin: left;
    transform: scaleX(var(--pw-strength, 0));
    background: var(--pw-color, var(--text-tertiary));
    border-radius: 2px;
    transition: transform 0.4s var(--spring-smooth), background 0.3s;
}
.ob-pw-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-tertiary);
    white-space: nowrap;
    transition: color 0.3s;
}

/* ── Crypto Coin Selector (6 coins in 3x2 grid) ── */
.ob-crypto-coins {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.ob-crypto-coin {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px 14px;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.25s var(--spring-smooth);
    font-family: var(--font-sans);
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
}
.ob-crypto-coin:hover {
    background: #F9FAFE;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.ob-crypto-coin:active { transform: scale(0.95); }
.ob-crypto-coin.selected {
    background: #E0F0FF;
    border-color: #93C5FD;
    box-shadow: 0 0 0 3px rgba(0, 105, 255, 0.08), var(--shadow-sm);
}
.ob-crypto-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s var(--spring-bounce);
}
.ob-crypto-coin:hover .ob-crypto-logo { transform: scale(1.1); }
.ob-crypto-coin-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}
.ob-crypto-coin-symbol {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
}
/* Live price + equivalent amount shown beneath each coin button */
.ob-crypto-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    margin-top: 4px;
    line-height: 1.2;
}
.ob-crypto-rate {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}
.ob-crypto-equiv {
    font-size: 9px;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    opacity: 0.8;
}

/* Chain/network selector (for multi-chain stablecoins) */
.ob-crypto-chain-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ob-crypto-chain {
    padding: 8px 16px;
    border-radius: var(--radius-lg);
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    color: var(--text-secondary);
}
.ob-crypto-chain:hover { background: #F1F5F9; color: var(--text-primary); }
.ob-crypto-chain:active { transform: scale(0.95); }
.ob-crypto-chain.selected {
    background: #E0F0FF;
    border-color: #93C5FD;
    color: var(--accent);
    font-weight: 600;
}

/* Deposit info panel */
.ob-crypto-deposit {
    margin-top: 20px;
    animation: fade-up 0.4s var(--spring-bounce) forwards;
}
.ob-deposit-amount {
    font-size: 15px;
    color: var(--text-primary);
    padding: 14px 16px;
    border-radius: var(--radius-lg);
    background: #E0F0FF;
    border: 1px solid #BFDBFE;
    margin-bottom: 16px;
    text-align: center;
}
.ob-deposit-amount strong {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 18px;
}
.ob-deposit-usd {
    font-size: 13px;
    color: var(--text-secondary);
    margin-left: 4px;
}
.ob-deposit-address-box {
    border-radius: var(--radius-lg);
    padding: 16px;
    background: #F9FAFE;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
    margin-bottom: 12px;
}
.ob-deposit-address-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}
.ob-deposit-address-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ob-deposit-address {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    word-break: break-all;
    line-height: 1.5;
}
.ob-deposit-copy {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid #E2E8F0;
    background: #F1F5F9;
    color: var(--text-secondary);
    transition: all 0.15s;
    flex-shrink: 0;
}
.ob-deposit-copy:hover { background: #E2E8F0; color: var(--text-primary); }
.ob-deposit-copy:active { transform: scale(0.9); }
.ob-deposit-copy .material-symbols-outlined { font-size: 18px; }
.ob-deposit-explorer {
    margin-top: 8px;
}
.ob-deposit-explorer a {
    font-size: 12px;
    color: var(--text-tertiary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s;
}
.ob-deposit-explorer a:hover { color: var(--accent); }
/* ── Wallet Connect (Web3) ── */
.ob-wallet-connect {
    margin-top: 16px;
}
.ob-wallet-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--text-tertiary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ob-wallet-divider::before,
.ob-wallet-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #E2E8F0;
}
.ob-wallet-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-lg);
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    margin-bottom: 10px;
    font-size: 13px;
}
.ob-wallet-address {
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 12px;
}
.ob-wallet-network {
    margin-left: auto;
    font-size: 11px;
    color: var(--text-tertiary);
    padding: 2px 8px;
    border-radius: 4px;
    background: #F9FAFE;
}
.ob-wallet-btn {
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #E2E8F0;
    background: #F9FAFE;
    color: var(--text-primary);
    transition: all 0.2s;
}
.ob-wallet-btn:hover {
    background: #E0F0FF;
    border-color: var(--accent);
    color: var(--accent);
}
.ob-wallet-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ob-deposit-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 10px;
    margin-bottom: 12px;
}
.ob-deposit-timer strong {
    color: var(--text-primary);
    font-family: var(--font-mono);
}
.ob-deposit-verify {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.ob-deposit-status {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    font-size: 13px;
    text-align: center;
}
.ob-deposit-status.pending {
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    color: #EA580C;
}
.ob-deposit-status.confirmed {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: var(--green);
}
.ob-deposit-status.error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: var(--red);
}

/* Launch button */
.ob-launch-btn {
    width: 100%;
    padding: 16px 28px;
    border-radius: var(--radius-xl);
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.ob-launch-btn:hover {
    transform: translateY(-2px) scale(1.02);
}
.ob-launch-btn:active {
    transform: translateY(0) scale(0.98);
}

/* ── Payment Detection View ── */
/* Container for all payment states — hidden by default, shown when user clicks verify */
.ob-payment-watch {
    display: none;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}
.ob-payment-watch.active {
    display: block;
    animation: fade-up 0.4s var(--spring-bounce) forwards;
}
/* Only one state visible at a time */
.ob-pw-state { display: none; }
.ob-pw-state.active { display: block; animation: fade-up 0.35s var(--spring-bounce) forwards; }

/* Icon container for each payment state */
.ob-pw-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
}
.ob-pw-icon .material-symbols-outlined {
    font-size: 40px;
    position: relative;
    z-index: 2;
}
/* Scanning state — blue pulsing radar icon */
.ob-pw-icon.scanning {
    background: #E0F0FF;
    border: 1px solid #BFDBFE;
    color: var(--accent);
}
/* Radar rings — concentric pulse animation */
.ob-pw-radar {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ob-pw-radar-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(0, 105, 255, 0.25);
    animation: radar-pulse 2s ease-out infinite;
}
.ob-pw-radar-ring.delay {
    animation-delay: 1s;
}
@keyframes radar-pulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}
/* Pending state — orange with pulsing ring */
.ob-pw-icon.pending {
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    color: #EA580C;
}
.ob-pw-pulse-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(251, 146, 60, 0.3);
    animation: radar-pulse 1.5s ease-out infinite;
}
/* Partial state — yellow/amber warning */
.ob-pw-icon.partial {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    color: #D97706;
}
/* Confirmed state — green checkmark with pop-in */
.ob-pw-icon.confirmed {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: var(--green);
    animation: pop-check 0.5s var(--spring-snap) forwards;
}
/* Timeout state — red timer */
.ob-pw-icon.timeout {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: var(--red);
}
/* Error state — red outline */
.ob-pw-icon.error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: var(--red);
}

.ob-pw-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.ob-pw-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Deposit reminder card — shows what to send while scanning */
.ob-pw-reminder {
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    text-align: left;
    margin-bottom: 20px;
}
.ob-pw-reminder-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #E2E8F0;
}
.ob-pw-reminder-row:last-child { border-bottom: none; }
.ob-pw-reminder-row.timer {
    justify-content: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    padding-top: 12px;
    border-bottom: none;
}
.ob-pw-reminder-row.timer strong {
    color: var(--text-primary);
    font-family: var(--font-mono);
}
.ob-pw-reminder-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ob-pw-reminder-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}
.ob-pw-reminder-value.mono {
    font-family: var(--font-mono);
    color: var(--accent);
}

/* Attempt counter — animated dots */
.ob-pw-attempt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 20px;
    padding: 10px;
}

/* Cancel / go back button */
.ob-pw-cancel {
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.15s;
}
.ob-pw-cancel:hover { color: var(--text-primary); }

/* Detail card for confirmed/pending/partial states */
.ob-pw-detail-card {
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    text-align: left;
    margin: 0 auto 20px;
    max-width: 380px;
}
.ob-pw-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #E2E8F0;
}
.ob-pw-detail-row:last-child { border-bottom: none; }
.ob-pw-detail-row span:first-child {
    color: var(--text-tertiary);
    font-size: 13px;
}
.ob-pw-detail-row .mono {
    font-family: var(--font-mono);
    color: var(--text-primary);
}

/* Deploy button (on confirmed state) */
.ob-pw-deploy {
    width: 100%;
    max-width: 380px;
    padding: 16px 28px;
    border-radius: var(--radius-xl);
    font-size: 17px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.2s;
}
.ob-pw-deploy:hover { transform: translateY(-2px) scale(1.02); }
.ob-pw-deploy:active { transform: translateY(0) scale(0.98); }

/* Action buttons for timeout/error states */
.ob-pw-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}
.ob-pw-action {
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.15s;
    min-width: 260px;
    justify-content: center;
}
.ob-pw-action:hover { transform: translateY(-1px); }
.ob-pw-support {
    font-size: 13px;
    color: var(--text-tertiary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    transition: color 0.15s;
}
.ob-pw-support:hover { color: var(--accent); }

/* ── Deploy Progress View ── */
.ob-deploy-view {
    display: none;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    /* Ensure proper centering when shown inside flex parent */
    align-self: center;
}
.ob-deploy-view.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* flex-basis 100% ensures the item takes a full row in the wrapped
       flex parent, then max-width + margin auto centers the content. */
    flex: 0 0 100%;
    justify-content: center;
    animation: fade-up 0.4s var(--spring-bounce) forwards;
}
.ob-deploy-icon {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 16px;
}
.ob-deploy-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.ob-deploy-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Progress bar */
.ob-progress-bar {
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 32px;
    /* Metal inset */
    background: #F9FAFE;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
}
.ob-progress-fill {
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, #0069FF, #60A5FA, #0069FF);
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
    transition: width 0.4s ease;
    width: 0%;
}

/* Deploy status steps */
.ob-deploy-steps {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ob-deploy-step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-tertiary);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.4s, transform 0.4s var(--spring-bounce), color 0.3s;
}
.ob-deploy-step.visible {
    opacity: 0.4;
    transform: translateX(0);
}
.ob-deploy-step.active {
    opacity: 1;
    color: var(--text-primary);
    transform: translateX(0);
}
.ob-deploy-step.done {
    opacity: 1;
    color: var(--green);
    transform: translateX(0);
}
.ob-deploy-step-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #F1F5F9;
    transition: all 0.3s var(--spring-bounce);
}
.ob-deploy-step.active .ob-deploy-step-icon {
    background: transparent;
    border: 2px solid #BFDBFE;
    border-top-color: var(--accent);
    animation: spin 0.8s linear infinite;
}
.ob-deploy-step.done .ob-deploy-step-icon {
    background: #DCFCE7;
    transform: scale(1);
    animation: pop-check 0.3s var(--spring-snap) forwards;
}
@keyframes pop-check {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* ── Success View ── */
.ob-success-view {
    display: none;
    width: 100%;
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    align-self: center;
}
.ob-success-view.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fade-up 0.5s var(--spring-bounce) forwards;
}
.ob-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #F0FDF4;
    border: 2px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 0 20px rgba(22, 163, 74, 0.1);
    animation: success-bounce 0.6s var(--spring-snap) forwards;
}
@keyframes success-bounce {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}
.ob-success-icon .material-symbols-outlined {
    font-size: 40px;
    color: var(--green);
}
.ob-success-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
}
.ob-success-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.ob-success-domain {
    font-size: 14px;
    font-family: var(--font-mono);
    color: var(--accent);
    margin-bottom: 32px;
}
.ob-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.ob-success-btn {
    padding: 12px 24px;
    border-radius: var(--radius-xl);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    transition: all 0.2s;
}
.ob-success-btn:hover {
    transform: scale(1.03);
}
.ob-success-btn:active {
    transform: scale(0.97);
}

/* Confetti particles */
.ob-confetti-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.ob-confetti {
    position: absolute;
    border-radius: 50%;
    animation: confetti-burst 1.5s ease-out forwards;
}
@keyframes confetti-burst {
    0% { opacity: 1; transform: translate(0, 0) scale(0); }
    30% { opacity: 1; transform: scale(1.5); }
    100% { opacity: 0; transform: scale(1); }
}

/* ── Dedicated Server Confirmation ── */
/* Pending icon style (blue instead of green check) */
.ob-success-icon-pending {
    background: #E0F0FF;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 105, 255, 0.1);
}
.ob-success-icon-pending .material-symbols-outlined {
    color: var(--accent);
}
/* Info bullet list explaining dedicated server timeline */
.ob-dedicated-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px auto;
    text-align: left;
    max-width: 420px;
}
.ob-dedicated-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}
.ob-dedicated-info-item .material-symbols-outlined {
    font-size: 20px;
    color: var(--accent);
    flex-shrink: 0;
}
.ob-dedicated-info-item strong {
    color: var(--text-primary);
}

/* ── Deploy Error View ── */
.ob-error-view {
    width: 100%;
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
    align-self: center;
    animation: fade-up 0.5s var(--spring-bounce) forwards;
}
.ob-error-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #FEF2F2;
    border: 2px solid var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.08);
    animation: success-bounce 0.6s var(--spring-snap) forwards;
}
.ob-error-icon .material-symbols-outlined {
    font-size: 40px;
    color: var(--red);
}
.ob-error-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.ob-error-message {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}
.ob-error-alternatives {
    margin-bottom: 24px;
}
.ob-error-alt-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
}
.ob-error-alt-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.ob-error-alt-btn {
    padding: 8px 16px;
    border-radius: var(--radius-lg);
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font-sans);
    cursor: pointer;
    background: #F9FAFE;
    border: 1px solid #E2E8F0;
    color: var(--text-secondary);
    transition: all 0.2s;
}
.ob-error-alt-btn:hover {
    background: #E0F0FF;
    border-color: var(--accent);
    color: var(--accent);
}
.ob-error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.ob-error-btn {
    padding: 12px 24px;
    border-radius: var(--radius-xl);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    transition: all 0.2s;
}
.ob-error-btn:hover {
    transform: scale(1.03);
}
.ob-error-btn:active {
    transform: scale(0.97);
}

/* ── Bottom Navigation ── */
.ob-bottom-nav {
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    margin-top: auto;
}
.ob-nav-btn {
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    transition: all 0.2s;
}
.ob-nav-btn:hover {
    transform: translateX(var(--hover-x, 0));
}
.ob-nav-btn:active {
    transform: scale(0.95);
}
.ob-nav-btn.back {
    --hover-x: -3px;
}
.ob-nav-btn.next {
    --hover-x: 3px;
}
.ob-nav-btn .material-symbols-outlined {
    font-size: 18px;
}
.ob-nav-step-label {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .ob-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ob-server-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ob-tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* ── Order Summary (below step content, above nav buttons) ── */
/* Sits outside .ob-content as a direct child of .ob-main */
.ob-sidebar {
    width: 100%;
    max-width: 820px;
    margin: 8px auto 0;
    padding: 0 24px;
}
.ob-sidebar-inner {
    padding: 20px;
    border-radius: var(--radius-xl);
    background: #F9FAFE;
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
    animation: fade-up 0.4s ease forwards;
}
.ob-sidebar-inner h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ob-sidebar-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ob-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.ob-sidebar-item-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}
.ob-sidebar-item-left .material-symbols-outlined {
    font-size: 16px;
    color: var(--text-tertiary);
    flex-shrink: 0;
}
.ob-sidebar-item-name {
    font-size: 13px;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ob-sidebar-item-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    transition: color 0.3s;
}
.ob-sidebar-item-price.highlight {
    color: var(--accent);
}
.ob-sidebar-divider {
    height: 1px;
    background: #E2E8F0;
    margin: 16px 0;
}
.ob-sidebar-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
.ob-sidebar-total > span:first-child {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}
.ob-sidebar-total > span:last-child {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    transition: color 0.3s;
}
.ob-sidebar-total > span:last-child small {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-tertiary);
    margin-left: 1px;
}
.ob-sidebar-annual-note {
    margin-top: 8px;
    font-size: 12px;
    color: var(--green);
    line-height: 1.4;
}
/* Sidebar is now outside .ob-content — no need to shrink the step container */

/* Responsive: collapse sidebar to horizontal bar on small screens */
@media (max-width: 1000px) {
    .ob-sidebar {
        padding: 0 16px;
    }
    .ob-sidebar-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
        padding: 14px 18px;
    }
    .ob-sidebar-inner h3 {
        margin-bottom: 0;
        margin-right: auto;
    }
    .ob-sidebar-items {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 16px;
    }
    .ob-sidebar-divider {
        display: none;
    }
    .ob-sidebar-total {
        gap: 8px;
    }
    .ob-sidebar-total > span:last-child {
        font-size: 18px;
    }
    .ob-sidebar-annual-note {
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .ob-type-grid {
        grid-template-columns: 1fr;
    }
    .ob-server-grid {
        grid-template-columns: 1fr;
    }
    .ob-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ob-crypto-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ob-stepper-label {
        display: none;
    }
    .ob-step-heading h1 {
        font-size: 26px;
    }
    .ob-dc-grid {
        flex-direction: column;
    }
    .ob-dc-btn {
        justify-content: center;
    }
    .ob-domain-search {
        flex-direction: column;
    }
    .ob-domain-check-btn {
        justify-content: center;
    }
    .ob-domain-result {
        flex-direction: column;
        align-items: flex-start;
    }
    .ob-domain-result-right {
        width: 100%;
        justify-content: space-between;
    }
}

/* ── AI Discovery Chat Overlay ── */
.ob-ai-chat-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ob-ai-chat-panel {
    width: 520px;
    max-height: 70vh;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: scaleIn 0.3s var(--spring-bounce);
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.ob-ai-chat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid #E2E8F0;
    font-weight: 600;
    color: var(--text-primary);
}
.ob-ai-chat-header .material-symbols-outlined {
    font-size: 20px;
    color: var(--purple);
}
.ob-ai-chat-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ob-ai-chat-close:hover {
    background: #E2E8F0;
    color: var(--text-primary);
}

.ob-ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 300px;
}

/* Message bubbles */
.ob-ai-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}
.ob-ai-msg.assistant {
    align-self: flex-start;
    background: #F1F5F9;
    color: var(--text-primary);
}
.ob-ai-msg.user {
    align-self: flex-end;
    background: var(--accent);
    color: #fff;
}
.ob-ai-msg.system {
    align-self: center;
    background: rgba(34, 197, 94, 0.1);
    color: var(--green);
    font-weight: 500;
    text-align: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
}

/* Typing indicator — 3 bouncing dots */
.ob-ai-typing {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    align-self: flex-start;
    background: #F1F5F9;
    border-radius: 12px;
}
.ob-ai-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-secondary);
    animation: typing-dot 1.2s infinite;
}
.ob-ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ob-ai-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-dot {
    0%, 60%, 100% { opacity: 0.3; }
    30% { opacity: 1; }
}

/* Input area */
.ob-ai-chat-input-wrap {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    border-top: 1px solid #E2E8F0;
}
.ob-ai-chat-input-wrap input {
    flex: 1;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-sans);
    outline: none;
    transition: border-color 0.2s;
}
.ob-ai-chat-input-wrap input:focus {
    border-color: var(--accent);
}
.ob-ai-chat-input-wrap input::placeholder {
    color: var(--text-tertiary);
}
.ob-ai-chat-send-btn {
    background: var(--accent);
    border: none;
    border-radius: 8px;
    color: #fff;
    padding: 0 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.2s;
}
.ob-ai-chat-send-btn:hover {
    background: var(--accent-hover);
}
.ob-ai-chat-send-btn .material-symbols-outlined {
    font-size: 20px;
}

/* Responsive: smaller screens */
@media (max-width: 600px) {
    .ob-ai-chat-panel {
        width: 95%;
        max-height: 80vh;
    }
}
