/* ==========================================================================
   Yared Kinetibeb Tesfaye Portfolio - Component Styles (Transparent Subject)
   ========================================================================== */

/* Ambient Drifting Blur Orbs */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  -webkit-filter: blur(90px);
  opacity: 0.38;
  pointer-events: none;
  z-index: 0;
  animation: orbDrift 18s ease-in-out infinite alternate;
}

.orb-gold-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(245, 185, 66, 0.45) 0%, rgba(184, 134, 11, 0.25) 60%, transparent 100%);
  top: -80px;
  right: -50px;
}

.orb-amber-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(223, 169, 81, 0.4) 0%, rgba(212, 175, 55, 0.2) 60%, transparent 100%);
  bottom: 20px;
  left: -120px;
  animation-delay: -9s;
}

.orb-gold-3 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(247, 215, 148, 0.35) 0%, rgba(229, 183, 105, 0.2) 60%, transparent 100%);
  top: 25%;
  right: -80px;
  animation-delay: -5s;
}

@keyframes orbDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, -45px) scale(1.08); }
  100% { transform: translate(-25px, 35px) scale(0.95); }
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Children Transitions */
.stagger-parent > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--stagger-idx, 0) * 90ms);
}

.stagger-parent.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* Live Pulsing Status Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50px;
  color: #10b981;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Staggered Hero Entrance Animations */
.hero-stagger-1 { animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards; }
.hero-stagger-2 { animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards; }
.hero-stagger-3 { animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s backwards; }
.hero-stagger-4 { animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards; }
.hero-stagger-5 { animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards; }

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

/* Cursor-Following Spotlight Glow Cards */
.tilt-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
  will-change: transform;
}

.tilt-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(245, 185, 66, 0.18), transparent 80%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.tilt-card:hover::before {
  opacity: 1;
}

/* Skill Badge Micro-Interactions */
.skill-pill {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.skill-pill:hover {
  transform: translateY(-4px) scale(1.03) !important;
  background: rgba(245, 185, 66, 0.12) !important;
  border-color: rgba(245, 185, 66, 0.5) !important;
  box-shadow: 0 6px 18px rgba(245, 185, 66, 0.2) !important;
}

.skill-pill:hover i {
  transform: scale(1.2) rotate(6deg);
  color: #f5b942;
  transition: transform 0.25s ease, color 0.25s ease;
}

/* Magnetic Button Hover & Tactile Press Scale */
.btn-magnetic {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background 0.2s ease !important;
}

.btn-magnetic:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 10px 28px rgba(245, 185, 66, 0.35) !important;
}

.btn-magnetic:active {
  transform: translateY(1px) scale(0.96) !important;
  box-shadow: 0 2px 8px rgba(245, 185, 66, 0.2) !important;
}

/* Animated Projects Filter Tab Slider Pill */
.project-filters {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: rgba(18, 18, 22, 0.8);
  border: 1px solid rgba(245, 185, 66, 0.2);
  border-radius: 50px;
  margin-top: 24px;
}

.filter-tab-slider {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: 100px;
  background: linear-gradient(135deg, #f7d794 0%, #e5b769 50%, #b8860b 100%);
  border-radius: 50px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(229, 183, 105, 0.35);
  pointer-events: none;
  z-index: 1;
}

.filter-btn {
  position: relative;
  z-index: 2;
  padding: 8px 20px;
  border-radius: 50px;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s ease;
  background: transparent !important;
  border: none !important;
}

.filter-btn.active {
  color: #09090b !important;
  font-weight: 700;
}

/* Certificate Premium Shimmer Sweep */
.cert-card {
  background: rgba(20, 20, 20, 0.65) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(245, 185, 66, 0.15) !important;
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.cert-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(245, 185, 66, 0.45) !important;
  box-shadow: 0 10px 30px -10px rgba(245, 185, 66, 0.15) !important;
}

.cert-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(245, 185, 66, 0) 40%,
    rgba(245, 185, 66, 0.22) 50%,
    rgba(245, 185, 66, 0) 60%,
    transparent 100%
  );
  transform: translateX(-100%) rotate(25deg);
  opacity: 0;
  pointer-events: none;
}

