/* ═══════════════════════════════════════════════════════════
   ROOT VARIABLES
═══════════════════════════════════════════════════════════ */
:root {
  --bg: #0a0a0f;
  --bg2: #0f0f1a;
  --bg3: #12121f;
  --surface: rgba(255, 255, 255, 0.03);
  --surface2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.07);
  --border2: rgba(108, 99, 255, 0.28);
  --text: #f0f0f8;
  --text2: #9898b8;
  --accent: #6c63ff;
  --accent2: #4f8ef7;
  --accent3: #a78bfa;
  --green: #4ade80;
  --glow: rgba(108, 99, 255, 0.4);
  --glow2: rgba(79, 142, 247, 0.3);
  --font-display: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}

/* ═══════════════════════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 110px 0;
}
.section-alt {
  background: var(--bg2);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 40px;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.section-head-row .section-title {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px var(--glow);
}
.btn-primary:hover {
  background: #7d75ff;
  box-shadow:
    0 0 36px var(--glow),
    0 0 70px rgba(108, 99, 255, 0.18);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(108, 99, 255, 0.12);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 {
  transition-delay: 0.1s;
}
.fade-up.delay-2 {
  transition-delay: 0.2s;
}
.fade-up.delay-3 {
  transition-delay: 0.3s;
}
.fade-up.delay-4 {
  transition-delay: 0.4s;
}
.fade-up.delay-5 {
  transition-delay: 0.5s;
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

#navbar.scrolled {
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.nav-logo .accent {
  color: var(--accent);
}

.nav-logo-mark {
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: white;
  box-shadow: 0 0 14px var(--glow);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  flex-shrink: 0;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  backdrop-filter: blur(4px);
}
.mobile-overlay.visible {
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  /* display: flex; */
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(108, 99, 255, 0.11) 0%,
    transparent 70%
  );
  top: -100px;
  right: -100px;
  animation: pulseGlow 6s ease-in-out infinite;
}
.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(79, 142, 247, 0.09) 0%,
    transparent 70%
  );
  bottom: 60px;
  left: -60px;
  animation: pulseGlow 8s ease-in-out infinite reverse;
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.28);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent3);
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: blinkDot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blinkDot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 60px);
  /* font-weight: 800; */
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--text);
}
.hero-title .line {
  display: block;
}
.accent-word {
  color: var(--accent);
}
.accent-word2 {
  color: var(--accent2);
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text2);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 38px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.stat-num span {
  color: var(--accent);
}
.stat-label {
  font-size: 12px;
  color: var(--text2);
}

