* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #f9fafb;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* HEADER */
.header {
  background: #fff;
  padding: 15px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 999;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 45px;
  height: 45px;
}

.logo span {
  font-size: 20px;
  font-weight: 800;
  color: #1E3A8A;
}

/* MENU */
.nav-menu {
  display: flex;
  gap: 28px;
}

.nav-menu a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

/* underline hover premium */
.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #FACC15;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: #1E3A8A;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* ACTION */
.actions {
  display: flex;
  gap: 12px;
}

.btn {
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  font-size: 14px;
}

/* LOGIN */
.btn-login {
  border: 1px solid #1E3A8A;
  color: #1E3A8A;
}

.btn-login:hover {
  background: #1E3A8A;
  color: #fff;
}

/* DAFTAR */
.btn-daftar {
  background: #FACC15;
  color: #111;
}

.btn-daftar:hover {
  background: #eab308;
}

/* BURGER */
.burger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 270px;
  height: 100%;
  background: #fff;
  padding: 25px;
  transition: 0.3s;
  z-index: 1000;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu .close {
  font-size: 22px;
  cursor: pointer;
  margin-bottom: 20px;
}

.mobile-menu a {
  display: block;
  margin: 10px 0;
  color: #1E3A8A;
  text-decoration: none;
  font-weight: 600;
}

.mobile-actions {
  margin-top: 5px; /* SUPER dekat */
  padding-top: 8px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 6px; /* tombol makin rapat */
}

.mobile-actions .btn {
  width: 100%;
  text-align: center;
  margin: 0; /* pastikan tidak ada jarak tambahan */
}

/* OVERLAY */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-menu,
  .actions {
    display: none;
  }

  .burger {
    display: block;
  }
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #1E3A8A, #1e40af);
  padding: 80px 20px;
  color: #fff;
}

.hero-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* TEXT */
.hero-text {
  flex: 1;
}

.hero-text .badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 15px;
}

.hero-text h1 {
  font-size: 42px;
  line-height: 1.3;
  margin-bottom: 15px;
  font-weight: 800;
}

.hero-text h1 span {
  color: #FACC15;
}

.hero-text p {
  font-size: 16px;
  color: #e5e7eb;
  margin-bottom: 25px;
  max-width: 500px;
}

/* BUTTON */
.hero-buttons {
  display: flex;
  gap: 12px;
}

/* IMAGE */
.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 500px;
  width: 100%;
  transform: scale(1.1);
  animation: float 4s ease-in-out infinite;
}

/* animasi halus */
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1.1); }
  50% { transform: translateY(-10px) scale(1.1); }
}

/* HERO BUTTON SECONDARY (JELAJAHI) */
.hero .btn-login {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  backdrop-filter: blur(6px);
}

.hero .btn-login:hover {
  background: #fff;
  color: #1E3A8A;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-wrap {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image img {
    max-width: 90%; /* dari 250px → hampir full */
    width: 100%;
    margin-top: 20px;
  }
}

html {
  scroll-behavior: smooth;
}

/* BUTTON PRIMARY (CTA UTAMA) */
.btn-primary {
  background: linear-gradient(135deg, #FACC15, #eab308);
  color: #111;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(250,204,21,0.4);
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 15px 35px rgba(250,204,21,0.6);
}

/* BUTTON SECONDARY */
.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 12px 22px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  transition: 0.3s;
}

.btn-secondary:hover {
  background: #fff;
  color: #1E3A8A;
}

/* HERO BUTTON WRAP */
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* TRUST BADGE */
.hero-trust {
  margin-top: 18px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #e5e7eb;
}

.hero-trust span {
  background: rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 20px;
}

@media (max-width: 768px) {

  .hero-buttons {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }
}

/* WHY SECTION */
.why {
  padding: 80px 20px;
  background: #fff;
}

.why-wrap {
  flex-direction: column;
  text-align: center;
}

/* HEADER */
.why-header h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.why-header h2 span {
  color: #1E3A8A;
}

.why-header p {
  max-width: 600px;
  margin: auto;
  color: #6b7280;
  margin-bottom: 50px;
}

/* GRID */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.why-card {
  background: #f9fafb;
  padding: 25px;
  border-radius: 16px;
  transition: 0.3s;
  text-align: left;
  border: 1px solid #f1f5f9;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* ICON */
.why-card .icon {
  font-size: 26px;
  margin-bottom: 15px;
}

/* TITLE */
.why-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #111827;
}

/* TEXT */
.why-card p {
  font-size: 14px;
  color: #6b7280;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-header h2 {
    font-size: 26px;
  }
}

