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

:root {
  --bg-primary: #050510;
  --bg-secondary: #0a0a1a;
  --bg-card: rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.06);
  --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;
}

/* ============================================
   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.98);
  backdrop-filter: blur(20px);
  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-link--sub {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  padding-left: 16px;
}

.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 80px;
  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: 120px 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: 120px 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: 120px 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: 120px 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 {
  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;
}

.form-group input:focus,
.form-group textarea: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 {
  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-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); }

/* ============================================
   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;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 20px;
  flex-wrap: wrap;
}

.bx-page-header h1 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.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;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.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); }

.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: 10px 14px;
  margin-bottom: 4px;
}

.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); }

.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; }

.bx-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
}

.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 { 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: 20px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 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: 4px; }
.bx-invoice-meta strong { font-size: 15px; }

.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; gap: 40px; font-size: 14px; }
.bx-invoice-totals span { color: var(--text-muted); min-width: 100px; }
.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; }

/* ============================================
   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-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;
}

/* ============================================
   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-modal { padding: 28px; margin: 12px; }
  .bx-toast-container { left: 24px; right: 24px; }
  .bx-toast { min-width: auto; }
}