/* Floating code cards */
.hero-float-cards {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  pointer-events: none;
}
.code-card {
  background: rgba(15, 15, 26, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  backdrop-filter: blur(20px);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  min-width: 210px;
  line-height: 1.8;
}
.code-card .kw {
  color: var(--accent3);
}
.code-card .fn {
  color: var(--accent2);
}
.code-card .str {
  color: var(--green);
}
.code-card .num {
  color: #fb923c;
}
.code-card:nth-child(1) {
  animation: floatCard1 5s ease-in-out infinite;
}
.code-card:nth-child(2) {
  animation: floatCard2 6s ease-in-out infinite 1s;
}
@keyframes floatCard1 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes floatCard2 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* ═══════════════════════════════════════════════════════════
   FEATURED PROJECT STRIP
═══════════════════════════════════════════════════════════ */
.featured-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.proj-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(20px);
}
.proj-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 0% 0%,
    rgba(108, 99, 255, 0.07) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s;
}
.proj-card:hover {
  border-color: var(--border2);
  transform: translateY(-5px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(108, 99, 255, 0.1);
}
.proj-card:hover::before {
  opacity: 1;
}

.proj-card-icon {
  font-size: 36px;
  margin-bottom: 16px;
  line-height: 1;
}
.proj-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.proj-card-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.proj-card-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 20px;
}
.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}
.proj-tag {
  padding: 4px 11px;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent3);
}
.proj-links-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.proj-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent2);
  text-decoration: none;
  transition:
    gap 0.2s,
    color 0.2s;
}
.proj-link:hover {
  gap: 9px;
  color: var(--accent);
}
.proj-link-ghost {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
}
.proj-link-ghost:hover {
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  color: var(--text2);
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-text p strong {
  color: var(--text);
  font-weight: 600;
}

.about-role {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 22px;
  min-height: 38px;
}
.about-role.typewriter::after {
  content: "|";
  animation: blinkCursor 1s step-end infinite;
  color: var(--accent);
}
@keyframes blinkCursor {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0 30px;
}
.about-info-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.info-label {
  font-size: 11px;
  color: var(--text2);
}
.info-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.info-val.available {
  color: var(--green);
}

.about-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* About visual */
.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 460px;
}
.about-corner-deco {
  position: absolute;
  top: 24px;
  left: -16px;
  width: 72px;
  height: 72px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  border-radius: 4px 0 0 0;
  opacity: 0.5;
}
.about-img-frame {
  width: 320px;
  height: 380px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(108, 99, 255, 0.18),
    rgba(79, 142, 247, 0.08)
  );
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 70px rgba(108, 99, 255, 0.18),
    inset 0 0 40px rgba(108, 99, 255, 0.04);
  position: relative;
  overflow: hidden;
}
.about-img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(108, 99, 255, 0.025) 2px,
    rgba(108, 99, 255, 0.025) 4px
  );
  pointer-events: none;
}
.about-avatar-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  z-index: 1;
}
.avatar-initials {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  position: relative;
  z-index: 2;
}
.avatar-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(108, 99, 255, 0.4);
  animation: spinRing 8s linear infinite;
  border-top-color: var(--accent);
}

.avatar-img {
  width: 100%;
  height: 50%;
  border-radius: 100%;
  object-fit: cover;
  z-index: 2;
}

@keyframes spinRing {
  to {
    transform: rotate(360deg);
  }
}

.about-float-badge {
  position: absolute;
  bottom: 50px;
  right: -18px;
  background: rgba(10, 10, 15, 0.95);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  font-size: 13px;
  color: var(--text2);
}
.about-float-badge strong {
  color: var(--accent);
  font-size: 16px;
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
}
.about-float-badge-2 {
  position: absolute;
  top: 50px;
  left: -18px;
  background: rgba(10, 10, 15, 0.95);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  font-size: 13px;
  color: var(--text2);
}
.about-float-badge-2 strong {
  font-size: 18px;
}

/* ═══════════════════════════════════════════════════════════
   TIMELINE / JOURNEY
═══════════════════════════════════════════════════════════ */
.exp-bg-year {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(100px, 18vw, 260px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.015);
  line-height: 1;
  pointer-events: none;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  letter-spacing: -8px;
  user-select: none;
}

.timeline {
  position: relative;
  padding-left: 32px;
  margin-top: 52px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--accent) 20%,
    var(--accent) 80%,
    transparent
  );
}

.tl-item {
  position: relative;
  padding-left: 40px;
  padding-bottom: 52px;
}
.tl-item:last-child {
  padding-bottom: 0;
}

.tl-dot {
  position: absolute;
  left: -32px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 0 10px var(--glow);
}
.tl-dot::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--accent);
}
.tl-dot-current {
  border-color: var(--green);
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}
.tl-dot-current::after {
  background: var(--green);
}

.tl-company {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.tl-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: white;
  flex-shrink: 0;
}
.tl-role {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.tl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.tl-co-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent2);
}
.tl-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text2);
  padding: 3px 10px;
  background: var(--surface2);
  border-radius: 100px;
}
.tl-desc {
  color: var(--text2);
  font-size: 14.5px;
  line-height: 1.7;
}
.tl-desc ul {
  list-style: none;
  padding: 0;
  margin-top: 8px;
}
.tl-desc ul li {
  padding: 4px 0 4px 18px;
  position: relative;
}
.tl-desc ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 11px;
  top: 6px;
}