.cert-card:hover::after {
  opacity: 1;
  animation: certShimmer 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes certShimmer {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}

/* Education Timeline */
.timeline-container {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}

.timeline-item {
  display: flex;
  gap: 24px;
}

.timeline-dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #c99b42;
  color: #0a0a0c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(201, 155, 66, 0.4);
}

.timeline-card {
  background: rgba(20, 20, 20, 0.65) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(245, 185, 66, 0.15) !important;
  border-radius: 16px;
  padding: 32px;
  flex-grow: 1;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
  position: relative;
  overflow: hidden;
}

.timeline-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(245, 185, 66, 0.45) !important;
  box-shadow: 0 10px 30px -10px rgba(245, 185, 66, 0.15) !important;
}

/* Education Timeline Connector Progress Drawing Animation */
.timeline-container {
  position: relative;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: rgba(245, 185, 66, 0.2);
}

.timeline-progress-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, #f5b942 0%, #e5b769 70%, transparent 100%);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-container.revealed .timeline-progress-line {
  transform: scaleY(1);
}

/* Step 7 Accessibility: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .ambient-orb, #hero-particles {
    display: none !important;
  }

  .reveal-on-scroll, .stagger-parent > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .tilt-card {
    transform: none !important;
  }
}

/* Navbar Component */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  background: rgba(10, 10, 12, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 163, 75, 0.12);
  z-index: 1000;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  height: 75px;
  background: rgba(8, 8, 10, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  border-bottom-color: rgba(212, 163, 75, 0.25);
}

.nav-container {
  max-width: 1320px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box {
  width: 44px;
  height: 44px;
  background: transparent;
  color: #c99b42;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.5px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text .name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}

.logo-text .surname {
  font-size: 0.85rem;
  font-weight: 600;
  color: #c99b42;
  letter-spacing: 1.5px;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #cccccc;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.active {
  color: #c99b42;
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #c99b42;
  border-radius: 2px;
  box-shadow: 0 0 8px #c99b42;
}

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

.mobile-toggle {
  display: none;
  font-size: 1.4rem;
  color: #ffffff;
  padding: 6px;
}

/* ==========================================================================
   Hero Section (Transparent Background Subject Cutout)
   ========================================================================== */
.hero {
  min-height: 100vh;
  padding-top: 85px;
  padding-bottom: 25px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  background: #08080a;
  overflow: hidden;
}

/* Golden Arc Background SVG */
.hero-arc-bg {
  position: absolute;
  top: 30px;
  left: -80px;
  pointer-events: none;
  z-index: 0;
}

/* Bottom Left Sparkle Lens Flare Glow */
.hero-flare-glow {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(223, 169, 81, 0.3) 0%, rgba(223, 169, 81, 0.08) 45%, transparent 70%);
  pointer-events: none;
  filter: blur(15px);
  z-index: 0;
}

.hero-container {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.greeting-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.greeting-text {
  color: #c99b42;
  font-size: 1.15rem;
  font-weight: 500;
}

.gold-dash {
  width: 44px;
  height: 2px;
  background: #c99b42;
  display: inline-block;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-title .first-name {
  color: #ffffff;
  display: block;
}

.hero-title .last-name {
  color: #c99b42;
  display: block;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  color: #dddddd;
  margin-bottom: 18px;
}

.hero-subtitle .divider {
  color: #c99b42;
  margin: 0 10px;
  font-weight: 300;
}

.hero-description {
  color: #9e9e9e;
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 26px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.social-follow {
  display: flex;
  align-items: center;
  gap: 16px;
}

.follow-label {
  color: #c99b42;
  font-size: 0.95rem;
  font-weight: 500;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #c99b42;
  background: transparent;
  color: #c99b42;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.social-circle:hover {
  background: #c99b42;
  color: #0a0a0c;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(201, 155, 66, 0.4);
}

/* Transparent Background Hero Portrait Image Cutout */
.hero-image-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 100%;
  position: relative;
}

.portrait-card {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.portrait-img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  display: block;
  background: transparent;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.9));
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: #c99b42;
  color: #0a0a0c;
  border: 1px solid #c99b42;
}

.btn-primary:hover {
  background: #dbac51;
  border-color: #dbac51;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 155, 66, 0.35);
}

.btn-outline {
  border: 1px solid #c99b42;
  color: #c99b42;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(201, 155, 66, 0.12);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-cv {
  border: 1px solid #c99b42;
  color: #c99b42;
  padding: 9px 18px;
  font-size: 0.9rem;
  border-radius: 6px;
  background: transparent;
}

.btn-cv:hover {
  background: #c99b42;
  color: #0a0a0c;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid rgba(201, 155, 66, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c99b42;
  transition: var(--transition-fast);
  background: transparent;
}

.icon-btn:hover {
  border-color: #c99b42;
  color: #0a0a0c;
  background: #c99b42;
}

/* About Me Section */
.about-section {
  background: transparent;
  border-top: 1px solid rgba(245, 185, 66, 0.15);
  border-bottom: 1px solid rgba(245, 185, 66, 0.15);
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: center;
}

.about-bio .about-text {
  color: #a0a0a0;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.btn-more {
  margin-top: 10px;
  padding: 10px 24px;
}

/* Stat Cards Grid — Translucent Glassmorphism & Spotlight */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: rgba(20, 20, 20, 0.65) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(245, 185, 66, 0.15) !important;
  border-radius: 12px;
  padding: 28px 16px;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  background: rgba(26, 26, 26, 0.75) !important;
  border-color: rgba(245, 185, 66, 0.45) !important;
  transform: translateY(-6px) !important;
  box-shadow: 0 10px 30px -10px rgba(245, 185, 66, 0.15) !important;
}

