:root {
  --bg: #121214;
  --text-white: #ffffff;
  --text-dim: #8b8b93;
}

html {
  background-color: var(--bg) !important;
  touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg) !important;
  color: var(--text-white);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  line-height: 1.4;
  position: relative;
  padding-bottom: calc(30px + env(safe-area-inset-bottom));
}

.bg-ambient-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image: 
    radial-gradient(circle at 50% 120px, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 35% 280px, rgba(200, 220, 255, 0.03) 0%, transparent 45%);
}

.serif-italic {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.01em;
}

/* ========================================================
   TOP GLASS NAVIGATION BAR
   ======================================================== */
.header-bar {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top));
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.pill-wrapper {
  position: relative;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  z-index: 101;
}

.top-light-pip {
  position: absolute;
  top: -2px;
  left: 42px;
  width: 18px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 -2px 6px 1px rgba(255, 255, 255, 0.25);
  transition: left 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
}

.nav-capsule {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(30, 30, 32, 0.65);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 4px;
  height: 48px;
  box-shadow: 
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.45);
}

.active-bg-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 76px;
  height: 38px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 
    inset 0 1px 1.5px rgba(255, 255, 255, 0.22),
    inset 0 -1px 1px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}

.nav-tab {
  position: relative;
  z-index: 2;
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  width: 76px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  cursor: pointer;
  transition: color 0.2s ease;
  user-select: none;
}

.nav-tab.active {
  color: #ffffff;
}

.header-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
  position: relative;
  z-index: 105;
}

.action-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(30, 30, 32, 0.65);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.action-btn:hover {
  background: rgba(45, 45, 50, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
}

.action-btn:active {
  transform: scale(0.92);
}

.action-btn svg {
  width: 20px;
  height: 20px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.popover-menu {
  position: fixed;
  top: calc(70px + env(safe-area-inset-top));
  z-index: 106;
  background: rgba(28, 28, 30, 0.88);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 6px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  pointer-events: none;
  transition: all 0.2s ease;
}

.popover-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#popoverMenu {
  right: 18px;
  width: 195px;
}

#popoverMenu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  transition: background 0.15s;
}

#popoverMenu a:hover {
  background: rgba(255, 255, 255, 0.08);
}

#langPopoverMenu {
  right: 74px;
  width: 175px;
}

.lang-item-btn {
  width: 100%;
  border: none;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.15s;
}

.lang-item-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lang-item-btn.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.lang-check {
  font-size: 14px;
  color: #ffffff;
  opacity: 0;
}

.lang-item-btn.active .lang-check {
  opacity: 1;
}

.bottom-floating-controls {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom));
  right: 18px;
  z-index: 105;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.floating-glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(30, 30, 34, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.floating-glass-btn:active {
  transform: scale(0.92);
}

.floating-glass-btn svg {
  width: 19px;
  height: 19px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.bottom-floating-controls {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom));
  right: 18px;
  z-index: 105;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.floating-glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(30, 30, 34, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.3s ease, border-color 0.2s ease;
}

/* Saat awal (scroll < 250px), geser tombol AI ke bawah (tinggi tombol 46px + gap 12px = 58px) */
#aiChatBtn {
  transform: translateY(58px);
}

/* Saat tombol on-top muncul, tombol AI bergeser naik ke posisi atas */
#aiChatBtn.shifted-up {
  transform: translateY(0);
}

#backToTopBtn {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.9);
}

#backToTopBtn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}


/* ========================================================
   CONTAINER & HERO SECTION
   ======================================================== */
.container {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: 0 auto;
  padding: calc(84px + env(safe-area-inset-top)) 20px 0;
  transition: max-width 0.3s ease;
}

.meta-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #92929b;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.white-orb {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.glow-headline {
  font-size: 38px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 26px;
  color: #ffffff;
}

.glow-headline .serif-italic {
  display: inline-block;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.bio-block {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 42px;
}

.bio-line-1 {
  color: #f1f1f4;
  font-weight: 500;
}

.bio-line-2 {
  color: #6a6a72;
  font-weight: 400;
}

.sub-arrow-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: #8b8b95;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.animated-arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.animated-arrow-icon svg {
  width: 14px;
  height: 14px;
  stroke: #8b8b95;
}

/* ========================================================
   PROJECT CARDS
   ======================================================== */
.card-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 44px;
}

.card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 24px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  background: #15181e;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transform: translate3d(0, 0, 0);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

