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

body {
  font-family: 'Inter', Arial, sans-serif;
  background-color: #0a0a0f;
  color: #e2e8f0;
}

/* ── NAVBAR ── */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0d0d14;
  padding: 20px 60px;
  position: sticky;
  top: 0;
  border-bottom: 1px solid #1e1e2e;
}

.logo {
  color: #a78bfa;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #a78bfa;
}

/* ── HERO ── */
.hero {
  display: flex;
  align-items: center;
  gap: 52px;
  padding: 90px 60px;
  background: #0d0d14;
  border-bottom: 1px solid #1e1e2e;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(167,139,250,0.08) 0%, transparent 70%);
  top: -100px;
  right: -80px;
  border-radius: 50%;
}

.avatar {
  border-radius: 50%;
  width: 130px;
  height: 130px;
  border: 3px solid #a78bfa;
  filter: brightness(0.95);
}

.hero-text h1 {
  font-size: 36px;
  color: #f1f5f9;
  margin-bottom: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.hero-text p {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 30px;
  line-height: 1.8;
  max-width: 480px;
}

.btn {
  display: inline-block;
  background-color: transparent;
  color: #a78bfa;
  padding: 13px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.8px;
  border: 1px solid #a78bfa;
  transition: all 0.25s;
}

.btn:hover {
  background-color: #a78bfa;
  color: #0a0a0f;
  transform: scale(1.04);
}

/* ── SECTION ── */
.section {
  padding: 64px 60px;
  border-bottom: 1px solid #1e1e2e;
}

.section h2 {
  font-size: 13px;
  margin-bottom: 28px;
  color: #342b4f;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ── CARDS ── */
.card-grid {
  display: flex;
  gap: 20px;
}

.card {
  flex: 1;
  background-color: #0d0d14;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid #1e1e2e;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #a78bfa, #818cf8);
}

.card:hover {
  transform: translateY(-5px);
  border-color: #a78bfa;
}

.card h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #e2e8f0;
  font-weight: 600;
}

.card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.8;
}

.card a {
  color: #a78bfa;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

/* Tema terang */
body.light-mode {
  background: linear-gradient(220deg, #f4f4f4, #4e5b75);
  color: #616872;
}

body.light-mode .navbar {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

body.light-mode .logo {
  color: #7c3aed;
}

body.light-mode .hero {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

body.light-mode .hero-text h1 {
  color: #0f172a;
}

body.light-mode .hero-text p {
  color: #64748b;
}

body.light-mode .section {
  border-bottom: 1px solid #e2e8f0;
}

body.light-mode .card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
}

body.light-mode .card h3 {
  color: #0f172a;
}

body.light-mode .nav-links a {
  color: #7688a0;
}

/* ── FORM ── */
.form-box {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.form-box input {
  flex: 1;
  padding: 13px 18px;
  border-radius: 10px;
  border: 1px solid #1e1e2e;
  background-color: #1e1e49;
  color: #e2e8f0;
  font-size: 14px;
  font-family: 'Inter', Arial, sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.form-box input:focus {
  border-color: #a78bfa;
}

.form-box input::placeholder {
  color: #868c94;
}

.form-box button {
  padding: 13px 24px;
  border-radius: 10px;
  border: none;
  background-color: #a78bfa;
  color: #0a0a0f;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', Arial, sans-serif;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.form-box button:hover {
  background-color: #818cf8;
}

.form-box button:active {
  transform: scale(0.97);
}

/* ── PESAN ERROR ── */
.pesan-error {
  color: #f87171;
  font-size: 13px;
  margin-bottom: 16px;
  min-height: 18px;
}

/* ── SKILL CARD TAMBAHAN ── */
.skill-card {
  flex: 0 0 auto;
  background-color: #0d0d14;
  border-radius: 16px;
  padding: 20px 24px;
  border: 1px solid #1e1e2e;
  position: relative;
  transition: border-color 0.2s;
  min-width: 140px;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #818cf8, #a78bfa);
}

.skill-card:hover {
  border-color: #a78bfa;
}

.skill-card h3 {
  font-size: 15px;
  color: #e2e8f0;
  font-weight: 600;
  margin-bottom: 8px;
}

.skill-card .btn-hapus {
  font-size: 12px;
  color: #475569;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  transition: color 0.2s;
}

.skill-card .btn-hapus:hover {
  color: #f87171;
}