* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --bg-deep: #02020A;
  --bg-card: rgba(12, 12, 28, 0.65);
  --glass-border: rgba(139, 92, 246, 0.35);
  --glass-border-light: rgba(168, 85, 247, 0.5);
  --primary-purple: #a855f7;
  --primary-blue: #3b82f6;
  --gradient-primary: linear-gradient(135deg, #c084fc, #3b82f6);
  --shadow-glow: 0 10px 30px -8px rgba(168, 85, 247, 0.3);
  --transition-smooth: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  background-color: var(--bg-deep);
  color: #eef5ff;
  overflow-x: hidden;
  cursor: none;
  scroll-behavior: smooth;
}

.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: radial-gradient(circle at 20% 30%, rgba(88, 28, 135, 0.25), transparent 60%),
              radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.2), transparent 70%);
  animation: slowDrift 18s ease infinite alternate;
  pointer-events: none;
}

@keyframes slowDrift {
  0% { transform: scale(1) translate(0%, 0%); opacity: 0.6; }
  100% { transform: scale(1.08) translate(2%, 3%); opacity: 0.9; }
}

.custom-cursor {
  position: fixed;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.25);
  backdrop-filter: blur(6px);
  border: 1.8px solid #c084fc;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, border-color 0.2s;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.6);
}

.custom-cursor.hover {
  width: 52px;
  height: 52px;
  background: rgba(168, 85, 247, 0.4);
  border-color: #e9c0ff;
  box-shadow: 0 0 28px #a855f7;
}

@media (max-width: 768px) {
  body { cursor: auto; }
  .custom-cursor { display: none; }
}

.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #010104;
  display: grid;
  place-items: center;
  z-index: 10000;
  transition: opacity 0.65s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.65s;
  backdrop-filter: blur(12px);
}

.loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
  transform: translateZ(0);
  will-change: transform;
}

.spinner {
  width: 72px;
  height: 72px;
  border: 3px solid rgba(139, 92, 246, 0.2);
  border-top: 3px solid #a855f7;
  border-right: 3px solid #3b82f6;
  border-radius: 50%;
  animation: spin 0.9s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
  margin-bottom: 24px;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.6);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader p {
  font-weight: 600;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #c084fc, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.1rem;
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 3;
}

nav {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(2, 2, 10, 0.65);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 100;
  margin-bottom: 1rem;
  transition: all 0.25s;
}

.logo {
  font-size: 1.9rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
  transition: transform 0.2s ease;
}

.logo:hover { transform: scale(1.02); }

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

.nav-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
  font-size: 1rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.25s ease;
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: #c084fc; text-shadow: 0 0 6px rgba(168,85,247,0.5); }