.card.blue-style {
  background: linear-gradient(180deg, #162433 0%, #0e1620 100%);
}

.card.teal-style {
  background: linear-gradient(180deg, #102626 0%, #0a1414 100%);
}

.card.purple-style {
  background: linear-gradient(180deg, #24162e 0%, #130a1a 100%);
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.card-title {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.card-arrow-icon {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  transition: transform 0.2s ease;
}

.card:hover .card-arrow-icon {
  transform: translate(3px, -3px);
}

.card-meta {
  font-size: 13px;
  color: #9da6b4;
  line-height: 1.4;
  margin-bottom: 18px;
}

.card-mockup {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
}

.browser-frame {
  background: #191b20;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.circle-dots {
  display: flex;
  gap: 5px;
}

.circle-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.card-img-preview {
  width: 100%;
  height: 195px;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #0d1016;
  transition: transform 0.3s ease;
}

.card:hover .card-img-preview {
  transform: scale(1.02);
}
/* ========================================================
   HEADER ROW TOOLS & TOMBOL PUTIH LIHAT SEMUA
   ======================================================== */
.tools-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 20px;
}

.tools-header-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

/* Tombol Putih Kontras Bersih */
.view-all-white-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #ffffff;
  color: #121214;
  border: 1px solid #ffffff;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.view-all-white-btn svg {
  width: 13px;
  height: 13px;
  stroke: #121214;
  transition: transform 0.2s ease;
}

.view-all-white-btn:hover {
  transform: translateY(-2px);
  opacity: 0.94;
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.25);
}

.view-all-white-btn:hover svg {
  transform: translate(2px, -2px);
}

.view-all-white-btn:active {
  transform: scale(0.95);
}

/* ========================================================
   TOOLS SECTION & SEARCH/FILTER
   ======================================================== */
.tools-filter-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.tools-search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.tools-search-box svg {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  stroke: #72727d;
  pointer-events: none;
}

.tools-search-box input {
  width: 100%;
  padding: 10px 36px 10px 38px;
  background: rgba(24, 25, 29, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  font-family: inherit;
  font-size: 13.5px;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.tools-search-box input::placeholder {
  color: #6a6a72;
}

.tools-search-box input:focus {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(30, 31, 36, 0.95);
}

#clearSearchBtn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #8b8b93;
  font-size: 18px;
  cursor: pointer;
  display: none;
  line-height: 1;
}

#clearSearchBtn.show {
  display: block;
}

.tools-category-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.tools-category-chips::-webkit-scrollbar {
  display: none;
}

.chip-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #8b8b93;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: all 0.2s ease;
}

.chip-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.chip-btn.active {
  background: #ffffff;
  color: #121214;
  border-color: #ffffff;
  font-weight: 600;
}

.tools-empty-state {
  text-align: center;
  padding: 30px 20px;
  color: #72727d;
  font-size: 13.5px;
  background: rgba(24, 25, 29, 0.4);
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
}

.tools-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 56px;
}

.tool-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  background: #18191d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 15px 18px;
  transform: translate3d(0, 0, 0);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tool-item-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  background: #202227;
}

.tool-item-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.tool-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tool-icon-box svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tool-text-info {
  min-width: 0;
}

.tool-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.tool-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.tool-badge-live {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #eaeaf0;
  text-transform: uppercase;
}

.tool-desc {
  font-size: 12.5px;
  color: #8b8b93;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tool-arrow-icon {
  width: 16px;
  height: 16px;
  stroke: #8b8b93;
  flex-shrink: 0;
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.tool-item-card:hover .tool-arrow-icon {
  transform: translate(2px, -2px);
  stroke: #ffffff;
}

/* ========================================================
   SKELETON PLACEHOLDER ANIMATION
   ======================================================== */
.card-skeleton, .tool-skeleton {
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0.04) !important;
}

.sk-line, .sk-mockup, .sk-box {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.6s infinite ease-in-out;
  border-radius: 8px;
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.sk-title {
  width: 50%;
  height: 22px;
  margin-bottom: 12px;
}

.sk-meta {
  width: 80%;
  height: 14px;
  margin-bottom: 20px;
}

.sk-mockup {
  width: 100%;
  height: 195px;
  border-radius: 12px;
}

.sk-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
}

.sk-tool-title {
  width: 90px;
  height: 14px;
  margin-bottom: 6px;
}

.sk-tool-desc {
  width: 100%;
  height: 11px;
}

/* ========================================================
   INFO SECTION & PROFILE
   ======================================================== */
.info-section {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 50px;
}

.profile-card-3 {
  position: relative;
  width: 100%;
  height: 490px;
  border-radius: 32px;
  overflow: hidden;
  margin-top: 24px;
  margin-bottom: 42px;
  background: #16181d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: translate3d(0, 0, 0);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

.profile-card-3 .card-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  z-index: 1;
}

