/* ==========================================================
   Full Cyan Theme - CSS Variables & 3D Design Tokens
   ========================================================== */
:root {
  /* Dark Mode - Deep Oceanic & Cyber Cyan */
  --bg-primary: #050d14;
  --bg-secondary: #081622;
  --bg-card: rgba(8, 22, 34, 0.75);
  --bg-card-hover: rgba(12, 32, 49, 0.9);
  --border-color: rgba(6, 182, 212, 0.15);
  --border-hover: rgba(34, 211, 238, 0.6);
  
  --text-primary: #f0fdfa;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Full Cyan Palette */
  --accent-primary: #00f2fe;        /* Neon Bright Cyan */
  --accent-secondary: #06b6d4;      /* Deep Cyan */
  --accent-cyan: #22d3ee;           /* Light Sky Cyan */
  --accent-teal: #14b8a6;           /* Cyber Teal */
  --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #06b6d4 50%, #0284c7 100%);
  --accent-glow: rgba(0, 242, 254, 0.35);
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;

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

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px var(--accent-glow);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  /* Light Mode - Icy Clean Cyan */
  --bg-primary: #f0fdfa;
  --bg-secondary: #e6f7fa;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --border-color: rgba(6, 182, 212, 0.18);
  --border-hover: rgba(8, 145, 178, 0.45);
  
  --text-primary: #083344;
  --text-secondary: #155e75;
  --text-muted: #64748b;
  
  --accent-primary: #0891b2;
  --accent-secondary: #06b6d4;
  --accent-gradient: linear-gradient(135deg, #0891b2 0%, #06b6d4 50%, #0284c7 100%);
  --accent-glow: rgba(8, 145, 178, 0.2);
  
  --shadow-sm: 0 2px 8px rgba(8, 51, 68, 0.05);
  --shadow-md: 0 8px 24px rgba(8, 51, 68, 0.08);
  --shadow-lg: 0 16px 40px rgba(8, 51, 68, 0.12);
}

/* ==========================================================
   Reset & Global Styles
   ========================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  perspective: 1200px;
}

/* ==========================================================
   3D Canvas & Background Effects
   ========================================================== */
.canvas-3d {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.cursor-glow {
  position: fixed;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.3s;
  mix-blend-mode: screen;
}

/* Custom Cyan Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea {
  font-family: inherit;
  color: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Background Ambient Glows - Cyan & Teal (Ultra-Smooth) */
.bg-mesh {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.32;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: opacity var(--transition-slow);
}

.glow-1 {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, #00f2fe 0%, transparent 70%);
  top: -12%;
  left: -8%;
  animation: float-glow-1 26s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #0891b2 0%, transparent 70%);
  top: 45%;
  right: -8%;
  animation: float-glow-2 30s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

.glow-3 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #14b8a6 0%, transparent 70%);
  bottom: 2%;
  left: 20%;
  animation: float-glow-3 34s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

@keyframes float-glow-1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(45px, 35px, 0) scale(1.06); }
  100% { transform: translate3d(85px, 65px, 0) scale(1.12); }
}

@keyframes float-glow-2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-40px, 45px, 0) scale(0.96); }
  100% { transform: translate3d(-75px, 90px, 0) scale(1.04); }
}

@keyframes float-glow-3 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(35px, -30px, 0) scale(1.08); }
  100% { transform: translate3d(65px, -60px, 0) scale(1.15); }
}

/* Glassmorphism Panel with 3D Depth */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease-out, border-color var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
  transform-style: preserve-3d;
}

.glass-panel:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* 3D Tilt Card Base */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-card > * {
  transform-style: preserve-3d;
}

/* Gradient Text */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.3));
}

