/* ========== RESET & DASAR ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f5f7fa;
  color: #1a1a1a;
}

/* ========== NAVBAR ========== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #004c99;
  padding: 15px 60px;
  color: #fff;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.2rem;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 5px;
  transition: all 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffd700;
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ========== FORM PENDAFTARAN ========== */
.register {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-top: 80px;
  text-align: center;
  padding: 60px 20px;
}

.form-daftar {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  padding: 40px;
  border-radius: 15px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.form-daftar input,
.form-daftar select {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

.form-daftar input:focus,
.form-daftar select:focus {
  border-color: #667eea;
  outline: none;
}

.form-daftar button {
  width: 100%;
  padding: 12px;
  background: #004c99;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 20px;
  font-weight: bold;
  color: #004c99;
}

.form-daftar button:hover {
  background: #003366;
}

/* ========== HERO SECTION ========== */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 50, 100, 0.6), rgba(0, 50, 100, 0.7)),
    url('https://source.unsplash.com/1600x900/?robot,technology') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 0 20px;
}

.hero h1 {
  font-size: 2.8em;
  margin-bottom: 10px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.hero p {
  font-size: 1.2em;
  color: #ffcc00;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}

/* ========== ABOUT SECTION ========== */
.about {
  text-align: center;
  padding: 100px 20px;
}

/* ========== COUNTDOWN ========== */
.countdown {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.countdown h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
}

.time-box {
  background: rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 15px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  min-width: 100px;
}

.time-box .number {
  font-size: 3rem;
  font-weight: bold;
  color: #ffd700;
}

.time-box .label {
  font-size: 1rem;
  text-transform: uppercase;
  color: #fff;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
    flex-wrap: wrap;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #004c99;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .nav-links.show,
  .nav-links.active {
    display: flex;
  }

  .burger {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .form-daftar {
    padding: 20px;
  }

  .countdown-timer {
    flex-wrap: wrap;
    gap: 15px;
  }

  .time-box {
    min-width: 80px;
  }

  .time-box .number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 10px 15px;
  }
  
  .hero h1 {
    font-size: 1.8rem !important;
  }
  
  .hero p {
    font-size: 0.9rem !important;
  }
  
  .logo {
    font-size: 1rem;
  }
  
  .logo-img {
    width: 30px;
    height: 30px;
  }
}

/* ========== ABOUT SECTION ========== */
.about-clean {
  padding: 80px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(0, 0, 50, 0.3);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 20px;
  margin-top: 100px;
  margin-bottom: 60px;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}

.about-icon-clean {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-icon-clean img {
  width: 80px;
  height: 80px;
  filter: brightness(0) saturate(100%) invert(65%) sepia(100%) saturate(1000%) hue-rotate(180deg) brightness(1.2) contrast(1.2);
  animation: robotFloat 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.about-icon-clean img:hover {
  transform: scale(1.2) rotate(10deg);
  filter: brightness(0) saturate(100%) invert(65%) sepia(100%) saturate(1000%) hue-rotate(180deg) brightness(1.5) contrast(1.5);
}

@keyframes robotFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.about-title-clean {
  font-size: 2.5rem;
  color: #00ffff;
  margin-bottom: 25px;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
  letter-spacing: 1px;
}

.about-text-clean {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #ffffff;
  text-align: justify;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Responsive untuk about section */
@media (max-width: 768px) {
  .about-clean {
    padding: 60px 15px;
    margin-top: 80px;
  }
  
  .about-icon-clean img {
    width: 60px;
    height: 60px;
  }
  
  .about-title-clean {
    font-size: 2rem;
  }
  
  .about-text-clean {
    font-size: 1.1rem;
    text-align: center;
  }
}

/* ========== COUNTDOWN SECTION ========== */
.countdown-section {
  padding: 80px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  background: rgba(0, 0, 50, 0.4);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 215, 0, 0.4);
  border-radius: 25px;
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
}

.countdown-section h2 {
  font-size: 2.8rem;
  color: #ffd700;
  margin-bottom: 15px;
  font-weight: 800;
  text-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
  letter-spacing: 1.5px;
}

.countdown-section p {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 30px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.countdown-box {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.time-box {
  background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(255, 215, 0, 0.1));
  border: 2px solid rgba(0, 255, 255, 0.5);
  border-radius: 15px;
  padding: 25px 20px;
  min-width: 120px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.time-box:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 255, 255, 0.4);
  border-color: rgba(255, 215, 0, 0.8);
}

.time-box span {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: #00ffff;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
  line-height: 1;
  margin-bottom: 8px;
}

.time-box p {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Responsive untuk countdown */
@media (max-width: 768px) {
  .countdown-section {
    padding: 60px 15px;
  }
  
  .countdown-section h2 {
    font-size: 2.2rem;
  }
  
  .countdown-box {
    gap: 15px;
  }
  
  .time-box {
    min-width: 100px;
    padding: 20px 15px;
  }
  
  .time-box span {
    font-size: 2.2rem;
  }
  
  .time-box p {
    font-size: 1rem;
  }
}

/* ========== ANIMASI FADE UNTUK COUNTDOWN ========== */
.fade {
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.time-box span.fade {
  opacity: 0.3;
  transform: scale(0.9);
}