* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', system-ui, sans-serif; }

body { background: #fafbfc; color: #1a1a2e; line-height: 1.6; }

.container { max-width: 1150px; margin: 0 auto; padding: 0 20px; }

/* NAVBAR */
.navbar {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-wrap { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.3rem; color: #d63031; }
nav { display: flex; gap: 26px; }
nav a { text-decoration: none; color: #333; font-weight: 500; transition: .3s; }
nav a:hover { color: #d63031; }
.menu-btn { display: none; background: none; border: none; cursor: pointer; }

/* HERO */
.hero {
  background: linear-gradient(135deg, #2d1b1b 0%, #4a1f1f 100%);
  color: white; padding: 80px 0;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.warning-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #d63031; padding: 6px 14px; border-radius: 20px;
  font-size: .8rem; font-weight: 700; margin-bottom: 20px;
  letter-spacing: 1px;
}
.hero-text h1 { font-size: 2.8rem; line-height: 1.2; margin-bottom: 18px; }
.hero-text h1 span { color: #ff7675; }
.hero-text p { font-size: 1.1rem; margin-bottom: 30px; opacity: .9; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img img { width: 100%; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.4); }

/* BUTTONS */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 12px;
  text-decoration: none; font-weight: 600; cursor: pointer;
  border: none; transition: .3s; font-size: 1rem; text-align: center;
  font-family: inherit;
}
.btn.primary { background: #d63031; color: white; box-shadow: 0 8px 20px rgba(214,48,49,0.4); }
.btn.primary:hover { background: #b71c1c; transform: translateY(-2px); }
.btn.outline { background: transparent; color: white; border: 2px solid white; }
.btn.outline:hover { background: white; color: #d63031; }
.btn.full { width: 100%; }

/* STATS */
.stats-section { background: #1a1a2e; padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; text-align: center; }
.stat-number { font-size: 3rem; font-weight: 800; color: #ff7675; line-height: 1; margin-bottom: 10px; }
.stat-label { color: #bbb; font-size: .95rem; }

/* SECTION */
.section { padding: 80px 0; }
.section.alt { background: #f0f2f6; }
.section h2 { text-align: center; font-size: 2rem; margin-bottom: 20px; color: #1a1a2e; }
.subtitle { text-align: center; color: #666; margin-bottom: 50px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* GRID & CARDS */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.card {
  background: white; border-radius: 20px; overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.06);
  transition: .3s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(214,48,49,0.15); }
.card img { width: 100%; height: 190px; object-fit: cover; }
.card-body { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: .8rem; font-weight: 600; margin-bottom: 12px; width: fit-content; }
.tag.danger { background: #ffe0e0; color: #b71c1c; }
.card h3 { margin-bottom: 10px; color: #1a1a2e; font-size: 1.15rem; }
.card p { color: #5a6b68; font-size: .95rem; flex-grow: 1; margin-bottom: 16px; }
.btn-read {
  background: #d63031; color: white; border: none; padding: 10px 20px;
  border-radius: 10px; cursor: pointer; font-weight: 600;
  transition: .3s; font-family: inherit;
}
.btn-read:hover { background: #b71c1c; }

/* TIPS */
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.tip-card {
  background: white; padding: 30px 22px; border-radius: 18px;
  text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: .3s;
}
.tip-card:hover { transform: translateY(-6px); }
.tip-icon {
  width: 64px; height: 64px; background: #ffe0e0; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.tip-card h3 { color: #1a1a2e; margin-bottom: 8px; font-size: 1.05rem; }
.tip-card p { color: #5a6b68; font-size: .9rem; }

/* QUIZ */
.quiz-box {
  max-width: 620px; margin: 0 auto; background: white;
  padding: 40px; border-radius: 20px;
  box-shadow: 0 10px 30px rgba(214,48,49,0.1);
}
.quiz-item { margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid #eee; }
.quiz-item:last-of-type { border-bottom: none; }
.quiz-item p { font-weight: 600; margin-bottom: 12px; color: #1a1a2e; }
.quiz-options { display: flex; gap: 10px; }
.quiz-options label {
  flex: 1; padding: 10px; text-align: center; border: 2px solid #e0e5f0;
  border-radius: 10px; cursor: pointer; transition: .3s; font-weight: 500;
  font-size: .9rem;
}
.quiz-options input { display: none; }
.quiz-options input:checked + span { color: white; }
.quiz-options label:has(input:checked) { background: #d63031; border-color: #d63031; color: white; }
.quiz-result {
  margin-top: 22px; padding: 22px; border-radius: 12px;
  text-align: center; font-weight: 600; display: none;
}
.quiz-result.show { display: block; }
.quiz-result.low { background: #d4edda; color: #155724; }
.quiz-result.mid { background: #fff3cd; color: #856404; }
.quiz-result.high { background: #f8d7da; color: #721c24; }

/* BANTUAN */
.bantuan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.bantuan-card {
  background: white; padding: 32px 24px; border-radius: 18px;
  text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: .3s;
}
.bantuan-card:hover { transform: translateY(-6px); }
.bantuan-icon {
  width: 68px; height: 68px; background: #e0f5ee; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.bantuan-card h3 { color: #1a1a2e; margin-bottom: 8px; font-size: 1.1rem; }
.bantuan-card p { color: #5a6b68; font-size: .9rem; margin-bottom: 16px; }
.btn-outline-sm {
  display: inline-block; padding: 9px 20px; border: 2px solid #00b894;
  color: #00b894; border-radius: 10px; text-decoration: none;
  font-weight: 600; font-size: .9rem; transition: .3s;
}
.btn-outline-sm:hover { background: #00b894; color: white; }

/* FOOTER */
footer { background: #1a1a2e; color: #bbb; text-align: center; padding: 25px; }

/* MODAL */
.modal {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  z-index: 999; align-items: center; justify-content: center; padding: 20px;
}
.modal.show { display: flex; }
.modal-box {
  background: white; border-radius: 20px; padding: 30px;
  max-width: 600px; width: 100%; max-height: 90vh; overflow-y: auto;
  position: relative; animation: fadeUp .3s ease;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.modal-close {
  position: absolute; top: 14px; right: 18px; background: none;
  border: none; font-size: 2rem; cursor: pointer; color: #666; line-height: 1;
}
.modal-close:hover { color: #d63031; }
.modal-box h3 { color: #1a1a2e; margin-bottom: 16px; }
.modal-box img { width: 100%; border-radius: 14px; margin-bottom: 18px; }
.modal-box p { color: #4a5c58; line-height: 1.7; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 2rem; }
  nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: white; flex-direction: column; padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); gap: 16px;
  }
  nav.open { display: flex; }
  .menu-btn { display: block; }
  .nav-wrap { position: relative; }
  .stat-number { font-size: 2.3rem; }
}