/* ==========================================================
   Buttons & UI Elements
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  text-decoration: none;
  transform-style: preserve-3d;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #050d14;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.65);
  color: #03080e;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(0, 242, 254, 0.08);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--accent-primary);
  background: rgba(0, 242, 254, 0.08);
}

.discord-btn {
  border: 1px solid rgba(0, 242, 254, 0.25);
  background: rgba(0, 242, 254, 0.05);
}

.discord-btn:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
  transform: translateY(-3px) scale(1.02);
}

.btn-full {
  width: 100%;
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px) scale(1.1);
}

.icon-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.icon-btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 14px var(--accent-glow);
}

.nav-svg-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.github-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.github-btn:hover {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.2);
}

/* ==========================================================
   Navigation Bar
   ========================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  padding: 1.25rem 0;
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  transition: transform var(--transition-fast);
}

.logo:hover {
  transform: scale(1.05);
}

.logo-accent {
  color: var(--accent-primary);
  text-shadow: 0 0 12px var(--accent-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color var(--transition-fast);
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--transition-fast);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-primary);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mobile-toggle {
  display: none;
}

.sun-icon { display: none; }
.moon-icon { display: block; }
[data-theme="light"] .sun-icon { display: block; }
[data-theme="light"] .moon-icon { display: none; }

.menu-close-icon { display: none; }
.menu-open-icon { display: block; }
.nav-links.open ~ .nav-actions .menu-close-icon { display: block; }
.nav-links.open ~ .nav-actions .menu-open-icon { display: none; }

/* ==========================================================
   Hero Section & 3D Interactive Visuals
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
  transition: transform var(--transition-fast);
}

.badge:hover {
  transform: scale(1.04);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #00f2fe;
  border-radius: 50%;
  box-shadow: 0 0 10px #00f2fe;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 242, 254, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

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

.typewriter {
  color: var(--accent-primary);
  min-height: 1.2em;
  display: inline-block;
  border-right: 3px solid var(--accent-primary);
  animation: blink-caret 0.75s step-end infinite;
  white-space: nowrap;
  text-shadow: 0 0 14px var(--accent-glow);
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: var(--accent-primary); }
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 2.25rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-icon:hover {
  color: #050d14;
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-4px) scale(1.12);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.55);
}

/* Tooltip on Social Icons (Displays Email / Handle on Hover) */
.has-tooltip {
  position: relative;
}

.tooltip-text {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--bg-secondary);
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.25);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 100;
}

.tooltip-text::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: var(--accent-primary) transparent transparent transparent;
}

.has-tooltip:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================
   Locked & Static Profile Visual (No Movement)
   ========================================================== */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.avatar-card-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-card {
  position: relative;
  width: 290px;
  height: 290px;
  z-index: 2;
  transform: none !important;
}

.avatar-card:hover {
  transform: none !important;
}

.avatar-glow {
  position: absolute;
  inset: -12px;
  background: var(--accent-gradient);
  border-radius: 36px;
  filter: blur(24px);
  opacity: 0.4;
}

.avatar-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 242, 254, 0.15);
  overflow: visible;
  transform: none !important;
}

.avatar-photo-wrapper {
  width: 230px;
  height: 230px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(0, 242, 254, 0.4);
  box-shadow: 0 0 25px var(--accent-glow);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none !important;
}

.avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none !important;
}

.avatar-card:hover .avatar-photo {
  transform: none !important;
}

/* Static Pinned Badges (Locked In Place) */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md), 0 0 12px rgba(0, 242, 254, 0.12);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  transform: none !important;
}

.floating-badge:hover {
  transform: none !important;
  border-color: var(--accent-primary);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.25);
}

.badge-code {
  top: -12px;
  right: -20px;
}

.badge-code svg { color: var(--accent-primary); }

.badge-design {
  bottom: 25px;
  left: -30px;
}

