/* ==========================================================================
   GLOBAL KPI CARDS & TOAST NOTIFICATION SYSTEM
   ========================================================================== */
.kpi-card {
  background: #12141e !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-md) !important;
  padding: 18px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.kpi-card:hover {
  border-color: rgba(250, 204, 21, 0.3) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.kpi-meta span {
  display: block !important;
  font-size: 11px !important;
  color: var(--text-dim) !important;
  text-transform: uppercase !important;
  font-family: var(--font-mono) !important;
  margin-bottom: 4px !important;
  letter-spacing: 0.04em !important;
}

.kpi-meta strong {
  font-size: 20px !important;
  font-weight: 700 !important;
  font-family: var(--font-mono) !important;
  color: var(--text-main) !important;
}

.kpi-icon {
  width: 38px !important;
  height: 38px !important;
  background: #181b28 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-sm) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--amber-primary) !important;
  flex-shrink: 0 !important;
}

/* Toast Notifications */
.toast {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  background: var(--amber-primary) !important;
  color: #090a0f !important;
  padding: 10px 18px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  font-family: var(--font-mono) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(12px) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  pointer-events: none !important;
  z-index: 999999 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(250, 204, 21, 0.3) !important;
}

.toast.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

/* ==========================================================================
   DESIGN TOKENS — OBSIDIAN TITANIUM & ELECTRIC AMBER
   ========================================================================== */
:root {
  --bg-core: #090a0f;
  --bg-subtle: #0d0f17;
  --surface-card: #12141e;
  --surface-elevated: #181b28;
  --surface-hover: #1f2334;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-amber: rgba(250, 204, 21, 0.35);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #808a9e;  /* 4.9:1+ on every landing surface */

  /* Accent Gold / Yellow System */
  --amber-primary: #facc15;
  --amber-hover: #fde047;
  --amber-muted: rgba(250, 204, 21, 0.12);
  --amber-glow: 0 0 24px rgba(250, 204, 21, 0.22);

  --emerald: #10b981;
  --rose: #f43f5e;

  --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.spin-animation {
  animation: spin 1s linear infinite;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(250, 204, 21, 0.25) rgba(9, 10, 15, 0.6);
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative !important;
}

/* Global Custom Dark Scrollbars */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: #090a0f;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--amber-primary);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-core);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Metallic Gold Typography Gradient */
.gradient-headline {
  background: linear-gradient(135deg, #ffffff 25%, #fde047 65%, #ca8a04 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   STANDALONE SPLIT-SCREEN AUTHENTICATION PAGE
   ========================================================================== */
.auth-page-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--bg-core);
  overflow-x: hidden;
}

.auth-split-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Left Visual Column */
.auth-visual-col {
  position: relative;
  overflow: hidden;
  background-color: #0b0d14;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  border-right: 1px solid var(--border-subtle);
}

.auth-visual-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.1) brightness(0.75);
  transform: scale(1.02);
}

.auth-visual-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(250, 204, 21, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, rgba(9, 10, 15, 0.4) 0%, rgba(9, 10, 15, 0.92) 100%);
}

.auth-visual-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-visual-bottom {
  max-width: 540px;
  margin-top: auto;
}

.auth-floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid var(--border-amber);
  color: var(--amber-primary);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.auth-visual-headline {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.auth-visual-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.auth-visual-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-vmetric-item strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--amber-primary);
}

.auth-vmetric-item span {
  font-size: 11px;
  color: var(--text-dim);
}

/* Right Form Column */
.auth-form-col {
  background-color: var(--bg-core);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  overflow-y: auto;
}

.auth-form-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: color 0.15s;
}

.auth-back-link:hover {
  color: var(--amber-primary);
}

.auth-form-card {
  width: 100%;
  max-width: 420px;
  margin: auto;
}

.auth-tabs-bar {
  display: flex;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-top: 18px;
  gap: 4px;
}

