/* ====== Global & Theme Variables ====== */
* {
   box-sizing: border-box;
}

/* Default: DARK theme */
:root {
   --bg: #0b0f14f1;
   --bg-soft: #0e141b;
   --text: #e6e9ef;
   --muted: #a6adbb;
   --primary: #4cc9f0;
   --accent: #80ffea;
   --glass: rgba(255, 255, 255, 0.06);
   --border: rgba(255, 255, 255, 0.09);
   --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);

   /* Button Hover */
   --btn-hover-text: #ffffff;
   --btn-hover-bg: rgba(255, 255, 255, 0.05);

   /* Border Tegas */
   --border-btn: rgba(255, 255, 255, 0.35);
}

/* Light variables (activated via [data-theme="light"]) */
:root[data-theme="light"] {
   --bg: #f6f8fbec;
   --bg-soft: #ffffff;
   --text: #0b0f14;
   --muted: #4b5565;
   --primary: #2f9fe8;
   --accent: #80dfff;
   --glass: rgba(0, 0, 0, 0.04);
   --border: rgba(0, 0, 0, 0.12);
   --shadow: 0 10px 24px rgba(0, 0, 0, 0.08);

   /* Button Hover Light */
   --btn-hover-text: #ffffff;
   --btn-hover-bg: var(--primary);

   /* Border Tegas Light */
   --border-btn: rgba(0, 0, 0, 0.4);
}

html,
body {
   margin: 0;
   padding: 0;
   background-color: var(--bg);
   color: var(--text);
   font-family:
      Poppins,
      system-ui,
      -apple-system,
      Segoe UI,
      Roboto,
      sans-serif;
   scroll-behavior: smooth;
   overflow-x: hidden; /* Mencegah scroll horizontal */
}
img {
   max-width: 100%;
   display: block;
}

/* Smooth theme transition */
body,
.navbar,
.glass,
.btn,
.card-inner,
.card-media img,
input,
textarea,
.nav-links,
.timeline-content,
.timeline-dot,
.skill-group,
.skill-header,
.reach-item,
.about-card {
   transition:
      background-color 0.3s ease,
      color 0.3s ease,
      border-color 0.3s ease,
      box-shadow 0.3s ease;
}

/* Container */
.container {
   width: min(1120px, 92%);
   margin: 0 auto;
}

/* ===== Background Canvas Animation ===== */
#bg-canvas {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   z-index: -1;
   pointer-events: none;
}

/* ===== Navbar ===== */
.navbar {
   position: fixed; /* UBAH: dari sticky ke fixed */
   top: 0;
   left: 0; /* TAMBAH: pastikan mulai dari kiri */
   width: 100%; /* TAMBAH: lebar penuh */
   z-index: 50;
   background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--bg) 90%, transparent),
      color-mix(in srgb, var(--bg) 60%, transparent) 60%,
      transparent
   );
   backdrop-filter: blur(10px);
   border-bottom: 1px solid var(--border);
}
.nav-inner {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 12px;
   padding: 14px 0;
}
.brand {
   font-family: "Playfair Display", serif;
   font-weight: 700;
   font-size: 1.4rem;
   letter-spacing: 0.5px;
   color: var(--text);
   text-decoration: none;
}
.brand span {
   color: var(--primary);
}
.nav-links {
   display: flex;
   gap: 20px;
}
.nav-links a {
   color: var(--muted);
   text-decoration: none;
   font-weight: 500;
   font-size: 0.95rem;
   position: relative;
   padding-bottom: 6px;
   transition:
      color 0.25s ease,
      transform 20.25s ease;
}
.nav-links a:hover {
   color: var(--text);
   transform: translateY(-1px);
}
.nav-links a::after {
   content: "";
   position: absolute;
   left: 0;
   right: 0;
   bottom: 0;
   height: 2px;
   border-radius: 2px;
   background: linear-gradient(90deg, var(--primary), var(--accent));
   transform: scaleX(0);
   transform-origin: center;
   transition: transform 0.25s ease;
}
.nav-links a:hover::after {
   transform: scaleX(1);
}
.nav-toggle {
   display: none;
   background: none;
   border: 0;
}
.nav-toggle span {
   display: block;
   width: 24px;
   height: 2px;
   background: var(--text);
   margin: 5px 0;
}

