/* ==========================================================================
   JOHN CHRISTIAN FORMACION - PORTFOLIO STYLESHEET
   Multi-Page Dark Glassmorphic Design System
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #07080d;
  --bg-surface: #0e111a;
  --bg-card: rgba(18, 22, 36, 0.7);
  --bg-card-hover: rgba(26, 32, 53, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.03);

  /* Accents & Gradients */
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-violet: #8b5cf6;
  --accent-pink: #f43f5e;
  --accent-emerald: #10b981;
  --accent-gold: #fbbf24;
  --accent-amber: #f59e0b;

  --gradient-main: linear-gradient(135deg, #00f2fe 0%, #4facfe 35%, #8b5cf6 70%, #f43f5e 100%);
  --gradient-neon: linear-gradient(135deg, #00f2fe 0%, #8b5cf6 100%);
  --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  --gradient-music: linear-gradient(135deg, #f43f5e 0%, #8b5cf6 100%);
  --gradient-movie: linear-gradient(135deg, #f59e0b 0%, #f43f5e 100%);
  --gradient-chat: linear-gradient(135deg, #00f2fe 0%, #3b82f6 100%);
  --gradient-game: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --gradient-subtle: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);

  /* Text Colors */
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Borders & Shadows */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 242, 254, 0.5);
  --shadow-glow: 0 0 35px rgba(0, 242, 254, 0.18);
  --shadow-gold: 0 0 30px rgba(251, 191, 36, 0.25);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.6);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  min-height: 100vh;
  position: relative;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Ambient Canvas Background */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.75;
}

/* Glow Orbs */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  animation: orbFloat 18s ease-in-out infinite alternate;
}

.glow-orb-1 {
  top: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.4) 0%, transparent 70%);
}

.glow-orb-2 {
  top: 45%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, transparent 70%);
  animation-duration: 22s;
}

.glow-orb-3 {
  bottom: -10%;
  left: 30%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.25) 0%, transparent 70%);
  animation-duration: 16s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.1); }
  100% { transform: translate(-40px, 60px) scale(0.95); }
}

/* Custom Interactive Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(0, 242, 254, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease-out, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.cursor-hover .custom-cursor {
  width: 14px;
  height: 14px;
  background: var(--accent-pink);
}

.cursor-hover .custom-cursor-follower {
  width: 56px;
  height: 56px;
  border-color: rgba(244, 63, 94, 0.6);
  background: rgba(244, 63, 94, 0.06);
}

@media (max-width: 992px) {
  .custom-cursor, .custom-cursor-follower {
    display: none !important;
  }
}

/* Container */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ==========================================
   NAVIGATION BAR
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition);
  display: flex;
  align-items: center;
  background: rgba(7, 8, 13, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.navbar.scrolled {
  background: rgba(7, 8, 13, 0.92);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  height: 70px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gradient-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #07080d;
  font-size: 1.05rem;
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
}

.nav-logo:hover .logo-badge {
  transform: rotate(8deg) scale(1.05);
}

/* === Desktop nav-links: only visible inside the navbar as flex row === */
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-neon);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: #34d399;
}

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

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px;
}

/* Mobile Nav Drawer — completely hidden on desktop, no exceptions */
.mobile-nav {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: fixed;
  top: -9999px;
  left: -9999px;
}

/* ==========================================
   PAGE HERO & HEADER (SUBPAGES)
   ========================================== */
.page-header {
  padding-top: calc(var(--header-height) + 90px);
  padding-bottom: 90px;
  text-align: center;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--border-light);
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 242, 254, 0.05) 0%, transparent 70%);
}

.page-header-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 22px;
}

.page-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 660px;
  margin: 0 auto;
}

/* Magna Cum Laude Honors Badges */
.badge-honors {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  color: #fbbf24;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.15);
  margin-bottom: 20px;
}

.badge-honors i {
  color: #fbbf24;
}

.honors-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fbbf24;
}

