/* ===== INFOBIN DESIGN SYSTEM ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg-void: #ffffff;
    --bg-surface: #f7f6f4;
    --bg-raised: #ffffff;
    --bg-overlay: #edece9;
    --accent-1: #e05a00;
    --accent-2: #c44e00;
    --accent-dim: rgba(224, 90, 0, 0.06);
    --accent-border: rgba(224, 90, 0, 0.18);
    --red: #c0392b;
    --amber: #b45309;
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #888888;
    --border: #e0dfdc;
    --glow: 0 2px 16px rgba(224, 90, 0, 0.07);
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg-void);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* ===== SUBTLE BACKGROUND ===== */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 81, 50, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 81, 50, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}
.bg-grid::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(15, 81, 50, 0.03), transparent 70%);
    pointer-events: none;
}

/* ===== NAVBAR ===== */
.ib-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: background 0.3s;
}
.ib-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.ib-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}
.ib-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}
.ib-logo-icon {
    color: var(--accent-1);
    font-size: 1.4rem;
    line-height: 1;
}
.ib-nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}
.ib-nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    transition: all 0.2s;
}
.ib-nav-links a:hover {
    color: var(--text-primary);
    background: rgba(0,0,0,0.03);
}
.ib-nav-cta {
    background: var(--accent-1) !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 0.5rem 1.2rem !important;
    margin-left: 0.5rem;
}
.ib-nav-cta:hover {
    background: var(--accent-2) !important;
    box-shadow: 0 4px 12px rgba(224, 90, 0, 0.25);
}

/* Mobile nav */
.ib-hamburger {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
    line-height: 1;
}

