/* ============================================
   BAXELO — Global Styles
   ============================================ */

:root {
  --bg-primary: #050510;
  --bg-secondary: #0a0a1a;
  --bg-card: rgba(255,255,255,0.06);
  --bg-card-hover: rgba(255,255,255,0.09);
  --border-subtle: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --text-primary: #f0f0f5;
  --text-secondary: #8888a0;
  --text-muted: #55556a;
  --accent-purple: #7c5bf0;
  --accent-blue: #5b8bf0;
  --accent-green: #34d399;
  --accent-amber: #fbbf24;
  --gradient-primary: linear-gradient(135deg, #7c5bf0, #5b8bf0);
  --gradient-text: linear-gradient(135deg, #a78bfa, #818cf8, #60a5fa);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

::selection {
  background: rgba(124, 91, 240, 0.3);
  color: #fff;
}

/* ============================================
   Three.js Canvas
   ============================================ */

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
body.bx-app-active #bg-canvas {
  opacity: 0.35;
}

/* ============================================
   Navigation
   ============================================ */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.4s var(--ease-out);
}

#navbar.scrolled {
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 1001;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all 0.25s ease;
  pointer-events: none;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-ghost {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.btn-ghost:hover {
  color: var(--text-primary);
}

.btn-primary-sm {
  background: var(--gradient-primary);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(124,91,240,0.25);
}

.btn-primary-sm:hover {
  box-shadow: 0 4px 20px rgba(124,91,240,0.4);
  transform: translateY(-1px);
}

.btn-danger-sm {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-danger-sm:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
}

.bx-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-ghost-sm {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-ghost-sm:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.bx-confirm {
  text-align: center;
  padding: 12px 8px;
}
.bx-confirm-icon {
  margin-bottom: 16px;
}
.bx-confirm-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.bx-confirm-message {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 24px;
}
.bx-confirm-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.bx-ticket-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bx-link--danger { color: #ef4444; }
.bx-link--danger:hover { color: #dc2626; }

tr.bx-row-link { cursor: pointer; }
tr.bx-row-link:hover { background: rgba(139, 92, 246, 0.06); }

.bx-rating {
  display: flex;
  gap: 4px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}
.bx-star {
  font-size: 20px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.12);
  transition: color 0.2s ease, transform 0.15s ease;
  user-select: none;
}
.bx-star:hover { transform: scale(1.2); }
.bx-star--active { color: #fbbf24; }
.bx-star--hover { color: #fbbf24; }

.bx-verify-btn {
  font-size: 13px;
  padding: 6px 16px;
}
.bx-verify-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.bx-verify-input-row input {
  flex: 1;
  letter-spacing: 4px;
  font-weight: 600;
  text-align: center;
}
.bx-verify-hint {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 12px;
}
.bx-verify-success {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #10b981;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 0;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(10px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.mobile-link:hover { color: var(--accent-purple); }
.mobile-accordion {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.mobile-link--parent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.mobile-arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
  display: inline-block;
}
.mobile-accordion.open .mobile-arrow {
  transform: rotate(180deg);
}
.mobile-submenu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0;
}
.mobile-accordion.open .mobile-submenu {
  max-height: 300px;
  padding-top: 12px;
}
.mobile-link--sub {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  padding-left: 0;
}

.mobile-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 40px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 91, 240, 0.1);
  border: 1px solid rgba(124, 91, 240, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #a78bfa;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #a78bfa;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-primary);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 4px 20px rgba(124,91,240,0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(124,91,240,0.5);
  transform: translateY(-2px);
}

.btn-primary svg { transition: transform 0.3s ease; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid var(--border-hover);
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.stat { text-align: center; }

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.stat-suffix {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-purple);
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* Hero Visual (Code Card) */
.hero-visual {
  flex: 1;
  max-width: 480px;
}

.glass-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(124,91,240,0.05);
  transition: all 0.4s var(--ease-out);
}

.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 25px 80px rgba(0,0,0,0.5), 0 0 60px rgba(124,91,240,0.08);
  transform: translateY(-4px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border-subtle);
}

.card-dots {
  display: flex;
  gap: 6px;
}

.card-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.card-dots span:nth-child(1) { background: #ff5f57; }
.card-dots span:nth-child(2) { background: #febc2e; }
.card-dots span:nth-child(3) { background: #28c840; }

.card-title-bar {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.card-code {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  overflow-x: auto;
}

.card-code code { white-space: pre; }

.code-keyword { color: #c084fc; }
.code-var { color: #60a5fa; }
.code-class { color: #34d399; }
.code-string { color: #fbbf24; }
.code-prop { color: #818cf8; }
.code-func { color: #f472b6; }
.code-comment { color: #555570; font-style: italic; }

/* ============================================
   Section Common
   ============================================ */

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-purple);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   Solutions Section
   ============================================ */

.solutions {
  position: relative;
  z-index: 1;
  padding: 60px 0;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.solution-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.solution-card:hover::before { opacity: 1; }

.solution-icon {
  width: 52px;
  height: 52px;
  background: rgba(124, 91, 240, 0.1);
  border: 1px solid rgba(124, 91, 240, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--accent-purple);
  transition: all 0.3s ease;
}

.solution-icon.icon-blue {
  background: rgba(91, 139, 240, 0.1);
  border-color: rgba(91, 139, 240, 0.15);
  color: var(--accent-blue);
}

.solution-icon.icon-green {
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.15);
  color: var(--accent-green);
}

.solution-icon.icon-amber {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.15);
  color: var(--accent-amber);
}

.solution-card:hover .solution-icon { transform: scale(1.05); }

.solution-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.solution-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}

.solution-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-purple);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.solution-link:hover { gap: 10px; }

/* ============================================
   Products Section
   ============================================ */

.products {
  position: relative;
  z-index: 1;
  padding: 60px 0;
  background: linear-gradient(180deg, transparent, rgba(124,91,240,0.02), transparent);
}

.products-group {
  margin-bottom: 48px;
}
.products-group:last-child {
  margin-bottom: 0;
}
.products-group-header {
  margin-bottom: 24px;
  padding-left: 4px;
}
.products-group-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.products-group-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

.products-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px 30px;
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.product-card.featured {
  border-color: rgba(124, 91, 240, 0.2);
  background: rgba(124, 91, 240, 0.04);
}

.product-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-icon-wrap {
  width: 60px;
  height: 60px;
  background: rgba(124, 91, 240, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.product-icon-wrap.green { background: rgba(52, 211, 153, 0.08); }
.product-icon-wrap.amber { background: rgba(251, 191, 36, 0.08); }

.product-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.product-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.product-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.product-tags span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px;
  border-radius: 100px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.product-price {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.product-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ============================================
   Technology Section
   ============================================ */

.technology {
  position: relative;
  z-index: 1;
  padding: 60px 0;
}

.tech-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tech-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
}

.tech-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tech-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.tech-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(124, 91, 240, 0.08);
  border: 1px solid rgba(124, 91, 240, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-purple);
}

.tech-feature h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.tech-feature p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tech-badge {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s var(--ease-out);
}

.tech-badge:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.tech-badge span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.tech-badge:hover span { color: var(--text-primary); }

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.cta-card {
  background: rgba(124, 91, 240, 0.06);
  border: 1px solid rgba(124, 91, 240, 0.15);
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg-orbs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.orb-1 { width: 300px; height: 300px; background: #7c5bf0; top: -100px; left: -50px; }
.orb-2 { width: 250px; height: 250px; background: #5b8bf0; bottom: -80px; right: -30px; }
.orb-3 { width: 200px; height: 200px; background: #34d399; top: 50%; left: 50%; transform: translate(-50%,-50%); }

.cta-card h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  position: relative;
}

.cta-card p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
  position: relative;
  z-index: 1;
  padding: 60px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 15px;
}

.contact-item svg { color: var(--accent-purple); flex-shrink: 0; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.bx-form input[type="text"],
.bx-form input[type="email"],
.bx-form input[type="password"],
.bx-form input[type="search"],
.bx-form input[type="tel"],
.bx-form textarea,
.bx-form select,
select.bx-form {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--text-primary);
  outline: none;
  transition: all 0.3s ease;
}

.bx-input-readonly { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

.bx-geo-btn { background: transparent; border: 1px solid rgba(255,255,255,0.15); color: var(--text-muted); padding: 3px 8px; border-radius: 5px; cursor: pointer; margin-left: 8px; transition: all 0.2s ease; vertical-align: middle; }
.bx-geo-btn:hover { color: var(--accent-purple); border-color: var(--accent-purple); background: rgba(139,92,246,0.08); }
.bx-geo-btn.bx-geo-loading { pointer-events: none; opacity: 0.5; }
.bx-geo-btn.bx-geo-loading svg { animation: bx-spin 1s linear infinite; }
@keyframes bx-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.form-group input:focus,
.form-group textarea:focus,
.bx-form input:focus,
.bx-form textarea:focus,
.bx-form select:focus,
select.bx-form:focus {
  border-color: rgba(124, 91, 240, 0.4);
  box-shadow: 0 0 0 3px rgba(124, 91, 240, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.bx-form input::placeholder,
.bx-form textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.btn-primary.full-width { width: 100%; justify-content: center; }

/* ============================================
   Footer
   ============================================ */

.footer {
  position: relative;
  z-index: 1;
  padding: 60px 0 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 48px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.25s ease;
}

.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-legal a:hover { color: var(--text-primary); }

/* ============================================
   Reveal Animations
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   SPA — Modal
   ============================================ */

.bx-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bx-modal-overlay.bx-modal--active { opacity: 1; }

.bx-modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s var(--ease-out);
}

.bx-modal--wide {
  max-width: 640px;
}

.bx-modal::-webkit-scrollbar { width: 6px; }
.bx-modal::-webkit-scrollbar-track { background: transparent; }
.bx-modal::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
.bx-modal::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }
.bx-modal { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent; }

.bx-modal-overlay.bx-modal--active .bx-modal {
  transform: none;
}

.bx-modal-header { margin-bottom: 16px; }
.bx-modal-header h2 { font-size: 20px; font-weight: 700; color: var(--text-primary); }
.bx-modal-body { margin-bottom: 24px; }
.bx-modal-footer { display: flex; justify-content: flex-end; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border-subtle); }

.bx-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.bx-modal-close:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }

.bx-modal-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.bx-modal-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.bx-form select {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--text-primary);
  outline: none;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238888a0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.bx-form select:focus {
  border-color: rgba(124,91,240,0.4);
  box-shadow: 0 0 0 3px rgba(124,91,240,0.1);
}

.bx-form-footer {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.bx-form-alt {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 20px;
}

.bx-link { color: var(--accent-purple); text-decoration: none; font-weight: 500; }
.bx-link:hover { text-decoration: underline; }

.bx-optional { color: var(--text-muted); font-weight: 400; }

/* ============================================
   SPA — Toasts
   ============================================ */

.bx-toast-container {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bx-toast {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text-primary);
  min-width: 280px;
  max-width: 400px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s var(--ease-out);
}

.bx-toast--show { opacity: 1; transform: none; }
.bx-toast--success { border-left: 3px solid var(--accent-green); }
.bx-toast--error { border-left: 3px solid #ef4444; }
.bx-toast--info { border-left: 3px solid var(--accent-blue); }
.bx-toast--warning { border-left: 3px solid #f59e0b; }
.bx-toast--session { min-width: 320px; padding: 12px 16px; }
.bx-session-toast-body {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bx-session-toast-body svg { flex-shrink: 0; color: #f59e0b; }
.bx-session-toast-body span { flex: 1; }
.bx-session-cd { color: #f59e0b; font-variant-numeric: tabular-nums; }
.bx-session-extend-btn {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.bx-session-extend-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

/* ============================================
   SPA — Dropdown Menu
   ============================================ */

.bx-dropdown-menu {
  position: fixed;
  z-index: 10000;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 8px;
  min-width: 200px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.bx-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s;
}

.bx-dropdown-menu a:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.bx-dropdown-divider { height: 1px; background: var(--border-subtle); margin: 4px 0; }
.bx-text-red { color: #ef4444 !important; }
.bx-text-red:hover { background: rgba(239,68,68,0.1) !important; }

/* ============================================
   SPA — Avatar
   ============================================ */

.bx-avatar {
  width: 28px;
  height: 28px;
  background: var(--gradient-primary);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-right: 6px;
}

.bx-nav-account { display: flex; align-items: center; gap: 4px; }

/* ============================================
   SPA — Loader
   ============================================ */

.bx-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px;
}

.bx-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border-subtle);
  border-top-color: var(--accent-purple);
  border-radius: 50%;
  animation: bx-spin 0.8s linear infinite;
}

@keyframes bx-spin { to { transform: rotate(360deg); } }

/* ============================================
   SPA — Page Layout
   ============================================ */

.bx-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.bx-page--public {
  padding-top: 0;
}

.bx-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 8px;
}
.bx-page-header h1 {
  width: 100%;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
  text-align: center;
  order: 2;
}

.bx-page-header p {
  font-size: 15px;
  color: var(--text-secondary);
}

.bx-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  order: 1;
}
.bx-page-header .bx-announcement-meta,
.bx-page-header .bx-kb-article-meta {
  order: 1;
}

.bx-back:hover { color: var(--accent-purple); }

.bx-info-banner {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 24px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.bx-info-banner .bx-link { color: var(--accent-purple); font-weight: 600; }

/* ============================================
   SPA — Layout (Sidebar + Content)
   ============================================ */

.bx-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
}

.bx-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 900;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.06) transparent;
}

.bx-sidebar::-webkit-scrollbar { width: 4px; }
.bx-sidebar::-webkit-scrollbar-track { background: transparent; }
.bx-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.06); border-radius: 2px; }

.bx-sidebar-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.bx-sidebar-header .nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }

.bx-sidebar-nav {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bx-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.bx-sidebar-link:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
}

.bx-sidebar-link--active {
  background: rgba(124,91,240,0.1);
  color: var(--accent-purple);
}

.bx-sidebar-link--active .bx-sidebar-icon { color: var(--accent-purple); }

/* ── Sidebar Submenu ── */
.bx-sidebar-has-submenu .bx-sidebar-link { justify-content: flex-start; }
.bx-submenu-arrow { margin-left: auto; opacity: 0.4; transition: all 0.25s ease; flex-shrink: 0; }
.bx-sidebar-has-submenu.open .bx-submenu-arrow { opacity: 1; color: var(--accent-purple); transform: rotate(90deg); }
.bx-submenu { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; padding-left: 20px; }
.bx-sidebar-has-submenu.open .bx-submenu { max-height: 120px; }
.bx-submenu-link { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 8px; color: var(--text-secondary); text-decoration: none; font-size: 13px; font-weight: 500; transition: all 0.15s ease; cursor: pointer; white-space: nowrap; }
.bx-submenu-link:hover { background: rgba(124,91,240,0.1); color: var(--accent-purple); }
.bx-submenu-link .bx-sidebar-icon { width: 18px; height: 18px; }

.bx-sidebar-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
}

.bx-sidebar-link:hover .bx-sidebar-icon { color: var(--text-primary); }

.bx-sidebar-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 8px 14px;
}

.bx-sidebar-footer {
  padding: 12px;
  border-top: 1px solid var(--border-subtle);
}

.bx-sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin-top: 14px;
}

.bx-sidebar-user .bx-avatar {
  width: 32px;
  height: 32px;
  font-size: 14px;
  flex-shrink: 0;
}

.bx-sidebar-user strong {
  display: block;
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.3;
}

.bx-sidebar-user small {
  font-size: 12px;
  color: var(--text-muted);
}

.bx-sidebar-logout { color: var(--text-muted); }
.bx-sidebar-logout:hover { color: #ef4444; background: rgba(239,68,68,0.08); }
.bx-sidebar-logout:hover .bx-sidebar-icon { color: #ef4444; }

.bx-content {
  flex: 1;
  margin-left: 260px;
  min-height: 100vh;
}

.bx-sidebar-toggle {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 901;
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .bx-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s var(--ease-out);
  }
  .bx-sidebar.bx-sidebar--open { transform: translateX(0); }
  .bx-content { margin-left: 0; }
  .bx-sidebar-toggle { display: flex; }
}

/* ============================================
   SPA — Stats Grid
   ============================================ */

.bx-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.bx-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s var(--ease-out);
}

.bx-stat-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }

a.bx-stat-card.bx-stat--link {
  text-decoration: none;
  cursor: pointer;
  display: block;
}

a.bx-stat-card.bx-stat--link:hover {
  border-color: rgba(124, 91, 240, 0.3);
}

.bx-stat-value {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.bx-stat--green .bx-stat-value { color: var(--accent-green); }
.bx-stat--amber .bx-stat-value { color: var(--accent-amber); }
.bx-stat--blue .bx-stat-value { color: var(--accent-blue); }
.bx-stat--purple .bx-stat-value { color: var(--accent-purple); }
.bx-stat--red .bx-stat-value { color: #ef4444; }

.bx-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   SPA — Cards
   ============================================ */

.bx-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}

.bx-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.bx-card-header h3 { font-size: 16px; font-weight: 700; }

.bx-card-body { padding: 24px; }

.bx-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ============================================
   SPA — Quick Actions
   ============================================ */

.bx-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bx-quick-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s var(--ease-out);
}

.bx-quick-btn:hover {
  background: rgba(124,91,240,0.06);
  border-color: rgba(124,91,240,0.2);
  color: var(--text-primary);
}

.bx-quick-btn svg { color: var(--accent-purple); flex-shrink: 0; }

/* ============================================
   SPA — Detail Rows
   ============================================ */

.bx-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}

.bx-detail-row:last-child { border-bottom: none; }
.bx-detail-row span { color: var(--text-muted); }
.bx-detail-row strong { color: var(--text-primary); }

/* ============================================
   SPA — Tables
   ============================================ */

.bx-table-wrap {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
}

.bx-table {
  width: 100%;
  border-collapse: collapse;
}

.bx-table th {
  text-align: left;
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border-subtle);
}

.bx-table td {
  padding: 16px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.bx-table tr:last-child td { border-bottom: none; }
.bx-table tr:hover td { background: rgba(255,255,255,0.02); }
.bx-table td strong { color: var(--text-primary); }
.bx-table td small { color: var(--text-muted); }

.bx-table--simple { background: none; border: none; }
.bx-table--simple th { background: none; }

.text-right, .bx-table th.text-right, .bx-table td.text-right { text-align: right; }

/* ============================================
   SPA — Badges
   ============================================ */

.bx-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.bx-badge--green { background: rgba(52,211,153,0.12); color: #34d399; }
.bx-badge--amber { background: rgba(251,191,36,0.12); color: #fbbf24; }
.bx-badge--red { background: rgba(239,68,68,0.12); color: #ef4444; }
.bx-badge--blue { background: rgba(91,139,240,0.12); color: #5b8bf0; }
.bx-badge--muted { background: rgba(255,255,255,0.05); color: var(--text-muted); }

/* ============================================
   SPA — Empty State
   ============================================ */

.bx-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-muted);
  font-size: 15px;
}

/* ============================================
   SPA — Invoice Detail
   ============================================ */

.bx-invoice-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.bx-invoice-meta > div {
  text-align: center;
  padding: 0 20px;
}
.bx-invoice-meta > div:not(:last-child) {
  border-right: 1px solid var(--border-subtle);
}
.bx-invoice-meta span { display: block; font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.bx-invoice-meta strong { font-size: 15px; display: block; }

.bx-invoice-totals {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.bx-invoice-totals > div { display: flex; justify-content: flex-end; align-items: baseline; font-size: 14px; }
.bx-invoice-totals span { color: var(--text-muted); width: 120px; text-align: right; margin-right: 24px; }
.bx-invoice-totals strong { width: 100px; text-align: right; }
.bx-invoice-total { font-size: 18px !important; }
.bx-invoice-total strong { color: var(--accent-purple) !important; }
.bx-invoice-balance strong { color: var(--accent-amber) !important; }
.bx-invoice-credit { color: var(--success); }
.bx-invoice-credit strong { color: var(--success) !important; }

/* Quote detail */
.bx-quote-proposal { margin-bottom: 24px; }
.bx-quote-proposal h3,
.bx-quote-notes h3 { font-size: 0.95rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 12px; }
.bx-quote-proposal-content {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-primary);
}
.bx-quote-proposal-content ul,
.bx-quote-proposal-content ol { padding-left: 20px; margin: 8px 0; }
.bx-quote-proposal-content li { margin-bottom: 4px; }
.bx-quote-notes { margin-top: 20px; }
.bx-quote-notes p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.bx-invoice-meta .bx-quote-accepted strong { color: var(--accent-green) !important; }
.bx-invoice-meta .bx-quote-accepted span { color: var(--accent-green) !important; }
.bx-quote-actions { margin-top: 24px; display: flex; justify-content: flex-end; }
.bx-quote-actions .bx-btn-accept {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 10px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(99, 102, 241, 0.1));
  color: var(--success);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.bx-quote-actions .bx-btn-accept:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(99, 102, 241, 0.18));
  border-color: var(--success);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
  transform: translateY(-1px);
}
.bx-quote-actions .bx-btn-accept:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.bx-invoice-transactions {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.bx-invoice-transactions h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.bx-promo-credit-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.bx-credit-available {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}
.bx-credit-available strong { color: var(--accent-purple); }
.bx-promo-box {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  margin: 0;
}
.bx-promo-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.bx-promo-label svg { stroke: var(--accent-purple); }
.bx-promo-input-group {
  display: flex;
  gap: 8px;
}
.bx-promo-input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  outline: none;
  transition: border-color 0.2s;
}
.bx-promo-input:focus { border-color: var(--accent-purple); }
.bx-promo-input::placeholder { text-transform: none; letter-spacing: 0; color: var(--text-muted); }
.bx-promo-apply {
  padding: 8px 18px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-purple), #7c3aed);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.bx-promo-apply:hover { opacity: 0.9; }
.bx-promo-apply:disabled { opacity: 0.5; cursor: not-allowed; }
tr.bx-promo-row { color: #34d399; font-weight: 600; }
.bx-remove-inline {
  background: none;
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 8px;
  vertical-align: middle;
  transition: all 0.2s;
}
.bx-remove-inline:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
}
.bx-remove-inline:disabled { opacity: 0.4; cursor: not-allowed; }

/* Downloads */
.bx-dl-search-wrap {
  position: relative;
  max-width: 400px;
  margin-bottom: 16px;
}
.bx-dl-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.bx-dl-pill {
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.03);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}
.bx-dl-pill:hover {
  border-color: rgba(124, 91, 240, 0.4);
  color: var(--text-primary);
  background: rgba(124, 91, 240, 0.06);
}
.bx-dl-pill.active {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  color: #fff;
  font-weight: 600;
}
.bx-dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
.bx-dl-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: all 0.25s ease;
}
.bx-dl-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}
.bx-dl-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124, 91, 240, 0.12), rgba(91, 139, 240, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
}
.bx-dl-card-body {
  flex: 1;
  min-width: 0;
}
.bx-dl-card-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bx-dl-card-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bx-dl-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bx-dl-cat-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(124, 91, 240, 0.1);
  color: #c4b5fd;
}
.bx-dl-count {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}
.bx-dl-lock {
  color: var(--accent-amber);
  display: inline-flex;
}
.bx-dl-btn {
  flex-shrink: 0;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(124, 91, 240, 0.3);
  background: rgba(124, 91, 240, 0.08);
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: var(--font-sans);
}
.bx-dl-btn:hover {
  background: rgba(124, 91, 240, 0.18);
  border-color: var(--accent-purple);
  box-shadow: 0 0 12px rgba(124, 91, 240, 0.15);
}
.bx-dl-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (max-width: 600px) {
  .bx-dl-grid { grid-template-columns: 1fr; }
  .bx-dl-card { flex-direction: column; }
  .bx-dl-btn { align-self: stretch; justify-content: center; }
}

/* Invoice Toolbar — Search & Per-page */
.bx-invoices-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.bx-search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 400px;
}
.bx-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.bx-search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-sans);
  transition: all 0.25s ease;
  outline: none;
}
.bx-search-input::placeholder { color: var(--text-muted); }
.bx-search-input:focus {
  border-color: rgba(124, 91, 240, 0.5);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(124, 91, 240, 0.1);
}
.bx-perpage-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}
.bx-select-sm {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  font-size: 13px;
  font-family: var(--font-sans);
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%238888a0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}
.bx-select-sm:focus {
  border-color: rgba(124, 91, 240, 0.5);
}
.bx-select-sm option {
  background: #1a1a2e;
  color: var(--text-primary);
}

