* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #f8f7fc;
  color: #333;
}

/* NAVBAR */
.navbar {
  background: linear-gradient(90deg, #8b5cf6, #ec4899, #fb923c);
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.logo span {
  display: block;
  font-size: 12px;
  opacity: 0.8;
}

.btn-login {
  background: transparent;
  border: 1px solid white;
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}

/* HERO */
.hero {
  text-align: center;
  padding: 80px 20px;
}

.hero-icon {
  font-size: 40px;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  width: 70px;
  height: 70px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero p {
  max-width: 500px;
  margin: 0 auto 20px;
  color: #555;
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  border: none;
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
}

/* FITUR */
.fitur {
  text-align: center;
  padding: 60px 20px;
}

.fitur h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.fitur .sub {
  color: #666;
  margin-bottom: 40px;
}

.card-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: white;
  padding: 30px 20px;
  width: 280px;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  margin-bottom: 15px;
}

.blue {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.purple {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}

.orange {
  background: linear-gradient(135deg, #fb923c, #ef4444);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: #666;
  font-size: 14px;
}

/* LOGIN */
.login-body {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  background: white;
  padding: 40px 30px;
  width: 350px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.login-container h2 {
  margin-bottom: 8px;
}

.login-container p {
  color: #666;
  font-size: 14px;
  margin-bottom: 25px;
}

.input-group {
  text-align: left;
  margin-bottom: 15px;
}

.input-group label {
  font-size: 14px;
}

.input-group input {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.full {
  width: 100%;
  margin-top: 10px;
}

.back {
  display: block;
  margin-top: 20px;
  font-size: 14px;
  text-decoration: none;
  color: #8b5cf6;
}

/* HERO ANAK */
.hero-anak {
  position: relative;
  background: linear-gradient(135deg, #fbcfe8, #ddd6fe);
  padding: 60px 20px;
  border-radius: 20px;
  margin: 30px auto;
  max-width: 1100px;
  text-align: center;
  overflow: hidden;
}

.hero-content h1 {
  font-size: 40px;
  font-weight: bold;
  background: linear-gradient(90deg, #7c3aed, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  margin-top: 10px;
  color: #555;
  font-size: 18px;
}

.hero-img {
  position: absolute;
  bottom: 0;
  width: 200px !important;
  height: auto !important;
}

.hero-img.kiri {
  left: 20px;
}

.hero-img.kanan {
  right: 20px;
}

/* efek hover */
.card {
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.huruf-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.huruf {
  background: white;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  font-size: 40px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.huruf span {
  display: block;
  font-size: 14px;
  margin-top: 5px;
}

.huruf:hover {
  transform: scale(1.1);
}