.stat-icon {
  width: 44px;
  height: 44px;
  color: #c99b42;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid rgba(201, 155, 66, 0.35);
  border-radius: 8px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: #c99b42;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.82rem;
  color: #a0a0a0;
  line-height: 1.35;
  font-weight: 500;
}

/* Skills Grid */
.skills-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.skill-category-card {
  background: rgba(20, 20, 20, 0.65) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(245, 185, 66, 0.15) !important;
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
  position: relative;
  overflow: hidden;
}

.skill-category-card:hover {
  border-color: rgba(245, 185, 66, 0.45) !important;
  transform: translateY(-6px) !important;
  box-shadow: 0 10px 30px -10px rgba(245, 185, 66, 0.15) !important;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.category-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(201, 155, 66, 0.12);
  color: #c99b42;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-header h3 {
  font-size: 1.3rem;
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 155, 66, 0.2);
  border-radius: 50px;
  font-size: 0.9rem;
  color: #e0e0e0;
  transition: var(--transition-fast);
}

.skill-pill i {
  color: #c99b42;
  font-size: 1rem;
}

.skill-pill:hover {
  background: rgba(201, 155, 66, 0.15);
  border-color: #c99b42;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Projects Grid */
.project-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid rgba(201, 155, 66, 0.3);
  background: transparent;
  color: #aaaaaa;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: #c99b42;
  color: #0a0a0c;
  border-color: #c99b42;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(201, 155, 66, 0.3);
}

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

.project-card {
  background: rgba(20, 20, 20, 0.65) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(245, 185, 66, 0.15) !important;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
  display: flex;
  flex-direction: column;
  position: relative;
}

.project-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(245, 185, 66, 0.45) !important;
  box-shadow: 0 10px 30px -10px rgba(245, 185, 66, 0.15) !important;
}

.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.btn-icon-overlay {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #c99b42;
  color: #0a0a0c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.btn-icon-overlay:hover {
  transform: scale(1.15);
  box-shadow: 0 0 15px #c99b42;
}

.project-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #c99b42;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.project-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.project-desc {
  color: #9a9a9a;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tags span {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 155, 66, 0.2);
  border-radius: 4px;
  color: #bbbbbb;
}

/* Certificates Grid */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cert-card {
  background: #0f0f13;
  border: 1px solid rgba(201, 155, 66, 0.25);
  border-radius: 16px;
  padding: 28px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.cert-card:hover {
  border-color: #c99b42;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(201, 155, 66, 0.12);
}

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

.cert-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(201, 155, 66, 0.12);
  color: #c99b42;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.cert-issuer {
  font-size: 0.8rem;
  font-weight: 600;
  color: #c99b42;
  background: rgba(201, 155, 66, 0.1);
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(201, 155, 66, 0.2);
}

