/* ==========================================================================
   LUI VISUAL — OFFICIAL PROFILE, CREATIVE PORTFOLIO & DIGITAL LAB
   Dark Cyberpunk Theme (#08080c) with Electric Blue, Fire Orange, Neon Green & Cyan
   100% Fully Responsive & Anti-Collision Protected
   ========================================================================== */

/* --- CSS Variables (Dark Luxury Cyber System) --- */
:root {
  --bg-primary: #07090e;
  --bg-secondary: #0c101b;
  --bg-card: rgba(14, 20, 34, 0.85);
  --bg-card-hover: rgba(20, 28, 48, 0.95);

  /* Brand Signature Accent (Primary) */
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.4);

  /* Utility & Status Accents (Refined, Non-Harsh) */
  --neon-green: #10b981;
  --neon-green-glow: rgba(16, 185, 129, 0.35);
  --neon-orange: #f59e0b;
  --neon-orange-glow: rgba(245, 158, 11, 0.35);
  --neon-blue: #38bdf8;
  --neon-blue-glow: rgba(56, 189, 248, 0.35);

  /* Typography Colors */
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.08);

  /* Consolidated 2-Font Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-hud: 'Orbitron', monospace;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions & Glass */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --glass-blur: blur(14px);
}

/* --- Reset & Global --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  width: 100%;
}

body {
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  width: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hidden Scrollbar (Scrollable without visible scrollbars) */
html, body, * {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
::-webkit-scrollbar,
*::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Neon Text Helpers */
.neon-blue { color: var(--neon-blue) !important; text-shadow: 0 0 16px var(--neon-blue-glow); }
.neon-orange { color: var(--neon-orange) !important; text-shadow: 0 0 16px var(--neon-orange-glow); }
.neon-green { color: var(--neon-green) !important; text-shadow: 0 0 16px var(--neon-green-glow); }
.neon-cyan { color: var(--neon-cyan) !important; text-shadow: 0 0 16px var(--neon-cyan-glow); }

.neon-blue-border { border: 1px solid var(--neon-blue) !important; box-shadow: 0 0 14px var(--neon-blue-glow); }
.neon-orange-border { border: 1px solid var(--neon-orange) !important; box-shadow: 0 0 14px var(--neon-orange-glow); }
.neon-green-border { border: 1px solid var(--neon-green) !important; box-shadow: 0 0 14px var(--neon-green-glow); }
.neon-cyan-border { border: 1px solid var(--neon-cyan) !important; box-shadow: 0 0 14px var(--neon-cyan-glow); }

/* Glassmorphism */
.glassmorphism {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
}
.glass-card {
  background: rgba(14, 16, 28, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  transition: all 0.25s var(--ease-smooth);
}
.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(102, 255, 204, 0.4);
  box-shadow: 0 12px 35px -10px rgba(0, 51, 255, 0.25);
  transform: translateY(-3px);
}

/* Mobile & Low-End GPU Performance Guard: Zero-Lag 60fps Scrolling */
@media (max-width: 768px), (hover: none) {
  .glassmorphism {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(14, 16, 26, 0.95) !important;
  }
  .glass-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(14, 16, 28, 0.92) !important;
  }
}

/* Hardware-Accelerated Ambient Glow Lights (Pure CSS Radial Gradients, 0ms GPU Blur) */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translateZ(0);
}
.glow-blue {
  width: 520px;
  height: 520px;
  top: 5%;
  left: -180px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, rgba(0, 240, 255, 0.02) 45%, transparent 70%);
}
.glow-orange {
  width: 480px;
  height: 480px;
  bottom: 10%;
  right: -180px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.07) 0%, rgba(99, 102, 241, 0.015) 45%, transparent 70%);
}
.glow-green {
  width: 420px;
  height: 420px;
  top: 50%;
  left: 45%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, rgba(0, 240, 255, 0.01) 45%, transparent 70%);
}

/* Custom Cursor (Desktop Only) */
.custom-cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}
.cursor-trail {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px dashed var(--neon-green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0.6;
}

@media (hover: none), (pointer: coarse), (max-width: 1024px) {
  .custom-cursor,
  .cursor-trail {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
}

/* ==========================================================================
   NAVIGATION BAR (ANTI-COLLISION BULLETPROOF HEADER)
   ========================================================================== */
.hud-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid var(--neon-cyan);
  background: rgba(7, 9, 14, 0.95);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.brand-logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  min-width: max-content;
}
.logo-wrapper {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
}
.brand-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.75));
  transition: transform 0.3s var(--ease-smooth);
}
.brand-logo-group:hover .brand-img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 16px rgba(0, 240, 255, 0.95));
}
.brand-title, .drawer-title, .footer-brand-text {
  font-family: var(--font-hud);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  display: block;
  white-space: nowrap;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 45%, #94a3b8 50%, #ffffff 85%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffffff;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.45));
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.8px;
  color: var(--neon-cyan);
  display: block;
  white-space: nowrap;
}

/* Nav Menu: Hidden on compact HUD */
.nav-menu {
  display: none !important;
}
.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 0.8vw, 0.8rem);
  letter-spacing: 0.5px;
  padding: 6px 4px;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-item .nav-index {
  color: var(--neon-cyan);
  font-weight: 700;
}
.nav-item:hover, .nav-item.active {
  color: var(--text-main);
}
.nav-item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  transition: width 0.25s var(--ease-smooth);
}
.nav-item:hover::after, .nav-item.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: max-content;
}

.nav-cta-btn, #navAuthBtn {
  padding: 7px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  border-radius: 6px;
  height: 36px;
  gap: 6px;
  text-transform: uppercase;
}

/* Garis Tiga Dropdown Toggle Button */
.mobile-toggle-btn,
.nav-dropdown-toggle-btn {
  display: inline-flex !important;
  background: rgba(14, 20, 34, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--neon-cyan);
  font-size: 1.15rem;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 8px;
  cursor: pointer;
  touch-action: manipulation;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-toggle-btn:hover,
.nav-dropdown-toggle-btn:hover {
  border-color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.12);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.35);
  color: #ffffff;
}
.mobile-toggle-btn.active,
.nav-dropdown-toggle-btn.active {
  border-color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.45);
  color: #ffffff;
}

/* ==========================================================================
   NAV DROPDOWN MENU (UNIFIED CYBER DROP-DOWN FOR DESKTOP & MOBILE)
   ========================================================================== */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 20px;
  width: 320px;
  max-width: calc(100vw - 28px);
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(8, 12, 22, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 240, 255, 0.16);
  border-radius: 14px;
  padding: 16px;
  z-index: 100000;
  display: none;
  flex-direction: column;
  gap: 10px;
  transform-origin: top right;
}

