/* ==========================================
   GOOGLE FONTS IMPORT
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&family=Pixelify+Sans:wght@700&display=swap');

/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
  --mat-blue: #3b82f6;
  --mat-blue-dark: #1d4ed8;
  --paper-white: #ffffff;
  --paper-cream: #fffdf5;
  --yellow-badge: #fbbf24;
  --yellow-dark: #d97706;
  --ink: #1e293b;
  --muted: #64748b;
  --shadow-paper: 0 16px 40px rgba(0, 0, 0, 0.15);
  --shadow-badge: 0 14px 28px rgba(217, 119, 6, 0.3);
  --font-pixel: 'Pixelify Sans', cursive, sans-serif;
  --font-main: 'Fredoka', sans-serif;
  --transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* Latar Belakang Matras Biru Berpola Grid */
body {
  min-height: 100vh;
  font-family: var(--font-main);
  color: var(--ink);
  background-color: var(--mat-blue);
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 24px 24px;
  line-height: 1.6;
  padding: 12px;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1140px, calc(100% - 24px));
  margin-inline: auto;
}

/* ==========================================
   NAVBAR (PILL STYLE)
   ========================================== */
.navbar {
  position: sticky;
  top: 10px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 8px 20px;
  box-shadow: var(--shadow-paper);
  margin-bottom: 20px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-pixel);
  font-size: 1.3rem;
  color: var(--mat-blue-dark);
}

.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-menu a {
  color: var(--ink);
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--mat-blue-dark);
  color: #fff;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--mat-blue-dark);
}

/* ==========================================
   HERO SECTION (SCRAPBOOK & DECORATIONS)
   ========================================== */
.hero {
  padding: 60px 0 30px;
  position: relative;
}

.hero-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.paper-sheet {
  background: #ffffff;
  width: 100%;
  max-width: 880px;
  padding: 50px 40px 40px;
  border-radius: 18px;
  box-shadow: var(--shadow-paper);
  position: relative;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.binder-holes {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 14px;
  background-image: radial-gradient(circle, #3b82f6 5px, transparent 6px);
  background-size: 24px 14px;
  background-repeat: repeat-x;
  opacity: 0.8;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: 0.85rem;
  background: #fef08a;
  color: #854d0e;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.pixel-title {
  font-family: var(--font-pixel);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  color: var(--mat-blue-dark);
  line-height: 1;
  margin: 12px 0 16px;
  text-shadow: 3px 3px 0px #bfdbfe;
}

.blue-word {
  color: var(--mat-blue);
}

.hero-desc {
  max-width: 580px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px; /* Memberi jarak bawah agar tidak menempel dengan chip */
}

.hero-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 12px;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn.primary {
  background: var(--yellow-badge);
  color: #78350f;
  box-shadow: 0 4px 0px var(--yellow-dark);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0px var(--yellow-dark);
}

.btn.ghost {
  background: #e2e8f0;
  color: var(--ink);
  box-shadow: 0 4px 0px #cbd5e1;
}

.btn.ghost:hover {
  transform: translateY(-2px);
}

.hero-chips span {
  background: #fff;
  border: 2px solid var(--mat-blue);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mat-blue-dark);
  box-shadow: 2px 2px 0px var(--mat-blue);
}

.scroll-hint {
  display: block;
  text-align: center;
  margin-top: 20px;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ELEMEN DEKORASI HERO */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 4;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.15));
}

.binder-clip { top: -18px; left: 50%; transform: translateX(-50%); width: 70px; }
.folder-icon { top: 30px; left: -20px; width: 90px; transform: rotate(-10deg); }
.clipboard-icon { top: 40px; right: -15px; width: 85px; transform: rotate(8deg); }
.pencil-icon { bottom: 20px; left: -25px; width: 100px; transform: rotate(-15deg); }
.scissors-icon { bottom: 30px; right: -10px; width: 80px; transform: rotate(12deg); }
.cursor-icon { bottom: 80px; right: 25%; width: 45px; animation: floatCursor 3s ease-in-out infinite; }
.ruler-left { top: 20px; left: 2%; width: 110px; z-index: 1; }
.ruler-right { top: 10px; right: 3%; width: 130px; z-index: 1; }
.keyboard-top { top: -10px; left: 50%; transform: translateX(-50%); width: 320px; z-index: 1; opacity: 0.9; }

/* ==========================================
   ABOUT SECTION
   ========================================== */
.section {
  padding: 60px 0 40px;
}

#about .section-title {
  margin-bottom: 48px; /* Jarak aman agar tidak dempet dengan kartu */
  position: relative;
  z-index: 5;
}

#about .section-title h2 {
  font-family: var(--font-pixel);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #fff;
  line-height: 1.1;
  text-shadow: 2px 2px 0px var(--mat-blue-dark);
}

#about .section-title p {
  color: #e0f2fe;
  font-size: 0.95rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 260px 1fr 220px;
  gap: 24px;
  align-items: flex-start;
  margin-top: 10px;
}

/* ID Badge Kuning */
.id-badge {
  background: var(--yellow-badge);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-badge);
  transform: rotate(-3deg);
  position: relative;
  border: 3px solid #f59e0b;
  margin-top: 10px;
}

.id-badge::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 12px;
  background: #cbd5e1;
  border-radius: 4px;
}

.photo-frame {
  background: #fff;
  padding: 8px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.photo-frame img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.id-badge h3 {
  font-family: var(--font-pixel);
  color: #78350f;
  font-size: 1.3rem;
}

.id-badge p {
  font-size: 0.8rem;
  color: #92400e;
  font-weight: 600;
}

/* Catatan Notebook */
.notebook-sheet {
  background: var(--paper-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-paper);
  position: relative;
  background-image: linear-gradient(#e2e8f0 1px, transparent 1px);
  background-size: 100% 28px;
  line-height: 28px;
  margin-top: 10px;
}

.notebook-sheet h3 {
  font-family: var(--font-pixel);
  font-size: 1.8rem;
  color: var(--mat-blue-dark);
}

.notebook-sheet p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.inline-actions {
  display: flex;
  gap: 10px;
}

/* Sticky Note Skill */
.info-box {
  background: #fef08a;
  padding: 20px;
  border-radius: 4px;
  box-shadow: var(--shadow-paper);
  transform: rotate(2deg);
  margin-top: 10px;
}

.info-box h3 {
  font-family: var(--font-pixel);
  color: #854d0e;
  margin-bottom: 10px;
}

.skill-list span {
  display: block;
  background: rgba(255, 255, 255, 0.7);
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ==========================================
   PROJECT STRIP (KARYA)
   ========================================== */
.section.compact {
  padding: 40px 0;
}

.project-strip {
  background: var(--paper-cream);
  border-radius: 20px;
  padding: 36px 24px;
  box-shadow: var(--shadow-paper);
  text-align: center;
}

.strip-eyebrow {
  font-family: var(--font-pixel);
  font-size: 0.8rem;
  color: var(--mat-blue);
  text-transform: uppercase;
}

.project-strip h2 {
  font-family: var(--font-pixel);
  font-size: 2.5rem;
  color: var(--mat-blue-dark);
  margin: 4px 0 10px;
}

.strip-desc {
  max-width: 580px;
  margin: 0 auto 20px;
  font-size: 0.95rem;
  color: var(--muted);
}

.pill-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list a {
  background: var(--mat-blue);
  color: #fff;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 10px;
  box-shadow: 0 4px 0px var(--mat-blue-dark);
  transition: var(--transition);
}

.pill-list a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0px var(--mat-blue-dark);
}

/* ==========================================
   CONTACT SECTION (RATA TENGAH & BERJARAK)
   ========================================== */
#contact {
  padding: 80px 0 60px;
  text-align: center;
}

#contact .section-title.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 680px;
  margin: 0 auto;
}

