/* ====================================================================
   BUGS WORK Cyberpunk Glassmorphism Design System (Ultra Premium)
   ==================================================================== */

:root {
  --primary-color: #00ff88;
  --primary-glow: rgba(0, 255, 136, 0.4);
  --secondary-color: #00e1ff;
  --secondary-glow: rgba(0, 225, 255, 0.4);
  --bg-dark: #050508;
  --card-bg: rgba(12, 14, 22, 0.75);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-glow: rgba(0, 255, 136, 0.25);
  --text-main: #f0f4f8;
  --text-color: #f0f4f8;
  --text-dim: #94a3b8;
  --border-radius: 16px;
  --border-radius-sm: 10px;
  --border-radius-lg: 20px;
  /* Neon accent palette */
  --neon-cyan: #00f3ff;
  --neon-magenta: #ff00ff;
  --neon-purple: #a855f7;
  --gradient-hero: linear-gradient(135deg, #00f3ff 0%, #a855f7 50%, #ff00ff 100%);
  /* Semantic status colors */
  --color-danger: #ff3366;
  --color-danger-dim: #ff6688;
  --color-warning: #ffaa00;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 85% 85%, rgba(0, 225, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(10, 10, 20, 0.5) 0%, transparent 100%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(5, 5, 10, 0.8);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 136, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

.font-cyber {
  font-family: 'Share Tech Mono', 'Orbitron', monospace, sans-serif;
}

/* Glassmorphism System */
.glass {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-gradient {
  background: linear-gradient(135deg, #00ff88 0%, #00e1ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-alt {
  background: linear-gradient(135deg, #00e1ff 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout & Container */
.main-navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(5, 5, 8, 0.95);
  border-bottom: 1px solid rgba(0, 255, 136, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  padding: 0.85rem 2rem;
  margin: 0;
  box-sizing: border-box;
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 70px);
}

/* Header & Navbar Links */
.nav-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--border-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.nav-btn-tag {
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.8;
}

.nav-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.nav-btn.active {
  color: #050508;
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.nav-btn.active .nav-btn-tag {
  color: #050508;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: var(--border-radius-sm);
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary-color);
  color: #050508;
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.25);
}

.btn-primary:hover {
  background: #00e077;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 225, 255, 0.25);
}

/* Home Section Layout */
.home-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: tabFadeIn 0.4s ease-out;
}

.hero-section {
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  border-color: rgba(0, 255, 136, 0.25);
  background: linear-gradient(135deg, rgba(10, 22, 18, 0.85), rgba(5, 5, 12, 0.95));
  box-shadow: inset 0 0 60px rgba(0, 255, 136, 0.08), 0 20px 50px rgba(0,0,0,0.5);
  border-radius: var(--border-radius);
}

.scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.4);
  padding: 0.4rem 1rem;
  border-radius: var(--border-radius-lg);
  font-size: 0.8rem;
  color: var(--primary-color);
  font-family: 'Share Tech Mono', monospace;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.15);
}

.pulsing-dot {
  width: 7px;
  height: 7px;
  background-color: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-color);
  animation: pulse 1.5s infinite;
}

.hero-title {
  font-size: 3.5rem;
  margin: 0;
  line-height: 1.1;
  font-weight: 900;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--secondary-color);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Tech Badges */
.studio-badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
}

.studio-tech-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: var(--border-radius-sm);
  background: rgba(0, 255, 136, 0.04);
  border: 1px solid rgba(0, 255, 136, 0.25);
  font-size: 0.82rem;
  color: var(--primary-color);
  font-family: 'Share Tech Mono', monospace;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.studio-tech-badge:hover {
  border-color: var(--primary-color);
  color: #ffffff;
  background: rgba(0, 255, 136, 0.15);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.35);
  transform: translateY(-2px);
}

