:root {
  /* Color Palette */
  --gold: #ffd700;
  --gold-light: #fff3b0;
  --gold-dark: #c9a800;
  --navy: #050569;
  --navy-dark: #020238;
  --navy-mid: #0a0a8a;
  --red: #f81042;
  
  /* Semantic Colors - Light (Default) */
  --bg: #ffffff;
  --white: #ffffff;
  --text: var(--navy);
  --text-muted: #7a7a9d;
  --border: rgba(5, 5, 105, 0.08);
  --placeholder: rgba(5, 5, 105, 0.3);
  
  /* Component Specific */
  --nav-bg: rgba(255, 255, 255, 0.85);
  --nav-scrolled: rgba(255, 255, 255, 0.95);
  --testi-bg: var(--navy);
  --footer-bg: var(--navy-dark);
  
  /* Design Tokens */
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 8px 40px rgba(5, 5, 105, 0.08);
  --shadow-gold: 0 8px 32px rgba(255, 215, 0, 0.3);
  --noise-opacity: 0.03;
  
  /* Optimization: Global Transition */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s cubic-bezier(0.77, 0, 0.18, 1);
}

:root[data-theme="dark"] {
  --bg: #050520;
  --white: #050520;
  --navy: #eef2ff;
  --navy-dark: #ffffff;
  --navy-mid: #cdd5ff;
  --text: var(--navy);
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 8px 32px rgba(255, 215, 0, 0.2);

  --nav-bg: rgba(5, 5, 32, 0.8);
  --nav-scrolled: rgba(5, 5, 32, 0.95);
  --testi-bg: #050520;
  --footer-bg: #050520;
  --placeholder: rgba(255, 255, 255, 0.3);
  --noise-opacity: 0.05;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--bg);
  color: var(--navy);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ─── NOISE TEXTURE OVERLAY ─── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: var(--noise-opacity);
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--nav-scrolled);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy);
}

.theme-toggle {
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: var(--transition);
}

.theme-toggle:hover {
  background: var(--border);
  transform: scale(1.1);
}

.theme-toggle span {
  font-size: 1.5rem;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark span {
  font-size: 18px;
  color: var(--gold);
}

:root[data-theme="dark"] .logo-mark {
  background: var(--gold);
}
:root[data-theme="dark"] .logo-mark span {
  color: var(--navy-dark);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  opacity: 0.7;
  transition: opacity 0.2s;
  position: relative;
}

.navbar-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-dark);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.navbar-nav a:hover {
  opacity: 1;
}
.navbar-nav a:hover::after {
  width: 100%;
}

.navbar-extra {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-nav {
  padding: 0.55rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--navy);
  color: var(--gold);
  border-radius: 999px;
  border: 2px solid var(--navy);
  transition: var(--transition);
  cursor: pointer;
}

.btn-nav:hover {
  background: transparent;
  color: var(--navy);
}

:root[data-theme="dark"] .btn-nav {
  background: var(--gold);
  color: #050520;
  border-color: var(--gold);
}

:root[data-theme="dark"] .btn-nav:hover {
  background: transparent;
  color: var(--gold);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

#menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}

:root[data-theme="dark"] #menu-toggle {
  color: var(--gold);
}

#menu-toggle:active {
  background: rgba(5, 5, 105, 0.05);
}

#menu-toggle span {
  font-size: 2rem;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  padding: 120px 5% 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Background geometric shapes */
.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.6;
  z-index: 0;
}

.hero-geo {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  border: 2px solid rgba(255, 215, 0, 0.25);
  border-radius: 40% 60% 55% 45% / 45% 35% 65% 55%;
  animation: morph 10s ease-in-out infinite;
  z-index: 0;
}

.hero-geo2 {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 380px;
  border: 1px solid rgba(5, 5, 105, 0.06);
  border-radius: 60% 40% 45% 55% / 55% 65% 35% 45%;
  animation: morph 14s ease-in-out infinite reverse;
  z-index: 0;
}

@keyframes morph {
  0%,
  100% {
    border-radius: 40% 60% 55% 45% / 45% 35% 65% 55%;
  }
  50% {
    border-radius: 60% 40% 30% 70% / 60% 45% 55% 40%;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.4rem 1rem;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.5);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--gold-dark);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-image {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 1s 0.3s ease both;
}

.hero-image img {
  width: 100%;
  max-width: 580px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(5, 5, 105, 0.1));
  animation: floatHero 5s ease-in-out infinite;
}

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

.hero-content h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s 0.1s ease both;
}

.hero-content h1 .accent {
  color: var(--navy);
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 2rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  background: var(--navy);
  color: var(--gold);
  border-radius: 999px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(5, 5, 105, 0.25);
}

