@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Orbitron:wght@500;700&display=swap');

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

:root {
  --bg-dark: #0a0a12;
  --bg-card: rgba(15, 15, 28, 0.45);
  --border-glass: rgba(255, 255, 255, 0.06);
  --neon-cyan: #00f2fe;
  --neon-purple: #9d4edd;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --font-sans: 'Inter', sans-serif;
  --font-cyber: 'Orbitron', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: -20%;
  width: 70vw; 
  height: 70vw;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(0, 242, 254, 0) 70%);
  filter: blur(120px); 
  z-index: -1;
  pointer-events: none; 
}

body::after {
  content: '';
  position: fixed;
  bottom: -20%;
  right: -20%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.15) 0%, rgba(157, 78, 221, 0) 70%);
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
}

#loader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid transparent;
  border-top-color: var(--neon-cyan);
  border-bottom-color: var(--neon-purple);
  border-radius: 50%;
  animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: var(--transition-smooth);
}
.glass-card:hover {
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 0 12px 40px 0 rgba(0, 242, 254, 0.1);
  transform: translateY(-5px);
}

/* ==========================================================================
   HUD TACTICAL NAVBAR - COMPLETE RESET
   ========================================================================== */
.tactical-navbar {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 75px;
  background: rgba(10, 10, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.nav-container {
  max-width: 1300px; height: 100%; margin: 0 auto; padding: 0 30px;
  display: flex; justify-content: space-between; align-items: center;
}

/* Kiri: Zone Brand & Burger */
.nav-left-zone {
  display: flex; align-items: center; min-width: 200px;
}

.nav-brand {
  font-family: var(--font-cyber); font-size: 1.1rem; font-weight: 700;
  color: var(--text-main); text-decoration: none; letter-spacing: 2px;
  display: block;
}
.brand-accent { color: #00f2fe; text-shadow: 0 0 10px rgba(0, 242, 254, 0.5); }

/* Tombol Burger (Mati secara default di Desktop) */
.menu-toggle {
  display: none; flex-direction: column; justify-content: space-between;
  width: 25px; height: 18px; background: transparent; border: none; cursor: pointer; padding: 0;
}
.menu-toggle .bar {
  width: 100%; height: 2px; background-color: #00f2fe; /* Warna Solid Cyan */
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.8); transition: 0.3s ease-in-out;
}

/* Tengah: Menu Link */
.nav-menu { display: flex; align-items: center; gap: 25px; }
.nav-link {
  font-family: var(--font-cyber); font-size: 0.8rem; font-weight: 500;
  color: var(--text-muted); text-decoration: none; letter-spacing: 1px;
  padding: 8px 12px; position: relative; transition: var(--transition-smooth);
}
.nav-link i { font-size: 0.75rem; margin-right: 6px; opacity: 0; transition: 0.3s; }
.nav-link:hover, .nav-link.active { color: #00f2fe; text-shadow: 0 0 8px rgba(0, 242, 254, 0.6); }
.nav-link.active i { opacity: 1; color: #00f2fe; }

/* Kanan: AI Button */
.ai-core-btn {
  font-family: var(--font-cyber); font-size: 0.8rem; font-weight: 700; color: var(--neon-purple);
  text-decoration: none; padding: 10px 18px; border: 1px solid var(--neon-purple);
  background: rgba(157, 78, 221, 0.05); border-radius: 4px; display: flex; align-items: center; gap: 10px;
  transition: var(--transition-smooth); box-shadow: 0 0 15px rgba(157, 78, 221, 0.1);
}
.ai-core-btn:hover { background: var(--neon-purple); color: var(--bg-dark); box-shadow: 0 0 25px rgba(157, 78, 221, 0.45); }
.nav-actions .pulse-dot { width: 6px; height: 6px; background-color: #00ff66; border-radius: 50%; box-shadow: 0 0 8px #00ff66; animation: pulseRegistry 1.5s infinite; }
@keyframes pulseRegistry { 0%, 100% { transform: scale(0.9); opacity: 1; } 50% { transform: scale(1.2); opacity: 0.5; } }

/* ==========================================================================
   BREAKPOINT RESPONSIF (MOBILE MODE)
   ========================================================================== */
@media (max-width: 992px) {
  .nav-left-zone {
    min-width: auto !important; 
    width: auto;
  }

  /* Hilangkan brand teks nama Fadil Syahputra */
  .nav-brand { 
    display: none !important; 
  }

  /* Paksa tombol burger mentok ke ujung paling kiri container */
  .menu-toggle { 
    display: flex !important;
    margin-right: auto;
  }
  
  /* Memastikan container navbar membagi ruang secara merata antara burger (kiri) dan AI Twin (kanan) */
  .nav-container { 
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Sistem Dropdown Menu Mobile */
  .nav-menu {
    position: fixed; top: 75px; left: 0; width: 100%; background: rgba(10, 10, 18, 0.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 242, 254, 0.2); flex-direction: column;
    align-items: flex-start; gap: 0; padding: 10px 0;
    /* Efek Animasi Slide */
    opacity: 0; transform: translateY(-15px); pointer-events: none; transition: all 0.3s ease-in-out;
  }
  
  /* Saat Aktif */
  .nav-menu.active { opacity: 1; transform: translateY(0); pointer-events: auto; }

  .nav-link { 
    width: 100%; 
    /* Berikan padding kiri yang konsisten untuk semua menu */
    padding: 15px 25px 15px 45px; 
    font-size: 0.85rem; 
    text-align: left; 
    border-left: 3px solid transparent;
    position: relative; /* Menjadi acuan posisi ikon */
    display: flex;
    align-items: center;
  }

  /* Atur posisi ikon terminal agar melayang (absolute) di ruang padding kiri */
  .nav-link i {
    position: absolute;
    left: 20px; /* Jarak konstan dari tepi kiri menu */
    font-size: 0.75rem;
    color: #00f2fe;
    opacity: 0; /* Sembunyikan jika tidak aktif */
    transition: opacity 0.2s ease-in-out;
  }

  /* Ketika link aktif atau di-hover, cukup munculkan ikon tanpa menggeser teks */
  .nav-link:hover, .nav-link.active { 
    background: rgba(0, 242, 254, 0.05); 
    border-left-color: #00f2fe; 
  }

  .nav-link.active i, .nav-link:hover i {
    opacity: 1; /* Ikon terminal menyala dengan mulus */
  }

  /* Animasi Transformasi Burger -> (X) */
  .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
  .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background-color: var(--neon-purple); box-shadow: 0 0 8px var(--neon-purple); }
}

section {
  padding: 100px 20px;
  max-width: 1200px; margin: 0 auto;
  scroll-margin-top: 85px;
}

.section-title {
  font-family: var(--font-cyber);
  font-size: clamp(1.5rem, 4.5vw, 2.2rem); 
  margin-bottom: 50px; 
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
  color: var(--text-main);
}

.section-title::before {
  content: '// ';
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  margin: 12px auto 0 auto;
  border-radius: 2px;
  box-shadow: 0 0 10px var(--neon-cyan);
}

#hero {
  height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
}
#hero h1 {
  font-family: var(--font-cyber); font-size: 4rem; line-height: 1.1;
  margin-bottom: 20px;
}
#hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin-bottom: 40px; }
.btn-cyber {
  padding: 14px 32px; font-family: var(--font-cyber);
  text-decoration: none; color: var(--bg-dark); font-weight: bold;
  background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple));
  border-radius: 8px; box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
  transition: var(--transition-smooth); display: inline-block;
}

.btn-cyber:hover {
  box-shadow: 0 0 35px rgba(157, 78, 221, 0.7);
  transform: scale(1.03);
}

.grid-container {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px;
}
.item-padding { padding: 30px; }

.input-field {
  width: 100%; padding: 15px; margin-bottom: 20px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-glass);
  border-radius: 8px; color: var(--text-main); font-family: inherit;
  transition: var(--transition-smooth);
}
.input-field:focus { outline: none; border-color: var(--neon-cyan); box-shadow: 0 0 10px rgba(0,242,254,0.2); }