/* Grids & Responsive Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .grid-2,
  .concept-section {
    grid-template-columns: 1fr !important;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 1.15rem 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
  background: rgba(13, 17, 23, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 136, 0.15);
  border-radius: 14px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.22);
  transform: translateY(-5px);
  background: rgba(16, 22, 34, 0.85);
}

.feature-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.feature-num {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--secondary-color);
  letter-spacing: 1px;
  line-height: 1.1;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

.feature-title {
  font-size: 1.08rem;
  line-height: 1.55;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.2px;
}

.feature-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin: 0;
}

/* Product & Portfolio Cards */
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(12, 14, 22, 0.7);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--border-radius);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 225, 255, 0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 25px rgba(0, 225, 255, 0.2);
}

.card-media-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: rgba(5, 8, 15, 0.9);
  border-bottom: 1px solid rgba(0, 255, 136, 0.15);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .portfolio-product-img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(5, 5, 8, 0.9);
  backdrop-filter: blur(8px);
  color: var(--primary-color);
  padding: 0.35rem 0.85rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(0, 255, 136, 0.3);
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.15);
}

/* Specs Blueprint Table */
.specs-section {
  padding: 2rem;
  border-color: rgba(0, 225, 255, 0.15);
  border-radius: var(--border-radius);
}

.specs-table-container {
  margin-top: 1.5rem;
  border: 1px solid rgba(0, 225, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.spec-row {
  border-bottom: 1px solid rgba(0, 225, 255, 0.08);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-key {
  padding: 1.1rem 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  width: 30%;
  background: rgba(0, 225, 255, 0.02);
  border-right: 1px solid rgba(0, 225, 255, 0.08);
}

.spec-value {
  padding: 1.1rem 1.5rem;
  color: var(--text-main);
}

/* Footer Container */
.footer-container {
  margin-top: 1.5rem;
  padding: 2.2rem;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 10, 0.85);
  border-radius: var(--border-radius);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-business-tag {
  color: var(--text-dim);
  line-height: 1.4;
}

.footer-email-tag a {
  color: var(--primary-color);
  text-decoration: none;
}
.footer-email-tag a:hover {
  text-decoration: underline;
}

.logo-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  color: var(--text-dim);
}

.footer-company-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-color);
  padding: 0.5rem 1.2rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-company-btn:hover:not(:disabled):not(.disabled-btn) {
  background: rgba(0, 255, 136, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.25);
  transform: translateY(-1px);
}

.footer-discord-btn.disabled-btn,
button.disabled-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed !important;
  border: 1px dashed rgba(0, 225, 255, 0.3);
  color: var(--secondary-color);
  background: rgba(0, 225, 255, 0.04);
}

.footer-badge-preparing {
  font-size: 0.72rem;
  color: var(--secondary-color);
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.community-discord-notice {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.community-discord-notice:hover {
  border-left-color: var(--primary-color) !important;
  box-shadow: 0 4px 20px rgba(0, 225, 255, 0.08);
}

/* Modal Styling */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 1.5rem;
  box-sizing: border-box;
}

.company-modal {
  width: 100%;
  max-width: 640px;
  background: #0c0e16;
  border: 1px solid rgba(0, 255, 136, 0.4);
  border-radius: var(--border-radius);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 255, 136, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 100000;
  margin: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Company Profile Table View (Borderless 2-Column Grid) */
.company-info-table {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 0;
}

.info-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: center;
  padding: 0.9rem 1.25rem;
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.25s ease;
}

.info-row:hover {
  background: rgba(0, 255, 136, 0.04);
  border-color: rgba(0, 255, 136, 0.2);
}

.info-key {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 0.85rem;
  padding-right: 1rem;
}

.info-val {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-main);
}

.business-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.business-list li {
  position: relative;
  padding-left: 1rem;
}

.business-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

@media (max-width: 600px) {
  .info-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  color: #ff0055;
  background: rgba(255, 0, 85, 0.1);
}

