/* ==========================================================================
   AZIZBEK ABDUNAZAROV - PORTFOLIO STYLESHEET
   Style: Dark Editorial / Brutalist Crimson Red & Black
   ========================================================================== */

:root {
  --bg-black: #060607;
  --bg-card: #0d0d0f;
  --bg-card-hover: #141418;
  --bg-card-border: #1e1e24;
  
  --red-primary: #b80913;
  --red-crimson: #940a1d;
  --red-deep: #660000;
  --red-glow: rgba(184, 9, 19, 0.4);
  --red-glow-subtle: rgba(184, 9, 19, 0.12);

  --text-white: #ffffff;
  --text-silver: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-display: 'Bebas Neue', sans-serif;
  --font-serif-title: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-script: 'Caveat', cursive;
  --font-mono: 'JetBrains Mono', monospace;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

/* RESET & BASE */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-black);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-black);
  color: var(--text-silver);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-black);
}
::-webkit-scrollbar-thumb {
  background: #262626;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red-primary);
}

::selection {
  background-color: var(--red-primary);
  color: #ffffff;
}

/* Cursor Glow Spotlight */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.3s ease;
  will-change: transform;
}

/* Custom Cursor Elements */
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--red-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 0 10px var(--red-primary), 0 0 20px rgba(229, 9, 20, 0.7);
  opacity: 0;
  will-change: transform;
}

.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(229, 9, 20, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
              height 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.22s ease, 
              border-color 0.22s ease,
              box-shadow 0.22s ease,
              opacity 0.2s ease;
  box-shadow: 0 0 16px rgba(229, 9, 20, 0.25);
  opacity: 0;
  will-change: transform;
}

.custom-cursor-ring.cursor-hover {
  width: 54px;
  height: 54px;
  border-color: #ff3344;
  background-color: rgba(229, 9, 20, 0.14);
  box-shadow: 0 0 25px rgba(229, 9, 20, 0.5);
}

.custom-cursor-ring.cursor-click {
  width: 26px;
  height: 26px;
  border-color: #ffffff;
  background-color: rgba(229, 9, 20, 0.5);
  box-shadow: 0 0 30px rgba(229, 9, 20, 0.8);
}

.cursor-trail-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99997;
}

/* CONTAINER */
.section-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(6, 6, 7, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.header-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand .brand-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 2px;
  color: var(--text-white);
  line-height: 1;
}

.brand-role {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--red-primary);
  font-weight: 700;
  margin-top: 3px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-item:hover,
.nav-item.active {
  color: var(--text-white);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red-primary);
  transition: width var(--transition-fast);
}

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

.header-status {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 9, 20, 0.08);
  border: 1px solid rgba(229, 9, 20, 0.35);
  color: #ff4d58;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--red-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--red-primary);
  animation: pulseDot 2s infinite ease-in-out;
}

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

.sparkle-icon {
  color: var(--red-primary);
  font-size: 11px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: #141417;
  border: 1px solid #2a2a32;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-drawer {
  display: none;
}

/* ==========================================================================
   HERO SECTION (Editorial Poster Style)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 110px;
  padding-bottom: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #180507 0%, var(--bg-black) 70%);
}

/* Giant "PORTFOLIO" Backdrop Text */
.hero-backdrop-text-wrap {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

.hero-giant-text {
  font-family: var(--font-display);
  font-size: clamp(140px, 21vw, 340px);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: clamp(6px, 1.8vw, 26px);
  color: #940a1d;
  opacity: 0.94;
  text-shadow: 0 0 50px rgba(148, 10, 29, 0.45), 0 0 100px rgba(100, 6, 18, 0.25);
  margin: 0;
  display: block;
  white-space: nowrap;
  transform: scaleY(1.72) scaleX(0.96);
  transform-origin: center top;
}

.red-radial-flare {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1000px, 95vw);
  height: min(650px, 65vh);
  background: radial-gradient(ellipse at center, rgba(148, 10, 29, 0.32) 0%, rgba(100, 6, 18, 0.12) 45%, rgba(6, 6, 7, 0) 75%);
  pointer-events: none;
  filter: blur(25px);
}

.easter-egg-sparkle {
  font-size: 14px;
  color: var(--red-primary);
  display: inline-block;
  cursor: pointer;
  margin-left: 2px;
  animation: pulseSparkle 2s infinite ease-in-out;
}

