/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --bg:          #07070d;
  --bg2:         #0e0e1a;
  --bg-card:     rgba(255,255,255,0.04);
  --bg-card-h:   rgba(255,255,255,0.07);
  --border:      rgba(255,255,255,0.08);
  --border-h:    rgba(255,255,255,0.18);

  --white:       #ffffff;
  --muted:       #a1a1aa;
  --faint:       #52525b;

  --indigo:      #6366f1;
  --violet:      #8b5cf6;
  --cyan:        #22d3ee;
  --emerald:     #10b981;
  --amber:       #f59e0b;

  --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #22d3ee 100%);
  --grad-text: linear-gradient(135deg, #818cf8, #c084fc, #67e8f9);

  --ff: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;

  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;
  --r-2xl: 48px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --slow: cubic-bezier(0.4, 0, 0, 1);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff);
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
strong { font-weight: 700; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  transition-timing-function: var(--ease);
  will-change: left, top;
}
.cursor-dot {
  width: 7px;
  height: 7px;
  background: #fff;
  transition: width .2s, height .2s, background .2s, opacity .2s;
}
.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(99,102,241,.7);
  transition: width .12s, height .12s, border-color .2s, background .2s;
}
.cursor-dot.hovered  { width: 10px; height: 10px; background: var(--indigo); }
.cursor-ring.hovered { width: 48px; height: 48px; border-color: var(--indigo); background: rgba(99,102,241,.06); }
.cursor-dot.clicked  { width: 5px; height: 5px; }
.cursor-ring.clicked { width: 28px; height: 28px; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 130px 0; position: relative; }

.section-head {
  text-align: center;
  margin-bottom: 80px;
}
.section-title {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  margin-top: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--indigo);
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradShift 5s ease infinite;
}

@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* tech tags */
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.2);
  color: #a5b4fc;
  transition: background .2s, border-color .2s;
}
.tag:hover { background: rgba(99,102,241,.2); border-color: rgba(99,102,241,.4); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal]:nth-child(2) { transition-delay: .1s; }
[data-reveal]:nth-child(3) { transition-delay: .2s; }
[data-reveal]:nth-child(4) { transition-delay: .3s; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 100px;
  font-family: var(--ff);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--spring), box-shadow .3s var(--ease);
  user-select: none;
}
.btn span { position: relative; z-index: 1; }
.btn i    { position: relative; z-index: 1; font-size: 14px; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 28px rgba(99,102,241,.45);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 40px rgba(99,102,241,.65); }

.btn-ghost {
  background: rgba(255,255,255,.07);
  color: #fff;
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--border-h); transform: translateY(-3px); }

.btn-sm { padding: 9px 20px; font-size: 14px; }

.btn-glow {
  background: var(--grad);
  color: #fff;
  animation: btnGlow 2.5s ease-in-out infinite;
}
@keyframes btnGlow {
  0%,100% { box-shadow: 0 0 30px rgba(99,102,241,.5), 0 0 60px rgba(99,102,241,.2); }
  50%      { box-shadow: 0 0 50px rgba(99,102,241,.8), 0 0 90px rgba(139,92,246,.4); }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  padding: 22px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(7,7,13,.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-logo {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.02em;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: transform .3s var(--spring), box-shadow .3s;
}
.nav-logo:hover { transform: scale(1.08); box-shadow: 0 0 24px rgba(99,102,241,.6); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 100px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-cta { flex-shrink: 0; }
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: transform .3s, opacity .3s, width .3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(360px, 100vw);
  height: 100vh;
  background: rgba(14,14,26,.97);
  backdrop-filter: blur(24px);
  z-index: 850;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right .4s var(--slow);
  border-left: 1px solid var(--border);
}
.mobile-drawer.open { right: 0; }
.drawer-inner ul { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.drawer-link { font-size: 26px; font-weight: 700; letter-spacing: -.02em; padding: 10px 28px; display: block; color: var(--muted); transition: color .2s; }
.drawer-link:hover { color: #fff; }
.drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 840; }
.drawer-overlay.show { display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

/* Canvas liquid layer */
.liquid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .9;
  filter: blur(1px);
  pointer-events: none;
}

/* CSS orb blobs for extra liquid depth */
.orb-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  filter: blur(90px) saturate(150%);
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: orbReveal .8s forwards;
}
@keyframes orbReveal { to { opacity: 1; } }

.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(99,102,241,.35) 0%, transparent 70%);
  top: -15%; left: -10%;
  animation: orbReveal .8s forwards, orbFloat1 22s ease-in-out infinite 1s;
}
.orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(139,92,246,.3) 0%, transparent 70%);
  top: 30%; right: -8%;
  animation: orbReveal .8s forwards, orbFloat2 18s ease-in-out infinite 1s;
}
.orb-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(34,211,238,.25) 0%, transparent 70%);
  bottom: -10%; left: 30%;
  animation: orbReveal .8s forwards, orbFloat3 25s ease-in-out infinite 1s;
}
.orb-4 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(168,85,247,.28) 0%, transparent 70%);
  top: 10%; right: 30%;
  animation: orbReveal .8s forwards, orbFloat4 20s ease-in-out infinite 1s;
}
.orb-5 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(16,185,129,.2) 0%, transparent 70%);
  bottom: 20%; left: 5%;
  animation: orbReveal .8s forwards, orbFloat5 28s ease-in-out infinite 1s;
}