.why-card:hover {
  background: linear-gradient(135deg, #1E3A8A, #1e40af);
  color: #fff;
}

.why-card:hover p {
  color: #e5e7eb;
}

.why-card:hover h3 {
  color: #FACC15;
}

/* KELAS */
.kelas {
  padding: 80px 20px;
  background: #f3f4f6;
}

.kelas-wrap {
  flex-direction: column;
}

/* HEADER */
.kelas-header {
  text-align: center;
  margin-bottom: 30px;
}

.kelas-header h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.kelas-header p {
  color: #6b7280;
}

/* FILTER */
.kelas-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.kelas-filter button {
  padding: 8px 16px;
  border: none;
  background: #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.kelas-filter button.active {
  background: #1E3A8A;
  color: #fff;
}

/* GRID */
.kelas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* CARD */
.kelas-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s;
  position: relative;
}

.kelas-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.kelas-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* BADGE */
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  color: #111;
  font-weight: 600;
}

.badge.yellow {
  background: #FACC15;
}

.badge.pink {
  background: #f472b6;
  color: #fff;
}

/* CONTENT */
.kelas-content {
  padding: 15px;
}

.kelas-content h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.author {
  font-size: 13px;
  color: #6b7280;
}

.rating {
  font-size: 13px;
  margin: 6px 0;
}

.rating span {
  color: #9ca3af;
}

.price {
  font-weight: bold;
  color: #111827;
}

/* CTA */
.kelas-cta {
  text-align: center;
  margin-top: 30px;
}

.kelas-cta a {
  color: #1E3A8A;
  font-weight: 600;
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .kelas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .kelas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.kelas-card {
  transition: all 0.3s ease;
}

/* TESTIMONI */
.testimoni {
  padding: 80px 20px;
  background: #fff;
}

.testimoni-wrap {
  flex-direction: column;
  text-align: center;
}

/* HEADER */
.testimoni-header h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.testimoni-header p {
  color: #6b7280;
  margin-bottom: 40px;
}

/* GRID */
.testimoni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.testi-card {
  background: #f9fafb;
  padding: 25px;
  border-radius: 16px;
  text-align: left;
  transition: 0.3s;
  border: 1px solid #f1f5f9;
}

.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* QUOTE */
.quote {
  font-size: 14px;
  color: #374151;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* USER */
.user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.user img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.user strong {
  display: block;
  font-size: 14px;
}

.user span {
  font-size: 12px;
  color: #6b7280;
}

/* RATING */
.rating {
  font-size: 14px;
  color: #FACC15;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .testimoni-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA CLOSING */
.cta-closing {
  padding: 80px 20px;
  background: linear-gradient(135deg, #1E3A8A, #1e40af);
  color: #fff;
  text-align: center;
}

.cta-wrap {
  flex-direction: column;
}

/* TITLE */
.cta-closing h2 {
  font-size: 34px;
  margin-bottom: 15px;
}

/* TEXT */
.cta-closing p {
  max-width: 600px;
  margin: auto;
  color: #e5e7eb;
  margin-bottom: 25px;
}

/* BUTTON */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* TRUST */
.cta-trust {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #e5e7eb;
}

.cta-trust span {
  background: rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .cta-closing h2 {
    font-size: 26px;
  }
}

/* FAQ */
.faq {
  padding: 80px 20px;
  background: #f9fafb;
}

.faq-wrap {
  flex-direction: column;
}

/* HEADER */
.faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-header h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.faq-header p {
  color: #6b7280;
}

/* LIST */
.faq-list {
  max-width: 800px;
  margin: auto;
}

/* ITEM */
.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: 0.3s;
}

.faq-item.active {
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* QUESTION */
.faq-question {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ANSWER */
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  color: #6b7280;
  transition: 0.3s;
}

/* ACTIVE STATE */
.faq-item.active .faq-answer {
  padding: 15px 20px;
  max-height: 200px;
}

/* ICON */
.faq-question span {
  font-size: 18px;
  transition: 0.3s;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

/* FOOTER */
.footer {
  background: #111827;
  color: #d1d5db;
  padding: 60px 20px 20px;
}

/* WRAP */
.footer-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* LOGO */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo img {
  width: 40px;
}

.footer-logo span {
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

/* TEXT */
.footer-col p {
  font-size: 14px;
  line-height: 1.6;
}

/* TITLE */
.footer-col h4 {
  margin-bottom: 15px;
  color: #fff;
}

/* LIST */
.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

/* LINK */
.footer-col ul li a {
  text-decoration: none;
  color: #d1d5db;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #FACC15;
}

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid #374151;
  margin-top: 40px;
  padding-top: 15px;
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }
}

/* AUTH (LOGIN & REGISTER) */
.auth {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  background: #f3f4f6;
  min-height: 80vh;
}

.auth-box {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  text-align: center;
}

.auth-box h2 {
  margin-bottom: 10px;
}

.auth-box p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 20px;
}

/* FORM */
.form-group {
  text-align: left;
  margin-bottom: 15px;
}

.form-group label {
  font-size: 13px;
  display: block;
  margin-bottom: 5px;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
}

/* BUTTON */
.auth .btn-primary {
  width: 100%;
  margin-top: 10px;
}

/* FOOTER */
.auth-footer {
  margin-top: 15px;
  font-size: 13px;
}