/* ======================================================
   GLOBAL
====================================================== */

body {
  font-family: "Segoe UI", sans-serif;
  background: #f8fafc;
  color: #1e293b;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

section {
  position: relative;
}

/* ======================================================
   NAVBAR
====================================================== */

.custom-navbar {
  background: white;

  padding: 14px 0;

  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);

  border-bottom: 1px solid #e2e8f0;
}

/* LOGO */

.logo-navbar {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* BRAND */

.brand-text {
  font-size: 26px;
  font-weight: 800;

  color: #0d6efd !important;

  letter-spacing: 0.5px;
}

/* NAV LINK */

.nav-custom {
  color: #2563eb !important;

  margin-left: 12px;

  font-weight: 600;

  position: relative;

  transition: 0.3s;
}

.nav-custom:hover {
  color: #0b5ed7 !important;
}

/* UNDERLINE EFFECT */

.nav-custom::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -5px;

  width: 0%;

  height: 2px;

  background: #0d6efd;

  transition: 0.3s;
}

.nav-custom:hover::after {
  width: 100%;
}

/* LOGIN BUTTON */

.btn-login {
  background: transparent;

  border: 1px solid #0d6efd;

  color: #0d6efd !important;

  padding: 8px 18px !important;

  border-radius: 10px;

  font-weight: 600;

  transition: 0.3s;
}

.btn-login:hover {
  background: #0d6efd;

  color: white !important;
}

/* REGISTER BUTTON */

.btn-register {
  background: #0d6efd;

  color: white !important;

  padding: 8px 18px !important;

  border-radius: 10px;

  font-weight: 600;

  transition: 0.3s;
}

.btn-register:hover {
  background: #0b5ed7;

  transform: translateY(-2px);
}

/* USER DROPDOWN */

.user-dropdown {
  color: #0d6efd !important;

  font-weight: 600;
}

/* DROPDOWN */

.dropdown-menu {
  border-radius: 14px;

  border: none;

  padding: 10px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.dropdown-item {
  border-radius: 10px;

  padding: 10px 14px;

  transition: 0.3s;
}

.dropdown-item:hover {
  background: #eff6ff;
}

/* ======================================================
   HERO SECTION
====================================================== */

.hero {
  height: 92vh;

  background:
    linear-gradient(rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.55)),
    url("/static/image/home.jpg") no-repeat center;

  background-size: cover;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: white;
}

.hero-content {
  max-width: 760px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 60px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #f1f5f9;
}

/* ======================================================
   INFO BOX
====================================================== */

.info-box {
  margin-top: -70px;
  position: relative;
  z-index: 10;
}

.info-card {
  background: white;
  padding: 35px;
  border-radius: 22px;

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);

  transition: 0.3s;
  height: 100%;
}

.info-card:hover {
  transform: translateY(-8px);
}

.info-card i {
  font-size: 42px;
  color: #0d6efd;
  margin-bottom: 18px;
}

.info-card h4 {
  font-weight: 700;
  margin-bottom: 12px;
}

.info-card p {
  color: #64748b;
  line-height: 1.7;
}

.info-btn {
  display: inline-block;
  margin-top: 18px;

  padding: 12px 22px;

  background: #0d6efd;
  color: white;

  border-radius: 10px;
  text-decoration: none;

  transition: 0.3s;
}

.info-btn:hover {
  background: #0b5ed7;
  transform: translateY(-2px);
  color: white;
}

/* ======================================================
   WHY SECTION
====================================================== */

.why-section {
  padding: 100px 0;
  background: #f8fafc;
}

.section-desc {
  max-width: 760px;
  margin: auto;
  color: #64748b;
  line-height: 1.8;
}

.icon {
  font-size: 42px;
  color: #0d6efd;
  margin-bottom: 16px;
}

/* ======================================================
   CTA SECTION
====================================================== */

