/* ==========================================================================
   KISHAN KUMAR SHARMA — UI COMPONENTS SYSTEM
   ========================================================================== */

/* ==========================================================================
   1. NAVIGATION & FLOATING GLASS HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}

.nav-container {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  max-width: 1180px;
  padding: 10px 18px 10px 24px;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all var(--transition-medium);
}

.nav-container:hover {
  border-color: var(--border-cyan-glow);
  box-shadow: 0 20px 50px -10px rgba(56, 189, 248, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Brand Logo Monolith */
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.brand-logo-svg {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 10px var(--accent-glow));
  transition: transform var(--transition-medium);
}

.brand-link:hover .brand-logo-svg {
  transform: rotate(5deg) scale(1.08);
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-name-primary {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #FFFFFF;
}

.brand-name-role {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent-cyan-bright);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Nav Links List */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-item-link {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-item-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-item-link.active {
  color: var(--text-primary);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-weight: 600;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   FLOATING AMBIENT AUDIO CAPSULE (OUTSIDE NAVIGATION MENU)
   ========================================================================== */
.floating-sound-capsule {
  position: fixed;
  bottom: 26px;
  left: 26px;
  z-index: 9999;
  display: flex;
  align-items: center;
  pointer-events: auto;
  user-select: none;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.8));
  transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

.floating-sound-capsule:hover {
  transform: translateY(-3px) scale(1.02);
}

.sound-capsule-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 10px;
  background: rgba(8, 14, 26, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  cursor: pointer;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.8), 0 0 20px rgba(56, 189, 248, 0.15);
  transition: all 0.3s ease;
}

.sound-capsule-toggle:hover {
  border-color: var(--accent-cyan-bright);
  background: rgba(12, 20, 36, 0.96);
  box-shadow: 0 14px 40px -5px rgba(0, 0, 0, 0.85), 0 0 28px rgba(56, 189, 248, 0.4);
}

.capsule-icon-disc {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284C7, #4F46E5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.9rem;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.sound-capsule-toggle.sound-on .capsule-icon-disc {
  animation: spinVinyl 4s linear infinite;
  background: linear-gradient(135deg, #38BDF8, #818CF8);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.8);
}

@keyframes spinVinyl {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.capsule-sound-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}

.capsule-label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan-bright);
  line-height: 1;
}

.capsule-status-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.capsule-state-text {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  font-weight: 500;
}

.sound-capsule-toggle.sound-on .capsule-state-text {
  color: #34D399;
}

.capsule-play-action {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-left: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sound-capsule-toggle.sound-on .capsule-play-action {
  color: var(--accent-cyan-bright);
}

/* Continuous Dancing Equalizer Waves */
.sound-wave-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  width: 16px;
  padding-bottom: 1px;
}

.sound-wave-bars .wave-bar {
  display: block;
  width: 2px;
  height: 3px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: height 0.3s ease;
}

/* When playing: continuous fluid equalizer dancing wave */
.sound-capsule-toggle.sound-on .wave-bar {
  background: var(--accent-cyan-bright);
  animation: soundBarDance 1.2s ease-in-out infinite alternate;
}

.sound-capsule-toggle.sound-on .wave-bar:nth-child(1) { animation-duration: 0.8s; animation-delay: 0.1s; }
.sound-capsule-toggle.sound-on .wave-bar:nth-child(2) { animation-duration: 1.1s; animation-delay: 0.3s; }
.sound-capsule-toggle.sound-on .wave-bar:nth-child(3) { animation-duration: 0.9s; animation-delay: 0.0s; }
.sound-capsule-toggle.sound-on .wave-bar:nth-child(4) { animation-duration: 1.2s; animation-delay: 0.25s; }
.sound-capsule-toggle.sound-on .wave-bar:nth-child(5) { animation-duration: 0.75s; animation-delay: 0.4s; }

@keyframes soundBarDance {
  0% { height: 3px; opacity: 0.6; }
  50% { height: 13px; opacity: 1; }
  100% { height: 5px; opacity: 0.8; }
}

@media (max-width: 600px) {
  .floating-sound-capsule {
    bottom: 18px;
    left: 18px;
  }
  .capsule-sound-info {
    display: none;
  }
  .sound-capsule-toggle {
    padding: 6px 12px 6px 6px;
    gap: 8px;
  }
}

/* Live Status Badge */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: #34D399;
}

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

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #FFFFFF;
  align-items: center;
  justify-content: center;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.95);
  backdrop-filter: blur(28px);
  z-index: 850;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-medium);
}

.mobile-nav-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--accent-cyan-bright);
}

