:root {
  color-scheme: dark;

  --bg: #07111f;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.15);
  --text: #f5f7fb;
  --muted: #9fb0cc;
  --accent: #67d6ff;
  --accent-2: #7b61ff;
  --border: rgba(255, 255, 255, 0.16);
}

/* RESET */
* {
  box-sizing: border-box;
}

/* BODY */
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);

  background:
    radial-gradient(
      circle at top left,
      rgba(103, 214, 255, 0.2),
      transparent 25%
    ),
    linear-gradient(
      135deg,
      var(--bg),
      #13253f 55%,
      #09141f
    );

  min-height: 100vh;
}

/* PAGE */
.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 64px;
}

/* NAVBAR */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 32px;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: white;
  text-decoration: none;
}

.menu {
  display: flex;
  gap: 20px;
}

.menu a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.menu a:hover {
  color: white;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: center;
  padding: 24px 0 40px;
}

/* CARD UMUM */
.hero-copy,
.hero-card,
.info-card,
.project-card,
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

/* HERO COPY */
.hero-copy {
  border-radius: 28px;
  padding: 36px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.1;
  margin: 0 0 16px;
}

.lead {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 24px;
}

/* BUTTON */
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--accent),
    var(--accent-2)
  );
  color: white;
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
}

/* STATS */
.stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.stats li {
  min-width: 120px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.stats strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* HERO CARD */
.hero-card {
  border-radius: 28px;
  padding: 28px;
  text-align: center;
}

/* FOTO PROFIL */
.avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 8px auto 20px;
  overflow: hidden;
  position: relative;

  border: 4px solid rgba(255, 255, 255, 0.16);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.25);
}

/* GAMBAR FOTO */
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* PROFIL */
.hero-card h2 {
  margin: 0 0 8px;
}

.hero-card p {
  margin: 0 0 20px;
  color: var(--muted);
}

/* BADGES */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.badges span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.9rem;
}

/* SECTION */
.section {
  padding: 28px 0 12px;
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

/* ABOUT & PROJECT */
.about-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card,
.project-card {
  border-radius: 20px;
  padding: 20px;
}

.info-card h4,
.project-card h4 {
  margin: 0 0 10px;
}

.info-card p,
.project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* CONTACT */
.contact-card {
  border-radius: 24px;
  padding: 28px;
  text-align: center;
}

.contact-card h3 {
  margin: 0 0 16px;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

/* RESPONSIVE TABLET */
@media (max-width: 860px) {
  .hero,
  .about-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 20px;
  }
}

/* RESPONSIVE HP */
@media (max-width: 560px) {
  .page-shell {
    padding: 18px 16px 48px;
  }

  .topbar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .hero-copy,
  .hero-card,
  .info-card,
  .project-card,
  .contact-card {
    padding: 20px;
  }

  .stats {
    flex-direction: column;
  }

  .avatar {
    width: 150px;
    height: 150px;
  }
}