/* ==========================================================================
   SPAS KITANOV — PORTFOLIO & CV STYLESHEET
   Pure CSS3 • Modern Futuristic Dark Theme • Glassmorphism & Cyber Glow
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-base: #05060b;
  --bg-deep: #070913;
  --bg-surface: rgba(14, 18, 32, 0.65);
  --bg-surface-hover: rgba(22, 28, 48, 0.75);
  --bg-card: rgba(13, 17, 30, 0.6);
  --bg-card-border: rgba(255, 255, 255, 0.1);
  --bg-card-border-hover: rgba(168, 85, 247, 0.45);

  /* Neon Accents & Gradients */
  --purple-glow: #c084fc;
  --purple-primary: #a855f7;
  --purple-deep: #7c3aed;
  --blue-indigo: #6366f1;
  --blue-neon: #38bdf8;
  --btn-grad-start: #a78bfa;
  --btn-grad-end: #818cf8;

  /* Typography Colors */
  --text-white: #ffffff;
  --text-light: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dark: #070913;

  /* Typography Families */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-hand: 'Caveat', cursive, sans-serif;

  /* Spacing & Sizes */
  --container-max-w: 1260px;
  --hero-min-h: min(100vh, 1080px);
  --dock-height: 64px;
  --border-radius-card: 24px;
  --border-radius-pill: 9999px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --trans-fast: 0.2s var(--ease-smooth);
  --trans-base: 0.35s var(--ease-smooth);
  --trans-slow: 0.6s var(--ease-smooth);
}

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

html {
  font-family: var(--font-main);
  background-color: var(--bg-base);
  color: var(--text-secondary);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-base);
  position: relative;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--trans-fast);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container-max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* --------------------------------------------------------------------------
   AMBIENT GLOWS & BACKGROUND ATMOSPHERE
   -------------------------------------------------------------------------- */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.glow-top-left {
  top: -100px;
  left: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22) 0%, rgba(99, 102, 241, 0.08) 50%, transparent 70%);
}

.glow-hero-center {
  top: 15%;
  left: 30%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);
}

.glow-hero-right {
  top: 8%;
  right: -50px;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.28) 0%, rgba(99, 102, 241, 0.18) 35%, rgba(56, 189, 248, 0.08) 60%, transparent 75%);
}

/* --------------------------------------------------------------------------
   HERO SECTION (Matching reference 1:1)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: var(--hero-min-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 120px;
  overflow: hidden;
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 3;
}

/* Left Column: Hero Content */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

/* Badge: Software Developer */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--border-radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple-primary);
  box-shadow: 0 0 10px var(--purple-glow), 0 0 18px var(--purple-primary);
  animation: pulseDot 2.4s ease-in-out infinite alternate;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 8px var(--purple-glow); }
  100% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 16px var(--purple-glow), 0 0 24px var(--purple-primary); }
}

.badge-text {
  font-size: 0.92rem;
  font-weight: 500;
  color: #e2e8f0;
  letter-spacing: 0.02em;
}

/* Main Name: Spas Kitanov */
.hero-name {
  font-size: clamp(4.4rem, 7.8vw, 7.2rem);
  font-weight: 800;
  line-height: 0.90;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
}

.name-first {
  color: var(--text-white);
  text-shadow: 0 0 45px rgba(255, 255, 255, 0.25);
}

.name-last {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 35%, #6366f1 70%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 35px rgba(168, 85, 247, 0.5));
}

/* Subtitle */
.hero-tagline {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* Description */
.hero-description {
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--text-muted);
  max-width: 490px;
  margin-bottom: 36px;
}

/* CTA Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 46px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--border-radius-pill);
  font-size: 0.96rem;
  font-weight: 600;
  transition: all var(--trans-base);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--btn-grad-start) 0%, var(--btn-grad-end) 100%);
  color: var(--text-dark);
  font-weight: 700;
  box-shadow: 0 0 28px rgba(167, 139, 250, 0.45), 0 4px 14px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 38px rgba(167, 139, 250, 0.75), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-icon-arrow {
  transition: transform var(--trans-fast);
}

.btn-primary:hover .btn-icon-arrow {
  transform: translate(3px, -3px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(168, 85, 247, 0.6);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.35), 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Hero Stats Row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.stat-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 42px;
  background: rgba(255, 255, 255, 0.12);
}

/* --------------------------------------------------------------------------
   RIGHT COLUMN: PHOTO SHOWCASE & FLOATING TECH
   -------------------------------------------------------------------------- */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 640px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  margin: 0 auto;
}

