/* ═══════════════════════════════════════════════════════════
   BANAWI MUSLIM WIBOWO — Portfolio CSS
   Aesthetic: Dark Terminal + Electric Cyan accent
   Fonts: Russo One (display) + JetBrains Mono (code) + Outfit (body)
═══════════════════════════════════════════════════════════ */

/* ─── CSS Variables (Theming) ────────────────────────────── */
:root {
  /* Dark theme (default) */
  --bg-primary: #0a0a0f;
  --bg-secondary: #0f0f1a;
  --bg-card: #13131e;
  --bg-card-hover: #1a1a28;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(0, 255, 200, 0.3);

  --text-primary: #f0f0f5;
  --text-secondary: #9090a8;
  --text-muted: #5a5a72;

  /* Accent — electric cyan */
  --accent: #00ffc8;
  --accent-dim: rgba(0, 255, 200, 0.12);
  --accent-glow: rgba(0, 255, 200, 0.25);
  --accent-2: #7b5ea7; /* purple secondary */

  --navbar-bg: rgba(10, 10, 15, 0.85);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-accent: 0 0 40px rgba(0, 255, 200, 0.15);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light theme overrides */
[data-theme="light"] {
  --bg-primary: #f5f5f7;
  --bg-secondary: #ebebef;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f0f8;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 160, 120, 0.4);

  --text-primary: #0a0a0f;
  --text-secondary: #4a4a62;
  --text-muted: #8a8aa2;

  --accent: #008f6f;
  --accent-dim: rgba(0, 143, 111, 0.1);
  --accent-glow: rgba(0, 143, 111, 0.2);
  --accent-2: #5a3e8a;

  --navbar-bg: rgba(245, 245, 247, 0.9);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-accent: 0 0 40px rgba(0, 143, 111, 0.1);
}

/* ─── Reset & Base ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  cursor: none;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  transition:
    background-color var(--transition),
    color var(--transition);
}

/* Restore cursor on mobile */
@media (max-width: 768px) {
  html {
    cursor: auto;
  }
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ─── Typography ─────────────────────────────────────────── */
h1,
h2,
h3 {
  font-family: "Russo One", sans-serif;
  line-height: 1.1;
  font-weight: 400; /* Russo One hanya punya satu weight */
  letter-spacing: 0.01em;
}

.accent {
  color: var(--accent);
}

code,
.code-snippet,
.code-keyword,
.code-string,
.code-bool,
.code-comment {
  font-family: "JetBrains Mono", monospace;
}

/* ─── Custom Cursor ────────────────────────────────────────___ */
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    transform 0.1s ease,
    opacity 0.2s;
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    transform 0.15s ease,
    width 0.3s,
    height 0.3s,
    opacity 0.2s;
  opacity: 0.6;
}

.cursor-ring.hovered {
  width: 50px;
  height: 50px;
  opacity: 0.4;
  background: var(--accent-dim);
}

/* ─── Layout Helpers ─────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
}

/* ─── Section Header ─────────────────────────────────────── */
.section-header {
  margin-bottom: 60px;
}

.section-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text-primary);
  line-height: 1.08;
}

/* ─── Scroll Reveal Animations ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.35s;
}
.reveal-delay-4 {
  transition-delay: 0.5s;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: "Russo One", sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.05);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0f;
  box-shadow: 0 0 24px var(--accent-glow);
}

.btn-primary:hover {
  box-shadow:
    0 0 40px var(--accent-glow),
    0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-arrow {
  transition: transform var(--transition);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navbar-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition:
    background var(--transition),
    border-color var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 2px;
}

.logo-bracket {
  color: var(--accent);
  font-size: 1.3rem;
}

.logo-name {
  color: var(--text-primary);
  margin: 0 2px;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme toggle */
.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-primary);
  transition: all var(--transition);
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.theme-icon {
  line-height: 1;
}

[data-theme="dark"] .light-icon {
  display: none;
}
[data-theme="light"] .dark-icon {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

/* Animated grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 20%,
    transparent 100%
  );
  opacity: 0.4;
  pointer-events: none;
}

/* Glowing orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  opacity: 0.5;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(123, 94, 167, 0.2) 0%,
    transparent 70%
  );
  bottom: 0;
  left: -50px;
  opacity: 0.4;
  animation-delay: -4s;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* Status badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #00e676;
  border-radius: 50%;
  box-shadow: 0 0 8px #00e676;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

/* Hero name */
.hero-name {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 400; /* Russo One hanya satu weight */
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.name-accent {
  color: var(--accent);
  position: relative;
}

/* Tagline with typing cursor */
.hero-tagline {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tagline-prefix {
  color: var(--accent);
  opacity: 0.7;
}

.cursor-blink {
  color: var(--accent);
  animation: blink 1s step-end infinite;
  font-weight: 300;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Hero desc */
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* Hero CTAs */
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Tech stack pills */
.hero-stack {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-right: 4px;
}

.stack-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-card);
  transition: all var(--transition);
}

.stack-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) translateY(8px);
    opacity: 0.5;
  }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════ */
