/* -------------------------------------------------------------
   SERHAT ARSLAN — COMPLETE PREMIUM MOBILE RESPONSIVE STYLESHEET
------------------------------------------------------------- */

/* --- ARKA PLANI ZORLA HAREKETLENDİRME KODU --- */
html, body {
  background-color: transparent !important;
  background: transparent !important;
  color: #f8fafc;
  font-family: 'Inter', -apple-system, sans-serif;
  overflow-x: hidden !important;
  max-width: 100vw !important;
  line-height: 1.6;
}

#dynamic-canvas-bg {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: -9999 !important;
  pointer-events: none !important;
  background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop') no-repeat center center / cover !important;
  filter: brightness(0.35) contrast(1.1) !important;
  animation: bgMovement 30s linear infinite alternate !important;
  will-change: transform;
}

@keyframes bgMovement {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

:root {
  --bg-cinematic: transparent;
  --bg-surface: #070913;
  --bg-glass: rgba(15, 23, 42, 0.55);
  --bg-glass-hover: rgba(30, 41, 59, 0.75);

  --border-glass: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(245, 158, 11, 0.6);

  --text-white: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --gold-primary: #f59e0b;
  --gold-light: #fef08a;
  --gold-dark: #d97706;
  --neon-cyan: #38bdf8;
  --neon-purple: #8b5cf6;
  --neon-pink: #ec4899;

  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.moving-overlay-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -999;
  overflow: hidden;
}

/* Preloader Splash Screen Typography */
.splash-domain-gold {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 35%, var(--gold-primary) 70%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(245, 158, 11, 0.6));
  animation: splashFadeDomain 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-tagline-glow {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-align: center;
  max-width: 580px;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.8), 0 0 35px rgba(245, 158, 11, 0.5);
  opacity: 0;
  transform: translateY(12px);
  animation: splashFadeTagline 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

@keyframes splashFadeDomain {
  0% { opacity: 0; transform: scale(0.92) translateY(-10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes splashFadeTagline {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------------------------------
   Custom Sleek Diamond Cursor (Vanilla JS Lerp Physics)
------------------------------------------------------------- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  will-change: left, top;
}

.cursor-diamond {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  background: rgba(245, 158, 11, 0.12);
  border: 1.5px solid var(--gold-primary);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-expo), height 0.25s var(--ease-expo), background 0.25s ease, border-color 0.25s ease, filter 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.6));
  will-change: left, top, width, height;
}

.cursor-diamond.active {
  width: 64px;
  height: 64px;
  border-color: var(--neon-cyan);
  background: rgba(56, 189, 248, 0.2);
  filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.8));
}

.cursor-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--gold-primary);
  letter-spacing: 0.12em;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cursor-diamond.active .cursor-label {
  opacity: 1;
  color: var(--neon-cyan);
}

/* -------------------------------------------------------------
   GIF-Like Animated Text Hover Effects (.animated-gif-text)
------------------------------------------------------------- */
.animated-gif-text {
  transition: background-position 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.animated-gif-text:hover {
  background: linear-gradient(90deg, #f59e0b, #38bdf8, #ec4899, #8b5cf6, #fef08a, #f59e0b) !important;
  background-size: 300% 300% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: fastLiquidShift 0.8s linear infinite !important;
  filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.6));
}

@keyframes fastLiquidShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* THEMATIC IMAGES INSIDE BENTO/GLASS CARDS */
.bento-card-image-header {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-glass);
}

.bento-card-image-header.header-medium {
  height: 140px;
}

.bento-card-image-header.header-short {
  height: 120px;
}

.bento-card-image-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) contrast(1.15);
  transition: transform 0.6s var(--ease-expo), filter 0.6s ease;
}

.bento-card:hover .bento-card-image-header img {
  transform: scale(1.08);
  filter: brightness(0.85) contrast(1.2);
}

.image-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(5, 8, 20, 0.25) 0%, rgba(5, 8, 20, 0.95) 100%);
  pointer-events: none;
}