footer {
  text-align: center; padding: 40px; color: var(--text-muted);
  border-top: 1px solid var(--border-glass); font-size: 0.9rem;
}

.menu-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

@media (max-width: 768px) {
  #hero h1 { font-size: 2.5rem; }
  
  .menu-toggle { 
    display: block; 
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto; 
  }

}

/* ==========================================================================
   CYBERPUNK EDUCATION SECTION (Tech Dossier Layout - FIXED)
   ========================================================================== */
.education-box {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
}

.tech-timeline {
  display: flex;
  flex-direction: column;
  gap: 35px;
  position: relative;
}

/* Garis konektor vertikal tipis ala sirkuit komputer (Hanya tampil di Desktop) */
.tech-timeline::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 45px; /* DIUBAH dari 35px ke 45px */
  width: 2px;
  background: linear-gradient(to bottom, var(--neon-cyan), var(--neon-purple), transparent);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
  z-index: 1;
}

.edu-node {
  display: flex;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.edu-status-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90px;
  flex-shrink: 0;
}

.edu-system-tag {
  font-family: var(--font-cyber);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 8px;
  background: var(--bg-dark); /* FIX: Memberikan tameng agar garis sirkuit terputus */
  padding: 2px 6px;
  border-radius: 4px;
  position: relative;
  z-index: 5;
}