.modal-body {
  padding: 1.5rem;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

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

/* Cyber Toast Notifications System */
.toast-container {
  position: fixed;
  top: 85px;
  right: 24px;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  min-width: 280px;
  max-width: 420px;
  padding: 1rem 1.4rem;
  border-radius: var(--border-radius-sm);
  background: rgba(10, 14, 24, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Share Tech Mono', sans-serif;
  font-size: 0.9rem;
  color: var(--text-main);
  animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.3s ease;
}

.toast-item.toast-success {
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 255, 136, 0.3);
}

.toast-item.toast-success .toast-icon {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.toast-item.toast-error {
  border-color: var(--color-danger);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 51, 102, 0.3);
}

.toast-item.toast-error .toast-icon {
  color: var(--color-danger);
  font-size: 1.1rem;
}

.toast-item.toast-hide {
  animation: toastSlideOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(60px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes toastSlideOut {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(60px) scale(0.9);
  }
}

/* Cyber Drag & Drop Zone Styling */
.cyber-dropzone {
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.cyber-dropzone:hover {
  background: rgba(0, 255, 136, 0.08) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.25) !important;
  transform: translateY(-2px);
}

.cyber-dropzone.dragover {
  background: rgba(0, 225, 255, 0.15) !important;
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 35px rgba(0, 225, 255, 0.4) !important;
  transform: scale(1.02);
}

.cyber-dropzone-sm {
  transition: all 0.25s ease;
}

.cyber-dropzone-sm:hover {
  background: rgba(0, 225, 255, 0.08) !important;
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 15px rgba(0, 225, 255, 0.2) !important;
}

.cyber-dropzone-sm.dragover {
  background: rgba(0, 225, 255, 0.15) !important;
  border-color: var(--secondary-color) !important;
}

/* ============================================================
   Native Mobile Responsive Optimization (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --border-radius: 12px;
  }

  body {
    font-size: 14px;
    padding: 0;
    margin: 0;
  }

  .app-container {
    padding: 0.5rem !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* Header & Navbar Mobile Optimization */
  .main-navbar,
  header.header {
    padding: 0.75rem 1rem !important;
    border-radius: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .navbar-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  .logo {
    justify-content: center !important;
  }

  .nav-links {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding-bottom: 6px !important;
    width: 100% !important;
    justify-content: flex-start !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.4rem !important;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-btn {
    padding: 0.45rem 0.75rem !important;
    font-size: 0.8rem !important;
    flex-shrink: 0 !important;
  }

  /* Hero Section Mobile Optimization */
  .hero-section,
  .hero-split {
    padding: 1.5rem 1rem !important;
    min-height: auto !important;
    border-radius: 12px !important;
    flex-direction: column !important;
  }

  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem) !important;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 0.95rem !important;
  }

  .hero-desc {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
  }

  .hero-actions {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
    padding: 0.85rem 1rem !important;
  }

  .studio-badge-grid {
    gap: 0.4rem !important;
  }

  .studio-tech-badge {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.75rem !important;
  }

  /* Grids & Cards Mobile Optimization */
  .grid,
  .features-grid,
  .api-modules-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .grid-2,
  .concept-section {
    grid-template-columns: 1fr !important;
    padding: 1.25rem !important;
    gap: 1.5rem !important;
  }

  .card-content {
    padding: 1.2rem !important;
  }

  /* Specs Table Mobile Optimization */
  .specs-section {
    padding: 1.25rem !important;
  }

  .spec-key {
    width: 40% !important;
    padding: 0.8rem 0.6rem !important;
    font-size: 0.8rem !important;
  }

  .spec-value {
    padding: 0.8rem 0.6rem !important;
    font-size: 0.82rem !important;
  }

  /* Footer Mobile Optimization */
  .footer-container {
    padding: 1.5rem 1rem !important;
    margin-top: 1.5rem !important;
  }

  .footer-content {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* Modal Mobile Optimization */
  .modal-backdrop {
    padding: 0.5rem !important;
  }

  .company-modal {
    max-height: 90vh !important;
    width: 100% !important;
  }

  .modal-body {
    padding: 1rem !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem !important;
  }

  .btn {
    font-size: 0.85rem !important;
  }

  .card-media-wrapper {
    height: 160px !important;
  }
}


/* ====================================================================
   Manual Inspired Cyberpunk Enhancements
   ==================================================================== */

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

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.4; }
  100% { transform: scale(1.08); opacity: 0.75; }
}

.manual-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 243, 255, 0.6) !important;
  box-shadow: 0 10px 30px rgba(0, 243, 255, 0.2), inset 0 0 15px rgba(0, 243, 255, 0.1) !important;
}

