:root {
      /* TEMA TECH BLUE - TERANG */
      --bg: #f8faff;
      --card: #ffffff;
      --text: #0f172a;
      --muted: #64748b;
      --border: rgba(0, 0, 0, 0.07);
      --shadow: 0 4px 24px rgba(37, 99, 235, 0.07);
      --glow: 0 0 50px rgba(37, 99, 235, 0.14);
      --accent: #2563eb; /* Blue 600 */
      --accent2: #0ea5e9; /* Sky Blue 500 */
      --green: #10b981; /* Emerald 500 */
      --radius: 20px;
    }

    .dark-mode {
      /* TEMA TECH BLUE - GELAP */
      --bg: #070b14;
      --card: #0f1523;
      --text: #f1f5f9;
      --muted: #94a3b8;
      --border: rgba(255, 255, 255, 0.07);
      --shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
      --glow: 0 0 60px rgba(59, 130, 246, 0.15);
      --accent: #60a5fa; /* Blue 400 */
      --accent2: #38bdf8; /* Sky Blue 400 */
      --green: #34d399; /* Emerald 400 */
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    /* --- TAMBAHAN CSS UNTUK APP-FEEL --- */
    html {
      scroll-behavior: smooth;
      scroll-padding-top: 80px;
    }

    body {
      font-family: 'Inter', system-ui, sans-serif;
      background: var(--bg);
      color: var(--text);
      -webkit-font-smoothing: antialiased;
      line-height: 1.6;
      transition: background .3s, color .3s;
      -webkit-tap-highlight-color: transparent;
      text-rendering: optimizeLegibility;
    }

    .topnav,
    .btn-primary,
    .btn-outline,
    .send-btn,
    .proj-card,
    .theme-btn,
    .social-float {
      user-select: none;
      -webkit-user-select: none;
    }

    ::-webkit-scrollbar {
      width: 6px;
    }

    ::-webkit-scrollbar-track {
      background: transparent;
    }

    ::-webkit-scrollbar-thumb {
      background: var(--accent);
      border-radius: 99px;
    }

    /* TOPNAV */
    .topnav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 40px;
      height: 64px;
      background: rgba(248, 250, 255, 0.85);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--border);
      transition: background .3s;
    }

    .dark-mode .topnav {
      background: rgba(7, 11, 20, 0.88);
    }

    .topnav-brand {
      font-size: 18px;
      font-weight: 800;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .topnav-links {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .topnav-links a {
      padding: 7px 14px;
      border-radius: 10px;
      text-decoration: none;
      font-size: 13px;
      font-weight: 600;
      color: var(--muted);
      transition: .2s;
    }

    .topnav-links a:hover {
      background: rgba(37, 99, 235, 0.08);
      color: var(--accent);
    }

    .theme-btn {
      margin-left: 8px;
      padding: 8px 12px;
      border-radius: 10px;
      border: 1px solid var(--border);
      background: var(--card);
      cursor: pointer;
      font-size: 16px;
      line-height: 1;
      transition: .2s;
    }

    .theme-btn:hover {
      border-color: var(--accent);
    }

    @media(max-width:768px) {
      .topnav {
        padding: 0 20px;
      }

      .topnav-links a:not(:last-child) {
        display: none;
      }
    }

    /* SOCIAL FLOAT */
    .social-float {
      position: fixed;
      top: 50%;
      right: 20px;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 10px;
      z-index: 900;
    }

    .social-float a {
      width: 40px;
      height: 40px;
      border-radius: 12px;
      background: var(--card);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--muted);
      text-decoration: none;
      font-size: 16px;
      box-shadow: var(--shadow);
      transition: .25s;
    }

    .social-float a:hover {
      background: var(--accent);
      color: white;
      border-color: var(--accent);
      transform: scale(1.12);
    }

    /* HERO */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      padding: 100px 40px 60px;
      background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    }

    .hero-blob {
      position: absolute;
      border-radius: 50%;
      filter: blur(90px);
      pointer-events: none;
      animation: blobMove 10s ease-in-out infinite alternate;
    }

    .hblob1 {
      width: 600px;
      height: 600px;
      top: -200px;
      left: -150px;
      background: rgba(37, 99, 235, 0.08);
    }

    .hblob2 {
      width: 500px;
      height: 500px;
      bottom: -150px;
      right: -100px;
      background: rgba(14, 165, 233, 0.07);
      animation-delay: 3s;
    }

    .hblob3 {
      width: 300px;
      height: 300px;
      top: 40%;
      left: 60%;
      background: rgba(16, 185, 129, 0.06);
      animation-delay: 6s;
    }

    @keyframes blobMove {
      from {
        transform: scale(1) translate(0, 0);
      }

      to {
        transform: scale(1.15) translate(30px, -20px);
      }
    }

    .hero-inner {
      position: relative;
      z-index: 2;
      text-align: center;
      max-width: 800px;
    }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 24px;
      padding: 7px 18px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      background: rgba(37, 99, 235, 0.1);
      color: var(--accent);
      border: 1px solid rgba(37, 99, 235, 0.2);
    }

    .hero-eyebrow::before {
      content: '';
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--accent);
      animation: pulse 1.5s ease-in-out infinite;
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 1;
        transform: scale(1);
      }

      50% {
        opacity: .4;
        transform: scale(.8);
      }
    }

    .hero-name {
      font-size: clamp(38px, 7vw, 72px);
      font-weight: 900;
      line-height: 1.08;
      margin-bottom: 12px;
    }

    .hero-name .grad {
      background: linear-gradient(135deg, var(--accent), var(--accent2), var(--green));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-role {
      font-size: clamp(15px, 2.5vw, 20px);
      color: var(--muted);
      margin-bottom: 32px;
      font-weight: 500;
    }

    .hero-cta {
      display: flex;
      gap: 14px;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 48px;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 28px;
      border-radius: 14px;
      font-size: 15px;
      font-weight: 700;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      color: white;
      text-decoration: none;
      border: none;
      cursor: pointer;
      box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
      transition: .25s;
    }

    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 28px rgba(37, 99, 235, 0.45);
    }

    .btn-outline {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 28px;
      border-radius: 14px;
      font-size: 15px;
      font-weight: 700;
      background: var(--card);
      color: var(--text);
      text-decoration: none;
      border: 2px solid var(--border);
      transition: .25s;
      box-shadow: var(--shadow);
    }

    .btn-outline:hover {
      border-color: var(--accent);
      color: var(--accent);
      transform: translateY(-3px);
    }

    .hero-stats {
      display: flex;
      gap: 40px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .hero-stat {
      text-align: center;
    }

    .hero-stat-val {
      font-size: 32px;
      font-weight: 900;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-stat-label {
      font-size: 12px;
      color: var(--muted);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: .5px;
      margin-top: 2px;
    }

    /* SECTION */
    .section-wrap {
      max-width: 1100px;
      margin: 0 auto;
      padding: 80px 24px;
    }

    .section-header {
      text-align: center;
      margin-bottom: 48px;
    }

    .section-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      margin-bottom: 14px;
      padding: 5px 14px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      background: rgba(37, 99, 235, 0.08);
      color: var(--accent);
      border: 1px solid rgba(37, 99, 235, 0.15);
    }

    .section-title {
      font-size: clamp(24px, 4vw, 38px);
      font-weight: 800;
    }

    .section-title .grad {
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .section-sub {
      color: var(--muted);
      font-size: 15px;
      margin-top: 10px;
    }

    /* CARD APP-FEEL */
    .card {
      background: var(--card);
      border-radius: var(--radius);
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
      transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: var(--glow);
    }

    /* ABOUT */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 280px;
      gap: 32px;
      align-items: center;
    }

    @media(max-width:768px) {
      .about-grid {
        grid-template-columns: 1fr;
      }
    }

    .about-card {
      padding: 40px;
    }

    .about-tag {
      display: inline-block;
      padding: 5px 14px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .8px;
      background: rgba(37, 99, 235, 0.08);
      color: var(--accent);
      border: 1px solid rgba(37, 99, 235, 0.15);
      margin-bottom: 16px;
    }

    .about-card h2 {
      font-size: 26px;
      font-weight: 800;
      margin-bottom: 14px;
    }

    .about-card p {
      color: var(--muted);
      line-height: 1.75;
      font-size: 15px;
    }

    .about-img-wrap {
      position: relative;
    }

    .about-img-wrap img {
      width: 100%;
      border-radius: 20px;
      object-fit: cover;
      aspect-ratio: 4/5;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
      transition: .3s;
    }

    .about-img-wrap img:hover {
      transform: scale(1.02);
    }

    .about-img-badge {
      position: absolute;
      bottom: -16px;
      right: -16px;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      color: white;
      padding: 14px 18px;
      border-radius: 16px;
      font-weight: 800;
      font-size: 13px;
      line-height: 1.4;
      box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
      text-align: center;
    }

    /* EXPERIENCE */
    .exp-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
      gap: 24px;
    }

    .exp-card {
      padding: 32px;
    }

    .exp-card-head {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      margin-bottom: 20px;
    }

    .exp-logo {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      flex-shrink: 0;
      color: white;
    }

    .exp-company {
      font-size: 18px;
      font-weight: 800;
    }

    .exp-dur {
      display: inline-flex;
      margin-top: 6px;
      padding: 4px 10px;
      border-radius: 8px;
      font-size: 12px;
      font-weight: 700;
      background: rgba(37, 99, 235, 0.08);
      color: var(--accent);
      border: 1px solid rgba(37, 99, 235, 0.15);
    }

    .exp-divider {
      height: 1px;
      background: var(--border);
      margin: 0 0 18px;
    }

    .exp-tasks {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .exp-tasks li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-size: 14px;
      color: var(--muted);
    }

    .exp-tasks i {
      color: var(--accent);
      margin-top: 3px;
      flex-shrink: 0;
    }

    /* SKILLS */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 24px;
    }

    .skill-card {
      padding: 32px;
    }

    .skill-card-head {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 24px;
    }

    .skill-icon-wrap {
      width: 48px;
      height: 48px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .skill-icon-wrap img {
      width: 30px;
      height: 30px;
    }

    .skill-soft .skill-icon-wrap {
      background: rgba(251, 146, 60, 0.15);
    }

    .skill-hard .skill-icon-wrap {
      background: rgba(56, 189, 248, 0.15);
    }

    .skill-card-head h3 {
      font-size: 18px;
      font-weight: 800;
    }

    .skill-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .skill-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 14px;
      border-radius: 12px;
      font-size: 14px;
      font-weight: 500;
      background: rgba(37, 99, 235, 0.04);
      border: 1px solid var(--border);
      transition: .2s;
    }

    .skill-item:hover {
      border-color: var(--accent);
      background: rgba(37, 99, 235, 0.07);
    }

    .skill-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      flex-shrink: 0;
    }

    /* PROJECTS */
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 20px;
    }

    .proj-card {
      padding: 28px;
      text-decoration: none;
      color: var(--text);
      display: flex;
      flex-direction: column;
      gap: 12px;
      position: relative;
      overflow: hidden;
    }

    .proj-card::before {
      content: '';
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: .3s;
      border-radius: inherit;
    }

    .proj-card:hover::before {
      opacity: 1;
    }

    .proj-iot::before {
      background: linear-gradient(135deg, rgba(22, 163, 74, 0.06), rgba(14, 165, 160, 0.04));
    }

    .proj-agri::before {
      background: linear-gradient(135deg, rgba(20, 184, 166, 0.06), rgba(22, 163, 74, 0.04));
    }

    .proj-cpns::before {
      background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(5, 150, 105, 0.04));
    }

    .proj-kantor::before {
      background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(14, 165, 233, 0.04));
    }

    .proj-icon {
      width: 52px;
      height: 52px;
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      flex-shrink: 0;
    }

    .proj-iot .proj-icon {
      background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    }

    .proj-agri .proj-icon {
      background: linear-gradient(135deg, #ccfbf1, #99f6e4);
    }

    .proj-cpns .proj-icon {
      background: linear-gradient(135deg, #d1fae5, #6ee7b7);
    }

    .proj-kantor .proj-icon {
      background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    }

    .dark-mode .proj-iot .proj-icon {
      background: rgba(22, 163, 74, 0.2);
    }

    .dark-mode .proj-agri .proj-icon {
      background: rgba(20, 184, 166, 0.2);
    }

    .dark-mode .proj-cpns .proj-icon {
      background: rgba(16, 185, 129, 0.2);
    }

    .dark-mode .proj-kantor .proj-icon {
      background: rgba(37, 99, 235, 0.2);
    }

    .proj-name {
      font-size: 17px;
      font-weight: 800;
    }

    .proj-desc {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.6;
      flex: 1;
    }

    .proj-arrow {
      font-size: 13px;
      font-weight: 700;
      color: var(--accent);
      display: flex;
      align-items: center;
      gap: 5px;
      transition: gap .2s;
    }

    .proj-card:hover .proj-arrow {
      gap: 9px;
    }

    /* GALLERY */
    .gallery-slider {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      padding: 10px 0 30px;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      cursor: grab;
    }

    .gallery-slider::-webkit-scrollbar {
      display: none;
    }

    .gallery-slider.active {
      cursor: grabbing;
    }

    .gallery-item {
      min-width: 320px;
      border-radius: 20px;
      overflow: hidden;
      flex-shrink: 0;
      position: relative;
      box-shadow: var(--shadow);
      transition: transform .3s;
    }

    .gallery-item:hover {
      transform: translateY(-8px) scale(1.01);
    }

    .gallery-item img {
      width: 100%;
      height: 240px;
      object-fit: cover;
      display: block;
    }

    .gallery-caption {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 20px 18px 16px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
      color: white;
    }

    .gallery-caption h4 {
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 3px;
    }

    .gallery-caption p {
      font-size: 12px;
      opacity: .85;
    }

    /* LIGHTBOX */
    .lightbox {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.92);
      z-index: 99999;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      opacity: 0;
      pointer-events: none;
      transition: .3s;
    }

    .lightbox.show {
      opacity: 1;
      pointer-events: auto;
    }

    .lightbox img {
      max-width: 85%;
      max-height: 72%;
      border-radius: 16px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
      transform: scale(.8);
      opacity: 0;
      transition: .4s;
    }

    .lightbox.show img {
      transform: scale(1);
      opacity: 1;
    }

    .lightbox-caption {
      color: white;
      margin-top: 16px;
      font-size: 15px;
      text-align: center;
      max-width: 70%;
    }

    .lightbox-close {
      position: absolute;
      top: 24px;
      right: 32px;
      font-size: 36px;
      color: white;
      cursor: pointer;
      opacity: .7;
      transition: .2s;
    }

    .lightbox-close:hover {
      opacity: 1;
      transform: scale(1.1);
    }

    /* CONTACT */
    .contact-wrap {
      max-width: 600px;
      margin: 0 auto;
    }

    .contact-card {
      padding: 44px;
    }

    .contact-form {
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-top: 0;
    }

    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 14px 18px;
      border-radius: 14px;
      border: 2px solid var(--border);
      background: var(--bg);
      color: var(--text);
      font-family: inherit;
      font-size: 15px;
      outline: none;
      transition: .25s;
    }

    /* INPUT FOCUS APP-FEEL */
    .contact-form input:focus,
    .contact-form textarea:focus {
      border-color: var(--accent);
      background: var(--card);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
    }

    .contact-form textarea {
      min-height: 130px;
      resize: vertical;
    }

    .send-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 15px;
      border: none;
      border-radius: 14px;
      cursor: pointer;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      color: white;
      font-size: 15px;
      font-weight: 700;
      font-family: inherit;
      box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
      transition: .25s;
    }

    .send-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 28px rgba(37, 99, 235, 0.45);
    }

    .send-btn:disabled {
      opacity: .6;
      cursor: not-allowed;
      transform: none;
    }

    .btn-spinner {
      display: none;
      width: 18px;
      height: 18px;
      border: 3px solid rgba(255, 255, 255, .35);
      border-top-color: white;
      border-radius: 50%;
      animation: spin .7s linear infinite;
    }

    .send-btn.loading .btn-spinner {
      display: block;
    }

    .send-btn.loading .btn-text {
      opacity: .7;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    /* POPUP */
    .popup-overlay {
      position: fixed;
      inset: 0;
      z-index: 99999;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(8px);
      opacity: 0;
      pointer-events: none;
      transition: .3s;
    }

    .popup-overlay.show {
      opacity: 1;
      pointer-events: auto;
    }

    .popup-card {
      background: var(--card);
      border-radius: 28px;
      padding: 44px 36px 36px;
      max-width: 420px;
      width: 90%;
      text-align: center;
      box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
      transform: scale(.8) translateY(30px);
      transition: transform .45s cubic-bezier(.17, .67, .32, 1.34), opacity .35s;
      opacity: 0;
      position: relative;
      overflow: hidden;
    }

    .popup-overlay.show .popup-card {
      transform: scale(1) translateY(0);
      opacity: 1;
    }

    .popup-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 5px;
      background: linear-gradient(90deg, var(--accent), var(--accent2), var(--green));
      border-radius: 28px 28px 0 0;
    }

    .popup-icon-wrap {
      width: 90px;
      height: 90px;
      border-radius: 50%;
      background: linear-gradient(135deg, #f0fdf4, #dcfce7);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      font-size: 2.8rem;
      box-shadow: 0 0 0 12px rgba(34, 197, 94, 0.08);
      animation: popIn .5s cubic-bezier(.17, .67, .32, 1.34) .15s both;
    }

    .popup-icon-wrap.err {
      background: linear-gradient(135deg, #fff1f2, #fee2e2);
      box-shadow: 0 0 0 12px rgba(239, 68, 68, 0.08);
    }

    @keyframes popIn {
      from {
        transform: scale(.3);
        opacity: 0;
      }

      to {
        transform: scale(1);
        opacity: 1;
      }
    }

    .popup-card h2 {
      font-size: 22px;
      font-weight: 800;
      margin-bottom: 8px;
    }

    .popup-card p {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.65;
      margin-bottom: 20px;
    }

    .popup-bar {
      width: 100%;
      height: 4px;
      background: var(--border);
      border-radius: 999px;
      overflow: hidden;
      margin-bottom: 12px;
    }

    .popup-bar-fill {
      height: 100%;
      width: 100%;
      background: linear-gradient(90deg, var(--accent), var(--green));
      border-radius: 999px;
      transition: width linear;
    }

    .popup-timer {
      font-size: 12px;
      color: var(--muted);
      margin-bottom: 20px;
    }

    .popup-close-btn {
      width: 100%;
      padding: 14px;
      border: none;
      border-radius: 14px;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      color: white;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      font-family: inherit;
      box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
      transition: .25s;
    }

    .popup-close-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 28px rgba(37, 99, 235, 0.4);
    }

    .popup-close-btn.err-btn {
      background: linear-gradient(135deg, #ef4444, #b91c1c);
      box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
    }

    /* CONFETTI */
    .confetti-piece {
      position: fixed;
      top: -12px;
      border-radius: 2px;
      animation: cfFall linear forwards;
      z-index: 999999;
    }

    @keyframes cfFall {
      0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
      }

      100% {
        transform: translateY(108vh) rotate(720deg);
        opacity: 0;
      }
    }

    /* FOOTER */
    .site-footer {
      padding: 36px 24px;
      border-top: 1px solid var(--border);
    }

    .footer-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
      font-size: 13px;
      color: var(--muted);
    }

    .footer-brand {
      font-weight: 800;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* REVEAL */
    .reveal {
      opacity: 0;
      transform: translateY(36px);
      transition: opacity .75s ease, transform .75s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    @media (min-width: 768px) {
      .exp-grid .exp-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 12px); 
      }
    }

    /* ==========================================
       TAMBAHAN: CHATBOT UI (FLOATING)
       ========================================== */
    .chatbot-toggler {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      color: white;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      cursor: pointer;
      box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
      z-index: 1000;
      transition: all 0.3s ease;
    }
    .chatbot-toggler:hover {
      transform: scale(1.1);
    }
    
    .chatbot-window {
      position: fixed;
      bottom: 110px;
      right: 30px;
      width: 350px;
      max-width: calc(100vw - 60px);
      background: var(--card);
      border-radius: 20px;
      border: 1px solid var(--border);
      box-shadow: var(--shadow), 0 20px 40px rgba(0,0,0,0.1);
      overflow: hidden;
      z-index: 999;
      opacity: 0;
      pointer-events: none;
      transform: translateY(20px) scale(0.95);
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    .chatbot-window.show {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0) scale(1);
    }
    
    .chatbot-header {
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      color: white;
      padding: 16px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    
    .chatbot-header h3 {
      font-size: 15px;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    .chatbot-close {
      background: none;
      border: none;
      color: white;
      font-size: 20px;
      cursor: pointer;
      opacity: 0.8;
      transition: 0.2s;
    }
    
    .chatbot-close:hover {
      opacity: 1;
      transform: scale(1.2);
    }
    
    .chatbot-body {
      height: 350px;
      padding: 20px;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 12px;
      background: var(--bg);
    }
    
    .chat-msg {
      max-width: 80%;
      padding: 12px 16px;
      font-size: 13.5px;
      line-height: 1.5;
      border-radius: 16px;
      position: relative;
    }
    
    .chat-msg.bot {
      background: var(--card);
      color: var(--text);
      align-self: flex-start;
      border: 1px solid var(--border);
      border-bottom-left-radius: 4px;
    }
    
    .chat-msg.user {
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      color: white;
      align-self: flex-end;
      border-bottom-right-radius: 4px;
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    }
    
    .chatbot-input {
      display: flex;
      gap: 8px;
      padding: 16px;
      background: var(--card);
      border-top: 1px solid var(--border);
    }
    
    .chatbot-input input {
      flex: 1;
      padding: 12px 16px;
      border: 1px solid var(--border);
      border-radius: 99px;
      background: var(--bg);
      color: var(--text);
      outline: none;
      transition: 0.2s;
      font-size: 14px;
    }
    
    .chatbot-input input:focus {
      border-color: var(--accent);
    }
    
    .chatbot-input button {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: none;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      color: white;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: 0.2s;
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    }
    
    .chatbot-input button:hover {
      transform: scale(1.1);
    }

    body, .topbar, .project-card, .nav-link, .tag-chip, .sys-arch-box, .arch-icon, .hl-item {
    transition: background-color 0.5s ease, background 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, transform 0.3s ease !important;
    }