.cta-section {
  padding: 90px 0;

  background: linear-gradient(135deg, #0d6efd, #3b82f6);

  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 42px;
  font-weight: 700;
}

.cta-section p {
  max-width: 700px;
  margin: auto;
  line-height: 1.8;
}

/* =========================================
   EDUKASI PAGE
========================================= */

.edukasi-hero {
  padding: 100px 0;
  background: linear-gradient(to bottom, #f4f8ff, #ffffff);
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 25px;
}

.edukasi-hero h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 20px;
}

.edukasi-hero h1 span {
  color: #2563eb;
}

.edukasi-hero p {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.9;
}

.hero-edukasi-btn {
  margin-top: 35px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-edukasi-primary,
.btn-edukasi-secondary {
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-edukasi-primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.btn-edukasi-primary:hover {
  transform: translateY(-4px);
  color: white;
}

.btn-edukasi-secondary {
  border: 2px solid #2563eb;
  color: #2563eb;
  background: white;
}

.btn-edukasi-secondary:hover {
  background: #2563eb;
  color: white;
}

.hero-edukasi-img {
  width: 100%;
  max-width: 500px;
  animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}

/* SECTION TITLE */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.7rem;
  font-weight: 800;
  color: #0f172a;
}

.section-title p {
  color: #64748b;
  font-size: 1.05rem;
  margin-top: 10px;
}

/* FAKTA */
.fakta-section {
  padding: 100px 0;
  background: #ffffff;
}

.fakta-card {
  background: white;
  padding: 40px 30px;
  border-radius: 24px;
  text-align: center;
  height: 100%;
  transition: 0.35s ease;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
  border: 1px solid #e2e8f0;
}

.fakta-card:hover {
  transform: translateY(-10px);
}

.fakta-card i {
  width: 85px;
  height: 85px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  font-size: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto auto 25px;
}

.fakta-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0f172a;
}

.fakta-card p {
  color: #64748b;
  line-height: 1.8;
}

/* INFORMASI */
.informasi-section {
  padding: 100px 0;
  background: linear-gradient(to bottom, #f8fbff, #eef4ff);
}

.info-modern-card {
  display: flex;
  gap: 25px;
  background: white;
  border-radius: 28px;
  padding: 35px;
  margin-bottom: 30px;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
  transition: 0.35s ease;
}

.info-modern-card:hover {
  transform: translateY(-6px);
}

.info-icon {
  min-width: 80px;
  height: 80px;
  border-radius: 22px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.info-modern-card h3 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 18px;
}

.info-modern-card p {
  color: #64748b;
  line-height: 1.9;
}

.modern-list {
  padding-left: 20px;
}

.modern-list li {
  margin-bottom: 12px;
  color: #475569;
  line-height: 1.8;
}

/* ISI */
.isi-section {
  padding: 100px 0;
  background: white;
}

.isi-box {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 35px;
  padding: 60px;
  color: white;
  overflow: hidden;
  position: relative;
}

.isi-box::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.isi-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.14);
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.isi-content h2 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.isi-content p {
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
}

.isi-score-box {
  background: rgba(255, 255, 255, 0.12);
  padding: 35px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
}

.isi-score-box h3 {
  margin-bottom: 25px;
  font-weight: 700;
}

.score-item {
  margin-bottom: 20px;
}

.score-item span {
  display: inline-block;
  background: white;
  color: #2563eb;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 8px;
}

.score-item p {
  margin: 0;
}

/* REFERENSI */
.referensi-section {
  padding: 90px 0;
  background: #f8fbff;
}

.referensi-card {
  background: white;
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
}

.referensi-card p {
  color: #475569;
  line-height: 1.9;
  margin-bottom: 18px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .edukasi-hero h1 {
    font-size: 2.6rem;
  }

  .info-modern-card {
    flex-direction: column;
  }

  .isi-box {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .edukasi-hero {
    padding: 80px 0;
    text-align: center;
  }

  .edukasi-hero h1 {
    font-size: 2.2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .hero-edukasi-btn {
    justify-content: center;
  }

  .info-modern-card {
    padding: 30px 25px;
  }

  .isi-content h2 {
    font-size: 2rem;
  }
}

/* ======================================================
   HASIL MODERN UI
====================================================== */

.hasil-modern-section {
  position: relative;
  padding: 100px 0;
  background: #f5f7fb;
  overflow: hidden;
}

/* BACKGROUND */

.hasil-bg-pattern {
  position: absolute;
  inset: 0;

  background-image: radial-gradient(
    rgba(37, 99, 235, 0.12) 1px,
    transparent 1px
  );

  background-size: 28px 28px;

  opacity: 0.7;
}

/* ======================================================
   HEADER
====================================================== */

.hasil-header {
  position: relative;
  z-index: 2;
  margin-bottom: 50px;
}

.hasil-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  background: #e8f0ff;
  color: #2563eb;

  padding: 10px 22px;

  border-radius: 999px;

  font-size: 14px;
  font-weight: 700;

  margin-bottom: 24px;

  letter-spacing: 0.5px;
}

.hasil-title {
  font-size: 58px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
}

.hasil-title span {
  color: #2563eb;
}

.hasil-subtitle {
  max-width: 760px;
  margin: auto;

  color: #64748b;

  line-height: 1.9;

  font-size: 18px;
}

/* ======================================================
   MAIN CARD
====================================================== */

.hasil-main-card {
  position: relative;
  z-index: 2;

  background: white;

  border-radius: 32px;

  padding: 50px;

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);

  max-width: 950px;

  margin: auto;
}

/* SCORE */

.score-wrapper {
  display: flex;
  align-items: center;
  gap: 35px;

  flex-wrap: wrap;

  margin-bottom: 40px;
}

.score-circle {
  width: 180px;
  height: 180px;

  border-radius: 50%;

  background: linear-gradient(135deg, #2563eb, #3b82f6);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  color: white;

  box-shadow: 0 14px 35px rgba(37, 99, 235, 0.3);
}

.score-circle span {
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
}

.score-circle small {
  font-size: 18px;
  opacity: 0.9;
}

.score-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 18px;
}

/* BADGE */

.kategori-badge {
  display: inline-block;

  padding: 12px 26px;

  border-radius: 999px;

  font-weight: 700;

  font-size: 16px;
}

.kategori-normal {
  background: #dcfce7;
  color: #15803d;
}

.kategori-ringan {
  background: #fef3c7;
  color: #b45309;
}

.kategori-sedang {
  background: #fee2e2;
  color: #dc2626;
}

.kategori-berat {
  background: #e9d5ff;
  color: #7e22ce;
}

/* ======================================================
   INTERPRETASI
====================================================== */

.interpretasi-box {
  background: #f8fbff;

  border: 1px solid #dbeafe;

  border-radius: 24px;

  padding: 35px;
}

.interpretasi-box h4 {
  font-size: 24px;
  font-weight: 700;
  color: #2563eb;

  margin-bottom: 18px;
}

.interpretasi-box p {
  color: #475569;

  line-height: 2;

  font-size: 16px;

  margin: 0;
}

/* ======================================================
   ANALISIS CARD
====================================================== */

.analisis-card {
  position: relative;

  background: white;

  border-radius: 26px;

  padding: 35px;

  height: 100%;

  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.06);

  transition: 0.3s;
}