/* ===== Theme Switch ===== */
.theme-switch {
   display: inline-block;
   position: relative;
}
.theme-switch input {
   position: absolute;
   width: 1px;
   height: 1px;
   overflow: hidden;
   clip: rect(0 0 0 0);
   white-space: nowrap;
   border: 0;
   padding: 0;
   margin: -1px;
}
.theme-switch .track {
   --w: 64px;
   --h: 32px;
   width: var(--w);
   height: var(--h);
   background: var(--glass);
   border: 1px solid var(--border);
   border-radius: 999px;
   position: relative;
   box-shadow: var(--shadow);
   transition:
      background 0.25s ease,
      border-color 0.25s ease;
   display: block;
}
.theme-switch .thumb {
   position: absolute;
   top: 3px;
   left: 3px;
   width: 26px;
   height: 26px;
   border-radius: 50%;
   background: var(--bg-soft);
   border: 1px solid var(--border);
   box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
   transform: translateX(0);
   transition:
      transform 0.25s ease,
      background-color 0.25s ease,
      border-color 0.25s ease;
   z-index: 1;
}
.theme-switch .icon {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   width: 26px;
   height: 26px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 14px;
   opacity: 0.9;
   user-select: none;
   z-index: 2;
   pointer-events: none;
}
.theme-switch .icon.sun {
   left: 3px;
}
.theme-switch .icon.moon {
   right: 0.65px;
   padding-top: 1px;
}
.theme-switch input:checked + .track .thumb {
   transform: translateX(32px);
}
.theme-switch input:focus-visible + .track {
   outline: 2px solid color-mix(in srgb, var(--primary) 60%, transparent);
   outline-offset: 3px;
}

/* ===== Hero ===== */
.hero {
   display: grid;
   grid-template-columns: 1.2fr 0.8fr;
   align-items: center;
   gap: 40px;
   padding: 96px 0 64px;
}
.eyebrow {
   color: var(--muted);
   margin: 0 0 6px;
}
.title {
   font-size: clamp(2.2rem, 5vw, 3.6rem);
   margin: 0;
   letter-spacing: 0.6px;
}
.subtitle {
   margin: 8px 0 16px;
   font-weight: 600;
   color: var(--muted);
   min-height: 32px;
}
.caret {
   margin-left: 2px;
   opacity: 0.9;
}
.desc {
   color: var(--muted);
   max-width: 56ch;
}
.actions {
   margin: 20px 0 10px;
   display: flex;
   gap: 12px;
}

