/* ==========================================================================
   TUGSBILIG.COM - CYPHERPUNK / GEN-Z TECH PORTFOLIO STYLES
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #06080e;
  --bg-secondary: #0b0f19;
  --bg-surface: rgba(13, 19, 33, 0.72);
  --bg-surface-hover: rgba(20, 28, 48, 0.85);
  --bg-elevated: rgba(25, 34, 58, 0.6);

  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-highlight: rgba(0, 242, 254, 0.35);
  --border-glow-pink: rgba(255, 0, 127, 0.35);

  --neon-cyan: #00f2fe;
  --neon-teal: #06b6d4;
  --neon-purple: #9d4edd;
  --neon-violet: #8b5cf6;
  --neon-pink: #ec4899;
  --neon-magenta: #ff007f;
  --neon-green: #00f59b;
  --neon-yellow: #facc15;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-code: #38bdf8;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-glow-cyan: 0 0 25px rgba(0, 242, 254, 0.25);
  --shadow-glow-purple: 0 0 30px rgba(157, 78, 221, 0.28);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.6);

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  background: radial-gradient(circle at 15% 15%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 85% 65%, rgba(0, 242, 254, 0.08) 0%, transparent 45%),
              var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-pink);
}

/* Selection Color */
::selection {
  background: rgba(0, 242, 254, 0.3);
  color: #fff;
}

/* Canvas & Overlays */
#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Interactive Cursor */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, rgba(139, 92, 246, 0.06) 40%, transparent 70%);
  z-index: 999;
  transition: opacity 0.3s ease;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--neon-cyan);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan);
  z-index: 1000;
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
  z-index: 1001;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.8);
  transition: width 0.1s linear;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-highlight);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 242, 254, 0.12);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--neon-cyan) 0%, #38bdf8 25%, var(--neon-violet) 70%, var(--neon-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Cyber Buttons */
.cyber-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00f2fe 0%, #7928ca 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(121, 40, 202, 0.5), 0 0 15px rgba(0, 242, 254, 0.6);
}

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

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--neon-pink);
  color: var(--neon-pink);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.25);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.glass-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  max-width: 1140px;
  z-index: 100;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  transition: all var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-bracket {
  color: var(--neon-cyan);
}
.brand-name {
  color: var(--text-primary);
  letter-spacing: 0.5px;
}
.brand-domain {
  color: var(--neon-pink);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  transition: width var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

.nav-icon-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  padding: 0 12px;
  height: 36px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.2);
}

.nav-icon-btn .icon {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   CYBERPUNK SEGMENTED LANGUAGE SWITCHER (MN / EN)
   ========================================================================== */
.lang-switch-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 3px;
  background: rgba(11, 15, 25, 0.82);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
  user-select: none;
}

.lang-switch-pill:hover {
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Sliding active gradient indicator */
.lang-slider {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.25) 0%, rgba(157, 78, 221, 0.32) 100%);
  border: 1px solid rgba(0, 242, 254, 0.5);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  pointer-events: none;
  z-index: 1;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), background 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.lang-switch-pill.is-en .lang-slider {
  transform: translateX(100%);
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.32) 0%, rgba(0, 242, 254, 0.22) 100%);
  border-color: rgba(157, 78, 221, 0.55);
  box-shadow: 0 0 14px rgba(157, 78, 221, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Option Buttons inside Pill */
.lang-option-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  padding: 0 10px;
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  opacity: 0.65;
  transition: color var(--transition-fast), opacity var(--transition-fast), transform var(--transition-fast);
}

.lang-option-btn:hover {
  opacity: 0.95;
  color: var(--text-primary);
}

.lang-option-btn.active {
  opacity: 1;
  color: var(--neon-cyan);
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.45);
}

.lang-switch-pill.is-en .lang-option-btn.active {
  color: #c084fc;
  text-shadow: 0 0 8px rgba(192, 132, 252, 0.45);
}

/* Vector Flag Icons */
.flag-icon {
  width: 19px;
  height: 13px;
  display: block;
  flex-shrink: 0;
  border-radius: 2.5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.lang-option-btn.active .flag-icon {
  transform: scale(1.05);
  filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.45));
}

.lang-switch-pill.is-en .lang-option-btn.active .flag-icon {
  filter: drop-shadow(0 0 5px rgba(157, 78, 221, 0.5));
}

.lang-code-text {
  letter-spacing: 0.05em;
  font-size: 0.78rem;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger-btn span {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 150px;
  padding-bottom: 70px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

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

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  font-size: 0.88rem;
  font-weight: 500;
  border-color: rgba(0, 242, 254, 0.25);
  background: rgba(0, 242, 254, 0.05);
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.hero-title .greeting {
  display: block;
  font-size: 1.6rem;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0;
  margin-bottom: 4px;
}

.hero-title .neon-name {
  letter-spacing: 1.5px;
}

.hero-dynamic-tagline {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--neon-cyan);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.cursor-blink {
  animation: blink 1s step-end infinite;
  color: var(--neon-pink);
  font-weight: bold;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-bio {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-quick-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  max-width: 580px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--neon-cyan);
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--neon-cyan);
}

.stat-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 38px;
  background: var(--border-subtle);
}