@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  25%      { transform: translate(80px,-60px) scale(1.08); }
  50%      { transform: translate(40px,80px) scale(.95); }
  75%      { transform: translate(-60px,30px) scale(1.05); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(-70px,60px) scale(1.12); }
  66%      { transform: translate(50px,-50px) scale(.92); }
}
@keyframes orbFloat3 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%      { transform: translate(60px,-80px) scale(1.1); }
  70%      { transform: translate(-40px,60px) scale(.96); }
}
@keyframes orbFloat4 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-80px,70px) scale(1.15); }
}
@keyframes orbFloat5 {
  0%,100% { transform: translate(0,0) scale(1); }
  45%      { transform: translate(90px,-40px) scale(1.08); }
  80%      { transform: translate(-30px,80px) scale(.94); }
}

/* Grain overlay */
.grain-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  opacity: .6;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 100px 28px 60px;
  max-width: 900px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  margin-bottom: 40px;
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp .8s .3s var(--ease) forwards;
}
.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16,185,129,.7);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,.7); }
  70%  { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* Title */
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(60px, 11vw, 128px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: .95;
  margin-bottom: 28px;
  overflow: hidden;
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(80%);
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradShift 5s ease infinite, lineDrop .8s var(--slow) forwards;
}
.line-1 { animation-delay: 0s, .5s; }
.line-2 { animation-delay: 0s, .65s; }

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

/* Role */
.hero-role {
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .04em;
  margin-bottom: 20px;
  opacity: 0;
  animation: heroFadeUp .8s .9s var(--ease) forwards;
}

.hero-desc {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--faint);
  line-height: 1.75;
  margin-bottom: 48px;
  opacity: 0;
  animation: heroFadeUp .8s 1.05s var(--ease) forwards;
}

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

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 52px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp .8s 1.2s var(--ease) forwards;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-suf {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { display: block; font-size: 13px; color: var(--faint); margin-top: 6px; font-weight: 500; letter-spacing: .02em; }
.stat-div   { width: 1px; height: 56px; background: var(--border); }

/* Actions */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp .8s 1.35s var(--ease) forwards;
}

/* Scroll Cue */
.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: 0;
  animation: heroFadeUp .8s 1.6s var(--ease) forwards;
  z-index: 10;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--border), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: scaleY(1) translateY(0); }
  50%      { transform: scaleY(.7) translateY(8px); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg2); }
.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 22px;
}
.about-text p strong { color: var(--white); }
.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 16px;
  transition: border-color .2s, color .2s;
}
.chip:hover { border-color: var(--border-h); color: var(--white); }
.chip i { color: var(--indigo); font-size: 12px; }

/* Orbit card */
.orbit-card {
  position: relative;
  aspect-ratio: 1;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(99,102,241,.15), transparent 70%);
  border-radius: 50%;
  animation: glowPulseOrbit 3s ease-in-out infinite;
}
@keyframes glowPulseOrbit {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.1); opacity: .7; }
}
.orbit-system { position: relative; width: 100%; height: 100%; }
.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: var(--grad);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 0 40px rgba(99,102,241,.5);
}
.orbit {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.orbit-a {
  width: 260px; height: 260px;
  margin-top: -130px; margin-left: -130px;
  animation: orbitSpin 16s linear infinite;
}
.orbit-b {
  width: 360px; height: 360px;
  margin-top: -180px; margin-left: -180px;
  animation: orbitSpin 24s linear infinite reverse;
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }

.planet {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--muted);
  cursor: default;
  transition: border-color .2s, color .2s, background .2s;
  top: 50%; left: 50%;
  /* counter-rotate so icons stay upright */
}
.planet:hover { border-color: var(--indigo); color: var(--white); background: rgba(99,102,241,.15); }
.orbit-a .planet { animation: counter16 16s linear infinite; }
.orbit-b .planet { animation: counter24 24s linear infinite reverse; }