.nav-dropdown-menu.open {
  display: flex !important;
  animation: navDropdownAnim 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes navDropdownAnim {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ndm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ndm-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-hud);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--neon-cyan);
}
.ndm-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(0, 240, 255, 0.25);
}

.ndm-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ndm-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #cbd5e1;
  text-decoration: none;
  font-family: var(--font-hud);
  font-size: 0.8rem;
  letter-spacing: 0.6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.ndm-link .ndm-index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--neon-cyan);
  opacity: 0.85;
}

.ndm-link .ndm-label {
  flex: 1;
  color: #ffffff;
}

.ndm-link .ndm-chevron {
  font-size: 0.68rem;
  color: #64748b;
  transition: transform 0.2s ease, color 0.2s ease;
}

.ndm-link:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: rgba(0, 240, 255, 0.3);
  color: #ffffff;
  transform: translateX(3px);
}

.ndm-link:hover .ndm-chevron {
  color: var(--neon-cyan);
  transform: translateX(2px);
}

.ndm-link.active {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}

.ndm-link.active .ndm-label {
  color: var(--neon-cyan);
  font-weight: 800;
}

.ndm-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 2px 0;
}

.ndm-portals {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ndm-portal-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(14, 20, 34, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-hud);
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.ndm-portal-btn:hover {
  border-color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.12);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.25);
  transform: translateY(-1px);
}

.ndm-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #00f0ff, #0099ff);
  color: #030712;
  font-family: var(--font-hud);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-decoration: none;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.35);
  transition: all 0.2s ease;
}

.ndm-whatsapp-btn:hover {
  background: linear-gradient(135deg, #33f3ff, #1aa3ff);
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.55);
  color: #000;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .nav-dropdown-menu {
    top: calc(100% + 6px);
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
  }
  .hidden-mobile {
    display: none !important;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 9, 14, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  padding: 16px 20px 24px 20px;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, visibility 0.28s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.mobile-drawer.open {
  transform: translateX(0) !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding: 6px 0 16px 0;
  margin-bottom: 18px;
  min-height: 56px;
}
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.drawer-title {
  font-family: var(--font-hud);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 1px;
}
.close-drawer-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-main);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer-link {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-hud);
  font-size: 0.88rem;
  letter-spacing: 0.8px;
  padding: 11px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}
.drawer-link:hover, .drawer-link:active {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateX(4px);
}
.drawer-footer {
  margin-top: auto;
  padding-top: 20px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  font-family: var(--font-hud);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.2s var(--ease-smooth);
  border: none;
  touch-action: manipulation;
}
.btn-primary-cyan,
.btn-primary-neon {
  background: var(--neon-cyan);
  color: #07090e;
  font-weight: 800;
  border: 1.5px solid var(--neon-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.35);
}
.btn-primary-cyan:hover,
.btn-primary-neon:hover {
  background: #33f3ff;
  color: #000000;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.55);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: #10b981;
  color: #ffffff;
  font-weight: 700;
  border: 1.5px solid #10b981;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
}
.btn-whatsapp:hover {
  background: #059669;
  color: #ffffff;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.55);
  transform: translateY(-2px);
}
.btn-outline-cyan {
  background: rgba(0, 240, 255, 0.06);
  border: 1.5px solid var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
}
.btn-outline-cyan:hover {
  background: var(--neon-cyan);
  color: #07090e;
  box-shadow: 0 0 22px var(--neon-cyan-glow);
  transform: translateY(-2px);
}
.btn-outline-orange {
  background: rgba(245, 158, 11, 0.06);
  border: 1.5px solid var(--neon-orange);
  color: var(--neon-orange);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.15);
}
.btn-outline-orange:hover {
  background: var(--neon-orange);
  color: #07090e;
  box-shadow: 0 0 20px var(--neon-orange-glow);
  transform: translateY(-2px);
}
.btn-tool-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 18px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: #00f0ff;
  border-radius: 8px;
  font-family: var(--font-hud);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-decoration: none;
  transition: all 0.2s var(--ease-smooth);
}
.btn-tool-action:hover {
  background: #00f0ff;
  color: #07090e;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}
.btn-glow-green { box-shadow: 0 0 18px var(--neon-green-glow); }
.btn-glow-cyan { box-shadow: 0 0 18px var(--neon-cyan-glow); }
.btn-glow-orange { box-shadow: 0 0 18px var(--neon-orange-glow); }
.w-100 { width: 100%; }
.mb-2 { margin-bottom: 8px; }
.mt-2 { margin-top: 8px; }
.text-center { text-align: center; }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 110px;
  padding-bottom: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Big Frameless Center Logo */
.hero-center-logo-wrap {
  margin-bottom: 22px;
}
.hero-logo-halo {
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.hero-logo-big {
  width: 130px;
  height: 130px;
  max-width: 90vw;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.7)) drop-shadow(0 0 50px rgba(255, 102, 0, 0.5));
  animation: heroLogoFloat 4s ease-in-out infinite alternate;
}
@keyframes heroLogoFloat {
  0% {
    transform: translateY(0px) scale(1);
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.6)) drop-shadow(0 0 40px rgba(255, 102, 0, 0.4));
  }
  100% {
    transform: translateY(-8px) scale(1.04);
    filter: drop-shadow(0 0 35px rgba(0, 240, 255, 0.9)) drop-shadow(0 0 65px rgba(255, 102, 0, 0.65));
  }
}

.telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: 30px;
  border: 1px solid rgba(102, 255, 204, 0.4);
  margin-bottom: 20px;
  max-width: 100%;
}
.live-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
  animation: pulseBeacon 1.4s infinite;
  flex-shrink: 0;
}
@keyframes pulseBeacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}
.badge-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.8px;
  word-break: break-word;
}