/* Pagination */
.bx-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}
.bx-page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.bx-page-btn:hover:not(:disabled) {
  border-color: rgba(124, 91, 240, 0.5);
  background: rgba(124, 91, 240, 0.1);
  color: #c4b5fd;
}
.bx-page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.bx-page-info {
  font-size: 14px;
  color: var(--text-secondary);
}
.bx-page-total {
  color: var(--text-muted);
  font-size: 13px;
}

/* Mass Pay */
.bx-th-check, .bx-td-check { width: 36px; text-align: center; vertical-align: middle; }
.bx-mass-check, #bx-mass-all {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 5px;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  vertical-align: middle;
}
.bx-mass-check:hover, #bx-mass-all:hover {
  border-color: rgba(124, 91, 240, 0.5);
  background: rgba(124, 91, 240, 0.08);
}
.bx-mass-check:checked, #bx-mass-all:checked {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
}
.bx-mass-check:checked::after, #bx-mass-all:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.bx-masspay-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(16, 185, 129, 0.06));
  gap: 16px;
}
.bx-masspay-info { font-size: 14px; color: var(--text-secondary); }
.bx-masspay-info strong { color: var(--text-primary); }
.bx-btn-masspay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 10px;
  border: 1px solid rgba(124, 91, 240, 0.4);
  background: linear-gradient(135deg, rgba(124, 91, 240, 0.18), rgba(91, 139, 240, 0.12));
  color: #c4b5fd;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.bx-btn-masspay:hover {
  background: linear-gradient(135deg, rgba(124, 91, 240, 0.28), rgba(91, 139, 240, 0.2));
  border-color: var(--accent-purple);
  box-shadow: 0 0 20px rgba(124, 91, 240, 0.2);
  transform: translateY(-1px);
}
.bx-btn-masspay:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.bx-invoice-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.bx-invoice-actions .bx-btn-pay-lg { margin-top: 0; flex: 1; }
.bx-invoice-actions .bx-btn-credit + .bx-btn-pay-lg { flex: 1; }