.badge-design svg { color: #22d3ee; }

.badge-speed {
  bottom: -15px;
  right: 10px;
}

.badge-speed svg { color: #14b8a6; }

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator a {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.scroll-indicator a:hover {
  color: var(--accent-primary);
  transform: translateY(3px);
  text-shadow: 0 0 10px var(--accent-glow);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

/* ==========================================================
   Stats Bar Section
   ========================================================== */
.stats-section {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 1.5rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.stat-card:hover {
  background: var(--bg-card);
  border-color: var(--border-hover);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.15);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.25rem;
  text-shadow: 0 0 15px var(--accent-glow);
  transform: translateZ(25px);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  transform: translateZ(15px);
}

/* ==========================================================
   Sections Common Styles
   ========================================================== */
.section {
  position: relative;
  z-index: 1;
  padding: 6.5rem 0;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-primary);
  display: block;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 8px var(--accent-glow);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--accent-gradient);
  margin: 1rem auto 0;
  border-radius: 2px;
  box-shadow: 0 0 10px var(--accent-primary);
}

/* ==========================================================
   About Section
   ========================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.about-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.card-header-icon {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: monospace;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  transform: translateZ(20px);
}

.card-header-icon svg {
  width: 16px;
  height: 16px;
  color: var(--accent-primary);
}

.code-preview {
  font-family: 'Fira Code', Consolas, Monaco, monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  overflow-x: auto;
  color: var(--text-primary);
  transform: translateZ(15px);
}

.code-preview .key { color: #00f2fe; }
.code-preview .str { color: #2dd4bf; }
.code-preview .num { color: #38bdf8; }

.about-heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: all var(--transition-fast);
}

.highlight-item:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 242, 254, 0.2);
  transform: translateZ(20px);
}

.highlight-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  transform: translateZ(15px);
}

.highlight-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
  transform: translateZ(10px);
}

/* ==========================================================
   Skills Section
   ========================================================== */
.skills-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.skill-category {
  padding: 2rem;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  transform: translateZ(25px);
}

.cat-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-primary);
}

.category-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  transform: translateZ(20px);
}

.skill-pill {
  padding: 0.5rem 0.95rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.skill-pill:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.3);
}

/* ==========================================================
   Projects Section
   ========================================================== */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-gradient);
  color: #050d14;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
  font-weight: 700;
  transform: scale(1.05);
}

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

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

.project-img-box {
  position: relative;
  height: 200px;
  overflow: hidden;
  transform-style: preserve-3d;
}

.project-mockup {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

/* Cyan & Teal Project Mockup Gradients */
.gradient-mockup-1 { background: linear-gradient(135deg, #042f2e, #0e7490, #00f2fe); }
.gradient-mockup-2 { background: linear-gradient(135deg, #083344, #0284c7, #38bdf8); }
.gradient-mockup-3 { background: linear-gradient(135deg, #022c22, #0d9488, #2dd4bf); }

.mockup-icon {
  width: 54px;
  height: 54px;
  color: rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.6));
  transform: translateZ(30px);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 13, 20, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 2;
  transform: translateZ(40px);
}

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

.project-card:hover .project-mockup {
  transform: scale(1.1);
}

.project-link {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.project-link:hover {
  background: var(--accent-primary);
  color: #050d14;
  transform: scale(1.15);
  box-shadow: 0 0 18px var(--accent-glow);
}

.project-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  transform: translateZ(20px);
}

.project-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.project-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tech span {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

/* ==========================================================
   Timeline / Experience Section (Animated Cyber Milestones)
   ========================================================== */
#experience {
  position: relative;
  overflow: hidden;
}

.experience-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

#experience::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrbExp 12s ease-in-out infinite alternate;
  z-index: 0;
}

#experience::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrbExp 10s ease-in-out infinite alternate-reverse;
  z-index: 0;
}

@keyframes floatOrbExp {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -25px) scale(1.1); }
  100% { transform: translate(-20px, 35px) scale(0.95); }
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
  z-index: 1;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #00f2fe, #3b82f6, #06b6d4, #00f2fe);
  background-size: 100% 300%;
  animation: flowTimelineStream 5s linear infinite;
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.65);
  border-radius: 3px;
}

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

.timeline-item {
  position: relative;
  padding-left: 55px;
  margin-bottom: 2.5rem;
  transition: transform var(--transition-normal);
}

.timeline-item:hover {
  transform: translateX(6px);
}

.timeline-dot {
  position: absolute;
  left: 13px;
  top: 24px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--accent-primary);
  border: 4px solid #050d14;
  box-shadow: 0 0 16px var(--accent-primary), 0 0 28px rgba(0, 242, 254, 0.4);
  z-index: 2;
}

.timeline-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent-primary);
  animation: radarPing 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes radarPing {
  0% { transform: scale(1); opacity: 0.85; }
  100% { transform: scale(2.6); opacity: 0; }
}