.edu-status-badge {
  font-family: var(--font-cyber);
  font-size: 0.6rem;
  padding: 5px 2px; /* Menyesuaikan padding atas-bawah dan kanan-kiri */
  border-radius: 4px;
  font-weight: bold;
  letter-spacing: 0.5px; /* Sedikit dirapatkan agar pas di dalam box */
  text-align: center;
  width: 100%;
  border: 1px solid transparent;
  white-space: nowrap; /* Memastikan teks tidak turun ke bawah/patah kata */
  box-sizing: border-box;
}

.edu-status-badge.active-status {
  background: var(--bg-dark); /* FIX: Latar belakang solid pekat agar garis tidak tembus */
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan) !important;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.2);
  position: relative;
  z-index: 5;
}

.edu-status-badge.completed-status {
  background: var(--bg-dark); /* FIX: Latar belakang solid pekat agar garis tidak tembus */
  color: var(--neon-purple);
  border: 1px solid var(--neon-purple) !important;
  box-shadow: 0 0 12px rgba(157, 78, 221, 0.1);
  position: relative;
  z-index: 5;
}

/* Kartu Data Informasi */
.edu-card {
  flex-grow: 1;
  padding: 25px;
  border-left: 4px solid var(--neon-cyan) !important; /* Aksen neon vertikal kiri */
  position: relative;
}

.edu-node:nth-child(even) .edu-card {
  border-left-color: var(--neon-purple) !important; /* Selang-seling warna */
}

.edu-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 16px;
}

.edu-logo-wrapper {
  width: 54px; /* FIX: Dimensi disesuaikan agar proporsi gambar pas */
  height: 54px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 4px; /* Jarak aman gambar dari border bingkai */
}

/* FIX: Pengaturan baru untuk mengontrol tag <img> gambar institusi */
.edu-institution-logo {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Mengunci rasio logo agar tidak penyok/distorsi */
  display: block;
}