.bx-btn-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  padding: 14px 24px;
  border-radius: 10px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
  color: var(--accent-purple);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.bx-btn-credit:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.18));
  border-color: var(--accent-purple);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
  transform: translateY(-1px);
}
.bx-btn-credit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.bx-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  transition: all 0.25s ease;
  text-decoration: none;
}
.bx-btn-icon:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  background: rgba(99, 102, 241, 0.1);
}

.bx-btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}
.bx-btn-pdf:hover {
  border-color: var(--accent-purple);
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.1);
}

.bx-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Invoice Pay Buttons */
.bx-btn-pay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.bx-btn-pay:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--success);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
}

.bx-btn-pay-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  margin-top: 24px;
  border-radius: 10px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(99, 102, 241, 0.1));
  color: var(--success);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.bx-btn-pay-lg:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(99, 102, 241, 0.18));
  border-color: var(--success);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
  transform: translateY(-1px);
}

/* Payment Modal */
.bx-pay-modal {
  padding: 0;
}
.bx-pay-header {
  text-align: center;
  padding-bottom: 20px;
}
.bx-pay-header svg {
  color: var(--accent-purple);
  margin-bottom: 12px;
  opacity: 0.8;
}
.bx-pay-modal h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.bx-pay-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1;
}
.bx-pay-amount-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.bx-pay-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 91, 240, 0.3), transparent);
  margin-bottom: 24px;
}
.bx-pay-loading {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 20px 0;
  text-align: center;
}
.bx-pay-error {
  color: #ef4444;
  text-align: center;
}
.bx-pay-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-align: center;
}
.bx-pay-gateways {
  margin-bottom: 24px;
}
.bx-pay-option {
  display: block;
  cursor: pointer;
  margin-bottom: 8px;
}
.bx-pay-option input {
  display: none;
}
.bx-pay-option-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.25s ease;
}
.bx-pay-option-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  position: relative;
  transition: all 0.25s ease;
}
.bx-pay-option input:checked + .bx-pay-option-inner .bx-pay-option-radio {
  border-color: var(--accent-purple);
  background: var(--accent-purple);
  box-shadow: inset 0 0 0 3px var(--bg-secondary);
}
.bx-pay-option input:checked + .bx-pay-option-inner {
  border-color: var(--accent-purple);
  background: rgba(99, 102, 241, 0.08);
  color: var(--text-primary);
}
.bx-pay-option:hover .bx-pay-option-inner {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}
.bx-pay-actions {
  display: flex;
  gap: 12px;
  padding-top: 4px;
}
.bx-pay-actions .btn-ghost-sm {
  flex: 0 0 auto;
}
.bx-pay-submit {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--accent-purple), #8b5cf6);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.bx-pay-submit:hover {
  box-shadow: 0 4px 20px rgba(124, 91, 240, 0.35);
  transform: translateY(-1px);
}
.bx-pay-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ============================================
   SPA — Ticket Messages
   ============================================ */