.bento-svg-graphic-overlay {
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  z-index: 2;
  pointer-events: none;
}

/* BENTO BOX GRID ARCHITECTURE */
.bento-grid-experience,
.bento-grid-skills,
.bento-grid-projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
}

.bento-span-2-col {
  grid-column: span 2;
}

.bento-card {
  position: relative;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  backdrop-filter: blur(28px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(245, 158, 11, 0.18),
    transparent 80%
  );
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.35s ease;
}

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

.bento-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-glass-hover);
  box-shadow: 0 25px 60px rgba(245, 158, 11, 0.18), inset 0 0 20px rgba(245, 158, 11, 0.05);
}

.bento-card-content {
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
  flex-grow: 1;
}

.led-blink { animation: ledBlinkPulse 1.2s ease-in-out infinite alternate; }
.led-blink-fast { animation: ledBlinkPulse 0.6s ease-in-out infinite alternate; }

@keyframes ledBlinkPulse {
  0% { opacity: 0.3; }
  100% { opacity: 1; filter: drop-shadow(0 0 8px #22c55e); }
}

.data-stream-anim { animation: streamMove 2.5s linear infinite; }

@keyframes streamMove {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -100; }
}

.animated-chart-path {
  stroke-dasharray: 800;
  stroke-dashoffset: 0;
  animation: drawLineChart 4s ease-in-out infinite alternate;
}

@keyframes drawLineChart {
  0% { stroke-dashoffset: 400; }
  100% { stroke-dashoffset: 0; }
}

.floating-mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(35px);
  opacity: 0.6;
  will-change: transform;
}

.orb-mesh-1 {
  top: 10px;
  left: 20%;
  width: 110px;
  height: 110px;
  background: var(--gold-primary);
  animation: floatOrbMesh1 8s ease-in-out infinite alternate;
}

.orb-mesh-2 {
  bottom: 10px;
  right: 25%;
  width: 120px;
  height: 120px;
  background: var(--neon-purple);
  animation: floatOrbMesh2 10s ease-in-out infinite alternate;
}

.orb-mesh-cyan-1 {
  top: 15px;
  left: 25%;
  width: 120px;
  height: 120px;
  background: var(--neon-cyan);
  animation: floatOrbMesh2 9s ease-in-out infinite alternate;
}

.orb-mesh-cyan-2 {
  bottom: 15px;
  right: 20%;
  width: 100px;
  height: 100px;
  background: var(--neon-pink);
  animation: floatOrbMesh1 11s ease-in-out infinite alternate;
}

@keyframes floatOrbMesh1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(45px, 25px) scale(1.25); }
}

@keyframes floatOrbMesh2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, -20px) scale(0.85); }
}

.blueprint-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
}

.graphic-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  will-change: transform;
}

.orb-1 {
  top: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--gold-primary) 0%, rgba(245, 158, 11, 0) 70%);
  animation: orbDrift1 25s ease-in-out infinite alternate;
}

.orb-2 {
  bottom: -15%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--neon-cyan) 0%, rgba(56, 189, 248, 0) 70%);
  animation: orbDrift2 30s ease-in-out infinite alternate;
}

.orb-3 {
  top: 40%;
  left: 35%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--neon-purple) 0%, rgba(139, 92, 246, 0) 70%);
  animation: orbDrift3 22s ease-in-out infinite alternate;
}

@keyframes orbDrift1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(120px, 80px) scale(1.15); }
  100% { transform: translate(-50px, 140px) scale(0.9); }
}

@keyframes orbDrift2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-100px, -90px) scale(1.2); }
  100% { transform: translate(60px, -150px) scale(0.85); }
}

@keyframes orbDrift3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, -60px) scale(1.1); }
  100% { transform: translate(-90px, 70px) scale(0.95); }
}

.drifting-lines-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.animated-geo-path {
  will-change: transform, stroke-dashoffset;
}