.edu-placeholder-logo {
  font-family: var(--font-cyber);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.edu-title-group {
  display: flex;
  flex-direction: column;
}

.edu-date {
  font-family: var(--font-cyber);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.edu-title-group h3 {
  font-family: var(--font-cyber);
  font-size: 1.15rem;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 2px;
}

.edu-title-group h4 {
  font-size: 0.9rem;
  color: var(--neon-cyan);
  font-weight: 500;
}

.edu-node:nth-child(even) .edu-title-group h4 {
  color: var(--neon-purple);
}

.edu-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Kotak Tag Kompetensi Akademik */
.edu-skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.edu-skills-tags span {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 4px;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.edu-card:hover .edu-skills-tags span {
  border-color: rgba(0, 242, 254, 0.3);
  color: var(--neon-cyan);
}

.edu-node:nth-child(even) .edu-card:hover .edu-skills-tags span {
  border-color: rgba(157, 78, 221, 0.3);
  color: var(--neon-purple);
}

/* ==========================================================================
   RESPONSIVE EDUCATION BREAKPOINTS (Anti-Sempit / Mobile-First Fluid)
   ========================================================================== */
@media (max-width: 768px) {
  .tech-timeline::before {
    display: none; /* Matikan garis vertikal panjang agar space HP lebih lega */
  }

  .edu-node {
    flex-direction: column; /* Panel status naik ke atas kartu saat di HP */
    gap: 10px;
  }

  .edu-status-panel {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 2px;
  }

  .edu-system-tag {
    margin-bottom: 0;
  }

  .edu-status-badge {
    width: auto;
    padding: 3px 12px;
  }

  .edu-header {
    gap: 15px;
  }

  .edu-title-group h3 {
    font-size: 1.05rem; /* Font otomatis mengecil pas di layar handphone */
  }
}

@media (max-width: 480px) {
  .edu-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .edu-logo-wrapper {
    display: none; /* Sembunyikan kotak logo di HP super kecil demi ruang teks */
  }
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  gap: 15px;
}

.exp-title {
  color: var(--neon-cyan);
  font-size: 1.1rem;
}

.exp-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .experience-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  
  .exp-date {
    white-space: normal;
  }
}

.quote-section {
  padding: 40px 20px 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.quote-container {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 50px;
}

.quote-avatar-wrapper {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.quote-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%); 
  transition: var(--transition-smooth);
}

.quote-container:hover .quote-avatar {
  filter: grayscale(0%); 
  transform: scale(1.03);
}

.quote-main-content {
  flex-grow: 1;
}

.quote-vision {
  font-family: var(--font-cyber);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-main);
  margin-bottom: 15px;
}

.quote-text {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 25px;
  font-weight: 300;
}

.quote-author {
  display: block;
  font-family: var(--font-cyber);
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .quote-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 35px 20px;
  }

  .quote-avatar-wrapper {
    width: 180px;
    height: 180px;
  }

  .quote-vision {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .quote-text {
    font-size: 1.05rem;
    margin-bottom: 20px;
  }
  
  .quote-author {
    font-size: 1rem;
  }
}

/* ==========================================================================
   CYBERPUNK SKILLS MATRIX SECTION (Tactical HUD Design)
   ========================================================================== */
.skills-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.skills-module {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  position: relative;
  overflow: hidden;
}

/* Header Modul / Subsystem */
.module-header {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 15px;
}

.module-icon {
  font-size: 1.3rem;
}
.core-cyan .module-icon { color: var(--neon-cyan); filter: drop-shadow(0 0 5px var(--neon-cyan)); }
.core-purple .module-icon { color: var(--neon-purple); filter: drop-shadow(0 0 5px var(--neon-purple)); }
.core-mix .module-icon { color: var(--text-main); }

.module-header h3 {
  font-family: var(--font-cyber);
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: var(--text-main);
}

.module-status {
  font-family: var(--font-cyber);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Mekanisme Cyber Data Bars (Hard & Software Skills) */
.module-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-bar-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}

.skill-level {
  font-family: var(--font-cyber);
  font-size: 0.7rem;
  letter-spacing: 0.5px;
}

.text-cyan { color: var(--neon-cyan); }
.text-purple { color: var(--neon-purple); }

/* Struktur Custom Progress Bar */
.data-bar-wrapper {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
}

.data-bar-progress {
  height: 100%;
  border-radius: 3px;
  transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Perbedaan Gradasi Warna Tiap Faksi */
.core-cyan .data-bar-progress {
  background: linear-gradient(90deg, rgba(0, 242, 254, 0.2), var(--neon-cyan));
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

.core-purple .data-bar-progress {
  background: linear-gradient(90deg, rgba(157, 78, 221, 0.2), var(--neon-purple));
  box-shadow: 0 0 10px rgba(157, 78, 221, 0.5);
}

/* Mekanisme Kluster Klip Taktis (Soft Skills) */
.soft-skills-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 5px;
}

.tactical-tags-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tactical-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.tactical-tag i {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

/* Efek Hover Interaktif Pada Seluruh Komponen */
.skills-module:hover {
  transform: translateY(-4px);
}
.skills-module.core-cyan:hover { border-color: rgba(0, 242, 254, 0.3); box-shadow: 0 12px 40px rgba(0, 242, 254, 0.08); }
.skills-module.core-purple:hover { border-color: rgba(157, 78, 221, 0.3); box-shadow: 0 12px 40px rgba(157, 78, 221, 0.08); }
.skills-module.core-mix:hover { border-color: rgba(255, 255, 255, 0.15); }

.core-mix .tactical-tag:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.15);
  transform: scale(1.02);
}

.core-mix .tactical-tag:hover i {
  color: var(--neon-cyan);
  text-shadow: 0 0 5px var(--neon-cyan);
}

/* ==========================================================================
   RESPONSIVE SKILLS BREAKPOINTS
   ========================================================================== */
@media (max-width: 768px) {
  .skills-grid-container {
    grid-template-columns: 1fr; /* Menjadi tumpukan 1 kolom rapi di HP */
    gap: 20px;
  }
  
  .skills-module {
    padding: 22px;
  }
}

/* ==========================================================================
   HERO SECTION (Formasi Terkunci & Tanpa Duplikasi)
   ========================================================================== */

/* 1. Base Desktop Layout */
#hero {
  height: 100vh;
  display: flex;
  flex-direction: row; 
  align-items: center;
  justify-content: space-between;
  gap: 20px; 
  padding: 120px 40px 60px 40px; 
  max-width: 1300px; 
  margin: 0 auto;
  text-align: left;
  overflow: visible;
}