/* Dropdown styling */
.ib-nav-links .dropdown-menu {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 200px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.ib-nav-links .dropdown-item {
    color: var(--text-secondary);
    padding: 0.55rem 0.9rem;
    border-radius: 5px;
    font-size: 0.88rem;
}
.ib-nav-links .dropdown-item:hover, .ib-nav-links .dropdown-item:focus {
    background: var(--accent-dim);
    color: var(--accent-1);
}

@media (max-width: 991px) {
    .ib-hamburger { display: block; }
    .ib-nav-collapse {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        padding: 1rem;
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    }
    .ib-nav-collapse.show { display: block; }
    .ib-nav-links {
        flex-direction: column;
        align-items: stretch;
    }
    .ib-nav-links a { padding: 0.7rem 1rem; }
    .ib-nav-cta { margin-left: 0; margin-top: 0.5rem; text-align: center; }
}

/* ===== HERO ===== */
.hero {
    position: relative;
    z-index: 1;
    padding: 10rem 0 5rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-1);
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    padding: 0.45rem 1.1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
}
.hero-eyebrow .bi { font-size: 0.85rem; }
.hero h1 {
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}
.hero h1 .line-accent {
    color: var(--accent-1);
    position: relative;
}
.hero h1 .line-accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-1);
    opacity: 0.2;
    border-radius: 2px;
}
.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 2.5rem;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Terminal-style hero graphic */
.hero-terminal {
    background: #2c2c2c;
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.terminal-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.7rem 1rem;
    background: #343434;
    border-bottom: 1px solid #3a3a3a;
}
.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.terminal-dot-r { background: #ff5f57; }
.terminal-dot-y { background: #febc2e; }
.terminal-dot-g { background: #28c840; }
.terminal-title {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #6b7280;
}
.terminal-body {
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    line-height: 1.9;
    color: #9ca3af;
}
.t-prompt { color: #e05a00; }
.t-cmd { color: #e5e7eb; }
.t-output { color: #888; }
.t-success { color: #e05a00; }
.t-warn { color: #fbbf24; }
.t-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #e05a00;
    animation: blink 1s infinite;
    vertical-align: text-bottom;
    margin-left: 2px;
}
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ===== BUTTONS ===== */
.btn-ib {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.8rem;
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-ib-primary {
    background: var(--accent-1);
    color: #fff;
}
.btn-ib-primary:hover {
    background: var(--accent-2);
    color: #fff;
    box-shadow: 0 4px 16px rgba(224, 90, 0, 0.2);
    transform: translateY(-1px);
}
.btn-ib-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.btn-ib-ghost:hover {
    color: var(--text-primary);
    border-color: #c5c9d0;
    background: var(--bg-surface);
}
.btn-ib-danger {
    background: transparent;
    color: var(--red);
    border: 1px solid rgba(192, 57, 43, 0.2);
}
.btn-ib-danger:hover {
    background: rgba(192, 57, 43, 0.06);
    color: var(--red);
}
.btn-ib-secondary {
    background: transparent;
    color: var(--accent-1);
    border: 1px solid var(--accent-border);
}
.btn-ib-secondary:hover {
    background: var(--accent-dim);
    color: var(--accent-1);
}
.btn-block { width: 100%; justify-content: center; }

/* ===== SECTIONS ===== */
.ib-section {
    position: relative;
    z-index: 1;
    padding: 6rem 0;
}
.ib-section-alt { background: var(--bg-surface); }
.ib-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-1);
    margin-bottom: 0.75rem;
}
.ib-heading {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.75px;
    margin-bottom: 0.5rem;
}
.ib-subheading {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}
.ib-divider {
    width: 40px;
    height: 3px;
    background: var(--accent-1);
    border-radius: 2px;
    margin: 1rem 0 0;
    opacity: 0.5;
}

/* ===== PAGE HEADER (for subpages) ===== */
.page-header {
    position: relative;
    z-index: 1;
    padding: 8rem 0 3rem;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
}
.page-header .ib-heading {
    font-size: 2.4rem;
}

/* ===== CARDS ===== */
.ib-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.ib-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.ib-section-alt .ib-card {
    background: var(--bg-raised);
    border-color: var(--border);
}
.ib-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
}
.icon-green { background: rgba(224, 90, 0, 0.08); color: var(--accent-1); }
.icon-blue { background: rgba(17, 17, 17, 0.06); color: var(--text-primary); }
.icon-red { background: rgba(192, 57, 43, 0.08); color: var(--red); }
.icon-amber { background: rgba(224, 90, 0, 0.06); color: var(--accent-1); }
.ib-card h5 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.6rem;
}
.ib-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ===== SERVICE TABS ===== */
.ib-tabs {
    display: inline-flex;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 4px;
    gap: 4px;
}
.ib-tabs .nav-link {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 6px;
    background: transparent;
    transition: all 0.2s;
}
.ib-tabs .nav-link.active {
    background: var(--accent-1);
    color: #fff;
}
.ib-tabs .nav-link:not(.active):hover {
    color: var(--text-primary);
    background: var(--bg-surface);
}

/* Action cards (upload/download/delete) */
.action-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: all 0.3s;
}
.ib-section-alt .action-card {
    background: var(--bg-raised);
}
.action-card:hover {
    border-color: var(--accent-border);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.action-card .action-icon {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    display: block;
}
.action-card h5 {
    font-weight: 700;
    margin-bottom: 0.6rem;
}
.action-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

/* ===== PRICING ===== */
.price-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    height: 100%;
    position: relative;
    transition: all 0.3s;
}
.price-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.price-card.featured {
    border-color: var(--accent-1);
    box-shadow: 0 4px 24px rgba(224, 90, 0, 0.1);
}
.price-tag {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-1);
    color: #fff;
    padding: 0.2rem 0.9rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.price-card .tier-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}
.price-card .price {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin: 0.5rem 0;
}
.price-card .price-sub {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
}
.price-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}
.price-card ul li {
    padding: 0.4rem 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.price-card ul li .bi-check2 { color: var(--accent-1); font-weight: bold; }

/* ===== STEPS ===== */
.step-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}
.step-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-1);
    width: 44px;
    height: 44px;
    border: 2px solid var(--accent-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--accent-dim);
}
.step-line {
    width: 2px;
    height: 32px;
    background: var(--accent-border);
    margin-left: 21px;
    margin-bottom: 0.5rem;
}
.step-content {
    flex: 1;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.75rem;
}
.ib-section-alt .step-content {
    background: var(--bg-raised);
}
.step-content h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
}
.step-detail-box {
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    border-radius: 6px;
    padding: 1rem;
    margin-top: 0.75rem;
}
.step-detail-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.3rem 0;
    font-size: 0.85rem;
}
.step-detail-item .bi {
    color: var(--accent-1);
    font-size: 0.9rem;
}
.step-detail-item strong {
    color: var(--text-primary);
}
.step-detail-item span {
    color: var(--text-secondary);
}