.btn-primary:hover {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

:root[data-theme="dark"] .btn-primary {
  background: var(--gold);
  color: #050520;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-gold);
}

:root[data-theme="dark"] .btn-primary:hover {
  background: transparent;
  color: var(--gold);
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.4);
}

.btn-primary span {
  font-size: 1.1rem;
  transition: transform 0.3s;
}
.btn-primary:hover span {
  transform: translateX(4px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 2rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  background: transparent;
  color: var(--navy);
  border: 2px solid rgba(5, 5, 105, 0.2);
  border-radius: 999px;
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: rgba(5, 5, 105, 0.04);
}

/* Stats row */
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.7s 0.4s ease both;
}

.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── SECTION COMMONS ─── */
section {
  position: relative;
}

.section-label {
  display: inline-block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.35);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-title .underline {
  display: inline;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
}

/* ─── PROGRAM SECTION ─── */
.program {
  padding: 100px 5%;
  background: var(--white);
}

.program-header {
  text-align: center;
  margin-bottom: 5rem;
}

.program-header .section-desc {
  margin: 1.5rem auto 0;
  max-width: 650px;
  line-height: 1.8;
}

.program-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.program-item {
  display: grid;
  grid-template-columns: 100px 1fr 180px auto;
  gap: 0 4rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
  cursor: default;
  transition: var(--transition);
  position: relative;
}

.program-num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(5, 5, 105, 0.08);
  line-height: 1;
  transition:
    color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.program-item:hover .program-num {
  color: var(--gold);
  transform: scale(1.12);
}

/* Dark mode: nomor terlihat sebagai watermark putih tipis */
:root[data-theme="dark"] .program-num {
  color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .program-item:hover .program-num {
  color: var(--gold);
}

.program-arrow {
  font-size: 1.8rem;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-15px);
  transition:
    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
}

.program-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.program-visual img {
  width: 100%;
  max-width: 160px;
  height: auto;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 10px 20px rgba(5, 5, 105, 0.05));
}

.program-item:hover .program-visual img {
  transform: scale(1.1) rotate(-2deg);
}

.program-item:hover .program-arrow {
  opacity: 1;
  transform: translateX(0);
}

.program-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.program-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
}

@media (max-width: 1024px) {
  .program-item {
    grid-template-columns: 80px 1fr auto;
    gap: 0 2rem;
  }
  .program-visual {
    display: none;
  }
}

@media (max-width: 640px) {
  .program-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2.5rem 0;
    text-align: center;
  }
  .program-num {
    font-size: 2.5rem;
  }
  .program-body p {
    margin: 0 auto;
  }
  .program-tags {
    justify-content: center;
  }
  .program-arrow,
  .program-visual {
    display: none;
  }
}

.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.8rem;
  background: var(--border);
  border-radius: 999px;
  color: var(--navy-mid);
}

/* ─── BENEFIT SECTION ─── */
.benefit {
  padding: 100px 5%;
  background: var(--white);
  overflow: hidden;
}

.benefit-header {
  text-align: center;
  margin-bottom: 4rem;
}

.benefit-header .section-desc {
  margin: 0 auto;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #020238, var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

:root[data-theme="dark"] .benefit-card::after {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.benefit-card:hover::after {
  transform: scaleX(1);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  background: #020238;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

:root[data-theme="dark"] .benefit-icon {
  background: var(--gold);
}

:root[data-theme="dark"] .benefit-icon span {
  color: #020238;
}

.benefit-card:hover .benefit-icon {
  background: var(--gold-dark);
}

.benefit-icon span {
  font-size: 24px;
  color: var(--gold);
}
.benefit-card:hover .benefit-icon span {
  color: var(--white);
}

.benefit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  padding: 100px 5%;
  background: var(--white);
  overflow: hidden;
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 215, 0, 0.07) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.testimonials::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 215, 0, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.testimonials .section-label {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.25);
  color: var(--gold);
}

.testimonials .section-title {
  color: var(--navy);
}

.testimonials .section-desc {
  color: var(--text-muted);
}

.testi-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.testi-controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.3rem;
}

.slider-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.slider-btn span {
  font-size: 1.3rem;
}

.testimonial-track-wrap {
  overflow: hidden;
  border-radius: var(--radius);
}

.testimonial-track {
  display: flex;
  transition: var(--transition-slow);
}

.testi-card {
  min-width: 100%;
  padding: 3rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  display: flex;
  gap: 3rem;
  align-items: center;
}

.testi-avatar {
  flex: 0 0 160px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 0 0 8px rgba(255, 215, 0, 0.08);
}

.testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testi-avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy-mid), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
}

.testi-body {
  flex: 1;
}

.quote-mark {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 5rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.3;
  display: block;
  margin-bottom: 0.5rem;
}

