:root {
  --bg-card:  #111827;
  --magenta:  #e040fb;
  --amber:    #ffab00;
  --border:   rgba(0, 229, 255, 0.12);
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── UTILITIES ────────────────────────────────── */
.mono         { font-family: 'Share Tech Mono', monospace; }
.label        { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.glow-cyan    { text-shadow: 0 0 8px rgba(0,229,255,0.8), 0 0 24px rgba(0,229,255,0.4); }
.glow-magenta { text-shadow: 0 0 8px rgba(224,64,251,0.8), 0 0 24px rgba(224,64,251,0.4); }
.border-glow  { box-shadow: 0 0 0 1px var(--border), 0 0 16px rgba(0,229,255,0.06); }

.scanlines { position: relative; }
.scanlines::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0, 229, 255, 0.012) 2px,
    rgba(0, 229, 255, 0.012) 4px
  );
  pointer-events: none;
}

/* ── HERO ─────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(0,229,255,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 60%, rgba(224,64,251,0.03) 0%, transparent 60%);
}

.hero-content { position: relative; z-index: 1; max-width: 700px; }

.hero-eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1rem;
}
h1 span { color: var(--cyan); }

.hero-summary {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 540px;
  margin: 0 auto 1.5rem;
  line-height: 1.75;
}

.trust-bar {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--cyan);
  opacity: 0.85;
  margin-bottom: 1.25rem;
  text-shadow: 0 0 6px rgba(0,229,255,0.4);
}

.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  text-transform: uppercase;
}

.avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px rgba(57,255,20,0.7);
  flex-shrink: 0;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px rgba(57,255,20,0.7); }
  50%       { box-shadow: 0 0 12px rgba(57,255,20,0.9), 0 0 20px rgba(57,255,20,0.4); }
}

.hero-socials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, background 0.2s;
  position: relative;
}
.social-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,229,255,0.0);
  transition: background 0.2s;
}
.social-icon:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 14px rgba(0,229,255,0.25), inset 0 0 10px rgba(0,229,255,0.05);
}
.social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  position: relative;
  z-index: 1;
}

.hero-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 0.6rem 1.6rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: rgba(0,229,255,0.08);
  box-shadow: 0 0 16px rgba(0,229,255,0.2);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.6rem 1.6rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover {
  border-color: rgba(0,229,255,0.4);
  color: var(--text-primary);
}

/* ── SECTIONS ─────────────────────────────────── */
section {
  padding: 2.5rem 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.section-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.section-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

/* ── ABOUT ────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 640px) { .about-grid { grid-template-columns: 1fr; } }

.about-text {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.8;
  grid-column: 1 / -1;
}

.about-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.2rem 1.4rem;
  border-radius: 2px;
}
.about-stat .value {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.6rem;
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(0,229,255,0.5);
}
.about-stat .stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── SKILLS ───────────────────────────────────── */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-chip {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-primary);
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: default;
}
.skill-chip:hover {
  border-color: rgba(0,229,255,0.5);
  color: var(--cyan);
  box-shadow: 0 0 8px rgba(0,229,255,0.12);
}
.skill-chip.highlight {
  border-color: rgba(0,229,255,0.35);
  color: var(--cyan);
}

/* ── PROJECTS ─────────────────────────────────── */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.carousel-track {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0.5rem 0.25rem 1rem;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .project-card {
  min-width: 280px;
  max-width: 280px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.carousel-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--cyan);
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s;
}
.carousel-btn:hover {
  background: rgba(0,229,255,0.08);
  box-shadow: 0 0 12px rgba(0,229,255,0.2);
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 2px;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}
.project-card:hover {
  border-color: rgba(0,229,255,0.3);
  box-shadow: 0 0 24px rgba(0,229,255,0.06);
}
.project-card:hover::before { opacity: 1; }

.project-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.project-avatar {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid var(--border);
  object-fit: cover;
  flex-shrink: 0;
}

.project-name {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1rem;
  color: var(--cyan);
  margin-bottom: 0.4rem;
}

.project-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.project-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-size: 0.65rem;
  font-family: 'Share Tech Mono', monospace;
  color: var(--magenta);
  border: 1px solid rgba(224,64,251,0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}

.project-link::after {
  content: '';
  position: absolute;
  inset: 0;
}

.live-badge {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--green);
  text-decoration: none;
  border: 1px solid rgba(57,255,20,0.3);
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  margin-left: auto;
  white-space: nowrap;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 1;
}
.live-badge:hover {
  border-color: var(--green);
  box-shadow: 0 0 8px rgba(57,255,20,0.3);
}

.project-updated {
  font-size: 0.68rem;
  font-family: 'Share Tech Mono', monospace;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

/* ── ACTIVITY GRAPH ─────────────────────────── */
.activity-graph-wrap { margin-bottom: 2rem; }

.activity-scroll {
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.activity-scroll::-webkit-scrollbar { display: none; }

.activity-months { margin-bottom: 4px; white-space: nowrap; }

.activity-grid {
  display: flex;
  gap: 3px;
}

.activity-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
}

.activity-cell {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
}
.activity-cell[data-level="1"] { background: rgba(0,229,255,0.18); border-color: rgba(0,229,255,0.15); }
.activity-cell[data-level="2"] { background: rgba(0,229,255,0.38); border-color: rgba(0,229,255,0.3); }
.activity-cell[data-level="3"] { background: rgba(0,229,255,0.62); border-color: rgba(0,229,255,0.5); }
.activity-cell[data-level="4"] { background: rgba(0,229,255,0.9);  border-color: rgba(0,229,255,0.8); }

.activity-legend {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  justify-content: flex-end;
}

/* ── EXPERIENCE ───────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 1.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -1.5rem;
  top: 0.45rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px rgba(0,229,255,0.6);
  transform: translateX(-3px);
}

.job-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}
.job-company {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.job-role {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.job-meta {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.job-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.job-bullets li {
  font-size: 0.9rem;
  color: #94a3b8;
  padding-left: 1rem;
  position: relative;
}
.job-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--border);
}

/* ── FOOTER ───────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cyan); }

.footer-copy {
  font-size: 0.7rem;
  color: #334155;
  font-family: 'Share Tech Mono', monospace;
}
