/* ============================================
   ACCESS LOCK STYLES (PREMIUM GLASSMORPISM)
   ============================================ */
.access-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, #1a1a2e, #16213e, #0f3460);
  z-index: 99999;
  /* Highest priority */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}

.access-overlay.unlocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.access-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 60px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.05);
  animation: cardEntrance 0.8s cubic-bezier(0.2, 1, 0.3, 1) backwards;
}

@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.access-icon {
  font-size: 64px;
  margin-bottom: 24px;
  display: inline-block;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.access-header h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.6));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.access-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.access-form {
  margin-bottom: 30px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#access-password {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px 25px;
  color: white;
  font-size: 18px;
  text-align: center;
  outline: none;
  transition: all 0.3s;
  font-family: 'Space Grotesk', sans-serif;
}

#access-password:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

#access-submit-btn {
  background: white;
  color: #000;
  border: none;
  border-radius: 20px;
  padding: 20px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#access-submit-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
  background: #f0f0f0;
}

#access-submit-btn:active {
  transform: translateY(-2px);
}

.access-error-msg {
  color: #ff4d4d;
  font-size: 14px;
  margin-top: 20px;
  opacity: 0;
  transition: opacity 0.3s;
  font-weight: 600;
}

.access-error-msg.show {
  opacity: 1;
}

.access-footer p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