/* Soft Glow Behind Card Stack */
.photo-glow-aura {
  position: absolute;
  width: 460px;
  height: 520px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.42) 0%, rgba(99, 102, 241, 0.24) 40%, rgba(56, 189, 248, 0.08) 65%, transparent 75%);
  filter: blur(55px);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

/* Decorative Orbit Ellipses */
.orbit-ellipse {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.orbit-ellipse-1 {
  width: 560px;
  height: 560px;
  transform: rotate(-18deg);
  border: 1px solid rgba(139, 92, 246, 0.22);
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.1);
}

.orbit-ellipse-2 {
  width: 480px;
  height: 480px;
  transform: rotate(28deg);
  border: 1px solid rgba(56, 189, 248, 0.16);
}

/* Handwritten Note at Top Right ("Clean code / Better products") */
.handwritten-annotation {
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 7;
  pointer-events: none;
  transform: rotate(-8deg);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.annotation-text {
  font-family: var(--font-hand);
  font-size: 1.55rem;
  font-weight: 700;
  color: #c4b5fd;
  line-height: 1.15;
  text-shadow: 0 0 16px rgba(196, 181, 253, 0.5);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.annotation-arrow {
  margin-top: 2px;
  margin-right: 22px;
  filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.6));
}

/* Card Stack (Tilted clockwise matching screenshot) */
.card-stack-wrapper {
  position: relative;
  width: 375px;
  height: 490px;
  z-index: 3;
  transition: transform var(--trans-slow);
}

.glass-plate {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  transition: transform var(--trans-base), box-shadow var(--trans-base);
}

/* Back Glass Plate (tilted furthest clockwise ~16deg) */
.glass-plate-back {
  background: rgba(22, 26, 50, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(168, 85, 247, 0.4);
  transform: rotate(16deg) translate(18px, -10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55), 0 0 35px rgba(168, 85, 247, 0.35);
  z-index: 1;
}

/* Middle Glass Plate (tilted ~10deg) */
.glass-plate-mid {
  background: rgba(18, 22, 42, 0.52);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(99, 102, 241, 0.35);
  transform: rotate(10deg) translate(10px, -4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

/* Front Glass Portrait Card (tilted ~3.5deg clockwise matching screenshot) */
.glass-plate-front {
  background: rgba(14, 18, 34, 0.76);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1.5px solid rgba(192, 132, 252, 0.48);
  transform: rotate(3.5deg);
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.7), 
    0 0 50px rgba(168, 85, 247, 0.32), 
    inset 0 1px 1px rgba(255, 255, 255, 0.28);
  z-index: 3;
  overflow: hidden;
  animation: floatFrontCard 6s ease-in-out infinite alternate;
}

@keyframes floatFrontCard {
  0% { transform: rotate(3.5deg) translateY(0px); }
  100% { transform: rotate(4.2deg) translateY(-8px); }
}

.portrait-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  overflow: hidden;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  display: block;
}

/* Portrait Placeholder Overlay */
.portrait-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-white);
  pointer-events: none;
  z-index: 2;
}

.placeholder-icon-box {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 0 14px rgba(192, 132, 252, 0.55));
}

.placeholder-text-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.25;
}

.placeholder-text-group .text-top {
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.02em;
}

.placeholder-text-group .text-bot {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   FLOATING TECHNOLOGY CARDS (Arranged accurately around portrait)
   -------------------------------------------------------------------------- */
.floating-tech-card {
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: rgba(14, 18, 33, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  transition: transform var(--trans-base), box-shadow var(--trans-base), border-color var(--trans-base);
  animation: floatTechCard var(--float-duration, 4.5s) ease-in-out infinite alternate;
  animation-delay: var(--float-delay, 0s);
  cursor: pointer;
}

.floating-tech-card:hover {
  transform: scale(1.18) translateY(-6px) !important;
  z-index: 10;
  border-color: rgba(192, 132, 252, 0.7);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), 0 0 28px var(--hover-glow, rgba(168, 85, 247, 0.55));
}

@keyframes floatTechCard {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(1.5deg); }
  100% { transform: translateY(6px) rotate(-1.5deg); }
}

