* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(135deg, #6a11cb, #b67ff3);
  color: #fff;
  overflow-x: hidden;
}

/* Header Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("../images/bg-1.jpg") no-repeat center/cover;
  background-attachment: fixed;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero .content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.3;
}

.hero h1 span {
  background: linear-gradient(90deg, #ffcc00, #ff66cc, #6c63ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  margin-top: 20px;
  font-size: 1.1rem;
  opacity: 0.9;
  color: #f5f5f5;
}

.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 25px;
  border-radius: 30px;
  background: #ffffff22;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #fff;
  color: #6a11cb;
}

.btn.gold {
  background: linear-gradient(90deg, #ffcc00, #ffdd55);
  border: none;
  color: #4b0082;
}

/* Main content */
.container {
  max-width: 1000px;
  margin: auto;
  padding: 60px 20px;
  text-align: center;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

section p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.3);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  background: #000;
  width: 90%;
  max-width: 800px;
  border-radius: 12px;
  overflow: hidden;
}

.modal-content iframe {
  width: 100%;
  height: 450px;
  border: none;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.features-section {
  padding: 100px 40px;
  color: #fff;
  background: linear-gradient(180deg, #7e4dfd 0%, #6a3fd9 100%);
  overflow: hidden;
}

.features-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.features-container.reverse {
  flex-direction: row-reverse;
}

.features-left img {
  width: 420px;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(255, 204, 0, 0.25);
  transition: transform 0.4s ease;
}

.features-left img:hover {
  transform: scale(1.05);
}

.features-right {
  flex: 1;
  min-width: 320px;
}

.features-right h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.features-right h2 span {
  background: linear-gradient(90deg, #ffcc00, #ff66cc, #6c63ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.features-right .subtitle {
  color: #ddd;
  font-size: 1rem;
  margin-bottom: 30px;
  max-width: 100%;
}

/* Cards */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  border-color: #ffcc00;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.feature-card .icon {
  font-size: 1.8rem;
  color: #ffcc00;
  flex-shrink: 0;
}

.feature-card h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.feature-card p {
  color: #ddd;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Buttons for Materi */
.features-list .btn {
  background: linear-gradient(90deg, #ffcc00, #ff66cc, #6c63ff);
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.features-list .btn:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}

/* 🌟 PROMO BANNER SECTION */
.promo-banner {
  background: radial-gradient(circle at center, #6a11cb, #2e0b5b);
  padding: 80px 20px;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.promo-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

.promo-text {
  flex: 1 1 400px;
  text-align: left;
}

.promo-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ffcc00, #ff66cc, #6c63ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.promo-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #f2f2f2;
}

.promo-image {
  flex: 1 1 350px;
  text-align: center;
}

.promo-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
  transition: transform 0.4s ease;
}

.promo-image img:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin: auto;
  }

  .modal-content iframe {
    height: 300px;
  }
  .features-container {
    flex-direction: column;
    text-align: center;
  }

  .features-container.reverse {
    flex-direction: column;
  }

  .features-left img {
    width: 100%;
    max-width: 360px;
    margin-bottom: 30px;
  }

  .features-right {
    text-align: left;
  }

  .feature-card {
    text-align: left;
  }
  .promo-container {
  flex-direction: column;
  text-align: center;
  }

  .promo-text {
    text-align: center;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .features-container {
    flex-direction: column;
    text-align: center;
  }

  .features-container.reverse {
    flex-direction: column;
  }

  .features-left img {
    width: 100%;
    max-width: 360px;
    margin-bottom: 30px;
  }

  .features-right {
    text-align: left;
  }

  .feature-card {
    text-align: left;
  }

  .btn {
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin: auto;
  }
  .promo-container {
  flex-direction: column;
  text-align: center;
  }

  .promo-text {
    text-align: center;
  }
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards;
}

/* 🌈 GRADIENT STYLE FOR ALL SPAN & BUTTON */
span {
  background: linear-gradient(90deg, #ffcc00, #ff66cc, #6c63ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