/* Developer Portal 2-Column Grid & Sticky Sidebar */
.portal-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 1.5rem;
  align-items: start;
  width: 100%;
}

.portal-sidebar {
  position: sticky;
  top: 90px;
  background: rgba(10, 14, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 243, 255, 0.2);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.portal-sidebar-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portal-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.portal-sidebar-item {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0.95rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.portal-sidebar-item:hover {
  background: rgba(0, 243, 255, 0.06);
  border-color: rgba(0, 243, 255, 0.3);
  transform: translateX(4px);
}

.portal-sidebar-item.active {
  background: rgba(0, 243, 255, 0.12);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 18px rgba(0, 243, 255, 0.25), inset 0 0 10px rgba(0, 243, 255, 0.1);
}

.portal-sidebar-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
}

.portal-sidebar-item.active[data-accent="green"] {
  border-color: var(--primary-color);
  background: rgba(0, 255, 136, 0.12);
  box-shadow: 0 0 18px rgba(0, 255, 136, 0.25);
}

.portal-sidebar-item.active[data-accent="green"]::before {
  background: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
}

.portal-sidebar-item.active[data-accent="magenta"] {
  border-color: var(--neon-magenta);
  background: rgba(255, 0, 255, 0.12);
  box-shadow: 0 0 18px rgba(255, 0, 255, 0.25);
}

.portal-sidebar-item.active[data-accent="magenta"]::before {
  background: var(--neon-magenta);
  box-shadow: 0 0 10px var(--neon-magenta);
}

.portal-sidebar-item-code {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  color: var(--neon-cyan);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.15rem;
}

.portal-sidebar-item-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.portal-sidebar-doc-links {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.portal-doc-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-family: 'Share Tech Mono', monospace;
  text-decoration: none;
  transition: all 0.2s ease;
}

.portal-doc-link-btn:hover {
  background: rgba(0, 243, 255, 0.1);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  .portal-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .portal-sidebar {
    position: static;
    top: auto;
  }
  .portal-sidebar-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  .dev-docs-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ====================================================================
   Utility Classes (Inline Style Consolidation)
   ==================================================================== */

/* Main content area */
.main-content {
  flex: 1;
}

/* Navbar Logo Section */
.nav-logo {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-bug {
  display: flex;
  align-items: center;
}

.logo-bug img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.6));
}

.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
}

.logo-sub {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* Navbar Navigation Links */
.nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Navbar User Slot */
.nav-user-slot {
  margin-left: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-sign-in-btn {
  border: 1px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
}

/* Footer Actions Center */
.footer-actions-center {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-logo-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 255, 136, 0.6));
}

/* Auth Modal Shared Input Style */
.input-cyber {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.input-cyber:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.15);
}

/* Auth Tab Switcher */
.auth-tab-container {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.3);
}

.auth-tab {
  flex: 1;
  padding: 0.8rem;
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  font-weight: 700;
}

.auth-tab.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Auth Form Label */
.auth-form-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