.tech-icon-container {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Accurate Positions from Screenshot */
/* Left side: JS, TS, HTML5, CSS3 */
.tech-card-js {
  top: 9%;
  left: 8%;
  --hover-glow: rgba(247, 223, 30, 0.6);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45), 0 0 18px rgba(247, 223, 30, 0.25);
}

.tech-card-ts {
  top: 31%;
  left: 5%;
  --hover-glow: rgba(49, 120, 198, 0.6);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45), 0 0 18px rgba(49, 120, 198, 0.28);
}

.tech-card-html {
  top: 54%;
  left: 3%;
  --hover-glow: rgba(227, 76, 38, 0.6);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45), 0 0 18px rgba(227, 76, 38, 0.28);
}

.tech-card-css {
  top: 76%;
  left: 7%;
  --hover-glow: rgba(33, 150, 243, 0.6);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45), 0 0 18px rgba(33, 150, 243, 0.28);
}

/* Right side: React, Node.js, Docker */
.tech-card-react {
  top: 18%;
  right: 7%;
  --hover-glow: rgba(0, 216, 255, 0.6);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45), 0 0 20px rgba(0, 216, 255, 0.3);
}

.tech-card-node {
  top: 42%;
  right: 4%;
  --hover-glow: rgba(104, 160, 99, 0.6);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45), 0 0 18px rgba(104, 160, 99, 0.3);
}

.tech-card-docker {
  top: 67%;
  right: 8%;
  --hover-glow: rgba(36, 150, 237, 0.6);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45), 0 0 18px rgba(36, 150, 237, 0.3);
}

/* --------------------------------------------------------------------------
   MOUNTAIN LANDSCAPE AT BOTTOM OF HERO (1:1 with Screenshot)
   -------------------------------------------------------------------------- */
.hero-landscape-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 380px;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.hero-landscape-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
  opacity: 0.95;
}

/* --------------------------------------------------------------------------
   GLOBAL SECTION WRAPPER & HEADERS
   -------------------------------------------------------------------------- */
.section-wrapper {
  position: relative;
  padding-top: 110px;
  padding-bottom: 110px;
  z-index: 2;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--border-radius-pill);
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: var(--purple-glow);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

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

/* Reusable Glass Card */
.glass-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--border-radius-card);
  padding: 32px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  transition: all var(--trans-base);
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--bg-card-border-hover);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 30px rgba(124, 58, 237, 0.15);
  transform: translateY(-4px);
}

.card-glow-edge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.5), transparent);
  opacity: 0.6;
}

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

.about-bio-card {
  display: flex;
  flex-direction: column;
}

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

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

.status-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.location-tag {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.bio-heading {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
  line-height: 1.25;
}

.bio-paragraph {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.bio-paragraph strong {
  color: var(--text-white);
}

.bio-paragraph em {
  color: var(--purple-glow);
  font-style: normal;
}

.bio-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-box {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-white);
  font-family: var(--font-mono);
}

.metric-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   ABOUT PROFILE CARD (Replaces Terminal / Code Box)
   -------------------------------------------------------------------------- */
.about-profile-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: rgba(12, 16, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.profile-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-light);
}

.profile-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.profile-tag-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--border-radius-pill);
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.3);
  color: #a5b4fc;
  letter-spacing: 0.02em;
}

/* 4 Core Disciplines Grid */
.profile-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.cap-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 16px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cap-box:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(167, 139, 250, 0.25);
  transform: translateY(-2px);
}

.cap-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cap-icon {
  color: var(--purple-light);
}

.cap-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-white);
}

.cap-desc {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Community & Founder Callout */
.profile-founder-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12) 0%, rgba(59, 130, 246, 0.08) 100%);
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 14px;
  transition: var(--transition-normal);
}

.profile-founder-box:hover {
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.15);
}

.founder-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.founder-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c084fc;
}

.founder-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.founder-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.founder-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.founder-link-btn:hover {
  background: var(--purple-main);
  border-color: var(--purple-light);
  transform: translateX(2px);
}

/* Vision Quote Box */
.profile-vision-box {
  padding: 14px 18px;
  border-left: 3px solid var(--purple-glow);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 10px 10px 0;
}

.profile-vision-text {
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.55;
  color: rgba(247, 247, 251, 0.88);
}

.profile-vision-author {
  display: block;
  font-size: 0.76rem;
  font-style: normal;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* 4 Pillars Grid below */
.pillar-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.pillar-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: var(--purple-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pillar-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   PROJECTS SECTION STYLES
   -------------------------------------------------------------------------- */
.projects-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--border-radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--trans-fast);
}