/* White Metallic Chrome Hero Title with Subtle Animated Sheen */
.hero-main-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8.5vw, 5.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 2.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
  word-break: break-word;
  background: linear-gradient(
    115deg,
    #ffffff 0%,
    #ffffff 35%,
    #e8edf5 45%,
    #a8bccf 50%,
    #e8edf5 55%,
    #ffffff 65%,
    #ffffff 100%
  );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffffff;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.45)) drop-shadow(0 0 25px rgba(0, 240, 255, 0.25));
  animation: metallicSlowShine 8s ease-in-out infinite alternate;
  text-shadow: none;
}
.metallic-white-glow {
  background: linear-gradient(
    115deg,
    #ffffff 0%,
    #ffffff 35%,
    #e8edf5 45%,
    #a8bccf 50%,
    #e8edf5 55%,
    #ffffff 65%,
    #ffffff 100%
  );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffffff;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.45)) drop-shadow(0 0 25px rgba(0, 240, 255, 0.25));
  animation: metallicSlowShine 8s ease-in-out infinite alternate;
}
@keyframes metallicSlowShine {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.hero-sub-role {
  font-family: var(--font-hud);
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.hero-roles-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.role-pill {
  font-family: var(--font-hud);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(10, 12, 22, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.role-divider {
  color: var(--neon-cyan);
  font-size: 0.75rem;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 500;
  color: #ffffff;
  margin-top: 18px;
  margin-bottom: 10px;
  padding: 0 10px;
}
.hero-desc {
  max-width: 780px;
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.65;
  padding: 0 10px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 42px;
  width: 100%;
}

/* Stats Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}
.stat-card {
  padding: 16px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  border-radius: 12px;
}
.stat-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.stat-number {
  display: block;
  font-family: var(--font-hud);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-align: center;
}
.stat-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  white-space: nowrap;
  text-align: center;
}

.scroll-down-hud {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  z-index: 10;
  transition: color 0.2s;
}
.scroll-down-hud:hover { color: var(--neon-cyan); }
.scroll-arrow { animation: bounceDown 1.5s infinite; }
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section {
  padding: 85px 0;
  position: relative;
}
.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 42px auto;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1px;
  background: rgba(12, 14, 24, 0.85);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.2vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   SECTION 02: TENTANG SAYA
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.about-card {
  padding: 28px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.about-bio-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.about-avatar-wrapper {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 16px;
  background: #0d0e1a;
  border: 2px solid var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-avatar-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.about-name {
  font-family: var(--font-hud);
  font-size: 1.25rem;
  font-weight: 900;
}
.about-badge-role {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}
.about-location {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.about-text-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 24px;
}
.about-text-content b { color: #ffffff; }

/* Color Palette & Interactive Philosophy */
.color-palette-showcase {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}
.palette-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.palette-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.8px;
}
.palette-hint-chip {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  padding: 2px 8px;
  border-radius: 12px;
}
.palette-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  width: 100%;
}
.swatch-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(16, 20, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.22s var(--ease-smooth);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  flex: 1 1 auto;
  white-space: nowrap;
  min-width: 0;
}
.swatch-lbl {
  white-space: nowrap;
}
.swatch-item:hover, .swatch-item.active {
  background: rgba(26, 32, 54, 0.95);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: translateY(-2px);
}
.swatch-item.active {
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}
.swatch {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}
.swatch-mono {
  background: linear-gradient(135deg, #000 50%, #fff 50%);
  border: 1px solid #777;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}
.palette-philosophy-box {
  background: rgba(8, 11, 20, 0.9);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.25s ease;
  min-height: 64px;
}
.philo-icon-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
  transition: all 0.25s ease;
}
.philo-text-content {
  flex: 1;
}
.philo-title {
  display: block;
  font-family: var(--font-hud);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}
.philo-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.about-features-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}
.feature-card {
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex: 1;
  border-radius: 14px;
}
.feat-icon-box {
  font-size: 1.4rem;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-title {
  font-family: var(--font-hud);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.feat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   SECTION 03: KEAHLIAN & MATRIX
   ========================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.skill-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.sc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.sc-icon { font-size: 1.5rem; }
.sc-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
}
.sc-title {
  font-family: var(--font-hud);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}
.sc-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Software Matrix */
.software-matrix-box {
  padding: 24px;
  border-radius: 16px;
  background: rgba(12, 15, 26, 0.75);
  border: 1px solid var(--border-subtle);
}
.matrix-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}
.matrix-title {
  font-family: var(--font-hud);
  font-size: 0.85rem;
  letter-spacing: 1px;
  font-weight: 700;
  color: #ffffff;
}
.matrix-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 3px 10px;
  border-radius: 20px;
}
.matrix-meters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
}
.matrix-meter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.2s ease;
}
.matrix-meter-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 240, 255, 0.3);
}
.m-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.m-name {
  color: #ffffff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.m-val {
  color: var(--text-muted);
  font-size: 0.72rem;
  text-align: right;
  white-space: nowrap;
}

/* ==========================================================================
   SECTION 04: LAYANAN
   ========================================================================== */
.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-box {
  padding: 28px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}
.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(14, 16, 28, 0.9);
  border: 1px solid var(--border-subtle);
}
.service-number {
  font-family: var(--font-hud);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-dim);
}
.service-heading {
  font-family: var(--font-hud);
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 10px;
}
.service-paragraph {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.service-deliverables {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  margin-bottom: 22px;
}
.deliv-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.deliv-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.deliv-list li {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.deliv-list li i { font-size: 0.75rem; margin-top: 3px; }

/* Equipment Master CTA Bar */
.equipment-master-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 36px;
  padding: 26px 36px;
  border-radius: 16px;
  border: 1px solid rgba(255, 102, 0, 0.35);
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.08) 0%, rgba(13, 17, 28, 0.95) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 102, 0, 0.05);
  text-align: left;
}
.eq-cta-text {
  flex: 1;
}
.eq-cta-headline {
  font-family: var(--font-hud);
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eq-cta-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
.eq-cta-btn {
  flex-shrink: 0;
  white-space: nowrap;
  background: linear-gradient(135deg, #00f0ff, #0099ff);
  border: 1px solid #00f0ff;
  color: #07090e;
  font-weight: 800;
  padding: 13px 26px;
  font-size: 0.88rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.eq-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.7);
  color: #07090e;
}

@media (max-width: 900px) {
  .equipment-master-cta {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 24px 20px;
  }
  .eq-cta-headline {
    justify-content: center;
  }
  .eq-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   SECTION 05: PORTOFOLIO & DIGITAL CREATIONS (ENHANCED)
   ========================================================================== */
/* Filter Tabs */
.portfolio-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.filter-tab-btn {
  background: rgba(14, 16, 28, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-hud);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 10px 18px;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s var(--ease-smooth);
}
.filter-tab-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
  border-color: rgba(102, 255, 204, 0.4);
}
.filter-tab-btn.active {
  background: rgba(102, 255, 204, 0.15);
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 16px var(--neon-cyan-glow);
}
.filter-count {
  background: rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 10px;
  color: #fff;
}

/* Group Sections & Headers */
.portfolio-group-section {
  margin-bottom: 36px;
  transition: all 0.3s ease;
}

.portfolio-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px 22px;
  border-radius: 16px;
  background: rgba(14, 18, 30, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.group-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.group-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
  flex-shrink: 0;
}

.group-icon-badge.neon-green {
  background: rgba(102, 255, 0, 0.1);
  border-color: rgba(102, 255, 0, 0.35);
  box-shadow: 0 0 16px rgba(102, 255, 0, 0.2);
  color: var(--neon-green);
}

.group-title {
  font-family: var(--font-hud);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0 0 4px 0;
  color: #fff;
}

.group-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.group-toggle-btn {
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--neon-cyan);
  font-family: var(--font-hud);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s var(--ease-smooth);
}