.analisis-card:hover {
  transform: translateY(-6px);
}

.analisis-icon {
  width: 70px;
  height: 70px;

  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;

  margin-bottom: 22px;
}

.analisis-icon.blue {
  background: #e8f0ff;
  color: #2563eb;
}

.analisis-icon.purple {
  background: #f3e8ff;
  color: #9333ea;
}

.analisis-card h3 {
  font-size: 24px;
  font-weight: 700;

  margin-bottom: 20px;

  color: #0f172a;
}

.analisis-list {
  padding-left: 20px;
  margin: 0;
}

.analisis-list li {
  margin-bottom: 14px;

  line-height: 1.8;

  color: #475569;
}

/* ======================================================
   REFERENCE
====================================================== */

.reference-card {
  background: white;

  max-width: 800px;

  margin: 45px auto 0;

  border-radius: 24px;

  padding: 32px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.reference-icon {
  width: 70px;
  height: 70px;

  margin: auto auto 18px;

  border-radius: 18px;

  background: #e8f0ff;

  color: #2563eb;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 30px;
}

.reference-card p {
  margin: 0;

  color: #475569;

  line-height: 1.8;
}

/* ======================================================
   BUTTON
====================================================== */

.hasil-button-group {
  margin-top: 50px;
}

.hasil-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 16px 30px;

  border-radius: 16px;

  text-decoration: none;

  font-weight: 700;

  transition: 0.3s;

  margin: 10px;
}

.primary-btn {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;

  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.3);
}

.primary-btn:hover {
  transform: translateY(-3px);
  color: white;
}

.secondary-btn {
  background: white;
  color: #2563eb;

  border: 1px solid #dbeafe;
}