:root {
  --navy: #0a0f1e;
  --navy-2: #0d1526;
  --navy-3: #111d35;
  --teal: #14b8a6;
  --teal-l: #2dd4bf;
  --purple: #6366f1;
  --purple-l: #818cf8;
  --amber: #f59e0b;
  --amber-l: #fbbf24;
  --rose: #f43f5e;
  --rose-l: #fb7185;
  --blue: #3b82f6;
  --green: #22c55e;
  --white: #ffffff;
  --gray-3: #334155;
  --gray-4: #475569;
  --gray-5: #64748b;
  --gray-6: #94a3b8;
  --gray-8: #cbd5e1;

  --grad-main: linear-gradient(135deg, #6366f1, #14b8a6);
  --grad-warm: linear-gradient(135deg, #f59e0b, #f43f5e);
  --grad-cool: linear-gradient(135deg, #3b82f6, #6366f1);
  --grad-hero: linear-gradient(135deg, #0a0f1e 0%, #0d1526 60%, #111d35 100%);

  --shadow-glow-teal: 0 0 30px rgba(20, 184, 166, 0.3);
  --shadow-glow-purple: 0 0 30px rgba(99, 102, 241, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.4);

  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-hover: rgba(255, 255, 255, 0.09);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 9999px;

  --font: 'Space Grotesk', 'Inter', sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: all 0.3s var(--ease);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

::-webkit-scrollbar {
  width: 5px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 3px;
}

/* ===== CUSTOM CURSOR (Hidden per user feedback) ===== */
.custom-cursor,
.cursor-follower {
  display: none !important;
}

.custom-cursor {
  width: 12px;
  height: 12px;
  background: var(--teal);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, background 0.2s;
  mix-blend-mode: difference;
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(99, 102, 241, 0.5);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease), width 0.3s, height 0.3s, border-color 0.3s;
}

body:has(a:hover) .cursor-follower,
body:has(button:hover) .cursor-follower {
  width: 56px;
  height: 56px;
  border-color: rgba(20, 184, 166, 0.6);
}

/* ===== LOADER ===== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
}

.loader-pill {
  width: 120px;
  height: 48px;
  border: 3px solid var(--glass-border);
  border-radius: var(--r-full);
  overflow: hidden;
  margin: 0 auto 20px;
  position: relative;
}

.pill-fill {
  height: 100%;
  background: var(--grad-main);
  border-radius: var(--r-full);
  width: 0%;
  animation: pill-load 1.8s var(--ease) forwards;
}

@keyframes pill-load {
  to {
    width: 100%;
  }
}

.loader-text {
  color: var(--gray-6);
  font-size: 0.9rem;
}

.dots {
  animation: dots 1.2s infinite;
}

@keyframes dots {

  0%,
  20% {
    content: '.';
  }

  40%,
  60% {
    content: '..';
  }

  80%,
  100% {
    content: '...';
  }
}

/* ===== UTILITY ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.highlight-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag-fun {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 8px 20px;
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-6);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--gray-6);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  font-family: var(--font);
  transition: var(--t);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-main);
  color: var(--white);
  box-shadow: var(--shadow-glow-teal);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(20, 184, 166, 0.4);
}

.btn-ghost {
  background: var(--glass);
  color: var(--white);
  border: 1px solid var(--glass-border);
}

.btn-ghost:hover {
  background: var(--glass-hover);
  transform: translateY(-3px);
}

.btn-icon {
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3000;
  padding: 20px 0;
  transition: var(--t);
}

.navbar.scrolled {
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(24px);
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-pill {
  width: 36px;
  height: 36px;
  background: var(--grad-main);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.logo-pill.large {
  width: 48px;
  height: 48px;
  font-size: 1rem;
  border-radius: var(--r-md);
}

.logo-text {
  font-weight: 700;
  font-size: 1rem;
}

.logo-text strong {
  color: var(--teal);
}

.logo-badge {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--purple-l);
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--r-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-6);
  transition: var(--t);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: var(--glass);
}

.nav-link.active {
  color: var(--teal-l);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--t);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  background: var(--grad-hero);
}

.particle-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
}

.blob-1 {
  width: 700px;
  height: 700px;
  background: var(--purple);
  top: -200px;
  right: -150px;
  animation: blob-move 10s ease-in-out infinite;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: var(--teal);
  bottom: -150px;
  left: -100px;
  animation: blob-move 13s ease-in-out infinite reverse;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: var(--amber);
  top: 40%;
  left: 40%;
  animation: blob-move 8s ease-in-out infinite 2s;
}

@keyframes blob-move {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -30px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

/* Floating emojis */
.floating-emojis {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fe {
  position: absolute;
  font-size: 2rem;
  opacity: 0.15;
  animation: fe-float 6s ease-in-out infinite;
}

.fe-1 {
  top: 15%;
  left: 8%;
  animation-delay: 0s;
}

.fe-2 {
  top: 25%;
  right: 10%;
  animation-delay: 1s;
}

.fe-3 {
  top: 60%;
  left: 5%;
  animation-delay: 2s;
}

.fe-4 {
  bottom: 20%;
  right: 8%;
  animation-delay: 0.5s;
}

.fe-5 {
  top: 45%;
  right: 20%;
  animation-delay: 1.5s;
}

.fe-6 {
  bottom: 35%;
  left: 15%;
  animation-delay: 3s;
}

@keyframes fe-float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: var(--teal-l);
  padding: 8px 16px;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 600;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-anim 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

@keyframes pulse-anim {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.7);
    opacity: 0.6;
  }
}

.hero-badge-fun {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--purple-l);
  padding: 8px 16px;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 600;
}

.bounce-in {
  animation: bounceIn 0.6s var(--ease) both;
}

.wiggle {
  animation: wiggle 0.6s var(--ease) 0.2s both;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes wiggle {

  0%,
  100% {
    transform: rotate(0);
  }

  25% {
    transform: rotate(-3deg);
  }

  75% {
    transform: rotate(3deg);
  }
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  animation: fadeUp 0.6s var(--ease) 0.15s both;
}

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

.wave-emoji {
  display: inline-block;
  animation: wave 2s ease-in-out infinite;
  transform-origin: 70% 70%;
}

@keyframes wave {

  0%,
  100% {
    transform: rotate(0);
  }

  20% {
    transform: rotate(20deg);
  }

  40% {
    transform: rotate(-10deg);
  }

  60% {
    transform: rotate(15deg);
  }

  80% {
    transform: rotate(-5deg);
  }
}

.typewriter-wrapper {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gray-6);
  margin-bottom: 20px;
  min-height: 2rem;
  animation: fadeUp 0.6s var(--ease) 0.25s both;
}

.typewriter {
  color: var(--teal-l);
  font-weight: 700;
}

.typewriter-cursor {
  color: var(--purple-l);
  animation: blink 1s step-end infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-desc {
  color: var(--gray-6);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 500px;
  animation: fadeUp 0.6s var(--ease) 0.35s both;
}

.hero-desc em {
  color: var(--teal-l);
  font-style: normal;
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeUp 0.6s var(--ease) 0.45s both;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  animation: fadeUp 0.6s var(--ease) 0.55s both;
}

.stat-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 16px 12px;
  text-align: center;
  transition: var(--t);
  cursor: default;
}

.stat-card:hover {
  background: var(--glass-hover);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-purple);
}

.stat-emoji {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--teal-l);
  line-height: 1;
}