.group-toggle-btn:hover {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 15px var(--neon-cyan-glow);
  transform: translateY(-2px);
}

.group-toggle-btn.btn-toggle-green {
  background: rgba(102, 255, 0, 0.08);
  border-color: rgba(102, 255, 0, 0.4);
  color: var(--neon-green);
}

.group-toggle-btn.btn-toggle-green:hover {
  background: var(--neon-green);
  color: #000;
  box-shadow: 0 0 15px var(--neon-green-glow);
}

.portfolio-group-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.3), rgba(102, 255, 0, 0.3), transparent);
  margin: 36px 0;
}

/* Extra items hidden by default (strictly 3 items in default view) */
.porto-compact-card.porto-extra {
  display: none !important;
}

/* Shown when group section is expanded */
.portfolio-group-section.is-expanded .porto-compact-card.porto-extra {
  display: flex !important;
}

/* Master Showreel & App Banner */
.portfolio-compact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
}

.porto-compact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 16px;
  background: rgba(13, 17, 28, 0.8);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  flex: 0 1 calc(33.333% - 14px);
  min-width: 320px;
  max-width: 380px;
  box-sizing: border-box;
  cursor: default;
}

@media (max-width: 1100px) {
  .porto-compact-card {
    flex: 0 1 calc(50% - 10px);
    max-width: 480px;
  }
}

@media (max-width: 700px) {
  .porto-compact-card {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: unset;
  }
}

.porto-compact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.15);
}

.porto-compact-card.card-glow-green:hover {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.2);
}

.porto-compact-card.card-glow-orange:hover {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.2);
}

.porto-compact-card.card-glow-cyan:hover {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.2);
}

.porto-compact-card.card-glow-blue:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.2);
}

.pcc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pcc-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.pcc-icon.neon-blue-glow {
  border-color: rgba(0, 180, 255, 0.4);
  box-shadow: 0 0 15px rgba(0, 180, 255, 0.25);
  background: rgba(0, 140, 255, 0.08);
}

.pcc-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.pcc-tag {
  font-family: var(--font-hud);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
}

.pcc-tag.tag-green {
  background: rgba(102, 255, 0, 0.12);
  color: var(--neon-green);
  border: 1px solid rgba(102, 255, 0, 0.3);
}

.pcc-tag.tag-orange {
  background: rgba(255, 102, 0, 0.12);
  color: var(--neon-orange);
  border: 1px solid rgba(255, 102, 0, 0.3);
}

.pcc-tag.tag-cyan {
  background: rgba(0, 240, 255, 0.12);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.pcc-tag.tag-blue {
  background: rgba(0, 140, 255, 0.15);
  color: #00d2ff;
  border: 1px solid rgba(0, 140, 255, 0.35);
}

.pcc-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.pcc-title {
  font-family: var(--font-hud);
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.35;
}

.pcc-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.52;
  margin-bottom: 14px;
  flex: 1;
}

.pcc-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  margin-bottom: 0;
}

.pcc-feature-pill {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.pcc-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.pcc-actions .btn {
  font-size: 0.8rem;
  padding: 9px 14px;
  border-radius: 8px;
}

/* Master Action Card (Tools & Plugins Preview CTA) */
.tools-preview-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 22px 28px;
  border-radius: 16px;
  border: 1px solid rgba(0, 240, 255, 0.35);
  background: rgba(14, 20, 34, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 240, 255, 0.08);
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.tools-preview-cta:hover {
  border-color: rgba(0, 240, 255, 0.6);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 240, 255, 0.18);
}

.tools-preview-cta .cta-content {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.tools-preview-cta .cta-title {
  font-family: var(--font-hud);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.45;
}

.tools-preview-cta .cta-title i {
  font-size: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.tools-preview-cta .cta-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

.tools-preview-cta .cta-btn {
  flex-shrink: 0;
  white-space: nowrap;
  font-family: var(--font-hud);
  font-weight: 800;
  padding: 13px 26px;
  font-size: 0.86rem;
  letter-spacing: 0.5px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  background: var(--neon-cyan);
  color: #020617;
  border: none;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.4);
  transition: all 0.25s ease;
}

.tools-preview-cta .cta-btn:hover {
  background: #ffffff;
  color: #020617;
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.7);
  transform: translateY(-2px);
}

@media (max-width: 860px) {
  .tools-preview-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 20px;
  }

  .tools-preview-cta .cta-title {
    font-size: 0.98rem;
    flex-wrap: wrap;
    gap: 8px;
  }

  .tools-preview-cta .cta-desc {
    font-size: 0.84rem;
  }

  .tools-preview-cta .cta-btn {
    width: 100%;
    padding: 13px 18px;
    font-size: 0.84rem;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .tools-preview-cta {
    padding: 18px 16px;
    gap: 14px;
    border-radius: 14px;
  }

  .tools-preview-cta .cta-title {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .tools-preview-cta .cta-desc {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .tools-preview-cta .cta-btn {
    padding: 12px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .portfolio-compact-grid {
    grid-template-columns: 1fr;
  }
}

.master-showreel-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.showreel-hero-banner {
  padding: 38px 30px;
  text-align: center;
  position: relative;
}
.sr-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 10px;
}
.live-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: var(--neon-cyan);
  background: rgba(102, 255, 204, 0.12);
  border: 1px solid var(--neon-cyan);
  padding: 5px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pulse-dot {
  font-size: 0.5rem;
  animation: pulseDot 1.2s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.6); }
}
.quality-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
}
.app-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(0, 51, 255, 0.3) 0%, rgba(8, 8, 12, 0.95) 100%);
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 25px var(--neon-cyan-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--neon-cyan);
  margin: 0 auto 16px auto;
}
.sr-headline {
  font-family: var(--font-hud);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.sr-summary {
  max-width: 760px;
  margin: 0 auto 20px auto;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.app-features-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.tag-tech {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: #111424;
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--text-muted);
}
.app-action-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Plugin Showcase Grid */
.plugin-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 14px;
}
.plugin-img-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(102, 255, 204, 0.35);
  box-shadow: 0 0 25px rgba(0, 51, 255, 0.25);
  cursor: pointer;
  background: #080a14;
}
.plugin-preview-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.35s var(--ease-smooth);
}
.plugin-img-wrap:hover .plugin-preview-img {
  transform: scale(1.03);
}
.plugin-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 60%, rgba(8, 8, 12, 0.95) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.plugin-tag-overlay {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--neon-cyan);
  background: rgba(8, 8, 12, 0.85);
  border: 1px solid var(--neon-cyan);
  padding: 4px 12px;
  border-radius: 20px;
}
.plugin-details-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .plugin-showcase-grid {
    grid-template-columns: 1fr;
  }
}