.path-1 {
  stroke-dasharray: 600 300;
  animation: strokeDashMove1 35s linear infinite;
}

.path-2 {
  stroke-dasharray: 800 400;
  animation: strokeDashMove2 42s linear infinite;
}

@keyframes strokeDashMove1 {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 1800; }
}

@keyframes strokeDashMove2 {
  0% { stroke-dashoffset: 2400; }
  100% { stroke-dashoffset: 0; }
}

.kinetic-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.vertical-kinetic-col {
  position: absolute;
  top: 0;
  height: 100vh;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: -2;
}

.col-left { left: 1rem; }
.col-right { right: 1rem; }

.vertical-marquee-track {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 900;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  will-change: transform;
}

.track-down { animation: verticalScrollDown 40s linear infinite; }
.track-up { animation: verticalScrollUp 45s linear infinite; }

@keyframes verticalScrollDown {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes verticalScrollUp {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

.kinetic-row {
  display: flex;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  will-change: transform;
  opacity: 0.06;
}

.row-1 { animation: kineticLoopLeft 50s linear infinite; }
.row-2 { animation: kineticLoopRight 60s linear infinite; }
.row-3 { animation: kineticLoopLeft 55s linear infinite; }

@keyframes kineticLoopLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes kineticLoopRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.shimmer-text-mask, .vertical-marquee-track span {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(245, 158, 11, 0.15) 35%, rgba(56, 189, 248, 0.12) 70%, rgba(255, 255, 255, 0.03) 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: breathingLightShift 12s ease-in-out infinite alternate;
}

@keyframes breathingLightShift {
  0% { background-position: 0% 50%; opacity: 0.04; }
  50% { background-position: 100% 50%; opacity: 0.08; }
  100% { background-position: 0% 50%; opacity: 0.04; }
}

.blueprint-grid-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(245, 158, 11, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 158, 11, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.logo-3d-pyramid-container {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
}

.logo-3d-pyramid-container:active {
  cursor: grabbing;
}

.hero-pyramid-large {
  width: 320px;
  height: 320px;
}

.preloader-pyramid-large {
  width: 280px;
  height: 280px;
}

.pyramid-3d-stage {
  width: 220px;
  height: 220px;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pyramid-3d-object {
  width: 170px;
  height: 170px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-15deg) rotateY(25deg);
  transition: transform 0.1s ease-out;
}

.continuous-spin-3d {
  animation: splashFloatSpin 8s ease-in-out infinite alternate;
}

@keyframes splashFloatSpin {
  0% {
    transform: translateY(0px) rotateX(-12deg) rotateY(-20deg);
  }
  50% {
    transform: translateY(-15px) rotateX(15deg) rotateY(180deg);
  }
  100% {
    transform: translateY(0px) rotateX(-12deg) rotateY(360deg);
  }
}

.pyr-face {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 85px solid transparent;
  border-right: 85px solid transparent;
  border-bottom: 155px solid rgba(15, 15, 18, 0.94);
  filter: drop-shadow(0 0 25px rgba(245, 158, 11, 0.45));
  display: flex;
  align-items: center;
  justify-content: center;
}

.face-1 {
  transform: translateZ(50px) rotateX(30deg);
  border-bottom-color: rgba(20, 20, 26, 0.96);
  box-shadow: inset 0 -15px 35px rgba(245, 158, 11, 0.45);
}

.face-2 {
  transform: rotateY(120deg) translateZ(50px) rotateX(30deg);
  border-bottom-color: rgba(12, 12, 16, 0.96);
}

.face-3 {
  transform: rotateY(240deg) translateZ(50px) rotateX(30deg);
  border-bottom-color: rgba(30, 26, 20, 0.96);
}

.pyr-base {
  position: absolute;
  width: 170px;
  height: 170px;
  background: rgba(245, 158, 11, 0.18);
  border: 1.5px solid rgba(245, 158, 11, 0.7);
  transform: rotateX(90deg) translateZ(-55px);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.pyr-sa-emblem {
  position: absolute;
  top: 55px;
  left: -32px;
  width: 64px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 40%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.9);
  pointer-events: none;
}

.pyr-core-gold {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-primary) 0%, rgba(217, 119, 6, 0.45) 60%, transparent 80%);
  filter: blur(25px);
  pointer-events: none;
}

.brand-gold-title, .hero-name-gold {
  font-family: var(--font-display);
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 35%, var(--gold-primary) 70%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 0 35px rgba(245, 158, 11, 0.35));
}