.hero-content {
  flex: 1.6; 
  max-width: 850px; 
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 5;
}

.hero-title {
  font-family: var(--font-cyber);
  font-size: clamp(2rem, 3.5vw, 3.2rem) !important; 
  line-height: 1.2 !important;
  margin-bottom: 20px;
  text-align: left;
  white-space: nowrap !important; 
}

/* Aturan Global Span Judul (Desktop & Mobile) */
.hero-title span {
  display: block !important; 
  width: 100%;
}

.hero-title .text-gradient, 
.gradient-text {
  background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block; 
}

/* Glow Effect Line 2 */
.hero-title span:nth-child(2) {
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.3));
  transition: filter 0.3s ease;
}
.hero-title span:nth-child(2):hover {
  filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.6)) drop-shadow(0 0 40px rgba(157, 78, 221, 0.4));
}

.hero-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 35px;
  text-align: left;
  max-width: 680px;
}

/* Cyberpunk Tech-Brackets Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 242, 254, 0.05);
  border-left: 3px solid var(--neon-cyan); 
  border-right: 3px solid var(--neon-purple); 
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 6px 18px;
  border-radius: 4px; 
  font-family: var(--font-cyber);
  font-size: 0.8rem;
  color: var(--neon-cyan);
  margin-bottom: 25px;
  letter-spacing: 2px;
}

.pulse-dot {
  width: 8px; height: 8px;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

/* 2. CTA Buttons */
.hero-cta {
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn-outline {
  padding: 12px 28px;
  font-family: var(--font-cyber);
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  transition: var(--transition-smooth);
}
.btn-outline:hover {
  border-color: var(--neon-purple);
  background: rgba(157, 78, 221, 0.1);
  box-shadow: 0 0 15px rgba(157, 78, 221, 0.3);
}

/* 3. AI Centerpiece Visual */
.hero-visual {
  flex: 0.7; 
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.ai-core-container {
  position: relative;
  width: clamp(240px, 25vw, 320px);
  height: clamp(240px, 25vw, 320px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.ai-core {
  width: 100px; height: 100px;
  background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%);
  border-radius: 50%;
  box-shadow: 0 0 50px var(--neon-cyan), inset 0 0 20px #fff;
  animation: coreBreathe 3s ease-in-out infinite alternate;
}

.ai-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}
.ring-outer {
  width: 280px; height: 280px;
  border-top-color: var(--neon-purple);
  animation: spinRight 15s linear infinite;
}
.ring-inner {
  width: 190px; height: 190px;
  border-bottom-color: var(--neon-cyan);
  border-style: solid; border-width: 2px;
  opacity: 0.5;
  animation: spinLeft 10s linear infinite;
}

.floating-data {
  position: absolute;
  font-family: var(--font-cyber);
  font-size: 0.7rem;
  color: var(--neon-cyan);
  opacity: 0.6;
}
.data-1 { top: 10%; right: 20%; animation: floatUp 4s infinite alternate; }
.data-2 { bottom: 20%; left: 10%; color: var(--neon-purple); animation: floatUp 3s infinite alternate-reverse; }

@keyframes coreBreathe { 0% { transform: scale(0.9); opacity: 0.8; } 100% { transform: scale(1.1); opacity: 1; } }
@keyframes spinRight { 100% { transform: rotate(360deg); } }
@keyframes spinLeft { 100% { transform: rotate(-360deg); } }
@keyframes floatUp { 0% { transform: translateY(0); } 100% { transform: translateY(-15px); } }

/* 4. Responsive Breakpoints (Tablet & Mobile) */
@media (max-width: 992px) {
  #hero {
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    text-align: center;
    height: auto;
    min-height: 100vh;
    padding: 140px 24px 40px 24px; 
    gap: 0; 
  }

  .hero-content {
    align-items: center;
    text-align: center;
    max-width: 100%;
    width: 100%;
  }

  .hero-title {
    font-size: clamp(1.4rem, 5.5vw, 2.2rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 16px;
    text-align: center !important;
    width: 100%;
  }

  .hero-desc {
    font-size: clamp(0.85rem, 3vw, 0.95rem);
    line-height: 1.5;
    margin-bottom: 28px;
    text-align: center;
    max-width: 480px; 
    color: rgba(255, 255, 255, 0.7);
  }

  .hero-cta {
    justify-content: center;
    gap: 12px;
    width: 100%;
  }

  .hero-visual {
    display: none !important; /* Menyembunyikan bulatan AI di mobile & tab */
  }
}

@media (max-width: 480px) {
  #hero {
    padding-top: 120px;
    padding-bottom: 30px;
  }
  
  #hero .hero-title {
    font-size: clamp(1.25rem, 6.8vw, 1.5rem) !important; 
    line-height: 1.2 !important;
    margin-bottom: 12px;
  }

  #hero .hero-title span {
    white-space: nowrap !important; 
    letter-spacing: 0px; 
  }

  #hero .hero-desc {
    font-size: 0.85rem !important; 
    line-height: 1.4 !important;
    color: rgba(255, 255, 255, 0.6) !important; 
    margin-bottom: 24px;
    padding: 0 10px; 
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
  }
  
  .hero-cta a {
    width: 100%;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.85rem; 
  }
}