/* ==========================================
   HERO SECTION (HOME)
   ========================================== */
.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 30px);
  padding-bottom: 80px;
  position: relative;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.gold-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

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

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-neon);
  color: #07080d;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 242, 254, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-color: var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

/* Hero Footer Stats */
.hero-footer-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
}

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

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-interactive-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out, border-color 0.3s ease;
}

.hero-interactive-card:hover {
  border-color: rgba(0, 242, 254, 0.4);
}

.card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.tech-badge-mini {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.avatar-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
}

.avatar-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--gradient-main);
  filter: blur(12px);
  opacity: 0.75;
  animation: rotateGlow 8s linear infinite;
}

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

.avatar-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #111422;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.avatar-monogram {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-profile-info {
  text-align: center;
  margin-bottom: 24px;
}

.hero-profile-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-profile-role {
  font-size: 0.88rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

.card-code-block {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
  color: #a5b4fc;
}

.card-code-block .keyword { color: var(--accent-pink); }
.card-code-block .string { color: #34d399; }
.card-code-block .variable { color: var(--accent-cyan); }
.card-code-block .boolean { color: var(--accent-amber); }

/* Floating Badges */
.floating-chip {
  position: absolute;
  padding: 10px 16px;
  background: rgba(14, 17, 26, 0.95);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(15px);
  z-index: 2;
  animation: floatChip 5s ease-in-out infinite;
}

.chip-1 {
  top: 15px;
  left: -25px;
  border-left: 3px solid var(--accent-cyan);
}

.chip-2 {
  bottom: 25px;
  right: -25px;
  border-left: 3px solid #fbbf24;
  animation-delay: -2.5s;
}

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

/* ==========================================
   SECTION COMMON STYLES
   ========================================== */
.section-padding {
  padding: 100px 0 140px;
  position: relative;
  z-index: 1;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin-bottom: 18px;
}

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

/* ==========================================
   FEATURED PROJECTS SECTION & CARDS
   ========================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.project-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 38px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transform-style: preserve-3d;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-neon);
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.project-card:hover {
  border-color: rgba(0, 242, 254, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.12);
}

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

.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.project-type-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.badge-sentio {
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.3);
  background: rgba(244, 63, 94, 0.08);
}

.badge-movie {
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.08);
}

.badge-chat {
  color: #00f2fe;
  border-color: rgba(0, 242, 254, 0.3);
  background: rgba(0, 242, 254, 0.08);
}

.badge-game {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.08);
}

.project-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.project-live-dot {
  width: 6px;
  height: 6px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 8px #34d399;
  animation: pulseDot 2s infinite ease-in-out;
}

.project-main-info {
  margin-bottom: 28px;
}

.project-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.project-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #07080d;
}

.icon-box-sentio { background: var(--gradient-music); color: #fff; }
.icon-box-movie { background: var(--gradient-movie); color: #fff; }
.icon-box-chat { background: var(--gradient-chat); color: #07080d; }
.icon-box-game { background: var(--gradient-game); color: #07080d; }

.project-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  transition: var(--transition);
}

.project-card:hover .tech-tag {
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

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

.project-url-link {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--accent-cyan);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.project-url-link:hover {
  color: #fff;
  text-decoration: underline;
}

.btn-visit {
  padding: 10px 20px;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
}

/* ==========================================
   BENTO GRID ABOUT SECTION
   ========================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}

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

.bento-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 38px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-subtle);
  opacity: 0.8;
}

.bento-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}

.card-spotlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 242, 254, 0.08), transparent 80%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.bento-card:hover .card-spotlight,
.project-card:hover .card-spotlight,
.skill-category-card:hover .card-spotlight {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  transition: var(--transition);
}

.bento-card:hover .card-icon {
  background: var(--gradient-neon);
  color: #07080d;
  transform: scale(1.08) rotate(5deg);
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.bento-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.72;
}

.bento-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.bento-pill {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================
   SKILLS & CAPABILITIES SECTION
   ========================================== */
.skills-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 30px;
}

.skill-category-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition);
  overflow: hidden;
}