.auth-tab-pill {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.auth-tab-pill:hover {
  color: var(--text-main);
}

.auth-tab-pill.active {
  background: var(--surface-elevated);
  color: var(--amber-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(250, 204, 21, 0.2);
}

.auth-footer-terms {
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 24px;
  line-height: 1.5;
}

.auth-footer-terms a {
  color: var(--text-muted);
  text-decoration: underline;
}

.auth-footer-terms a:hover {
  color: var(--amber-primary);
}

@media (max-width: 900px) {
  .auth-split-layout {
    grid-template-columns: 1fr;
  }
  .auth-visual-col {
    display: none;
  }
  .auth-form-col {
    padding: 24px 16px;
  }
}

/* ==========================================================================
   AUTHENTICATION MODAL & SOCIAL STYLES
   ========================================================================== */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

/* Modal Navigation Tabs */
.modal-tab-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.modal-tab-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}

.modal-tab-btn:hover {
  color: var(--text-main);
  background: var(--surface-elevated);
}

.modal-tab-btn.active {
  color: var(--amber-primary);
  background: var(--amber-muted);
}

/* 1-Click Fast Deploy App Cards */
.app-script-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s;
}
.app-script-card:hover {
  border-color: var(--border-strong);
}
.app-script-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-script-title {
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Affiliate Program Cards */
.affiliate-banner {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.12) 0%, rgba(18, 20, 30, 0.95) 100%);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.affiliate-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

/* Security & Hardening Cards */
.sec-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sec-card:hover {
  border-color: var(--amber-primary);
}

/* Ledger Table */
.ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
.ledger-table th {
  padding: 10px 12px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-subtle);
}
.ledger-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-main);
}

/* Looking Glass Diagnostic Box */
.lg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.lg-node-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.lg-node-card:hover {
  border-color: var(--amber-primary);
}

.auth-modal-overlay,
.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(4, 5, 8, 0.88) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  z-index: 99999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  padding: 16px;
  box-sizing: border-box;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

.auth-modal-overlay.open,
.modal-overlay.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.auth-card,
.modal-box {
  background: #12141e !important;
  border: 1px solid rgba(250, 204, 21, 0.3) !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.95), 0 0 30px rgba(250, 204, 21, 0.08) !important;
  border-radius: 14px !important;
  width: 640px !important;
  max-width: calc(100vw - 28px) !important;
  max-height: 90vh !important;
  max-height: 90dvh !important;
  padding: 24px !important;
  position: relative !important;
  box-sizing: border-box;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  margin: auto !important;
  animation: authModalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 600px) {
  .auth-card,
  .modal-box {
    padding: 16px !important;
    max-height: 92vh !important;
    max-height: 92dvh !important;
    width: 100% !important;
  }
}

@keyframes authModalPop {
  0% { transform: scale(0.96) translateY(8px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.auth-tabs {
  display: flex;
  gap: 12px;
}

.auth-tab {
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  padding: 6px 0;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}

.auth-tab:hover {
  color: #94a3b8;
}

.auth-tab.active {
  color: #facc15 !important;
  border-bottom-color: #facc15 !important;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

.form-input {
  background: #090a0f !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
  padding: 10px 14px !important;
  border-radius: 6px !important;
  font-family: var(--font-sans);
  font-size: 13px !important;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
  width: 100%;
}

.form-input:focus {
  border-color: #facc15 !important;
  box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.15);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0 16px;
  color: var(--text-dim);
  font-size: 11px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-divider span {
  padding: 0 10px;
}

.google-btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  width: 100%;
}

.user-badge-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}
.user-badge-nav span {
  color: var(--text-muted);
}
.user-badge-nav strong {
  font-family: var(--font-mono);
  color: var(--amber-primary);
}

/* ==========================================================================
   PAYMENT METHOD SELECTOR CARDS & BADGES
   ========================================================================== */
.pay-method-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 14px;
  margin-bottom: 8px;
}

.pay-method-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
  margin-bottom: 16px !important;
}

.pay-method-card {
  background: #181b28 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-sm) !important;
  padding: 12px 6px !important;
  cursor: pointer !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
  user-select: none !important;
}

.pay-method-card:hover {
  border-color: rgba(255, 255, 255, 0.22) !important;
  background: #1f2334 !important;
}

.pay-method-card.active {
  border-color: var(--amber-primary) !important;
  background: rgba(250, 204, 21, 0.12) !important;
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.2) !important;
}

.pay-method-card strong {
  display: block !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--text-main) !important;
  margin-top: 2px !important;
}

.pay-method-card.active strong {
  color: var(--amber-primary) !important;
}