.brand-gold-title {
  font-size: 1.6rem;
  letter-spacing: 0.2em;
  margin-top: 0.5rem;
}

.hero-name-gold {
  font-size: clamp(3.8rem, 7.5vw, 7rem);
  line-height: 0.95;
  text-align: center;
}

.brand-link-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.header-logo-3d-mini {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(20, 20, 25, 0.9), rgba(245, 158, 11, 0.25));
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
  transition: var(--transition-smooth);
}

.header-logo-3d-mini:hover {
  transform: scale(1.08) rotate(5deg);
  border-color: var(--gold-primary);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
}

.mini-pyramid-sa {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-sa-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--gold-primary);
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.8);
}

.brand-name-gold {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, #ffffff, var(--gold-primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #030303;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}

.preloader-overlay.fade-out {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  width: 90%;
  max-width: 520px;
}

.preloader-counter-row {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
}

.preloader-number {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold-primary);
  text-shadow: 0 0 25px rgba(245, 158, 11, 0.5);
}

.preloader-unit {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-left: 0.2rem;
}

.preloader-track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.preloader-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), var(--gold-light));
  box-shadow: 0 0 15px var(--gold-primary);
  transition: width 0.05s linear;
}

.main-wrapper {
  position: relative;
  z-index: 2;
  transition: opacity 0.8s var(--ease-expo);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  padding: 0.9rem 0;
  background: rgba(3, 3, 3, 0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-glass);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.6rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  padding: 0.6rem 1.75rem;
  border-radius: 99px;
}

.nav-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-item:hover, .nav-item.active {
  color: var(--gold-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  padding: 0.5rem 0.9rem;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.lang-toggle-btn:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.lang-opt {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.lang-opt.active {
  color: var(--gold-primary);
}

.lang-sep {
  color: var(--text-muted);
}

.btn-glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  padding: 0.6rem 1.25rem;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.btn-glass-pill:hover {
  background: var(--bg-glass-hover);
  border-color: var(--gold-primary);
}

.btn-gold-glow {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #000000;
  padding: 0.6rem 1.4rem;
  border-radius: 99px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
  transition: var(--transition-smooth);
}

.btn-gold-glow:hover {
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.55);
}

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

.section-padding {
  padding: 8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-section {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 9rem;
}

.hero-center-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.25rem;
  max-width: 900px;
  width: 100%;
}

.status-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  padding: 0.4rem 1.1rem;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.status-dot-ping {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pingDot 2s infinite;
}

@keyframes pingDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.location-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.hero-pyramid-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.pyramid-tag-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-primary);
  letter-spacing: 0.12em;
}

.sleek-roles-container {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 16px;
  padding: 1.1rem 1.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(245, 158, 11, 0.05);
}

.roles-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.roles-ticker-wrap {
  width: 100%;
  overflow: hidden;
  display: flex;
}

.roles-ticker-track {
  display: flex;
  white-space: nowrap;
  animation: rolesMarquee 28s linear infinite;
}

.roles-text-string {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  padding-right: 3rem;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
  letter-spacing: 0.02em;
}

@keyframes rolesMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-bio-paragraph {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 780px;
}

.hero-cta-group {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}

.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #000000;
  padding: 1rem 2.25rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
  transition: var(--transition-smooth);
}

.btn-primary-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(245, 158, 11, 0.5);
}

