/* === Reset & Global === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --neon-blue: #00f7ff;
  --neon-purple: #b967ff;
  --neon-green: #00ff88;
  --neon-pink: #ff00c8;
  --dark-bg: #0a0a14;
  --text-light: #e0e0ff;
}
body {
  background: var(--dark-bg);
  color: var(--text-light);
  font-family: 'Segoe UI', 'Courier New', monospace;
  line-height: 1.6;
  overflow-x: hidden;
}

/* === Scrollbar Keren === */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #05050a;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--neon-blue), var(--neon-purple));
  border-radius: 4px;
}

/* === Navbar === */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 20, 0.7);
  border-bottom: 1px solid rgba(0, 247, 255, 0.2);
}
.logo {
  font-size: 1.8rem;
  font-weight: bold;
  background: linear-gradient(to right, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-blue);
  transition: width 0.3s ease;
}
.nav-links a:hover::after {
  width: 100%;
}

/* === Section Umum === */
section {
  min-height: 100vh;
  padding: 80px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* === Hero === */
#hero {
  text-align: center;
  background: radial-gradient(circle at center, rgba(10,10,20,0.9), var(--dark-bg));
}
.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.typing-text {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: white;
  text-shadow: 0 0 10px rgba(0, 247, 255, 0.7);
}
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: var(--neon-blue);
  border: 2px solid var(--neon-blue);
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn:hover {
  background: rgba(0, 247, 255, 0.1);
  box-shadow: 0 0 15px var(--neon-blue);
}

/* === About === */
#about {
  background: rgba(15, 15, 30, 0.4);
}
.about-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}
.profile-photo img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 3px solid var(--neon-blue);
  object-fit: cover;
  box-shadow: 0 0 20px rgba(0, 247, 255, 0.4);
}
.about-text p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.skill-tag {
  background: rgba(185, 103, 255, 0.15);
  border: 1px solid var(--neon-purple);
  color: var(--neon-purple);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.95rem;
}

/* === Projects === */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}
.project-card {
  background: rgba(20, 20, 40, 0.6);
  border: 1px solid rgba(185, 103, 255, 0.3);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(185, 103, 255, 0.4);
}
.project-card h3 {
  color: var(--neon-blue);
  margin-bottom: 10px;
}

/* === Contact === */
.contact-form {
  max-width: 600px;
  margin-top: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: rgba(30, 30, 60, 0.7);
  border: 1px solid rgba(0, 247, 255, 0.3);
  border-radius: 8px;
  color: white;
  font-family: inherit;
}
.form-group textarea {
  height: 120px;
  resize: vertical;
}

/* === Social Icons === */
.social-links {
  display: flex;
  gap: 25px;
  margin-top: 30px;
  justify-content: center;
}
.social-icon {
  font-size: 2.2rem;
  text-decoration: none;
  transition: transform 0.3s, text-shadow 0.3s;
  display: inline-block;
}
.social-icon:hover {
  transform: scale(1.2);
}
.whatsapp:hover {
  text-shadow: 0 0 15px var(--neon-green);
  color: var(--neon-green);
}
.instagram:hover {
  text-shadow: 0 0 15px var(--neon-pink);
  color: var(--neon-pink);
}

/* === Footer === */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(5, 5, 15, 0.9);
  border-top: 1px solid rgba(0, 247, 255, 0.1);
  font-size: 0.9rem;
}

/* === Responsif === */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  .profile-photo img {
    width: 180px;
    height: 180px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .typing-text {
    font-size: 1.4rem;
  }
  .nav-links {
    display: none;
  }
  .social-links {
    gap: 20px;
  }
  .social-icon {
    font-size: 1.8rem;
  }
}