.pay-method-card span {
  display: block !important;
  font-size: 10px !important;
  color: var(--text-dim) !important;
  line-height: 1.2 !important;
}

.pay-method-card.active span {
  color: var(--text-muted) !important;
}

.pay-method-card.disabled {
  opacity: 0.3 !important;
  filter: grayscale(1) !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  border-color: rgba(255, 255, 255, 0.04) !important;
  background: #090a0f !important;
  position: relative !important;
}

.pay-method-card.disabled::after {
  content: 'RUB ONLY';
  position: absolute;
  top: 4px;
  right: 4px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  color: var(--amber-primary);
  background: rgba(250, 204, 21, 0.15);
  border: 1px solid rgba(250, 204, 21, 0.3);
  padding: 1px 4px;
  border-radius: 3px;
}

/* ==========================================================================
   DASHBOARD TABS & 1-CLICK FAST APPS
   ========================================================================== */
.modal-tab-nav {
  display: flex !important;
  gap: 6px !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  padding-bottom: 8px !important;
  margin-bottom: 18px !important;
  overflow-x: auto !important;
  flex-wrap: nowrap !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  cursor: grab;
  user-select: none;
}

.modal-tab-nav::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.modal-tab-nav:active {
  cursor: grabbing;
}

.modal-tab-btn {
  background: var(--surface-elevated) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-muted) !important;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 6px 12px !important;
  border-radius: var(--radius-sm) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.modal-tab-btn:hover {
  background: var(--surface-hover) !important;
  border-color: var(--border-strong) !important;
  color: #fff !important;
}

.modal-tab-btn.active {
  background: rgba(250, 204, 21, 0.12) !important;
  border-color: var(--amber-primary) !important;
  color: var(--amber-primary) !important;
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.15) !important;
}

/* 1-Click Fast Deploy App Cards */
.apps-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.app-script-card {
  background: #181b28;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.app-script-card:hover {
  border-color: rgba(250, 204, 21, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.app-script-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-script-title {
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.app-badge-category {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(250, 204, 21, 0.12);
  color: var(--amber-primary);
  border: 1px solid rgba(250, 204, 21, 0.3);
  font-weight: 600;
  text-transform: uppercase;
}

.app-script-code-box {
  background: #090a0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  overflow: hidden;
}

@media (min-width: 600px) {
  .app-script-code-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 14px;
  }
}

.app-script-code-box code {
  white-space: pre-wrap;
  word-break: break-all;
  overflow-x: auto;
  flex: 1;
  min-width: 0;
  color: #fde047;
  font-size: 11px;
}

.app-meta-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-dim);
}

/* Ledger Table */
.ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}

.ledger-table th {
  padding: 12px 14px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-elevated);
}

.ledger-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-main);
}

/* ==========================================================================
   TARIFF CATALOG MATRIX & PILLS
   ========================================================================== */
.catalog-control-bar {
  max-width: 1000px;
  margin: 0 auto 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  position: relative;
}

.catalog-dc-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  flex-wrap: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  scroll-behavior: smooth;
  padding: 5px 6px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  min-width: 0;
  width: 100%;
}

.catalog-dc-tabs:active {
  cursor: grabbing;
}

.catalog-dc-tabs::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.catalog-pill {
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.catalog-pill:hover {
  background: var(--surface-elevated);
  border-color: var(--border-subtle);
  color: #fff;
}

.catalog-pill.active {
  background: rgba(250, 204, 21, 0.14) !important;
  border-color: var(--amber-primary) !important;
  color: var(--amber-primary) !important;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.18);
  font-weight: 700;
}

.catalog-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  min-width: 240px;
  height: 40px;
  box-sizing: border-box;
}

@media (max-width: 860px) {
  .catalog-control-bar {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .catalog-search-wrap {
    min-width: 100%;
  }
}

.catalog-search-input {
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  outline: none;
  width: 100%;
}

.catalog-table-container {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.catalog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}

.catalog-table th {
  padding: 12px 14px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #0e1018;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.catalog-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  vertical-align: middle;
}

.catalog-table tr:hover td {
  background: rgba(250, 204, 21, 0.02);
}

.catalog-matrix-meta {
  max-width: 1000px;
  margin: 14px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-dim);
  gap: 16px;
  flex-wrap: wrap;
}