.secondary-btn:hover {
  background: #eff6ff;
  color: #2563eb;
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 768px) {
  .hasil-title {
    font-size: 38px;
  }

  .hasil-subtitle {
    font-size: 16px;
    padding: 0 10px;
  }

  .hasil-main-card {
    padding: 30px 24px;
  }

  .score-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .score-circle {
    width: 150px;
    height: 150px;
  }

  .score-circle span {
    font-size: 48px;
  }

  .interpretasi-box {
    padding: 25px;
  }

  .hasil-btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================
   ABOUT PAGE
========================================= */

.about-hero {
  padding: 100px 0;
  background: linear-gradient(to bottom, #f4f8ff, #ffffff);
  overflow: hidden;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 25px;
}

.about-hero h1 {
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 20px;
}

.about-hero h1 span {
  color: #2563eb;
}

.about-hero p {
  font-size: 1.08rem;
  color: #64748b;
  line-height: 1.9;
}

.about-hero-btn {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 35px;
}

.about-btn-primary,
.about-btn-secondary {
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.about-btn-primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.about-btn-primary:hover {
  transform: translateY(-4px);
  color: white;
}

.about-btn-secondary {
  border: 2px solid #2563eb;
  color: #2563eb;
  background: white;
}

.about-btn-secondary:hover {
  background: #2563eb;
  color: white;
}

.about-hero-img {
  width: 100%;
  max-width: 500px;
  animation: floatingAbout 4s ease-in-out infinite;
}

@keyframes floatingAbout {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}

/* SECTION TITLE */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.7rem;
  font-weight: 800;
  color: #0f172a;
}

.section-title p {
  color: #64748b;
  font-size: 1.05rem;
  margin-top: 10px;
}

/* FEATURE */
.about-feature-section {
  padding: 100px 0;
  background: white;
}

.about-feature-card {
  background: white;
  border-radius: 26px;
  padding: 40px 30px;
  text-align: center;
  height: 100%;
  transition: 0.35s ease;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
}

.about-feature-card:hover {
  transform: translateY(-10px);
}

.about-feature-card i {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto auto 25px;
}

.about-feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 15px;
}

.about-feature-card p {
  color: #64748b;
  line-height: 1.8;
}

/* TENTANG */
.tentang-system-section {
  padding: 100px 0;
  background: linear-gradient(to bottom, #f8fbff, #eef4ff);
}

.modern-about-card {
  display: flex;
  gap: 30px;
  background: white;
  border-radius: 30px;
  padding: 40px;
  margin-bottom: 35px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.about-icon-box {
  min-width: 90px;
  height: 90px;
  border-radius: 24px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.modern-about-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 18px;
}

.modern-about-card p {
  color: #64748b;
  line-height: 1.9;
}

.isi-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 25px;
}

.isi-item {
  background: #f8fbff;
  padding: 15px 18px;
  border-radius: 14px;
  color: #334155;
  font-weight: 500;
}

.isi-item i {
  color: #2563eb;
  margin-right: 10px;
}

/* FLOW */
.flow-section {
  padding: 100px 0;
  background: white;
}

.flow-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.flow-card {
  position: relative;
  width: 300px;
  background: white;
  border-radius: 28px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
  border: 1px solid #e2e8f0;
}

.flow-number {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1rem;
  font-weight: 700;
  color: #94a3b8;
}

.flow-card i {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto auto 25px;
}

.flow-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.flow-card p {
  color: #64748b;
  line-height: 1.8;
}

.flow-arrow i {
  font-size: 2rem;
  color: #2563eb;
}

/* KATEGORI */
.kategori-section {
  padding: 100px 0;
  background: linear-gradient(to bottom, #f8fbff, #eef4ff);
}

.kategori-modern-card {
  background: white;
  border-radius: 28px;
  padding: 40px 30px;
  text-align: center;
  height: 100%;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
  transition: 0.35s ease;
}

.kategori-modern-card:hover {
  transform: translateY(-10px);
}

.kategori-modern-card span {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  font-weight: 700;
  margin-bottom: 20px;
}

.kategori-modern-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0f172a;
}

.kategori-modern-card p {
  color: #64748b;
  line-height: 1.8;
}

/* TUJUAN */
.tujuan-section {
  padding: 100px 0;
  background: white;
}

.tujuan-box {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 35px;
  padding: 60px;
  color: white;
}

.tujuan-box .section-title h2,
.tujuan-box .section-title p {
  color: white;
}

.tujuan-item {
  background: rgba(255, 255, 255, 0.12);
  padding: 18px 22px;
  border-radius: 16px;
  backdrop-filter: blur(8px);
  font-weight: 500;
}

.tujuan-item i {
  margin-right: 10px;
}

/* WARNING */
.warning-section {
  padding: 90px 0;
  background: #f8fbff;
}

.warning-modern-card {
  background: #fff7ed;
  border-left: 6px solid #f97316;
  padding: 35px;
  border-radius: 24px;
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

.warning-modern-card i {
  font-size: 2.5rem;
  color: #f97316;
}

.warning-modern-card h3 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #9a3412;
}

.warning-modern-card p {
  color: #7c2d12;
  line-height: 1.9;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .about-hero h1 {
    font-size: 2.6rem;
  }

  .modern-about-card {
    flex-direction: column;
  }

  .isi-list {
    grid-template-columns: 1fr;
  }

  .tujuan-box {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 80px 0;
    text-align: center;
  }

  .about-hero h1 {
    font-size: 2.2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .about-hero-btn {
    justify-content: center;
  }

  .flow-arrow {
    display: none;
  }

  .warning-modern-card {
    flex-direction: column;
  }
}

/* ======================================================
   MODERN FOOTER
====================================================== */

.modern-footer {
  position: relative;

  background: linear-gradient(135deg, #0f172a, #111827, #1e293b);

  color: white;

  margin-top: 100px;

  overflow: hidden;
}

/* CONTAINER */

.footer-container {
  padding-top: 80px;
  padding-bottom: 60px;

  position: relative;
  z-index: 2;
}

/* BACKGROUND EFFECT */

.modern-footer::before {
  content: "";

  position: absolute;

  width: 450px;
  height: 450px;

  background: rgba(37, 99, 235, 0.12);

  border-radius: 50%;

  top: -150px;
  right: -120px;

  filter: blur(40px);
}

.modern-footer::after {
  content: "";

  position: absolute;

  width: 350px;
  height: 350px;

  background: rgba(59, 130, 246, 0.08);

  border-radius: 50%;

  bottom: -120px;
  left: -120px;

  filter: blur(40px);
}

/* ======================================================
   BRAND
====================================================== */

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;

  margin-bottom: 22px;
}

.footer-logo {
  width: 60px;
  height: 60px;

  background: rgba(255, 255, 255, 0.956);

  border-radius: 18px;

  display: flex;
  justify-content: center;
  align-items: center;

  backdrop-filter: blur(10px);
}

.footer-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.footer-brand h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 0;

  color: white;
}

/* DESCRIPTION */

.footer-description {
  color: #cbd5e1;

  line-height: 1.9;

  font-size: 15px;

  max-width: 340px;
}

/* ======================================================
   HEADING
====================================================== */

.footer-heading {
  font-size: 22px;
  font-weight: 700;

  margin-bottom: 25px;

  color: white;

  position: relative;
}

.footer-heading::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -10px;

  width: 45px;
  height: 3px;

  border-radius: 999px;

  background: #3b82f6;
}

/* ======================================================
   LINKS
====================================================== */

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 16px;
}