.testi-body p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--navy);
  opacity: 0.8;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.testi-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.testi-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.testi-dots {
  display: flex;
  gap: 8px;
  margin-top: 2rem;
  justify-content: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.dot.active {
  width: 28px;
  background: var(--navy);
}

/* ─── FORM SECTION ─── */
.register {
  padding: 100px 5%;
  background: var(--white);
}

.register-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.register-info {
  position: sticky;
  top: 100px;
}

.register-info .section-title {
  margin-bottom: 1rem;
}
.register-info .section-desc {
  margin-bottom: 2rem;
}

.info-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-point-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255, 215, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
}

.info-point-icon span {
  font-size: 18px;
}

.info-point-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.info-point-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Form */
.formulir {
  background: var(--bg);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid var(--border);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
}
.input-group.full {
  grid-column: 1 / -1;
}

.input-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.input-group label span {
  font-size: 1rem;
  opacity: 0.6;
}

.input-group input,
.input-group select {
  font-family: "DM Sans", sans-serif;
  padding: 0.85rem 1.2rem;
  font-size: 0.95rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--navy);
  transition: all 0.25s;
  width: 100%;
}

.input-group input::placeholder {
  color: var(--placeholder);
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
  background: var(--white);
}

/* Custom dropdown */
.custom-dropdown {
  position: relative;
  user-select: none;
}

.dropdown-selected {
  font-family: "DM Sans", sans-serif;
  padding: 0.85rem 1.2rem;
  font-size: 0.95rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--navy);

  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.25s;
}

.dropdown-selected .chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.3s;
  opacity: 0.5;
}

.custom-dropdown.open .dropdown-selected {
  border-color: var(--gold);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.custom-dropdown.open .chevron {
  transform: rotate(225deg) translateY(-3px);
}

.dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-top: none;
  border-bottom-left-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);

  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 50;
  box-shadow: var(--shadow);
}

.custom-dropdown.open .dropdown-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-dropdown:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--gold);
  border-radius: var(--radius-sm);
}