/* Works Grid */
.works-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.work-card {
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.wc-thumb {
  height: 160px;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 14px;
}
.thumb-lut {
  background: linear-gradient(135deg, rgba(8, 8, 12, 0.8) 0%, rgba(102, 255, 0, 0.25) 100%), radial-gradient(circle at top right, #66ff0044, #08080c);
}
.thumb-webapp {
  background: linear-gradient(135deg, rgba(8, 8, 12, 0.8) 0%, rgba(0, 51, 255, 0.35) 100%), radial-gradient(circle at top right, #66ffcc44, #08080c);
}
.thumb-vj {
  background: linear-gradient(135deg, rgba(8, 8, 12, 0.8) 0%, rgba(255, 51, 0, 0.35) 100%), radial-gradient(circle at top right, #ff330044, #08080c);
}
.thumb-aftermovie {
  background: linear-gradient(135deg, rgba(8, 8, 12, 0.8) 0%, rgba(0, 51, 255, 0.35) 100%), radial-gradient(circle at top right, #ff330044, #08080c);
}
.wc-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(8, 8, 12, 0.9);
  border: 1px solid var(--border-subtle);
}
.neon-green-badge { border-color: var(--neon-green); color: var(--neon-green); }
.neon-cyan-badge { border-color: var(--neon-cyan); color: var(--neon-cyan); }
.neon-orange-badge { border-color: var(--neon-orange); color: var(--neon-orange); }
.neon-blue-badge { border-color: var(--neon-blue); color: var(--neon-blue); }

.wc-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.wc-type-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.wc-title {
  font-family: var(--font-hud);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 8px;
}
.wc-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}
.wc-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wc-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}
.wc-status-btn {
  background: none;
  border: 1px solid currentColor;
  padding: 5px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s;
}
.wc-status-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ==========================================================================
   SECTION 06: KONTAK
   ========================================================================== */
.contact-box {
  padding: 34px;
  border-radius: 20px;
}
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 30px;
}
.c-title {
  font-family: var(--font-hud);
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.c-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}
.channels-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.channel-btn {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-main);
  border-radius: 12px;
}
.ch-icon { font-size: 1.35rem; width: 32px; text-align: center; }
.ch-info { display: flex; flex-direction: column; }
.ch-label { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-dim); }
.ch-val { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700; }
.ch-arrow { margin-left: auto; color: var(--text-dim); font-size: 0.85rem; }

.contact-form-side {
  padding: 24px;
  border-radius: 14px;
}
.form-heading {
  font-family: var(--font-hud);
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.cyber-input, .cyber-select, .cyber-textarea {
  width: 100%;
  background: #090c18;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 15px;
  padding: 11px 14px;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
}
.cyber-input:focus, .cyber-select:focus, .cyber-textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(102, 255, 204, 0.25);
}
.cyber-textarea { resize: vertical; }

/* ==========================================================================
   MODALS: LIVE DEMO & DOWNLOAD MANAGER
   ========================================================================== */
.cyber-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease-smooth);
}
.cyber-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.cyber-modal-card {
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(102, 255, 204, 0.4);
  box-shadow: 0 0 40px rgba(0, 51, 255, 0.35);
  transform: scale(0.95);
  transition: transform 0.25s var(--ease-smooth);
  overflow: hidden;
}
.cyber-modal-backdrop.open .cyber-modal-card {
  transform: scale(1);
}
.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.modal-title-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.modal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  width: fit-content;
  letter-spacing: 0.8px;
}
.modal-headline {
  font-family: var(--font-hud);
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  margin: 0;
}
.modal-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 4px;
}
.modal-title {
  font-family: var(--font-hud);
  font-size: 1.15rem;
  font-weight: 900;
}
.modal-close-btn, .modal-close-icon {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 1.15rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s var(--ease-smooth);
}
.modal-close-btn:hover, .modal-close-icon:hover {
  background: rgba(255, 51, 0, 0.25);
  border-color: var(--neon-orange);
  color: var(--neon-orange);
  box-shadow: 0 0 16px var(--neon-orange-glow);
  transform: rotate(90deg);
}
.modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Digital Invitation Showcase Modal */
.modal-card-wide {
  max-width: 760px !important;
}

.inv-showcase-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.inv-head-banner {
  text-align: left;
}
.inv-main-heading {
  font-family: var(--font-hud);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 6px 0 8px;
  line-height: 1.35;
}
.inv-main-subtext {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* 6 Feature Cards Grid */
.inv-features-grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.inv-feat-card {
  background: rgba(12, 16, 28, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.25s var(--ease-smooth);
}
.inv-feat-card:hover {
  border-color: rgba(0, 240, 255, 0.4);
  background: rgba(14, 20, 36, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.1);
}
.ifc-icon {
  font-size: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.ifc-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ifc-title {
  font-family: var(--font-hud);
  font-size: 0.78rem;
  color: #fff;
  letter-spacing: 0.3px;
}
.ifc-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Tech Stack */
.inv-tech-stack-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}
.inv-tech-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 1px;
}
.inv-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.inv-tech-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--neon-cyan);
  padding: 3px 8px;
  border-radius: 12px;
}

/* Direct Action Buttons */
.inv-direct-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}
.inv-direct-btn-main {
  width: 100%;
  padding: 13px 18px;
  font-size: 0.82rem;
  justify-content: center;
  border-radius: 10px;
}
.inv-direct-btn-sub {
  width: 100%;
  padding: 11px 18px;
  font-size: 0.78rem;
  justify-content: center;
  border-radius: 10px;
}

@media (max-width: 640px) {
  .inv-features-grid-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Download Modal Spec List */
.download-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.download-spec-item {
  background: #0c0e1a;
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  border-radius: 8px;
}
.ds-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
}
.ds-val {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--neon-green);
}