.footer-links a {
  text-decoration: none;

  color: #cbd5e1;

  transition: 0.3s;

  display: flex;
  align-items: center;
  gap: 12px;

  font-size: 15px;
}

.footer-links a:hover {
  color: #60a5fa;

  transform: translateX(5px);
}

/* ======================================================
   CONTACT
====================================================== */

.footer-contact p {
  color: #cbd5e1;

  display: flex;
  align-items: center;
  gap: 14px;

  margin-bottom: 18px;

  line-height: 1.8;
}

.footer-contact i {
  width: 18px;

  color: #60a5fa;
}

/* ======================================================
   SOCIAL
====================================================== */

.footer-social {
  display: flex;
  gap: 14px;

  margin-bottom: 28px;
}

.footer-social a {
  width: 48px;
  height: 48px;

  border-radius: 14px;

  background: rgba(255, 255, 255, 0.08);

  color: white;

  display: flex;
  justify-content: center;
  align-items: center;

  text-decoration: none;

  font-size: 18px;

  transition: 0.3s;

  backdrop-filter: blur(10px);
}

.footer-social a:hover {
  background: #2563eb;

  transform: translateY(-5px);
}

/* NOTE */

.footer-note p {
  color: #94a3b8;

  line-height: 1.8;

  font-size: 14px;

  margin: 0;
}

/* ======================================================
   BOTTOM
====================================================== */

.footer-bottom-modern {
  border-top: 1px solid rgba(255, 255, 255, 0.08);

  padding: 24px 0;

  text-align: center;

  position: relative;
  z-index: 2;
}

.footer-bottom-modern p {
  margin: 0;

  color: #94a3b8;

  font-size: 15px;

  letter-spacing: 0.3px;
}

.footer-bottom-modern strong {
  color: white;
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 768px) {
  .footer-brand {
    justify-content: center;
  }

  .footer-description {
    margin: auto;
    text-align: center;
  }

  .footer-heading {
    text-align: center;
  }

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

  .footer-links a {
    justify-content: center;
  }

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

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

  .footer-note {
    text-align: center;
  }
}

/* ======================================================
   REKOMENDASI PAGE
====================================================== */

.rekomendasi-section {
  padding: 100px 0;
  background: linear-gradient(to bottom, #f8fbff, #ffffff);
  min-height: 100vh;
}

/* HERO */

.rekomendasi-hero {
  max-width: 850px;
  margin: auto;
  margin-bottom: 70px;
}

.rekomendasi-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  background: rgba(13, 110, 253, 0.1);

  color: #0d6efd;

  padding: 12px 22px;

  border-radius: 50px;

  font-weight: 700;

  margin-bottom: 28px;
}

.rekomendasi-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 22px;
}

.rekomendasi-title span {
  color: #0d6efd;
}

.rekomendasi-desc {
  font-size: 18px;
  line-height: 1.9;
  color: #64748b;
  max-width: 720px;
  margin: auto;
}

/* CARD */

.rekomendasi-card {
  background: white;

  padding: 35px;

  border-radius: 28px;

  height: 100%;

  position: relative;

  overflow: hidden;

  border: 1px solid #e2e8f0;

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);

  transition: all 0.35s ease;
}

.rekomendasi-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 20px 45px rgba(13, 110, 253, 0.12);

  border-color: #bfdbfe;
}

