/* =========================
   PORTOFOLIO PRIBADI
   Ubah warna di bagian :root
   ========================= */
:root {
  --bg: #0c1020;
  --surface: #141a2e;
  --surface-light: #1b2340;
  --text: #f4f6ff;
  --muted: #a8b0ca;
  --accent: #8b7cff;
  --accent-2: #57e6c1;
  --border: rgba(255, 255, 255, 0.1);
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
.navbar {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.logo { font-size: 1.65rem; font-weight: 800; letter-spacing: -1px; }
.logo span, .hero h1 span { color: var(--accent); }
nav { display: flex; gap: 28px; flex-wrap: wrap; }
nav a { color: var(--muted); font-size: .92rem; transition: color .2s; }
nav a:hover, footer a:hover, .social-links a:hover { color: var(--accent-2); }

.section { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 88px 0; }
.hero { min-height: 600px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 50px; }
.eyebrow { color: var(--accent-2); font-size: .76rem; font-weight: 800; letter-spacing: 2px; margin-bottom: 12px; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1.12; letter-spacing: -2px; margin-bottom: 24px; }
.intro { max-width: 560px; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .92rem; transition: transform .2s, opacity .2s; }
.button:hover { transform: translateY(-3px); opacity: .9; }
.primary { background: var(--accent); color: white; }
.secondary { border: 1px solid var(--border); color: var(--text); }
.hero-art { display: grid; place-items: center; min-height: 390px; }
.art-circle { width: min(330px, 80vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #343c70, #1b2042 55%, #11162b); border: 1px solid rgba(139,124,255,.45); box-shadow: 0 0 90px rgba(139,124,255,.16); display: grid; place-items: center; position: relative; }
.avatar { width: 160px; height: 160px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #101427; font-size: 3.2rem; font-weight: 900; box-shadow: 0 15px 45px rgba(0,0,0,.25); }
.float-tag { position: absolute; background: #202744; border: 1px solid var(--border); padding: 8px 15px; border-radius: 12px; font-size: .86rem; font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.tag-one { top: 16%; left: -4%; color: #ffca7a; }
.tag-two { right: -3%; top: 38%; color: #8bdcff; }
.tag-three { bottom: 12%; left: 13%; color: var(--accent-2); }

.section-heading { margin-bottom: 32px; }
.section-heading h2, .contact-box h2 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -1px; line-height: 1.2; }
.about-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; color: var(--muted); max-width: 900px; }
.about-card p + p { margin-top: 14px; }
.about-card strong { color: var(--text); }
.skills-grid, .projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.skill-card, .project-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .25s, border-color .25s; }
.skill-card { padding: 26px; }
.skill-card:hover, .project-card:hover { transform: translateY(-5px); border-color: rgba(139,124,255,.65); }
.skill-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(139,124,255,.16); color: var(--accent-2); font-size: 1.5rem; margin-bottom: 18px; }
.skill-card h3, .project-info h3 { font-size: 1.2rem; margin-bottom: 7px; }
.skill-card p, .project-info > p:not(.project-type) { color: var(--muted); font-size: .93rem; }
.skill-line { height: 5px; background: #2b3150; border-radius: 20px; margin-top: 20px; overflow: hidden; }
.skill-line span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: inherit; }

.project-preview { height: 190px; padding: 22px; position: relative; display: grid; place-items: center; overflow: hidden; }
.project-preview > span { position: absolute; top: 14px; left: 18px; font-weight: 800; opacity: .65; }
.preview-one { background: linear-gradient(135deg, #28285b, #534c9d); }
.preview-two { background: linear-gradient(135deg, #174f55, #317c88); }
.preview-three { background: linear-gradient(135deg, #55365f, #a35d87); }
.mock-window { width: 72%; height: 105px; border-radius: 10px; background: #f3f4ff; padding: 13px; box-shadow: 0 12px 25px #1115; }
.mock-window i { display: inline-block; width: 7px; height: 7px; background: #8b7cff; border-radius: 50%; margin-right: 4px; }
.mock-window b { display: block; height: 8px; border-radius: 5px; background: #c6c9e4; margin-top: 12px; width: 85%; }
.mock-window b:last-child { width: 55%; margin-top: 7px; }
.mock-phone { width: 65px; height: 130px; border: 5px solid #f1ffff; border-radius: 15px; background: #d9ffff; padding: 20px 7px; box-shadow: 0 12px 25px #1115; }
.mock-phone b { display: block; width: 22px; height: 22px; border-radius: 50%; background: #317c88; margin: 0 auto 12px; }
.mock-phone i { display: block; height: 5px; background: #92cfd2; border-radius: 5px; margin-top: 7px; }
.mock-dashboard { width: 76%; height: 115px; background: #fff1fa; border-radius: 10px; padding: 15px; box-shadow: 0 12px 25px #1115; }
.mock-dashboard b { display: block; width: 45%; height: 12px; background: #c38baa; border-radius: 4px; margin-bottom: 12px; }
.mock-dashboard i { display: inline-block; width: 28%; height: 48px; background: #ead0e1; border-radius: 6px; margin-right: 4%; }
.mock-dashboard i:last-child { margin-right: 0; }
.project-info { padding: 24px; }
.project-type { color: var(--accent-2); font-size: .7rem; letter-spacing: 1.5px; font-weight: 800; margin-bottom: 5px; }
.chips { display: flex; gap: 8px; margin-top: 18px; }
.chips span { padding: 4px 10px; border-radius: 999px; background: var(--surface-light); color: #c4c9e5; font-size: .75rem; }

.contact { padding-top: 50px; padding-bottom: 100px; }
.contact-box { text-align: center; border: 1px solid var(--border); border-radius: 30px; padding: 60px 24px; background: radial-gradient(circle at top, #25284f, var(--surface) 65%); }
.contact-box > p:not(.eyebrow) { color: var(--muted); margin: 16px auto 25px; max-width: 520px; }
.social-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 26px; color: var(--muted); font-size: .9rem; }
footer { border-top: 1px solid var(--border); padding: 24px 20px; display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; width: min(1120px, calc(100% - 40px)); margin: auto; color: var(--muted); font-size: .85rem; }

@media (max-width: 800px) {
  .navbar { padding: 18px 0; align-items: flex-start; flex-direction: column; }
  nav { gap: 14px 20px; }
  .hero { grid-template-columns: 1fr; text-align: center; gap: 20px; padding-top: 55px; }
  .intro { margin: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { min-height: 330px; }
  .art-circle { width: 270px; }
  .avatar { width: 130px; height: 130px; font-size: 2.5rem; }
  .skills-grid, .projects-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
@media (max-width: 420px) {
  .navbar, .section, footer { width: min(100% - 28px, 1120px); }
  nav { font-size: .85rem; gap: 10px 15px; }
  .hero h1 { letter-spacing: -1px; }
  .about-card { padding: 22px; }
  .contact-box { padding: 45px 18px; }
}