.bx-messages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.bx-message {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px 24px;
}

.bx-message--admin {
  border-left: 3px solid var(--accent-purple);
  background: rgba(124,91,240,0.03);
}

.bx-message-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
}

.bx-message-meta strong { color: var(--text-primary); }
.bx-message-meta span { color: var(--text-muted); }

.bx-message-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  white-space: pre-wrap;
}

.bx-ticket-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ============================================
   SPA — Store Products
   ============================================ */

.bx-store-group {
  margin-bottom: 40px;
}
.bx-store-group:last-child {
  margin-bottom: 0;
}
.bx-store-group-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.bx-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bx-store-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease-out);
}

.bx-store-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.bx-store-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.bx-store-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; flex: 1; margin-bottom: 20px; }

.bx-store-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.bx-store-price { font-size: 16px; font-weight: 700; color: var(--accent-green); }

/* ============================================
   SPA — Pricing Options
   ============================================ */

.bx-order-gateway-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.bx-order-gateway-section h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 10px 0;
}
.bx-pricing-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bx-pricing-option {
  display: block;
  cursor: pointer;
}

.bx-pricing-option input { display: none; }

.bx-pricing-option-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: all 0.2s;
  font-size: 14px;
}

.bx-pricing-option input:checked + .bx-pricing-option-inner {
  background: rgba(124,91,240,0.08);
  border-color: rgba(124,91,240,0.3);
}