/* ==========================================================================
   CYBERPUNK ABOUT ME SECTION (Responsive Fluid Layout)
   ========================================================================== */
#about {
  padding: 80px 20px;
}

.about-container {
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  padding: 40px;
  align-items: center;
}

/* Kolom Kiri - Terminal Kartu Identitas */
.about-profile {
  flex: 1;
  min-width: 280px;
}

.profile-terminal {
  background: rgba(5, 5, 10, 0.6);
  border: 1px solid rgba(0, 242, 254, 0.15);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 0 15px rgba(0, 242, 254, 0.05);
}

.terminal-header {
  background: rgba(15, 15, 25, 0.8);
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border-glass);
}

.terminal-header .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
  font-family: var(--font-cyber);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: auto;
  letter-spacing: 1px;
}

.terminal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-family: var(--font-cyber);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.info-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.text-cyan {
  color: var(--neon-cyan) !important;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.3);
}

/* Kolom Kanan - Teks Biografi */
.about-biography {
  flex: 1.4;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-biography p {
  /* KUNCI RESPONSIVE: Ukuran font menggunakan fluid clamp (Min: 0.9rem di HP, Max: 1.05rem di PC) */
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  line-height: 1.7;
  color: var(--text-muted);
  text-align: justify;
}

.highlight-text {
  color: var(--text-main);
  font-weight: 600;
  border-bottom: 1px dashed var(--neon-purple);
}

/* --- AMANAH BARU: CYBERPUNK SOCIAL BUTTONS --- */
.about-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.social-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cyber);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 10px 18px;
  border-radius: 6px;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
}