/* Buttons */
.btn {
   border: 1px solid var(--border-btn);
   background: transparent;
   color: var(--text);
   padding: 10px 16px;
   border-radius: 12px;
   text-decoration: none;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 8px;
   box-shadow: var(--shadow);
   font-weight: 600;
   transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
:root[data-theme="light"] .btn {
   border-color: var(--border-btn);
   background: rgba(255, 255, 255, 0);
   color: #1a1a1a;
}
.btn:hover {
   transform: translateY(-3px);
   border-color: var(--primary);
   background: var(--btn-hover-bg);
   color: var(--btn-hover-text);
   box-shadow:
      0 8px 20px rgba(0, 0, 0, 0.2),
      0 0 10px color-mix(in srgb, var(--primary) 40%, transparent);
}
.btn:active {
   transform: translateY(-1px);
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.btn.ghost {
   background: rgba(255, 255, 255, 0.02);
}
.btn.small {
   padding: 8px 12px;
   font-size: 0.92rem;
}

/* Socials */
.socials {
   display: flex;
   gap: 24px;
   margin-top: 16px;
   margin-left: 3px;
}
.social {
   width: 48px;
   height: 38px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   color: var(--muted);
   transition:
      color 0.25s ease,
      transform 0.2s ease;
   text-decoration: none;
}
.social:hover {
   transform: translateY(-1px);
   color: var(--text);
}
.social svg {
   width: 20px;
   height: 20px;
   display: block;
}
:root[data-theme="light"] .social {
   color: var(--text);
}

/* Hero Profile Art */
.hero-art {
   position: relative;
   justify-self: center;
}
.hero-art .glow {
   position: absolute;
   inset: -20%;
   background: radial-gradient(
      60% 60% at 50% 50%,
      color-mix(in srgb, var(--primary) 25%, transparent),
      transparent
   );
   filter: blur(50px);
   z-index: -1;
}
.hero-art img {
   width: 300px;
   height: 300px;
   object-fit: cover;
   border-radius: 28px;
   border: 1px solid var(--border);
   box-shadow: var(--shadow);
   background: linear-gradient(180deg, var(--bg-soft), var(--bg));
   transition:
      transform 0.75s ease,
      box-shadow 0.65s ease;
}

/* Animation Profile */
@keyframes float {
   0% {
      transform: translateY(0px);
   }
   50% {
      transform: translateY(-15px);
   }
   100% {
      transform: translateY(0px);
   }
}
.hero-image-wrapper {
   animation: float 6s ease-in-out infinite;
   z-index: 2;
   position: relative;
   display: flex;
   justify-content: center;
}
.hero-art .ring {
   position: absolute;
   inset: -20px;
   border-radius: 40px;
   background: conic-gradient(
      from 0deg,
      color-mix(in srgb, var(--primary) 60%, transparent) 0%,
      color-mix(in srgb, var(--accent) 60%, transparent) 40%,
      transparent 60%,
      color-mix(in srgb, var(--primary) 60%, transparent) 100%
   );
   filter: blur(30px);
   opacity: 0.4;
   z-index: -1;
   animation: ring-glow 10s linear infinite;
}
@keyframes ring-glow {
   from {
      transform: rotate(0deg) scale(0.95);
      opacity: 0.3;
   }
   to {
      transform: rotate(360deg) scale(1.05);
      opacity: 0.5;
   }
}

/* ===== Sections ===== */
.section {
   padding: 72px 0;
}
.section-head {
   margin-bottom: 28px;
}
.section-title {
   font-size: clamp(1.6rem, 3vw, 2.2rem);
   margin: 0 0 6px;
}
.section-desc {
   color: var(--muted);
   margin: 0;
}

/* ===== ABOUT (REDESIGNED BENTO) ===== */
.about-grid {
   display: grid;
   grid-template-columns: 1.5fr 1fr; /* Asymmetric Grid */
   gap: 24px;
   align-items: start;
}

.about-card {
   padding: 32px;
   display: flex;
   flex-direction: column;
   gap: 16px;
   transition:
      transform 0.3s ease,
      border-color 0.3s ease;
}

.about-card:hover {
   transform: translateY(-5px);
   border-color: var(--primary);
}

.about-main {
   grid-row: span 2;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
}

/* Icon box for about cards */
.card-icon-wrapper {
   width: 48px;
   height: 48px;
   border-radius: 12px;
   background: rgba(255, 255, 255, 0.05);
   display: flex;
   align-items: center;
   justify-content: center;
   color: var(--primary);
   margin-bottom: 8px;
   flex-shrink: 0;
}
:root[data-theme="light"] .card-icon-wrapper {
   background: rgba(0, 0, 0, 0.05);
}

.card-icon-wrapper svg {
   width: 24px;
   height: 24px;
}

/* Typography within cards */
.about-card h4 {
   font-size: 1.25rem;
   margin: 0;
   font-weight: 600;
}
.about-card p {
   margin: 0;
   line-height: 1.7;
   color: var(--muted);
}
.about-card strong {
   color: var(--text);
   font-weight: 600;
}

/* Mini Stats in Main Card */
.mini-stat {
   display: flex;
   gap: 32px;
   margin-top: 24px;
   padding-top: 24px;
   border-top: 1px solid var(--border);
}

.stat-item strong {
   display: block;
   font-size: 1.8rem;
   color: var(--primary);
   line-height: 1;
   margin-bottom: 6px;
   font-family: "Days One", sans-serif;
}

.stat-item span {
   font-size: 0.85rem;
   color: var(--muted);
   text-transform: uppercase;
   letter-spacing: 1px;
   font-weight: 500;
}

/* Inline Header for Side Cards */
.card-header-inline {
   display: flex;
   align-items: center;
   gap: 12px;
   margin-bottom: 8px;
}

.card-header-inline .card-icon-wrapper {
   width: 36px;
   height: 36px;
   margin-bottom: 0;
   border-radius: 10px;
}

.card-header-inline .card-icon-wrapper svg {
   width: 18px;
   height: 18px;
}
.card-header-inline h4 {
   font-size: 1.1rem;
}

.glass {
   background: var(--glass);
   border: 1px solid var(--border);
   border-radius: 16px;
   padding: 18px;
   box-shadow: var(--shadow);
}

/* Soft Skills */
.soft-skills-grid {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   margin-top: 4px;
}
.skill-tag {
   display: inline-block;
   padding: 8px 14px;
   border-radius: 99px;
   background: rgba(255, 255, 255, 0.03);
   border: 1px solid var(--border);
   font-size: 0.85rem;
   font-weight: 500;
   color: var(--muted);
   transition: all 0.2s ease;
   cursor: default;
}
.skill-tag:hover {
   background: rgba(255, 255, 255, 0.08);
   transform: translateY(-2px);
   border-color: var(--primary);
   color: var(--text);
}

/* ===== SKILLS (REDESIGNED) ===== */
.skills-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 24px;
}

.skill-group {
   padding: 24px;
   transition:
      transform 0.3s ease,
      border-color 0.3s ease;
   display: flex;
   flex-direction: column;
}
.skill-group:hover {
   transform: translateY(-5px);
   border-color: var(--primary);
}

.skill-header {
   display: flex;
   align-items: center;
   gap: 12px;
   margin-bottom: 24px;
   padding-bottom: 16px;
   border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Light mode border adjustment */
:root[data-theme="light"] .skill-header {
   border-bottom-color: rgba(0, 0, 0, 0.1);
}

.skill-header h4 {
   margin: 0;
   font-size: 1.1rem;
   font-weight: 600;
   letter-spacing: 0.5px;
}

.skill-icon {
   width: 24px;
   height: 24px;
   color: var(--primary);
   flex-shrink: 0;
}

.skill-list {
   display: flex;
   flex-direction: column;
   gap: 20px;
}

.skill-item {
   width: 100%;
}

.skill-info {
   display: flex;
   justify-content: space-between;
   margin-bottom: 8px;
   font-size: 0.9rem;
   font-weight: 500;
   color: var(--text);
}

.skill-info p {
   margin: 0;
}
.skill-info .percent {
   color: var(--primary);
   font-family: "Roboto Mono", monospace;
   font-size: 0.85rem;
   font-weight: 600;
}

.bar {
   height: 6px;
   background: rgba(255, 255, 255, 0.05);
   border-radius: 10px;
   overflow: hidden;
   border: none;
   position: relative;
}

:root[data-theme="light"] .bar {
   background: rgba(0, 0, 0, 0.08);
}

.bar span {
   display: block;
   height: 100%;
   background: linear-gradient(90deg, var(--primary), var(--accent));
   border-radius: 10px;
   width: 0; /* JS will animate this */
   position: relative;
   transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glow effect on the tip */
.bar span::after {
   content: "";
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   width: 10px;
   background: #fff;
   opacity: 0.3;
   filter: blur(2px);
}

/* ===== EXPERIENCE TIMELINE ===== */
.timeline {
   position: relative;
   max-width: 800px;
   margin: 0 auto;
   padding: 20px 0;
}
.timeline::before {
   content: "";
   position: absolute;
   top: 0;
   bottom: 0;
   left: 20px;
   width: 2px;
   background: var(--border);
}
.timeline-item {
   position: relative;
   padding-left: 60px;
   margin-bottom: 40px;
}
.timeline-dot {
   position: absolute;
   left: 11px;
   top: 0;
   width: 20px;
   height: 20px;
   border-radius: 50%;
   background: var(--bg);
   border: 2px solid var(--primary);
   box-shadow: 0 0 0 4px var(--bg-soft);
   z-index: 2;
   transition:
      background 0.3s ease,
      transform 0.3s ease;
}
.timeline-item:hover .timeline-dot {
   background: var(--primary);
   transform: scale(1.2);
}
.timeline-date {
   font-family: "Roboto Mono", monospace;
   font-size: 0.9rem;
   color: var(--primary);
   margin-bottom: 8px;
   display: block;
   font-weight: 600;
}
.timeline-content {
   background: var(--glass);
   border: 1px solid var(--border);
   border-radius: 16px;
   padding: 24px;
   box-shadow: var(--shadow);
   transition:
      transform 0.3s ease,
      border-color 0.3s ease;
}
.timeline-content:hover {
   transform: translateX(5px);
   border-color: var(--primary);
}
.timeline-header {
   display: flex;
   align-items: flex-start;
   gap: 16px;
   margin-bottom: 12px;
}
.timeline-logo {
   width: 56px;
   height: 56px;
   object-fit: cover;
   border-radius: 12px;
   border: 1px solid var(--border);
   background: #fff;
}
.timeline-title h4 {
   margin: 0;
   font-size: 1.1rem;
   color: var(--text);
}
.timeline-title .company {
   font-size: 0.95rem;
   color: var(--muted);
   display: block;
   margin-top: 4px;
}
.timeline-desc {
   color: var(--muted);
   line-height: 1.6;
   margin-bottom: 16px;
   font-size: 0.95rem;
}

/* ===== PROJECTS GRID (REDESIGNED) ===== */
.projects-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 24px;
   align-items: stretch;
}

.project-card {
   height: 100%;
   display: flex;
   flex-direction: column;
   transition:
      opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
      filter 0.6s ease;
   opacity: 1;
   transform: scale(1) translateY(0);
   filter: blur(0);
   display: flex;
}
.project-card.hiding {
   opacity: 0;
   transform: scale(0.95) translateY(10px);
   filter: blur(4px);
   pointer-events: none;
}

.card-inner {
   background: var(--glass);
   border: 1px solid var(--border);
   border-radius: 20px; /* Radius lebih besar */
   overflow: hidden;
   box-shadow: var(--shadow);
   height: 100%;
   display: flex;
   flex-direction: column;
   position: relative; /* Context for badge */
}

.card-inner:hover {
   border-color: var(--primary); /* Highlight border on hover */
}

.card-media {
   position: relative;
   overflow: hidden;
   flex-shrink: 0;
}
.card-media img {
   width: 100%;
   height: auto;
   aspect-ratio: 4/3;
   object-fit: cover;
   transform: translateZ(0) scale(1);
   transition: transform 0.5s ease;
}

/* Zoom effect yang lebih halus */
.card-inner:hover .card-media img {
   transform: scale(1.05);
}

/* Project Category Badge */
.project-badge {
   position: absolute;
   top: 12px;
   right: 12px;
   background: rgba(0, 0, 0, 0.6);
   backdrop-filter: blur(4px);
   color: #fff;
   font-size: 0.75rem;
   font-weight: 600;
   padding: 4px 10px;
   border-radius: 8px;
   z-index: 2;
   border: 1px solid rgba(255, 255, 255, 0.1);
   text-transform: uppercase;
   letter-spacing: 0.5px;
}

.card-body {
   padding: 20px;
   display: flex;
   flex-direction: column;
   flex-grow: 1;
}
.card-body h4 {
   margin: 0 0 8px;
   font-size: 1.25rem;
   font-weight: 700;
   letter-spacing: -0.5px;
}
.card-body p {
   margin: 0 0 20px;
   color: var(--muted);
   flex-grow: 1;
   font-size: 0.95rem;
   line-height: 1.6;
}

.tags {
   display: flex;
   flex-wrap: wrap;
   gap: 8px;
   margin-top: auto;
   margin-bottom: 20px;
}
.tags span {
   font-size: 0.8rem;
   padding: 6px 12px;
   background: rgba(255, 255, 255, 0.03);
   border: 1px solid var(--border-btn);
   border-radius: 8px;
   color: var(--text);
   opacity: 0.9;
   transition: all 0.2s ease;
}
.tags span:hover {
   border-color: var(--primary);
   transform: translateY(-2px);
   background: rgba(255, 255, 255, 0.08);
}

.cta {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 12px;
   border-top: 1px solid var(--border);
   padding-top: 16px;
}

/* Button with Icon */
.btn-icon {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 8px;
   width: 100%;
}
.btn-icon svg {
   width: 18px;
   height: 18px;
}

/* Filter Bar (Redesigned as Dock) */
.filter-bar {
   display: inline-flex;
   justify-content: center;
   gap: 6px;
   margin: 0 auto 40px;
   flex-wrap: wrap;

   /* Glass Capsule Style */
   background: rgba(255, 255, 255, 0.03);
   border: 1px solid var(--border);
   padding: 6px;
   border-radius: 100px;
   backdrop-filter: blur(10px);
}
:root[data-theme="light"] .filter-bar {
   background: rgba(0, 0, 0, 0.03);
}

.filter-btn {
   background: transparent;
   color: var(--muted);
   border: none; /* Reset border default */
   border-radius: 99px;
   padding: 8px 20px;
   cursor: pointer;
   position: relative;
   overflow: hidden;
   font-weight: 500;
   font-size: 0.95rem;
   transition: all 0.3s ease;
   box-shadow: none;
}

.filter-btn:hover {
   color: var(--text);
   background: rgba(255, 255, 255, 0.05);
   transform: translateY(0); /* Reset transform standar */
   box-shadow: none;
}
:root[data-theme="light"] .filter-btn:hover {
   background: rgba(0, 0, 0, 0.05);
}

.filter-btn.active {
   background: var(--primary);
   color: #fff; /* Teks putih di tombol aktif */
   box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 40%, transparent);
}
.filter-btn.active:hover {
   background: var(--primary);
   opacity: 0.9;
}

/* Contact */
.contact-grid {
   display: grid;
   grid-template-columns: 0.9fr 1.1fr;
   gap: 18px;
}
.contact-form textarea {
   min-height: 175px;
   max-height: 175px;
   overflow-y: auto;
   resize: none;
}
.contact-list {
   list-style: none;
   padding: 0;
   margin: 0;
   display: grid;
   gap: 8px;
}
.field {
   display: grid;
   gap: 6px;
   margin-bottom: 12px;
}
input,
textarea {
   width: 100%;
   padding: 10px 12px;
   border-radius: 12px;
   border: 1px solid var(--border);
   background: rgba(255, 255, 255, 0.04);
   color: var(--text);
   outline: none;
}
.footer {
   border-top: 1px solid var(--border);
   margin-top: 40px;
   padding: 24px 0;
   text-align: center;
   color: var(--muted);
}
.toast {
   position: fixed;
   bottom: 18px;
   left: 50%;
   transform: translate(-50%, 16px);
   z-index: 1000;
   background: color-mix(in srgb, var(--bg-soft) 85%, transparent);
   color: var(--text);
   border: 1px solid var(--border);
   border-radius: 14px;
   padding: 12px 16px;
   box-shadow: var(--shadow);
   opacity: 0;
   pointer-events: none;
   transition:
      opacity 0.25s ease,
      transform 0.25s ease;
   max-width: min(560px, 92vw);
   text-align: center;
}
.toast.show {
   opacity: 1;
   transform: translate(-50%, 0);
   pointer-events: auto;
}

/* ===== Reach Item (Redesigned Button Style) ===== */
.reach-list {
   list-style: none;
   margin: 0;
   padding: 0;
   display: flex;
   flex-direction: column;
   gap: 16px;
}

/* FIX: Pastikan tidak ada bullet point */
.reach-list li {
   list-style: none;
   margin: 0;
   padding: 0;
}

.reach-item {
   display: flex;
   align-items: center;
   gap: 16px;
   padding: 16px 20px;
   border-radius: 16px;

   /* Base Style */
   background: var(--glass);
   border: 1px solid var(--border-btn);
   text-decoration: none;
   position: relative;
   overflow: hidden;
   transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Icon Box Wrapper */
.reach-icon-box {
   width: 48px;
   height: 48px;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 12px;
   background: rgba(255, 255, 255, 0.05);
   color: var(--text);
   flex-shrink: 0;
   transition: all 0.3s ease;
}

:root[data-theme="light"] .reach-icon-box {
   background: rgba(0, 0, 0, 0.05);
}

.reach-icon-box svg {
   width: 24px;
   height: 24px;
   stroke-width: 1.5;
   stroke: currentColor;
   fill: none;
}

/* Text Info Wrapper */
.reach-info {
   display: flex;
   flex-direction: column;
   gap: 2px;
}

.reach-label {
   font-size: 0.75rem;
   text-transform: uppercase;
   letter-spacing: 1px;
   color: var(--muted);
   font-weight: 600;
}

.reach-value {
   font-size: 0.95rem;
   font-weight: 500;
   color: var(--text);
   transition: color 0.3s ease;
   word-break: break-all; /* Jaga-jaga kalau email kepanjangan di HP */
}

/* Hover Effects */
.reach-item:hover {
   transform: translateY(-4px) translateX(2px);
   background: var(--bg-soft);
   border-color: var(--primary);
   /* Efek bayangan solid (retro-modern touch) */
   box-shadow: -4px 4px 0 var(--primary);
}

.reach-item:hover .reach-icon-box {
   background: var(--primary);
   color: #fff;
   transform: rotate(-10deg) scale(1.1);
}

.reach-item:hover .reach-value {
   color: var(--primary);
}

/* Tanda panah muncul saat hover */
.reach-item::after {
   content: "→";
   position: absolute;
   right: 24px;
   font-size: 1.2rem;
   color: var(--primary);
   opacity: 0;
   transform: translateX(-10px);
   transition: all 0.3s ease;
}

.reach-item:hover::after {
   opacity: 1;
   transform: translateX(0);
}

/* Responsive */
@media (max-width: 1024px) {
   .hero {
      grid-template-columns: 1fr;
      text-align: center;
   }
   .hero-art {
      order: -1;
   }
   .about-grid,
   .skills-grid,
   .projects-grid,
   .contact-grid {
      grid-template-columns: 1fr 1fr;
   }
}
@media (min-width: 768px) {
   .timeline::before {
      left: 50%;
      transform: translateX(-50%);
   }
   .timeline-item {
      width: 50%;
      padding-left: 0;
      padding-right: 40px;
      margin-bottom: 60px;
   }
   .timeline-item:nth-child(even) {
      margin-left: 50%;
      padding-left: 40px;
      padding-right: 0;
   }
   .timeline-item .timeline-dot {
      left: auto;
      right: -10px;
   }
   .timeline-item:nth-child(even) .timeline-dot {
      left: -10px;
      right: auto;
   }
   .timeline-date {
      position: absolute;
      top: 0;
      right: -150px;
      width: 120px;
      text-align: left;
   }
   .timeline-item:nth-child(even) .timeline-date {
      left: -150px;
      right: auto;
      text-align: right;
   }
}
@media (max-width: 900px) {
   /* Override for Bento Grid Mobile */
   .about-grid {
      grid-template-columns: 1fr;
   }
   .about-main {
      grid-row: auto;
   }
}
@media (max-width: 640px) {
   .card-media img {
      aspect-ratio: 1/1;
   }
   .nav-links {
      display: none;
      position: absolute;
      right: 4.201%;
      top: 78px;
      background: var(--bg-soft);
      border: 1px solid var(--border);
      border-radius: 14px;
      box-shadow: var(--shadow);
      padding: 10px;
      flex-direction: column;
      width: 180px;
      gap: 8px;
   }
   .nav-toggle {
      display: block;
   }
   .nav-open .nav-links {
      display: flex;
   }
   .about-grid,
   .skills-grid,
   .projects-grid,
   .contact-grid {
      grid-template-columns: 1fr;
   }
   .hero {
      padding-top: 90px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 24px;
   }
   .hero-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 16px;
   }
   .actions {
      flex-direction: column;
      gap: 14px;
      margin-top: 20px;
   }
   .actions .btn {
      width: 100%;
      max-width: 260px;
      font-size: 1rem;
   }
   .hero .socials {
      justify-content: center;
   }
}
@media (prefers-reduced-motion: reduce) {
   * {
      animation-duration: 0.01ms !important;
      transition-duration: 0.01ms !important;
   }
}
