/* ==========================================
   IYS WORKS — UBAY RAHMAT HIDAYAT
   NEO-BRUTALISM INDUSTRIAL CSS
   ========================================== */

/* ---- VARIABLES ---- */
:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --dark-3: #222222;
  --gray: #333333;
  --gray-mid: #555555;
  --gray-light: #888888;
  --white: #f5f0e8;
  --white-pure: #ffffff;
  --yellow: #f5c400;
  --yellow-dark: #c49b00;
  --yellow-light: #ffe066;
  --orange: #e85d04;
  --orange-light: #ff7c2f;
  --concrete: #4a4a4a;
  --rust: #8b4513;
  --border: 3px solid var(--yellow);
  --border-white: 3px solid var(--white);
  --shadow: 6px 6px 0 var(--yellow);
  --shadow-white: 6px 6px 0 var(--white);
  --shadow-orange: 6px 6px 0 var(--orange);
  --radius: 0px;
  --font-heading: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'Space Grotesk', 'Arial', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: default;
}

img {
  max-width: 100%;
  display: block;
}

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

ul { list-style: none; }

/* ---- NOISE OVERLAY ---- */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ---- UTILITY ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.text-center { text-align: center; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--yellow);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: normal;
  color: var(--yellow);
  -webkit-text-stroke: 0px;
}

.section-sub {
  font-size: 1rem;
  color: var(--gray-light);
  max-width: 520px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 3px solid transparent;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  box-shadow: 4px 4px 0 var(--black);
}

.btn-primary:hover {
  background: var(--yellow-light);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--black);
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--black);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  box-shadow: 4px 4px 0 var(--gray);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--black);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--gray);
}

.btn-full { width: 100%; justify-content: center; }

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: transparent;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.96);
  border-bottom-color: var(--yellow);
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  transition: var(--transition);
}

.nav-logo:hover { color: var(--yellow); }

/* ---- BRAND LOGO ---- */
.nav-brand-text {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--white);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.logo-bracket {
  color: var(--yellow);
}
.scramble-text {
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gray-light);
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--yellow);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--yellow) !important;
  color: var(--black) !important;
  padding: 0.5rem 1.2rem;
  border: 2px solid var(--yellow);
  box-shadow: 3px 3px 0 var(--black);
  transition: var(--transition) !important;
}

.nav-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--black) !important;
}

.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--white);
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--black);
  border-left: 3px solid var(--yellow);
  z-index: 999;
  padding: 6rem 2rem 2rem;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 0.05em;
  transition: var(--transition);
  display: block;
}

.mobile-menu a:hover { color: var(--yellow); padding-left: 0.5rem; }

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6) brightness(0.4);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.5) 60%,
    rgba(245, 196, 0, 0.1) 100%
  );
}

.hero-hazard-tape {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 18px;
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0px,
    var(--yellow) 20px,
    var(--black) 20px,
    var(--black) 40px
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 1.5rem 6rem;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(245, 196, 0, 0.15);
  border: 2px solid var(--yellow);
  padding: 0.4rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeSlideIn 0.6s ease forwards;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-name {
  font-family: var(--font-heading);
  line-height: 0.9;
  margin-bottom: 1.5rem;
}

.hero-first {
  display: block;
  font-size: clamp(5rem, 14vw, 11rem);
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero-last {
  display: block;
  font-size: clamp(3.5rem, 10vw, 8rem);
  color: var(--yellow);
  letter-spacing: -0.02em;
  -webkit-text-stroke: 1px var(--yellow);
}

.hero-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  padding: 0.3rem 0;
  border-left: 3px solid var(--orange);
  padding-left: 0.8rem;
}

.hero-brand-tag svg {
  stroke: var(--orange-light);
  flex-shrink: 0;
}

.hero-tagline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.hero-tagline p {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--gray-light);
  white-space: nowrap;
  text-transform: uppercase;
}

.tagline-line {
  flex: 1;
  height: 1px;
  background: var(--gray);
  max-width: 60px;
}

.hero-desc {
  max-width: 500px;
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fadeSlideIn 0.7s 0.5s ease both;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--yellow);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--yellow);
}

.stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gray-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--gray);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  animation: bounce 2s infinite;
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--gray-light);
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

.scroll-arrow {
  color: var(--yellow);
}

.scroll-arrow svg {
  display: block;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   TICKER TAPE
   ========================================== */
.ticker-wrapper {
  background: var(--yellow);
  padding: 0.8rem 0;
  overflow: hidden;
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
}

.ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: ticker 20s linear infinite;
}

.ticker-track span {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--black);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================
   ABOUT
   ========================================== */
.about {
  background: var(--dark-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-img-frame {
  position: relative;
  border: 4px solid var(--yellow);
  box-shadow: 10px 10px 0 var(--yellow);
}

.about-img-frame img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.3s;
}

.about-img-frame:hover img { filter: grayscale(0%); }

.img-decoration {
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  border: 2px dashed rgba(245, 196, 0, 0.3);
  z-index: -1;
  pointer-events: none;
}

.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--yellow);
  color: var(--black);
  padding: 1.2rem 1.5rem;
  border: 3px solid var(--black);
  box-shadow: 5px 5px 0 var(--black);
  text-align: center;
}

.about-founder-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  border-left: 3px solid var(--orange);
  padding-left: 0.8rem;
}

.about-founder-tag svg {
  stroke: var(--yellow);
  fill: var(--yellow);
  flex-shrink: 0;
}

.badge-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1;
}

.badge-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.about-content { padding-left: 1rem; }

.about-bio p {
  color: rgba(245, 240, 232, 0.75);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-bio strong { color: var(--yellow); }

.about-skills {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.skill-icon-wrap {
  display: flex;
  align-items: center;
  color: var(--yellow);
  flex-shrink: 0;
}

.skill-icon-wrap svg {
  stroke: var(--yellow);
}

.skill-name {
  flex: 1;
}

.skill-name {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--white);
}

.skill-percent {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--yellow);
  font-weight: 700;
}

.skill-bar {
  height: 6px;
  background: var(--dark-3);
  border: 1px solid var(--gray);
  position: relative;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.skill-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 20px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
}

/* ==========================================
   SERVICES
   ========================================== */
.services {
  background: var(--dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 3px solid var(--yellow);
}

.service-card {
  padding: 2.5rem;
  border: 2px solid var(--gray);
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
  background: var(--dark);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 196, 0, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover::before { opacity: 1; }

.service-card:hover {
  background: var(--dark-2);
  transform: translate(-4px, -4px);
  z-index: 1;
  box-shadow: 6px 6px 0 var(--yellow), 0 0 30px rgba(245, 196, 0, 0.3);
}

.service-card.featured {
  background: var(--dark-2);
  border-color: var(--yellow);
}

.service-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: rgba(245, 196, 0, 0.1);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
  user-select: none;
}

.service-icon-svg {
  width: 52px;
  height: 52px;
  margin-bottom: 1.2rem;
  color: var(--yellow);
  position: relative;
  z-index: 1;
}

.service-icon-svg svg {
  width: 100%;
  height: 100%;
  stroke: var(--yellow);
  transition: stroke 0.25s;
}

.service-card:hover .service-icon-svg svg,
.service-card.featured .service-icon-svg svg {
  stroke: var(--orange-light);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.service-card:hover .service-title,
.service-card.featured .service-title {
  color: var(--yellow);
}

.service-desc {
  font-size: 0.88rem;
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.service-list li {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gray-light);
  padding-left: 1rem;
  position: relative;
}

.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--yellow);
}

.service-arrow {
  color: var(--yellow);
  opacity: 0;
  transition: var(--transition);
  transform: translateX(-10px);
  display: flex;
  align-items: center;
}

.service-arrow svg {
  stroke: var(--yellow);
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

.service-badge {
  position: absolute;
  top: 1rem;
  left: 2.5rem;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border: 2px solid var(--black);
}

/* ==========================================
   PORTFOLIO
   ========================================== */
.portfolio {
  background: var(--dark-2);
}

.portfolio-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.5rem 1.2rem;
  background: transparent;
  color: var(--gray-light);
  border: 2px solid var(--gray);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.5);
}