/* ==========================================================================
   2. BUTTONS & INTERACTION TRIGGERS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all var(--transition-medium);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-sapphire), #1D4ED8);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px -4px var(--accent-glow-sapphire);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3B82F6, var(--accent-sapphire));
  box-shadow: 0 12px 30px -2px rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--accent-cyan-bright), #0284C7);
  color: #04060A;
  font-weight: 700;
  border: none;
  box-shadow: 0 8px 25px -4px var(--accent-glow);
}

.btn-cyan:hover {
  box-shadow: 0 12px 35px -2px rgba(56, 189, 248, 0.6);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.825rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn-icon-round {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   3. HERO COMPONENT ARCHITECTURE
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 5;
}

.hero-subhead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-top: 1.5rem;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-subhead strong {
  color: #FFFFFF;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* 3D Visual Centerpiece */
.hero-visual-container {
  position: relative;
  perspective: 1200px;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px -10px var(--accent-glow-sapphire);
  border: 1px solid var(--border-cyan-glow);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out, box-shadow var(--transition-medium);
  background: var(--bg-surface);
}

.hero-visual-card:hover {
  box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.9), 0 0 70px -5px var(--accent-glow);
}

.hero-visual-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
  will-change: transform;
}

.hero-visual-card:hover .hero-visual-img {
  transform: scale(1.025);
}

/* Floating Glassmorphic HUD Badges */
.hud-badge {
  position: absolute;
  padding: 12px 20px;
  background: rgba(12, 17, 30, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 30px -8px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
  z-index: 10;
  pointer-events: none;
  animation: floatHUD 6s ease-in-out infinite alternate;
}

.hud-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(56, 189, 248, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan-bright);
  font-size: 1.1rem;
}

.hud-badge-title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.hud-badge-sub {
  font-size: 0.725rem;
  color: var(--text-muted);
}

.hud-badge-1 {
  top: 8%;
  left: -8%;
  animation-delay: 0s;
}

.hud-badge-2 {
  bottom: 12%;
  right: -6%;
  animation-delay: 2.5s;
}

@keyframes floatHUD {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
  100% { transform: translateY(6px) rotate(-1deg); }
}

/* ==========================================================================
   4. IMPACT METRICS BAR (STRIP)
   ========================================================================== */
.stats-strip {
  padding: 40px 0;
  background: rgba(12, 17, 30, 0.6);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--border-subtle);
  padding-left: 24px;
  transition: border-color var(--transition-fast);
}

.stat-card:hover {
  border-color: var(--accent-cyan-bright);
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent-cyan-bright);
  font-weight: 800;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 8px;
}

.stat-sub {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   5. 3D INTERACTIVE PROJECT CARDS
   ========================================================================== */
.projects-feed {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-top: 60px;
}

.project-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-medium);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.project-card:nth-child(even) {
  grid-template-columns: 1fr 1.15fr;
}

.project-card:nth-child(even) .project-card-visual {
  order: 2;
}

.project-card:nth-child(even) .project-card-info {
  order: 1;
}

.project-card:hover {
  border-color: var(--border-cyan-glow);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px -10px var(--accent-glow-sapphire);
  transform: translateY(-4px);
}

.project-card-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #020408;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

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

/* Real Mobile App Showcase Frame (Apple / Dribbble Grade) */
.mobile-app-showcase-frame {
  width: 100%;
  height: 100%;
  min-height: 440px;
  background: radial-gradient(circle at center, rgba(30, 58, 138, 0.45) 0%, rgba(6, 10, 20, 0.95) 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  position: relative;
}

.mobile-phone-mockup {
  height: 100%;
  max-height: 420px;
  width: auto;
  border-radius: 26px;
  border: 4px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.95), 0 0 30px rgba(56, 189, 248, 0.35);
  object-fit: contain !important;
  background: #000;
  transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

.project-card:hover .mobile-phone-mockup {
  transform: scale(1.05) translateY(-4px) !important;
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4, 6, 10, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.project-meta-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.project-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan-bright);
}

.project-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan-bright);
}

.project-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.project-summary {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.project-tag {
  font-size: 0.785rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   6. INTERACTIVE BEFORE / AFTER REDESIGN SLIDER
   ========================================================================== */
.comparison-container {
  margin: 60px 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.comparison-slider-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 600px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  user-select: none;
}

.comparison-image-before,
.comparison-image-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.comparison-image-before {
  width: 50%;
  z-index: 2;
  border-right: 2px solid var(--accent-cyan-bright);
  box-shadow: 0 0 20px var(--accent-glow);
}

.comparison-image-before img,
.comparison-image-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.comparison-badge {
  position: absolute;
  top: 20px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 5;
}

.badge-before {
  left: 20px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #F87171;
}

.badge-after {
  right: 20px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34D399;
}

.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--accent-cyan-bright);
  z-index: 10;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.comparison-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--bg-void);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px var(--accent-cyan-bright);
  font-size: 1.1rem;
}

