﻿/* ==========================================================
   MAIN STYLESHEET - PITA ANIMATION STUDIO (V3.3)
   ----------------------------------------------------------
   Daftar Perbaikan Utama:
   - Fix Kebocoran Kurung Kurawal Teks CSS Global.
   - Restorasi Efek Transparan Glassmorphism di Desktop saat Hover.
   - Fix Cardbox Rounded di Mobile & Sinkronisasi Video Hero Mobile.
   - Pengecualian Logo dari Lazy Loading Opacity 0.
   ========================================================== */

/* ==========================================================
                        ROOT VARIABLES
========================================================== */
:root {
  --primary: #ffb400;
  --bg: #050505;
  --bg-secondary: #0d0d0d;
  --bg-card: rgba(255, 255, 255, 0.03);
  
  /* Typography Colors */
  --white: #ffffff;
  --text: #d4d4d4;
  --text-light: #8b8b8b;

  /* Glassmorphism Configuration Core */
  --glass-bg: linear-gradient(135deg, rgba(18, 18, 18, 0.8), rgba(8, 8, 8, 0.7));
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-glow: rgba(255, 180, 0, 0.15);
  
  /* Layout Sizing Tokens */
  --radius-small: 12px;
  --radius: 20px;
  --radius-large: 32px;
  --transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================
                        RESET & GLOBAL STYLE
========================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  touch-action: manipulation;
}

html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  width: 100%;
}

body.preloader-active,
body.popup-active {
  overflow: hidden !important;
  height: 100vh !important;
}

h1, h2, h3, h4, h5, h6, p, span, a {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  background: transparent;
}

ul {
  list-style: none;
}

section {
  position: relative;
  padding: 120px 0;
  width: 100%;
  clear: both;
}

.container {
  width: min(1280px, 90%);
  margin: 0 auto;
  position: relative;
}

.section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.section-heading span {
  display: inline-block;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-heading h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-heading p {
  width: min(700px, 100%);
  margin: auto;
  color: var(--text);
  line-height: 1.8;
  font-size: 1rem;
}

/* ==========================================================
                        BUTTONS SYSTEM
========================================================== */
.btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: var(--primary);
  color: #111111;
  font-weight: 600;
  border-radius: 100px;
  transition: var(--transition);
  box-shadow: 0 12px 35px rgba(255, 180, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(255, 180, 0, 0.35);
}

.btn-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 36px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.07);
}

/* ==========================================================
                LIGHTWEIGHT PRELOADER WITH COUNTER
========================================================== */
#preloader {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #050505;
  z-index: 999999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.preloader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.preloader-logo img {
  width: 120px;
  filter: drop-shadow(0 0 25px rgba(255, 180, 0, 0.15));
  animation: logoReveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.preloader-text h1 {
  color: var(--white);
  font-size: 3rem;
  font-weight: 700;
  margin-top: 20px;
}

.preloader-text span {
  color: var(--primary);
}

.preloader-text p {
  margin-top: 8px;
  color: var(--text-light);
  font-size: 0.9rem;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.loading {
  width: 240px;
  margin-top: 35px;
  position: relative;
}

.loading-bar {
  width: 100%;
  height: 4px;
  border-radius: 100px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.loading-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #ffb400, #ffd86a, #ffb400);
  animation: loadingProgress 3s linear forwards;
}

.preloader-counter {
  margin-top: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

#website {
  opacity: 0;
  filter: blur(5px);
  transition: opacity 0.8s ease, filter 0.8s ease;
}

#website.show {
  opacity: 1;
  filter: blur(0);
}

/* ==========================================================
                        NAVBAR & HEADER
========================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  display: flex;
  justify-content: center;
  padding: 20px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, padding 0.3s ease, transform 0.5s ease;
}

.header.show {
  opacity: 1;
  visibility: visible;
}

.navbar {
  width: min(1400px, 94%);
  padding: 16px 36px;
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.header.scrolled {
  padding: 10px 0;
}

.header.scrolled .navbar {
  width: min(1200px, 90%);
  padding: 12px 32px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-color: rgba(136, 136, 136, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.navbar-logo img {
  width: 48px;
  height: auto;
}

.logo-content h2 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.logo-content span {
  color: var(--primary);
}

.logo-content p {
  margin-top: 4px;
  color: #9f9f9f;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-menu a {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--primary);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 100%;
}

.navbar-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-social a {
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.navbar-social a:hover {
  background: var(--primary);
  color: #111111;
  transform: translateY(-3px);
}

.mobile-socials,
.mobile-portal-item {
  display: none;
}

/* Modern Hamburger Wrapper */
.menu-toggle {
  width: 42px;
  height: 42px;
  display: none; 
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: #ffffff !important;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s ease;
  z-index: 100001;
}

.menu-toggle:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--white);
  border-radius: 4px;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