.portfolio-grid-wrap {
  position: relative;
  width: 100%;
}

.grid-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--yellow);
  color: black;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  transition: transform 0.2s, background 0.3s;
}
.grid-arrow:hover {
  transform: translateY(-50%) scale(1.1);
  background: white;
}
.grid-arrow-left {
  left: -20px;
}
.grid-arrow-right {
  right: -20px;
}
@media (max-width: 768px) {
  .grid-arrow-left { left: 0px; }
  .grid-arrow-right { right: 0px; }
}

.portfolio-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
  padding-bottom: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.portfolio-grid::-webkit-scrollbar {
  display: none;
}

.portfolio-item {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
  overflow: hidden;
  border: 3px solid var(--gray);
  transition: var(--transition);
}
@media (min-width: 768px) {
  .portfolio-item {
    flex: 0 0 48%; /* Menampilkan 2 kotak di Desktop */
  }
}
@media (min-width: 1024px) {
  .portfolio-item {
    flex: 0 0 32%; /* Menampilkan 3 kotak di Layar Besar */
  }
}

.portfolio-item:hover {
  border-color: var(--yellow);
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--yellow);
}

.portfolio-item.featured-port {
  grid-column: 1 / -1;
}

.portfolio-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

/* Slider Style Ala Instagram */
.portfolio-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.portfolio-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.portfolio-slider-track::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome */
}
.slider-vid-wrapper {
  position: relative;
}
.slider-item {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
}
.vid-mute-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0,0,0,0.6);
  border: none;
  color: white;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: 0.3s;
}
.vid-mute-btn:hover {
  background: var(--yellow);
  color: black;
}
.slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  /* Cinematic CSS Filter (Grayscale & High Contrast) */
  filter: grayscale(70%) contrast(110%) brightness(70%);
  transition: filter 0.4s ease;
}
.slider-vid {
  cursor: default;
}
.portfolio-item:hover .slider-img {
  /* Menyala full color saat di hover */
  filter: grayscale(0%) contrast(100%) brightness(100%);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s, background 0.3s;
  pointer-events: auto;
}
.portfolio-item:hover .slider-arrow {
  opacity: 1;
}
.slider-arrow:hover {
  background: var(--yellow);
  color: black;
}
.slider-arrow-left {
  left: 10px;
}
.slider-arrow-right {
  right: 10px;
}
.portfolio-slider-nav {
  position: absolute;
  bottom: 15px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 5;
  pointer-events: none;
}
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: all 0.3s ease;
}
.slider-dot.active {
  background: var(--yellow);
  transform: scale(1.3);
}

.portfolio-img .portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.4) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 10;
  pointer-events: none; /* Let user swipe the photos underneath */
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-info .port-category {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--yellow);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 0.4rem;
}

.portfolio-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
}

.portfolio-info p {
  font-size: 0.8rem;
  color: var(--gray-light);
}

.portfolio-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 10, 10, 0.85);
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.portfolio-tag svg {
  stroke: var(--yellow);
  flex-shrink: 0;
}

/* ---- INFO BAR (always visible below image) ---- */
.portfolio-info-bar {
  padding: 10px 14px 12px;
  background: #111;
  border-top: 2px solid var(--yellow);
}

.port-category-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--yellow);
  background: rgba(245, 197, 24, 0.12);
  padding: 2px 8px;
  margin-bottom: 5px;
}

.port-info-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin: 4px 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.port-info-desc {
  font-size: 0.75rem;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- VIDEO FULLSCREEN BTN ---- */
.vid-fullscreen-btn {
  position: absolute;
  bottom: 50px;
  right: 10px;
  background: rgba(0,0,0,0.65);
  border: none;
  color: white;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: 0.2s;
}
.vid-fullscreen-btn:hover { background: var(--yellow); color: black; }

/* ---- LIGHTBOX INFO PANEL ---- */
.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-info {
  background: rgba(0,0,0,0.75);
  border-top: 2px solid var(--yellow);
  padding: 10px 18px;
  width: 100%;
  text-align: left;
}

.lightbox-cat-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--yellow);
}