.filter-btn:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.filter-btn.active {
  color: var(--text-white);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(99, 102, 241, 0.3) 100%);
  border-color: var(--purple-primary);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

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

.project-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--border-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-base);
}

.project-card:hover {
  border-color: var(--bg-card-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(124, 58, 237, 0.2);
}

.project-preview {
  position: relative;
  height: 240px;
  background: #090c18;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.preview-browser-chrome {
  height: 32px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.p-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.p-url {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: 10px;
}

.preview-visual {
  position: relative;
  width: 100%;
  height: calc(100% - 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform var(--trans-slow);
}

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

/* Custom Visuals for Projects */
.pv-nexus {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, #090c18 70%);
}

.mockup-chart-widget {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 90px;
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-bar {
  width: 14px;
  height: var(--h, 50%);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #c084fc 0%, #6366f1 100%);
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.4);
}

.mockup-stats-bubble {
  position: absolute;
  top: 20px;
  right: 24px;
  padding: 6px 12px;
  border-radius: var(--border-radius-pill);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
}

.pv-aura {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, #090c18 70%);
}

.mockup-store-card {
  width: 140px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-img-ph {
  height: 70px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(99, 102, 241, 0.2));
}

.mockup-row-ph {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
}
.mockup-row-ph.w-60 { width: 60%; }

.mockup-badge-instant {
  position: absolute;
  bottom: 20px;
  left: 24px;
  padding: 6px 12px;
  border-radius: var(--border-radius-pill);
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.pv-pulse {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, #090c18 70%);
}

.mockup-nodes-network {
  position: relative;
  width: 120px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.net-node {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 15px #38bdf8;
}

.mockup-live-indicator {
  position: absolute;
  top: 20px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--border-radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: #f1f5f9;
}

.ping-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

.pv-hyper {
  background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, #090c18 70%);
}

.mockup-canvas-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px dashed rgba(236, 72, 153, 0.5);
  background: radial-gradient(circle, rgba(236, 72, 153, 0.3), transparent 70%);
}

.mockup-palette-bar {
  position: absolute;
  bottom: 20px;
  right: 24px;
  display: flex;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--border-radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.pal-dot.c1 { background: #a855f7; }
.pal-dot.c2 { background: #38bdf8; }
.pal-dot.c3 { background: #ec4899; }
.pal-dot.c4 { background: #10b981; }

/* Project Info */
.project-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

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

.project-category {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-glow);
}

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

.project-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
  line-height: 1.25;
}

.project-summary {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

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

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.project-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.proj-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--border-radius-pill);
  transition: all var(--trans-fast);
}

.primary-proj-link {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: var(--purple-glow);
}

.primary-proj-link:hover {
  background: var(--purple-primary);
  color: var(--text-white);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
  transform: translateY(-2px);
}

.secondary-proj-link {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.secondary-proj-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   SKILLS SECTION STYLES
   -------------------------------------------------------------------------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.skill-cat-card {
  display: flex;
  flex-direction: column;
}

.cat-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cat-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: var(--purple-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
}

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

.skill-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skill-name-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-light);
}

.skill-pct {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--purple-glow);
  font-weight: 600;
}

.skill-bar-track {
  width: 100%;
  height: 6px;
  border-radius: var(--border-radius-pill);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

.skill-bar-fill {
  height: 100%;
  width: var(--val, 80%);
  border-radius: var(--border-radius-pill);
  background: linear-gradient(90deg, #7c3aed, #a855f7 50%, #38bdf8);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
  transition: width 1.2s var(--ease-smooth);
}

/* --------------------------------------------------------------------------
   EXPERIENCE SECTION STYLES (Vertical Timeline)
   -------------------------------------------------------------------------- */
.timeline-container {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 48px;
}

.timeline-line-glow {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 17px;
  width: 2px;
  background: linear-gradient(180deg, #c084fc 0%, #6366f1 40%, rgba(139, 92, 246, 0.2) 100%);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
}

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

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

.timeline-marker {
  position: absolute;
  top: 26px;
  left: -48px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marker-core {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #c084fc;
  border: 2.5px solid var(--bg-base);
  box-shadow: 0 0 12px #c084fc;
  z-index: 2;
}

.marker-pulse {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.25);
  animation: pulseMarker 2s ease-in-out infinite;
}

@keyframes pulseMarker {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.marker-edu {
  background: #38bdf8;
  box-shadow: 0 0 12px #38bdf8;
}

.timeline-card {
  padding: 28px;
}

.timeline-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-glow);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
}

.timeline-role {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.25;
}

.timeline-company {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.timeline-badge-pill {
  padding: 4px 12px;
  border-radius: var(--border-radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: var(--purple-glow);
}

.edu-pill {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.timeline-desc {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

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

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

.contact-status-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  margin-bottom: 28px;
}

.status-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #34d399;
}

.status-subtitle {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.contact-card-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

.contact-card-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Copy Email Box */
.copy-email-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 22px;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.copy-email-box:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.email-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--purple-glow);
  letter-spacing: 0.06em;
}

.email-address {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
}

.btn-copy {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  transition: all var(--trans-fast);
}

.btn-copy:hover {
  background: var(--purple-primary);
  color: var(--text-white);
}

.copy-tooltip {
  position: absolute;
  top: -30px;
  right: 0;
  background: var(--purple-primary);
  color: var(--text-white);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-fast);
}

.copy-tooltip.show {
  opacity: 1;
}

/* Location info */
.location-info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.loc-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--purple-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loc-title {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.loc-value {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-light);
}

/* Social Channels */
.social-channels {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.social-icons-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-fast);
}

.social-link:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--purple-glow);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

/* Glass Contact Form */
.contact-form-card {
  display: flex;
  flex-direction: column;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.form-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

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

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all var(--trans-fast);
}

.form-input:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--purple-glow);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.3);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

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

.btn-submit {
  align-self: flex-start;
  margin-top: 6px;
}

.btn-submit:hover .btn-icon-send {
  transform: translate(3px, -3px);
}

.btn-icon-send {
  transition: transform var(--trans-fast);
}

.form-status-message {
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 10px;
}

.form-status-message.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.form-status-message.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding-top: 50px;
  padding-bottom: 140px; /* Safe padding so bottom dock NEVER covers footer! */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
}

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

.footer-brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--border-radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--trans-fast);
}