.menu-toggle:hover span {
  background-color: #111111;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background-color: #111111; }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background-color: #111111; }

/* ==========================================================
                        HERO SECTION
========================================================== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 20%, rgba(0, 0, 0, 0.9) 90%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: min(1280px, 90%);
  margin: auto;
}

.hero-content {
  max-width: 720px;
}

.hero-tag {
  display: inline-block;
  color: var(--primary);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.hero-content h1 {
  font-size: 5.5rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.hero-content h1 span {
  display: block;
  color: var(--primary);
}

.hero-content p {
  margin-top: 24px;
  color: #d0d0d0;
  line-height: 1.8;
  font-size: 1.05rem;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: scrollFloat 2s ease-in-out infinite;
}

.scroll-down span {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary);
}

.scroll-down svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
}

/* ==========================================================
            ANTI-OVERLAP LOGO MARQUEE SYSTEM
========================================================== */
.logo-marquee-container {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto 60px auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 24px 0;
  position: relative;
  z-index: 5;
  display: block;
  clear: both;
}

.logo-marquee-title {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.logo-marquee {
  display: block;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.logo-track {
  display: flex !important;
  width: max-content !important;
  flex-wrap: nowrap !important;
  animation: marqueeScroll 28s linear infinite;
}

.logo-track:hover {
  animation-play-state: paused;
}

.logo-track-segment {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 75px;
  padding-right: 75px;
  flex-shrink: 0 !important;
}

.logo-track img {
  height: 34px;
  width: auto;
  display: inline-block !important;
  flex-shrink: 0 !important;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.logo-track img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.08);
}

/* ==========================================================
                    LATEST WORKS SLIDER
========================================================== */
.latest-slider-container {
  position: relative;
  width: 100%;
  margin-top: 20px;
  z-index: 5;
  display: block;
  clear: both;
}

.latest-slider {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 15px 0;
}

.latest-slider::-webkit-scrollbar {
  display: none;
}

.latest-track {
  display: flex;
  width: max-content;
}

.latest-track-segment {
  display: flex;
  gap: 30px;
  padding-right: 30px;
  flex-shrink: 0;
}

.latest-card {
  width: 440px;
  height: 260px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 20px;
  position: relative;
  border: 1px solid var(--glass-border);
  background: #0d0d0d;
}

.latest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.latest-overlay {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.latest-card:hover .latest-overlay {
  opacity: 1;
}

.latest-card:hover img {
  transform: scale(1.06);
}

.latest-overlay span {
  color: var(--primary);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.latest-overlay h3 {
  margin-top: 8px;
  font-size: 1.35rem;
  color: var(--white);
  font-weight: 600;
}

.latest-overlay a {
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(10, 10, 10, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.slider-arrow.prev { left: 3%; }
.slider-arrow.next { right: 3%; }

.latest-slider-container:hover .slider-arrow {
  opacity: 1;
  pointer-events: auto;
}

.slider-arrow:hover {
  background: var(--primary) !important;
  color: #111111 !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 20px rgba(255, 180, 0, 0.4);
}



/* ==========================================================
            UNIFIED INTERACTIVE GLASS CARD CORE
========================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.apple-glass-card {
  position: relative;
  border-radius: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  z-index: 1;
}

.service-card {
  padding: 50px 35px;
}

.service-icon {
  width: 72px;
  height: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 26px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-icon img {
  width: 40px;
  height: auto;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  font-weight: 600;
}

.service-card p {
  color: #bfbfbf;
  line-height: 1.7;
  font-size: 0.95rem;
}

.services-button {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
  margin-top: 50px;
}

.about-video {
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  background: rgba(10, 10, 10, 0.4);
  padding: 10px;
}

.about-video video {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 16px;
}

.about-content h3 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 22px;
  font-weight: 700;
}

.about-content p {
  margin-bottom: 18px;
  color: #c8c8c8;
  line-height: 1.8;
  font-size: 0.95rem;
}

.about-button {
  margin-top: 32px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
}

.stat-card {
  padding: 40px 20px;
  text-align: center;
}

.stat-card h3 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 700;
}

.stat-card span {
  color: #d2d2d2;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.showcase-card {
  cursor: pointer;
  background: #111111;
  border: 1px solid var(--glass-border);
  position: relative;
}

.showcase-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.showcase-card:hover img {
  transform: scale(1.04);
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.15) 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.showcase-card:hover .showcase-overlay {
  opacity: 1;
}

.showcase-overlay span {
  color: var(--primary);
  letter-spacing: 2px;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.showcase-overlay h3 {
  margin-top: 8px;
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 600;
}

.play-button {
  margin-top: 16px;
  width: max-content;
  padding: 10px 24px;
  border-radius: 100px;
  background: var(--primary);
  color: #111111;
  font-weight: 600;
  font-size: 0.85rem;
}

.production-card {
  margin: 0 auto;
  width: min(850px, 95%);
  padding: 60px 40px;
  text-align: center;
}

.production-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 28px 0 32px 0;
}

.production-tag {
  display: inline-block;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.production-card h2 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.production-card p {
  color: #d6d6d6;
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0 auto 24px auto;
  max-width: 680px;
}

.portal-promo-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  padding: 55px;
  
}

.portal-promo-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portal-promo-tag {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.portal-promo-left h2 {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.portal-promo-left h2 span {
  color: var(--primary);
}

.portal-promo-left p {
  color: #c4c4c4;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.portal-promo-search {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin-bottom: 35px;
}

.portal-promo-search input {
  width: 100%;
  padding: 14px 50px 14px 20px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  color: var(--white);
  font-size: 0.9rem;
}

.portal-promo-search button {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
}

.portal-promo-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.portal-cat-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.portal-cat-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 180, 0, 0.25);
}

.cat-btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #bfbfbf;
}

.portal-cat-btn:hover .cat-btn-icon {
  color: var(--primary);
}

.portal-cat-btn span {
  font-size: 0.75rem;
  color: #bfbfbf;
  font-weight: 500;
}

.portal-promo-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.portal-featured-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.featured-card-image {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.featured-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(10, 10, 10, 0.75);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3b30;
}

.featured-card-content {
  padding: 20px;
  position: relative;
}

.featured-card-date {
  color: #888;
  font-size: 0.75rem;
  margin-bottom: 6px;
  display: block;
}

.featured-card-content h3 {
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 8px;
}

.featured-card-content p {
  color: #a4a4a4;
  font-size: 0.85rem;
  line-height: 1.5;
}

.featured-card-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.portal-featured-card:hover .featured-card-arrow {
  background: var(--primary);
  color: #111111;
  border-color: var(--primary);
}

.portal-go-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.portal-go-card:hover {
  border-color: rgba(255, 180, 0, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.portal-go-content h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.portal-go-card:hover .portal-go-content h3 {
  color: var(--primary);
}

.portal-go-content p {
  color: #a4a4a4;
  font-size: 0.85rem;
}

.portal-go-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.portal-go-card:hover .portal-go-arrow {
  background: var(--primary);
  color: #111111;
  border-color: var(--primary);
  transform: translateX(4px);
}

/* ==========================================================
                ARTWORK GALLERY INFINITE MARQUEE
========================================================== */
.artwork {
  background: #060606;
}

.gallery-loop-container {
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px 0;
}

.gallery-drag-wrapper {
  width: 100%;
  overflow: hidden;
}

.gallery-track-loop {
  display: flex;
  gap: 20px;
  width: max-content;
}

.gallery-track-loop:hover {
  animation-play-state: paused;
}

.gallery-track-loop.row-left { animation: marqueeScrollLeft 38s linear infinite; }
.gallery-track-loop.row-right { animation: marqueeScrollRight 38s linear infinite; }

.gallery-item-loop {
  flex: 0 0 300px;
  height: 180px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.01);
}

.gallery-item-loop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item-loop:hover img {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item-loop:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.gallery-item-overlay p {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 500;
}

.latest::before, .latest::after, .artwork::before, .artwork::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 160px;
  z-index: 4;
  pointer-events: none;
}
.latest::before, .artwork::before { left: 0; background: linear-gradient(to right, #050505 10%, transparent 100%); }
.latest::after, .artwork::after { right: 0; background: linear-gradient(to left, #050505 10%, transparent 100%); }

/* ==========================================================
                    CTA & FOOTER LAYOUT
========================================================== */
.cta {
  background: #050505;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.cta-content span {
  display: inline-block;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 600;
  margin-bottom: 16px;
}

.cta-content h2 {
  font-size: 3.8rem;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.cta-content p {
  max-width: 680px;
  margin: auto;
  color: #cfcfcf;
  line-height: 1.8;
  font-size: 1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.footer {
  position: relative;
  padding: 60px 0 40px 0;
  z-index: 10;
}

.footer .container {
  background: linear-gradient(135deg, rgba(16, 16, 16, 0.85), rgba(8, 8, 8, 0.75));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 50px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand {
  max-width: 380px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 54px;
}

.footer-logo h2 {
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
}

.footer-logo span {
  color: var(--primary);
}

.footer-logo p {
  margin-top: 4px;
  color: #999;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-description {
  color: #bdbdbd;
  line-height: 1.7;
  font-size: 0.9rem;
}

.footer-column h3 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  color: #bfbfbf;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-column li {
  color: #bfbfbf;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: #111111;
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: #8f8f8f;
  font-size: 0.85rem;
}

/* ==========================================================
                WHATSAPP FIXED WIDGET LAYOUT
========================================================== */
.wa-widget {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 99999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
}

.wa-widget.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.wa-toggle { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #25d366, #18b855); color: var(--white); display: flex; justify-content: center; align-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35); transition: var(--transition); pointer-events: auto; }
.wa-toggle:hover { transform: scale(1.06); }
.wa-toggle svg { width: 28px; height: 28px; }

.wa-box {
  position: absolute;
  right: 0;
  bottom: 75px;
  width: 340px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.98), rgba(10, 10, 10, 0.95));
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.96);
  transition: var(--transition);
  pointer-events: auto;
}

.wa-widget.active .wa-box { opacity: 1; visibility: visible; transform: none; }
.wa-header { display: flex; gap: 14px; align-items: center; padding: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); background: rgba(255, 255, 255, 0.02); }
.wa-avatar { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; }
.wa-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wa-header h3 { font-size: 1rem; color: var(--white); }
.wa-header span { color: #9f9f9f; font-size: 0.75rem; }
.wa-body { padding: 20px; }
.wa-body p { color: #ddd; font-size: 0.9rem; line-height: 1.5; margin-bottom: 12px; }
.wa-body textarea { width: 100%; height: 90px; padding: 12px; background: rgba(0, 0, 0, 0.4); border: 1px solid var(--glass-border); border-radius: 12px; color: var(--white); resize: none; font-family: inherit; font-size: 0.85rem; }
.wa-body textarea:focus { border-color: var(--primary); outline: none; }
.wa-box .wa-footer { padding: 0 20px 20px 20px; }
#wa-send { width: 100%; height: 46px; border-radius: 12px; background: var(--primary); color: #111111; font-weight: 700; font-size: 0.9rem; box-shadow: 0 8px 20px rgba(255, 180, 0, 0.25); transition: var(--transition); }
#wa-send:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(255, 180, 0, 0.4); }

/* ==========================================================
        FIXED ASCOPE-RATIO VIDEO POPUP LIGHTBOX (Anti-Bug)
========================================================== */
.video-popup {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: 100vw;
  height: 100vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 999999;
  padding: 24px;
}

.video-popup.active { opacity: 1; visibility: visible; }

.popup-wrapper {
  position: relative;
  width: 100%;
  max-width: 850px; 
  aspect-ratio: 16/9; 
  border-radius: 20px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  transform: scale(0.94) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-popup.active .popup-wrapper { transform: scale(1) translateY(0); }
.video-popup.closing .popup-wrapper { transform: scale(0.9) translateY(40px); }

.video-popup iframe, 
.video-popup video {
  width: 100% !important;
  height: 100% !important;
  border: none;
  display: none;
  object-fit: cover; 
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 15;
  transition: var(--transition);
}

.popup-close:hover {
  background: var(--primary);
  color: #111111;
  border-color: var(--primary);
  transform: scale(1.05);
}

/* Helper Skeleton Lazy Loading Asset */
.glass-skeleton {
  position: relative;
  overflow: hidden;
}

.glass-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 180, 0, 0.08), transparent);
  animation: skeletonPulseEffect 1.6s infinite ease-in-out;
}

img[data-src] { opacity: 0; transition: opacity 0.4s ease; }
img.loaded { opacity: 1; }

/* PERTAHANAN UTAMA: Memaksa Logo Navbar & Footer Selalu Muncul Tanpa Efek Lazy Transparan */
.navbar-logo img,
.footer-logo img {
  opacity: 1 !important;
}

/* ==========================================================
      DESKTOP 3D TILT ENGINE (Mati Total di Mobile)
========================================================== */
@media (hover: hover) and (pointer: fine) and (min-width: 993px) {
  .apple-glass-card {
    transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(0);
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  }
  
  .apple-glass-card:hover {
    border-color: rgba(255, 180, 0, 0.38);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 180, 0, 0.12);
  }

  .apple-glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%), rgba(255, 255, 255, 0.18) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.35s ease;
  }

  .apple-glass-card:hover::before { opacity: 1; }

  .service-icon, .service-card h3, .service-card p,
  .stat-card h3, .stat-card span,
  .production-tag, .production-card h2, .production-card p, .production-img {
    transform: translateZ(30px);
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  
  }

  .portal-promo::before {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    top: -150px;
    right: -100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 180, 0, 0.04), transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
  }
}

/* ==========================================================
      RESPONSIVE BREAKPOINTS (MOBILE AREA ONLY)
========================================================== */
@media (max-width: 1200px) {
  .about-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { max-width: none; }
}

@media (max-width: 992px) {
  section { padding: 90px 0; }
  
  /* PENGUNCI ISOLASI HP: Mematikan kalkulasi 3D Desktop agar HP ringan */
  .apple-glass-card, .apple-glass-card * {
    transform: none !important;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s !important;
  }

  /* SOLUSI KUNCI HOVER DESKTOP: Warna solid hanya dipasang ke kartu spesifik saat mode mobile aktif */
  .services-grid .service-card,
  .showcase-grid .showcase-card,
  .latest-slider .latest-card,
  .production-card,
  .portal-promo-card {
    background:  rgba(0, 0, 0, 0.4)  !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: var(--radius) !important; 
    overflow: hidden !important; 
  }

  .services-grid { grid-template-columns: 1fr; gap: 24px; }
  .menu-toggle { display: flex; }
  
  /* Hamburger Overlay Menu */
  .navbar-menu {
    position: fixed;
    top: 85px;
    right: -100%;
    width: 300px;
    height: auto;
    max-height: calc(100vh - 110px);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    flex-direction: column;
    align-items: flex-start;
    padding: 35px 28px;
    gap: 22px;
    z-index: 9999;
    opacity: 0;
    transform: translateY(-15px) scale(0.97);
    transition: right 0.45s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .navbar-menu.active {
    right: 20px;
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .navbar-menu .mobile-socials {
    display: flex !important;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    justify-content: flex-start;
  }

  .navbar-menu .mobile-socials a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
  }

  .navbar-menu li { width: 100%; }
  .navbar-menu li a { font-size: 1.1rem; width: 100%; display: block; padding: 4px 0; }
  .navbar-social { display: none; }
  
  .navbar-menu .mobile-portal-item {
    display: block !important;
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 6px;
  }

  .mobile-portal-btn {
    display: flex !important;
    width: 100%;
    height: 48px;
    background: var(--primary) !important;
    color: #111111 !important;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    justify-content: center;
    align-items: center;
  }

  .logo-track-segment { gap: 45px; padding-right: 45px; }
  .logo-track img { height: 26px; }

  .latest-card { width: 310px; height: 195px; }
  .latest-track-segment { gap: 20px; padding-right: 20px; }

  .portal-promo-card { grid-template-columns: 1fr; gap: 40px; padding: 35px 24px; }
  .portal-promo-left h2 { font-size: 2.4rem; }
  .portal-promo-categories { grid-template-columns: repeat(2, 1fr); }
  
  /* SINKRONISASI VIDEO MOBILE HERO: Memaksa video menyala & melebar penuh di HP */
  .hero-video video { 
    display: block !important; 
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .hero-video {
    background: radial-gradient(circle at center, rgba(255, 180, 0, 0.25) 0%, rgba(5, 5, 5, 0.95) 70%) !important;
  }
  
  .services, .about, .showcase, .portal-promo { background: #050505 !important; }
}

@media (max-width: 768px) {
  html { font-size: 86%; }
  .hero-content h1 { font-size: 3.4rem; }
  .hero-content p { font-size: 0.95rem; }
  .showcase-grid { grid-template-columns: 1fr; gap: 24px; }
  .production-card { padding: 40px 20px; }
  .production-card h2 { font-size: 1.85rem; }
  .gallery-item-loop { flex: 0 0 210px; height: 130px; }
  .cta-content h2 { font-size: 2.6rem; }

  /* RE-ARRANGE STATS GRID MOBILE: Memperbaiki susunan kolom gepeng */
  .stats-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 20px !important;
    margin-top: 40px !important;
  }
  .stat-card {
    width: 100% !important;
     background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: var(--radius) !important;
    padding: 30px 20px !important;
  }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2.7rem; }
  .navbar { padding: 12px 20px; }
  .logo-content p { display: none; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
  .footer .container { padding: 30px 20px; }
}

/* ==========================================================
                        KEYFRAMES SYSTEM
========================================================== */
@keyframes logoReveal {
  0% { opacity: 0; transform: scale(0.6); filter: blur(10px); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}
@keyframes loadingProgress {
  0% { width: 0; }
  100% { width: 100%; }
}
@keyframes scrollFloat {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333333%); }
}
@keyframes marqueeScrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 10px)); }
}
@keyframes marqueeScrollRight {
  0% { transform: translateX(calc(-50% - 10px)); }
  100% { transform: translateX(0); }
}
@keyframes skeletonPulseEffect {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #030303; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #ffb400, #ffcf5a); border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: #ffd86b; }
::selection { background: var(--primary); color: #111111; }