.stat-unit {
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-l);
  display: inline;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--gray-6);
  margin-top: 4px;
  font-weight: 500;
}

/* Avatar Scene */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeRight 0.8s var(--ease) 0.3s both;
}

.avatar-scene {
  position: relative;
  width: 360px;
  height: 360px;
}

.avatar-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.av-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(99, 102, 241, 0.2);
  animation: ring-spin 8s linear infinite;
}

.r1 {
  inset: -20px;
  animation-duration: 8s;
}

.r2 {
  inset: -40px;
  border-color: rgba(20, 184, 166, 0.15);
  animation-duration: 12s;
  animation-direction: reverse;
}

.r3 {
  inset: -60px;
  border-color: rgba(245, 158, 11, 0.1);
  animation-duration: 16s;
}

@keyframes ring-spin {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

.avatar-frame {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 60px rgba(99, 102, 241, 0.2), inset 0 0 40px rgba(0, 0, 0, 0.3);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.achievement-card {
  position: absolute;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-card);
  white-space: nowrap;
}

.ac-top-right {
  top: 0;
  right: -40px;
  animation: float-ac 4s ease-in-out infinite;
}

.ac-bottom-left {
  bottom: 20px;
  left: -50px;
  animation: float-ac 4s ease-in-out infinite 2s;
}

.ac-top-left {
  top: 30px;
  left: -50px;
  animation: float-ac 4s ease-in-out infinite 1s;
}

.ac-bottom-right {
  bottom: 40px;
  right: -50px;
  animation: float-ac 4s ease-in-out infinite 3s;
}

@keyframes float-ac {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.ac-icon {
  font-size: 1.4rem;
}

.ac-title {
  font-size: 0.82rem;
  font-weight: 700;
}

.ac-sub {
  font-size: 0.72rem;
  color: var(--teal);
}

.scroll-bounce {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--gray-5);
  font-size: 0.75rem;
}

.scroll-arrow {
  font-size: 1.2rem;
  animation: bounce-down 1.5s ease-in-out infinite;
}

@keyframes bounce-down {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseMini {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(20, 184, 166, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(20, 184, 166, 0);
  }
}

.target-badge-outer {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  animation: fadeUp 1s var(--ease);
}

.target-badge {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(20, 184, 166, 0.4);
  padding: 8px 16px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.pulse-mini {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulseMini 2s infinite;
}

#targetBadgeText {
  color: var(--teal-l);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.personalized-entry {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, var(--navy-l), var(--navy));
  padding: 40px 20px;
  position: relative;
  z-index: 2000;
  /* Above navbar if needed, or navbar can be sticky below */
  overflow-y: auto;
}

.letter-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: var(--r-xl);
  padding: 50px;
  max-width: 850px;
  width: 100%;
  margin: auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  animation: scaleUpFade 0.8s var(--ease);
}

@keyframes scaleUpFade {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.letter-card::before {
  content: 'PERSONALIZED GREETING';
  position: absolute;
  top: 28px;
  right: -45px;
  transform: rotate(45deg);
  background: var(--grad-main);
  color: var(--white);
  padding: 6px 0;
  width: 180px;
  text-align: center;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.letter-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.letter-icon {
  font-size: 3rem;
  filter: drop-shadow(0 0 10px var(--purple));
}

.letter-card h2 {
  font-size: 2.22rem;
  font-weight: 800;
  background: var(--grad-main);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.letter-content p {
  color: var(--gray-8);
  font-size: 1.25rem;
  line-height: 1.85;
  font-weight: 400;
}

.letter-content strong {
  color: var(--teal-l);
  font-weight: 700;
}

.letter-footer {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: right;
}

.letter-signature {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  font-style: italic;
}

.letter-cta-container {
  margin-top: 40px;
  text-align: center;
}

.letter-cta-btn {
  display: inline-block;
  padding: 16px 36px;
  background: var(--grad-main);
  color: var(--white);
  border-radius: var(--r-full);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
  font-size: 1.1rem;
}

.letter-cta-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.6);
  filter: brightness(1.1);
}

/* ===== SECTION DIVIDERS ===== */
.about,
.skills,
.experience,
.fun-facts,
.education,
.contact {
  padding: 100px 0;
  position: relative;
}

.about {
  background: var(--navy-2);
}

.skills {
  background: var(--navy);
}

.experience {
  background: var(--navy-2);
}

.fun-facts {
  background: var(--navy-3);
}

.education {
  background: var(--navy);
}

.contact {
  background: var(--navy-2);
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), rgba(20, 184, 166, 0.3), transparent);
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-intro-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(20, 184, 166, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 24px;
}

.aic-emoji {
  font-size: 2.5rem;
}

.aic-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.aic-content p {
  color: var(--teal-l);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}

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

.aic-tags span {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-6);
}