/* QRIS Support Modal Styling */
.qris-modal-card {
  border: 2px solid var(--neon-orange);
  box-shadow: 0 0 35px rgba(255, 102, 0, 0.25);
  background: rgba(10, 12, 20, 0.95);
}
.qris-card-box {
  background: radial-gradient(circle at center, #111424 0%, #080912 100%);
  border: 1px solid rgba(255, 102, 0, 0.35);
  transition: all 0.3s ease;
}
.qris-card-box:hover {
  border-color: var(--neon-orange);
  box-shadow: 0 0 25px rgba(255, 102, 0, 0.3);
}
.qris-barcode-img {
  width: 210px;
  height: 210px;
  object-fit: contain;
  border-radius: 6px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.cyber-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 44px;
  background: #05060a;
}
.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 26px;
  padding-bottom: 30px;
}
.footer-brand-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.footer-brand-text {
  font-family: var(--font-hud);
  font-size: 1.1rem;
  font-weight: 900;
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-main);
  font-weight: 500;
}
.footer-desc-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}
.f-col-title {
  display: block;
  font-family: var(--font-hud);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}
.footer-quick-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
}
.footer-quick-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-quick-links a:hover { color: var(--neon-cyan); }
.f-social-icons {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.f-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #101322;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
}
.f-icon-btn:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateY(-2px);
}
.f-status-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--neon-green);
}
.footer-bottom-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 14px 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}
.fb-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (BULLETPROOF MOBILE & TABLET ADAPTATION)
   ========================================================================== */
/* Threshold 1080px: Switch to hamburger menu so items NEVER crowd or collide */
@media (max-width: 1080px) {
  .nav-menu {
    display: none !important;
  }
  .mobile-toggle-btn {
    display: flex !important;
  }
  .hud-nav {
    min-height: 64px;
    padding: 6px 0;
  }
  .mobile-drawer {
    top: 0 !important;
    height: 100vh !important;
    z-index: 999999 !important;
  }
}