.bx-pricing-option-inner strong { color: var(--text-primary); }
.bx-pricing-option-inner span { color: var(--accent-green); font-weight: 600; }

.bx-product-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.bx-product-desc ul, .bx-product-desc ol { padding-left: 20px; }
.bx-product-desc li { margin-bottom: 8px; }

/* ============================================
   SPA — Divider
   ============================================ */

.bx-divider {
  border: none;
  height: 1px;
  background: var(--border-subtle);
  margin: 24px 0;
}

.bx-form-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: -4px 0 20px;
}

/* Address autocomplete */

.bx-addr-wrap {
  position: relative;
}

.bx-addr-results {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 2147483647;
  background: var(--bg-secondary);
  border: 1px solid rgba(124, 91, 240, 0.25);
  border-radius: 10px;
  margin-top: 4px;
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.bx-addr-header {
  padding: 8px 14px;
  font-size: 0.75rem;
  color: var(--accent-purple);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.bx-addr-item {
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;
}

.bx-addr-item:last-child {
  border-bottom: none;
}

.bx-addr-item:hover {
  background: rgba(124, 91, 240, 0.08);
  color: var(--text-primary);
}

/* Password strength rules */

.bx-pw-rules {
  display: none;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  margin: -8px 0 16px;
}

.bx-pw-rule {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  padding: 3px 0;
  transition: color 0.2s;
}

.bx-pw-rule.bx-pw-fail {
  color: rgba(239, 68, 68, 0.8);
}

.bx-pw-rule.bx-pw-pass {
  color: var(--accent-green);
}

.bx-pw-icon {
  font-size: 0.75rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.bx-pw-match {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  padding: 6px 0;
  margin: -8px 0 16px;
}

.bx-pw-match.bx-pw-fail {
  color: rgba(239, 68, 68, 0.8);
}

.bx-pw-match.bx-pw-pass {
  color: var(--accent-green);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding-top: 100px; }
  .hero-content { max-width: 100%; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 420px; width: 100%; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .products-showcase { grid-template-columns: repeat(2, 1fr); }
  .tech-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .bx-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .bx-grid-2 { grid-template-columns: 1fr; }
  .bx-products-grid { grid-template-columns: repeat(2, 1fr); }
  .bx-invoice-meta { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-mobile-toggle { display: flex; }
  .mobile-menu { display: flex; }
  .hero-title { letter-spacing: -1px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .products-showcase { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .stat-divider { width: 40px; height: 1px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-card { padding: 48px 28px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links { gap: 40px; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .tech-stack-grid { grid-template-columns: repeat(2, 1fr); }
  .bx-stats-grid { grid-template-columns: 1fr; }
  .bx-quick-actions { grid-template-columns: 1fr; }
  .bx-products-grid { grid-template-columns: 1fr; }
  .bx-kb-categories { grid-template-columns: 1fr; }
  .bx-modal { padding: 28px; margin: 12px; }
  .bx-toast-container { left: 24px; right: 24px; }
  .bx-toast { min-width: auto; }
}

/* ── Solution Modal ── */

.solution-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5,5,16,0.89);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.solution-modal {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.25s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}

.solution-modal::-webkit-scrollbar { width: 5px; }
.solution-modal::-webkit-scrollbar-track { background: transparent; }
.solution-modal::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
.solution-modal::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }

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

.solution-modal-close {
  position: fixed;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  z-index: 10000;
}

.solution-modal-close:hover {
  color: #fff;
}

.solution-modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(124, 91, 240, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c5bf0;
  margin: 0 auto 20px;
}

.solution-modal-icon.icon-blue {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.solution-modal-icon.icon-green {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.solution-modal-icon.icon-amber {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.solution-modal h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--text-primary);
  text-align: center;
}

.solution-modal-body {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.solution-modal-body p {
  margin-bottom: 16px;
}

.solution-modal-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 24px 0 12px;
}

.solution-modal-body ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.solution-modal-body li {
  margin-bottom: 8px;
}

.solution-modal-body strong {
  color: var(--text-primary);
}

.bx-2fa-code-input {
  text-align: center;
  font-size: 1.8rem !important;
  letter-spacing: 0.5em;
  font-weight: 700;
  padding: 14px !important;
}

@media (max-width: 640px) {
  .solution-modal {
    padding: 28px 24px;
    margin: 12px;
  }
}

/* ── Announcements ── */

.bx-announcements-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bx-announcement-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px 28px;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bx-announcement-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.bx-announcement-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.bx-announcement-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.bx-announcement-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0 0 12px;
  line-height: 1.5;
}

.bx-announcement-read {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
}

.bx-announcement-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* TTS Player */
.bx-tts-player {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
}
.bx-tts-lang {
  display: flex;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
}
.bx-tts-lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}
.bx-tts-lang-btn:not(:last-child) {
  border-right: 1px solid var(--border-subtle);
}
.bx-tts-lang-btn:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}
.bx-tts-lang--active {
  background: rgba(124,91,240,0.15) !important;
  color: var(--accent-purple) !important;
}
.bx-tts-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 8px 16px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.bx-tts-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-purple);
  color: var(--accent-purple);
}
.bx-tts-icon-loading {
  animation: tts-spin 1s linear infinite;
}
@keyframes tts-spin {
  to { transform: rotate(360deg); }
}
.bx-tts-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.bx-tts-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
  min-width: 100px;
}
.bx-tts-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
  border-radius: 3px;
  transition: width 0.2s linear;
}
.bx-tts-time {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .bx-tts-player { flex-wrap: wrap; }
  .bx-tts-progress-wrap { width: 100%; }
}

.bx-announcement-content {
  font-size: 0.95rem;
  line-height: 1.7;
}

.bx-announcement-content h3 {
  margin-top: 24px;
  margin-bottom: 12px;
}

.bx-announcement-content p {
  margin-bottom: 12px;
}

.bx-announcement-content ul,
.bx-announcement-content ol {
  padding-left: 24px;
  margin-bottom: 12px;
}

.bx-announcement-content li {
  margin-bottom: 6px;
}

.bx-announcement-content a {
  color: var(--accent);
}

.bx-announcement-content strong {
  color: var(--text-primary);
}

/* ── Knowledge Base ── */

.bx-kb-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.bx-kb-cat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bx-kb-cat-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.12);
}