.about-paragraphs p {
  color: var(--gray-6);
  margin-bottom: 14px;
  line-height: 1.8;
  font-size: 0.95rem;
}

.about-paragraphs strong {
  color: var(--white);
}

.about-paragraphs em {
  color: var(--teal-l);
  font-style: normal;
  font-weight: 600;
}

.about-checklist {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
}

.check-box {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: var(--grad-main);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
}

/* Flip Cards */
.about-cards-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.flip-card {
  height: 160px;
  perspective: 1000px;
  cursor: pointer;
}

.flip-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.flip-front {
  background: var(--glass);
  border: 1px solid var(--glass-border);
}

.flip-front:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.flip-back {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(20, 184, 166, 0.15));
  border: 1px solid rgba(99, 102, 241, 0.3);
  transform: rotateY(180deg);
}

.fc-emoji {
  font-size: 2rem;
  margin-bottom: 8px;
}

.flip-front h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.flip-front p {
  font-size: 0.75rem;
  color: var(--gray-5);
}

.flip-back h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--teal-l);
}

.flip-back p {
  font-size: 0.8rem;
  color: var(--gray-6);
  line-height: 1.6;
}

.accent-card .flip-front {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(244, 63, 94, 0.1));
  border-color: rgba(245, 158, 11, 0.2);
}

/* ===== SKILLS ===== */
.skills-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.col-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-item {
  margin-bottom: 24px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.skill-name {
  font-size: 0.88rem;
  font-weight: 600;
}

.skill-level {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--r-full);
  color: var(--purple-l);
}

.skill-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-full);
  overflow: hidden;
  margin-bottom: 6px;
}

.skill-fill {
  height: 100%;
  background: var(--grad-main);
  border-radius: var(--r-full);
  width: 0%;
  transition: width 1.5s var(--ease);
  position: relative;
  overflow: hidden;
}

.skill-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: shimmer 2s ease-in-out infinite;
}

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

  100% {
    transform: translateX(100%);
  }
}

.skill-pct-label {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.skill-fun-label {
  font-size: 0.75rem;
  color: var(--gray-5);
  font-style: italic;
}

/* Soft skill cards */
.soft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.soft-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 16px;
  transition: var(--t);
  cursor: default;
}