@media (max-width: 1024px) {
  .about-grid, .contact-main-grid {
    grid-template-columns: 1fr;
  }
  .skills-grid, .services-cards-grid, .works-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }
  .nav-container {
    padding: 0 14px;
    height: 64px;
  }
  .brand-logo-group {
    gap: 8px;
  }
  .brand-img {
    width: 32px;
    height: 32px;
  }
  .brand-title {
    font-size: 0.96rem;
  }
  .brand-sub {
    font-size: 0.54rem;
  }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  #navAuthBtn {
    padding: 0 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    font-size: 1.25rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
  }
  #navAuthBtn .auth-btn-text, #navAuthBtn span {
    display: none !important;
  }

  .section {
    padding: 44px 0;
  }
  .section-header {
    margin-bottom: 28px;
  }
  .section-title {
    font-size: clamp(1.4rem, 6vw, 1.9rem);
    line-height: 1.25;
  }
  .section-subtitle {
    font-size: 0.82rem;
  }
  .section-badge-pill {
    font-size: 0.68rem;
    padding: 4px 10px;
  }

  /* Hero Mobile */
  .hero-section {
    padding-top: 105px !important;
    padding-bottom: 36px !important;
    min-height: auto;
  }
  .telemetry-badge {
    padding: 6px 12px !important;
    margin-bottom: 20px !important;
    text-align: center;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    max-width: 95vw;
    line-height: 1.45;
  }
  .badge-text {
    font-size: 0.64rem;
    line-height: 1.45;
    text-align: center;
  }
  .hero-logo-big {
    width: 88px;
    height: 88px;
    margin-bottom: 14px;
  }
  .hero-main-title {
    font-size: clamp(2.1rem, 9.5vw, 3.2rem);
    letter-spacing: 1px;
    line-height: 1.15;
  }
  .hero-sub-role {
    font-size: 0.92rem;
    line-height: 1.35;
  }
  .hero-roles-banner {
    gap: 5px;
    justify-content: center;
  }
  .role-pill {
    font-size: 0.64rem;
    padding: 4px 8px;
  }
  .role-divider {
    display: none;
  }
  .hero-tagline {
    font-size: 0.88rem;
    margin-top: 12px;
  }
  .hero-desc {
    font-size: 0.84rem;
    margin-bottom: 20px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.82rem;
  }
  
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 24px;
  }
  .stat-card {
    padding: 12px 10px;
    gap: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .stat-icon {
    font-size: 1.2rem;
  }
  .stat-info {
    align-items: center;
    text-align: center;
  }
  .stat-number {
    font-size: 1.05rem;
    text-align: center;
  }
  .stat-label {
    font-size: 0.62rem;
    text-align: center;
  }

  /* Hide scroll indicator on mobile so it never collides */
  .scroll-down-hud {
    display: none !important;
  }

  /* Section 03 & 04 (About / Skills / Services) */
  .about-card, .contact-box, .service-box, .software-matrix-box {
    padding: 16px 14px;
  }
  .skills-grid, .services-cards-grid, .works-list-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .service-card {
    padding: 18px 14px;
  }
  .matrix-meters-grid {
    grid-template-columns: 1fr;
  }
  .download-specs-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Section Rental Equipment Mobile */
  .equipment-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .equipment-card {
    padding: 16px 14px;
  }
  .equipment-top {
    gap: 10px;
  }
  .equipment-title {
    font-size: 1.05rem;
  }
  .equipment-desc {
    font-size: 0.82rem;
  }
  .equipment-spec-item {
    font-size: 0.78rem;
  }

  /* Master CTA Banner Mobile (Full-width Stack) */
  .equipment-master-cta {
    flex-direction: column !important;
    text-align: center !important;
    gap: 16px !important;
    padding: 20px 16px !important;
    border-radius: 12px !important;
  }
  .emc-info {
    text-align: center !important;
  }
  .emc-headline {
    font-size: 1.15rem !important;
  }
  .emc-sub {
    font-size: 0.82rem !important;
  }
  .emc-buttons {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .emc-buttons .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 18px !important;
    font-size: 0.82rem !important;
  }
  
  /* Section 05: Compact Portfolio Grid on Mobile */
  .portfolio-compact-grid {
    gap: 14px !important;
    padding: 0 !important;
  }
  .porto-compact-card {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 16px 14px !important;
    border-radius: 12px !important;
  }
  .pcc-top {
    gap: 10px;
    margin-bottom: 10px;
  }
  .pcc-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .pcc-title {
    font-size: 1.02rem;
    margin-bottom: 6px;
    word-break: break-word;
  }
  .pcc-desc {
    font-size: 0.82rem;
    line-height: 1.45;
  }
  .pcc-features {
    gap: 5px;
    margin: 10px 0 14px 0;
  }
  .pcc-feature-pill {
    font-size: 0.65rem;
    padding: 3px 8px;
  }
  .pcc-actions {
    gap: 8px;
  }
  .pcc-actions .btn {
    padding: 10px 14px;
    font-size: 0.78rem;
    min-height: 42px;
  }

  /* Mobile Filter Tabs */
  .portfolio-filter-tabs {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
    padding: 0 !important;
    overflow: visible !important;
    margin-bottom: 24px !important;
  }
  .filter-tab-btn {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 16px !important;
    font-size: 0.8rem !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
  }

  /* Mobile Modals (Auto-scroll & iOS keyboard friendliness) */
  .cyber-modal-backdrop {
    padding: 8px;
  }
  .cyber-modal-card {
    max-height: 92vh;
    border-radius: 14px;
    width: 96%;
    max-width: 100%;
    margin: auto;
  }
  .modal-header {
    padding: 12px 14px;
  }
  .modal-headline {
    font-size: 0.98rem;
  }
  .modal-body {
    padding: 14px 12px;
    max-height: calc(92vh - 110px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .modal-footer {
    padding: 10px 12px;
  }

  /* Prevent Safari/iOS auto-zoom on input focus */
  .cyber-input, .form-group input, .form-group select {
    font-size: 16px !important;
    padding: 10px 12px !important;
  }

  .sr-badge-row {
    flex-direction: column;
    gap: 6px;
    align-items: center;
  }
  .fb-container {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  /* Cyber Toast on Mobile */
  .cyber-toast-container {
    right: 12px;
    left: 12px;
    top: 68px;
    width: auto;
  }
  .cyber-toast {
    min-width: auto;
    max-width: 100%;
    padding: 10px 14px;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
  .brand-title {
    font-size: 0.88rem;
  }
  .brand-sub {
    font-size: 0.5rem;
  }
  .hero-logo-big {
    width: 78px;
    height: 78px;
  }
  .hero-main-title {
    font-size: clamp(1.9rem, 11vw, 2.5rem);
  }
  .hero-sub-role {
    font-size: 0.84rem;
  }
  .role-pill {
    font-size: 0.6rem;
    padding: 3px 6px;
  }
  .telemetry-badge {
    padding: 4px 8px;
    font-size: 0.6rem;
  }
  .badge-text {
    font-size: 0.58rem;
  }
  .palette-swatches {
    gap: 4px;
  }
  .swatch-item {
    font-size: 0.58rem;
  }
  .demo-countdown-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-number {
    font-size: 0.95rem;
  }
  .stat-label {
    font-size: 0.58rem;
  }
}

/* ==========================================================================
   USER AUTHENTICATION & LOGIN/REGISTER MODAL STYLES
   ========================================================================== */
.auth-modal-card {
  max-width: 460px;
  width: 100%;
}
.auth-notice-box {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.auth-tab-switch {
  display: flex;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  padding: 3px;
  margin-bottom: 20px;
  gap: 4px;
}
.auth-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-hud);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.auth-tab-btn.active {
  background: rgba(0, 240, 255, 0.2);
  color: #fff;
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

.auth-form-pane {
  display: none;
}
.auth-form-pane.active {
  display: block;
}

.form-group {
  margin-bottom: 14px;
  text-align: left;
}
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.cyber-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: all 0.2s ease;
}
.cyber-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.35);
}

.cyber-input.is-valid {
  border-color: var(--neon-green) !important;
  box-shadow: 0 0 8px rgba(102, 255, 0, 0.3) !important;
}

.cyber-input.is-invalid {
  border-color: var(--neon-red) !important;
  box-shadow: 0 0 8px rgba(255, 51, 68, 0.3) !important;
}

.live-feedback {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  min-height: 16px;
}

.live-feedback.valid {
  color: var(--neon-green);
}

.live-feedback.invalid {
  color: #ff8899;
}

.live-feedback.warning {
  color: var(--neon-orange);
}

.auth-sub-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}
.auth-sub-hint a {
  text-decoration: none;
  font-weight: 600;
}
.auth-sub-hint a:hover {
  text-decoration: underline;
}

/* Cyber Toast Floating Notifications */
.cyber-toast-container {
  position: fixed;
  top: 78px;
  right: 20px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: calc(100vw - 32px);
}
.cyber-toast {
  pointer-events: auto;
  background: rgba(10, 15, 26, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.75), 0 0 16px rgba(0, 240, 255, 0.25);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 380px;
  opacity: 0;
  transform: translateY(-12px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cyber-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.cyber-toast.toast-success,
.cyber-toast.success {
  border-color: var(--neon-green);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.75), 0 0 18px rgba(102, 255, 0, 0.3);
}
.cyber-toast.toast-error,
.cyber-toast.error {
  border-color: var(--neon-orange);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.75), 0 0 18px rgba(255, 51, 0, 0.3);
}
.toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.toast-msg {
  flex: 1;
  line-height: 1.4;
  word-break: break-word;
}
.toast-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 2px 4px;
  display: flex;
  align-items: center;
}
.toast-close:hover {
  color: #fff;
}
@media (max-width: 540px) {
  .cyber-toast-container {
    top: 70px;
    right: 16px;
    left: 16px;
    align-items: center;
  }
  .cyber-toast {
    max-width: 100%;
    padding: 10px 14px;
    font-size: 0.8rem;
  }
}

/* User Logged Navbar Pill & Dropdown */
.user-logged-badge {
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  user-select: none;
}
.user-avatar-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(10, 16, 28, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.35);
  padding: 5px 12px;
  border-radius: 30px;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}
.user-avatar-pill:hover,
.user-avatar-pill.active {
  border-color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.08);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.3);
}
.user-first-name {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  max-width: 85px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dropdown-caret {
  font-size: 0.62rem;
  color: var(--neon-cyan);
  transition: transform 0.2s ease;
}
.user-avatar-pill.active .dropdown-caret {
  transform: rotate(180deg);
}

/* User Dropdown Floating Menu */
.user-dropdown-menu {
  position: fixed;
  top: 72px;
  right: 20px;
  width: 270px;
  background: rgba(8, 12, 22, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.85), 0 0 24px rgba(0, 240, 255, 0.15);
  border-radius: 12px;
  padding: 14px;
  z-index: 100000;
  display: none;
  flex-direction: column;
  gap: 8px;
  animation: userMenuSlideDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.user-dropdown-menu.open {
  display: flex;
}
@keyframes userMenuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.udm-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
}
.udm-avatar-circle {
  font-size: 1.8rem;
  color: var(--neon-green);
  flex-shrink: 0;
}
.udm-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.udm-name {
  font-family: var(--font-hud);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.udm-email {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.udm-role-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--neon-green);
  background: rgba(102, 255, 0, 0.12);
  border: 1px solid rgba(102, 255, 0, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
  width: fit-content;
  margin-top: 3px;
  letter-spacing: 0.5px;
}
.udm-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 4px 0;
}
.udm-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.udm-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.82rem;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}
.udm-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.udm-item-logout:hover {
  background: rgba(255, 51, 0, 0.12);
  color: var(--neon-orange);
}
@media (max-width: 480px) {
  .user-first-name {
    max-width: 65px;
    font-size: 0.74rem;
  }
  .user-avatar-pill {
    padding: 4px 9px;
    gap: 5px;
  }
}