.cert-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.cert-date {
  font-size: 0.85rem;
  color: #888888;
  margin-bottom: 14px;
}

.cert-desc {
  font-size: 0.9rem;
  color: #9a9a9a;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.cert-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cert-id {
  font-size: 0.75rem;
  color: #777777;
}

.cert-verified {
  font-size: 0.8rem;
  color: #4ade80;
  font-weight: 500;
}

/* Education Timeline */
.timeline-container {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}

.timeline-item {
  display: flex;
  gap: 24px;
}

.timeline-dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #c99b42;
  color: #0a0a0c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(201, 155, 66, 0.4);
}

.timeline-card {
  background: #0f0f13;
  border: 1px solid rgba(201, 155, 66, 0.25);
  border-radius: 16px;
  padding: 32px;
  flex-grow: 1;
  transition: var(--transition-normal);
}

.timeline-card:hover {
  border-color: #c99b42;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(201, 155, 66, 0.1);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.institution {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.degree {
  font-size: 1.05rem;
  color: #c99b42;
  font-weight: 500;
}

.timeline-period {
  font-size: 0.85rem;
  padding: 6px 14px;
  background: rgba(201, 155, 66, 0.1);
  border: 1px solid rgba(201, 155, 66, 0.3);
  border-radius: 50px;
  color: #c99b42;
  font-weight: 600;
}

.timeline-desc {
  color: #9a9a9a;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.timeline-highlights h5 {
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.course-tags span {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 155, 66, 0.2);
  border-radius: 6px;
  font-size: 0.85rem;
  color: #aaaaaa;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: #0f0f13;
  border: 1px solid rgba(201, 155, 66, 0.25);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition-fast);
}

.info-card:hover {
  border-color: #c99b42;
  transform: translateY(-2px);
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(201, 155, 66, 0.12);
  color: #c99b42;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 0.85rem;
  color: #888888;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-details p {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 500;
}

.contact-socials {
  background: #0f0f13;
  border: 1px solid rgba(201, 155, 66, 0.25);
  border-radius: 12px;
  padding: 24px;
}

.contact-socials h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: #ffffff;
}

.contact-form-card {
  background: #0f0f13;
  border: 1px solid rgba(201, 155, 66, 0.25);
  border-radius: 16px;
  padding: 36px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #aaaaaa;
}

.form-group input,
.form-group textarea {
  background: rgba(10, 10, 12, 0.7);
  border: 1px solid rgba(201, 155, 66, 0.25);
  border-radius: 6px;
  padding: 14px 18px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #c99b42;
  box-shadow: 0 0 12px rgba(201, 155, 66, 0.25);
}

.btn-block {
  width: 100%;
}

.form-status {
  margin-top: 16px;
  padding: 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  text-align: center;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.form-status.loading {
  display: block;
  background: rgba(201, 155, 66, 0.15);
  border: 1px solid rgba(201, 155, 66, 0.3);
  color: #fbbf24;
}

/* Footer */
.footer {
  background: #060608;
  border-top: 1px solid rgba(201, 155, 66, 0.15);
  padding: 60px 0 30px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.footer-tagline {
  color: #888888;
  font-size: 0.9rem;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  color: #aaaaaa;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #c99b42;
}

.footer-bottom {
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #777777;
  font-size: 0.85rem;
}

.back-to-top {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0f0f13;
  border: 1px solid rgba(201, 155, 66, 0.3);
  color: #c99b42;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.back-to-top:hover {
  background: #c99b42;
  color: #0a0a0c;
  transform: translateY(-4px);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 7, 0.88);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #0f0f13;
  border: 1px solid #c99b42;
  border-radius: 16px;
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(201, 155, 66, 0.25);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #aaaaaa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: #c99b42;
  color: #0a0a0c;
}

/* Mobile CV Item inside Nav Drawer */
.mobile-cv-item {
  display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-image-wrapper {
    justify-content: center;
  }

  .portrait-img {
    max-width: 420px;
    margin: 0 auto;
  }

  .greeting-badge {
    justify-content: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .social-follow {
    justify-content: center;
  }

  .hero-title {
    font-size: 3.4rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .skills-wrapper {
    grid-template-columns: 1fr;
  }

  .projects-grid, .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 85px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 85px);
    background: #0a0a0c;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #c99b42;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
  }

  .mobile-cv-item {
    display: inline-flex !important;
  }

  .btn-cv {
    display: none !important;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid, .certificates-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CLI Terminal & Floating AI Assistant Bot Component Styles
   ========================================================================== */

/* Navbar Terminal Toggle Button */
.btn-terminal-toggle {
  background: rgba(41, 98, 255, 0.15);
  border: 1px solid rgba(41, 98, 255, 0.4);
  color: #60a5fa;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-terminal-toggle:hover {
  background: rgba(41, 98, 255, 0.3);
  border-color: #60a5fa;
  color: #fff;
  box-shadow: 0 0 12px rgba(41, 98, 255, 0.4);
}

/* Floating AI Portfolio Assistant Bot Widget */
.ai-bot-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999999;
}

.ai-bot-trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dfa951, #b8860b);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #0f172a;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(223, 169, 81, 0.4);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.ai-bot-trigger:hover {
  transform: scale(1.08) rotate(6deg);
  box-shadow: 0 12px 32px rgba(223, 169, 81, 0.6);
}

.bot-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #10b981;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
  border: 2px solid #0f172a;
}