/* ═══════════════════════════════════════════════════════════
   SKILLS
═══════════════════════════════════════════════════════════ */
.skills-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.skills-toggle-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text2);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.skills-toggle-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 0 14px var(--glow);
}
.skills-toggle-btn:hover:not(.active) {
  border-color: var(--accent);
  color: var(--text);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(106px, 1fr));
  gap: 14px;
}
.skill-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all var(--transition);
  cursor: default;
}
.skill-item:hover {
  border-color: var(--accent);
  box-shadow: 0 0 22px rgba(108, 99, 255, 0.14);
  transform: translateY(-3px);
}
.skill-icon {
  font-size: 28px;
  line-height: 1;
  transition: filter 0.3s;
}
.skill-item:hover .skill-icon {
  filter: drop-shadow(0 0 8px var(--accent));
}
.skill-name {
  font-size: 12px;
  color: var(--text2);
  text-align: center;
  font-weight: 500;
  line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════════
   BLOG
═══════════════════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}
.blog-card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
}
.blog-card-body {
  padding: 22px;
}
.blog-tag {
  display: inline-flex;
  padding: 3px 11px;
  background: rgba(108, 99, 255, 0.1);
  border-radius: 100px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--accent3);
  margin-bottom: 12px;
}
.blog-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-excerpt {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text2);
  flex-wrap: wrap;
}
.blog-read {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent2);
  text-decoration: none;
  transition: gap 0.2s;
  margin-left: auto;
}
.blog-read:hover {
  gap: 8px;
}

/* Featured blog */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-featured:hover {
  border-color: var(--border2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}
.blog-featured-img {
  min-height: 240px;
  background: linear-gradient(135deg, #1a1030, #0d1f3c);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-featured-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 28px,
    rgba(108, 99, 255, 0.04) 28px,
    rgba(108, 99, 255, 0.04) 29px
  );
}
.blog-img-icon {
  font-size: 60px;
  opacity: 0.35;
  position: relative;
  z-index: 1;
}
.blog-featured-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured-body .blog-title {
  font-size: 22px;
}
.blog-featured-body .blog-excerpt {
  font-size: 15px;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

/* ═══════════════════════════════════════════════════════════
   EDUCATION
═══════════════════════════════════════════════════════════ */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 48px;
}
.edu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.edu-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--accent2));
}
.edu-card:hover {
  border-color: var(--border2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}
.edu-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.edu-institution {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.edu-degree {
  font-size: 14px;
  color: var(--accent2);
  font-weight: 500;
  margin-bottom: 6px;
}
.edu-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text2);
  margin-bottom: 14px;
}
.edu-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  flex: 1;
}
.edu-footer {
  margin-top: 20px;
}

/* ═══════════════════════════════════════════════════════════
   PROJECTS SHOWCASE
═══════════════════════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pshowcase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.pshowcase-card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.pshowcase-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 54px;
}
.pshowcase-body {
  padding-top: 26px;
  padding-bottom: 32px;
  padding-left: 20px; 
  padding-right: 20px;
}
.pshowcase-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.pshowcase-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 18px;
}
.pshowcase-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   COMMUNITY / OPEN SOURCE
═══════════════════════════════════════════════════════════ */
.community-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.community-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 28px 0 32px;
}
.community-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.community-item-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}
.community-item-text strong {
  color: var(--text);
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}
.community-item-text span {
  font-size: 13px;
  color: var(--text2);
}