/* Looking Glass Diagnostic Box */
.lg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.lg-node-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.15s;
}

.lg-node-card:hover {
  border-color: var(--amber-primary);
}

@media (max-width: 900px) {
  .lg-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

/* ==========================================================================
   BUTTON SYSTEM (HIGH-CONTRAST BLACK & YELLOW)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  outline: none;
}

/* Primary Yellow CTA */
.btn-primary {
  background-color: var(--amber-primary);
  color: #090a0f;
  font-weight: 700;
  border: 1px solid #eab308;
  box-shadow: 0 2px 10px rgba(250, 204, 21, 0.2);
}
.btn-primary:hover {
  background-color: var(--amber-hover);
  box-shadow: var(--amber-glow);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
}

/* Secondary Obsidian Button */
.btn-secondary {
  background: var(--surface-elevated);
  border-color: var(--border-subtle);
  color: var(--text-main);
}
.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
  color: #fff;
}

.btn-lg {
  padding: 12px 22px;
  font-size: 14px;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 12px;
}

.full-width { width: 100%; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.header-nav {
  position: sticky;
  top: 0;
  width: 100%;
  height: 60px;
  background: rgba(9, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  box-sizing: border-box;
}

.nav-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.brand-icon img {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: block;
}

.brand strong {
  color: var(--amber-primary);
}

.beta-badge {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  color: var(--amber-primary);
  background: rgba(250, 204, 21, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.28);
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 4px;
  vertical-align: middle;
  line-height: 1.2;
}

.beta-pulse {
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: var(--amber-primary);
  box-shadow: 0 0 4px var(--amber-primary);
}

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

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-item:hover { color: var(--text-main); }

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

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

.currency-select {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
}

/* Language Switcher Button Styling */
.lang-switch-wrap {
  display: inline-flex !important;
  align-items: center !important;
  background: #12141e !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-sm) !important;
  padding: 2px !important;
  gap: 2px !important;
  height: 30px !important;
}

.lang-btn {
  background: transparent !important;
  border: 1px solid transparent !important;
  color: var(--text-dim) !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.lang-btn:hover {
  color: #f8fafc !important;
}

.lang-btn.active {
  background: #181b28 !important;
  color: #facc15 !important;
  border-color: rgba(250, 204, 21, 0.35) !important;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.18) !important;
}

.mobile-menu-btn {
  display: none;
  background: #181b28;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
  flex-shrink: 0;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
  border-color: var(--amber-primary);
  background: var(--amber-muted);
  color: var(--amber-primary);
}

/* Slide-out Mobile Drawer & Backdrop */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.drawer-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -360px;
  width: 320px;
  max-width: 88vw;
  height: 100vh;
  height: 100dvh;
  background: #0d0f17;
  border-left: 1px solid var(--border-strong);
  z-index: 999999;
  padding: 24px 20px;
  display: flex !important;
  flex-direction: column;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.95);
  transition: right 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
  right: 0 !important;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.drawer-close {
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, border-color 0.15s;
}

.drawer-close:hover,
.drawer-close:active {
  color: #fff;
  border-color: var(--rose);
}

.drawer-link-btn {
  background: #181b28 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #f8fafc !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 11px 14px !important;
  border-radius: var(--radius-sm) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-align: left !important;
  width: 100% !important;
  transition: all 0.15s ease !important;
  box-sizing: border-box !important;
}

.drawer-link-btn svg {
  color: var(--amber-primary) !important;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
}

.drawer-link-btn:hover,
.drawer-link-btn:active {
  border-color: var(--amber-primary) !important;
  background: rgba(250, 204, 21, 0.12) !important;
  color: var(--amber-primary) !important;
}

.hide-desktop {
  display: none !important;
}

@media (max-width: 768px) {
  .hide-desktop {
    display: inline-flex !important;
  }
  .hide-mobile {
    display: none !important;
  }
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.drawer-close {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}
.drawer-close:hover { color: #fff; }

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.15s, background 0.15s;
}
.drawer-link:hover, .drawer-link:active {
  border-color: var(--amber-primary);
  background: var(--amber-muted);
  color: var(--amber-primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 70px 24px 80px;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.05) 0%, transparent 60%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-muted);
  border: 1px solid var(--border-amber);
  color: var(--amber-primary);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-subtext {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-specs-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-spec-item strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-main);
}
.hero-spec-item span {
  font-size: 12px;
  color: var(--text-dim);
}

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

/* Hero Terminal Box */
.terminal-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.terminal-header {
  background: var(--surface-elevated);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.terminal-badge {
  color: var(--emerald);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.terminal-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.terminal-row:last-child { border-bottom: none; }

.t-label { color: var(--text-dim); }
.t-val { color: var(--text-main); font-weight: 600; }
.t-val.highlight { color: var(--amber-primary); }

/* ==========================================================================
   TARIFFS / CARDS
   ========================================================================== */
.section-wrap {
  max-width: 1200px;
  margin: 0 auto 90px;
  padding: 70px 24px 0;
}

.section-head {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 44px;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber-primary);
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 14px;
  color: var(--text-muted);
}

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

.plan-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s, border-color 0.18s;
}
.plan-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.plan-card.featured {
  background: var(--surface-elevated);
  border-color: var(--border-amber);
  box-shadow: 0 10px 30px -10px rgba(250, 204, 21, 0.15);
}

.plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.plan-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
}
.plan-tag.highlight { color: var(--amber-primary); }