.ai-bot-chatbox {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 360px;
  height: 460px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(223, 169, 81, 0.3);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: none;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: all 0.25s ease;
}

.ai-bot-chatbox.open {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: all !important;
  transform: translateY(0) scale(1) !important;
}

.chatbox-header {
  background: rgba(30, 41, 59, 0.8);
  padding: 12px 16px;
  border-bottom: 1px solid rgba(223, 169, 81, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbox-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.15s ease;
}
.chatbox-close:hover { color: #f43f5e; }

.chatbox-messages {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
}

.bot-msg {
  background: rgba(30, 41, 59, 0.9);
  color: #e2e8f0;
  border-left: 3px solid #dfa951;
  padding: 10px 12px;
  border-radius: 8px;
  max-width: 90%;
  line-height: 1.45;
}

.user-msg {
  background: #2563eb;
  color: #fff;
  align-self: flex-end;
  padding: 8px 12px;
  border-radius: 12px 12px 2px 12px;
  max-width: 85%;
  font-weight: 500;
}

.chatbox-suggestions {
  padding: 6px 12px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.suggestion-pill {
  background: rgba(223, 169, 81, 0.15);
  border: 1px solid rgba(223, 169, 81, 0.3);
  color: #dfa951;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.suggestion-pill:hover {
  background: #dfa951;
  color: #0f172a;
}

.chatbox-input-wrapper {
  padding: 10px;
  background: #0f172a;
  border-top: 1px solid rgba(223, 169, 81, 0.2);
  display: flex;
  gap: 8px;
}

#chatbox-input {
  flex: 1;
  background: #1e293b;
  border: 1px solid #334155;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  outline: none;
}
#chatbox-input:focus { border-color: #dfa951; }

#chatbox-send-btn {
  background: #dfa951;
  color: #0f172a;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.15s ease;
}
#chatbox-send-btn:hover { background: #f59e0b; }

/* Interactive CLI Terminal Drawer Overlay */
.terminal-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 26, 0.96);
  backdrop-filter: blur(12px);
  z-index: 1000000;
  display: none;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  font-family: 'JetBrains Mono', monospace;
}

.terminal-drawer.open {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: all !important;
}

