/* ==========================================================================
   KARYENT TECH - DIVISION STYLESHEET
   Dedicated styling, tokens, cyber grid, and interactive animations for
   the Karyent Technology Division.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TECH DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  --tech-primary: #2563EB;
  --tech-hover: #3B82F6;
  --tech-surface: rgba(37, 99, 235, 0.08);
  --tech-glow: rgba(37, 99, 235, 0.28);
  --tech-cyan: #06B6D4;
  --tech-indigo: #6366F1;
  --tech-purple: #A855F7;
  --tech-emerald: #10B981;
  --tech-orange: #F97316;
}

/* --------------------------------------------------------------------------
   2. TECH CYBER GRID PATTERN
   -------------------------------------------------------------------------- */
.bg-grid-tech {
  background-size: 36px 36px;
  background-image: 
    linear-gradient(to right, rgba(37, 99, 235, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37, 99, 235, 0.12) 1px, transparent 1px);
}

/* --------------------------------------------------------------------------
   3. CI/CD LIVE PIPELINE ANIMATIONS & STAGES
   -------------------------------------------------------------------------- */
.pipeline-stage-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pipeline-stage-card.is-active-step {
  transform: translateY(-3px);
}

.pipeline-stage-card.is-active-step[data-step="1"] {
  border-color: rgba(249, 115, 22, 0.7);
  background-color: rgba(249, 115, 22, 0.04);
  box-shadow: 0 0 24px -2px rgba(249, 115, 22, 0.3);
}

.pipeline-stage-card.is-active-step[data-step="2"] {
  border-color: rgba(6, 182, 212, 0.7);
  background-color: rgba(6, 182, 212, 0.04);
  box-shadow: 0 0 24px -2px rgba(6, 182, 212, 0.3);
}

.pipeline-stage-card.is-active-step[data-step="3"] {
  border-color: rgba(168, 85, 247, 0.7);
  background-color: rgba(168, 85, 247, 0.04);
  box-shadow: 0 0 24px -2px rgba(168, 85, 247, 0.3);
}

.pipeline-stage-card.is-active-step[data-step="4"] {
  border-color: rgba(16, 185, 129, 0.7);
  background-color: rgba(16, 185, 129, 0.04);
  box-shadow: 0 0 24px -2px rgba(16, 185, 129, 0.3);
}

.pipeline-stage-card[data-step="1"]:hover {
  border-color: rgba(249, 115, 22, 0.4);
}

.pipeline-stage-card[data-step="2"]:hover {
  border-color: rgba(6, 182, 212, 0.4);
}

.pipeline-stage-card[data-step="3"]:hover {
  border-color: rgba(168, 85, 247, 0.4);
}

.pipeline-stage-card[data-step="4"]:hover {
  border-color: rgba(16, 185, 129, 0.4);
}

.pipeline-stage-card.is-celebrating {
  border-color: rgba(16, 185, 129, 0.8) !important;
  background-color: rgba(16, 185, 129, 0.07) !important;
  box-shadow: 0 0 28px -2px rgba(16, 185, 129, 0.35) !important;
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   4. TECH GLASSMORPHISM CARD & PANEL SYSTEM
   -------------------------------------------------------------------------- */
.tech-glass-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035) 0%, rgba(13, 27, 56, 0.65) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 1px 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
  opacity: 0.6;
  transition: opacity 0.3s ease, left 0.3s ease, right 0.3s ease;
  pointer-events: none;
}

.tech-glass-card:hover {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 20px 40px -15px rgba(37, 99, 235, 0.22), inset 0 1px 2px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.tech-glass-card:hover::before {
  opacity: 1;
  left: 5%;
  right: 5%;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.8), transparent);
}

.tech-glass-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(13, 27, 56, 0.8) 0%, rgba(10, 25, 47, 0.94) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.65), inset 0 1px 1px 0 rgba(255, 255, 255, 0.12);
}

.tech-glass-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6), transparent);
  pointer-events: none;
}

/* Glass Stat Pods */
.tech-glass-stat {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(13, 27, 56, 0.6) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.45), inset 0 1px 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}


/* --------------------------------------------------------------------------
   5. TECH GLASS BADGES & PILLS
   -------------------------------------------------------------------------- */
.tech-glass-badge {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(37, 99, 235, 0.16) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 4px 20px -4px rgba(37, 99, 235, 0.3), inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-glass-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.7), transparent);
  pointer-events: none;
  transition: left 0.3s ease, right 0.3s ease, opacity 0.3s ease;
}

.tech-glass-badge:hover {
  border-color: rgba(6, 182, 212, 0.65);
  box-shadow: 0 6px 28px -4px rgba(6, 182, 212, 0.4), inset 0 1px 2px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.tech-glass-badge:hover::before {
  left: 10%;
  right: 10%;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 1), transparent);
}

/* --------------------------------------------------------------------------
   6. TECH ACTION BUTTONS
   -------------------------------------------------------------------------- */
.btn-tech-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 55%, #1D4ED8 100%);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px -3px rgba(37, 99, 235, 0.45), inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  line-height: 1.25rem;
}

.btn-tech-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn-tech-primary:hover {
  background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 55%, #2563EB 100%);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 30px -4px rgba(37, 99, 235, 0.7), 0 0 15px rgba(6, 182, 212, 0.35);
  transform: translateY(-2px);
}

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

.btn-tech-primary:active {
  transform: translateY(0) scale(0.98) !important;
}

.btn-tech-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.75rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(37, 99, 235, 0.12) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #E2E8F0 !important;
  box-shadow: 0 4px 20px -4px rgba(37, 99, 235, 0.25), inset 0 1px 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  line-height: 1.25rem;
}

.btn-tech-glass:hover {
  border-color: rgba(6, 182, 212, 0.7);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09) 0%, rgba(37, 99, 235, 0.22) 100%);
  color: #FFFFFF !important;
  box-shadow: 0 8px 25px -4px rgba(6, 182, 212, 0.4), inset 0 1px 2px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-tech-glass:active {
  transform: translateY(0) scale(0.98) !important;
}

.btn-tech-primary:focus-visible,
.btn-tech-glass:focus-visible {
  outline: 2px solid #3B82F6;
  outline-offset: 2px;
}