.bx-kb-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 4px;
}

.bx-kb-cat-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.bx-kb-cat-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.bx-kb-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.bx-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.bx-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.bx-breadcrumb a:hover {
  color: var(--accent);
}

.bx-breadcrumb-sep {
  color: var(--text-muted);
}

.bx-kb-search-wrap {
  position: relative;
}

.bx-kb-search-wrap input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  font-size: 15px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  outline: none;
  transition: all 0.3s ease;
}

.bx-kb-search-wrap input:focus {
  border-color: rgba(124, 91, 240, 0.4);
  box-shadow: 0 0 0 3px rgba(124, 91, 240, 0.1);
}

.bx-kb-search-wrap input::placeholder {
  color: var(--text-muted);
}

.bx-kb-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.bx-kb-articles {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bx-kb-article-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.15s;
}

.bx-kb-article-row:first-child {
  padding-top: 0;
}

.bx-kb-article-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bx-kb-article-row:hover {
  color: var(--accent);
}

.bx-kb-article-info {
  flex: 1;
  min-width: 0;
}

.bx-kb-article-info h4 {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bx-kb-views {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.bx-kb-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
}

.bx-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.bx-badge--private {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.bx-kb-article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.bx-kb-article-content {
  font-size: 0.95rem;
  line-height: 1.7;
}

.bx-kb-article-content h1,
.bx-kb-article-content h2,
.bx-kb-article-content h3 {
  margin-top: 24px;
  margin-bottom: 12px;
}

.bx-kb-article-content p {
  margin-bottom: 12px;
}

.bx-kb-article-content img {
  max-width: 100%;
  border-radius: 8px;
}

.bx-kb-article-content ul,
.bx-kb-article-content ol {
  padding-left: 24px;
  margin-bottom: 12px;
}

.bx-kb-article-content a {
  color: var(--accent);
}

.bx-kb-vote {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.bx-kb-vote-buttons {
  display: flex;
  gap: 8px;
}

.bx-kb-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.bx-kb-vote-btn:hover {
  border-color: var(--accent-purple);
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.1);
}
.bx-kb-vote-btn[data-vote="up"]:hover {
  border-color: var(--success);
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}
.bx-kb-vote-btn[data-vote="down"]:hover {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.bx-kb-login-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 14px 18px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.bx-kb-login-hint a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.bx-kb-login-hint a:hover {
  text-decoration: underline;
}

/* ============================================
   About Page
   ============================================ */

.bx-about .bx-page-header {
  margin-bottom: 2rem;
}

.bx-about-content h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bx-about-content p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.bx-about-content p:last-child {
  margin-bottom: 0;
}

.bx-about-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Timeline */

.bx-about-timeline {
  position: relative;
  padding-left: 32px;
  margin: 2rem 0;
}

.bx-about-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-purple), var(--accent-blue), transparent);
  border-radius: 1px;
}

.bx-timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.bx-timeline-item:last-child {
  margin-bottom: 0;
}

.bx-timeline-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-purple);
  box-shadow: 0 0 12px rgba(124, 91, 240, 0.4);
}

.bx-timeline-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-purple);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.bx-timeline-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.bx-timeline-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Services Grid */

.bx-about-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.bx-about-service {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(124, 91, 240, 0.06);
  border: 1px solid rgba(124, 91, 240, 0.12);
  border-radius: 10px;
  transition: all 0.3s var(--ease-out);
}

.bx-about-service:hover {
  background: rgba(124, 91, 240, 0.1);
  border-color: rgba(124, 91, 240, 0.25);
  transform: translateY(-1px);
}

.bx-about-service svg {
  flex-shrink: 0;
  color: var(--accent-purple);
}

.bx-about-service span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* About responsive */

@media (max-width: 600px) {
  .bx-about-services {
    grid-template-columns: 1fr;
  }

  .bx-about-timeline {
    padding-left: 26px;
  }

  .bx-timeline-item::before {
    left: -23px;
  }
}

/* ============================================
   Service Detail
   ============================================ */

.bx-clickable-row {
  cursor: pointer;
  transition: background 0.2s;
}

.bx-clickable-row:hover {
  background: rgba(124, 91, 240, 0.06) !important;
}

/* Service Detail Overview */
.bx-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--accent-purple);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 6px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.bx-breadcrumb:hover { opacity: 1; }
.bx-breadcrumb::before { content: '←'; margin-right: 4px; }

.bx-sd-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.bx-sd-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bx-sd-card-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}
.bx-sd-card-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

@media (max-width: 900px) {
  .bx-sd-overview { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .bx-sd-overview { grid-template-columns: 1fr; }
}

.bx-detail-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.bx-detail-table {
  width: 100%;
  border-collapse: collapse;
}

.bx-detail-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.bx-detail-table tr:last-child {
  border-bottom: none;
}

.bx-detail-table td {
  padding: 10px 0;
  font-size: 0.9rem;
  vertical-align: top;
}

.bx-detail-label {
  color: var(--text-muted);
  font-weight: 500;
  width: 180px;
  white-space: nowrap;
  padding-right: 24px;
}

.bx-detail-table code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-purple);
  background: rgba(124, 91, 240, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .bx-detail-label {
    width: auto;
    display: block;
    padding-right: 0;
    padding-bottom: 2px;
  }

  .bx-detail-table td {
    display: block;
    padding: 4px 0;
  }

  .bx-detail-table tr {
    padding: 8px 0;
    display: block;
  }
}

/* Session Timeout Warning */
.bx-session-warning-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  animation: fadeIn 0.3s ease;
}
.bx-session-warning {
  background: linear-gradient(135deg, rgba(30, 20, 50, 0.98), rgba(20, 15, 40, 0.98));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 20px;
  padding: 40px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(168, 85, 247, 0.15);
}
.bx-session-warning-icon {
  color: rgba(168, 85, 247, 0.8);
  margin-bottom: 16px;
}
.bx-session-warning h3 {
  color: #fff;
  font-size: 1.4rem;
  margin: 0 0 12px;
}
.bx-session-warning p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  margin: 0 0 24px;
  line-height: 1.5;
}
.bx-session-warning #bx-session-countdown {
  color: #a855f7;
  font-weight: 700;
  font-size: 1.1rem;
}
.bx-session-warning .bx-btn-primary {
  width: 100%;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  border: none;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.bx-session-warning .bx-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}