.alert-ib {
    background: rgba(180, 83, 9, 0.05);
    border: 1px solid rgba(180, 83, 9, 0.15);
    border-radius: 6px;
    padding: 0.7rem 1rem;
    font-size: 0.82rem;
    color: var(--amber);
    margin-top: 0.75rem;
}

/* ===== QUICK REFERENCE ===== */
.qr-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
    transition: border-color 0.2s;
}
.qr-card:hover {
    border-color: var(--accent-border);
}
.ib-section-alt .qr-card {
    background: var(--bg-raised);
}
.qr-card-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}
.qr-card-head .bi { font-size: 1rem; }
.qr-card h6 {
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0;
}
.qr-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* ===== FAQ / ACCORDION ===== */
.faq-sidebar .ib-heading { font-size: 1.8rem; }
.accordion-item {
    background: var(--bg-raised) !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    margin-bottom: 0.5rem;
    overflow: hidden;
}
.ib-section-alt .accordion-item {
    background: var(--bg-raised) !important;
}
.accordion-button {
    background: transparent !important;
    color: var(--text-primary) !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 1rem 1.25rem;
    box-shadow: none !important;
}
.accordion-button::after { filter: none; }
.accordion-button:not(.collapsed) {
    border-bottom: 1px solid var(--border);
}
.accordion-body {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    padding: 1rem 1.25rem;
}

/* ===== FORMS ===== */
.ib-form-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2.5rem;
}
.ib-form-card label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}
.ib-form-card .form-control,
.ib-form-card .form-select,
.ib-form-card textarea {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.7rem 1rem;
    font-size: 0.92rem;
    color: var(--text-primary);
    transition: border-color 0.2s;
}
.ib-form-card .form-control:focus,
.ib-form-card .form-select:focus,
.ib-form-card textarea:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px var(--accent-dim);
    outline: none;
}
.ib-form-card .form-control::placeholder,
.ib-form-card textarea::placeholder {
    color: var(--text-muted);
}