@keyframes counter16  { to { transform: translate(-50%,-50%) rotate(-360deg); } }
@keyframes counter24  { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* Planet positions on orbit-a (4 planets evenly spaced) */
.p1 { margin-top: -130px; } /* 12 o'clock */
.p2 { margin-left: 108px; margin-top: -22px; } /* 3 o'clock */
.p3 { margin-top: 86px; margin-left: -22px; } /* 6 o'clock */
.p4 { margin-left: -130px; margin-top: -22px; } /* 9 o'clock */

/* Planet positions on orbit-b (3 planets) */
.p5 { margin-top: -180px; }
.p6 { margin-left: 136px; margin-top: -30px; }
.p7 { margin-top: 136px; margin-left: -30px; }

/* ============================================================
   EXPERIENCE / TIMELINE
   ============================================================ */
.experience { background: var(--bg); }
.experience::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--border); }

.timeline { position: relative; max-width: 800px; margin: 0 auto; }

.tl-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 28px;
  margin-bottom: 48px;
}
.tl-item:last-child { margin-bottom: 0; }

.tl-marker { display: flex; flex-direction: column; align-items: center; padding-top: 6px; }

.marker-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--indigo);
  box-shadow: 0 0 0 4px rgba(99,102,241,.2);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.current-ring {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(99,102,241,.5);
  top: -5px; left: -5px;
  animation: ringPulse 2s ease-in-out infinite;
}
@keyframes ringPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.3); opacity: 0; }
}
.tl-marker { position: relative; }

.marker-line {
  width: 1px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, rgba(99,102,241,.4), transparent);
  margin-top: 8px;
}

.tl-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  transition: border-color .3s, background .3s, transform .3s var(--spring);
  position: relative;
  overflow: hidden;
}
.tl-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad);
  opacity: 0;
  transition: opacity .4s;
}
.tl-card:hover { border-color: rgba(99,102,241,.35); background: var(--bg-card-h); transform: translateY(-2px); }
.tl-card:hover::before { opacity: .03; }

.tl-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}
.company-row { display: flex; align-items: center; gap: 16px; }
.company-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  flex-shrink: 0;
}
.deloitte-badge { background: linear-gradient(135deg, #86efac, #22c55e); color: #052e16; }
.amazon-badge   { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #451a03; font-family: serif; }

.job-title   { font-size: 17px; font-weight: 700; margin-bottom: 3px; }
.company-name{ font-size: 14px; color: var(--muted); font-weight: 500; }

.tl-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.meta-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.current-tag  { background: rgba(16,185,129,.15); color: #34d399; border: 1px solid rgba(16,185,129,.3); }
.contract-tag { background: rgba(245,158,11,.12); color: #fbbf24; border: 1px solid rgba(245,158,11,.25); }
.fulltime-tag { background: rgba(99,102,241,.12); color: #a5b4fc; border: 1px solid rgba(99,102,241,.25); }

.meta-date, .meta-loc {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.meta-date i, .meta-loc i { font-size: 11px; color: var(--faint); }

.tl-summary {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}
.tl-bullets {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tl-bullets li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}
.tl-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--indigo);
  opacity: .7;
}
.tl-bullets li strong { color: var(--white); }

.tech-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============================================================
   SKILLS
   ============================================================ */
.skills { background: var(--bg2); }
.skills::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--border); }

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 60px;
}
.skill-cat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  transition: border-color .3s;
}
.skill-cat:hover { border-color: var(--border-h); }

.cat-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.cat-title i { color: var(--indigo); }

.bar-list { display: flex; flex-direction: column; gap: 16px; }
.bar-item {}
.bar-label { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 13px; font-weight: 600; color: var(--muted); }
.bar-track {
  height: 6px;
  background: rgba(255,255,255,.07);
  border-radius: 100px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 100px;
  background: var(--grad);
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4, 0, 0, 1);
  box-shadow: 0 0 8px rgba(99,102,241,.5);
}