.timeline-content {
  padding: 1.75rem;
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
  background: rgba(8, 20, 32, 0.65);
  backdrop-filter: blur(16px);
}

.timeline-item:hover .timeline-content {
  border-color: rgba(0, 242, 254, 0.5);
  box-shadow: 0 12px 35px rgba(0, 242, 254, 0.15);
}

.timeline-date {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  transform: translateZ(20px);
}

.timeline-role {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  transform: translateZ(15px);
}

.timeline-company {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.85rem;
  transform: translateZ(12px);
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  transform: translateZ(10px);
  line-height: 1.6;
}

/* ==========================================================
   Contact Section
   ========================================================== */
#contact {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-info,
.contact-form-wrapper {
  padding: 2.5rem;
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transform: none !important;
  transform-style: flat !important;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.contact-info:hover,
.contact-form-wrapper:hover {
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 12px 35px rgba(0, 242, 254, 0.12), var(--shadow-md);
}

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

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1rem;
  color: var(--text-primary);
  transform: none;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  transform: none;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2.5rem;
  transform: none;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.03);
  border: 1px solid rgba(0, 242, 254, 0.08);
  transition: all var(--transition-fast);
}

.contact-item:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.25);
  transform: translateX(4px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.contact-item:hover .contact-icon {
  background: var(--accent-primary);
  color: #050d14;
  border-color: var(--accent-primary);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.45);
}

.item-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.item-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  display: inline-block;
  transition: color var(--transition-fast);
}

a.item-value {
  cursor: pointer;
}

a.item-value:hover {
  color: var(--accent-primary);
  text-shadow: 0 0 8px var(--accent-glow);
}

.contact-socials {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(6, 182, 212, 0.15);
  transform: none;
  position: relative;
  z-index: 10;
}

.contact-socials .social-icon {
  cursor: pointer;
  pointer-events: auto;
  transform: none;
  transition: all var(--transition-fast);
}

.contact-socials .social-icon:hover {
  color: #050d14;
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
}

/* Contact Form */
.contact-form-wrapper {
  padding: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: none;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  position: relative;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-main);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.92rem;
  line-height: 1.5;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-primary);
  background: rgba(8, 26, 40, 0.95);
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.22), 0 0 12px rgba(0, 242, 254, 0.15);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.2);
}

.error-msg {
  color: #f87171;
  font-size: 0.75rem;
  font-weight: 500;
  display: none;
  margin-top: 0.1rem;
}

.form-group.error .error-msg {
  display: block;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #f87171;
  background: rgba(248, 113, 113, 0.06);
}

.form-status {
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  display: none;
  line-height: 1.45;
  margin-top: 0.5rem;
  transition: all var(--transition-normal);
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34d399;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #f87171;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

/* ==========================================================
   Footer
   ========================================================== */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-left {
  max-width: 400px;
}

.footer-left p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-primary);
}

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

.back-to-top-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.back-to-top-btn:hover {
  background: var(--accent-primary);
  color: #050d14;
  border-color: var(--accent-primary);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 0 18px var(--accent-glow);
}

/* ==========================================================
   Responsive Breakpoints
   ========================================================== */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta {
    justify-content: center;
  }
  .social-links {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .skills-categories {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .avatar-card-wrapper {
    width: 290px;
    height: 290px;
  }
  .ring-1 { width: 310px; height: 310px; }
  .ring-2 { width: 270px; height: 270px; }
  .ring-3 { width: 330px; height: 330px; }
  .contact-info,
  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .avatar-card {
    width: 240px;
    height: 240px;
  }
  .avatar-placeholder {
    width: 110px;
    height: 110px;
  }
  .avatar-initials {
    font-size: 2.5rem;
  }
  .badge-code { right: -10px; font-size: 0.75rem; }
  .badge-design { left: -15px; font-size: 0.75rem; }
  .badge-speed { right: 0; font-size: 0.75rem; }
  .hero-title {
    font-size: 2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .contact-info,
  .contact-form-wrapper {
    padding: 1.5rem 1.15rem;
  }
  .contact-item {
    padding: 0.6rem 0.75rem;
    gap: 0.85rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