/* --- PENYESUAIAN UKURAN DAN EFEK LOGO --- */
.social-icon {
  font-size: 1.1rem; /* Membuat logo sedikit lebih besar dari teksnya */
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

/* Memastikan teks dan logo sejajar secara vertikal */
.social-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px; /* Jarak antara logo dan teks tulisan */
  font-family: var(--font-cyber);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 10px 18px;
  border-radius: 6px;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
}

/* Efek Glow Neon pada Logo saat Kursor Menempel (Hover) */
.btn-instagram:hover .social-icon,
.btn-linkedin:hover .social-icon {
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 5px var(--neon-cyan));
}

.btn-email:hover .social-icon {
  color: var(--neon-purple);
  filter: drop-shadow(0 0 5px var(--neon-purple));
}

/* Hover Effect Selaras Tema (Instagram & LinkedIn menggunakan Cyan, Email menggunakan Purple) */
.btn-instagram:hover, 
.btn-linkedin:hover {
  border-color: var(--neon-cyan);
  background: rgba(0, 242, 254, 0.05);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
  transform: translateY(-2px);
}

.btn-instagram:hover .social-icon,
.btn-linkedin:hover .social-icon {
  color: var(--neon-cyan);
  text-shadow: 0 0 5px var(--neon-cyan);
}

.btn-email:hover {
  border-color: var(--neon-purple);
  background: rgba(157, 78, 221, 0.05);
  box-shadow: 0 0 15px rgba(157, 78, 221, 0.2);
  transform: translateY(-2px);
}

.btn-email:hover .social-icon {
  color: var(--neon-purple);
  text-shadow: 0 0 5px var(--neon-purple);
}

/* Kunci Responsif untuk HP Sempit */
@media (max-width: 480px) {
  .about-socials {
    gap: 10px;
    justify-content: center; /* Tombol rata tengah di HP agar simetris */
  }
  
  .social-link-btn {
    width: 100%; /* Tombol melebar penuh dan bertumpuk rapi ke bawah saat layar sangat kecil */
    justify-content: center;
    padding: 12px;
  }
}

/* ==========================================================================
   RESPONSIVE ABOUT ME (Breakpoints)
   ========================================================================== */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column; /* Berubah menjadi tumpukan vertikal di tablet/HP */
    padding: 30px 20px;
    gap: 30px;
  }
  
  .about-profile, .about-biography {
    width: 100%;
  }

  .about-biography p {
    text-align: left; /* Mengubah rata kiri agar lebih nyaman dibaca di layar HP */
  }
}

/* ==========================================================================
   ENHANCED PROJECTS SECTION
   ========================================================================== */
/* Featured Project */
.featured-project {
  display: flex;
  gap: 30px;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.featured-img-wrapper {
  flex: 1;
  min-width: 300px;
}

.placeholder-img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s ease;
}

.featured-project:hover .placeholder-img {
  transform: scale(1.05);
}

.featured-content {
  flex: 1;
  padding: 40px 40px 40px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-family: var(--font-cyber);
  background: linear-gradient(45deg, rgba(157, 78, 221, 0.2), rgba(0, 242, 254, 0.2));
  color: var(--text-main);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 15px;
  border: 1px solid rgba(157, 78, 221, 0.3);
}

.featured-title {
  font-family: var(--font-cyber);
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text-main);
}

.featured-desc {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 1rem;
}

.tech-stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.tech-stack-pills span {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.btn-cyber-small {
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-family: var(--font-cyber);
  text-decoration: none;
  color: var(--bg-dark);
  font-weight: bold;
  background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple));
  border-radius: 6px;
  transition: var(--transition-smooth);
}
.btn-cyber-small:hover { box-shadow: 0 0 15px rgba(157, 78, 221, 0.5); transform: translateY(-2px); }

/* Regular Project Cards */
.projects-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.project-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-img-wrapper {
  height: 200px;
  overflow: hidden;
}

.project-card:hover .placeholder-img { transform: scale(1.08); }