.lightbox-info h3 {
  font-size: 0.95rem;
  color: #fff;
  margin: 4px 0 3px;
}

.lightbox-info p {
  font-size: 0.8rem;
  color: #aaa;
}


/* ==========================================
   WHY US
   ========================================== */
.why-us {
  background: var(--black);
  border-top: 4px solid var(--yellow);
  border-bottom: 4px solid var(--yellow);
  position: relative;
}

.why-us-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  border: 2px solid var(--dark-3);
  background: var(--dark);
  transition: var(--transition);
}

.why-item:hover {
  border-color: var(--yellow);
  transform: translate(-4px, -4px);
  box-shadow: 6px 6px 0 var(--yellow), 0 0 25px rgba(245, 196, 0, 0.25);
}

.why-icon-svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(245, 196, 0, 0.1);
  border: 2px solid rgba(245, 196, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  transition: var(--transition);
}

.why-icon-svg svg {
  width: 100%;
  height: 100%;
  stroke: var(--yellow);
}

.why-item:hover .why-icon-svg {
  background: var(--yellow);
  border-color: var(--yellow);
}

.why-item:hover .why-icon-svg svg {
  stroke: var(--black);
}

.why-text h4 {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.why-text p {
  font-size: 0.82rem;
  color: var(--gray-light);
  line-height: 1.6;
}

.why-us-visual {
  text-align: center;
  position: relative;
  padding: 3rem 2rem;
  border: 4px solid var(--yellow);
  background: var(--dark-2);
  box-shadow: 12px 12px 0 var(--yellow);
}

.iys-logo-big {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--orange-light);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}

.iys-bracket {
  color: var(--yellow);
  font-size: 2rem;
}

.why-since {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gray-light);
  letter-spacing: 0.1em;
  margin-top: 1rem;
  border: 1px solid var(--gray);
  padding: 0.4rem 0.8rem;
}

.why-since svg {
  stroke: var(--yellow);
}

.big-number {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 10vw, 8rem);
  color: var(--yellow);
  line-height: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.big-number span {
  font-size: 0.5em;
  margin-top: 0.5rem;
  color: var(--orange);
}

.big-label {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-top: 0.5rem;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials {
  background: var(--dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.testi-card {
  background: var(--dark-2);
  border: 3px solid var(--gray);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}

.testi-card::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--yellow);
  line-height: 1;
  opacity: 0.3;
}

.testi-card:hover {
  border-color: var(--yellow);
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--yellow);
}

.testi-card.featured-testi {
  border-color: var(--yellow);
  background: var(--dark-3);
  transform: translateY(-10px);
  box-shadow: 8px 8px 0 var(--yellow);
}

.testi-rating {
  display: flex;
  gap: 3px;
  color: var(--yellow);
  margin-bottom: 1rem;
  align-items: center;
}

.testi-rating svg {
  fill: var(--yellow);
  flex-shrink: 0;
}

.testi-text {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.8);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  border: 2px solid var(--black);
  flex-shrink: 0;
  overflow: hidden;
}

.testi-avatar-img {
  background: transparent;
  border-color: var(--yellow);
  box-shadow: 2px 2px 0 var(--yellow);
}

.testi-avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.testi-name {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  font-style: normal;
}

.testi-role {
  font-size: 0.72rem;
  color: var(--gray-light);
}

/* ==========================================
   CONTACT
   ========================================== */
.contact {
  background: var(--dark-2);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  background: var(--dark);
  border: 2px solid var(--gray);
  transition: var(--transition);
  cursor: pointer;
}

.contact-card:hover {
  border-color: var(--yellow);
  transform: translateX(4px);
  box-shadow: -4px 0 0 var(--yellow);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(245, 196, 0, 0.1);
  border: 2px solid rgba(245, 196, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--yellow);
  fill: none;
}

/* WA icon uses fill */
#contact-wa .contact-icon svg {
  fill: var(--yellow);
  stroke: none;
}

.contact-card:hover .contact-icon {
  background: var(--yellow);
  border-color: var(--yellow);
}