.rekomendasi-icon {
  width: 75px;
  height: 75px;

  border-radius: 22px;

  background: linear-gradient(135deg, #0d6efd, #3b82f6);

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 24px;

  box-shadow: 0 12px 25px rgba(13, 110, 253, 0.25);
}

.rekomendasi-icon i {
  color: white;
  font-size: 30px;
}

.rekomendasi-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 15px;
}

.rekomendasi-card p {
  color: #64748b;
  line-height: 1.9;
  margin: 0;
}

/* TIPS */

.tips-wrapper {
  margin-top: 90px;
}

.tips-card {
  background: linear-gradient(135deg, #0d6efd, #2563eb);

  border-radius: 30px;

  padding: 55px;

  color: white;

  position: relative;

  overflow: hidden;

  box-shadow: 0 20px 45px rgba(13, 110, 253, 0.2);
}

.tips-card::before {
  content: "";

  position: absolute;

  top: -120px;
  right: -120px;

  width: 280px;
  height: 280px;

  background: rgba(255, 255, 255, 0.08);

  border-radius: 50%;
}

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

.tips-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 28px;
}

.tips-content ul {
  padding-left: 22px;
}

.tips-content li {
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 17px;
}

/* CTA */

.rekomendasi-cta {
  margin-top: 90px;
}

.rekomendasi-cta h2 {
  font-size: 42px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
}

.rekomendasi-cta p {
  max-width: 720px;
  margin: auto;
  margin-bottom: 35px;

  color: #64748b;
  line-height: 1.9;
}

.rekomendasi-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  background: linear-gradient(135deg, #0d6efd, #2563eb);

  color: white;
  text-decoration: none;

  padding: 16px 34px;

  border-radius: 16px;

  font-weight: 700;

  transition: all 0.3s ease;

  box-shadow: 0 12px 30px rgba(13, 110, 253, 0.25);
}

.rekomendasi-btn:hover {
  transform: translateY(-4px);

  color: white;

  box-shadow: 0 18px 40px rgba(13, 110, 253, 0.35);
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .rekomendasi-title {
    font-size: 40px;
  }

  .rekomendasi-desc {
    font-size: 16px;
  }

  .tips-card {
    padding: 35px;
  }

  .tips-content h2 {
    font-size: 28px;
  }

  .rekomendasi-cta h2 {
    font-size: 32px;
  }
}

.fitur-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  text-decoration: none;
  border-radius: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.fitur-btn:hover {
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
}

/* =========================================================
   DETEKSI PAGE — MODERN UI
========================================================= */

.deteksi-section {
  padding: 80px 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(59, 130, 246, 0.08),
      transparent 25%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(14, 165, 233, 0.08),
      transparent 25%
    ),
    #f8fbff;
  min-height: 100vh;
}

/* =========================================================
   HEADER
========================================================= */

.deteksi-header {
  text-align: center;
  margin-bottom: 55px;
}

.deteksi-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  border: 1px solid rgba(37, 99, 235, 0.1);
  backdrop-filter: blur(10px);
}

.deteksi-badge i {
  font-size: 1rem;
}

.deteksi-title {
  font-size: 3rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 18px;
  line-height: 1.1;
}

.deteksi-title span {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.deteksi-desc {
  max-width: 760px;
  margin: auto;
  color: #64748b;
  font-size: 1.08rem;
  line-height: 1.8;
}

/* =========================================================
   QUESTION CARD
========================================================= */

.question-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 30px;
  padding: 35px;
  margin-bottom: 30px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(14px);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.question-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, #2563eb, #0ea5e9);
  border-radius: 20px;
}

.question-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px rgba(37, 99, 235, 0.12);
}

/* =========================================================
   TOP SECTION
========================================================= */

.question-top {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 30px;
}

.question-number {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 20px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.22);
}

.question-content {
  flex: 1;
}

.question-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.5;
}

.question-sub {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================================================
   OPTION GROUP
========================================================= */

.option-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
}

/* OPTION CARD */

.option-card {
  position: relative;
}

.option-card input[type="radio"] {
  display: none;
}

.option-card label {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 22px;
  padding: 22px 18px;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  position: relative;
  overflow: hidden;
}

.option-card label::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.05),
    rgba(14, 165, 233, 0.05)
  );
  opacity: 0;
  transition: 0.3s;
}

.option-card label:hover {
  transform: translateY(-5px);
  border-color: #93c5fd;
  box-shadow: 0 20px 30px rgba(37, 99, 235, 0.08);
}

.option-card label:hover::before {
  opacity: 1;
}

.option-title {
  font-weight: 800;
  color: #0f172a;
  font-size: 1rem;
  z-index: 2;
}

.option-score {
  margin-top: 8px;
  color: #64748b;
  font-size: 0.9rem;
  z-index: 2;
}