#contact .eyebrow {
  margin-bottom: 16px;
}

#contact h2 {
  font-family: var(--font-pixel);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #fff;
  margin-bottom: 14px;
  text-shadow: 2px 2px 0px var(--mat-blue-dark);
}

#contact p {
  color: #e0f2fe;
  margin: 0 auto 28px;
  max-width: 560px;
  line-height: 1.6;
}

#contact .inline-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================
   FOOTER & BACK TO TOP
   ========================================== */
.footer {
  text-align: center;
  padding: 24px 0 10px;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 20px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
}

.back-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--yellow-badge);
  color: #78350f;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 0px var(--yellow-dark);
  font-weight: bold;
  font-size: 1rem;
  transition: var(--transition);
}

.back-top:hover {
  transform: translateY(-3px);
}

/* ==========================================
   ANIMATIONS & RESPONSIVE
   ========================================== */
@keyframes floatCursor {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .deco {
    display: none;
  }
  .paper-sheet {
    padding: 30px 20px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 6px;
  }
}
/* ==========================================
   SCROLL REVEAL ANIMATION STYLES
   ========================================== */

/* Posisi Awal (Sebelum Di-scroll) */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal {
  transform: translateY(40px); /* Muncul dari bawah */
}

.reveal-left {
  transform: translateX(-40px); /* Muncul dari kiri */
}

.reveal-right {
  transform: translateX(40px); /* Muncul dari kanan */
}

/* Posisi Akhir (Saat Muncul di Layar) */
.reveal.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* ==========================================
   SCRAPBOOK CONTENTS SECTION (5 KERTAS)
   ========================================== */
.contents-header {
  margin-bottom: 30px;
}

.contents-title {
  font-family: var(--font-pixel);
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ffffff;
  text-shadow: 3px 3px 0px var(--mat-blue-dark);
  letter-spacing: 2px;
}

/* Grid Layout Kartu */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 10px 0;
}

/* Lembar Kertas Card */
.paper-card {
  background: var(--paper-white);
  width: 200px;
  padding: 14px 12px 18px;
  border-radius: 8px;
  box-shadow: var(--shadow-paper);
  position: relative;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-left: 3px dashed #cbd5e1; /* Efek gerigi lubang kertas binder */
  display: flex;
  flex-direction: column;
}

