/* ===================================================================
   COSMIC DARK PORTFOLIO - STYLESHEET
   Theme: Deep Space Dark Mode (#030712 / #070b1a)
   Silver Metallic Glow (#e2e8f0, #cbd5e1) + Cosmic Blue (#38bdf8, #6366f1)
   =================================================================== */

:root {
  /* Cosmic Backgrounds */
  --bg-deep-space: #030712;
  --bg-void: #02040a;
  --bg-cosmic-card: rgba(15, 23, 42, 0.65);
  --bg-cosmic-card-hover: rgba(30, 41, 59, 0.75);
  --bg-glass-nav: rgba(10, 16, 33, 0.75);

  /* Silver Metallic Palette */
  --silver-glow: rgba(226, 232, 240, 0.55);
  --silver-bright: #ffffff;
  --silver-light: #f1f5f9;
  --silver-mid: #cbd5e1;
  --silver-dark: #94a3b8;
  --silver-border: rgba(226, 232, 240, 0.35);
  --silver-border-hover: rgba(248, 250, 252, 0.7);

  /* Cosmic Accent Colors */
  --cosmic-blue: #38bdf8;
  --cosmic-indigo: #6366f1;
  --cosmic-purple: #a855f7;
  --cosmic-cyan: #22d3ee;
  --cosmic-emerald: #10b981;

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #64748b;

  /* Shadows & Glows */
  --glow-silver: 0 0 20px rgba(226, 232, 240, 0.35), 0 0 40px rgba(203, 213, 225, 0.15);
  --glow-silver-strong: 0 0 25px rgba(255, 255, 255, 0.55), 0 0 50px rgba(226, 232, 240, 0.3);
  --glow-cyan: 0 0 20px rgba(56, 189, 248, 0.4);
  --glow-purple: 0 0 20px rgba(168, 85, 247, 0.4);

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Reset & Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-deep-space);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #020617;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #334155, #64748b, #cbd5e1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
  box-shadow: 0 0 10px rgba(226, 232, 240, 0.5);
}

/* Selection */
::selection {
  background: rgba(56, 189, 248, 0.3);
  color: #ffffff;
}

/* ===================================================================
   CANVAS & COSMIC NEBULA BACKGROUNDS
   =================================================================== */

#cosmic-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Dynamic ambient nebula orbs */
.nebula-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  animation: floatNebula 25s ease-in-out infinite alternate;
}

.nebula-1 {
  top: -10%;
  left: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28), rgba(30, 58, 138, 0.05), transparent 70%);
}

.nebula-2 {
  top: 45%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.22), rgba(99, 102, 241, 0.08), transparent 70%);
  animation-delay: -8s;
}

.nebula-3 {
  bottom: 5%;
  left: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2), rgba(79, 70, 229, 0.06), transparent 70%);
  animation-delay: -15s;
}

@keyframes floatNebula {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.12); }
  100% { transform: translate(-30px, -20px) scale(0.95); }
}

/* Space Dust Grid Texture overlay */
.cosmic-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: -1px -1px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 85%);
}

/* All main content wrapper above canvas */
.content-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================================================
   FLOATING NAVBAR WITH SILVER GLOW
   Navbar melayang di tengah atas dengan efek glow silver
   =================================================================== */

.floating-navbar {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 40px);
  max-width: 1050px;
  padding: 10px 20px;
  background: var(--bg-glass-nav);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 50px;
  border: 1px solid var(--silver-border);
  box-shadow: 
    0 10px 35px rgba(0, 0, 0, 0.65),
    var(--glow-silver),
    inset 0 1px 1px rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.floating-navbar:hover {
  border-color: var(--silver-border-hover);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.75),
    var(--glow-silver-strong),
    inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* Brand Logo */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--silver-bright);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.3px;
  position: relative;
}

.nav-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid var(--silver-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(226, 232, 240, 0.4);
  font-size: 0.9rem;
  color: var(--cosmic-blue);
  animation: pulseBrand 3s infinite alternate;
}