.dropdown-item {
  padding: 0.85rem 1.2rem;
  font-size: 0.93rem;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid rgba(5, 5, 105, 0.05);
  outline: none;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item.active {
  display: none;
}

.dropdown-item:hover,
.dropdown-item.active-highlight {
  background: var(--gold);
  color: #050520;
  font-weight: 600;
}

:root[data-theme="dark"] .dropdown-options {
  border-color: var(--gold);
}

:root[data-theme="dark"] .dropdown-item:hover,
:root[data-theme="dark"] .dropdown-item.active-highlight {
  background: var(--gold);
  color: #050520;
}

/* Validation */
.input-group.error input,
.input-group.error .dropdown-selected {
  border-color: var(--red) !important;
}

.error-msg {
  font-size: 0.78rem;
  color: var(--red);
  font-weight: 600;
  margin-top: 0.4rem;
  display: none;
  align-items: center;
  gap: 4px;
}

.input-group.error .error-msg {
  display: flex;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  background: var(--navy);
  color: var(--gold);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 0.5rem;
}

.submit-btn:hover {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

:root[data-theme="dark"] .submit-btn {
  background: var(--gold);
  color: #050520;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-gold);
}

:root[data-theme="dark"] .submit-btn:hover {
  background: transparent;
  color: var(--gold);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

.submit-btn span {
  font-size: 1.1rem;
}

/* ─── FOOTER ─── */
footer {
  padding: 5rem 5% 2rem;
  background: var(--white);
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

:root[data-theme="dark"] footer {
  background: #04041a; /* Footer tetap sedikit lebih gelap di dark mode agar ada penutup */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-col h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 1.8rem;
  position: relative;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links ul li a {
  font-size: 0.9rem;
  transition: all 0.3s;
  color: var(--text-muted);
}

.footer-links ul li a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-contact .contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 1.2rem;
  align-items: flex-start;
}

.footer-contact .contact-item span {
  color: var(--gold);
  font-size: 1.2rem;
}

.footer-contact .contact-item div p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.footer-contact .contact-item div a {
  font-size: 0.85rem;
  color: var(--gold);
  text-decoration: underline;
  opacity: 0.8;
}

.footer-social .social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: var(--transition);
  color: var(--navy);
  border: 1px solid var(--border);
}

.social-info {
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.social-icon:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-5px);
  border-color: var(--gold);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom strong {
  color: var(--gold);
}

.privacy-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.privacy-link:hover {
  color: var(--gold);
}

/* Penyesuaian Responsif Footer */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-col h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-contact .contact-item {
    flex-direction: column;
    align-items: center;
  }

  .footer-social .social-icons {
    justify-content: center;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* ─── TOAST ─── */
#toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
  font-weight: 600;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 280px;
  border-left: 4px solid var(--gold);
}

.toast.show {
  transform: translateX(0);
}
.toast span {
  font-size: 1.2rem;
  color: var(--gold);
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ─── MOBILE MENU ─── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 5, 105, 0.98);
  backdrop-filter: blur(10px);
  padding: 2rem 5%;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: var(--transition-slow);
}

:root[data-theme="dark"] .mobile-nav {
  background: rgba(2, 2, 20, 0.98);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
}

.mobile-nav-links a {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  text-decoration: none;
}

.mobile-nav-links a:hover {
  color: var(--gold);
  transform: translateY(-3px);
}

.mobile-nav-links .mobile-btn {
  background: var(--gold);
  color: var(--navy-dark) !important;
  padding: 0.8rem 2.2rem;
  border-radius: 999px;
  font-size: 1.1rem;
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 5%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.mobile-close:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.mobile-close span {
  font-size: 2rem;
}

.mobile-theme-toggle {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  font-weight: 600;
  color: white;
}

/* Specific Dark Mode Enhancements */
:root[data-theme="dark"] .testimonial-track-wrap {
  mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
}

:root[data-theme="dark"] .footer-about .navbar-logo {
  color: #ffffff;
}

:root[data-theme="dark"] .logo-mark {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ─── ULTIMATE CONSOLIDATED MEDIA QUERIES ─── */

@media (max-width: 1024px) {
  .program-header { grid-template-columns: 1fr; }
  .register-inner { grid-template-columns: 1fr; gap: 3rem; }
  .register-info { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  
  /* Navbar Mid-Range */
  .navbar { padding: 0 3%; }
  .navbar-logo { font-size: 1.1rem; }
  .logo-mark { width: 32px; height: 32px; }
  .logo-mark span { font-size: 15px; }
  .navbar-nav { gap: 1.2rem; }
  .navbar-nav a { font-size: 0.82rem; }
  .btn-nav { padding: 0.45rem 1rem; font-size: 0.8rem; white-space: nowrap; }
  .navbar-extra { gap: 0.6rem; }
  .theme-toggle { width: 34px; height: 34px; }
  .theme-toggle span { font-size: 1.25rem; }
}

@media (max-width: 768px) {
  .navbar-nav, .btn-nav { display: none; }
  #menu-toggle { display: flex; }
  
  .hero { padding-top: 120px; }
  .hero::before {
    width: 500px; height: 500px; top: 220px;
    left: 50%; right: auto; transform: translate(-50%, -50%);
  }
  .hero-geo, .hero-geo2 { display: none; }
  .hero-container { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 320px; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-actions { justify-content: center; }
  
  .benefit-grid { grid-template-columns: 1fr; }
  .testi-card { flex-direction: column; gap: 2rem; text-align: center; }
  .testi-avatar { flex: 0 0 120px; width: 120px; height: 120px; }
  .testi-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .formulir { padding: 2rem 1.5rem; }
}

@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .footer-col h3::after { left: 50%; transform: translateX(-50%); }
  .footer-contact .contact-item { flex-direction: column; align-items: center; }
  .footer-social .social-icons { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 1.5rem; }
  .hero-content h1 { font-size: 2.2rem; }
}

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  border: 4px solid var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 8px 30px rgba(5, 5, 105, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(5, 5, 105, 0.4);
}

.back-to-top span {
  font-size: 1.5rem;
  font-weight: 700;
}

:root[data-theme="dark"] .testi-avatar-placeholder {
  background: var(--navy-mid);
  color: var(--white);
}

:root[data-theme="dark"] .testi-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

:root[data-theme="dark"] .slider-btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

:root[data-theme="dark"] .testimonials .section-title {
  color: #ffffff;
}

:root[data-theme="dark"] .testi-body p {
  color: rgba(255, 255, 255, 0.9);
}

:root[data-theme="dark"] .program-visual img {
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3)) brightness(0.9);
}

:root[data-theme="dark"] .footer-about .navbar-logo {
  color: #ffffff;
}

:root[data-theme="dark"] .logo-mark {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

:root[data-theme="dark"] .dot {
  background: rgba(255, 255, 255, 0.1);
}

:root[data-theme="dark"] .dot.active {
  background: var(--gold);
}

:root[data-theme="dark"] footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

:root[data-theme="dark"] .footer-col h3 {
  color: #ffffff;
}

:root[data-theme="dark"] .footer-about p,
:root[data-theme="dark"] .footer-links ul li a,
:root[data-theme="dark"] .footer-contact .contact-item div p,
:root[data-theme="dark"] .footer-bottom p,
:root[data-theme="dark"] .privacy-link,
:root[data-theme="dark"] .social-info {
  color: rgba(255, 255, 255, 0.5);
}

:root[data-theme="dark"] .social-icon {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