.btn-primary-gold svg, .btn-secondary-glass svg {
  width: 18px;
  height: 18px;
}

.btn-secondary-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
}

.btn-secondary-glass:hover {
  background: var(--bg-glass-hover);
  border-color: var(--gold-primary);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 4rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-primary);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-white);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.cyber-glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 2.5rem;
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.card-wide-span {
  grid-column: span 2;
}

.card-num {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.card-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold-primary);
  border: 1px solid rgba(245, 158, 11, 0.25);
  margin-bottom: 1.5rem;
}

.icon-gold { background: rgba(245, 158, 11, 0.12); color: var(--gold-primary); }
.icon-cyan { background: rgba(56, 189, 248, 0.12); color: var(--neon-cyan); }
.icon-purple { background: rgba(139, 92, 246, 0.15); color: #c084fc; }

.card-icon-box svg {
  width: 24px;
  height: 24px;
}

.cyber-glass-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.85rem;
}

.cyber-glass-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.card-mini-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.card-mini-list li strong {
  color: var(--text-white);
}

.card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.card-chips span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  color: var(--gold-primary);
}

.card-action {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-primary);
  transition: transform 0.3s ease;
}

.cyber-glass-card:hover .card-action {
  transform: translateX(6px);
}

.about-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4.5rem;
  align-items: start;
}

.about-left-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.kpi-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.kpi-glass-box {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  backdrop-filter: blur(24px);
}

.kpi-number {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.kpi-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cyber-glass-box {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  padding: 3.25rem;
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.paragraph-lead {
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--text-white);
  font-weight: 500;
}

.paragraph-standard {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.quote-box {
  border-left: 3px solid var(--gold-primary);
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.quote-box p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-white);
}

.quote-box span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.timeline-left-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.badge-loc {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--neon-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  align-self: flex-start;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.gold-loc {
  color: var(--gold-primary);
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
}

.badge-type {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.timeline-heading {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.35;
}

.timeline-company {
  font-size: 1.1rem;
  color: var(--neon-cyan);
  font-weight: 600;
}

.gold-company {
  color: var(--gold-primary);
}

.timeline-body {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.chip-tags-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.chip-tags-group span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 0.28rem 0.7rem;
  border-radius: 6px;
  color: var(--text-secondary);
}

.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.edu-glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 2.75rem;
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: var(--transition-smooth);
}

.edu-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.edu-card-icon svg {
  width: 24px;
  height: 24px;
}

.edu-focus-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.1em;
}

.edu-glass-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.edu-glass-card h4 {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.edu-glass-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.skill-icon-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.skill-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-badge.icon-gold {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-primary);
}

.skill-badge svg {
  width: 22px;
  height: 22px;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.skill-pills .pill {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.45rem 1.05rem;
  border-radius: 8px;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.skill-pills .pill:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(245, 158, 11, 0.12);
}

.project-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-primary);
  background: rgba(245, 158, 11, 0.1);
  padding: 0.4rem 1.1rem;
  border-radius: 99px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  align-self: flex-start;
}

.gold-status {
  color: var(--gold-primary);
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
}

.glowing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-primary);
}

.project-headline {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-white);
}

.project-subhead {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-primary);
}

.project-summary {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.project-tags .tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  color: var(--gold-primary);
}

.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.cert-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 2.25rem;
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: var(--transition-smooth);
}

.cert-icon-glow {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.icon-gold-glow {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-primary);
}

.cert-icon-glow svg {
  width: 24px;
  height: 24px;
}

.cert-text h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.cert-text span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.references-confidential-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.confidential-glass-card {
  background: var(--bg-glass);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 28px;
  padding: 4rem 3rem;
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
  max-width: 720px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 25px rgba(245, 158, 11, 0.05);
}

.confidential-shield-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.3);
}

.confidential-shield-icon svg {
  width: 32px;
  height: 32px;
}

.confidential-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
}

.confidential-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 540px;
}