.soft-card:hover {
  transform: translateY(-4px);
}

.soft-card[data-color="purple"]:hover {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.08);
}

.soft-card[data-color="teal"]:hover {
  border-color: rgba(20, 184, 166, 0.4);
  background: rgba(20, 184, 166, 0.08);
}

.soft-card[data-color="amber"]:hover {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.08);
}

.soft-card[data-color="rose"]:hover {
  border-color: rgba(244, 63, 94, 0.4);
  background: rgba(244, 63, 94, 0.08);
}

.soft-card[data-color="blue"]:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.08);
}

.soft-card[data-color="green"]:hover {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.08);
}

.sc-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.sc-name {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.sc-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}

.sc-fill {
  height: 100%;
  background: var(--grad-main);
  border-radius: 2px;
}

.sc-quote {
  font-size: 0.72rem;
  color: var(--gray-5);
  font-style: italic;
}

/* Expertise cloud */
.expertise-section {
  text-align: center;
  position: relative;
}

.expertise-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.click-hint {
  font-size: 0.75rem;
  color: var(--gray-5);
  font-weight: 400;
}

.expertise-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 16px;
  margin-top: 20px;
}

.exp-tag {
  padding: 10px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  font-family: var(--font);
  transition: var(--t);
}

.exp-tag:hover,
.exp-tag.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(20, 184, 166, 0.15));
  border-color: rgba(99, 102, 241, 0.4);
  color: var(--teal-l);
  transform: translateY(-3px) scale(1.05);
}

.exp-tag.large {
  font-size: 0.95rem;
  padding: 12px 24px;
}

.exp-tooltip {
  min-height: 40px;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(20, 184, 166, 0.12));
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--r-md);
  font-size: 0.88rem;
  color: var(--gray-8);
  display: none;
  max-width: 500px;
  margin: 0 auto;
}

.exp-tooltip.show {
  display: block;
  animation: fadeUp 0.3s var(--ease);
}

/* ===== EXPERIENCE ===== */
.timeline-fun {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.timeline-fun::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--purple), var(--teal), transparent);
}

.tf-item {
  position: relative;
  padding-left: 72px;
  margin-bottom: 36px;
}

.tf-dot {
  position: absolute;
  left: 14px;
  top: 28px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  border: 3px solid var(--navy-2);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

.tf-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  transition: var(--t);
}

.tf-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateX(4px);
  box-shadow: var(--shadow-glow-purple);
}

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

.tf-title-group {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.tf-emoji {
  font-size: 1.8rem;
}

.tf-title-group h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.tf-company {
  color: var(--teal-l);
  font-size: 0.88rem;
  font-weight: 600;
}

.tf-date-badge {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--purple-l);
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.tf-mood {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.mood-tag {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--amber-l);
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.tf-list {
  margin-bottom: 16px;
}

.tf-list li {
  color: var(--gray-6);
  font-size: 0.88rem;
  padding: 5px 0;
  line-height: 1.6;
}

.tf-list li strong {
  color: var(--white);
}

.tf-achievement {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(244, 63, 94, 0.08));
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--r-md);
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--amber-l);
}

.tf-achievement strong {
  color: var(--white);
}

/* ===== FUN FACTS ===== */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.fact-card {
  border-radius: var(--r-lg);
  padding: 28px 24px;
  border: 1px solid var(--glass-border);
  transition: var(--t);
  cursor: default;
}

.fact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.fc-purple {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.05));
  border-color: rgba(99, 102, 241, 0.2);
}

.fc-teal {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(20, 184, 166, 0.05));
  border-color: rgba(20, 184, 166, 0.2);
}

.fc-amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
  border-color: rgba(245, 158, 11, 0.2);
}

.fc-rose {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.1), rgba(244, 63, 94, 0.05));
  border-color: rgba(244, 63, 94, 0.2);
}

.fc-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
  border-color: rgba(59, 130, 246, 0.2);
}