@keyframes pulseBrand {
  0% { box-shadow: 0 0 8px rgba(226, 232, 240, 0.3); }
  100% { box-shadow: 0 0 18px rgba(56, 189, 248, 0.6); }
}

.nav-brand-text {
  background: linear-gradient(135deg, #ffffff 30%, #cbd5e1 70%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.nav-brand-tag {
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--cosmic-blue);
  font-weight: 600;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 6px;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 30px;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--silver-bright);
  background: rgba(255, 255, 255, 0.06);
  text-shadow: 0 0 10px rgba(226, 232, 240, 0.6);
}

.nav-link.active {
  color: var(--silver-bright);
  background: rgba(226, 232, 240, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.3);
  box-shadow: 0 0 14px rgba(226, 232, 240, 0.25);
}

/* Navbar Action Button with Silver Shimmer */
.nav-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, rgba(226, 232, 240, 0.15), rgba(255, 255, 255, 0.05));
  color: var(--silver-bright);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  border: 1px solid var(--silver-border-hover);
  box-shadow: 0 0 12px rgba(226, 232, 240, 0.3);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.nav-action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: 0.6s;
}

.nav-action-btn:hover::before {
  left: 140%;
}

.nav-action-btn:hover {
  background: linear-gradient(135deg, rgba(226, 232, 240, 0.28), rgba(255, 255, 255, 0.15));
  box-shadow: var(--glow-silver-strong);
  transform: translateY(-1px);
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--silver-border);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--silver-bright);
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.mobile-toggle:hover {
  border-color: var(--silver-bright);
  box-shadow: var(--glow-silver);
}

/* ===================================================================
   HERO / HALAMAN UTAMA SECTION
   Big Name, Dynamic Typing Effect, Space Visuals & CTA
   =================================================================== */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 130px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

/* Hero Badge */
.hero-badge-wrap {
  margin-bottom: 20px;
}

.cosmic-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--silver-border);
  box-shadow: 0 0 15px rgba(226, 232, 240, 0.2);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--silver-light);
  backdrop-filter: blur(10px);
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: badgeBlink 1.8s infinite;
}

@keyframes badgeBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Greeting Subtitle */
.hero-greeting {
  font-size: 1.25rem;
  color: var(--cosmic-blue);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-greeting::before {
  content: '';
  display: inline-block;
  width: 25px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cosmic-blue));
}

/* Hero Big Name (Nama Besar) */
.hero-name {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.gradient-cosmic-text {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 45%, #38bdf8 80%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(226, 232, 240, 0.35));
}

/* Dynamic Typing Text (Teks yang mengetik sendiri bergantian) */
.hero-role-wrapper {
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--silver-light);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 2.6rem;
}

.hero-role-prefix {
  color: var(--text-muted);
}

.typewriter-text {
  color: var(--cosmic-blue);
  border-bottom: 2px solid rgba(56, 189, 248, 0.4);
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.6);
  position: relative;
}

.typewriter-cursor {
  display: inline-block;
  color: var(--silver-bright);
  font-weight: 300;
  animation: cursorBlink 0.8s infinite;
  margin-left: 2px;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Hero Bio Description */
.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Hero Call to Action Buttons */
.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 35px;
}

.btn-cosmic-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid var(--silver-border-hover);
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.4),
    var(--glow-silver);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.btn-cosmic-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-silver-strong);
  border-color: #ffffff;
}

.btn-cosmic-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--silver-light);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.btn-cosmic-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: var(--silver-border);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(226, 232, 240, 0.2);
}

/* Quick Social Icons in Hero */
.hero-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--silver-border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-icon-btn:hover {
  color: #ffffff;
  border-color: var(--silver-border-hover);
  box-shadow: var(--glow-silver);
  transform: translateY(-3px);
}

/* Hero Visual / Orbit Container */
.hero-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cosmic-orbit-system {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Orbital Rings */
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(226, 232, 240, 0.22);
  pointer-events: none;
}

.orbit-ring-1 {
  width: 100%;
  height: 100%;
  animation: orbitSpin 32s linear infinite;
}

