* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #0f0f1a;
  color: white;
}

/* DEFAULT = DESKTOP */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: rgba(20, 20, 40, 0.8);
  backdrop-filter: blur(10px);
  position: relative;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  width: 28px;
  height: 22px;
}

.menu-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 10px;
}

.menu-toggle span:nth-child(3) {
  top: 20px;
}

/* ========================= */
/* 📱 MOBILE VERSION */
/* ========================= */
@media (max-width: 768px) {

  .navbar {
    padding: 15px 20px;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1001;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(20, 20, 40, 0.95);
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 0;
    z-index: 1000;
    display: flex;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.35s ease, padding 0.35s ease, visibility 0s linear 0.35s;
  }

  .navbar .nav-links {
    display: flex;
  }

  .nav-links.active {
    padding: 20px 0;
    max-height: 220px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.35s ease, padding 0.35s ease, visibility 0s;
  }

  .navbar.active {
    background: rgba(20, 20, 40, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  }

  .btn-nav {
    display: none; /* sembunyikan di mobile biar rapi */
  }

  .team-container {
    grid-template-columns: 1fr;
  }

  .team-card:nth-child(1) {
    order: 3;
  }

  .team-card:nth-child(2) {
    order: 1;
  }

  .team-card:nth-child(3) {
    order: 2;
  }

  .team-card:nth-child(4) {
    order: 4;
  }

  .team-card:nth-child(5) {
    order: 5;
  }

  .team-card {
    margin-bottom: 40px;
  }

  .scroll-cue {
    margin-top: 22px;
    padding: 10px 16px;
  }

  .team-cue {
    margin: 0 auto 18px;
  }

  .menu-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
  }
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(45deg, #6a5cff, #00d4ff);
  -webkit-background-clip: text;
  color: transparent;
}

.sub-logo {
  font-weight: bold;
  background: linear-gradient(45deg, #6a5cff, #00d4ff);
  -webkit-background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
}

.nav-links a:hover {
  opacity: 1;
}

.btn-nav {
  position: relative;
  padding: 10px 22px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #6a5cff, #00d4ff);
  color: white;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(106, 92, 255, 0.28);
}

/* Hover */
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 212, 255, 0.35);
}

/* Klik */
.btn-nav:active {
  transform: scale(0.95);
}

/* Efek glow tipis */
.btn-nav::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: 0.3s;
}

.btn-nav:hover::after {
  opacity: 1;
}

/* Shine effect */
.btn-nav::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -120%;
  width: 60%;
  height: 220%;
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(25deg);
  transition: 0.6s;
}

.btn-nav:hover::before {
  left: 130%;
}

/* HERO */
.hero {
  text-align: center;
  padding: 100px 20px;
  background: radial-gradient(circle at top, #1f1f3a, #0f0f1a);
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.hero p {
  opacity: 0.7;
  margin-bottom: 20px;
}

.btn {
  position: relative;
  padding: 14px 32px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #6a5cff, #00d4ff);
  color: white;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.35s ease;
  box-shadow: 0 10px 25px rgba(106, 92, 255, 0.35);
  animation: pulse 2s infinite;
}

/* Hover effect */
.btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 212, 255, 0.45);
}

/* Click effect */
.btn:active {
  transform: scale(0.96);
}

/* Shine animation */
.btn::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -40%;
  width: 50%;
  height: 300%;
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(25deg);
  transition: 0.6s;
}

.btn:hover::before {
  left: 120%;
}

/* Pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(106, 92, 255, 0.45);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(106, 92, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(106, 92, 255, 0);
  }
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  color: white;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.08);
  animation: floatCue 2.6s ease-in-out infinite;
}

.team-cue {
  margin: 0 auto 24px;
}

.scroll-cue:hover {
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.18);
}

.scroll-cue-text {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.scroll-cue-arrow {
  position: relative;
  width: 18px;
  height: 24px;
}

.scroll-cue-arrow span {
  position: absolute;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #00d4ff;
  border-bottom: 2px solid #00d4ff;
  transform: translateX(-50%) rotate(45deg);
  opacity: 0;
  animation: arrowPulse 1.8s infinite;
}

.scroll-cue-arrow span:nth-child(1) {
  top: 0;
  animation-delay: 0s;
}

.scroll-cue-arrow span:nth-child(2) {
  top: 7px;
  animation-delay: 0.2s;
}

.scroll-cue-arrow span:nth-child(3) {
  top: 14px;
  animation-delay: 0.4s;
}

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

@keyframes arrowPulse {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0) rotate(45deg);
  }
  30% {
    opacity: 1;
  }
  70% {
    opacity: 0;
    transform: translateX(-50%) translateY(8px) rotate(45deg);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(8px) rotate(45deg);
  }
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 60px 50px;
}

.card {
  background: #1a1a2e;
  padding: 25px;
  border-radius: 12px;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(0,212,255,0.2), transparent);
  top: -50%;
  left: -50%;
  transform: rotate(25deg);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.3);
}

/* FOOTER */
.footer {
  background: #141428;
  color: #fff;
  padding: 40px 50px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}