.plan-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 12px;
  color: var(--text-muted);
  min-height: 38px;
  margin-bottom: 20px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.price-val {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
}
.price-unit {
  font-size: 12px;
  color: var(--text-dim);
}

.specs-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.spec-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.spec-line span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}
.spec-line strong {
  font-family: var(--font-mono);
  color: var(--text-main);
}

/* ==========================================================================
   CUSTOM CONFIGURATOR
   ========================================================================== */
.config-box {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.config-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: center;
}

.slider-unit {
  margin-bottom: 24px;
}
.slider-unit:last-child { margin-bottom: 0; }

.slider-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
}

.slider-indicator {
  font-family: var(--font-mono);
  color: var(--amber-primary);
  font-size: 13px;
}

.range-bar {
  width: 100%;
  height: 6px;
  background: var(--surface-elevated);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
}
.range-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--amber-primary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.6);
}

.config-summary {
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}

.calc-rate-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.calc-rate {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 800;
  margin: 8px 0;
  color: var(--text-main);
}

.calc-detail {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ==========================================================================
   NETWORK & LOCATIONS
   ========================================================================== */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.loc-cell {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.loc-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.loc-title {
  font-size: 13px;
  font-weight: 700;
}
.loc-sub {
  font-size: 11px;
  color: var(--text-dim);
}

.ping-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--emerald);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 9999px;
}
.ping-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}