.contact-card:hover .contact-icon svg {
  stroke: var(--black);
}

#contact-wa:hover .contact-icon svg {
  fill: var(--black);
  stroke: none;
}

.contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gray-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.2s;
}

.contact-value:hover { color: var(--yellow); }

/* ---- FORM ---- */
.contact-form {
  background: var(--dark);
  border: 3px solid var(--yellow);
  padding: 2.5rem;
  box-shadow: 8px 8px 0 var(--yellow);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--yellow);
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--dark-2);
  border: 2px solid var(--gray);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23f5c400'%3E%3Cpath d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: var(--dark-2);
  color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 1px var(--yellow);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-mid);
}

.form-success {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(34, 197, 94, 0.15);
  border: 2px solid #22c55e;
  color: #4ade80;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-align: center;
}

/* ======= LIGHTBOX ZOOM ======= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1002;
  transition: 0.3s;
}

.lightbox-close:hover {
  color: var(--yellow);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 30px;
  padding: 15px 20px;
  cursor: pointer;
  z-index: 1002;
  transition: 0.3s;
  border-radius: 5px;
}

.lightbox-arrow:hover {
  background: var(--yellow);
  color: black;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}
.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--black);
  padding-top: 0;
}

.footer-hazard {
  height: 18px;
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0px,
    var(--yellow) 20px,
    var(--black) 20px,
    var(--black) 40px
  );
  border-bottom: 3px solid var(--black);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
  border-bottom: 2px solid var(--gray);
}

.logo-full-footer {
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.3rem;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.footer-desc {
  font-size: 0.82rem;
  color: var(--gray-light);
  line-height: 1.7;
}

.footer-links h4,
.footer-services-col h4,
.footer-contact h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--yellow);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 2px solid var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-light);
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(245, 196, 0, 0.1);
  transform: translateY(-2px);
}

.footer-social a svg {
  stroke: currentColor;
  fill: none;
  width: 16px;
  height: 16px;
}

.footer-social #foot-wa-social svg {
  fill: currentColor;
  stroke: none;
}

.footer-links ul,
.footer-services-col ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a,
.footer-contact a {
  font-size: 0.85rem;
  color: var(--gray-light);
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-contact a:hover { color: var(--yellow); }

.footer-services-col li {
  font-size: 0.85rem;
  color: var(--gray-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-services-col li svg {
  stroke: var(--yellow);
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gray-light);
  letter-spacing: 0.05em;
}



/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================
   SCROLLBAR
   ========================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb {
  background: var(--yellow);
  border-radius: 0;
}

/* ==========================================
   SELECTION
   ========================================== */
