:root {
  color-scheme: dark;
}
body {
  background-color: #05070c;
  color: #f1f5f9;
  overflow-x: hidden;
}

/* 2026 Liquid Glass Panels */
.liquid-glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.liquid-glass-subtle {
  background: rgba(13, 19, 33, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.liquid-card-glow {
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.liquid-card-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.4), rgba(139, 92, 246, 0.2), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.liquid-card-glow:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -12px rgba(14, 165, 233, 0.25);
}

.liquid-card-glow:hover::before {
  opacity: 1;
}

/* Ambient dynamic backdrop orbs */
.ambient-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
}

/* Bento Grid Active Pill Indicator */
.nav-pill-active {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #07090e;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.4);
}

/* Iridescent text gradient */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #93c5fd 70%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #00f5a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* MARQUEE SECTION */
.marquee-section {
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
}
.marquee-content {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  gap: 3rem;
  animation: scrollMarquee 35s linear infinite;
  padding: 0 1.5rem;
}
.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}
@keyframes scrollMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.trust-logo {
  height: 32px;
  width: auto;
  opacity: 0.85;
  transition: all 0.3s ease;
}
.trust-logo:hover {
  opacity: 1;
}
.tech-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.tech-pill-icon {
  width: 1.1rem;
  height: 1.1rem;
}

/* ─── CSS Custom Properties (legacy vars used by about/services pages) ─── */
:root {
  --accent-primary: #00f2fe;
  --accent-secondary: #4facfe;
  --accent-tertiary: #a855f7;
  --cyan-electric: #00f2fe;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --card-bg: #0d1321;
  --glass-border: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-radius-md: 14px;
}

/* ─── Gradient text (used in about/admin pages) ─── */
.gradient-text {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Bento Card ─── */
.bento-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(rgb(var(--panel-rgb, 255,255,255)), 0.12);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
}
.bento-card:hover {
  border-color: rgba(0, 242, 254, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 30px rgba(0,242,254,0.08), inset 0 1px 0 rgba(255,255,255,0.12);
}
.bento-card.card-featured {
  border-color: rgba(0, 242, 254, 0.2);
  background: linear-gradient(135deg, rgba(0,242,254,0.06) 0%, rgba(79,172,254,0.03) 50%, rgba(255,255,255,0.02) 100%);
}

/* ─── Tech Tags / Stack pills ─── */
.services-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(0, 242, 254, 0.07);
  border: 1px solid rgba(0, 242, 254, 0.18);
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.tech-tag:hover {
  background: rgba(0, 242, 254, 0.12);
  color: #e2e8f0;
}

/* ─── Timeline ─── */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 20px;
}
.timeline-list::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(0,242,254,0.5), rgba(168,85,247,0.4), transparent);
}
.timeline-item {
  position: relative;
  padding: 0 0 20px 20px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -17px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00f2fe;
  box-shadow: 0 0 10px #00f2fe;
  flex-shrink: 0;
}
.timeline-year {
  font-size: 10.5px;
  font-weight: 700;
  color: #00f2fe;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 3px;
  font-family: 'JetBrains Mono', monospace;
}
.timeline-title {
  font-size: 14px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 5px;
}
.timeline-desc {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.6;
}

/* ─── Service card feature list ─── */
.service-card-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card-feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
}

/* ─── Portal / Embossed Button ─── */
.portal-embossed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,242,254,0.3);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  gap: 6px;
}
.portal-embossed-btn:hover {
  background: rgba(0,242,254,0.12);
  border-color: rgba(0,242,254,0.5);
  color: #fff;
  transform: translateY(-1px);
}

/* ─── Bento column spans (used on about page) ─── */
.col-span-4  { grid-column: span 4; }
.col-span-6  { grid-column: span 6; }
.col-span-8  { grid-column: span 8; }
.col-span-12 { grid-column: span 12; }

@media (max-width: 768px) {
  .col-span-4, .col-span-6, .col-span-8, .col-span-12 {
    grid-column: span 12;
  }
}

/* ─── Spin animation (used in admin loading) ─── */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── Team Profile Cards & Oval Avatars ─── */
.team-profile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 2.25rem 1.75rem;
}
.team-avatar-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  position: relative;
}
.team-avatar-frame:hover {
  transform: translateY(-4px) scale(1.04);
}
.team-avatar {
  width: 96px;
  height: 124px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 2px solid #0d1321;
}
.role-badge {
  display: inline-block;
  font-size: 11px;
  font-family: var(--font-mono, monospace);
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 9999px;
  border: 1px solid;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.social-link:hover {
  transform: translateY(-3px) scale(1.1);
}

/* ==========================================================================
   NDTechHub Promo Components & Architecture Styles
   ========================================================================== */

/* Shimmer & Glow Button */
.btn-glow {
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-glow::after {
  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;
}
.btn-glow:hover {
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.45);
  transform: translateY(-1px);
}
.btn-glow:hover::after {
  left: 100%;
}
.btn-glow:active {
  transform: translateY(0);
}

/* Form Controls */
.input-field {
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  color: #f1f5f9;
}
.input-field::placeholder {
  color: #64748b;
}
.input-field:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
  background-color: #0c1222;
}

/* NIA 1.0 Simulator Console & Terminal */
#nia-console::-webkit-scrollbar {
  width: 6px;
}
#nia-console::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
}
#nia-console::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.35);
  border-radius: 4px;
}
#nia-console::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.6);
}

/* NIA 1.0 Simulator Scenario Buttons */
.nia-demo-btn {
  cursor: pointer;
  outline: none;
  border-width: 1px;
  border-style: solid;
  transition: all 0.2s ease;
}
.nia-demo-btn:hover {
  border-color: rgba(56, 189, 248, 0.5);
}
.nia-demo-btn.active {
  background-color: rgba(56, 189, 248, 0.2) !important;
  color: #67e8f9 !important;
  border-color: rgba(56, 189, 248, 0.6) !important;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

/* ==========================================================================
   Hero Cockpit & Interactive Visualizer Styles
   ========================================================================== */
.hero-cockpit {
  position: relative;
  background: radial-gradient(130% 100% at 50% 0%, rgba(15, 23, 42, 0.95) 0%, rgba(5, 7, 12, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px -10px rgba(14, 165, 233, 0.2);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.hero-cockpit:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.9), 0 0 50px -5px rgba(14, 165, 233, 0.3);
}

.hero-tab-btn {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
}
.hero-tab-btn.active {
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

@keyframes pulseGlowWave {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 0.9; transform: scaleY(1.3); }
}

.wave-bar {
  transform-origin: bottom;
  animation: pulseGlowWave 1.8s ease-in-out infinite;
}
.wave-bar:nth-child(2) { animation-delay: 0.2s; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; }
.wave-bar:nth-child(4) { animation-delay: 0.1s; }
.wave-bar:nth-child(5) { animation-delay: 0.35s; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; }
.wave-bar:nth-child(7) { animation-delay: 0.15s; }
.wave-bar:nth-child(8) { animation-delay: 0.3s; }