.fc-green {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
  border-color: rgba(34, 197, 94, 0.2);
}

.fact-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.fact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.fact-card p {
  color: var(--gray-6);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.fact-tag {
  display: inline-block;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  color: var(--gray-5);
  font-weight: 600;
}

/* Quiz */
.quiz-section {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 40px;
  text-align: center;
}

.quiz-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.quiz-subtitle {
  color: var(--gray-6);
  margin-bottom: 28px;
  font-size: 0.92rem;
}

.quiz-cards {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

.quiz-btn {
  padding: 12px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  font-family: var(--font);
  transition: var(--t);
}

.quiz-btn:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(20, 184, 166, 0.15));
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

.quiz-answer {
  min-height: 0;
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(20, 184, 166, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--r-md);
  padding: 0;
  font-size: 0.92rem;
  color: var(--gray-8);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.quiz-answer.show {
  padding: 16px 20px;
}

.quiz-gpt-cta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.quiz-gpt-text {
  color: var(--gray-6);
  font-size: 0.9rem;
  margin: 0;
}

.quiz-gpt-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #10a37f, #1a7f64);
  border: 1px solid rgba(16, 163, 127, 0.4);
  border-radius: var(--r-full);
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--t);
  box-shadow: 0 4px 20px rgba(16, 163, 127, 0.25);
}

.quiz-gpt-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(16, 163, 127, 0.4);
  background: linear-gradient(135deg, #12b88f, #1d9070);
}

/* ===== EDUCATION ===== */
.edu-timeline {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.edu-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.edu-year-badge {
  background: var(--grad-main);
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 20px;
}

.edu-card-fun {
  flex: 1;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  transition: var(--t);
}

.edu-card-fun:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateX(4px);
}

.ecf-left {
  text-align: center;
  flex-shrink: 0;
}

.ecf-icon {
  font-size: 2rem;
  margin-bottom: 6px;
}

.ecf-type {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--purple-l);
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ecf-right h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.ecf-school {
  color: var(--teal-l);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.ecf-desc {
  color: var(--gray-6);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.ecf-desc em {
  color: var(--amber-l);
  font-style: normal;
}

.ecf-stars {
  font-size: 0.85rem;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 0 auto;
  gap: 32px;
}

.contact-intro {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(20, 184, 166, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 28px;
}

.ci-emoji {
  font-size: 2rem;
}

.contact-intro h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-intro p {
  color: var(--gray-6);
  font-size: 0.88rem;
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.cm-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 14px 18px;
  transition: var(--t);
}

a.cm-item:hover {
  transform: translateX(6px);
  border-color: rgba(99, 102, 241, 0.35);
  background: var(--glass-hover);
}

.cm-icon {
  font-size: 1.3rem;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--glass);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cm-content {
  flex: 1;
}

.cm-label {
  display: block;
  font-size: 0.72rem;
  color: var(--gray-5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.cm-value {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}

.cm-arrow {
  color: var(--teal);
  font-size: 1rem;
}

.open-to-work {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--r-md);
  padding: 14px 18px;
}

.otw-dot {
  width: 12px;
  height: 12px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-anim 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.otw-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #86efac;
  margin-bottom: 2px;
}

.otw-sub {
  font-size: 0.78rem;
  color: var(--gray-5);
}

/* Contact Form */
.contact-form-fun {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 36px;
}

.form-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.form-emoji {
  font-size: 1.8rem;
}

.form-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fg {
  margin-bottom: 18px;
}

.fg label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-6);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fg input,
.fg textarea,
.fg select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.92rem;
  transition: var(--t);
  outline: none;
  resize: none;
}

.fg input::placeholder,
.fg textarea::placeholder {
  color: var(--gray-4);
}

.fg select option {
  background: var(--navy-2);
}

.fg input:focus,
.fg textarea:focus,
.fg select:focus {
  border-color: var(--purple);
  background: rgba(99, 102, 241, 0.05);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.btn-submit {
  width: 100%;
  padding: 15px;
  border-radius: var(--r-full);
  background: var(--grad-main);
  color: var(--white);
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--t);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-teal);
}

.btn-submit:active {
  transform: scale(0.98);
}

.btn-emoji {
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.btn-submit:hover .btn-emoji {
  transform: translateX(4px) rotate(-45deg);
}

.form-success-fun {
  display: none;
  margin-top: 16px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--r-md);
  padding: 16px 20px;
  align-items: center;
  gap: 14px;
}

.form-success-fun.show {
  display: flex;
  animation: fadeUp 0.4s var(--ease);
}

.fs-emoji {
  font-size: 2rem;
}

.form-success-fun strong {
  display: block;
  color: #86efac;
  margin-bottom: 4px;
}

.form-success-fun p {
  font-size: 0.85rem;
  color: var(--gray-6);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--glass-border);
  padding: 40px 0;
}

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

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