.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 10px;
}

.footer-section p {
  font-size: 14px;
  opacity: 0.8;
}

.socials a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  margin-bottom: 8px;
  opacity: 0.7;
  transition: 0.3s;
}

.socials a i {
  font-size: 16px;
}

.socials a:hover {
  opacity: 1;
}

.footer .copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 12px;
  opacity: 0.6;
}

/* TEAM SECTION */
.team {
  text-align: center;
  padding: 20px 50px 80px;
}

.team h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.team-sub {
  opacity: 0.7;
  margin-bottom: 40px;
}

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 120px;
}

/* CARD */

/* .team-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid rgba(0, 212, 255, 0.5);
} */

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid rgba(0, 212, 255, 0.6);
  background: #0f0f1a;
  box-shadow: 
    0 0 15px rgba(0,212,255,0.5),
    0 0 30px rgba(106,92,255,0.3);
}


.team-card span {
  font-size: 0.9rem;
  color: #00d4ff;
  display: block;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 0.85rem;
  opacity: 0.7;
}

.team-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 
    0 0 20px rgba(0,212,255,0.4),
    0 0 40px rgba(106,92,255,0.3);
}

.team-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.1);

  padding-top: 70px;
  position: relative; 
}

.team-card h3 {
  background: linear-gradient(45deg, #6a5cff, #00d4ff);
  -webkit-background-clip: text;
  color: transparent;
}

.team-card p {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 18px;
}

.team-card p span {
  background: rgba(0,212,255,0.1);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.loader-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  background: #0a0e1a;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-family: 'Segoe UI', system-ui, sans-serif;
  overflow: hidden;
}

/* ── Circle ── */
.circle-container {
  position: relative;
  width: 200px;
  height: 200px;
}

.water-clip {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
}

.water-inner {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
}

.wave-svg {
  display: block;
  width: 100%;
  position: absolute;
  top: -26px;
  left: 0;
  pointer-events: none;
}

.water-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #2196f3;
}

/* ── Bubbles ── */
.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  bottom: 4px;
  animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translateY(0) scale(1); opacity: 0.5; }
  80%  { opacity: 0.2; }
  100% { transform: translateY(-220px) scale(0.4); opacity: 0; }
}

/* ── Outer ring ── */
.ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

/* ── Logo overlay ── */
.logo-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
  gap: 10px;
}

.logo-icon {
  width: 100px;
  height: 50px;
}

.logo-text {
  font-size: 13px;
  font-weight: 600;
  font-weight: bold;
  background: linear-gradient(45deg, #6a5cff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Percent label ── */
.pct-label {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.05em;
  z-index: 5;
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* ── Status text ── */
.status-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
}

/* TEXT */
.title, .description {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid currentColor;
}

/* TITLE */
.title {
  top: 45%;
  color: #00b3ff;
  font-size: 22px;
  letter-spacing: 2px;
  text-shadow: 0 0 8px #00b3ff;

  width: 0;
  overflow: hidden;
  border-right: 2px solid #00b3ff;

  animation: 
    typingTitle 1s steps(14, end) forwards,
    blink 0.7s infinite,
    stopBlink 0s forwards;
  animation-delay: 0s, 0s, 1s;
}

.nav-link {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-link.active {
  color: #00ffff;
  font-weight: bold;
  border-bottom: 2px solid #00ffff;

  /* Glow effect */
  text-shadow: 
    0 0 10px #00ffff;
}

/* Optional: efek hover juga glow ringan */
.nav-link:hover {
  color: #00ffff;
  text-shadow: 
    0 0 5px #00ffff,
    0 0 10px #00ffff;
}

/* ANIMATION */
@keyframes typingTitle {
  from { width: 0 }
  to { width: 20ch }
}

@keyframes blink { 50% { border-color: transparent } }

@keyframes stopBlink {
  to { border-right: none; }
}