.profile-card-3 .frosted-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 26px 20px 20px;
  background: linear-gradient(
    to bottom,
    rgba(15, 17, 21, 0) 0%,
    rgba(14, 16, 20, 0.85) 40%,
    rgba(12, 14, 18, 0.98) 100%
  );
}

.profile-header-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}

.profile-name {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.015em;
}

.verified-svg {
  width: 17px;
  height: 17px;
  display: inline-block;
  flex-shrink: 0;
}

.profile-subtext {
  font-size: 13.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
}

.profile-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.stat-svg {
  width: 15px;
  height: 15px;
  stroke: rgba(255, 255, 255, 0.75);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #0d0f12;
  border: none;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.follow-btn:hover {
  transform: scale(1.04);
  opacity: 0.95;
}

/* ========================================================
   SUBGROUPS (EXPERIENCE, JOURNEY, SKILLS, SERVICES)
   ======================================================== */
.info-subgroup {
  margin-bottom: 38px;
}

.info-sub-title {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #72727d;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-sub-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-card {
  background: #16181d;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 16px 18px;
  transform: translate3d(0, 0, 0);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.timeline-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.timeline-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.timeline-role {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.timeline-period {
  font-size: 12px;
  color: #7e7e88;
  font-weight: 500;
}

.timeline-place {
  font-size: 13px;
  color: #9ea3ae;
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 12.5px;
  color: #83838d;
  line-height: 1.45;
}

.skills-cluster {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.skills-group-title {
  font-size: 13px;
  font-weight: 600;
  color: #d1d1d8;
  margin-bottom: 8px;
}

.pill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  font-size: 12.5px;
  color: #eaeaf0;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pill-tag:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.pill-tag-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #738aff;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.service-box {
  background: #16181d;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transform: translate3d(0, 0, 0);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-box:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.service-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon-wrap svg {
  width: 17px;
  height: 17px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #f5f5f7;
  margin-bottom: 3px;
}

.service-desc {
  font-size: 12.5px;
  color: #82828b;
  line-height: 1.4;
}

/* ========================================================
   OFFLINE TOAST BANNER
   ======================================================== */
.offline-toast {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(30, 30, 34, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  color: #f1f1f4;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  white-space: nowrap;
}

.offline-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.offline-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
}

/* ========================================================
   FOOTER
   ======================================================== */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  color: #6a6a72;
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.footer-col h5 {
  color: #4a4a52;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.footer-col a {
  display: flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 13.5px;
  margin-bottom: 9px;
  font-weight: 400;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #738aff;
}

.footer-col a svg {
  margin-left: 4px;
  opacity: 0.6;
}

.footer-copyright {
  margin-bottom: 6px;
  color: #ffffff;
}

.footer-tea {
  margin-bottom: 16px;
  color: #6a6a72;
}

/* ========================================================
   RESPONSIVE DESIGN KHUSUS TABLET & DESKTOP (RAPAT & ELEGAN)
   ======================================================== */
@media (min-width: 768px) {
  .container {
    max-width: 960px;
    padding: 120px 32px 0;
  }

  .header-bar {
    padding: 0 40px;
  }

  .glow-headline {
    font-size: clamp(46px, 4.5vw, 56px);
    line-height: 1.05;
    margin-bottom: 24px;
  }

  .bio-block {
    font-size: 16.5px;
    max-width: 620px;
    margin-bottom: 50px;
  }

  /* Grid 2 Kolom untuk Selected Projects */
  .card-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 54px;
  }

  .card-img-preview {
    height: 240px;
  }

  /* Search & Filter Chips Ditata Bersebelahan di Layar Lebar */
  .tools-filter-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
  }

  .tools-search-box {
    max-width: 380px;
  }

  .tools-category-chips {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  /* Grid 2 Kolom untuk Tools */
  .tools-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 68px;
  }

  /* Kartu Profil Center Proporsional */
  .profile-card-3 {
    height: 520px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Timeline 2 Kolom */
  .timeline-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  /* Skills & What I Do 3 Kolom */
  .skills-cluster {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .bottom-floating-controls {
    right: 40px;
    bottom: 32px;
  }

  #popoverMenu {
    right: 40px;
  }

  #langPopoverMenu {
    right: 96px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1080px;
  }

  .glow-headline {
    font-size: 60px;
  }

  .card-img-preview {
    height: 260px;
  }

  .card-list {
    gap: 28px;
  }

  .tools-list {
    gap: 18px;
  }

  .tools-search-box {
    max-width: 420px;
  }
}