@keyframes pulseSparkle {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; filter: drop-shadow(0 0 8px var(--red-primary)); }
}

/* Hero Content Grid (3-Column Architecture: Left Bio, Center 3D Quantum Reactor, Right Stats) */
.hero-content-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(320px, 440px) minmax(260px, 0.95fr);
  align-items: center;
  gap: 28px;
  min-height: calc(86vh - 70px);
  pointer-events: auto;
}

/* Center Column: 3D Holographic AI Quantum Reactor (Shifted higher as requested) */
.hero-center-col {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
  z-index: 4;
  margin-top: -65px;
}

.quantum-reactor-wrap,
.chess-evolution-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: crosshair;
  transform: translateY(-25px);
}

#quantumCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.quantum-hud-overlay {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(8, 8, 12, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  padding: 5px 16px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.7), 0 0 16px rgba(0, 240, 255, 0.08);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.quantum-badge,
.chess-badge {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1.5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.quantum-badge i,
.chess-badge i {
  color: #ff3b00;
  font-size: 14px;
  text-shadow: 0 0 10px #ff3b00, 0 0 20px rgba(255, 255, 255, 0.4);
  animation: chessBadgePulse 2.2s ease-in-out infinite;
}

@keyframes chessBadgePulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 2px #ff3b00);
  }
  50% {
    transform: scale(1.18);
    filter: drop-shadow(0 0 8px #ffffff);
  }
}

.quantum-pulse-status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 8px #38bdf8;
  animation: pulseDot 1.8s infinite ease-in-out;
}

/* Hero Left Column */
.hero-left-col {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  padding-bottom: 12px;
}

.hero-script-intro {
  font-family: var(--font-script);
  font-size: 34px;
  color: var(--red-primary);
  margin-bottom: -10px;
  transform: rotate(-3deg);
  display: inline-block;
  letter-spacing: 1px;
}

.hero-main-name {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: 2px;
  color: var(--text-white);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-role-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--red-primary);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.role-separator {
  color: var(--text-dim);
}

.hero-bio-text {
  font-size: 15px;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-meta-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 30px;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 1.2px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.meta-badge i {
  color: var(--red-primary);
  font-size: 13px;
}

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

/* 3rd Reaction Trigger Button (Glowing neon red pulse + Fire icon + Cycling emojis) */
.btn-reaction-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(229, 9, 20, 0.12);
  color: #ffffff;
  border: 1.5px solid var(--red-primary);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  outline: none;
  transition: all var(--transition-fast);
  animation: reactionBtnPulse 2.2s infinite ease-in-out;
}

@keyframes reactionBtnPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.4), inset 0 0 8px rgba(229, 9, 20, 0.2);
    border-color: rgba(229, 9, 20, 0.7);
  }
  50% {
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.9), inset 0 0 14px rgba(229, 9, 20, 0.35);
    border-color: #ff3344;
    transform: scale(1.03);
  }
}

.btn-reaction-trigger:hover {
  background: var(--red-primary);
  box-shadow: 0 0 32px rgba(229, 9, 20, 0.95);
  transform: translateY(-2px) scale(1.04);
}

.btn-reaction-fire-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: inline-block;
  filter: drop-shadow(0 0 8px rgba(255, 100, 20, 0.8));
  animation: fireFlicker 2s infinite ease-in-out;
}

@keyframes fireFlicker {
  0%, 100% { transform: scale(1) rotate(0deg); }
  35% { transform: scale(1.12) rotate(-4deg); filter: drop-shadow(0 0 12px rgba(255, 120, 20, 0.95)); }
  70% { transform: scale(1.06) rotate(3deg); filter: drop-shadow(0 0 10px rgba(255, 80, 20, 0.85)); }
}

.btn-cycling-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 0 4px;
}

.btn-cycling-emoji {
  font-size: 16px;
  line-height: 1;
  display: inline-block;
  user-select: none;
}