/* ==========================================================================
   7. BENTO GRID (ENTERPRISE UX PHILOSOPHY)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-medium);
}

.bento-card:hover {
  border-color: var(--border-cyan-glow);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-12 { grid-column: span 12; }

.bento-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan-bright);
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.bento-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.bento-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   8. CAREER TIMELINE
   ========================================================================== */
.timeline-container {
  position: relative;
  max-width: 960px;
  margin: 60px auto 0;
}

.timeline-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan-bright), var(--accent-sapphire) 50%, rgba(255, 255, 255, 0.05) 100%);
}

.timeline-entry {
  position: relative;
  padding-left: 60px;
  margin-bottom: 48px;
}

.timeline-node {
  position: absolute;
  left: 13px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-void);
  border: 3px solid var(--accent-cyan-bright);
  box-shadow: 0 0 12px var(--accent-cyan-bright);
}

.timeline-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all var(--transition-medium);
}

.timeline-card:hover {
  border-color: var(--border-cyan-glow);
  transform: translateX(6px);
}

.timeline-date-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan-bright);
  margin-bottom: 8px;
}

.timeline-role-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
}

.timeline-company-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.timeline-content-body {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   9. GLOBAL FOOTER
   ========================================================================== */
.site-footer {
  background: #020408;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-info {
  max-width: 440px;
}

.footer-links-group {
  display: flex;
  gap: 64px;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan-bright);
  margin-bottom: 20px;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list a {
  font-size: 0.925rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

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

.social-circle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-circle-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-cyan-bright);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* ==========================================================================
   CREATIVE & TECHNICAL ARSENAL SECTION
   ========================================================================== */
.arsenal-section {
  position: relative;
  padding: 90px 0 100px;
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.75) 0%, rgba(4, 7, 14, 0.95) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.arsenal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.arsenal-card {
  background: rgba(12, 18, 32, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.2, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.arsenal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan-bright), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.arsenal-card:hover {
  transform: translateY(-6px);
  background: rgba(16, 24, 44, 0.85);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(56, 189, 248, 0.15);
}

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

.arsenal-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.arsenal-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.arsenal-card:hover .arsenal-icon-wrap {
  transform: scale(1.1) rotate(4deg);
}

.arsenal-card[data-tool="vscode"]:hover .arsenal-icon-wrap {
  box-shadow: 0 0 20px rgba(0, 122, 204, 0.5);
  border-color: #007ACC;
}
.arsenal-card[data-tool="figma"]:hover .arsenal-icon-wrap {
  box-shadow: 0 0 20px rgba(162, 89, 255, 0.5);
  border-color: #A259FF;
}
.arsenal-card[data-tool="photoshop"]:hover .arsenal-icon-wrap {
  box-shadow: 0 0 20px rgba(49, 168, 255, 0.5);
  border-color: #31A8FF;
}
.arsenal-card[data-tool="illustrator"]:hover .arsenal-icon-wrap {
  box-shadow: 0 0 20px rgba(255, 154, 0, 0.5);
  border-color: #FF9A00;
}
.arsenal-card[data-tool="html5"]:hover .arsenal-icon-wrap {
  box-shadow: 0 0 20px rgba(228, 77, 38, 0.5);
  border-color: #E44D26;
}
.arsenal-card[data-tool="css3"]:hover .arsenal-icon-wrap {
  box-shadow: 0 0 20px rgba(21, 114, 182, 0.5);
  border-color: #1572B6;
}
.arsenal-card[data-tool="js"]:hover .arsenal-icon-wrap {
  box-shadow: 0 0 20px rgba(247, 223, 30, 0.5);
  border-color: #F7DF1E;
}
.arsenal-card[data-tool="xd"]:hover .arsenal-icon-wrap {
  box-shadow: 0 0 20px rgba(255, 97, 246, 0.5);
  border-color: #FF61F6;
}
.arsenal-card[data-tool="git"]:hover .arsenal-icon-wrap {
  box-shadow: 0 0 20px rgba(240, 80, 50, 0.5);
  border-color: #F05032;
}
.arsenal-card[data-tool="ai"]:hover .arsenal-icon-wrap {
  box-shadow: 0 0 20px rgba(16, 163, 127, 0.5);
  border-color: #10A37F;
}

.arsenal-badge-pill {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan-bright);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.arsenal-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.arsenal-card-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.arsenal-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.arsenal-level {
  font-weight: 700;
  color: var(--accent-cyan-bright);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  .hero-subhead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-row {
    justify-content: center;
  }
  .hud-badge {
    display: none; /* Clean viewport on tablet */
  }
  .bento-col-8, .bento-col-4, .bento-col-6 {
    grid-column: span 12;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu, .status-pill {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .project-card, .project-card:nth-child(even) {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
  .project-card:nth-child(even) .project-card-visual {
    order: 1;
  }
  .project-card:nth-child(even) .project-card-info {
    order: 2;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-top {
    flex-direction: column;
  }
  .footer-links-group {
    flex-direction: column;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