/* Alert & Success Boxes for Modals */
.modal-alert-box {
  display: none;
  background: rgba(255, 50, 50, 0.15);
  border: 1px solid var(--color-danger);
  color: var(--color-danger-dim);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.modal-success-box {
  display: none;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* Post Modal Form Label */
.post-form-label {
  display: block;
  font-size: 0.85rem;
  color: var(--secondary-color);
  margin-bottom: 0.4rem;
}

/* Post Modal Input */
.input-cyber-dark {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: var(--text-color);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.input-cyber-dark:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 10px rgba(0, 225, 255, 0.15);
}

/* Warning badge (max file size etc.) */
.badge-warning {
  font-size: 0.75rem;
  color: var(--color-warning);
  background: rgba(255, 170, 0, 0.1);
  border: 1px solid rgba(255, 170, 0, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

/* ====================================================================
   Admin Command Center (HUD & Management Portal) Styles
   ==================================================================== */

.admin-header-banner {
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-bottom: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08) 0%, rgba(255, 0, 255, 0.05) 100%);
}

/* 4-Column Metric Grid */
.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.admin-metric-card {
  padding: 1.5rem;
  border-radius: var(--border-radius-sm);
  background: rgba(8, 10, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-metric-card:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 0 20px rgba(0, 225, 255, 0.15);
  transform: translateY(-2px);
}

.admin-metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
}

.admin-metric-card.cyan::before { background: var(--neon-cyan); }
.admin-metric-card.magenta::before { background: var(--neon-magenta); }
.admin-metric-card.purple::before { background: var(--neon-purple); }
.admin-metric-card.warning::before { background: var(--color-warning); }

.admin-metric-num {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.admin-metric-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-metric-sub {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  color: var(--text-dim);
}

/* Admin Tab Navigation */
.admin-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.admin-tab-btn {
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-dim);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.admin-tab-btn:hover {
  color: var(--text-main);
}

.admin-tab-btn.active {
  color: var(--neon-cyan);
  border-bottom-color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

/* Cyber Table Styles */
.admin-table-container {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cyber-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}

.cyber-table th {
  background: rgba(15, 20, 32, 0.95);
  color: var(--secondary-color);
  padding: 0.85rem 1rem;
  font-family: 'Share Tech Mono', monospace;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(0, 225, 255, 0.2);
  white-space: nowrap;
}

.cyber-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  vertical-align: middle;
}

.cyber-table tr:hover td {
  background: rgba(0, 255, 136, 0.03);
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-family: 'Share Tech Mono', monospace;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge-new {
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
}

.status-badge-in_progress {
  background: rgba(255, 170, 0, 0.15);
  border: 1px solid var(--color-warning);
  color: var(--color-warning);
}

.status-badge-resolved {
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.status-badge-archived {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-dim);
}

.status-badge-admin {
  background: rgba(255, 0, 255, 0.15);
  border: 1px solid var(--neon-magenta);
  color: var(--neon-magenta);
}

.status-badge-user {
  background: rgba(0, 225, 255, 0.1);
  border: 1px solid rgba(0, 225, 255, 0.3);
  color: var(--secondary-color);
}

.status-badge-approved {
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.status-badge-private {
  background: rgba(255, 51, 102, 0.15);
  border: 1px solid var(--color-danger);
  color: var(--color-danger-dim);
}

/* Filter Bar */
.admin-filter-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.25rem;
}

.admin-filter-input {
  flex: 1;
  min-width: 200px;
  padding: 0.6rem 0.9rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: var(--text-color);
  font-size: 0.85rem;
}

.admin-filter-select {
  padding: 0.6rem 0.9rem;
  background: #11141e;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: var(--text-color);
  font-size: 0.85rem;
  font-family: 'Share Tech Mono', monospace;
}

/* Action Buttons inside tables */
.btn-table-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-color);
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: 'Share Tech Mono', monospace;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-table-action:hover {
  background: rgba(0, 255, 136, 0.15);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-table-action.danger:hover {
  background: rgba(255, 51, 102, 0.2);
  border-color: var(--color-danger);
  color: var(--color-danger-dim);
}

/* Global Announcement Banner */
.site-announcement-bar {
  display: none;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.15), rgba(255, 0, 255, 0.15));
  border-bottom: 1px solid var(--neon-cyan);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #fff;
  z-index: 999;
}

.site-announcement-bar a {
  color: var(--neon-cyan);
  text-decoration: underline;
}

/* ====================================================================
   Kickstarter & Crowdfunding Simulator Styles
   ==================================================================== */

.sim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.sim-slider-group {
  margin-bottom: 1.25rem;
}

.sim-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.sim-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
}

.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--neon-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px var(--neon-cyan);
}

.sim-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.sim-tier-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.2s ease;
}

.sim-tier-card:hover {
  border-color: rgba(0, 240, 255, 0.3);
}

.sim-progress-track {
  width: 100%;
  height: 12px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sim-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--primary-color));
  width: 0%;
  transition: width 0.4s ease;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* High-Density HUD Widget Styles */
.hud-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.hud-mini-table td {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hud-mini-table tr:hover td {
  background: rgba(0, 240, 255, 0.04);
}