/* ACTIVE RADIO */

.option-card input[type="radio"]:checked + label {
  border-color: #2563eb;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  transform: translateY(-4px);
  box-shadow: 0 25px 40px rgba(37, 99, 235, 0.25);
}

.option-card input[type="radio"]:checked + label .option-title,
.option-card input[type="radio"]:checked + label .option-score {
  color: white;
}

/* =========================================================
   ACTION AREA
========================================================= */

.deteksi-action {
  margin-top: 45px;
  background: white;
  border-radius: 28px;
  padding: 28px 32px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.04);

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.action-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.action-icon {
  width: 65px;
  height: 65px;
  border-radius: 22px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.22);
}

.action-text h5 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.action-text p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 0.95rem;
}

/* BUTTON */

.deteksi-btn {
  border: none;
  padding: 16px 34px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: white;
  font-size: 1rem;
  font-weight: 800;
  transition: all 0.3s ease;
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.25);
}

.deteksi-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 40px rgba(37, 99, 235, 0.3);
}

/* =========================================================
   REFERENCE TEXT
========================================================= */

.ref-text {
  text-align: center;
  margin-top: 28px;
  color: #64748b;
  font-size: 0.95rem;
}

.ref-text strong {
  color: #2563eb;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 992px) {
  .deteksi-title {
    font-size: 2.4rem;
  }

  .question-card {
    padding: 28px;
  }
}

@media (max-width: 768px) {
  .deteksi-section {
    padding: 60px 0;
  }

  .deteksi-title {
    font-size: 2rem;
  }

  .question-top {
    flex-direction: column;
    gap: 18px;
  }

  .question-number {
    width: 52px;
    height: 52px;
    min-width: 52px;
  }

  .question-text {
    font-size: 1.1rem;
  }

  .option-group {
    grid-template-columns: 1fr;
  }

  .deteksi-action {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .action-left {
    justify-content: center;
    flex-direction: column;
  }

  .deteksi-btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .question-card {
    padding: 22px;
    border-radius: 24px;
  }

  .deteksi-title {
    font-size: 1.8rem;
  }

  .deteksi-desc {
    font-size: 0.98rem;
  }

  .option-card label {
    min-height: 105px;
    padding: 18px;
  }

  .option-title {
    font-size: 0.95rem;
  }
}

/* =========================================================
   RIWAYAT PAGE — MODERN UI
========================================================= */

.riwayat-section {
  padding: 80px 0;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at top right,
      rgba(37, 99, 235, 0.08),
      transparent 25%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(14, 165, 233, 0.08),
      transparent 25%
    ),
    #f8fbff;
}

/* =========================================================
   MAIN CARD
========================================================= */

.riwayat-card {
  border: none;
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}

/* =========================================================
   HEADER
========================================================= */

.riwayat-header {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  padding: 35px 40px;
  color: white;
  position: relative;
  overflow: hidden;
}

.riwayat-header::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.riwayat-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
  position: relative;
  z-index: 2;
}

.riwayat-title i {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  backdrop-filter: blur(10px);
}

/* =========================================================
   BODY
========================================================= */

.riwayat-body {
  padding: 35px;
}

/* =========================================================
   TABLE
========================================================= */