/* ── 404 Page ── */
.bx-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  background: var(--bg-primary, #0a0a1a);
}
.bx-404-container {
  text-align: center;
  position: relative;
  max-width: 500px;
}
.bx-404-glitch {
  font-size: 8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: rgba(168, 85, 247, 0.15);
  position: relative;
  line-height: 1;
  user-select: none;
  animation: bx404pulse 3s ease-in-out infinite;
}
.bx-404-glitch::before,
.bx-404-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.bx-404-glitch::before {
  color: rgba(0, 180, 216, 0.3);
  animation: bx404glitch1 2.5s infinite;
  clip-path: inset(0 0 60% 0);
}
.bx-404-glitch::after {
  color: rgba(168, 85, 247, 0.3);
  animation: bx404glitch2 2.5s infinite;
  clip-path: inset(40% 0 0 0);
}
@keyframes bx404glitch1 {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-3px, 3px); }
  40% { transform: translate(3px, -3px); }
  60% { transform: translate(-2px, 1px); }
  80% { transform: translate(2px, -2px); }
}
@keyframes bx404glitch2 {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(3px, -2px); }
  40% { transform: translate(-3px, 2px); }
  60% { transform: translate(2px, 3px); }
  80% { transform: translate(-2px, -1px); }
}
@keyframes bx404pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.bx-404-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #a855f7, transparent);
  margin: 1.5rem auto;
  border-radius: 2px;
}
.bx-404-title {
  font-size: 1.5rem;
  color: #f0f0f5;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.bx-404-message {
  color: #8888a0;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.bx-404-message strong {
  color: #a855f7;
}
.bx-404-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.bx-404-btn {
  padding: 0.7rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.bx-404-btn.bx-btn-primary {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  border: none;
}
.bx-404-btn.bx-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}
.bx-404-btn.bx-btn-outline {
  background: transparent;
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.bx-404-btn.bx-btn-outline:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: #a855f7;
  transform: translateY(-2px);
}
.bx-404-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.bx-404-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(168, 85, 247, 0.3);
  border-radius: 50%;
  animation: bx404float 4s ease-in-out infinite;
}
.bx-404-particles span:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.bx-404-particles span:nth-child(2) { top: 20%; left: 80%; animation-delay: 0.5s; }
.bx-404-particles span:nth-child(3) { top: 50%; left: 5%; animation-delay: 1s; }
.bx-404-particles span:nth-child(4) { top: 70%; left: 90%; animation-delay: 1.5s; }
.bx-404-particles span:nth-child(5) { top: 85%; left: 30%; animation-delay: 2s; }
.bx-404-particles span:nth-child(6) { top: 15%; left: 50%; animation-delay: 0.3s; width: 3px; height: 3px; }
.bx-404-particles span:nth-child(7) { top: 40%; left: 70%; animation-delay: 0.8s; width: 5px; height: 5px; }
.bx-404-particles span:nth-child(8) { top: 60%; left: 20%; animation-delay: 1.3s; }
.bx-404-particles span:nth-child(9) { top: 30%; left: 95%; animation-delay: 1.8s; width: 3px; height: 3px; }
.bx-404-particles span:nth-child(10) { top: 90%; left: 60%; animation-delay: 2.3s; width: 5px; height: 5px; }
@keyframes bx404float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-20px) scale(1.5); opacity: 0.7; }
}

/* ── Client Emails ── */
/* ── Emails List ── */
.bx-emails-list { display: flex; flex-direction: column; gap: 2px; }
.bx-email-item { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 10px; cursor: pointer; transition: all 0.2s ease; }
.bx-email-item:hover { border-color: var(--accent-purple); background: rgba(139,92,246,0.04); transform: translateX(4px); }
.bx-email-icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(139,92,246,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent-purple); }
.bx-email-content { flex: 1; min-width: 0; }
.bx-email-subject { font-size: 14px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.bx-email-recipient { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-email-date { font-size: 12px; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; text-align: right; }
.bx-email-arrow { color: rgba(255,255,255,0.15); flex-shrink: 0; transition: color 0.2s; }
.bx-email-item:hover .bx-email-arrow { color: var(--accent-purple); }
.bx-email-count { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

/* ── Email Detail ── */
.bx-email-detail-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.bx-email-detail-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(139,92,246,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent-purple); }
.bx-email-detail-title { flex: 1; }
.bx-email-detail-title h2 { font-size: 18px; font-weight: 700; color: var(--text-primary); margin: 0 0 4px; line-height: 1.3; }
.bx-email-detail-title .bx-email-detail-date { font-size: 13px; color: var(--text-muted); }
.bx-email-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 24px; padding: 16px 20px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; }
.bx-email-meta > div { display: flex; flex-direction: column; gap: 4px; }
.bx-email-meta span { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; font-weight: 500; }
.bx-email-meta strong { font-size: 13px; color: var(--text-primary); font-weight: 600; }
.bx-email-body-wrap { position: relative; }
.bx-email-body-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; font-weight: 500; margin-bottom: 10px; }
.bx-email-iframe-wrap { border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02); }
.bx-email-iframe { width: 100%; min-height: 200px; border: none; display: block; background: transparent; border-radius: 10px; }

/* ── Pagination ── */
.bx-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; padding: 16px 0; }
.bx-pagination-btn { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: var(--text-primary); padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 500; transition: all 0.15s ease; }
.bx-pagination-btn:hover { background: rgba(255,255,255,0.1); border-color: var(--accent-purple); color: var(--accent-purple); }
.bx-pagination-info { font-size: 13px; color: var(--text-muted); }

@media (max-width: 640px) {
  .bx-email-item { padding: 14px 16px; gap: 12px; }
  .bx-email-icon { width: 36px; height: 36px; border-radius: 8px; }
  .bx-email-icon svg { width: 16px; height: 16px; }
  .bx-email-date { display: none; }
  .bx-email-detail-header { flex-direction: column; gap: 12px; }
  .bx-email-meta { flex-direction: column; gap: 12px; }
  .bx-email-body { padding: 16px; }
}