.confidential-btn {
  margin-top: 0.5rem;
}

.contact-asymmetrical-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-col h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
}

.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.contact-item-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 1.35rem 1.85rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(20px);
}

.item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.item-icon.icon-gold { background: rgba(245, 158, 11, 0.15); color: var(--gold-primary); }
.item-icon.icon-cyan { background: rgba(56, 189, 248, 0.12); color: var(--neon-cyan); }
.item-icon.icon-pink { background: rgba(236, 72, 153, 0.12); color: var(--neon-pink); }

.item-icon svg {
  width: 22px;
  height: 22px;
}

.item-text {
  display: flex;
  flex-direction: column;
}

.item-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.item-val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
}

.editorial-glass-form {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  padding: 3.25rem;
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.editorial-glass-form h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.input-group input, .input-group textarea {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 0.95rem 1.35rem;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.input-group input:focus, .input-group textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.form-status-msg {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  text-align: center;
}

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

.chat-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(14px);
  z-index: 99990;
  display: flex;
  justify-content: flex-end;
  transition: opacity 0.4s var(--ease-expo);
}

.chat-drawer-inner {
  width: 100%;
  max-width: 450px;
  height: 100%;
  background: #04060d;
  border-left: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.7);
}

.chat-header {
  padding: 1.5rem 1.85rem;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-primary);
}

.chat-brand h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.chat-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chat-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.chat-messages {
  flex-grow: 1;
  padding: 1.75rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.9rem 1.25rem;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.bot-bubble {
  align-self: flex-start;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.user-bubble {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #000000;
  font-weight: 600;
  border-bottom-right-radius: 4px;
}

.chat-chips {
  padding: 0.75rem 1.5rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--gold-primary);
  padding: 0.38rem 0.8rem;
  border-radius: 99px;
  font-size: 0.75rem;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.chip:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--gold-primary);
}

.chat-form {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  gap: 0.75rem;
}

.chat-form input {
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: 99px;
  padding: 0.8rem 1.35rem;
  color: var(--text-white);
  outline: none;
  font-size: 0.9rem;
}

.chat-form input:focus {
  border-color: var(--gold-primary);
}

.chat-send-btn {
  background: var(--gold-primary);
  border: none;
  color: #000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.chat-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 15px var(--gold-primary);
}

.chat-send-btn svg {
  width: 18px;
  height: 18px;
}

.site-footer {
  border-top: 1px solid var(--border-glass);
  padding: 4rem 2rem 3rem 2rem;
  margin-top: 5rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, #ffffff, var(--gold-primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-motto {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hidden {
  display: none !important;
}

.opacity-0 {
  opacity: 0 !important;
}

/* -------------------------------------------------------------
   COMPREHENSIVE FLAWLESS MOBILE MEDIA QUERIES (max-width: 768px)
------------------------------------------------------------- */
@media (hover: none) and (pointer: coarse) {
  .cursor-dot, .cursor-diamond {
    display: none !important;
  }
  * {
    cursor: auto !important;
  }
}

