/* ===================================================
   Anwar Technology – Original Styles
   (Extracted from deployed version)
   =================================================== */

section {
  overflow: hidden;
}

/* Allow gallery section to not clip lightbox triggers */
#gallery {
  overflow: visible;
}

body {
  background-color: #0a0f16;
  color: #d1d5db;
}

/* Hide scrollbar */
body::-webkit-scrollbar {
  display: none;
}

html::-webkit-scrollbar {
  display: none;
}

/* Hero Grid Background */
.hero-grid {
  position: relative;
  background-color: #0a0f16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center bottom;
}

.hero-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, #0a0f16 100%);
  pointer-events: none;
  z-index: 1;
}

.text-glow {
  text-shadow: 0 0 20px rgba(31, 162, 255, 0.5);
}

.card-dark {
  background-color: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.card-dark:hover {
  border-color: rgba(31, 162, 255, 0.3);
  box-shadow: 0 10px 30px -10px rgba(31, 162, 255, 0.1);
  transform: translateY(-2px);
}

.icon-box {
  background: rgba(31, 162, 255, 0.1);
  color: #1fa2ff;
}

.link-row {
  transition: all 0.2s ease;
}

.link-row:hover {
  background-color: rgba(31, 162, 255, 0.05);
  border-color: rgba(31, 162, 255, 0.2);
}

.link-row:hover .icon-arrow {
  transform: translateX(4px);
  color: #1fa2ff;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    grid-auto-rows: 200px;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.gallery-thumb {
  aspect-ratio: 1;
  background: #111827;
  cursor: pointer;
  transform: translateZ(0);
}

@media (min-width: 768px) {
  .gallery-thumb {
    aspect-ratio: auto;
  }
}

.gallery-thumb img,
.gallery-thumb video {
  transition: transform 0.5s ease;
  will-change: transform;
}

.gallery-thumb:hover img,
.gallery-thumb:hover video {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 162, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-thumb:hover .gallery-overlay {
  opacity: 1;
}

/* Client Logo Grid */
.client-badge {
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.client-badge:hover {
  border-color: rgba(31, 162, 255, 0.3);
  box-shadow: 0 0 20px rgba(31, 162, 255, 0.08);
  transform: translateY(-2px);
}

/* Brand section */
.brand-section-bg {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.brand-section-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(31, 162, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.brand-section-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.brand-marquee-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.brand-marquee-wrap::-webkit-scrollbar {
  display: none;
}

.brand-track {
  display: flex;
  gap: 1.25rem;
  animation: marquee 10s linear infinite;
  touch-action: pan-x;
}

.brand-track:hover,
.brand-track:active,
.brand-track.touch-active {
  animation-play-state: paused;
}

@media (min-width: 768px) {
  .brand-marquee-wrap {
    overflow: hidden;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.brand-pill {
  flex-shrink: 0;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 50px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 56px;
}

@media (min-width: 768px) {
  .brand-pill {
    min-width: 140px;
    height: 64px;
  }
}

.brand-pill img {
  max-height: 32px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .brand-pill img {
    max-height: 36px;
  }
}

.brand-pill:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Identity showcase grid */
.identity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .identity-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.identity-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #111827;
  transition: all 0.4s ease;
}

.identity-card:hover {
  border-color: rgba(31, 162, 255, 0.25);
  box-shadow: 0 8px 30px rgba(31, 162, 255, 0.1);
  transform: translateY(-3px);
}

.identity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.identity-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
}

.identity-label span {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Klien card improved */
.klien-card {
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.8) 0%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.klien-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #1fa2ff, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.klien-card:hover {
  border-color: rgba(31, 162, 255, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(31, 162, 255, 0.08);
}

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

.klien-card.sekolah .klien-icon {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
}

/* Stat counter */
.stat-box {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1fa2ff;
  line-height: 1;
  text-shadow: 0 0 30px rgba(31, 162, 255, 0.3);
}

.stat-label {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Paket Harga */
.paket-tab {
  color: #9ca3af;
}

.paket-tab.active {
  background: #1fa2ff;
  color: #fff;
  box-shadow: 0 0 18px rgba(31, 162, 255, 0.4);
}

.paket-panel.hidden {
  display: none;
}

.paket-card {
  position: relative;
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.paket-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.paket-card.featured {
  border-color: rgba(31, 162, 255, 0.4);
  box-shadow: 0 0 30px rgba(31, 162, 255, 0.1);
}

.paket-card.featured-green {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.1);
}

.paket-card.featured-red {
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.1);
}

.paket-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(31, 162, 255, 0.9);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 50px;
}

.paket-badge.green {
  background: rgba(16, 185, 129, 0.9);
}

.paket-badge.red {
  background: rgba(239, 68, 68, 0.9);
}

.paket-header {
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.paket-cam-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50px;
  padding: 3px 12px;
  margin-bottom: 0.5rem;
}

.paket-indi-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  padding: 3px 10px;
  margin-bottom: 0.5rem;
  text-align: center;
}

.paket-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.paket-price span {
  font-size: 1.1rem;
  font-weight: 700;
  vertical-align: super;
  margin-left: 3px;
}

.paket-list {
  list-style: none;
  padding: 1.25rem 1.5rem;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.paket-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #d1d5db;
}

.paket-list li i {
  margin-top: 1px;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.paket-btn {
  display: block;
  text-align: center;
  margin: 0 1.25rem 1.25rem;
  padding: 0.7rem 1.25rem;
  border-radius: 50px;
  background: linear-gradient(90deg, #1fa2ff, #1243b4);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.paket-btn:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

.paket-btn.green {
  background: linear-gradient(90deg, #10b981, #065f46);
}

.paket-btn.red {
  background: linear-gradient(90deg, #ef4444, #9b1c1c);
}