.back-to-top:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--purple-glow);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   FIXED BOTTOM FLOATING DOCK (High-End macOS Glassmorphic Pill • 1:1 Reference)
   -------------------------------------------------------------------------- */
.bottom-dock-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  pointer-events: auto;
}

/* Ambient backlight glow underneath dock */
.bottom-dock-container::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 28px;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.45) 0%, rgba(99, 102, 241, 0.22) 50%, transparent 80%);
  filter: blur(14px);
  pointer-events: none;
  z-index: -1;
}

.bottom-dock {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 6px;
  background: rgba(11, 15, 28, 0.74);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 
    0 24px 50px rgba(0, 0, 0, 0.75),
    0 10px 22px rgba(0, 0, 0, 0.45),
    0 0 35px rgba(124, 58, 237, 0.18),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.25);
  transition: all var(--trans-base);
  user-select: none;
}

/* Sliding active pill indicator */
.dock-indicator {
  position: absolute;
  top: 5px;
  left: 0;
  height: calc(100% - 10px);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, rgba(139, 92, 246, 0.22) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(255, 255, 255, 0.38);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    0 4px 18px rgba(124, 58, 237, 0.32);
  pointer-events: none;
  z-index: 1;
  transition: transform 0.36s cubic-bezier(0.2, 0.9, 0.3, 1.15), width 0.36s cubic-bezier(0.2, 0.9, 0.3, 1.15), opacity 0.25s ease;
  opacity: 0;
}

/* Glowing lavender dot anchored to active indicator */
.dock-indicator::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c084fc;
  box-shadow: 
    0 0 6px #c084fc,
    0 0 12px #a855f7,
    0 0 18px rgba(168, 85, 247, 0.6);
}

.dock-item {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 24px;
  min-width: 66px;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.25s ease, transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dock-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  padding: 8px 16px;
  border-radius: 22px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.dock-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.25s ease, color 0.25s ease;
}

.dock-text {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.1;
  transition: color 0.25s ease;
}

/* Hover state on inactive items (Clean glass capsule, NO bulging dark circle) */
.dock-item:not(.active):hover {
  color: rgba(255, 255, 255, 0.95);
}

.dock-item:not(.active):hover .dock-tile {
  background: rgba(255, 255, 255, 0.06);
}

.dock-item:not(.active):hover .dock-icon {
  transform: translateY(-2px) scale(1.08);
  color: #ffffff;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.45));
}