.about {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

/* Avatar */
.about-visual {
  position: sticky;
  top: 100px;
}

.avatar-frame {
  position: relative;
}

.avatar-placeholder {
  width: 100%;
  aspect-ratio: 1;
  max-width: 320px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--bg-card), var(--accent-dim));
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Russo One", sans-serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--accent);
  position: relative;
  overflow: hidden;
}

.avatar-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
}

.avatar-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 30%,
    var(--accent-dim),
    transparent 70%
  );
  pointer-events: none;
}

.avatar-initials {
  position: relative;
  z-index: 1;
}

.avatar-ring {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Code snippet decoration */
.code-snippet {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--text-secondary);
  box-shadow: var(--shadow-card);
  white-space: nowrap;
}

.code-keyword {
  color: #7b5ea7;
}
.code-string {
  color: var(--accent);
}
.code-bool {
  color: #ff7b54;
}

/* About text */
.about-lead {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.about-body {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-body strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* Stats */
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: "Russo One", sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.stat-unit {
  font-family: "Russo One", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  display: inline;
}

.stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════════════════════
   EXPERIENCE / EDUCATION TIMELINE
═══════════════════════════════════════════════════════════ */
.experience {
  background: var(--bg-primary);
}

.experience-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Vertical line */
.experience-timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    var(--accent),
    var(--accent-2),
    transparent
  );
  opacity: 0.3;
}

.exp-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  margin-bottom: 32px;
  position: relative;
}

.exp-item:last-child {
  margin-bottom: 0;
}

/* Timeline dot */
.exp-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-primary);
  box-shadow: 0 0 12px var(--accent-glow);
  margin-top: 18px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.exp-dot-edu {
  background: var(--accent-2);
  box-shadow: 0 0 12px rgba(123, 94, 167, 0.4);
}

.exp-item:hover .exp-dot {
  transform: scale(1.3);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* Experience card */
.exp-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: all var(--transition);
}

.exp-card:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.exp-card-edu {
  border-color: rgba(123, 94, 167, 0.2);
}

.exp-card-edu:hover {
  border-color: rgba(123, 94, 167, 0.5);
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.exp-title {
  font-family: "Russo One", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.exp-org {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.exp-card-edu .exp-org {
  color: var(--accent-2);
}

.exp-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.exp-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(0, 255, 200, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.exp-badge-edu {
  background: rgba(123, 94, 167, 0.1);
  color: var(--accent-2);
  border-color: rgba(123, 94, 167, 0.2);
}

.exp-badge-active {
  background: rgba(0, 230, 118, 0.1);
  color: #00e676;
  border-color: rgba(0, 230, 118, 0.25);
  animation: pulseBadge 2.5s ease-in-out infinite;
}

@keyframes pulseBadge {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0);
  }
  50% {
    box-shadow: 0 0 8px 2px rgba(0, 230, 118, 0.2);
  }
}

.exp-duration {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.exp-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ═══════════════════════════════════════════════════════════
   SKILLS
═══════════════════════════════════════════════════════════ */
.skills {
  background: var(--bg-secondary);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Skill card */
.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  cursor: default;
}

.skill-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent), var(--shadow-card);
  background: var(--bg-card-hover);
}

.skill-card-inner {
  padding: 28px;
}

.skill-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.skill-name {
  font-family: "Russo One", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.skill-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Skill progress bar */
.skill-bar {
  height: 4px;
  background: var(--bg-primary);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 8px;
}

.skill-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: var(--radius-pill);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px var(--accent-glow);
}

.skill-level {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════ */
.contact {
  background: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.contact-link-item:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
  transform: translateX(4px);
}

/* SVG icon wrapper — warna ikut accent */
.contact-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  width: 24px;
  flex-shrink: 0;
  transition: color var(--transition);
}

.contact-link-item:hover .contact-link-icon {
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-sep {
  margin: 0 8px;
  opacity: 0.4;
}

.footer-tagline {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
}

.code-comment {
  color: var(--text-muted);
}

/* Tags (shared style) */
.tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(0, 255, 200, 0.2);
  letter-spacing: 0.03em;
}

[data-theme="light"] .tag {
  background: rgba(0, 143, 111, 0.08);
  color: var(--accent);
  border-color: rgba(0, 143, 111, 0.2);
}

/* ═══════════════════════════════════════════════════════════
   MOBILE MENU
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 16px 0 24px;
    transform: translateY(-120%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links li {
    padding: 0 2rem;
  }

  .nav-link {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child .nav-link {
    border-bottom: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    position: static;
  }

  .avatar-placeholder {
    max-width: 240px;
  }

  .code-snippet {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-stats {
    gap: 24px;
  }

  .hero-name {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .experience-timeline::before {
    left: 12px;
  }

  .exp-item {
    grid-template-columns: 30px 1fr;
    gap: 12px;
  }

  .exp-card {
    padding: 18px 18px;
  }

  .exp-header {
    flex-direction: column;
    gap: 10px;
  }

  .exp-meta {
    align-items: flex-start;
    flex-direction: row;
    gap: 8px;
  }
}