/* 3D Tilt Cyber Avatar Card */
.tilt-card-wrapper {
  perspective: 1000px;
  display: flex;
  justify-content: center;
}

.cyber-avatar-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 242, 254, 0.3);
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  background: linear-gradient(165deg, rgba(17, 24, 39, 0.85) 0%, rgba(10, 14, 26, 0.95) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 242, 254, 0.15);
}

.card-glow-border {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--neon-cyan), transparent 40%, var(--neon-pink) 80%, var(--neon-purple));
  z-index: -1;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.cyber-avatar-card:hover .card-glow-border {
  opacity: 0.8;
}

.avatar-tag-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: var(--neon-cyan);
  margin-bottom: 14px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-cyan);
}

.avatar-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

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

.cyber-avatar-card:hover .avatar-img {
  transform: scale(1.04);
}

.avatar-hologram-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 242, 254, 0.08) 50%, transparent 100%);
  background-size: 100% 8px;
  opacity: 0.4;
}

.avatar-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.avatar-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.avatar-role {
  font-size: 0.82rem;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
}

.avatar-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.icon-loc {
  width: 14px;
  height: 14px;
  color: var(--neon-pink);
}

/* Floating Micro Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(11, 15, 25, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  animation: floatAnim 4s ease-in-out infinite;
}

.badge-1 {
  top: -12px;
  right: -15px;
  border-color: rgba(0, 242, 254, 0.5);
  animation-delay: 0s;
}

.badge-2 {
  bottom: 85px;
  left: -20px;
  border-color: rgba(139, 92, 246, 0.5);
  animation-delay: 1.3s;
}

.badge-3 {
  bottom: -15px;
  right: 25px;
  border-color: rgba(236, 72, 153, 0.5);
  animation-delay: 2.5s;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================================================
   SECTION COMMON HEADERS
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.badge-header {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  background: rgba(0, 242, 254, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 242, 254, 0.2);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ==========================================================================
   INTERACTIVE CYBER TERMINAL
   ========================================================================== */
.terminal-window {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(6, 9, 15, 0.95);
  border: 1px solid rgba(0, 242, 254, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 242, 254, 0.1);
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(14, 20, 32, 0.95);
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.terminal-btn-clear {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: 4px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.terminal-btn-clear:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.12);
}

.terminal-quick-cmds {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(10, 14, 22, 0.6);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  white-space: nowrap;
}

.quick-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-right: 4px;
}

.cmd-pill {
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cmd-pill:hover {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 10px var(--neon-cyan);
}

.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.6;
  max-height: 440px;
  overflow-y: auto;
}

.ascii-art {
  font-size: 0.65rem;
  color: var(--neon-cyan);
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.term-log {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.term-cmd-entry {
  margin: 10px 0 4px;
  color: var(--neon-cyan);
}

.term-res-entry {
  color: var(--text-primary);
  margin-bottom: 12px;
  white-space: pre-wrap;
  word-break: break-word;
}

.term-res-entry .highlight {
  color: var(--neon-green);
  font-weight: bold;
}

.term-res-entry .accent {
  color: var(--neon-pink);
}

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.term-prompt {
  white-space: nowrap;
  font-weight: 600;
}
.term-prompt .user-part { color: var(--neon-green); }
.term-prompt .at-part { color: var(--text-muted); }
.term-prompt .host-part { color: var(--neon-purple); }
.term-prompt .path-part { color: var(--neon-cyan); }

.term-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #fff;
  caret-color: var(--neon-cyan);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

.about-story {
  padding: 36px;
}

.card-icon-box {
  width: 50px;
  height: 50px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon {
  width: 26px;
  height: 26px;
  color: var(--neon-cyan);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.card-text {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.personal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.pill-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
}

/* Routine Timeline */
.about-routine {
  padding: 36px;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 20px;
}

.timeline-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.time-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--neon-cyan);
  background: rgba(0, 242, 254, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0, 242, 254, 0.25);
  white-space: nowrap;
}

.time-content h4 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.time-content p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SKILLS SECTION
   ========================================================================== */
.skills-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-tab {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover, .filter-tab.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(139, 92, 246, 0.2));
  border-color: var(--neon-cyan);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.skill-card {
  padding: 22px;
  transition: all var(--transition-normal);
}

.skill-card.hidden {
  display: none;
}

.skill-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.skill-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.1rem;
}

.skill-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.skill-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
}

.skill-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 8px;
}

.skill-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
  transition: width 1s ease-in-out;
}

.skill-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.skill-pct {
  color: var(--neon-cyan);
  font-weight: 700;
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.project-image-box {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #090d16;
}

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

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

.project-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.2);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 242, 254, 0.4);
  backdrop-filter: blur(8px);
}