/* Penjepit Kertas Pink di Atas */
.card-clip {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  z-index: 5;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

/* Bingkai Foto / Thumbnail */
.card-img-box {
  width: 100%;
  height: 120px;
  overflow: hidden;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  margin-top: 6px;
  margin-bottom: 10px;
}

.card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Teks Informasi Kartu */
.card-body {
  text-align: left;
}

.card-num {
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  color: var(--mat-blue);
  display: block;
  line-height: 1;
}

.card-body h3 {
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  color: var(--mat-blue-dark);
  margin: 4px 0 2px;
  line-height: 1.2;
}

.card-body p {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.3;
}

/* Varian Kemiringan Kertas Acak */
.card-1 { transform: rotate(-4deg); }
.card-2 { transform: rotate(2deg); }
.card-3 { transform: rotate(-2deg); }
.card-4 { transform: rotate(3deg); }
.card-5 { transform: rotate(-3deg); }

/* Efek Hover (Saat Diarahkan Kursor) */
.paper-card:hover {
  transform: translateY(-12px) rotate(0deg) scale(1.05);
  z-index: 10;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
  background: #ffffff;
}

.paper-card:hover .card-img-box img {
  transform: scale(1.1);
}

/* Responsive Mobile */
@media (max-width: 768px) {
  .cards-grid {
    gap: 28px;
  }
  .paper-card {
    width: 100%;
    max-width: 280px;
    transform: rotate(0deg) !important;
  }
}

/* ==========================================
   HERO SECTION (EKSAT REVISI SESUAI GAMBAR 2)
   ========================================== */
.hero {
  padding: 40px 0 60px;
  position: relative;
}

.hero-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Kertas Putih Utama (Lebih Lebar & Proporsional) */
.paper-sheet {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 920px; /* Diperlebar agar muat dengan rapi */
  padding: 42px 50px 32px;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  text-align: center;
}

/* Pola Titik-Titik Biru di Atas Kertas */
.paper-sheet::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 64%;
  height: 10px;
  background-image: radial-gradient(circle, #3b82f6 4px, transparent 5px);
  background-size: 18px 10px;
  background-repeat: repeat-x;
  opacity: 0.85;
}

/* Badge Kuning "Personal Portfolio Showcase" */
.eyebrow {
  display: inline-block;
  font-family: var(--font-pixel, 'Pixelify Sans', cursive, sans-serif);
  font-size: 0.78rem;
  background: #fef08a;
  color: #854d0e;
  padding: 5px 18px;
  border-radius: 20px;
  margin-top: 6px;
  margin-bottom: 14px;
}

/* Judul Utama */
.pixel-title {
  font-family: 'Pixelify Sans', cursive, sans-serif;
  font-size: clamp(3rem, 5.8vw, 4.2rem);
  color: #1d4ed8;
  line-height: 1;
  margin-bottom: 16px;
  text-shadow: 3px 3px 0px #bfdbfe;
}

/* Deskripsi Teks */
.hero-desc {
  max-width: 580px;
  margin: 0 auto 24px;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Tombol Aksi & Kursor Biru */
.hero-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
}

.btn.primary {
  background: #fbbf24;
  color: #78350f;
  box-shadow: 0 4px 0px #d97706;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0px #d97706;
}

.btn.ghost {
  background: #e2e8f0;
  color: #1e293b;
  box-shadow: 0 4px 0px #cbd5e1;
}

.btn.ghost:hover {
  transform: translateY(-2px);
}

/* Chips Label Kategori */
.hero-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chips span {
  background: #ffffff;
  border: 2px solid #2563eb;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.08);
}

/* ==========================================
   6 ELEMEN DEKORASI (UKURAN & POSISI REVISI EKSAT)
   ========================================== */
.deco {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

/* 1. Tablet & Headphone (1-a.png) -> Kiri Atas Out-of-Bounds */
.tablet-icon {
  top: -45px;
  left: -70px;
  width: 230px; /* Diperbesar dari 175px */
  transform: rotate(-14deg);
  z-index: 5;
}

/* 6. Kursor Pixel Biru (6-f.png) -> Samping Tombol Tentang Saya */
.cursor-blue {
  position: relative;
  width: 48px; /* Diperbesar dari 36px */
  height: auto;
  margin-left: 4px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Responsive Mobile */
@media (max-width: 868px) {
  .deco {
    display: none;
  }
  .paper-sheet {
    padding: 35px 20px 24px;
  }
}
/* ==========================================
   PERBAIKAN 4 ELEMEN (SESUAI ACUAN LINGKARAN HIJAU)
   ========================================== */

/* 1. Binder Clip Perak (Penjepit Atas) */
.binder-clip {
  top: -42px;
  left: 25%; /* Perbesar angkanya (misal dari 20% ke 25% atau 26%) agar makin geser ke kanan */
  width: 110px;
  z-index: 10;
}

/* 2. Geser stiker kucing agar keluar menggantung di pojok kanan atas */
.cat-icon {
  top: -25px;    /* Nilai minus diperbesar agar makin naik keluar kertas */
  right: -55px;  /* Nilai minus diperbesar agar makin geser ke kanan keluar kertas */
  width: 180px;
  transform: rotate(12deg);
  z-index: 10;
}

/* 3. Kamera 3D (Kiri Bawah) */
.camera-icon {
  bottom: 40px; /* Diturunkan sejajar dengan area tombol/chip bawah */
  left: -40px;  /* Digeser keluar ke sebelah kiri */
  width: 155px; /* Ukuran diperbesar */
  transform: rotate(-5deg);
  z-index: 5;
}

/* 4. Gantungan Kunci 3D (Kanan Bawah) */
.keychain-icon {
  bottom: -70px; /* Diturunkan menggantung di sudut kanan bawah */
  right: -50px;  /* Digeser lebih pas di pinggir kanan */
  width: 180px;  /* Ukuran diperbesar dan dipanjangkan */
  transform: rotate(2deg);
  z-index: 5;
}
/* ==========================================
   ANIMASI POP-IN UNTUK ELEMEN DEKORASI (A-F)
   ========================================== */

/* Pengaturan Dasar Animasi */
.deco {
  animation-duration: 0.6s;
  animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efek membal / bounce */
  animation-fill-mode: both; /* Menjaga kondisi awal sebelum animasi mulai */
}

/* Jeda Waktu Berurutan (Staggered Delay) */
.binder-clip   { animation-name: popClip;     animation-delay: 0.2s; } /* 5-e */
.tablet-icon   { animation-name: popTablet;   animation-delay: 0.4s; } /* 1-a */
.cat-icon      { animation-name: popCat;      animation-delay: 0.6s; } /* 3-c */
.camera-icon   { animation-name: popCamera;   animation-delay: 0.8s; } /* 2-b */
.keychain-icon { animation-name: popKeychain; animation-delay: 1.0s; } /* 4-d */
.cursor-blue   { animation-name: popCursor;   animation-delay: 1.2s; } /* 6-f */

/* Keyframes Spesifik Tiap Elemen (Menjaga Rotasi Masing-Masing) */

/* 1. Binder Clip (Penjepit Perak) */
@keyframes popClip {
  0%   { opacity: 0; transform: translateY(-30px) scale(0.6); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* 2. Tablet Pink (1-a) */
@keyframes popTablet {
  0%   { opacity: 0; transform: rotate(-14deg) scale(0.5) translateY(-20px); }
  100% { opacity: 1; transform: rotate(-14deg) scale(1) translateY(0); }
}

/* 3. Stiker Kucing (3-c) */
@keyframes popCat {
  0%   { opacity: 0; transform: rotate(12deg) scale(0.5) translateY(-20px); }
  100% { opacity: 1; transform: rotate(12deg) scale(1) translateY(0); }
}

/* 4. Kamera 3D (2-b) */
@keyframes popCamera {
  0%   { opacity: 0; transform: rotate(-5deg) scale(0.5) translateY(20px); }
  100% { opacity: 1; transform: rotate(-5deg) scale(1) translateY(0); }
}

/* 5. Gantungan Kunci (4-d) */
@keyframes popKeychain {
  0%   { opacity: 0; transform: rotate(2deg) scale(0.5) translateY(20px); }
  100% { opacity: 1; transform: rotate(2deg) scale(1) translateY(0); }
}

/* 6. Kursor Biru (6-f) */
@keyframes popCursor {
  0%   { opacity: 0; transform: scale(0.2); }
  100% { opacity: 1; transform: scale(1); }
}
/* ==========================================
   ANIMASI KERTAS & TEKS HERO (SYNCHRONIZED)
   ========================================== */

/* 1. Animasi Kertas Utama (Muncul Pertama) */
.paper-sheet {
  animation: popPaper 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: 0.1s;
}

/* 2. Animasi Bertahap untuk Teks & Tombol di Dalam Kertas */
.hero-content .eyebrow {
  animation: popUpText 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: 0.3s;
}

.hero-content .pixel-title {
  animation: popUpText 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: 0.4s;
}

.hero-content .hero-desc {
  animation: fadeUpText 0.6s ease both;
  animation-delay: 0.5s;
}

.hero-content .hero-actions {
  animation: popUpText 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: 0.6s;
}

.hero-content .hero-chips {
  animation: popUpText 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: 0.7s;
}

/* ==========================================
   KEYFRAMES KERTAS & KONTEN
   ========================================== */

/* Keyframe Kertas Utama (Membesar & Membal Pelan) */
@keyframes popPaper {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Keyframe Teks, Badge, & Tombol (Pop-Up) */
@keyframes popUpText {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(15px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Keyframe Deskripsi (Fade In Smooth) */
@keyframes fadeUpText {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ==========================================
   PERBAIKAN ID BADGE KUNING (GAYA SCRAPBOOK)
   ========================================== */

.id-badge {
  background: #fbbf24;
  border-radius: 20px;
  padding: 24px 18px 20px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.25), 0 4px 10px rgba(0, 0, 0, 0.08);
  transform: rotate(-3deg); /* Kemiringan alami gaya scrapbook */
  position: relative;
  border: 3px solid #f59e0b;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Efek Angkat saat Kursor Menempel */
.id-badge:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.02);
}

/* Klip Metal Atas */
.id-badge::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 14px;
  background: #cbd5e1;
  border: 2px solid #94a3b8;
  border-radius: 6px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

/* Lubang Tali Kartu di Dalam Klip Metal */
.id-badge::after {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 5px;
  background: #475569;
  border-radius: 10px;
  z-index: 3;
}

/* Bingkai Foto Putih */
.photo-frame {
  background: #ffffff;
  padding: 8px;
  border-radius: 14px;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.photo-frame img,
.photo-frame .profile-logo {
  width: 100%;
  height: 200px; /* Tinggi foto disesuaikan agar proporsional */
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Teks Nama & Subtitle */
.badge-info h3,
.profile-card h3 {
  font-family: 'Pixelify Sans', cursive, sans-serif;
  color: #78350f;
  font-size: 1.4rem;
  margin-bottom: 4px;
  line-height: 1.2;
}

.badge-info p,
.profile-card p {
  font-size: 0.85rem;
  color: #92400e;
  font-weight: 700;
}
/* ==========================================
   HALAMAN ABOUT (JOURNAL / SCRAPBOOK STYLE)
   ========================================== */
.about-page-main {
  padding: 40px 0 60px;
}

/* Wadah Utama Buku Jurnal Terbuka */
.journal-book {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: var(--shadow-paper);
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  padding: 40px;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background-image: 
    linear-gradient(90deg, #f8fafc 0%, #ffffff 5%, #ffffff 95%, #f8fafc 100%);
}

/* Garis Lipatan Buku di Tengah */
.journal-book::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 335px;
  width: 2px;
  background: linear-gradient(to bottom, transparent, #cbd5e1, transparent);
}

/* ------------------------------------------
   HALAMAN KIRI (POLAROID, PIN, & QR)
   ------------------------------------------ */
.journal-left {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Pin Paku Payung */
.push-pin {
  position: absolute;
  top: -20px;
  left: 15px;
  width: 45px;
  z-index: 10;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

/* Paperclip */
.paperclip {
  position: absolute;
  top: 25px;
  right: 10px;
  width: 35px;
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

/* Bingkai Polaroid Foto */
.polaroid-frame {
  background: #ffffff;
  padding: 12px 12px 20px;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: rotate(-3deg);
  width: 100%;
  border: 1px solid #e2e8f0;
  margin-top: 15px;
  margin-bottom: 24px;
}

.polaroid-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 4px;
}

.polaroid-caption {
  text-align: center;
  font-family: var(--font-pixel);
  font-size: 0.9rem;
  color: var(--mat-blue-dark);
  margin-top: 10px;
}

/* QR Code Group */
.qr-group {
  display: flex;
  gap: 12px;
  width: 100%;
}

.qr-card {
  flex: 1;
  background: #fffdf5;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transform: rotate(2deg);
}

.qr-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 6px;
}

.qr-card span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

/* ------------------------------------------
   HALAMAN KANAN (INTRO, EXP, EDU, SOFTWARE)
   ------------------------------------------ */
.journal-right {
  position: relative;
}

/* Amplop / Catatan Kontak Kanan Atas */
.contact-envelope {
  position: absolute;
  top: 0;
  right: 0;
  background: #fef08a;
  border: 2px solid #f59e0b;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.2);
  transform: rotate(3deg);
  max-width: 220px;
}

.envelope-tag {
  font-family: var(--font-pixel);
  font-size: 0.85rem;
  color: #78350f;
  font-weight: bold;
}

.contact-envelope p {
  font-size: 0.72rem;
  color: #92400e;
  line-height: 1.3;
}

/* Header Intro Nama */
.about-intro {
  margin-bottom: 28px;
  padding-right: 230px; /* Ruang untuk amplop kontak */
}

.greeting-sub {
  font-family: var(--font-pixel);
  font-size: 1.2rem;
  color: var(--mat-blue);
  display: block;
}

.greeting-name {
  font-family: var(--font-pixel);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--mat-blue-dark);
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 2px 2px 0px #bfdbfe;
}

.intro-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Badges Header Label */
.note-badge {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: 0.8rem;
  padding: 4px 14px;
  border-radius: 20px;
  color: #fff;
  margin-bottom: 12px;
}

.note-badge.green { background: #10b981; }
.note-badge.orange { background: #f97316; }
.note-badge.dark-green { background: #059669; }

/* Grid Content: Experience & Education */
.journal-grid-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

/* Sticky Note Experience */
.sticky-note.exp-note {
  background: #fef9c3;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border-left: 4px solid #eab308;
}

.timeline-list {
  list-style: none;
}

.timeline-list li {
  margin-bottom: 12px;
  font-size: 0.82rem;
}

.timeline-list li strong {
  color: #78350f;
  display: block;
}

.timeline-list li p {
  color: #a16207;
  font-size: 0.78rem;
  line-height: 1.3;
}

/* Card Education */
.edu-card {
  background: #f1f5f9;
  padding: 18px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.edu-card h3 {
  font-size: 1rem;
  color: var(--ink);
  margin-top: 4px;
}

.edu-sub {
  font-size: 0.85rem;
  color: var(--mat-blue-dark);
  font-weight: 600;
}

.edu-status {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Stiker Kertas Sobek Spesialisasi */
.spec-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-torn {
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 700;
  box-shadow: 2px 2px 0px rgba(0,0,0,0.15);
  transform: rotate(-2deg);
}

.badge-torn.blue { background: #93c5fd; color: #1e3a8a; }
.badge-torn.yellow { background: #fde047; color: #713f12; }
.badge-torn.green { background: #86efac; color: #14532d; }
.badge-torn.red { background: #fca5a5; color: #7f1d1d; }

/* Section Software Icons */
.software-section {
  background: #fffdf5;
  padding: 16px 20px;
  border-radius: 14px;
  border: 2px dashed #e2e8f0;
}

.software-grid {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.soft-icon {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.soft-icon:hover {
  transform: translateY(-4px) scale(1.1);
}

.soft-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive Mobile */
@media (max-width: 992px) {
  .journal-book {
    grid-template-columns: 1fr;
  }
  .journal-book::before {
    display: none;
  }
  .about-intro {
    padding-right: 0;
  }
  .contact-envelope {
    position: relative;
    max-width: 100%;
    margin-bottom: 20px;
    transform: rotate(0deg);
  }
  .journal-grid-content {
    grid-template-columns: 1fr;
  }
}
/* ==========================================
   PERBAIKAN POSISI PIN & KLIP POLAROID
   ========================================== */

/* Pin Paku Payung (Menancap di Pojok Kiri Atas Bingkai) */
.push-pin {
  position: absolute;
  top: 10px;       /* Diturunkan dari -20px agar menancap di area putih bingkai */
  left: -5px;     /* Digeser agar pas berada di sudut kiri foto */
  width: 42px;
  z-index: 10;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

/* Klip Kertas Perak (Menjepit Tepi Kanan Atas Bingkai) */
.paperclip {
  position: absolute;
  top: -15px;     /* Dinaikkan dari 25px agar menjepit pinggir atas kertas */
  right: 5px;    /* Digeser ke sudut kanan luar bingkai */
  width: 50px;
  z-index: 10;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.2));
}
/* ==========================================
   PERBAIKAN BINGKAI & FOTO POLAROID
   ========================================== */
.journal-left {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.polaroid-frame {
  position: relative;
  background: #ffffff;
  padding: 12px 12px 18px;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  transform: rotate(-3deg);
  width: 100%;
  border: 1px solid #e2e8f0;
  margin-top: 10px;
  margin-bottom: 24px;
}

/* Foto Pas Bingkai & Fokus ke Wajah */
.polaroid-img {
  width: 100%;
  height: 250px; /* Tinggi disesuaikan agar proporsional */
  object-fit: cover;
  object-position: center top; /* Memastikan area wajah pas di tengah */
  border-radius: 4px;
  display: block;
}

/* Pin Paku Payung Kiri Atas Bingkai */
.push-pin {
  position: absolute;
  top: -12px;
  left: -8px;
  width: 38px;
  z-index: 10;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

/* Klip Perak Kanan Atas Bingkai */
.paperclip {
  position: absolute;
  top: -14px;
  right: -6px;
  width: 34px;
  z-index: 10;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.2));
}


/* ==========================================
   ANIMASI POP-IN BERURUTAN (HALAMAN ABOUT)
   ========================================== */

/* Keyframe Pop-In Membal Umum */
@keyframes popInBounce {
  0% {
    opacity: 0;
    transform: scale(0.82) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Keyframe Polaroid (Tetap Menjaga Rotasi -3deg) */
@keyframes popPolaroid {
  0% {
    opacity: 0;
    transform: rotate(-3deg) scale(0.82) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: rotate(-3deg) scale(1) translateY(0);
  }
}

/* Keyframe Amplop Kontak (Tetap Menjaga Rotasi 3deg) */
@keyframes popEnvelope {
  0% {
    opacity: 0;
    transform: rotate(3deg) scale(0.8) translateY(-15px);
  }
  100% {
    opacity: 1;
    transform: rotate(3deg) scale(1) translateY(0);
  }
}

/* Penerapan Delay Berurutan (Staggered) */
.journal-book {
  animation: popInBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: 0.1s;
}

.polaroid-frame {
  animation: popPolaroid 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: 0.25s;
}

.push-pin,
.paperclip {
  animation: popInBounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: 0.4s;
}

.about-intro {
  animation: popInBounce 0.5s ease-out both;
  animation-delay: 0.3s;
}

.contact-envelope {
  animation: popEnvelope 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: 0.45s;
}

.qr-card:nth-child(1) {
  animation: popInBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: 0.5s;
}

.qr-card:nth-child(2) {
  animation: popInBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: 0.6s;
}

.sticky-note.exp-note {
  animation: popInBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: 0.65s;
}

.edu-card {
  animation: popInBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: 0.75s;
}

.software-section {
  animation: popInBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: 0.85s;
}
/* ==========================================
   PERBAIKAN FOTO POLAROID & PIN/KLIP
   ========================================== */

.polaroid-frame {
  position: relative;
  background: #ffffff;
  padding: 14px 14px 22px; /* Margin putih sekeliling foto */
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  transform: rotate(-3deg);
  width: 100%;
  border: 1px solid #e2e8f0;
  margin-top: 15px;
  margin-bottom: 24px;
}

/* Foto Menggunakan Aspect Ratio Pas & Fokus Diturunkan */
.polaroid-img {
  width: 100%;
  aspect-ratio: 1 / 1; /* Bikin bingkai foto persegi ala Polaroid */
  object-fit: cover;
  object-position: center 75%; /* Menurunkan fokus gambar agar wajah & badan naik seimbang */
  border-radius: 4px;
  display: block;
}

/* Pin Paku Payung Biru (Di Atas Pinggir Kertas) */
.push-pin {
  position: absolute;
  top: -14px;
  left: -10px;
  width: 42px;
  z-index: 10;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
}

/* Klip Perak (Di Atas Pinggir Kertas Kanan) */
.paperclip {
  position: absolute;
  top: -12px;
  right: -8px;
  width: 36px;
  z-index: 10;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.2));
}
.polaroid-img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  object-position: center 25%; /* Mengatur titik fokus agar kepala dan bahu pas di tengah */
  border-radius: 4px;
  display: block;
}
/* ==========================================
   CSS PRINT (PENGATURAN PDF A4)
   ========================================== */
@media print {
  /* Atur Ukuran Kertas ke A4 */
  @page {
    size: A4 portrait;
    margin: 10mm;
  }

  /* Sembunyikan Elemen Antarmuka Web */
  .navbar,
  .footer,
  .back-top,
  .btn,
  .scroll-hint {
    display: none !important;
  }

  /* Sesuaikan Area Utama agar Muat di Satu Lembar A4 */
  body {
    background: #ffffff !important;
    padding: 0 !important;
  }

  .about-page-main {
    padding: 0 !important;
  }

  .journal-book {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    grid-template-columns: 280px 1fr !important;
    gap: 20px !important;
  }

  /* Memastikan Warna Background & Gambar Ikut Tercetak */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}
/* ==========================================
   HALAMAN CONTACT (SCRAPBOOK STYLE)
   ========================================== */

/* Frame Logo Pengganti Polaroid */
.logo-frame {
  position: relative;
  background: #ffffff;
  padding: 20px 14px 16px;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  transform: rotate(-2deg);
  width: 100%;
  border: 2px dashed #cbd5e1;
  margin-top: 10px;
  margin-bottom: 20px;
  text-align: center;
}

.logo-box {
  background: #f8fafc;
  border-radius: 8px;
  padding: 16px 10px;
  border: 1px solid #e2e8f0;
}

.contact-logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 8px;
  display: block;
}

.logo-badge-title {
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  color: var(--mat-blue-dark);
  letter-spacing: 1px;
  display: block;
}

/* Sticky Note Connect */
.sticky-note.connect-note {
  background: #fef9c3;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  border-left: 4px solid #eab308;
  margin-bottom: 20px;
  transform: rotate(1deg);
}

.sticky-text {
  font-size: 0.8rem;
  color: #854d0e;
  line-height: 1.45;
}

/* Contact Links List */
.contact-links-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-item:hover {
  transform: translateX(4px);
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.contact-icon {
  font-size: 1.1rem;
  font-weight: bold;
  color: #2563eb;
  background: #eff6ff;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.82rem;
  color: #1e293b;
}

.contact-item p {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
  word-break: break-all;
}

/* Form Kirim Pesan */
.contact-form-card {
  background: #fffdf5;
  border: 2px solid #cbd5e1;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.form-title {
  font-family: var(--font-pixel);
  font-size: 1.3rem;
  color: #1e3a8a;
  margin-bottom: 4px;
}

.form-subtitle {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 18px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
}

.form-control {
  font-family: inherit;
  font-size: 0.85rem;
  padding: 10px 14px;
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: #1e293b;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.submit-btn {
  align-self: flex-start;
  cursor: pointer;
  margin-top: 6px;
}

/* Card CTA Portfolio */
.portfolio-cta-card {
  background: #f1f5f9;
  border-radius: 16px;
  padding: 20px;
  border-left: 5px solid #2563eb;
}

.portfolio-cta-card h3 {
  font-size: 1.05rem;
  color: #1e293b;
  margin-top: 4px;
  margin-bottom: 6px;
}

.portfolio-cta-card p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 14px;
}

.cta-actions {
  display: flex;
  gap: 10px;
}

/* Responsive Mobile */
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .cta-actions {
    flex-direction: column;
  }
}
/* ==========================================
   ANIMASI POP-IN BERURUTAN (HALAMAN CONTACT)
   ========================================== */

/* Keyframe Khusus Frame Logo (Menjaga Rotasi -2deg) */
@keyframes popLogoFrame {
  0% {
    opacity: 0;
    transform: rotate(-2deg) scale(0.82) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: rotate(-2deg) scale(1) translateY(0);
  }
}

/* Keyframe Khusus Sticky Note Connect (Menjaga Rotasi 1deg) */
@keyframes popConnectNote {
  0% {
    opacity: 0;
    transform: rotate(1deg) scale(0.82) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: rotate(1deg) scale(1) translateY(0);
  }
}

/* Penjadwalan Waktu Masing-masing Elemen (Staggered Delay) */
.logo-frame {
  animation: popLogoFrame 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: 0.25s;
}

.logo-frame .push-pin,
.logo-frame .paperclip {
  animation: popInBounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: 0.4s;
}

.sticky-note.connect-note {
  animation: popConnectNote 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: 0.5s;
}

/* Animasi Bertahap Kartu Kontak Direct (Email, WA, IG, GitHub) */
.contact-links-card .contact-item {
  animation: popInBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.contact-links-card .contact-item:nth-child(1) { animation-delay: 0.6s; }
.contact-links-card .contact-item:nth-child(2) { animation-delay: 0.68s; }
.contact-links-card .contact-item:nth-child(3) { animation-delay: 0.76s; }
.contact-links-card .contact-item:nth-child(4) { animation-delay: 0.84s; }

/* Animasi Sisi Kanan (Form & CTA Portfolio) */
.contact-form-card {
  animation: popInBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: 0.55s;
}

.portfolio-cta-card {
  animation: popInBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: 0.7s;
}
/* ==========================================
   HALAMAN KATEGORI PROYEK (UI/UX)
   ========================================== */
.category-page-main {
  padding: 40px 0 60px;
}

/* Paper Hero Atas */
.category-hero-paper {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 50px;
  box-shadow: var(--shadow-paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
  animation: popInBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.category-hero-content {
  max-width: 520px;
}

.category-title {
  font-family: var(--font-pixel);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  color: var(--mat-blue-dark);
  line-height: 1;
  margin: 10px 0 14px;
  text-shadow: 2px 2px 0px #bfdbfe;
}

.category-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.category-actions {
  display: flex;
  gap: 12px;
}

.category-hero-visual {
  flex-shrink: 0;
}

.hero-3d-icon {
  width: 220px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(37, 99, 235, 0.2));
  animation: popInBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: 0.2s;
}

/* Grid Proyek */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Kartu Proyek Individual */
.project-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border: 2px solid #e2e8f0;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  animation: popInBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.projects-grid .project-card:nth-child(1) { animation-delay: 0.3s; }
.projects-grid .project-card:nth-child(2) { animation-delay: 0.4s; }
.projects-grid .project-card:nth-child(3) { animation-delay: 0.5s; }

.project-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #2563eb;
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.15);
}

/* Thumbnail Gambar Proyek */
.project-thumb {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
  aspect-ratio: 4 / 3;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.06);
}

/* Judul Proyek di Bawah Gambar */
.project-info {
  padding: 14px 6px 6px;
}

.project-info h3 {
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.3;
  transition: color 0.2s ease;
}

.project-card:hover .project-info h3 {
  color: var(--mat-blue);
}

/* Badge Warna Biru khusus UI/UX */
.note-badge.blue {
  background: #2563eb;
  color: #ffffff;
}

/* Responsive Grid Mobile */
@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .category-hero-paper {
    flex-direction: column;
    padding: 24px;
    text-align: center;
  }
  .category-actions {
    justify-content: center;
  }
  .hero-3d-icon {
    width: 140px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================================
   HALAMAN DETAIL UI/UX CASE STUDY (KADERSIGAP)
   ========================================== */

/* 1. Detail Hero Panel */
.detail-hero {
  padding: 30px 0 20px;
}

.detail-hero-panel {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-paper, 0 10px 30px rgba(0,0,0,0.08));
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  animation: popInBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.detail-category {
  display: inline-block;
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 0.85rem;
  background: #2563eb;
  color: #ffffff;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.detail-hero-copy h1 {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--mat-blue-dark, #1e3a8a);
  line-height: 1.1;
  margin-bottom: 14px;
  text-shadow: 2px 2px 0px #bfdbfe;
}

.detail-hero-copy p {
  font-size: 0.95rem;
  color: var(--muted, #64748b);
  line-height: 1.6;
  margin-bottom: 24px;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #f8fafc;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.detail-meta-grid span {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 2px;
}

.detail-meta-grid strong {
  display: block;
  font-size: 0.88rem;
  color: #1e293b;
}

.detail-actions {
  display: flex;
  gap: 12px;
}

.detail-hero-visual img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 2. Project Cover Section */
.detail-cover-section {
  padding: 16px 0 24px;
}

.detail-cover {
  background: #fffdf5;
  border: 2px dashed #cbd5e1;
  border-radius: 20px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.detail-cover-text span {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 0.85rem;
  color: #d97706;
  font-weight: bold;
}

.detail-cover-text h2 {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 1.8rem;
  color: #78350f;
  margin: 4px 0 10px;
}

.detail-cover-text p {
  font-size: 0.9rem;
  color: #92400e;
  line-height: 1.55;
  margin: 0;
}

.detail-cover-logo img {
  width: 90px;
  height: auto;
  opacity: 0.9;
}

/* 3. Section Common Styles & Intro Cards */
.section.compact {
  padding: 24px 0;
}

.detail-section-title {
  margin-bottom: 20px;
}

.detail-section-title.center {
  text-align: center;
}

.detail-section-title .eyebrow {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 0.85rem;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.detail-section-title h2 {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 1.8rem;
  color: #1e293b;
  margin: 4px 0 8px;
}

.detail-section-title p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.detail-info-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px;
  border: 2px solid #e2e8f0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.detail-info-card h3 {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 1.2rem;
  color: #1e3a8a;
  margin-bottom: 8px;
}

.detail-info-card p {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* 4. UX Process Grid */
.ux-process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.ux-process-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 14px;
  border: 2px solid #e2e8f0;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ux-process-card:hover {
  transform: translateY(-4px);
  border-color: #2563eb;
}

.ux-process-card .feature-icon {
  width: 36px;
  height: 36px;
  background: #eff6ff;
  color: #2563eb;
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 0.95rem;
  font-weight: bold;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.ux-process-card h3 {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 1rem;
  color: #1e293b;
  margin-bottom: 6px;
}

.ux-process-card p {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

/* 5. Phone Showcase */
.phone-showcase {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.phone-screen {
  background: #ffffff;
  border-radius: 18px;
  padding: 10px;
  border: 2px solid #e2e8f0;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.phone-screen:hover {
  transform: translateY(-6px);
  border-color: #2563eb;
}

.phone-screen img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  display: block;
  margin-bottom: 8px;
}

.phone-screen span {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 0.85rem;
  color: #1e3a8a;
  font-weight: bold;
}

/* 6. Design System Panel */
.style-guide-panel {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  border: 2px dashed #cbd5e1;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: center;
}

.ux-component-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.ux-component-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ux-component-card span {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
}

.status-pill {
  display: inline-block;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: bold;
  text-align: center;
  width: fit-content;
}

.status-safe { background: #dcfce7; color: #15803d; }
.status-warning { background: #fef3c7; color: #b45309; }

.fake-input {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  color: #94a3b8;
}

.fake-data-card {
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.fake-data-card strong { font-size: 0.82rem; color: #1e293b; display: block; }
.fake-data-card p { font-size: 0.75rem; color: #2563eb; font-weight: bold; margin: 0; }

/* 7. Features Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  border: 2px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.feature-card .feature-icon {
  width: 32px;
  height: 32px;
  background: #dbeafe;
  color: #1e40af;
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 0.85rem;
  font-weight: bold;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 1.1rem;
  color: #1e293b;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

/* 8. Result Panel */
.result-panel {
  background: #eff6ff;
  border-radius: 20px;
  padding: 36px;
  border: 2px solid #bfdbfe;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.result-panel h2 {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 2rem;
  color: #1e3a8a;
  margin-bottom: 10px;
}

.result-panel p {
  font-size: 0.92rem;
  color: #1e40af;
  line-height: 1.6;
  margin-bottom: 24px;
}

.result-panel .detail-actions {
  justify-content: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .detail-hero-panel {
    grid-template-columns: 1fr;
  }
  .detail-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-info-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ux-process-grid,
  .phone-showcase {
    grid-template-columns: repeat(3, 1fr);
  }
  .style-guide-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .detail-cover {
    flex-direction: column;
    text-align: center;
  }
  .detail-info-grid,
  .feature-grid,
  .ux-process-grid,
  .phone-showcase,
  .ux-component-grid {
    grid-template-columns: 1fr;
  }
  .detail-meta-grid {
    grid-template-columns: 1fr;
  }
  .detail-actions {
    flex-direction: column;
  }
}
/* ==========================================
   PERBAIKAN WARNA TEKS DETAIL SECTION (KONTRAS TINGGI)
   ========================================== */

.detail-section-title .eyebrow {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 0.9rem;
  color: #fef08a; /* Kuning cerah khas scrapbook agar kontras */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.detail-section-title h2 {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 1.8rem;
  color: #000000; /* Putih terang agar judul terbaca jelas */
  margin: 4px 0 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.detail-section-title p {
  font-size: 0.92rem;
  color: #eff6ff; /* Putih kebiruan lembut agar sangat kontras dengan matras */
  margin: 0;
}
/* Badge Warna Orange untuk Branding & Identity */
.note-badge.orange {
  background: #f97316;
  color: #ffffff;
}
/* ==========================================
   HALAMAN DETAIL BRANDING & LOGO
   ========================================== */

/* 1. Hero Logo Section */
.logo-detail-hero {
  padding: 30px 0 20px;
}

.logo-hero-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 30px;
  align-items: stretch;
}

.logo-hero-brand {
  background: #ffffff;
  border-radius: 24px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-paper, 0 10px 30px rgba(0,0,0,0.08));
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-main-display {
  background: #f8fafc;
  border-radius: 18px;
  padding: 24px;
  border: 2px dashed #cbd5e1;
  margin: 16px 0;
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-main-display img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-hero-brand h1 {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 1.8rem;
  color: var(--mat-blue-dark, #1e3a8a);
  margin-bottom: 2px;
}

.logo-tagline {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
  margin: 0;
}

/* Panel Brand Purpose (Sisi Kanan) */
.logo-hero-info {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-paper, 0 10px 30px rgba(0,0,0,0.08));
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-hero-info .eyebrow {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 0.85rem;
  color: #f97316;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-hero-info h2 {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 1.8rem;
  color: #1e293b;
  margin: 6px 0 12px;
  line-height: 1.25;
}

.logo-hero-info p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
}

.brand-value-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.brand-value-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
}

.brand-value-item span {
  font-size: 1.1rem;
  color: #2563eb;
  display: block;
  margin-bottom: 2px;
}

.brand-value-item strong {
  display: block;
  font-size: 0.82rem;
  color: #1e293b;
}

.brand-value-item small {
  font-size: 0.7rem;
  color: #64748b;
}

/* 2. Logo Breakdown & Color Palette */
.logo-guideline-section {
  padding: 18px 0;
}

.logo-guideline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.logo-guideline-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  border: 2px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.logo-section-head {
  margin-bottom: 20px;
}

.logo-section-head h2 {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 1.5rem;
  color: #1e3a8a;
  margin: 0 0 2px;
}

.logo-section-head span {
  font-size: 0.8rem;
  color: #f97316;
  font-weight: 700;
  text-transform: uppercase;
}

.logo-breakdown-wrap {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: center;
}

.logo-breakdown-image {
  background: #f1f5f9;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.logo-breakdown-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.logo-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.logo-breakdown-list strong {
  font-size: 0.85rem;
  color: #1e293b;
  display: block;
}

.logo-breakdown-list p {
  font-size: 0.78rem;
  color: #64748b;
  margin: 2px 0 0;
  line-height: 1.4;
}

/* Color Swatches Grid */
.logo-color-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.logo-color-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}

.logo-color-item span {
  display: block;
  width: 100%;
  height: 48px;
  border-radius: 8px;
  margin-bottom: 8px;
  border: 1px solid rgba(0,0,0,0.1);
}

.logo-color-item strong {
  display: block;
  font-size: 0.8rem;
  color: #1e293b;
}

.logo-color-item small {
  font-size: 0.72rem;
  color: #64748b;
  font-family: monospace;
}

/* 3. Brand Applications Section */
.logo-section-title {
  margin-bottom: 20px;
}

.logo-section-title .eyebrow {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 0.85rem;
  color: #fef08a;
  text-transform: uppercase;
}

.logo-section-title h2 {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 1.8rem;
  color: #ffffff;
  margin: 4px 0;
}

.logo-section-title p {
  font-size: 0.9rem;
  color: #eff6ff;
  margin: 0;
}

.brand-application-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.brand-app-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px;
  border: 2px solid #e2e8f0;
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.brand-app-card:hover {
  transform: translateY(-4px);
  border-color: #2563eb;
}

.brand-app-preview {
  background: #f1f5f9;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 12px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-app-preview img {
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
}

.brand-card-preview { background: #1e293b; }
.brand-laptop-preview { background: #eff6ff; }
.brand-sticker-preview { background: #fef3c7; }
.brand-box-preview { background: #0f172a; }
.brand-social-preview { background: #2563eb; }

.brand-app-card h3 {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 1.05rem;
  color: #1e293b;
  margin-bottom: 4px;
}

.brand-app-card p {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* 4. Typography & Variations */
.logo-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.typography-preview h3 {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 1.8rem;
  color: #2563eb;
  margin-bottom: 8px;
}

.typography-preview p {
  font-family: sans-serif;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 12px;
}

.typography-preview small {
  font-size: 0.78rem;
  color: #64748b;
  display: block;
}

.logo-variation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.logo-variation-item {
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.logo-variation-dark { background: #0f172a; color: #ffffff; }
.logo-variation-soft { background: #eff6ff; }
.logo-variation-mark { background: #fef3c7; }

.logo-variation-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin: 0 auto 8px;
  display: block;
}

.logo-variation-item span {
  font-size: 0.78rem;
  font-weight: bold;
}

/* Responsive Layout */
@media (max-width: 992px) {
  .logo-hero-grid,
  .logo-guideline-grid,
  .logo-bottom-grid {
    grid-template-columns: 1fr;
  }
  .brand-application-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-value-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .brand-application-grid,
  .logo-breakdown-wrap,
  .logo-color-grid,
  .logo-variation-grid,
  .brand-value-row {
    grid-template-columns: 1fr;
  }
}
/* ==========================================
   MOODBOARD SCRAPBOOK ORGANIK (DIGITAL CONTENT)
   ========================================== */

.organic-moodboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px 30px;
  position: relative;
  padding: 10px;
}

/* Kartu Gaya Menempel di Papan (Moodboard) */
.moodboard-item {
  background: #ffffff;
  border-radius: 8px;
  padding: 14px 14px 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  border: 1px solid #e2e8f0;
  text-decoration: none;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Variasi Posisi & Kemiringan Organik ala Referensi */
.pos-1 { transform: rotate(-2.5deg); margin-top: 0px; }
.pos-2 { transform: rotate(1.8deg); margin-top: 25px; }
.pos-3 { transform: rotate(-1.2deg); margin-top: 10px; }
.pos-4 { transform: rotate(2.2deg); margin-top: -15px; }
.pos-5 { transform: rotate(-2deg); margin-top: 15px; }
.pos-6 { transform: rotate(1.2deg); margin-top: -5px; }

.moodboard-item:hover {
  transform: translateY(-8px) rotate(0deg) scale(1.02);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
  z-index: 10;
}

/* Label Sticky Note Kuning Kecil di Atas Kartu (Seperti Referensi) */
.sticky-project-tag {
  position: absolute;
  top: -18px;
  left: 12px;
  background: #fef08a;
  color: #78350f;
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  border-left: 3px solid #eab308;
  z-index: 6;
  transform: rotate(-3deg);
}

/* Paku & Klip Penjepit */
.board-pin {
  position: absolute;
  top: -12px;
  right: 18px;
  width: 26px;
  z-index: 6;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,0.25));
}

.board-clip {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  z-index: 6;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,0.2));
}

/* Frame Foto Menyesuaikan Ukuran Asli Gambar */
.board-photo {
  width: 100%;
  min-height: 240px;
  background: #f8fafc;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.board-photo img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.moodboard-item:hover .board-photo img {
  transform: scale(1.03);
}

/* Keterangan Teks di Bawah */
.board-caption {
  padding: 12px 4px 2px;
}

.board-caption h3 {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 1.05rem;
  color: var(--ink, #1e293b);
  margin-bottom: 2px;
  transition: color 0.2s ease;
}

.moodboard-item:hover .board-caption h3 {
  color: #2563eb;
}

.board-caption span {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  display: block;
}

/* Responsif Mobile & Tablet */
@media (max-width: 992px) {
  .organic-moodboard {
    grid-template-columns: repeat(2, 1fr);
  }
  .moodboard-item {
    transform: rotate(0deg) !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 640px) {
  .organic-moodboard {
    grid-template-columns: 1fr;
  }
}
/* ==========================================
   PERBAIKAN TATA LETAK MOODBOARD DIGITAL CONTENT
   ========================================== */

.scrapbook-board {
  position: relative;
  background: #fffdf5;
  border-radius: 24px;
  padding: 60px 30px 40px; /* Padding atas diperbesar agar ada ruang untuk stiker */
  border: 2px dashed #cbd5e1;
  box-shadow: 0 12px 32px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.organic-moodboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 30px; /* Jarak vertikal diperlebar agar kartu tidak saling tumpuk */
  position: relative;
}

/* Kartu Gaya Menempel di Papan (Moodboard) */
.moodboard-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 16px 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border: 1px solid #e2e8f0;
  text-decoration: none;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 10px; /* Ruang aman untuk stiker judul */
}

/* Variasi Posisi & Kemiringan Organik */
.pos-1 { transform: rotate(-2deg); }
.pos-2 { transform: rotate(1.5deg); }
.pos-3 { transform: rotate(-1deg); }
.pos-4 { transform: rotate(2deg); }
.pos-5 { transform: rotate(-1.5deg); }
.pos-6 { transform: rotate(1deg); }

.moodboard-item:hover {
  transform: translateY(-6px) rotate(0deg) scale(1.02);
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.18);
  z-index: 10;
}

/* Label Sticky Note Kuning Nama Proyek di Atas Kartu */
.sticky-project-tag {
  position: absolute;
  top: -15px;
  left: 14px;
  background: #fef08a;
  color: #78350f;
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-left: 3px solid #eab308;
  z-index: 6;
  transform: rotate(-3deg);
}

/* Paku & Klip Penjepit */
.board-pin {
  position: absolute;
  top: -12px;
  right: 16px;
  width: 26px;
  z-index: 6;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,0.25));
}

.board-clip {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  z-index: 6;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,0.2));
}

/* Frame Foto Proporsional */
.board-photo {
  width: 100%;
  min-height: 220px;
  background: #f8fafc;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.board-photo img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.moodboard-item:hover .board-photo img {
  transform: scale(1.03);
}

/* Keterangan Teks di Bawah */
.board-caption {
  padding: 14px 4px 2px;
}

.board-caption h3 {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 1.05rem;
  color: var(--ink, #1e293b);
  margin-bottom: 2px;
  transition: color 0.2s ease;
}

.moodboard-item:hover .board-caption h3 {
  color: #2563eb;
}

.board-caption span {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  display: block;
}

/* Responsif Mobile & Tablet */
@media (max-width: 992px) {
  .organic-moodboard {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
  .moodboard-item {
    transform: rotate(0deg) !important;
  }
}

@media (max-width: 640px) {
  .organic-moodboard {
    grid-template-columns: 1fr;
  }
}
.scrapbook-footer-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 30px auto 0;
  width: fit-content;
}
.sticky-project-tag {
  position: absolute;
  top: 18px;
  left: 24px;
  background: #fef08a;
  color: #78350f;
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 0.85rem;
  padding: 5px 14px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-left: 3px solid #eab308;
  z-index: 10;
  transform: rotate(-3deg);
}
/* ==========================================
   OVERLAPPING STACKED CAROUSEL (PHOTOGRAPHY)
   ========================================== */

.photo-horizontal-section {
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
}

.photo-slider-container {
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  padding: 40px 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.photo-slider-container::-webkit-scrollbar {
  display: none;
}

.photo-slider-track {
  display: inline-flex;
  align-items: center;
  padding: 0 calc(50vw - 130px);
}

/* Kartu Foto Saling Dempet (Overlapping Margin Negatif) */
.photo-card {
  display: inline-block;
  width: 260px;
  background: #ffffff;
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  scroll-snap-align: center;
  margin-left: -50px; /* Efek berdempet / menumpuk */
  transform: scale(0.75);
  opacity: 0.45;
  filter: brightness(0.6) blur(1px);
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              opacity 0.4s ease, 
              filter 0.4s ease, 
              margin 0.4s ease,
              box-shadow 0.4s ease;
  white-space: normal;
}

.photo-card:first-child {
  margin-left: 0;
}

/* Kartu Tengah Aktif (Paling Depan & Menonjol) */
.photo-card.is-center {
  transform: scale(1.18);
  opacity: 1;
  filter: brightness(1) blur(0px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.4), 0 0 25px rgba(37, 99, 235, 0.35);
  border-color: #2563eb;
  z-index: 20;
  margin-left: -15px;
  margin-right: -15px;
}

.photo-card-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
}

.photo-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-card.is-center .photo-card-img img {
  transform: scale(1.04);
}

.slider-hint {
  text-align: center;
  font-size: 0.85rem;
  color: #eff6ff;
  margin-top: 15px;
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  letter-spacing: 1px;
}

/* Badge Warna Ungu */
.note-badge.purple {
  background: #7c3aed;
  color: #ffffff;
}
/* ==========================================
   MODAL POP-UP DETAIL FOTO PHOTOGRAPHY
   ========================================== */
.photo-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 24, 79, 0.8);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.photo-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.photo-modal-content {
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 35px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.photo-modal-overlay.active .photo-modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  transition: background 0.2s;
  z-index: 10;
}

.modal-close:hover {
  background: #e2e8f0;
}

.modal-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.modal-main-view {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
  margin-bottom: 12px;
}

.modal-main-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-thumbnails {
  display: flex;
  gap: 10px;
}

.modal-thumbnails img {
  width: calc(33.333% - 7px);
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.modal-thumbnails img.active,
.modal-thumbnails img:hover {
  border-color: #2563eb;
  opacity: 1;
}

.modal-info-panel .modal-badge {
  display: inline-block;
  font-size: 0.75rem;
  background: #ede9fe;
  color: #7c3aed;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.modal-info-panel h2 {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 1.6rem;
  color: #1e293b;
  margin-bottom: 8px;
}

.modal-info-panel p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 20px;
}

.meta-info-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #f8fafc;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-item strong {
  font-size: 0.78rem;
  color: #1e293b;
  margin-bottom: 2px;
}

.meta-item span {
  font-size: 0.82rem;
  color: #475569;
}

@media (max-width: 768px) {
  .modal-body-grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================================
   PANEL BACKGROUND GALERI FOTOGRAFI
   ========================================== */

.photo-gallery-board {
  position: relative;
  background: rgba(15, 23, 42, 0.88); /* Panel gelap sinematik */
  border-radius: 28px;
  padding: 40px 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  margin-top: 10px;
}

.photo-horizontal-section {
  width: 100%;
  padding: 10px 0 20px;
}

.slider-hint {
  text-align: center;
  font-size: 0.82rem;
  color: #93c5fd;
  margin-top: 20px;
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  letter-spacing: 1px;
}
/* ==========================================
   TOMBOL FILTER TAHUN PHOTOGRAPHY
   ========================================== */

.photo-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: rgba(37, 99, 235, 0.4);
  border-color: #2563eb;
}

.filter-btn.active {
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.5);
}
/* ==========================================
   HALAMAN SEMUA KARYA & FILTER SORTING
   ========================================== */

.portfolio-filter-section {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.filter-controls {
  display: inline-flex;
  background: #ffffff;
  padding: 6px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
  gap: 8px;
}

.filter-sort-btn {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  background: transparent;
  color: #64748b;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.82rem;
  transition: all 0.3s ease;
}

.filter-sort-btn:hover {
  color: #2563eb;
}

.filter-sort-btn.active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Grid Kartu Proyek Gabungan */
.all-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portfolio-item-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 12px 12px 16px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.portfolio-item-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.18);
  border-color: #2563eb;
}

.portfolio-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
}

.portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-item-card:hover .portfolio-card-img img {
  transform: scale(1.04);
}

.portfolio-category-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-card-info {
  padding: 12px 4px 2px;
}

.portfolio-card-info h3 {
  font-family: var(--font-pixel, 'Pixelify Sans', cursive);
  font-size: 1.05rem;
  color: #1e293b;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.portfolio-item-card:hover .portfolio-card-info h3 {
  color: #2563eb;
}

.portfolio-card-info span {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

/* Responsif Mobile & Tablet */
@media (max-width: 992px) {
  .all-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .all-projects-grid {
    grid-template-columns: 1fr;
  }
}