@media (max-width: 1200px) {
  .vertical-kinetic-col {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .bento-grid-experience,
  .bento-grid-skills,
  .bento-grid-projects,
  .overview-grid,
  .education-grid,
  .cert-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .bento-span-2-col, .card-wide-span {
    grid-column: span 1 !important;
  }
}

@media screen and (max-width: 768px) {
  /* Disable Custom Cursors on Smartphones */
  .cursor-dot, .cursor-diamond {
    display: none !important;
  }
  * {
    cursor: auto !important;
  }

  /* Prevent Horizontal Scrolling Globally */
  html, body, .main-wrapper, main, section, .hero-section {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .section-padding {
    padding: 4rem 1.25rem !important;
    width: 100% !important;
  }

  /* Force Layout Stacking into Single Column Flexbox & Grid */
  section, .hero, .about, .projects, .experience, .contact, .container,
  .hero-center-container, .about-grid-layout, .contact-asymmetrical-grid,
  .bento-grid-experience, .bento-grid-skills, .bento-grid-projects,
  .overview-grid, .education-grid, .cert-grid, .kpi-card-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 1.5rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .bento-span-2-col, .card-wide-span {
    grid-column: span 1 !important;
  }

  /* Responsive Scaled Headings */
  h1, .hero-title, .splash-text, .hero-name-gold { 
    font-size: clamp(2.2rem, 8vw, 3.2rem) !important; 
    line-height: 1.1 !important;
    text-align: center !important;
  }

  h2, .section-heading { 
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important; 
    text-align: center !important; 
    line-height: 1.2 !important;
  }

  .project-headline {
    font-size: 1.6rem !important;
  }

  .confidential-title, .editorial-glass-form h3, .contact-info-col h3 {
    font-size: 1.5rem !important;
  }

  p, a, span, .hero-bio-paragraph, .paragraph-lead, .paragraph-standard, .timeline-body, .project-summary { 
    font-size: 0.95rem !important; 
    line-height: 1.6 !important;
  }

  /* Header & Mobile Scrollable Nav Bar */
  .site-header {
    padding: 0.75rem 0 !important;
  }

  .header-inner {
    padding: 0 1rem !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    justify-content: center !important;
  }

  .brand-link-header {
    justify-content: center !important;
  }

  nav.nav-menu {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px !important;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 0.75rem !important;
    padding: 0.5rem 1rem !important;
    width: max-content !important;
    overflow-x: auto !important;
    border-radius: 99px !important;
  }

  .nav-links::-webkit-scrollbar {
    display: none !important;
  }

  .nav-item {
    font-size: 0.8rem !important;
    white-space: nowrap !important;
  }

  .header-actions {
    width: 100% !important;
    justify-content: center !important;
    gap: 0.6rem !important;
    flex-wrap: wrap !important;
  }

  .lang-toggle-btn, .btn-glass-pill, .btn-gold-glow {
    font-size: 0.78rem !important;
    padding: 0.45rem 0.9rem !important;
  }

  /* Scaled Down 3D Gold SA Pyramid Logo for Mobile Screens */
  .logo-3d-pyramid-container, .hero-pyramid-wrapper {
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .hero-pyramid-large {
    width: 210px !important;
    height: 210px !important;
  }

  .preloader-pyramid-large {
    width: 200px !important;
    height: 200px !important;
  }

  .pyramid-3d-stage {
    width: 160px !important;
    height: 160px !important;
  }

  .pyramid-3d-object {
    width: 130px !important;
    height: 130px !important;
  }

  .pyr-face {
    border-left-width: 65px !important;
    border-right-width: 65px !important;
    border-bottom-width: 120px !important;
  }

  .face-1, .face-2, .face-3 {
    transform-origin: bottom center;
  }

  .pyr-sa-emblem {
    top: 40px !important;
    left: -24px !important;
    font-size: 2.2rem !important;
  }

  /* Hero Call To Action Buttons */
  .hero-cta-group {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }

  .btn-primary-gold, .btn-secondary-glass {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.85rem 1.25rem !important;
  }

  /* Bento Cards Mobile Spacing & Padding */
  .bento-card-content {
    padding: 1.6rem 1.25rem !important;
    gap: 1rem !important;
  }

  .bento-card-image-header {
    height: 130px !important;
  }

  .editorial-glass-form, .cyber-glass-box, .confidential-glass-card {
    padding: 1.75rem 1.25rem !important;
    border-radius: 20px !important;
  }

  /* Footer Mobile Stacking */
  .footer-top-row, .footer-bottom-row {
    flex-direction: column !important;
    gap: 1rem !important;
    text-align: center !important;
  }

  .footer-motto {
    font-size: 0.9rem !important;
  }

  /* Chat Drawer Mobile Scaling */
  .chat-drawer-inner {
    max-width: 100vw !important;
  }
}