/* Custom SVG Banner For Project 3 */
.custom-svg-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1e1b4b 0%, #090d16 80%);
}

.cyber-svg-artwork {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.code-symbol {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--neon-pink);
  text-shadow: 0 0 20px var(--neon-pink);
}

.pulse-ring {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 2px dashed rgba(236, 72, 153, 0.4);
  border-radius: 50%;
  animation: rotateRing 15s linear infinite;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.floating-orbit {
  position: absolute;
  width: 170px;
  height: 170px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: rotateRing 20s linear infinite reverse;
}

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

.project-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.project-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.project-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-cyan);
  background: rgba(0, 242, 254, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.project-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.project-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.project-tech-pills span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.project-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.btn-demo-trigger {
  background: transparent;
  color: var(--neon-cyan);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.btn-demo-trigger:hover {
  color: #fff;
  transform: translateX(4px);
}

.project-gh-link {
  color: var(--text-secondary);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.project-gh-link:hover {
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   INTERACTIVE CYBER LAB / SANDBOX
   ========================================================================== */
.lab-card {
  padding: 30px;
  max-width: 960px;
  margin: 0 auto;
}

.lab-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.lab-control-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.control-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cyber-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cyber-chip:hover, .cyber-chip.active {
  background: rgba(0, 242, 254, 0.15);
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.mini-runner-box {
  background: #080b12;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.runner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(18, 24, 38, 0.9);
  border-bottom: 1px solid var(--border-subtle);
}

.runner-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--neon-cyan);
}

.btn-run-code {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border: none;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-run-code:hover {
  box-shadow: 0 0 12px var(--neon-cyan);
  transform: scale(1.03);
}

.runner-editor-wrap {
  position: relative;
}

.runner-textarea {
  width: 100%;
  height: 150px;
  padding: 14px 16px;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.5;
  color: #38bdf8;
  resize: vertical;
}

.runner-console {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--neon-green);
  min-height: 42px;
  word-break: break-word;
}

/* ==========================================================================
   SETUP SECTION
   ========================================================================== */
.setup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.setup-item {
  padding: 28px;
  display: flex;
  gap: 20px;
}

.setup-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.setup-info h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.setup-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.setup-info li {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.setup-info strong {
  color: var(--neon-cyan);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
}

.contact-info, .contact-form-card {
  padding: 34px;
}

.contact-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-note {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin-bottom: 24px;
}

.direct-link-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.direct-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.direct-icon {
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.direct-detail {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.direct-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.direct-val {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--neon-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.direct-val:hover {
  color: #fff;
  text-decoration: underline;
}

.copy-badge {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 4px;
  width: fit-content;
  transition: all var(--transition-fast);
}

.copy-badge:hover {
  background: var(--neon-cyan);
  color: #000;
}

.social-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.social-pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.social-pill:hover {
  background: var(--neon-purple);
  color: #fff;
  border-color: var(--neon-purple);
  box-shadow: 0 0 12px rgba(157, 78, 221, 0.5);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-group label {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input, .form-group textarea, .form-group select {
  background: rgba(7, 10, 18, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.25);
}

.btn-submit {
  margin-top: 8px;
  width: 100%;
  padding: 14px;
}

/* ==========================================================================
   MODAL & TOAST
   ========================================================================== */
.project-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.project-modal-content {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 34px;
  background: #0d121f;
  border-color: var(--border-highlight);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-modal-backdrop.active .project-modal-content {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--neon-pink);
}

.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(14, 20, 32, 0.95);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 242, 254, 0.4);
  backdrop-filter: blur(14px);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3000;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.cyber-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(6, 8, 14, 0.9);
  padding: 40px 0;
  position: relative;
  z-index: 10;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.live-clock-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--neon-cyan);
  background: rgba(0, 242, 254, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 242, 254, 0.25);
  margin-bottom: 6px;
}

.clock-indicator {
  width: 6px;
  height: 6px;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--neon-cyan);
}

.server-status {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.copyright {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.credits {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .status-pill {
    margin: 0 auto 20px;
  }

  .hero-dynamic-tagline {
    justify-content: center;
  }

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

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

  .hero-quick-stats {
    margin-left: auto;
    margin-right: auto;
  }

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

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

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .nav-menu {
    position: fixed;
    top: 75px;
    left: 18px;
    right: 18px;
    background: rgba(11, 15, 25, 0.98);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-md);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hamburger-btn {
    display: flex;
  }

  .cursor-glow, .cursor-dot {
    display: none;
  }

  .floating-badge {
    display: none;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 520px) {
  .nav-actions {
    gap: 8px;
  }

  .nav-icon-btn {
    padding: 0 9px;
    height: 33px;
    font-size: 0.76rem;
  }

  .lang-switch-pill {
    height: 33px;
    padding: 2.5px;
  }

  .lang-option-btn {
    padding: 0 7px;
    gap: 4px;
    font-size: 0.74rem;
  }

  .flag-icon {
    width: 16px;
    height: 11px;
  }
}