/* ── Cancel Service Modal ── */
.bx-cancel-options { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.bx-radio-option { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; cursor: pointer; transition: all 0.15s ease; background: rgba(255,255,255,0.02); }
.bx-radio-option:hover { border-color: rgba(168,85,247,0.3); background: rgba(168,85,247,0.05); }
.bx-radio-option input[type="radio"] { margin-top: 4px; accent-color: #a855f7; }
.bx-radio-label { display: flex; flex-direction: column; gap: 2px; }
.bx-radio-label strong { color: var(--text-primary); font-size: 14px; }
.bx-radio-label small { color: var(--text-muted); font-size: 12px; }
.bx-cancel-reason { margin-top: 12px; width: 100%; }
.bx-btn-danger { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, #dc2626, #ef4444); color: #fff; border: none; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.bx-btn-danger:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(239,68,68,0.3); }
.bx-btn-pending { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.06); color: var(--text-muted); border: 1px solid var(--border-subtle); padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: default; opacity: 0.85; }
.bx-sd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.bx-sd-actions .btn-primary-sm { display: inline-flex; align-items: center; gap: 6px; }
.bx-text-warning { color: #fbbf24; }

/* ── Upgrade / Downgrade ── */
.bx-upgrade-current { border: 1px solid rgba(168,85,247,0.3); background: rgba(168,85,247,0.05); }
.bx-upgrade-current-badge { display: inline-block; padding: 2px 10px; border-radius: 12px; background: var(--accent-purple); color: #fff; font-size: 11px; font-weight: 600; margin-bottom: 8px; }
.bx-upgrade-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 16px 0; }
.bx-upgrade-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 20px; cursor: pointer; transition: all 0.2s; }
.bx-upgrade-card:hover { border-color: rgba(168,85,247,0.3); background: rgba(168,85,247,0.05); transform: translateY(-2px); }
.bx-upgrade-card.selected { border-color: #a855f7; background: rgba(168,85,247,0.1); box-shadow: 0 0 20px rgba(168,85,247,0.15); }
.bx-upgrade-card h3 { color: var(--text-primary); margin-bottom: 8px; font-size: 16px; }
.bx-upgrade-price { color: #34d399; font-size: 22px; font-weight: 700; margin: 8px 0; }
.bx-upgrade-price small { color: var(--text-muted); font-size: 13px; font-weight: 400; }
.bx-upgrade-cycles { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.bx-upgrade-cycle-option { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; cursor: pointer; transition: all 0.2s; background: rgba(255,255,255,0.02); }
.bx-upgrade-cycle-option:hover:not(.bx-cycle-current) { border-color: rgba(168,85,247,0.3); background: rgba(168,85,247,0.05); }
.bx-upgrade-cycle-option.bx-cycle-current { opacity: 0.5; cursor: default; }
.bx-upgrade-cycle-option.bx-cycle-selected { border-color: #a855f7; background: rgba(168,85,247,0.1); box-shadow: 0 0 15px rgba(168,85,247,0.12); }
.bx-cycle-info { display: flex; flex-direction: column; gap: 2px; }
.bx-cycle-info strong { color: var(--text-primary); font-size: 14px; }
.bx-cycle-price { color: #34d399; font-size: 13px; font-weight: 600; }
.bx-cycle-badge { font-size: 11px; padding: 3px 10px; border-radius: 12px; background: rgba(255,255,255,0.06); color: var(--text-muted); font-weight: 600; }
.bx-upgrade-actions { display: flex; gap: 12px; align-items: center; margin-top: 24px; flex-wrap: wrap; }
.bx-upgrade-actions .form-group { max-width: 220px; margin-bottom: 0; }
.bx-section-title { color: var(--text-primary); font-size: 18px; margin: 24px 0 12px; font-weight: 600; }

/* ── Add Funds ── */
.bx-funds-center { max-width: 480px; margin: 0 auto; text-align: center; }
.bx-funds-center .bx-card-body { text-align: center; }
.bx-funds-center .form-group { text-align: center; }
.bx-funds-center .form-group label { text-align: center; }
.bx-funds-center .form-group input { text-align: center; }
.bx-funds-amount { -moz-appearance: textfield; }
.bx-funds-amount::-webkit-outer-spin-button,
.bx-funds-amount::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bx-funds-balance { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 24px; padding: 24px; background: rgba(168,85,247,0.08); border: 1px solid rgba(168,85,247,0.2); border-radius: 12px; text-align: center; }
.bx-funds-balance span { color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.bx-funds-balance strong { color: #34d399; font-size: 32px; font-weight: 700; }
.bx-funds-limits { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.bx-funds-quick { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; justify-content: center; }
.bx-funds-quick-btn { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: var(--text-primary); padding: 10px 22px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 14px; transition: all 0.2s ease; }
.bx-funds-quick-btn:hover, .bx-funds-quick-btn.active { border-color: var(--accent-purple); background: rgba(168,85,247,0.12); color: var(--accent-purple); box-shadow: 0 0 0 2px rgba(168,85,247,0.15); }
.bx-funds-gateways { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.bx-funds-gw-option { display: flex; align-items: center; justify-content: center; padding: 14px 28px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; cursor: pointer; transition: all 0.2s ease; min-width: 120px; text-align: center; }
.bx-funds-gw-option:hover { border-color: var(--accent-purple); background: rgba(168,85,247,0.06); }
.bx-funds-gw-option.active { border-color: var(--accent-purple); background: rgba(168,85,247,0.12); box-shadow: 0 0 0 2px rgba(168,85,247,0.2); }
.bx-funds-gw-option input[type="radio"] { display: none; }
.bx-funds-gw-option span { font-size: 14px; font-weight: 600; color: var(--text-secondary); transition: color 0.2s; }
.bx-funds-gw-option.active span { color: var(--accent-purple); }
.bx-funds-confirm-details { margin: 20px 0; padding: 16px 24px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; }
.bx-funds-confirm-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; }
.bx-funds-confirm-row + .bx-funds-confirm-row { border-top: 1px solid rgba(255,255,255,0.06); }
.bx-funds-confirm-row span { color: var(--text-muted); font-size: 13px; }
.bx-funds-confirm-row strong { color: var(--text-primary); font-size: 15px; font-weight: 700; }
.bx-label { color: var(--text-secondary); font-size: 13px; font-weight: 600; margin-bottom: 4px; }

/* ── Security / 2FA ── */
.bx-security-center { max-width: 520px; margin: 0 auto; }
.bx-security-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.bx-security-header h2 { margin: 0 0 4px; font-size: 18px; color: var(--text-primary); }
.bx-security-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(139,92,246,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent-purple); }
.bx-2fa-status-msg { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: rgba(52,211,153,0.06); border: 1px solid rgba(52,211,153,0.15); border-radius: 8px; margin-bottom: 16px; font-size: 13px; color: var(--text-secondary); }
.bx-2fa-status-msg strong { color: var(--text-primary); }
.bx-2fa-disabled-msg { margin-top: 8px; }
.bx-2fa-disabled-msg .btn-primary { margin-top: 16px; }
.bx-badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.bx-badge-success { background: rgba(52,211,153,0.15); color: #34d399; }
.bx-badge-warning { background: rgba(251,191,36,0.15); color: #fbbf24; }
.bx-2fa-active { margin-top: 16px; }
.bx-2fa-qr { display: flex; justify-content: center; margin: 20px 0; padding: 20px; background: #fff; border-radius: 12px; width: fit-content; margin-left: auto; margin-right: auto; }
.bx-2fa-secret { text-align: center; margin: 16px 0; }
.bx-2fa-secret span { color: var(--text-muted); font-size: 12px; display: block; margin-bottom: 6px; }
.bx-2fa-secret code { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 6px; color: var(--accent-purple); font-size: 16px; font-weight: 600; letter-spacing: 2px; user-select: all; }
.bx-2fa-regen-btn { background: transparent; border: 1px solid rgba(255,255,255,0.1); color: var(--text-muted); padding: 6px 16px; border-radius: 6px; font-size: 12px; cursor: pointer; transition: all 0.2s ease; }
.bx-2fa-regen-btn:hover { color: var(--accent-purple); border-color: var(--accent-purple); background: rgba(139,92,246,0.08); }
.bx-2fa-verify { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 16px; }
.bx-2fa-code { max-width: 140px; text-align: center; font-size: 20px; font-weight: 600; letter-spacing: 6px; }
.bx-2fa-password { margin-top: 8px; }