.card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-family: var(--font-cyber);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Responsive Projects */
@media (max-width: 768px) {
  .featured-project { flex-direction: column; }
  .featured-img-wrapper { min-height: 200px; }
  .featured-content { padding: 30px 20px; }
  .featured-title { font-size: 1.5rem; }
}

/* ==========================================================================
   SCROLL ANIMATION SYSTEM (FADE & SLIDE UP)
   ========================================================================== */

/* Kondisi Awal: Elemen tidak terlihat dan agak turun ke bawah */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(50px); /* Ditambah agar efek "melompat naik" lebih kelihatan */
  
  /* Naikkan durasi menjadi 1.2s agar transisinya lambat dan anggun */
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bug-tactical-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(10, 10, 18, 0.4);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: rgba(0, 242, 254, 0.4);
  /* Sifat padding disesuaikan: 8px atas-bawah, 14px kanan-kiri */
  padding: 8px 14px; 
  font-family: monospace;
  cursor: pointer;
  z-index: 9999;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-hud-frame {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-hud-text {
  font-size: 0.72rem; /* Sedikit diperkecil agar teks panjangnya tetap rapi */
  font-weight: bold;
  letter-spacing: 1px; /* Jarak antar huruf sedikit dirapatkan agar proporsional */
}

/* KODE CSS SELEBIHNYA (Hover effect & Media Query Mobile) TETAP SAMA SEPERTI KEMARIN */
@media (hover: hover) {
  .bug-tactical-btn:hover {
    background: rgba(255, 0, 60, 0.08);
    border-color: #ff003c;
    color: #ff003c;
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.4),
                inset 0 0 8px rgba(255, 0, 60, 0.2);
    transform: translateY(-2px);
  }
}

@media screen and (max-width: 768px) {
  .bug-tactical-btn {
    bottom: 15px;
    right: 15px;
    padding: 8px; /* Berubah jadi kotak kecil di HP */
    background: rgba(10, 10, 18, 0.7);
    border-color: rgba(0, 242, 254, 0.15);
  }
  
  /* Teks otomatis hilang di HP agar jempol user tidak terganggu */
  .btn-hud-text {
    display: none;
  }
  
  .bug-tactical-btn i {
    font-size: 1rem;
    color: rgba(0, 242, 254, 0.4);
  }
  
  .bug-tactical-btn:active {
    color: #ff003c;
    border-color: #ff003c;
    background: rgba(255, 0, 60, 0.1);
  }
}
/* 2. Backdrop Alert Overlay (Gelap + Blur) */
.custom-alert-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(5, 5, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Status Aktif Alert */
.custom-alert-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* 3. Kotak Alert HUD */
.custom-alert-box {
  background: #0a0a12;
  border: 1px solid #ff003c;
  padding: 25px;
  width: 90%;
  max-width: 440px;
  border-radius: 4px;
  box-shadow: 0 0 35px rgba(255, 0, 60, 0.25);
  font-family: monospace;
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.custom-alert-overlay.is-active .custom-alert-box {
  transform: scale(1);
}

/* Header Alert */
.alert-cyber-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 0, 60, 0.3);
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.alert-title { color: #ff003c; font-weight: bold; letter-spacing: 1px; }
.alert-code { color: #ffaa00; font-size: 0.8rem; }

/* Isi Alert */
.alert-body { margin-bottom: 25px; }
.terminal-text { color: #ffffff; font-size: 0.95rem; margin-bottom: 10px; line-height: 1.4; }
.sub-text { color: #8a8a98; font-size: 0.8rem; line-height: 1.5; }

/* Tombol Pilihan */
.alert-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}
.alert-btn {
  padding: 10px 20px;
  font-family: monospace;
  font-weight: bold;
  border-radius: 2px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: 0.2s ease;
}
.btn-abort {
  background: transparent;
  border: 1px solid #8a8a98;
  color: #8a8a98;
}
.btn-abort:hover {
  background: rgba(138, 138, 152, 0.1);
  color: #fff;
}
.btn-proceed {
  background: transparent;
  border: 1px solid #ffaa00;
  color: #ffaa00;
}
.btn-proceed:hover {
  background: #ffaa00;
  color: #0a0a12;
  box-shadow: 0 0 15px rgba(255, 170, 0, 0.4);
}