.terminal-header {
  height: 42px;
  background: #161b26;
  border-bottom: 1px solid #2a3245;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.terminal-dots { display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-title { color: #94a3b8; font-size: 0.82rem; font-weight: 600; }
.terminal-close-btn { background: none; border: none; color: #94a3b8; font-size: 1.1rem; cursor: pointer; }
.terminal-close-btn:hover { color: #ef4444; }

.terminal-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  color: #10b981;
  font-size: 0.9rem;
  line-height: 1.6;
}

.welcome-line { color: #dfa951; font-weight: 700; }
.info-line { color: #94a3b8; margin-bottom: 16px; }
.cmd-highlight { color: #60a5fa; font-weight: 700; }

.terminal-prompt-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.prompt-user { color: #dfa951; font-weight: 700; }

#terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.92rem;
  outline: none;
}

/* ==========================================================================
   Real-Time Systems & Telemetry Console Styles
   ========================================================================== */
.telemetry-console-card {
  margin-top: 36px;
  background: rgba(18, 18, 24, 0.7) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(245, 185, 66, 0.25) !important;
  border-radius: 20px;
  padding: 28px;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(245, 185, 66, 0.08);
}

.telemetry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(245, 185, 66, 0.15);
}

.telemetry-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-dot-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981, 0 0 20px #10b981;
  animation: liveDotPulse 1.8s infinite ease-in-out;
}

@keyframes liveDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

.status-title {
  color: #f5b942;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.telemetry-readouts {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.uptime-counter {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.mode-toggle-group {
  display: flex;
  gap: 6px;
  background: rgba(10, 10, 14, 0.6);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid rgba(245, 185, 66, 0.15);
}

.mode-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mode-btn.active {
  background: rgba(245, 185, 66, 0.2);
  color: #f5b942;
  border: 1px solid rgba(245, 185, 66, 0.4);
  box-shadow: 0 0 12px rgba(245, 185, 66, 0.15);
}

.mode-btn:hover:not(.active) {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
}

/* Canvas Oscilloscope Stream */
.telemetry-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  background: rgba(10, 10, 14, 0.85);
  border: 1px solid rgba(245, 185, 66, 0.15);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  cursor: crosshair;
}

.telemetry-canvas-wrapper canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.canvas-overlay-stats {
  position: absolute;
  bottom: 8px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: #94a3b8;
  font-family: 'Courier New', Courier, monospace;
  pointer-events: none;
  background: rgba(10, 10, 14, 0.65);
  padding: 4px 12px;
  border-radius: 6px;
  flex-wrap: wrap;
  gap: 8px;
}

/* Bento Grid Domain Nodes */
.telemetry-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.telemetry-node-card {
  background: rgba(24, 24, 32, 0.6);
  border: 1px solid rgba(245, 185, 66, 0.15);
  border-radius: 14px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.telemetry-node-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 185, 66, 0.45);
  box-shadow: 0 10px 25px -5px rgba(245, 185, 66, 0.15);
  background: rgba(30, 30, 42, 0.75);
}

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

.node-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #f5b942;
  background: rgba(245, 185, 66, 0.12);
  border: 1px solid rgba(245, 185, 66, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.node-category {
  font-size: 0.72rem;
  font-weight: 600;
  color: #06b6d4;
  letter-spacing: 0.05em;
}

.node-title {
  color: #f1f5f9;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.node-metrics {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.node-metrics li {
  font-size: 0.84rem;
  color: #cbd5e1;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.node-metrics li i {
  color: #10b981;
  font-size: 0.8rem;
}

.node-arch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.telemetry-node-card:hover .node-arch-tags {
  opacity: 1;
}

.arch-tag {
  font-size: 0.72rem;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.telemetry-node-card:hover .arch-tag {
  background: rgba(245, 185, 66, 0.12);
  border-color: rgba(245, 185, 66, 0.25);
  color: #f5b942;
}

/* ==========================================================================
   3D Tech Stack Constellation Graph Styles
   ========================================================================== */
.tech-constellation-card {
  margin-bottom: 36px;
  background: rgba(18, 18, 24, 0.7) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(245, 185, 66, 0.25) !important;
  border-radius: 20px;
  padding: 24px;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(245, 185, 66, 0.08);
}

.constellation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(245, 185, 66, 0.15);
}

.constellation-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f5b942;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.constellation-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  color: #94a3b8;
  flex-wrap: wrap;
}

.constellation-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.constellation-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  background: rgba(10, 10, 14, 0.85);
  border: 1px solid rgba(245, 185, 66, 0.15);
  border-radius: 14px;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

.constellation-canvas-wrapper canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.constellation-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: #94a3b8;
  font-family: 'Inter', sans-serif;
  background: rgba(10, 10, 14, 0.75);
  border: 1px solid rgba(245, 185, 66, 0.2);
  padding: 4px 14px;
  border-radius: 20px;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