.community-right {
  height: 380px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #0d1230, #1a0d30);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.community-right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 18px,
    rgba(108, 99, 255, 0.04) 18px,
    rgba(108, 99, 255, 0.04) 19px
  );
}
.community-img-icon {
  font-size: 72px;
  opacity: 0.2;
  position: relative;
  z-index: 1;
}
.community-stat-badge {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: rgba(10, 10, 15, 0.95);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  backdrop-filter: blur(20px);
  z-index: 2;
}
.community-stat-badge .big {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--green);
}
.community-stat-badge .label {
  font-size: 12px;
  color: var(--text2);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════ */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 48px;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
}
.faq-right {
  height: 420px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #12121f, #1a1030);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  opacity: 0.3;
  position: sticky;
  top: 100px;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 14px;
  text-align: left;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  transition: color 0.2s;
}
.accordion-header:hover {
  color: var(--accent);
}
.accordion-arrow {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s;
  color: var(--accent);
  flex-shrink: 0;
}
.accordion-item.open .accordion-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: rotate(45deg);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-item.open .accordion-body {
  max-height: 300px;
}
.accordion-body p {
  padding: 0 0 20px;
  color: var(--text2);
  font-size: 15px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════════════════ */
#cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--bg2);
}
.cta-glow {
  position: absolute;
  width: 800px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(108, 99, 255, 0.1) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none !important;
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -1px;
}
.cta-gradient {
  background: linear-gradient(to right, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-sub {
  font-size: 17px;
  color: var(--text2);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cta-btn-lg {
  font-size: 15px;
  padding: 15px 32px;
}
.cta-contact-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text2);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
#footer {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-logo .logo-mark {
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: white;
  box-shadow: 0 0 14px var(--glow);
}
.footer-tagline {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 22px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  color: var(--text2);
  transition: all 0.2s;
}
.social-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 12px rgba(108, 99, 255, 0.18);
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col ul a {
  color: var(--text2);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul a:hover {
  color: var(--accent);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-copy {
  font-size: 13px;
  color: var(--text2);
}
.footer-copy span {
  color: var(--accent);
}
.footer-top-link {
  font-size: 13px;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-top-link:hover {
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET  (max-width: 1024px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-float-cards {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-visual {
    height: 300px;
  }
  .about-float-badge {
    right: 0;
  }
  .about-float-badge-2 {
    left: 0;
  }
  .community-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-right {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }

  .nav-links {
    gap: 20px;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (max-width: 768px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }
  .container {
    padding: 0 18px;
  }

  /* Navbar */
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 260px;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    padding: 80px 28px 32px;
    gap: 8px;
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
  }
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(34px, 9vw, 54px);
    letter-spacing: -1px;
  }
  .hero-stats {
    gap: 20px;
  }
  .stat-num {
    font-size: 28px;
  }

  /* Grids → single column */
  .featured-strip {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .edu-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }

  /* Blog featured */
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured-img {
    min-height: 180px;
  }
  .blog-featured-body {
    padding: 24px;
  }

  /* About */
  .about-info-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Timeline */
  .exp-bg-year {
    font-size: 80px;
  }
  .timeline {
    padding-left: 24px;
  }
  .tl-item {
    padding-left: 28px;
  }
  .tl-dot {
    left: -24px;
  }

  /* CTA */
  .cta-contact-row {
    flex-direction: column;
    gap: 6px;
  }

  /* Section head row */
  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (max-width: 480px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(30px, 10vw, 44px);
  }
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    gap: 16px;
  }

  .about-actions {
    flex-direction: column;
  }
  .about-actions .btn {
    justify-content: center;
  }

  .pshowcase-links {
    flex-direction: column;
  }
  .pshowcase-links .btn {
    text-align: center;
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .cta-btn-lg {
    width: 100%;
    justify-content: center;
  }

  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .skill-item {
    padding: 14px 8px;
  }
  .skill-icon {
    font-size: 22px;
  }
  .skill-name {
    font-size: 10px;
  }

  .tl-company {
    flex-direction: column;
  }
  .tl-logo {
    width: 32px;
    height: 32px;
  }
}


/* ============================================
   CRITICAL FIX: MAKE PROJECT LINKS CLICKABLE
   ============================================ */

/* Ensure pseudo-elements don't block clicks */
.proj-card::before,
.proj-card::after,
.pshowcase-card::before,
.pshowcase-card::after {
  pointer-events: none !important;
}