.footer-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-name strong {
  color: var(--teal);
}

.footer-title {
  font-size: 0.82rem;
  color: var(--gray-5);
}

.footer-quote {
  color: var(--gray-5);
  font-size: 0.9rem;
  font-style: italic;
}

.footer-divider {
  height: 1px;
  background: var(--glass-border);
  margin-bottom: 24px;
}

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

.footer.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.lang-switcher {
  display: flex;
  gap: 8px;
  margin-left: 20px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-full);
}

.lang-btn {
  background: none;
  border: none;
  color: var(--gray-4);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: var(--r-full);
  transition: var(--t);
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--purple), var(--teal));
  color: #fff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

@media (max-width: 900px) {
  .lang-switcher {
    margin-left: 0;
    margin-top: 20px;
  }
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gray-5);
  font-size: 0.88rem;
  transition: var(--t);
}

.footer-links a:hover {
  color: var(--teal-l);
}

.footer-copy {
  color: var(--gray-4);
  font-size: 0.82rem;
}

/* ===== REVEAL ANIMATION ===== */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CONFETTI ===== */
#confettiContainer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  animation: confetti-fall 3s ease-in forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-20px) rotate(0);
    opacity: 1;
  }

  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 30, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 12px 32px;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
    position: relative;
  }

  .logo-badge {
    display: none;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 100px 24px 60px;
    gap: 48px;
  }

  .hero-visual {
    order: -1;
  }

  .avatar-scene {
    width: 260px;
    height: 260px;
  }

  .achievement-card {
    scale: 0.8;
    padding: 8px 12px;
  }

  .ac-top-right {
    top: -15px;
    right: -30px;
  }

  .ac-bottom-left {
    bottom: -15px;
    left: -30px;
  }

  .ac-top-left {
    top: -15px;
    left: -30px;
    display: flex;
  }

  .ac-bottom-right {
    bottom: -15px;
    right: -30px;
  }

  .hero-badge-row {
    justify-content: center;
  }

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

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-desc {
    margin: 0 auto 32px;
  }

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

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

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

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

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

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

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

  .edu-item {
    flex-direction: column;
    gap: 8px;
  }

  .edu-year-badge {
    margin-top: 0;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .custom-cursor,
  .cursor-follower {
    display: none;
  }

  body {
    cursor: auto;
  }
}

@media (max-width: 480px) {
  .about-cards-col {
    grid-template-columns: 1fr;
  }

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

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

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .quiz-cards {
    flex-direction: column;
    align-items: center;
  }

  /* Hero Cards Mobile Adjustment */
  /* Hero Cards Mobile Adjustment (Smaller Screens) */
  .achievement-card {
    scale: 0.75;
    padding: 6px 10px;
  }

  .ac-top-right {
    top: -20px;
    right: -35px;
  }

  .ac-top-left {
    top: -20px;
    left: -35px;
    display: flex;
  }

  .ac-bottom-left {
    bottom: -20px;
    left: -35px;
  }

  .ac-bottom-right {
    bottom: -20px;
    right: -35px;
  }
}