/* ===== CONTENT PAGES (privacy, terms, etc.) ===== */
.content-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 3rem;
}
.content-card h2, .content-card h3 {
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.content-card h2:first-child, .content-card h3:first-child {
    margin-top: 0;
}
.content-card p, .content-card li {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}
.content-card ul {
    padding-left: 1.25rem;
}
.content-card .callout {
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    border-radius: 8px;
    padding: 1.25rem;
    margin: 1.5rem 0;
}
.content-card .callout-danger {
    background: rgba(192, 57, 43, 0.05);
    border-color: rgba(192, 57, 43, 0.15);
}

/* ===== ALERT BOXES ===== */
.ib-alert {
    border-radius: 8px;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.ib-alert-warning {
    background: rgba(180, 83, 9, 0.06);
    border: 1px solid rgba(180, 83, 9, 0.15);
    color: var(--amber);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
}
.ib-alert-danger {
    background: rgba(192, 57, 43, 0.06);
    border: 1px solid rgba(192, 57, 43, 0.15);
    color: var(--red);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
}
.ib-alert-success {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: #059669;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
}
.ib-alert-info {
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    color: var(--accent-1);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
}

/* ===== CUSTOM CONFIRM MODAL ===== */
.ib-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    padding: 1rem;
}
.ib-modal-overlay.show {
    opacity: 1;
}
.ib-modal {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.2s ease;
    overflow: hidden;
}
.ib-modal-overlay.show .ib-modal {
    transform: scale(1) translateY(0);
}
.ib-modal-header {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.ib-modal-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.ib-modal-icon.icon-danger {
    background: rgba(192, 57, 43, 0.08);
    color: var(--red);
}
.ib-modal-icon.icon-warning {
    background: rgba(180, 83, 9, 0.08);
    color: var(--amber);
}
.ib-modal-icon.icon-info {
    background: var(--accent-dim);
    color: var(--accent-1);
}
.ib-modal-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
}
.ib-modal-body {
    padding: 1rem 1.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}
.ib-modal-footer {
    padding: 1.25rem 1.5rem;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}
.ib-modal-footer .btn-ib {
    min-width: 100px;
    justify-content: center;
}

/* ===== STATUS BAR (secure pages) ===== */
.security-bar {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 999;
    background: #111;
    color: #e05a00;
    padding: 0.4rem 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

/* ===== PROGRESS BAR ===== */
.ib-progress {
    height: 6px;
    background: var(--bg-surface);
    border-radius: 3px;
    overflow: hidden;
}
.ib-progress-bar {
    height: 100%;
    background: var(--accent-1);
    border-radius: 3px;
    transition: width 0.3s;
}

/* ===== MULTI-STEP FORM ===== */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    border: 2px solid var(--border);
    color: var(--text-muted);
    background: var(--bg-raised);
    transition: all 0.3s;
}
.step-dot.active {
    border-color: var(--accent-1);
    color: var(--accent-1);
    background: var(--accent-dim);
}
.step-dot.completed {
    border-color: var(--accent-1);
    background: var(--accent-1);
    color: #fff;
}
.step-connector {
    width: 40px;
    height: 2px;
    background: var(--border);
}
.step-connector.active {
    background: var(--accent-1);
}

/* ===== DRAG & DROP ZONE ===== */
.drop-zone {
    border: 2px dashed var(--border);
    border-radius: 10px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    background: var(--bg-surface);
}
.drop-zone:hover, .drop-zone.drag-over {
    border-color: var(--accent-1);
    background: var(--accent-dim);
}
.drop-zone .bi {
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: block;
}
.drop-zone p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== BURN TIMER ===== */
.burn-timer {
    background: rgba(192, 57, 43, 0.06);
    border: 1px solid rgba(192, 57, 43, 0.15);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
}
.burn-timer .timer-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--red);
}
.burn-timer .timer-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* ===== COPY BUTTON ===== */
.copy-field {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}
.copy-field input, .copy-field textarea {
    flex: 1;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.6rem 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    color: var(--text-primary);
}
.copy-field .btn-copy {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.6rem 1rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
    white-space: nowrap;
}
.copy-field .btn-copy:hover {
    border-color: var(--accent-1);
    color: var(--accent-1);
}

/* ===== ACCESS CODE GRID ===== */
.code-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}
.code-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.6rem 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    color: var(--text-primary);
}
.code-item:hover {
    border-color: var(--accent-1);
    background: var(--accent-dim);
}

/* ===== FOOTER ===== */
.ib-footer {
    background: #111111;
    border-top: none;
    padding: 3.5rem 0 1.5rem;
    position: relative;
    z-index: 1;
    color: #999;
}
.ib-footer a {
    color: #999;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}
.ib-footer a:hover { color: #e05a00; }
.footer-heading {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ccc;
    margin-bottom: 1rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-bottom {
    border-top: 1px solid #2a2a2a;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.footer-bottom p {
    margin: 0;
    color: #666;
    font-size: 0.8rem;
}
.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: #e05a00;
}
.footer-status-dot {
    width: 6px;
    height: 6px;
    background: #e05a00;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ===== MISC UTILITY ===== */
.mono { font-family: 'JetBrains Mono', monospace; }
.text-accent { color: var(--accent-1); }
.text-accent-2 { color: var(--accent-2); }
.text-red { color: var(--red); }
.text-amber { color: var(--amber); }
.text-muted-custom { color: var(--text-secondary); }

/* ===== SLIDER/RANGE ===== */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent-1);
    border-radius: 50%;
    cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--accent-1);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent-1);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== SECURITY LOCKOUT (secure pages) ===== */
.lockout-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    text-align: center;
    padding: 2rem;
}
.lockout-screen .bi {
    font-size: 4rem;
    color: var(--red);
    margin-bottom: 1.5rem;
}
.lockout-screen h2 {
    color: #fff;
    margin-bottom: 0.5rem;
}
.lockout-screen p {
    color: #999;
    max-width: 400px;
}