.hero {
  padding: 5rem 0 3rem;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 4.2rem;
  font-weight: 800;
  background: linear-gradient(125deg, #ffffff, #d8b4fe, #60a5fa);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 7s linear infinite, floatText 4s ease-in-out infinite;
  margin-bottom: 1rem;
}

@keyframes shine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes floatText {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.tagline {
  font-size: 1.4rem;
  color: #cbd5e6;
  max-width: 620px;
  margin: 0 auto 1.5rem;
  opacity: 0.85;
  letter-spacing: -0.2px;
}

.hero-cta {
  display: inline-flex;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(105deg, #a855f7, #3b82f6);
  padding: 0.8rem 2rem;
  border-radius: 60px;
  font-weight: 600;
  border: none;
  color: white;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 14px rgba(168,85,247,0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(168,85,247,0.5);
  letter-spacing: 0.3px;
}

.btn-outline {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
  border: 1px solid var(--glass-border-light);
  padding: 0.8rem 2rem;
  border-radius: 60px;
  font-weight: 500;
  color: #f0f0ff;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background: rgba(168,85,247,0.2);
  border-color: #c084fc;
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(168,85,247,0.3);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.social-btn {
  background: rgba(25, 25, 50, 0.6);
  backdrop-filter: blur(8px);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #eef5ff;
  transition: var(--transition-smooth);
  border: 1px solid rgba(139, 92, 246, 0.5);
  text-decoration: none;
}

.social-btn:hover {
  transform: translateY(-6px) rotate(3deg);
  background: #a855f7;
  color: white;
  border-color: #ffffff;
  box-shadow: 0 0 22px #a855f7;
}

.stats-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 4rem 0;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  padding: 1.6rem 2.2rem;
  border-radius: 2rem;
  min-width: 160px;
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
  text-align: center;
}

.stat-card:hover {
  border-color: #a855f7;
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label { font-weight: 500; letter-spacing: 0.5px; }

.section-title {
  font-size: 2.8rem;
  margin: 3rem 0 2rem;
  text-align: center;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.2rem;
  margin: 2rem 0 3rem;
}

.project-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border-radius: 1.8rem;
  padding: 2rem;
  transition: var(--transition-smooth);
  border: 1px solid var(--glass-border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  transform: translateZ(0);
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: #c084fc;
  box-shadow: 0 28px 36px -12px rgba(168, 85, 247, 0.45);
  background: rgba(25, 20, 45, 0.85);
}

.project-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #c084fc;
  transition: transform 0.2s;
}

.project-card:hover .project-icon { transform: scale(1.1) rotate(2deg); }

.project-card h3 { font-size: 1.7rem; margin-bottom: 0.75rem; }

.project-card p { color: #cbd5e6; line-height: 1.5; margin-bottom: 1.4rem; }

.view-project-btn {
  background: rgba(168,85,247,0.2);
  border: 1px solid rgba(168,85,247,0.5);
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #e2e8f0;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}

.view-project-btn:hover {
  background: #a855f7;
  color: white;
  transform: translateX(5px);
  border-color: white;
}

.payment-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0 1.5rem;
}

.payment-modern-card {
  width: 290px;
  border-radius: 2rem;
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  background: rgba(18, 18, 35, 0.7);
  border: 1px solid rgba(168,85,247,0.4);
  transition: var(--transition-smooth);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.payment-modern-card:hover {
  transform: translateY(-8px);
  border-color: #c084fc;
  box-shadow: 0 25px 35px -12px rgba(168,85,247,0.5);
}

.payment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.payment-logo { height: 32px; object-fit: contain; }

.payment-badge { font-size: 0.7rem; opacity: 0.7; background: rgba(255,255,255,0.1); padding: 0.2rem 0.6rem; border-radius: 20px; }

.payment-body { text-align: center; margin: 1rem 0; }

.qris-img {
  width: 100%;
  max-width: 170px;
  border-radius: 1.2rem;
  transition: transform 0.3s, box-shadow 0.2s;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(168,85,247,0.5);
}

.qris-img:hover { transform: scale(1.03); box-shadow: 0 0 24px #a855f7; }

.payment-number { font-size: 1.3rem; font-weight: 700; background: linear-gradient(135deg,#e2e8f0,#c084fc); -webkit-background-clip:text; background-clip:text; color:transparent; }

.payment-name { opacity: 0.7; font-size: 0.9rem; margin-top: 5px; }

.payment-footer { display: flex; gap: 12px; justify-content: center; margin-top: 1rem; }

.btn-glass {
  background: rgba(30, 30, 55, 0.8);
  backdrop-filter: blur(6px);
  padding: 0.6rem 1rem;
  border-radius: 40px;
  border: 1px solid rgba(139, 92, 246, 0.6);
  color: #eef5ff;
  font-weight: 500;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
}

.btn-glass:hover {
  background: #a855f7;
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 0 16px #a855f7;
}

.wa-btn { background: #25D36620; border-color: #25D366; }
.wa-btn:hover { background: #25D366; }

.modern-contact {
  position: relative;
  overflow: hidden;
  background: rgba(8, 8, 18, 0.6);
  backdrop-filter: blur(8px);
  border-radius: 2.5rem;
  padding: 2.5rem;
  margin: 3rem 0;
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.modern-contact::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(168,85,247,0.3), transparent 70%);
  top: -100px;
  left: -100px;
  filter: blur(70px);
  z-index: 0;
}

.modern-contact::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(59,130,246,0.25), transparent 70%);
  bottom: -100px;
  right: -100px;
  filter: blur(70px);
}

.contact-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  color: transparent;
  position: relative;
  z-index: 2;
}

.modern-contact-buttons {
  display: flex;
  gap: 1.8rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.9rem 2rem;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 600;
  color: white;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}

.contact-btn::before {
  content: "";
  position: absolute;
  width: 140%;
  height: 140%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
  top: -100%;
  left: -100%;
  transition: 0.55s;
}

.contact-btn:hover::before { top: 100%; left: 100%; }

.contact-btn:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 10px 25px rgba(0,0,0,0.3); }

.contact-btn.wa { background: rgba(37,211,102,0.2); border-color: #25D366; }
.contact-btn.wa:hover { background: #25D366; box-shadow: 0 0 22px #25D366; }
.contact-btn.tg { background: rgba(0,136,204,0.2); border-color: #0088cc; }
.contact-btn.tg:hover { background: #0088cc; box-shadow: 0 0 22px #0088cc; }

.music-wrapper {
  background: rgba(12,12,28,0.5);
  border-radius: 2rem;
  padding: 1rem;
  margin: 2rem 0;
  border: 1px solid #2d2a4a;
  backdrop-filter: blur(6px);
}

.music-wrapper iframe { border-radius: 1rem; width: 100%; height: 352px; border: none; }

footer {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a { color: #9ca3cf; text-decoration: none; margin: 0 1rem; transition: 0.2s; }
.footer-links a:hover { color: #a855f7; text-shadow: 0 0 6px #a855f7; }
.copyright { color: #6c7293; font-size: 0.9rem; }

.toast-notif {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1e1a3aee;
  backdrop-filter: blur(16px);
  padding: 12px 28px;
  border-radius: 60px;
  color: white;
  font-weight: 500;
  z-index: 10002;
  border-left: 4px solid #a855f7;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}

.toast-notif.show { transform: translateX(-50%) translateY(0); opacity: 1; }

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  visibility: hidden;
  opacity: 0;
  transition: 0.25s;
}

.modal-overlay.active { visibility: visible; opacity: 1; }

.modal-content {
  background: rgba(12,12,28,0.98);
  border-radius: 2rem;
  padding: 1.2rem;
  max-width: 90vw;
  max-height: 90vh;
  border: 2px solid #a855f7;
  transform: scale(0.9);
  transition: transform 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-overlay.active .modal-content { transform: scale(1); }

.modal-content img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 1rem;
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: #a855f7;
  background: none;
  border: none;
  z-index: 10;
}
.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .container { padding: 0 1.2rem; }
  .hero h1 { font-size: 2.5rem; }
  .tagline { font-size: 1rem; }
  .section-title { font-size: 2rem; }
  .stat-card { padding: 1rem 1.5rem; min-width: 120px; }
  .payment-modern-card { width: 100%; max-width: 280px; }
  .contact-btn { padding: 0.7rem 1.2rem; }
}
