:root {
  --primary: #38bdf8;
  --primary-hover: #0284c7;
  --bg-gradient-start: #030712;
  --bg-gradient-end: #0f172a;
  --card-bg: rgba(255, 255, 255, 0.07);
  --card-border: rgba(255, 255, 255, 0.12);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
}

#snow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Navbar Styling */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  padding: 12px 24px;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 1px;
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  gap: 12px;
}

/* Base Layout & Cards */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  border-color: rgba(56, 189, 248, 0.4);
}

/* Hero Section */

/* Wrapper Link GIF */
.gif-btn-link {
  display: block;
  width: 100%;
  margin-top: 8px; /* Jarak antara progress bar dan tombol GIF */
  text-decoration: none;
}

/* Styling Gambar GIF */
.gif-btn {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px; /* Sudut melengkung halus */
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

/* Efek Hover saat kursor diarahkan ke GIF */
.gif-btn:hover {
  transform: scale(1.03); /* Sedikit membesar */
  filter: brightness(1.1); /* Sedikit lebih terang */
}

/* Efek saat tombol GIF diklik */
.gif-btn:active {
  transform: scale(0.98);
}
/* Styling Gambar di Tengah Hero */
.hero-image-wrapper {
  margin: 25px 0 30px;
  display: flex;
  justify-content: center;
}

.hero-image {
  max-width: 400px; /* Atur ukuran lebar gambar di sini */
  height: auto;
  border-radius: 24px;
  /* Efek glow/cahaya futuristik di belakang gambar */
  filter: drop-shadow(0 0 25px rgba(56, 189, 248, 0.4));
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.05); /* Efek membesar sedikit saat di-hover */
}

/* Ukuran Judul Dikecilkan */
.hero-title {
  font-size: 2.1rem; /* Ukuran sebelumnya 3rem, sekarang lebih proporsional */
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}
.hero-section {
  text-align: center;
  padding: 40px 10px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--primary);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Buttons */
.buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  color: #030712;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.39);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.55);
}

.btn-secondary, .btn-outline {
  border: 1px solid var(--card-border);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover, .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Grids */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

/* Stats Cards */
.stat-card {
  text-align: center;
}

.stat-icon {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-card h3 {
  font-size: 2rem;
  margin: 0;
  font-weight: 800;
}

.stat-card p {
  color: var(--text-muted);
  margin: 4px 0 0;
  font-size: 0.875rem;
}

/* Features */
.features-section {
  margin-top: 50px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 24px;
}

.feature-card .icon-wrapper {
  width: 50px;
  height: 50px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

/* Main Card */
.main-card {
  margin-top: 40px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.header-icon {
  font-size: 1.5rem;
  color: var(--primary);
}

/* Accordion */
.faq-section {
  margin-top: 40px;
}

.accordion-item {
  border-bottom: 1px solid var(--card-border);
}

.accordion-header {
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-muted);
  line-height: 1.6;
}

.accordion-item.active .accordion-content {
  max-height: 150px;
  padding-bottom: 18px;
}

.accordion-item.active i {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  max-width: 450px;
  width: 100%;
  position: relative;
  text-align: center;
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-muted);
}

.progress-container {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  overflow: hidden;
  margin: 24px 0 16px;
  height: 28px;
}

.progress-bar {
  width: 94%;
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #030712;
}

.modal-status {
  color: #4ade80;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

/* Responsiveness */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 2.1rem; }
  .wrap { padding: 20px 16px 60px; }
}