.orbit-ring-2 {
  width: 124%;
  height: 124%;
  border-color: rgba(56, 189, 248, 0.2);
  border-style: dotted;
  animation: orbitSpinReverse 40s linear infinite;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Hero Center Card */
.hero-center-graphic {
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: radial-gradient(circle, #1e293b 0%, #0b1329 70%, #030712 100%);
  border: 2px solid var(--silver-border);
  box-shadow: 
    0 0 35px rgba(56, 189, 248, 0.25),
    var(--glow-silver);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
  animation: cosmicFloat 6s ease-in-out infinite;
}

.hero-graphic-img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.4));
  transition: transform 0.5s ease;
}

.hero-center-graphic:hover .hero-graphic-img {
  transform: scale(1.08) rotate(3deg);
}

@keyframes cosmicFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Floating Status Pills */
.floating-stat-card {
  position: absolute;
  padding: 10px 18px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--silver-border);
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(226, 232, 240, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: pillFloat 5s ease-in-out infinite alternate;
}

.stat-card-top {
  top: -10px;
  right: -20px;
  animation-delay: -1s;
}

.stat-card-bottom {
  bottom: 0px;
  left: -25px;
  animation-delay: -3s;
}

@keyframes pillFloat {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-10px) scale(1.03); }
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cosmic-blue);
  font-size: 1rem;
}

.stat-card-content h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.stat-card-content p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===================================================================
   SECTION COMMON STYLES
   Constellation headers, cards, grid layouts
   =================================================================== */

.section-block {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cosmic-blue);
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--silver-bright);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--silver-bright), var(--cosmic-blue));
  margin: 12px auto 0;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
}

.section-description {
  color: var(--text-muted);
  max-width: 620px;
  margin: 15px auto 0;
  font-size: 1rem;
}

/* ===================================================================
   SECTION ABOUT ME (TENTANG SAYA)
   Profile Photo, Story, Statistics Counters
   =================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 65px;
}

/* Cosmic Profile Photo Frame */
.profile-photo-container {
  display: flex;
  justify-content: center;
  position: relative;
}

.profile-cosmic-frame {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-orbit-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--silver-mid);
  border-bottom-color: var(--cosmic-blue);
  box-shadow: 0 0 25px rgba(226, 232, 240, 0.35);
  animation: orbitSpin 18s linear infinite;
}

.profile-orbit-dots {
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1px dashed rgba(226, 232, 240, 0.3);
  animation: orbitSpinReverse 25s linear infinite;
}

.profile-inner-avatar {
  width: 290px;
  height: 290px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--silver-border-hover);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.6),
    var(--glow-silver);
  background: radial-gradient(circle, #1e293b, #030712);
  position: relative;
}

.profile-inner-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.profile-inner-avatar:hover img {
  transform: scale(1.05);
}

.profile-location-chip {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--silver-border);
  box-shadow: 0 0 15px rgba(226, 232, 240, 0.25);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--silver-bright);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* About Narrative Story */
.about-story-header {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.75;
}

.about-text strong {
  color: var(--silver-bright);
}

/* Info Chips List */
.about-info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 25px 0 30px;
}

.info-chip {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(226, 232, 240, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--silver-light);
  transition: var(--transition-smooth);
}

.info-chip:hover {
  border-color: var(--silver-border-hover);
  background: rgba(56, 189, 248, 0.1);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.info-chip i {
  color: var(--cosmic-blue);
}

/* STATISTIK COUNTERS (Section Statistik) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.stat-box {
  background: var(--bg-cosmic-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--silver-border);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--silver-bright), transparent);
  opacity: 0.7;
}

.stat-box:hover {
  transform: translateY(-5px);
  border-color: var(--silver-border-hover);
  box-shadow: var(--glow-silver);
  background: var(--bg-cosmic-card-hover);
}

.stat-number-wrapper {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-number {
  background: linear-gradient(135deg, #ffffff, #cbd5e1, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-plus {
  color: var(--cosmic-blue);
  font-size: 2.2rem;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ===================================================================
   SECTION RIWAYAT PENDIDIKAN & PENGALAMAN (Dual Timeline)
   =================================================================== */

.journey-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.journey-column-card {
  background: var(--bg-cosmic-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--silver-border);
  border-radius: 24px;
  padding: 35px 30px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.journey-column-card:hover {
  border-color: rgba(226, 232, 240, 0.45);
}

.journey-col-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.15);
}