::selection {
  background: var(--yellow);
  color: var(--black);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-img-frame img { height: 400px; }

  .about-content { padding-left: 0; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testi-card.featured-testi {
    transform: translateY(0);
  }

  .why-us-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .why-us-visual { max-width: 300px; margin: 0 auto; }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .why-icon-svg {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-last, .hero-first {
    font-size: clamp(3.5rem, 15vw, 7rem);
  }

  .hero-tagline p { font-size: 0.7rem; white-space: normal; }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item.featured-port { grid-column: auto; }

  .why-grid { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: 1fr; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-stats { gap: 1rem; }
  .stat-number { font-size: 2rem; }

  .section-title { margin-bottom: 1rem; }

  .contact-form { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
  .stat-divider { display: none; }
  .hero-stats { gap: 1.5rem; }
}

/* ==========================================
   EXTRA ANIMATIONS & EFFECTS
   ========================================== */

/* 1. Custom Cursor */
@media (pointer: fine) {
  body, a, button, .btn, .service-card, .portfolio-item, .contact-card {
    cursor: none !important;
  }
}
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: var(--yellow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s, border-radius 0.2s;
  mix-blend-mode: difference;
}
.custom-cursor.hovering {
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: 2px solid var(--yellow);
  border-radius: 4px;
}

/* 2. Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--yellow);
  z-index: 9999;
  width: 0%;
  box-shadow: 0 0 10px var(--yellow);
}

/* 3. Magnetic Buttons */
.btn.magnetic {
  transition: transform 0.1s ease-out, background 0.25s, color 0.25s, box-shadow 0.25s;
}

/* 4. Glitch Effect */
.glitch-hover {
  position: relative;
  display: inline-block;
}
.glitch-hover::before, .glitch-hover::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  opacity: 0;
  pointer-events: none;
}
.glitch-hover:hover::before {
  opacity: 1;
  color: var(--yellow);
  animation: glitch-anim-1 0.3s infinite linear alternate-reverse;
  z-index: -1;
}
.glitch-hover:hover::after {
  opacity: 1;
  color: var(--orange);
  animation: glitch-anim-2 0.3s infinite linear alternate-reverse;
  z-index: -2;
}
@keyframes glitch-anim-1 {
  0% { clip-path: inset(20% 0 80% 0); transform: translate(-2px, 1px); }
  20% { clip-path: inset(60% 0 10% 0); transform: translate(2px, -1px); }
  40% { clip-path: inset(40% 0 50% 0); transform: translate(-2px, 2px); }
  60% { clip-path: inset(80% 0 5% 0); transform: translate(2px, -2px); }
  80% { clip-path: inset(10% 0 70% 0); transform: translate(-1px, 1px); }
  100% { clip-path: inset(30% 0 50% 0); transform: translate(1px, -1px); }
}
@keyframes glitch-anim-2 {
  0% { clip-path: inset(10% 0 60% 0); transform: translate(2px, -1px); }
  20% { clip-path: inset(80% 0 5% 0); transform: translate(-2px, 1px); }
  40% { clip-path: inset(30% 0 50% 0); transform: translate(2px, -2px); }
  60% { clip-path: inset(50% 0 30% 0); transform: translate(-2px, 2px); }
  80% { clip-path: inset(5% 0 80% 0); transform: translate(1px, -1px); }
  100% { clip-path: inset(40% 0 20% 0); transform: translate(-1px, 1px); }
}

/* 5. Ripple Effect */
.btn {
  position: relative;
  overflow: hidden;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
}
@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* 6. Preloader - Neon Breaker */
body.loading {
  overflow: hidden;
}
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  pointer-events: none;
}
/* Doors */
.preloader-door {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  background: var(--dark);
  z-index: 1;
  transition: transform 1.5s cubic-bezier(0.8, 0, 0.2, 1);
}
.preloader-door-left {
  left: 0;
}
.preloader-door-right {
  right: 0;
}
/* Split animation */
.preloader.split .preloader-door-left {
  transform: translateX(-100%);
}
.preloader.split .preloader-door-right {
  transform: translateX(100%);
}
/* Hide content when split */
.preloader.split .preloader-content {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.preloader-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 80%;
  max-width: 400px;
}

/* SVG Trace Text */
.preloader-svg {
  width: 100%;
  max-width: 300px;
  height: auto;
  overflow: visible;
}
.svg-iys-path {
  fill: transparent;
  stroke: var(--yellow);
  stroke-width: 2px;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  
  /* GPU Hardware Acceleration agar super smooth di HP */
  transform: translateZ(0);
  will-change: stroke-dashoffset, fill;
  
  /* Animasi trace selama 4s, fill 1s, total 5s */
  animation: 
    trace-laser 4s cubic-bezier(0.4, 0, 0.2, 1) forwards,
    fill-solid 1s ease-out 4s forwards;
}

@keyframes trace-laser {
  0% { stroke-dashoffset: 400; }
  100% { stroke-dashoffset: 0; }
}

@keyframes fill-solid {
  0% { fill: transparent; stroke-width: 2px; }
  100% { fill: var(--yellow); stroke-width: 0px; }
}

/* Cinematic Fade Up Reveal */
.cinematic-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.cinematic-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 7. Safety Badge */
.safety-badge {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 110px;
  height: 110px;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  pointer-events: none;
}
.safety-spin-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: spin 15s linear infinite;
}
.safety-center-icon {
  position: absolute;
  color: var(--yellow);
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .safety-badge {
    width: 80px;
    height: 80px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}