.riwayat-table-wrapper {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.riwayat-table {
  margin: 0;
  background: white;
}

.riwayat-table thead {
  background: #0f172a;
}

.riwayat-table thead th {
  color: white;
  font-weight: 700;
  padding: 20px;
  border: none;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.riwayat-table tbody tr {
  transition: all 0.25s ease;
}

.riwayat-table tbody tr:hover {
  background: rgba(37, 99, 235, 0.04);
}

.riwayat-table tbody td {
  padding: 20px;
  vertical-align: middle;
  border-color: #f1f5f9;
  color: #334155;
  font-weight: 500;
}

/* =========================================================
   NUMBER BADGE
========================================================= */

.riwayat-no {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* =========================================================
   SCORE BADGE
========================================================= */

.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(14, 165, 233, 0.1);
  color: #0284c7;
  font-weight: 800;
  min-width: 65px;
}

/* =========================================================
   CATEGORY BADGES
========================================================= */

.status-badge {
  padding: 10px 18px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* NORMAL */

.status-normal {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

/* RINGAN */

.status-ringan {
  background: rgba(251, 191, 36, 0.15);
  color: #ca8a04;
}

/* SEDANG */

.status-sedang {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

/* BERAT */

.status-berat {
  background: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

/* =========================================================
   EMPTY STATE
========================================================= */

.empty-state {
  text-align: center;
  padding: 60px 30px;
}

.empty-icon {
  width: 90px;
  height: 90px;
  margin: auto;
  margin-bottom: 25px;
  border-radius: 28px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

.empty-state h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.empty-state p {
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 30px;
}

/* =========================================================
   FOOTER ACTION
========================================================= */

.riwayat-footer {
  padding: 28px 35px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;

  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* BUTTON */

.riwayat-btn {
  padding: 14px 26px;
  border-radius: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* PRIMARY */

.riwayat-btn-primary {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: white;
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.22);
}

.riwayat-btn-primary:hover {
  transform: translateY(-4px);
  color: white;
}

/* SECONDARY */

.riwayat-btn-secondary {
  background: white;
  color: #334155;
  border: 1px solid #dbeafe;
}

.riwayat-btn-secondary:hover {
  background: #eff6ff;
  transform: translateY(-4px);
  color: #2563eb;
}

/* =========================================================
   DATE STYLE
========================================================= */

.riwayat-date {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.riwayat-date strong {
  color: #0f172a;
  font-size: 0.95rem;
}

.riwayat-date span {
  color: #64748b;
  font-size: 0.88rem;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 992px) {
  .riwayat-title {
    font-size: 1.5rem;
  }

  .riwayat-header,
  .riwayat-body {
    padding: 28px;
  }
}

@media (max-width: 768px) {
  .riwayat-section {
    padding: 50px 0;
  }

  .riwayat-title {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .riwayat-footer {
    flex-direction: column;
  }

  .riwayat-btn {
    width: 100%;
    justify-content: center;
  }

  .riwayat-table thead {
    display: none;
  }

  .riwayat-table,
  .riwayat-table tbody,
  .riwayat-table tr,
  .riwayat-table td {
    display: block;
    width: 100%;
  }

  .riwayat-table tr {
    padding: 18px;
    border-bottom: 1px solid #e2e8f0;
  }

  .riwayat-table td {
    padding: 12px 0;
    border: none;
  }
}

@media (max-width: 576px) {
  .riwayat-card {
    border-radius: 24px;
  }

  .riwayat-header {
    padding: 24px;
  }

  .riwayat-body {
    padding: 20px;
  }

  .riwayat-title {
    font-size: 1.3rem;
  }
}

/* ======================================================
   RESPONSIVE NAVBAR FOR MOBILE SCREENS
   ====================================================== */
@media (max-width: 991.98px) {
  .custom-navbar {
    padding: 10px 0;
  }

  .navbar-collapse {
    border-top: 1px solid #f1f5f9;
    margin-top: 12px;
    padding-top: 15px;
    padding-bottom: 10px;
  }

  /* Smooth fade-in slide-down animation when opening mobile menu */
  .navbar-collapse.show {
    animation: slideDownMenu 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes slideDownMenu {
    from {
      opacity: 0;
      transform: translateY(-12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .navbar-nav {
    align-items: stretch !important;
  }

  .nav-item {
    margin-bottom: 5px;
  }

  .nav-custom {
    margin-left: 0 !important;
    padding: 12px 16px !important;
    border-radius: 12px;
    display: block;
    width: 100%;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-custom:hover {
    background-color: #eff6ff;
    color: #2563eb !important;
    padding-left: 22px !important; /* Smooth micro-interaction slide on hover */
  }

  .nav-custom::after {
    display: none !important;
  }

  /* User Dropdown for Mobile */
  .nav-item.dropdown {
    width: 100%;
  }

  .user-dropdown {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px !important;
    border-radius: 12px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    margin: 8px 0 !important;
    transition: all 0.2s ease;
  }

  .user-dropdown:hover,
  .user-dropdown:focus {
    background-color: #eff6ff;
    border-color: #cbd5e1;
  }

  .dropdown-menu {
    position: static !important;
    float: none;
    box-shadow: none !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    margin: 6px 8px 12px 8px !important;
    padding: 6px !important;
    width: auto;
  }

  .dropdown-item {
    padding: 11px 16px !important;
    border-radius: 8px !important;
  }

  .dropdown-item:hover {
    background-color: #eff6ff !important;
    color: #2563eb !important;
  }

  /* Buttons Login & Register on Mobile */
  .navbar-nav .nav-item.ms-lg-3,
  .navbar-nav .nav-item.ms-lg-2 {
    margin-left: 0 !important;
    margin-top: 8px !important;
    width: 100%;
  }

  .btn-login,
  .btn-register {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 12px !important;
    font-size: 15px;
    border-radius: 12px;
    transition: all 0.25s ease;
  }

  .btn-register {
    background: #0d6efd !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15) !important;
  }

  .btn-register:hover {
    background: #0b5ed7 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.25) !important;
  }

  .btn-login {
    border: 1.5px solid #0d6efd !important;
    color: #0d6efd !important;
    background: transparent !important;
  }

  .btn-login:hover {
    background: #0d6efd !important;
    color: white !important;
  }
}