/* ==========================================================================
   FOOTER — MULTI-COLUMN DESIGN & RESET
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 24px 36px;
  background: #06070c !important;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-primary), transparent);
  opacity: 0.35;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top-grid {
  display: grid !important;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr !important;
  gap: 36px !important;
  margin-bottom: 48px;
}

.footer-brand-col p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 14px 0 18px;
  max-width: 320px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--emerald);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 600;
}

.footer-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-primary) !important;
  margin-bottom: 16px;
}

.site-footer ul,
.footer-col ul {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.site-footer li,
.footer-col li {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.site-footer a,
.footer-col a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.site-footer a:hover,
.footer-col a:hover {
  color: #f8fafc !important;
  transform: translateX(2px);
}

.footer-bottom-bar {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy-text {
  font-size: 12px;
  color: var(--text-dim);
}

.footer-pay-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pay-badge-tag {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

@media (max-width: 960px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   FOOTER — ENTERPRISE MULTI-COLUMN DESIGN
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 24px 32px;
  background: #06070c;
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-primary), transparent);
  opacity: 0.35;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}

.footer-brand-col p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 14px 0 18px;
  max-width: 300px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--emerald);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 600;
}

.footer-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-primary);
  margin-bottom: 16px;
}

.site-footer ul,
.footer-col ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer li,
.footer-col li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-col a {
  color: var(--text-muted) !important;
  text-decoration: none !important;
  font-size: 13px;
  transition: color 0.15s, transform 0.15s;
  display: inline-block;
}

.footer-col a:hover {
  color: var(--text-main) !important;
  transform: translateX(2px);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy-text {
  font-size: 12px;
  color: var(--text-dim);
}

.footer-pay-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pay-badge-tag {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

@media (max-width: 960px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   FOOTER — ENTERPRISE MULTI-COLUMN DESIGN
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 24px 32px;
  background: #06070c;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-primary), transparent);
  opacity: 0.35;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}

.footer-brand-col p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 14px 0 18px;
  max-width: 300px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--emerald);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 600;
}

.footer-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-primary);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s, transform 0.15s;
  display: inline-block;
}

.footer-col a:hover {
  color: var(--text-main);
  transform: translateX(2px);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy-text {
  font-size: 12px;
  color: var(--text-dim);
}

.footer-pay-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pay-badge-tag {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.pay-hint-box {
  background: rgba(250, 204, 21, 0.06);
  border: 1px dashed rgba(250, 204, 21, 0.3);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  color: #fde047;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 960px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 960px) {
  .hero-section {
    padding: 40px 16px 50px;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .nodes-grid {
    grid-template-columns: 1fr;
  }
  .config-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .loc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-wrap {
    padding: 50px 16px 0;
    margin-bottom: 60px;
  }
  .config-box {
    padding: 24px 20px;
  }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-actions-desktop {
    display: none !important;
  }
  .mobile-menu-btn {
    display: inline-flex !important;
  }
  .header-nav {
    height: 56px !important;
  }
  .nav-container {
    padding: 0 16px !important;
  }
  .brand {
    font-size: 15px !important;
  }
  .beta-badge {
    display: none !important;
  }
  .dash-wrap, .deploy-wrap {
    padding: 16px 12px 60px !important;
  }
  .kpi-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
  }
  .kpi-card {
    padding: 12px 14px !important;
    border-radius: var(--radius-sm) !important;
  }
  .kpi-meta span {
    font-size: 10px !important;
    margin-bottom: 2px !important;
  }
  .kpi-meta strong {
    font-size: 16px !important;
  }
  .kpi-icon {
    width: 32px !important;
    height: 32px !important;
  }
  .instance-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 16px !important;
  }
  .inst-name {
    flex-wrap: wrap !important;
    font-size: 14px !important;
  }
  .instance-card .btn-manage-srv {
    width: 100% !important;
    padding: 10px !important;
    margin-top: 4px !important;
  }
  .modal-box {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 16px !important;
    max-height: 90vh !important;
    border-radius: 12px !important;
  }
  .modal-tab-nav {
    margin-bottom: 14px !important;
    padding-bottom: 6px !important;
    gap: 6px !important;
  }
  .modal-tab-btn {
    font-size: 12px !important;
    padding: 6px 10px !important;
  }
  .deploy-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .step-card {
    padding: 16px 14px !important;
    margin-bottom: 16px !important;
  }
  .step-title {
    font-size: 15px !important;
  }
  .selector-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  .opt-box {
    padding: 12px !important;
  }
  .opt-box strong {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }
  .opt-box span {
    font-size: 11px !important;
    line-height: 1.2 !important;
  }
  .summary-card {
    padding: 18px 16px !important;
  }
}

@media (max-width: 640px) {
  .header-nav {
    height: 58px;
  }
  .nav-container {
    padding: 0 16px;
  }
  .brand {
    font-size: 14px;
  }
  .hero-headline {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 14px;
  }
  .hero-subtext {
    font-size: 13px;
    margin-bottom: 24px;
  }
  .hero-btn-group {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: 30px;
  }
  .hero-btn-group .btn {
    width: 100%;
    padding: 12px;
  }
  .hero-specs-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
    background: var(--surface-card);
    padding: 14px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
  }
  .spec-divider {
    display: none;
  }
  .hero-spec-item strong {
    font-size: 14px;
  }
  .hero-spec-item span {
    font-size: 10px;
  }

  .loc-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .loc-cell {
    padding: 12px 14px;
  }
  .loc-title {
    font-size: 12px;
  }
  .loc-sub {
    font-size: 10px;
  }

  .plan-card {
    padding: 20px;
  }
  .price-val {
    font-size: 28px;
  }
  .calc-rate {
    font-size: 32px;
  }
  .config-summary {
    padding: 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 14px;
  }
}