.journey-header-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cosmic-blue);
  font-size: 1.3rem;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.journey-col-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--silver-bright);
}

/* Timeline Tree */
.timeline-tree {
  position: relative;
  padding-left: 28px;
}

.timeline-tree::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--cosmic-blue), var(--silver-mid), rgba(255, 255, 255, 0.1));
}

.timeline-node {
  position: relative;
  margin-bottom: 32px;
}

.timeline-node:last-child {
  margin-bottom: 0;
}

.timeline-bullet {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #030712;
  border: 3px solid var(--cosmic-blue);
  box-shadow: 0 0 10px var(--cosmic-blue);
  transition: var(--transition-smooth);
}

.timeline-node:hover .timeline-bullet {
  transform: scale(1.3);
  border-color: #ffffff;
  box-shadow: var(--glow-silver);
}

.timeline-date {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--cosmic-blue);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.timeline-institution {
  font-size: 0.9rem;
  color: var(--silver-mid);
  font-weight: 500;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.timeline-tag {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--silver-light);
}

/* ===================================================================
   SECTION PROYEK UNGGULAN (PORTFOLIO SHOWCASE)
   =================================================================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--bg-cosmic-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--silver-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--silver-border-hover);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.6),
    var(--glow-silver);
}

/* Card Visual Header */
.project-banner {
  height: 190px;
  position: relative;
  background: linear-gradient(135deg, #0f172a, #1e1b4b, #030712);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(226, 232, 240, 0.15);
}

.project-banner-decor {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: radial-gradient(circle at 50% 50%, #38bdf8 0%, transparent 60%);
}

.project-banner-icon {
  font-size: 3.5rem;
  color: var(--silver-mid);
  filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.6));
  transition: transform 0.4s ease;
}

.project-card:hover .project-banner-icon {
  transform: scale(1.15) rotate(5deg);
  color: #ffffff;
}

.project-category-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--silver-border);
  color: var(--silver-bright);
}

/* Card Body */
.project-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

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

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--cosmic-blue);
}

.project-footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(226, 232, 240, 0.1);
}

.project-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--silver-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.project-link:hover {
  color: var(--cosmic-blue);
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.project-link-primary {
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(226, 232, 240, 0.12);
  border: 1px solid var(--silver-border);
}

.project-link-primary:hover {
  background: rgba(226, 232, 240, 0.25);
  box-shadow: 0 0 12px rgba(226, 232, 240, 0.3);
}

/* ===================================================================
   SECTION KEAHLIAN / SKILLS
   =================================================================== */

.skills-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.skill-category-card {
  background: var(--bg-cosmic-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--silver-border);
  border-radius: 20px;
  padding: 28px 24px;
  transition: var(--transition-smooth);
}

.skill-category-card:hover {
  border-color: var(--silver-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--glow-silver);
}

.skill-category-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--silver-bright);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-category-title i {
  color: var(--cosmic-blue);
}

.skill-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.skill-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 500;
}

.skill-name {
  color: var(--silver-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.skill-percent {
  color: var(--cosmic-blue);
  font-weight: 600;
}

.skill-bar-track {
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.skill-bar-progress {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #38bdf8, #818cf8, #cbd5e1);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
  width: 0%;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===================================================================
   SECTION KONTAK (CONTACT)
   Glassmorphic contact form & direct reach channels
   =================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 45px;
}

.contact-info-card {
  background: var(--bg-cosmic-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--silver-border);
  border-radius: 24px;
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--silver-bright);
  margin-bottom: 8px;
}

.contact-info-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.15);
  border-radius: 16px;
  text-decoration: none;
  color: var(--silver-light);
  transition: var(--transition-smooth);
}

