/* ==========================================================================
   THE MISCREANT STUDIOS - THE ARSENAL & SYSTEM ARCHITECTURE
   JetFyX-Inspired Glassmorphic Tech Viewport Cards & Spec Matrix
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ARSENAL SECTION CONTAINER
   -------------------------------------------------------------------------- */
.arsenal-section {
  position: relative;
  z-index: 20;
  padding: 120px 0 160px;
  background: linear-gradient(180deg, 
    #060410 0%, 
    rgba(8, 6, 22, 0.95) 20%, 
    rgba(10, 8, 28, 0.98) 50%, 
    #05030e 100%);
  overflow: hidden;
  border-top: 1px solid rgba(139, 92, 246, 0.12);
}

/* Background Ambient Lighting & Circuit Matrix */
.arsenal-section::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1300px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 0%, rgba(6, 182, 212, 0.06) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.arsenal-section::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 10%;
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   2. SECTION HEADER
   -------------------------------------------------------------------------- */
.arsenal-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 65px;
}

.arsenal-tag {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

.arsenal-title {
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.arsenal-desc {
  font-size: 1.15rem;
  color: #94a3b8;
  line-height: 1.65;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   3. ARSENAL TECH GRID (JetFyX Style Cards 3x2 Bento)
   -------------------------------------------------------------------------- */
.arsenal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 5;
  perspective: 1200px;
}

.tech-card {
  background: rgba(14, 11, 30, 0.78);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 
    0 20px 45px -10px rgba(0, 0, 0, 0.65),
    inset 0 1px 1px rgba(255, 255, 255, 0.14);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

/* Metallic Specular Sweep on Hover */
.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transition: left 0.75s ease;
  pointer-events: none;
  z-index: 10;
}

.tech-card:hover::before {
  left: 100%;
}

.tech-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(192, 132, 252, 0.45);
  box-shadow: 
    0 32px 70px -15px rgba(0, 0, 0, 0.85),
    0 0 40px rgba(139, 92, 246, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.25);
}

/* Card Visual Viewport Area (JetFyX Style Image Inset) */
.tech-card-media {
  position: relative;
  height: 200px;
  width: 100%;
  overflow: hidden;
  background: #090718;
}

.tech-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-card:hover .tech-card-media img {
  transform: scale(1.08);
}

.tech-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(14, 11, 30, 0.98) 0%, rgba(14, 11, 30, 0.4) 50%, transparent 100%);
  pointer-events: none;
}

/* Floating Corner Tech Icon Badge (JetFyX Style elevated capsule) */
.tech-floating-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: rgba(10, 7, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  z-index: 5;
}

.tech-floating-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-floating-icon svg {
  width: 100%;
  height: 100%;
}

.tech-floating-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Floating Top-Right Status */
.tech-floating-status {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.18);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.06em;
  z-index: 5;
}

/* Card Body Content */
.tech-card-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tech-category-sub {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: #a855f7;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.tech-name {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 10px;
}

.tech-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.58;
  margin-bottom: 20px;
}

/* Feature Spec Matrix */
.tech-spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 22px;
}

.tech-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #cbd5e1;
}

.tech-spec-item span {
  color: #c084fc;
}

/* Tech Card Footer Status */
.tech-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-metric-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #64748b;
  text-transform: uppercase;
}

.tech-metric-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #34d399;
}

/* --------------------------------------------------------------------------
   4. SYSTEM TELEMETRY STRIP (Bottom Matrix Banner)
   -------------------------------------------------------------------------- */
.arsenal-telemetry-banner {
  margin-top: 55px;
  padding: 22px 30px;
  background: rgba(14, 11, 30, 0.8);
  backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 15px 35px -8px rgba(0, 0, 0, 0.6);
}

.telemetry-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.telemetry-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-live 2s infinite;
}

.telemetry-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #e2e8f0;
}

.telemetry-text span {
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   5. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .arsenal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .arsenal-telemetry-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