/* ========================================================================== */
/* VJ MOTION DESIGN SUITE (STAGE-GRADE PHYSICS & LASER MICRO-INTERACTIONS)   */
/* ========================================================================== */

/* Fixed High-Performance FX Layer for Click Laser Shockwaves */
#vj-fx-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999999;
  overflow: hidden;
  contain: layout size paint;
}

/* Click Ripple / Tactile Cyber Pulse */
.vj-laser-shockwave {
  position: absolute;
  top: var(--vj-y, 0px);
  left: var(--vj-x, 0px);
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  pointer-events: none;
  contain: layout paint;
  will-change: transform, opacity;
}

/* Subtle Kinetic Laser Ring */
.vj-shockwave-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--vj-fx-color, var(--neon-cyan));
  box-shadow: 0 0 6px var(--vj-fx-color, var(--neon-cyan));
  animation: vjRingPulse 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Soft Micro Core */
.vj-shockwave-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vj-fx-color, var(--neon-cyan));
  transform: translate(-50%, -50%);
  box-shadow: 0 0 4px var(--vj-fx-color, var(--neon-cyan));
  animation: vjCoreFade 0.22s ease-out forwards;
}

@keyframes vjRingPulse {
  0% {
    transform: scale(0.25);
    opacity: 0.85;
    border-width: 1.8px;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
    border-width: 1px;
  }
}

@keyframes vjCoreFade {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.75;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0;
  }
}

/* -------------------------------------------------------------------------- */
/* STAGE MATERIALIZATION / STAGGERED SCROLL ENTRANCE                          */
/* -------------------------------------------------------------------------- */
.vj-materialize {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  filter: blur(6px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--vj-stagger, 0) * 65ms);
  will-change: opacity, transform, filter;
}

.vj-materialize.vj-in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

/* -------------------------------------------------------------------------- */
/* 3D HOLOGRAPHIC STAGE TILT & SPECULAR GLINT                                 */
/* -------------------------------------------------------------------------- */
.vj-holo-tilt {
  transform-style: preserve-3d;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  position: relative;
  isolation: isolate;
}

.vj-holo-tilt::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  opacity: var(--vj-glint-opacity, 0);
  background: radial-gradient(
    circle 260px at var(--vj-glint-x, 50%) var(--vj-glint-y, 50%),
    rgba(255, 255, 255, 0.15) 0%,
    rgba(0, 240, 255, 0.12) 30%,
    rgba(102, 255, 0, 0.04) 60%,
    transparent 80%
  );
  transition: opacity 0.25s ease;
  mix-blend-mode: screen;
}

/* -------------------------------------------------------------------------- */
/* VJ AUDIO-VISUAL EQUALIZER BARS (HERO HUD)                                  */
/* -------------------------------------------------------------------------- */
.vj-mini-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
  vertical-align: middle;
  margin-left: 8px;
  padding: 0 4px;
}

.vj-mini-eq .vj-eq-bar {
  width: 2.5px;
  border-radius: 1px;
  background: var(--neon-green);
  box-shadow: 0 0 6px var(--neon-green);
  transform-origin: bottom;
  animation: vjEqPulse 0.9s infinite ease-in-out alternate;
}

.vj-mini-eq .vj-eq-bar:nth-child(1) { height: 45%; animation-duration: 0.65s; animation-delay: 0.05s; }
.vj-mini-eq .vj-eq-bar:nth-child(2) { height: 85%; animation-duration: 0.95s; animation-delay: 0.18s; background: var(--neon-cyan); box-shadow: 0 0 6px var(--neon-cyan); }
.vj-mini-eq .vj-eq-bar:nth-child(3) { height: 100%; animation-duration: 0.55s; animation-delay: 0.12s; }
.vj-mini-eq .vj-eq-bar:nth-child(4) { height: 65%; animation-duration: 0.85s; animation-delay: 0.28s; background: var(--neon-cyan); box-shadow: 0 0 6px var(--neon-cyan); }
.vj-mini-eq .vj-eq-bar:nth-child(5) { height: 75%; animation-duration: 1.1s; animation-delay: 0.08s; }

@keyframes vjEqPulse {
  0% { transform: scaleY(0.25); }
  50% { transform: scaleY(0.9); }
  100% { transform: scaleY(0.4); }
}

/* -------------------------------------------------------------------------- */
/* VJ SECTION SCAN BEAM EFFECT                                                */
/* -------------------------------------------------------------------------- */
.vj-section-sweep {
  position: relative;
}

.vj-section-sweep::after {
  content: '';
  position: absolute;
  top: 0;
  left: -40%;
  height: 2px;
  width: 35%;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), #ffffff, var(--neon-green), transparent);
  box-shadow: 0 0 16px var(--neon-cyan), 0 0 28px var(--neon-green);
  pointer-events: none;
  z-index: 10;
  animation: vjLaserSweep 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes vjLaserSweep {
  0% {
    left: -35%;
    width: 0%;
    opacity: 0;
  }
  40% {
    width: 45%;
    opacity: 1;
  }
  100% {
    left: 110%;
    width: 15%;
    opacity: 0;
  }
}

/* -------------------------------------------------------------------------- */
/* BUTTON PRESS & TAB SPRING FEEDBACK                                         */
/* -------------------------------------------------------------------------- */
.btn:active,
.btn-cyber:active,
.hud-btn:active,
.filter-btn:active,
.action-btn:active,
.tool-quick-btn:active {
  transform: scale(0.96) !important;
  transition: transform 0.08s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.filter-btn.active {
  animation: vjTabSpring 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes vjTabSpring {
  0% { transform: scale(0.93); }
  60% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* -------------------------------------------------------------------------- */
/* REDUCED MOTION ACCESSIBILITY (WCAG COMPLIANCE)                             */
/* -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  #vj-fx-layer {
    display: none !important;
  }
  .vj-materialize {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .vj-holo-tilt {
    transform: none !important;
    transition: none !important;
  }
  .vj-holo-tilt::before {
    display: none !important;
  }
  .vj-mini-eq .vj-eq-bar {
    animation: none !important;
    transform: scaleY(0.6) !important;
  }
  .vj-section-sweep::after {
    display: none !important;
  }
}