.channel-item:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--silver-border-hover);
  box-shadow: 0 0 15px rgba(226, 232, 240, 0.25);
  transform: translateX(4px);
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cosmic-blue);
  font-size: 1.15rem;
}

.channel-details h5 {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.channel-details p {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-cosmic-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--silver-border);
  border-radius: 24px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--silver-light);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  background: rgba(10, 16, 33, 0.8);
  border: 1px solid var(--silver-border);
  border-radius: 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(226, 232, 240, 0.4), inset 0 0 10px rgba(56, 189, 248, 0.15);
}

.form-control::placeholder {
  color: #64748b;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-submit-message {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(226, 232, 240, 0.2), rgba(255, 255, 255, 0.08));
  border: 1px solid var(--silver-border-hover);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--glow-silver);
  transition: var(--transition-smooth);
}

.btn-submit-message:hover {
  background: linear-gradient(135deg, rgba(226, 232, 240, 0.35), rgba(255, 255, 255, 0.2));
  box-shadow: var(--glow-silver-strong);
  transform: translateY(-2px);
}

/* ===================================================================
   FOOTER & FLOATING CONTROLS
   =================================================================== */

.cosmic-footer {
  padding: 40px 0;
  border-top: 1px solid rgba(226, 232, 240, 0.15);
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-quote {
  font-style: italic;
  color: var(--silver-dark);
  font-size: 0.95rem;
  max-width: 500px;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-copyright span {
  color: var(--silver-bright);
  font-weight: 600;
}

/* Floating Space Audio & Scroll to Top Buttons */
.cosmic-quick-controls {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.cosmic-circle-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--silver-border);
  color: var(--silver-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.cosmic-circle-btn:hover {
  border-color: var(--silver-bright);
  box-shadow: var(--glow-silver);
  transform: translateY(-3px);
}

#btn-scroll-top {
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

#btn-scroll-top.show {
  opacity: 1;
  visibility: visible;
}

/* Toast Notification */
.cosmic-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--silver-border-hover);
  box-shadow: var(--glow-silver-strong);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2000;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cosmic-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Modal Popup for Projects */
.cosmic-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(12px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.cosmic-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cosmic-modal-card {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--silver-border-hover);
  border-radius: 24px;
  max-width: 650px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.7),
    var(--glow-silver-strong);
  transform: scale(0.92);
  transition: var(--transition-bounce);
}

.cosmic-modal-overlay.active .cosmic-modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--silver-mid);
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  color: #ffffff;
  transform: rotate(90deg);
}

/* ===================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   =================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-greeting {
    justify-content: center;
  }

  .hero-greeting::before {
    display: none;
  }

  .hero-role-wrapper {
    justify-content: center;
  }

  .hero-description {
    margin: 0 auto 30px;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-socials {
    justify-content: center;
  }

  .hero-visual-col {
    order: -1;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey-dual-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .floating-navbar {
    top: 14px;
    width: calc(100% - 24px);
    padding: 10px 16px;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-action-btn {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: rgba(10, 16, 33, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--silver-border);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), var(--glow-silver);
    flex-direction: column;
    padding: 18px;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
  }

  .nav-links.mobile-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    width: 100%;
    text-align: center;
  }

  .hero-name {
    font-size: 2.8rem;
  }

  .hero-role-wrapper {
    font-size: 1.4rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 35px;
  }

  .about-info-chips {
    justify-content: center;
  }

  .profile-cosmic-frame {
    width: 260px;
    height: 260px;
  }

  .profile-inner-avatar {
    width: 230px;
    height: 230px;
  }

  .section-title {
    font-size: 2.1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: 2.3rem;
  }

  .cosmic-orbit-system {
    width: 300px;
    height: 300px;
  }

  .hero-center-graphic {
    width: 210px;
    height: 210px;
  }

  .floating-stat-card {
    display: none;
  }
}