/* Active item state */
.dock-item.active {
  color: #ffffff;
}

.dock-item.active .dock-text {
  color: #ffffff;
  font-weight: 600;
}

.dock-item.active .dock-icon {
  color: #ffffff;
  transform: translateY(-1px);
  filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.85)) drop-shadow(0 0 16px rgba(124, 58, 237, 0.5));
}

/* Fallback capsule before JS executes */
.no-indicator .dock-item.active .dock-tile {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, rgba(139, 92, 246, 0.22) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 4px 18px rgba(124, 58, 237, 0.32);
}

/* Subtle micro-press feedback on click */
.dock-item:active {
  transform: scale(0.95);
}

/* --------------------------------------------------------------------------
   INITIAL LOAD ANIMATIONS (CSS)
   -------------------------------------------------------------------------- */
.animate-fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s var(--ease-smooth) forwards;
  animation-delay: var(--delay, 0s);
}

.animate-scale-in {
  opacity: 0;
  transform: scale(0.92);
  animation: scaleIn 1s var(--ease-smooth) forwards;
  animation-delay: var(--delay, 0.2s);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 40px;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-description {
    max-width: 560px;
  }

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

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

  .hero-visual {
    height: 500px;
  }

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

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

@media (max-width: 768px) {
  .hero-section {
    padding-top: 40px;
    padding-bottom: 100px;
  }

  .hero-name {
    font-size: clamp(3rem, 11vw, 4.2rem);
  }

  .hero-tagline {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 16px;
    width: 100%;
    justify-content: space-between;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.74rem;
  }

  .hero-visual {
    height: 420px;
  }

  .card-stack-wrapper {
    width: 250px;
    height: 330px;
  }

  .handwritten-annotation {
    top: -15px;
    right: 0px;
    transform: scale(0.85) rotate(-6deg);
  }

  .floating-tech-card {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .tech-icon-container {
    width: 32px;
    height: 32px;
  }

  .tech-card-js { top: 8%; left: 4%; }
  .tech-card-ts { top: 32%; left: 0%; }
  .tech-card-html { top: 56%; left: 0%; }
  .tech-card-css { top: 80%; left: 4%; }
  .tech-card-react { top: 18%; right: 2%; }
  .tech-card-node { top: 46%; right: 0%; }
  .tech-card-docker { top: 74%; right: 3%; }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .timeline-container {
    padding-left: 36px;
  }

  .timeline-marker {
    left: -36px;
  }

  .timeline-line-glow {
    left: 11px;
  }

  /* Bottom Dock on Tablet */
  .bottom-dock {
    padding: 5px 6px;
    gap: 2px;
    height: 64px;
    max-width: calc(100vw - 20px);
  }

  .dock-item {
    min-width: 58px;
  }

  .dock-tile {
    padding: 6px 10px;
    gap: 2px;
  }

  .dock-icon {
    width: 19px;
    height: 19px;
  }

  .dock-text {
    font-size: 0.68rem;
  }
}

@media (max-width: 640px) {
  .profile-capabilities-grid {
    grid-template-columns: 1fr;
  }

  .profile-founder-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

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

  .hero-tagline {
    font-size: 0.74rem;
    letter-spacing: 0.15em;
    text-align: center;
  }

  .dock-text {
    display: none; /* Icon-only floating dock on smartphones */
  }

  .bottom-dock {
    padding: 5px 6px;
    gap: 3px;
    height: 54px;
    max-width: calc(100vw - 24px);
    border-radius: 40px;
  }

  .dock-indicator {
    border-radius: 18px;
    top: 4px;
    height: calc(100% - 8px);
  }

  .dock-indicator::after {
    bottom: -5px;
    width: 4px;
    height: 4px;
  }

  .dock-item {
    min-width: 46px;
    border-radius: 18px;
  }

  .dock-tile {
    padding: 8px 12px;
  }

  .dock-icon {
    width: 20px;
    height: 20px;
  }

  .hero-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 360px;
    margin: 28px auto 0 auto;
    gap: 6px;
  }

  .stat-item {
    align-items: center;
    text-align: center;
    flex: 1;
  }

  .stat-value {
    font-size: 1.45rem;
  }

  .stat-label {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .stat-divider {
    height: 32px;
    margin: 0 4px;
    background: rgba(255, 255, 255, 0.12);
  }
}