.btn-cycling-emoji.cycle-pop {
  animation: emojiCyclePop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes emojiCyclePop {
  0% { transform: scale(0.5) translateY(4px); opacity: 0.2; }
  60% { transform: scale(1.3) translateY(-2px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.btn-reaction-text {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #ffffff;
}

/* ==========================================================================
   TELEGRAM REACTIONS BAR (HERO SECTION - CLEAN TELEGRAM STYLE UNDER ACTIONS)
   ========================================================================== */
.hero-reactions-bar {
  width: 100%;
  max-width: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 6px 0 0 0;
  margin-top: 14px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), max-height 0.4s ease, margin-top 0.4s ease;
  position: relative;
  z-index: 10;
}

.hero-reactions-bar.is-visible {
  opacity: 1;
  max-height: 250px;
  overflow: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.hero-reactions-bar.pulse-attention .reaction-item {
  animation: reactionAttention 0.7s ease-in-out;
}

@keyframes reactionAttention {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); border-color: var(--red-primary); box-shadow: 0 0 16px rgba(229, 9, 20, 0.65); }
}

.reactions-list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  flex-wrap: wrap;
  padding: 4px 2px;
}

.reaction-item {
  background: rgba(18, 19, 28, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 6px 9px;
  min-width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.reaction-item:hover {
  background: rgba(229, 9, 20, 0.18);
  border-color: rgba(229, 9, 20, 0.55);
  transform: translateY(-2px) scale(1.05);
}

.reaction-item:active,
.reaction-item.is-clicked {
  transform: scale(1.22);
  background: rgba(229, 9, 20, 0.35);
  border-color: #e50914;
  box-shadow: 0 0 18px rgba(229, 9, 20, 0.7);
}

.reaction-emoji {
  font-size: 20px;
  line-height: 1.1;
  display: inline-block;
  pointer-events: none;
  transition: transform 0.12s ease;
}

.reaction-item:hover .reaction-emoji {
  transform: scale(1.15);
}

.reaction-count {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #cbd5e1;
  margin-top: 4px;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

/* Telegram Flying Emoji Particle Animation */
.reaction-fly-emoji {
  position: fixed;
  font-size: 28px;
  pointer-events: none;
  z-index: 100000;
  animation: flyUpAndFade 0.75s cubic-bezier(0.12, 0.8, 0.32, 1) forwards;
}

@keyframes flyUpAndFade {
  0% {
    transform: translate(-50%, -50%) scale(0.6) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -80px) scale(1.35) rotate(-10deg);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -130px) scale(1.5) rotate(12deg);
    opacity: 0;
  }
}

/* Buttons */
.btn-primary-red {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--red-primary);
  color: #ffffff;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.4);
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary-red:hover {
  background-color: #ff1f2d;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(229, 9, 20, 0.6);
}

.btn-secondary-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

/* Hero Right Column */
.hero-right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 48px;
  position: relative;
  z-index: 6;
  padding-top: 18px;
}

.hero-vision-card {
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.sparkle-symbol {
  color: var(--red-primary);
  font-size: 18px;
  margin-bottom: 8px;
  animation: floatSparkle 3s ease-in-out infinite;
}

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

.vision-quote {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Key Stats */
.hero-stats-group {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 52px;
}

.stat-card {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.stat-number-wrap {
  display: flex;
  align-items: flex-start;
  font-family: var(--font-display);
  font-size: 58px;
  line-height: 0.9;
  color: var(--red-primary);
}

.stat-number {
  font-family: var(--font-display);
}

.stat-plus {
  font-size: 38px;
  color: var(--red-primary);
  margin-left: 2px;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 1.4px;
  color: var(--text-silver);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.35;
  text-align: left;
}

/* ==========================================================================
   SELECTED PROJECTS SECTION
   ========================================================================== */
.projects-section {
  padding: 100px 0 80px;
  background-color: #08080a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--red-primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 44px;
  letter-spacing: 2px;
  color: var(--text-white);
  line-height: 1;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.section-link:hover {
  color: var(--red-primary);
  transform: translateX(4px);
}

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(229, 9, 20, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 24px rgba(229, 9, 20, 0.15);
}

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

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-slow);
}

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.project-action-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--red-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  transform: scale(0.85);
  transition: transform var(--transition-fast);
}

.project-card:hover .project-action-btn {
  transform: scale(1);
}

.project-live-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(229, 9, 20, 0.4);
  color: #ff5252;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

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

.project-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.project-num {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  color: var(--red-primary);
}

.project-title-group {
  flex-grow: 1;
}

.project-title {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 1px;
  color: var(--text-white);
  line-height: 1.1;
}

.project-category {
  display: block;
  font-size: 10.5px;
  letter-spacing: 1.2px;
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 3px;
}

.project-arrow-btn {
  color: var(--text-muted);
  font-size: 16px;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
  margin-top: 4px;
}

.project-card:hover .project-arrow-btn {
  color: var(--red-primary);
  transform: translateX(4px);
}

.project-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.tech-tag {
  background: #18181f;
  border: 1px solid #272732;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}

/* ==========================================================================
   TRIPLE COLUMN SECTION (Education & Skills | Process | Quote Card)
   ========================================================================== */
.triple-section {
  padding: 90px 0 100px;
  background-color: var(--bg-black);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.triple-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.35fr 1.05fr;
  gap: 36px;
}

.triple-col {
  display: flex;
  flex-direction: column;
}

.col-header {
  margin-bottom: 28px;
}

.col-eyebrow {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--red-primary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.col-title {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 1.5px;
  color: var(--text-white);
  line-height: 1.1;
}

.sub-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: var(--red-primary);
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Column 1: Education & Skills */
.edu-group {
  margin-bottom: 32px;
}

.edu-item {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.edu-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.edu-item-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 3px;
}

.edu-degree {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
}

.edu-year {
  font-size: 11px;
  font-weight: 700;
  color: var(--red-primary);
  white-space: nowrap;
}

.edu-institution {
  font-size: 12.5px;
  color: var(--text-muted);
}

.skills-pill-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #101014;
  border: 1px solid #252530;
  color: var(--text-silver);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.skill-pill:hover {
  background: #1c1c24;
  border-color: var(--red-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.skill-pill i {
  color: var(--red-primary);
  font-size: 12px;
}

/* Column 2: Work Process (Timeline) */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.process-node {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
}

.node-id {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--red-primary);
  line-height: 1;
  width: 24px;
  padding-top: 6px;
}

.node-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #111116;
  border: 1px solid rgba(229, 9, 20, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-primary);
  font-size: 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: all var(--transition-fast);
}

.process-node:hover .node-icon-box {
  background-color: var(--red-primary);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(229, 9, 20, 0.5);
}

.node-body {
  flex-grow: 1;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.process-node:last-child .node-body {
  border-bottom: none;
}

.node-title {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--red-primary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.node-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Column 3: The Crimson Red Quote Card */
.col-quote-card {
  height: 100%;
}

.quote-card-inner {
  background: linear-gradient(160deg, #99000a 0%, #630508 55%, #3d0003 100%);
  border: 1px solid rgba(255, 80, 80, 0.3);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 20px 40px rgba(100, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.quote-card-inner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.quote-mark-icon {
  font-family: serif;
  font-size: 64px;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.quote-text {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 28px;
}

.quote-author-signature {
  margin-bottom: 36px;
}

.signature-text {
  font-family: var(--font-script);
  font-size: 48px;
  color: #ffffff;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
  transform: rotate(-2deg);
}

.signature-sub {
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  font-weight: 700;
}

.quote-cta-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quote-cta-text {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: #ffffff;
  text-transform: uppercase;
}

.quote-sparkle {
  color: #ffffff;
  font-size: 16px;
  animation: pulseDot 2s infinite ease-in-out;
}

/* ==========================================================================
   CONTACT & WORK TOGETHER SECTION
   ========================================================================== */
.contact-section {
  padding: 100px 0 110px;
  background-color: #060608;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.contact-left-col {
  display: flex;
  flex-direction: column;
}

.contact-giant-heading {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 76px);
  letter-spacing: 2px;
  line-height: 0.95;
  color: var(--text-white);
  margin-bottom: 18px;
}

.accent-sparkle {
  color: var(--red-primary);
  font-size: 0.6em;
  vertical-align: super;
}

.contact-lead-text {
  font-size: 15px;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 520px;
  margin-bottom: 36px;
}

.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #0d0d11;
  border: 1px solid #1e1e26;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.contact-item:hover {
  background: #14141c;
  border-color: rgba(229, 9, 20, 0.4);
}

.contact-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(229, 9, 20, 0.1);
  color: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-item-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.contact-item-label {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
}

.contact-item-value {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-white);
}

.copy-btn, .external-arrow {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
  transition: color var(--transition-fast);
}

.copy-btn:hover, .contact-item:hover .external-arrow {
  color: var(--red-primary);
}

.contact-action-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   ARGUS AI 3D DYNAMIC MORPHING ENTITY (FRAMELESS & SEAMLESS)
   ========================================================================== */
.contact-right-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.argus-3d-wrap {
  position: relative;
  width: 100%;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  cursor: crosshair;
  overflow: visible;
}

#argus3dCanvas {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
}

.argus-bottom-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  user-select: none;
  pointer-events: none;
}

.argus-title-text {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 4px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

.argus-title-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--red-primary);
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.35);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
}

/* Argus AI Chat Toggle Button */
.argus-chat-toggle-btn {
  pointer-events: auto;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.14);
  border: 1px solid rgba(229, 9, 20, 0.45);
  color: #ff3b47;
  font-size: 15px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 0 15px rgba(229, 9, 20, 0.25);
}

.argus-chat-toggle-btn:hover {
  background: var(--red-primary);
  color: #ffffff;
  transform: scale(1.14);
  box-shadow: 0 0 25px rgba(229, 9, 20, 0.6);
}

.chat-btn-pulse {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 8px #00ff88;
  animation: pulseGreen 2s infinite;
}

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

/* Argus Neural AI Chat Modal */
.argus-chat-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.argus-chat-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.argus-chat-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.argus-chat-window {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 420px;
  height: 580px;
  max-height: calc(100vh - 48px);
  background: rgba(12, 12, 16, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(229, 9, 20, 0.35);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(229, 9, 20, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.argus-chat-modal.active .argus-chat-window {
  transform: translateY(0) scale(1);
}

/* Chat Header */
.argus-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(20, 20, 28, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.argus-chat-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.argus-avatar-ring {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #101016;
  border: 1.5px solid rgba(229, 9, 20, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(229, 9, 20, 0.4);
  flex-shrink: 0;
}

.argus-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.msg-avatar-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(229, 9, 20, 0.5);
  overflow: hidden;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 4px;
  box-shadow: 0 0 8px rgba(229, 9, 20, 0.25);
  background: #101016;
}

.msg-avatar-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.status-indicator-live {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00ff88;
  border: 2px solid #0c0c10;
  box-shadow: 0 0 8px #00ff88;
  z-index: 2;
}

.argus-profile-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.argus-chat-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1.5px;
  color: #ffffff;
  font-weight: 700;
}

.argus-badge-groq {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--red-primary);
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(229, 9, 20, 0.35);
  padding: 1px 6px;
  border-radius: 4px;
}

.argus-chat-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

.argus-chat-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s ease;
}

.argus-chat-close-btn:hover {
  background: rgba(229, 9, 20, 0.2);
  color: #ff3b47;
  border-color: rgba(229, 9, 20, 0.4);
}

/* Preset Chips */
.argus-preset-chips {
  display: flex;
  gap: 8px;
  padding: 12px 16px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(14, 14, 20, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.argus-preset-chips::-webkit-scrollbar {
  display: none;
}

.preset-chip {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.preset-chip:hover {
  background: rgba(229, 9, 20, 0.15);
  border-color: rgba(229, 9, 20, 0.4);
  color: #ffffff;
}

/* Chat Messages */
.argus-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.argus-msg {
  display: flex;
  gap: 10px;
  max-width: 86%;
  animation: fadeInMsg 0.25s ease-out;
}

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

.argus-msg.msg-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.argus-msg.msg-argus {
  align-self: flex-start;
}

.msg-bubble-content {
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-primary);
  word-break: break-word;
}

.msg-user .msg-bubble-content {
  background: linear-gradient(135deg, var(--red-primary), #b30710);
  color: #ffffff;
  border-bottom-right-radius: 3px;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
}

.msg-argus .msg-bubble-content {
  background: rgba(24, 24, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.msg-argus .msg-bubble-content strong {
  color: #ffffff;
}

/* Typing Indicator */
.typing-dots {
  display: inline-flex;
  gap: 4px;
  padding: 4px 6px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3b47;
  animation: blinkTyping 1.4s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes blinkTyping {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.3; }
  40% { transform: scale(1.1); opacity: 1; }
}

/* Chat Input Bar */
.argus-chat-input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(18, 18, 24, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.argus-chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 10px 16px;
  font-size: 13.5px;
  color: #ffffff;
  outline: none;
  font-family: inherit;
  transition: all 0.2s ease;
}

.argus-chat-input:focus {
  border-color: rgba(229, 9, 20, 0.6);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 14px rgba(229, 9, 20, 0.2);
}

.argus-chat-send-btn {
  background: var(--red-primary);
  border: none;
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s ease;
  box-shadow: 0 0 15px rgba(229, 9, 20, 0.4);
}

.argus-chat-send-btn:hover:not(:disabled) {
  transform: scale(1.08);
  box-shadow: 0 0 22px rgba(229, 9, 20, 0.7);
}

.argus-chat-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .argus-chat-modal {
    padding: 0;
  }
  .argus-chat-window {
    max-width: 100%;
    height: 85vh;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
  }
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #040405;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
}

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

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1.5px;
  color: var(--text-white);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111116;
  border: 1px solid #22222a;
  color: var(--text-silver);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--red-primary);
  color: #ffffff;
  border-color: var(--red-primary);
  transform: translateY(-2px);
}

.back-to-top {
  margin-left: 8px;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-box {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #111116;
  border: 1px solid var(--red-primary);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(229, 9, 20, 0.3);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.toast-box.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 1180px) {
  .hero-content-container {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    padding: 0 24px;
  }
  .hero-main-name {
    font-size: 54px;
  }
  .triple-grid {
    grid-template-columns: 1fr 1fr;
  }
  .col-quote-card {
    grid-column: span 2;
  }
}

@media (max-width: 992px) {
  .hero-section {
    padding-top: 100px;
    padding-bottom: 50px;
    min-height: auto;
  }
  .hero-content-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-left-col {
    order: 1;
    max-width: 100%;
    align-items: center;
    text-align: center;
    padding-bottom: 0;
  }
  .hero-role-title {
    justify-content: center;
  }
  .hero-bio-text {
    max-width: 600px;
  }
  .hero-meta-badges {
    align-items: center;
  }
  .hero-cta-actions {
    justify-content: center;
  }
  .reactions-list {
    justify-content: center;
  }
  .hero-right-col {
    order: 2;
    align-items: center;
    text-align: center;
    gap: 30px;
    padding-top: 0;
  }
  .hero-vision-card {
    align-items: center;
    text-align: center;
    max-width: 480px;
  }
  .hero-stats-group {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 36px;
    margin-top: 0;
  }
  .stat-card {
    justify-content: center;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Global Container */
  .section-container {
    padding: 0 18px;
  }

  /* Header & Navigation */
  .header-container {
    padding: 12px 18px;
    height: 64px;
  }

  .brand-name {
    font-size: 21px;
    letter-spacing: 1.5px;
  }

  .brand-role {
    font-size: 8.5px;
    letter-spacing: 1px;
  }

  .nav-desktop, .status-pill {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    width: 36px;
    height: 36px;
    padding: 7px;
  }

  /* Hamburger to X Animation */
  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--red-primary);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--red-primary);
  }

  .mobile-drawer {
    display: block;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(8, 8, 11, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229, 9, 20, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9);
    padding: 20px 20px 26px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    z-index: 99;
  }

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

  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
  }

  .mobile-nav-item {
    color: var(--text-silver);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
  }

  .mobile-nav-item:hover,
  .mobile-nav-item:active {
    color: var(--red-primary);
    padding-left: 6px;
  }

  .mobile-drawer-footer .btn-outline-red {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 18px;
    font-size: 13px;
    text-decoration: none;
    color: var(--text-white);
    background: rgba(229, 9, 20, 0.12);
    border: 1px solid rgba(229, 9, 20, 0.4);
    border-radius: var(--radius-sm);
    font-weight: 700;
  }

  /* Hero Section */
  .hero-section {
    padding-top: 74px;
    padding-bottom: 44px;
    position: relative;
    overflow: hidden;
  }

  .hero-content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
    width: 100%;
  }

  /* Center Column: 3D Particle Visual Canvas */
  .hero-center-col {
    order: 1;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    z-index: 4;
  }

  .quantum-reactor-wrap,
  .chess-evolution-wrap {
    position: relative;
    width: 100%;
    max-width: 360px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  #quantumCanvas {
    width: 100%;
    height: 100%;
    display: block;
  }

  /* Giant "PORTFOLIO" Backdrop Text - Centered directly behind the 3D Particle Visual */
  .hero-backdrop-text-wrap {
    position: absolute;
    top: 184px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    pointer-events: none;
    z-index: 1;
    user-select: none;
    overflow: visible;
  }

  .hero-giant-text {
    font-family: var(--font-display);
    font-size: clamp(66px, 19vw, 92px);
    font-weight: 900;
    line-height: 0.78;
    letter-spacing: clamp(4px, 1.6vw, 8px);
    color: #940a1d;
    opacity: 0.92;
    text-shadow: 0 0 40px rgba(148, 10, 29, 0.45), 0 0 80px rgba(100, 6, 18, 0.25);
    margin: 0;
    display: block;
    white-space: nowrap;
    transform: scaleY(1.72) scaleX(0.96);
    transform-origin: center center;
  }

  .red-radial-flare {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(400px, 95vw);
    height: 220px;
    background: radial-gradient(ellipse at center, rgba(148, 10, 29, 0.45) 0%, rgba(100, 6, 18, 0.16) 45%, rgba(6, 6, 7, 0) 75%);
    pointer-events: none;
    filter: blur(22px);
  }

  .hero-left-col {
    order: 2;
    max-width: 100%;
    align-items: center;
    text-align: center;
    padding-bottom: 0;
    margin-top: 0;
  }

  .hero-script-intro {
    font-size: 26px;
    margin-bottom: -4px;
  }

  .hero-main-name {
    font-size: clamp(38px, 9.5vw, 54px);
    line-height: 1;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }

  .hero-role-title {
    font-size: 11px;
    letter-spacing: 1.4px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 14px;
  }

  .hero-bio-text {
    font-size: 13.5px;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 18px;
  }

  .hero-meta-badges {
    gap: 6px;
    margin-bottom: 22px;
  }

  .meta-badge {
    font-size: 10.5px;
    letter-spacing: 0.8px;
    padding: 4px 10px;
  }

  .hero-cta-actions {
    gap: 10px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .hero-reactions-bar {
    margin-top: 12px;
    width: 100%;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .reactions-list {
    justify-content: center;
    gap: 6px;
    padding: 2px;
  }

  .reaction-item {
    padding: 5px 8px;
    min-width: 38px;
    border-radius: 10px;
  }

  .reaction-emoji {
    font-size: 18px;
  }

  .reaction-count {
    font-size: 9.5px;
  }

  /* Hero Right Column (Vision & Key Stats) */
  .hero-right-col {
    order: 2;
    gap: 24px;
    margin-top: 4px;
  }

  .hero-vision-card {
    max-width: 360px;
    margin: 0 auto;
  }

  .vision-quote {
    font-size: 13px;
    line-height: 1.55;
  }

  /* Stats Grid: Symmetrical 3 Columns */
  .hero-stats-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .stat-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3px;
    padding: 12px 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
  }

  .stat-number-wrap {
    font-size: 38px;
    line-height: 1;
    align-items: baseline;
  }

  .stat-plus {
    font-size: 22px;
  }

  .stat-label {
    font-size: 9px;
    letter-spacing: 0.8px;
    text-align: center;
    line-height: 1.25;
  }

  /* Selected Projects Section */
  .projects-section {
    padding: 56px 0 60px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
  }

  .section-heading {
    font-size: clamp(32px, 8vw, 40px);
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 520px;
    margin: 0 auto;
  }

  .project-image-box {
    height: 195px;
  }

  .project-details {
    padding: 18px 16px;
  }

  .project-title {
    font-size: 22px;
  }

  .project-desc {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .project-arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(229, 9, 20, 0.12);
    border: 1px solid rgba(229, 9, 20, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red-primary);
    font-size: 14px;
  }

  .tech-tag {
    font-size: 10.5px;
    padding: 3px 8px;
  }

  /* Triple Column Section (Education & Skills | Process | Quote) */
  .triple-section {
    padding: 56px 0 64px;
  }

  .triple-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .col-quote-card {
    grid-column: span 1;
  }

  .col-header {
    margin-bottom: 20px;
  }

  .col-title {
    font-size: 26px;
  }

  .edu-item {
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .edu-item-header {
    flex-wrap: wrap;
    gap: 4px 8px;
    justify-content: space-between;
  }

  .edu-degree {
    font-size: 13.5px;
  }

  .edu-year {
    font-size: 11px;
  }

  .edu-institution {
    font-size: 12px;
  }

  .skills-pill-wrap {
    gap: 6px;
  }

  .skill-pill {
    font-size: 11.5px;
    padding: 5px 11px;
  }

  .process-timeline {
    gap: 16px;
  }

  .process-node {
    gap: 14px;
  }

  .node-id {
    font-size: 18px;
    width: 20px;
  }

  .node-icon-box {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .node-title {
    font-size: 12.5px;
  }

  .node-text {
    font-size: 12.5px;
  }

  .quote-card-inner {
    padding: 28px 20px;
    border-radius: var(--radius-md);
  }

  .quote-mark-icon {
    font-size: 46px;
    margin-bottom: 10px;
  }

  .quote-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .signature-text {
    font-size: 38px;
  }

  .signature-sub {
    font-size: 10px;
  }

  .quote-cta-bottom {
    padding-top: 14px;
  }

  .quote-cta-text {
    font-size: 10px;
  }

  /* Contact Section & ARGUS AI */
  .contact-section {
    padding: 56px 0 64px;
  }

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

  .contact-giant-heading {
    font-size: clamp(34px, 8.5vw, 46px);
    margin-bottom: 14px;
  }

  .contact-lead-text {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .contact-links-list {
    gap: 10px;
    margin-bottom: 24px;
  }

  .contact-item {
    padding: 10px 14px;
    gap: 12px;
  }

  .contact-icon-box {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .contact-item-label {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .contact-item-value {
    font-size: 13.5px;
    word-break: break-all;
  }

  .argus-3d-wrap {
    height: 290px;
    max-width: 320px;
    margin: 0 auto;
    touch-action: pan-y;
  }

  .argus-bottom-title {
    margin-top: 8px;
  }

  .argus-title-text {
    font-size: 18px;
    letter-spacing: 3px;
  }

  /* Footer */
  .site-footer {
    padding: 24px 0;
  }

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

  .footer-left {
    align-items: center;
  }

  .footer-logo {
    font-size: 18px;
  }

  .footer-copy {
    font-size: 11px;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  /* Toast Notification on Mobile */
  .toast-box {
    left: 16px;
    right: 16px;
    bottom: 18px;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    padding: 10px 16px;
  }

  .cursor-glow,
  .custom-cursor-dot,
  .custom-cursor-ring,
  .cursor-trail-canvas {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 10px 14px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-role {
    font-size: 8px;
  }

  .hero-giant-text {
    font-size: clamp(56px, 17.5vw, 76px);
    letter-spacing: clamp(3px, 1.2vw, 5px);
  }

  .hero-main-name {
    font-size: clamp(34px, 9vw, 44px);
  }

  .hero-cta-actions,
  .contact-action-bar {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 10px;
  }

  .btn-primary-red,
  .btn-secondary-dark {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 18px;
    font-size: 12px;
    letter-spacing: 1px;
  }

  .stat-number-wrap {
    font-size: 32px;
  }

  .stat-plus {
    font-size: 18px;
  }

  .stat-label {
    font-size: 8px;
  }

  .contact-giant-heading {
    font-size: 32px;
  }

  .contact-item-value {
    font-size: 12.5px;
  }

  .project-image-box {
    height: 180px;
  }
}

/* Mobile Smooth Performance & Hardware Acceleration */
@media (max-width: 768px) {
  * {
    -webkit-tap-highlight-color: transparent;
  }

  .hero-section,
  .projects-section,
  .about-section,
  .skills-section,
  .process-section,
  .contact-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
  }

  .red-radial-flare {
    filter: blur(14px) !important;
  }



  .hero-reactions-bar {
    width: 100%;
    max-width: 100%;
    padding: 8px 10px;
    margin-top: 8px;
  }

  .reactions-list {
    gap: 4px;
  }

  .reaction-item {
    min-width: 36px;
    padding: 5px 2px;
  }

  .reaction-emoji {
    font-size: 18px;
  }

  .reaction-count {
    font-size: 9px;
  }
}

@media (max-width: 400px) {
  .quantum-reactor-wrap,
  .chess-evolution-wrap {
    max-width: 300px;
    height: 220px;
  }
}