/* Tag cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.cloud-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all .3s var(--spring);
  cursor: default;
}
.cloud-tag.lg { font-size: 15px; font-weight: 700; color: var(--white); background: rgba(99,102,241,.1); border-color: rgba(99,102,241,.3); }
.cloud-tag:hover { background: rgba(99,102,241,.15); border-color: rgba(99,102,241,.5); color: #fff; transform: translateY(-3px) scale(1.04); box-shadow: 0 8px 24px rgba(99,102,241,.25); }

/* ============================================================
   EDUCATION
   ============================================================ */
.education { background: var(--bg); }
.education::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--border); }

.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 820px;
  margin: 0 auto;
}
.edu-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  overflow: hidden;
  transition: border-color .3s, transform .3s var(--spring);
}
.edu-card:hover { border-color: rgba(99,102,241,.45); transform: translateY(-4px); }
.edu-glow {
  position: absolute;
  top: -40%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(99,102,241,.18), transparent 70%);
  pointer-events: none;
  transition: opacity .4s;
}
.edu-card:hover .edu-glow { opacity: 1.5; }

.edu-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(99,102,241,.15);
  border: 1px solid rgba(99,102,241,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--indigo);
  margin-bottom: 24px;
}
.edu-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--indigo);
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.2);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.edu-body h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.edu-school { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 16px; }
.edu-meta { display: flex; flex-direction: column; gap: 6px; }
.edu-meta span { font-size: 13px; color: var(--faint); display: flex; align-items: center; gap: 7px; }
.edu-meta i { color: var(--indigo); opacity: .7; font-size: 11px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg2); }
.contact::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--border); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-cards { display: flex; flex-direction: column; gap: 14px; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color .3s, background .3s, transform .3s var(--spring);
  cursor: pointer;
}
.contact-card:not(.static-card):hover { border-color: rgba(99,102,241,.4); background: var(--bg-card-h); transform: translateX(6px); }

.cc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--indigo);
  flex-shrink: 0;
}
.li-icon  { background: rgba(10,102,194,.12); border-color: rgba(10,102,194,.25); color: #60a5fa; }
.loc-icon { background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.2); color: #fbbf24; }

.cc-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cc-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.cc-value { font-size: 14.5px; font-weight: 600; color: var(--white); }
.cc-arrow { color: var(--faint); font-size: 13px; transition: transform .3s, color .3s; }
.contact-card:hover .cc-arrow { transform: translate(3px,-3px); color: var(--indigo); }

/* CTA box */
.cta-box {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 48px 40px;
  overflow: hidden;
  text-align: center;
}
.cta-glow {
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(99,102,241,.2), transparent 70%);
  pointer-events: none;
}
.cta-box h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 14px;
  position: relative;
}
.cta-box p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 32px;
  position: relative;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
}
.footer-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
.footer-name { font-size: 14px; color: var(--muted); font-weight: 500; }
.footer-socials { display: flex; gap: 12px; margin-left: auto; }
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
  transition: all .2s;
}
.footer-socials a:hover { border-color: var(--indigo); color: var(--indigo); background: rgba(99,102,241,.1); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; }
.footer-bottom p { font-size: 13px; color: var(--faint); text-align: center; }

/* ============================================================
   MAGNETIC EFFECT — handled in JS
   ============================================================ */
.magnetic { transform-style: preserve-3d; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { order: -1; }
  .orbit-card { max-width: 320px; }
  .skills-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 90px 0; }
  .section-head { margin-bottom: 56px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero-title { font-size: clamp(52px, 14vw, 80px); }
  .hero-stats { gap: 20px; }
  .stat-div { height: 40px; }
  .tl-item { grid-template-columns: 24px 1fr; gap: 0 16px; }
  .tl-card { padding: 22px; }
  .tl-header { flex-direction: column; }
  .orbit-a { width: 200px; height: 200px; margin-top: -100px; margin-left: -100px; }
  .orbit-b { width: 290px; height: 290px; margin-top: -145px; margin-left: -145px; }
  .p1 { margin-top: -100px; }
  .p2 { margin-left: 78px; margin-top: -22px; }
  .p3 { margin-top: 56px; margin-left: -22px; }
  .p4 { margin-left: -100px; margin-top: -22px; }
  .p5 { margin-top: -145px; }
  .p6 { margin-left: 102px; margin-top: -22px; }
  .p7 { margin-top: 102px; margin-left: -22px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .footer-socials { margin-left: 0; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-div { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(99,102,241,.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(99,102,241,.7); }

/* ============================================================
   SELECTION
   ============================================================ */
::selection { background: rgba(99,102,241,.3); color: #fff; }