.skill-category-card:hover {
  border-color: rgba(0, 242, 254, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.skill-cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.skill-cat-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.skill-cat-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 24px;
}

.skill-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.skill-category-card:hover .skill-tag-badge {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}

/* ==========================================
   EXPERIENCE TIMELINE
   ========================================== */
.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding-left: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-violet), rgba(255,255,255,0.05));
}

.timeline-item {
  position: relative;
  margin-bottom: 56px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 8px;
  left: -36px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #07080d;
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
  transition: var(--transition);
}

.timeline-dot-gold {
  border-color: #fbbf24;
  box-shadow: 0 0 12px #fbbf24;
}

.timeline-item:hover .timeline-dot {
  background: var(--accent-cyan);
  transform: scale(1.3);
}

.timeline-item:hover .timeline-dot-gold {
  background: #fbbf24;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 34px;
  backdrop-filter: blur(16px);
  transition: var(--transition);
}

.timeline-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateX(6px);
}

.timeline-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.timeline-role {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  padding: 5px 14px;
  border-radius: var(--radius-full);
}

.timeline-company {
  font-size: 1rem;
  color: var(--accent-violet);
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.timeline-tag {
  font-size: 0.78rem;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  backdrop-filter: blur(16px);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transform: translateY(-6px);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--accent-cyan);
  margin-bottom: 22px;
  opacity: 0.8;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

.service-bullets li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-bullets li i {
  color: var(--accent-emerald);
  font-size: 0.8rem;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
/* ==========================================
   CONTACT HUB SECTION
   ========================================== */
.contact-hub-wrapper {
  max-width: 780px;
  margin: 0 auto;
}

.contact-hub-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 50px 45px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: var(--transition);
}

.contact-hub-card:hover {
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.08);
}

.contact-hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-neon);
}

.contact-hub-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
}

.contact-hub-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.contact-hub-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.contact-hub-subtitle {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Email Display Pill */
.email-display-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 8, 13, 0.85);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 30px;
  transition: var(--transition);
}

.email-display-pill:hover {
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.1);
}

.email-pill-left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

.email-address-text {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.btn-copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-copy-pill:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Email Redirection Action Buttons */
.email-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.btn-action-large {
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
}

.btn-messenger {
  background: linear-gradient(135deg, #0084ff 0%, #a033ff 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 132, 255, 0.3);
}

.btn-messenger:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(160, 51, 255, 0.45);
  color: #ffffff;
}

.contact-meta-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
}

.contact-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .contact-hub-card {
    padding: 34px 24px;
  }

  .contact-hub-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .email-display-pill {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .email-action-buttons {
    grid-template-columns: 1fr;
  }
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  background: #0f1322;
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: var(--text-main);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

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

.toast-success i {
  color: var(--accent-emerald);
  font-size: 1.2rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-light);
  position: relative;
  z-index: 1;
  background: rgba(7, 8, 13, 0.8);
  margin-top: auto;
}

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

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--accent-cyan);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

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

.social-link:hover {
  background: var(--gradient-neon);
  color: #07080d;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

  .hero-footer-stats {
    justify-content: center;
  }

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

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

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

  .nav-links, .nav-cta {
    display: none;
  }

  .nav-links,
  .nav-cta {
    display: none !important;
  }

  .mobile-toggle {
    display: block !important;
  }

  /* Keep hidden when not open */
  .mobile-nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: fixed;
    top: -9999px;
    left: -9999px;
  }

  /* Show when hamburger is toggled */
  .mobile-nav.open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(7, 8, 13, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border-light);
    padding: 28px 32px;
    flex-direction: column;
    gap: 16px;
    z-index: 9999;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
  }

  .mobile-nav .nav-link {
    font-size: 1.15rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: block;
  }

  .mobile-nav .nav-link:last-child {
    border-bottom: none;
  }

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