/* ============================================================
   THEME: BLACK ACCENT + LIGHT BACKGROUND
   Elemen navy → hitam. Area putih tetap putih.
   ============================================================ */

:root {
  --black: #111111;
  --black-soft: #1c1c1c;
  --black-mid: #2a2a2a;
  --gray-100: #f7f7f7;
  --gray-200: #e8e8e8;
  --gray-300: #d1d1d1;
  --gray-500: #8a8a8a;
  --white: #ffffff;
  --gold: #c9a961;
  --gold-light: #e8d5a3;
  --gold-dark: #a8884a;
  --text: #2a2a2a;
  --text-muted: #6b6b6b;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a { color: var(--black); transition: color 0.2s; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--black);
  font-weight: 700;
}

.content img { max-width: 100%; height: auto; border-radius: var(--radius); }

/* ============ NAVBAR (HITAM) ============ */
.navbar-navy {
  background: var(--black) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  padding: 0.9rem 0;
  border-bottom: 3px solid var(--gold);
}

.navbar-navy .navbar-brand {
  color: #fff !important;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-navy .navbar-brand img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  background: #fff;
  padding: 2px;
}

.navbar-navy .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  transition: all 0.2s;
}

.navbar-navy .nav-link:hover,
.navbar-navy .nav-link.active {
  color: var(--gold-light) !important;
  background: rgba(255, 255, 255, 0.1);
}

/* ============ HERO (PUTIH / TERANG) ============ */
/* Hero tetap terang — bukan hitam. Hanya aksen gold. */
.hero-section {
  background: linear-gradient(135deg, #ffffff 0%, var(--gray-100) 100%);
  padding: 5rem 0;
  position: relative;
  border-bottom: 1px solid var(--gray-200);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: var(--gray-100);
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-section .container { position: relative; z-index: 1; }

.hero-section h1 {
  color: var(--black);
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.hero-section h1::after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: var(--gold);
  margin-top: 1rem;
  border-radius: 2px;
}

.hero-section p,
.hero-section .lead {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.hero-section .welcome-image {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
  display: block;
  background: var(--gray-100);
}

.hero-section .welcome-author {
  color: var(--black);
  font-weight: 700;
  margin-top: 1.5rem;
}

.hero-section .welcome-author small {
  color: var(--text-muted);
  font-weight: 400;
}

.hero-section .badge-welcome {
  background: var(--black);
  color: var(--gold-light);
  border: none;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1rem;
}

/* ============ SECTION HEADERS ============ */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title {
  color: var(--black);
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.75rem;
  margin: 0;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 55px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* ============ CARDS (PUTIH) ============ */
.card-clean {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-clean:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.card-clean .card-img-wrapper {
  height: 200px;
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
}

.card-clean .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.card-clean:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.card-clean .card-img-placeholder {
  height: 200px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 3rem;
}

.card-clean .card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.card-clean .card-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.card-clean .card-meta i { color: var(--gold); }

.card-clean .card-meta .badge-dark {
  background: var(--black);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
}

.card-clean .card-title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.card-clean .card-title a {
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
}

.card-clean .card-title a:hover {
  color: var(--gold-dark);
}

.card-clean .card-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  flex: 1;
}

.card-clean .card-footer-link {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

/* ============ BUTTONS ============ */
.btn-black {
  background: var(--black);
  color: #fff !important;
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-black:hover {
  background: var(--black-mid);
  transform: translateY(-1px);
  color: var(--gold-light) !important;
}

.btn-gold {
  background: var(--gold);
  color: var(--black) !important;
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline-black {
  border: 1.5px solid var(--black);
  color: var(--black);
  padding: 0.5rem 1.3rem;
  border-radius: 8px;
  background: transparent;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.btn-outline-black:hover {
  background: var(--black);
  color: #fff;
}

/* ============ BACKGROUNDS ============ */
.bg-soft-gray { background: var(--gray-100); }

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  position: relative;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.gallery-item:hover::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ VIDEO ============ */
.video-embed {
  aspect-ratio: 16/9;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  background: var(--black);
}

/* ============ FOOTER (HITAM) ============ */
.footer-black {
  background: var(--black);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
  border-top: 4px solid var(--gold);
}

.footer-black h5,
.footer-black h6 {
  color: #fff;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.footer-black .footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  align-items: flex-start;
}

.footer-black .footer-contact-item i {
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff !important;
  font-size: 1.1rem;
  transition: all 0.25s;
  text-decoration: none;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.social-icon.facebook:hover { background: #1877f2; border-color: #1877f2; }
.social-icon.instagram:hover { background: #e4405f; border-color: #e4405f; }
.social-icon.youtube:hover { background: #ff0000; border-color: #ff0000; }
.social-icon.tiktok:hover { background: #000; border-color: var(--gold); }
.social-icon.whatsapp:hover { background: #25d366; border-color: #25d366; }
.social-icon.email:hover { background: var(--gold); border-color: var(--gold); color: var(--black) !important; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============ ADMIN ============ */
.admin-sidebar {
  background: var(--black);
  color: #fff;
  padding: 1.5rem 1rem;
  width: 250px;
  min-height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  overflow-y: auto;
  z-index: 100;
}

.admin-sidebar h5 {
  color: #fff;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.admin-sidebar .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  transition: all 0.2s;
}

.admin-sidebar .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
}

.admin-sidebar .nav-link.active {
  background: var(--gold);
  color: var(--black) !important;
  font-weight: 600;
}

.admin-content {
  margin-left: 250px;
  padding: 2rem;
  background: var(--gray-100);
  min-height: 100vh;
}

.admin-topbar {
  background: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ============ PAGINATION ============ */
.pagination .page-link {
  color: var(--black);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  margin: 0 3px;
  padding: 0.5rem 0.85rem;
  transition: all 0.2s;
}

.pagination .page-item.active .page-link {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}

.pagination .page-link:hover {
  background: var(--gray-100);
  border-color: var(--gold);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
  .admin-sidebar { position: relative; width: 100%; min-height: auto; }
  .admin-content { margin-left: 0; padding: 1rem; }
  .hero-section { padding: 3rem 0; text-align: center; }
  .hero-section h1::after { margin: 1rem auto 0; }
}

@media (max-width: 767px) {
  .section-title { font-size: 1.5rem; }
  .footer-black { padding: 2.5rem 0 1rem; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.75rem; }
}


/* ============ ABOUT PAGE ============ */
.tata-nilai-box ul,
.keunggulan-box ul {
  list-style: none;
  padding-left: 0;
}

.tata-nilai-box ul li,
.keunggulan-box ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.tata-nilai-box ul li::before,
.keunggulan-box ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.85rem;
  top: 4px;
}

.tata-nilai-box ol,
.keunggulan-box ol {
  padding-left: 1.5rem;
}

.tata-nilai-box ol li,
.keunggulan-box ol li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.tata-nilai-box ol li::marker,
.keunggulan-box ol li::marker {
  color: var(--gold);
  font-weight: 700;
}

/* ============================================================
   STICKY FOOTER (hanya halaman publik)
   Base admin TIDAK pakai class .public-page, jadi aman.
   ============================================================ */
.public-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.public-page > main {
  flex: 1 0 auto;
  padding-bottom: 2rem;
}

.public-page > footer.footer-black {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .public-page > footer.footer-black {
    margin-top: 2rem;
  }
}

/* ============================================================
   NAVBAR — TOMBOL DAFTAR ULANG (HIGHLIGHT)
   ============================================================ */

.navbar-navy .nav-link-rereg {
  display: inline-flex !important;
  align-items: center;
  border: 1.5px solid rgba(201, 169, 97, 0.5);
  border-radius: 25px;
  padding: 0.4rem 1rem !important;
  color: var(--gold-light) !important;
  background: rgba(201, 169, 97, 0.08);
  transition: all 0.25s ease;
  position: relative;
  font-weight: 500;
}

.navbar-navy .nav-link-rereg::before {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border: 2px solid #0a0a0a;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: navReregPulse 2s infinite;
}

@keyframes navReregPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.navbar-navy .nav-link-rereg:hover {
  background: var(--gold);
  color: var(--black) !important;
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
}

.navbar-navy .nav-link-rereg:hover::before {
  background: #16a34a;
  border-color: var(--gold);
}

.navbar-navy .nav-link-rereg.active {
  background: var(--gold);
  color: var(--black) !important;
  border-color: var(--gold);
}

/* ===== Dropdown elegan ===== */
.navbar-navy .dropdown-menu {
  border-radius: 10px !important;
  border: 1px solid var(--gray-200) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
  margin-top: 0.5rem !important;
}

.navbar-navy .dropdown-item {
  transition: all 0.15s;
  color: var(--black);
}

.navbar-navy .dropdown-item:hover {
  background: var(--gray-100) !important;
  color: var(--gold-dark) !important;
  padding-left: 1.25rem !important;
}

.navbar-navy .dropdown-toggle::after {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== Mobile ===== */
@media (max-width: 991px) {
  .navbar-navy .nav-link-rereg {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    justify-content: center;
  }

  .navbar-navy .dropdown-menu {
    box-shadow: none !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.05);
  }

  .navbar-navy .dropdown-item {
    color: rgba(255, 255, 255, 0.85) !important;
  }

  .navbar-navy .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--gold-light) !important;
  }
}

/* ============================================================
   PORTAL OASE — Hero + App Cards + CTA
   ============================================================ */

/* ===== Hero Portal ===== */
.hero-portal {
  background:
    radial-gradient(ellipse at top right, rgba(201, 169, 97, 0.15), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(42, 83, 121, 0.3), transparent 60%),
    linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  color: #fff;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-portal::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 40px,
      rgba(255, 255, 255, 0.012) 40px, rgba(255, 255, 255, 0.012) 41px);
  pointer-events: none;
}

.hero-portal .container { position: relative; z-index: 1; }

.badge-portal {
  display: inline-flex;
  align-items: center;
  background: rgba(201, 169, 97, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 0.4rem 1rem;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 0;
}

.hero-logo-wrap {
  display: inline-block;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), rgba(201, 169, 97, 0.02));
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: 0 20px 60px rgba(201, 169, 97, 0.25);
}

.hero-logo {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 1.5rem;
}

.hero-placeholder {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.2), rgba(201, 169, 97, 0.05));
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  color: var(--gold);
  box-shadow: 0 20px 60px rgba(201, 169, 97, 0.2);
}

/* ===== Welcome Circle ===== */
.welcome-circle {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
}

/* ===== App Cards ===== */
.app-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: 16px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--app-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--app-color);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  color: var(--text);
}

.app-card:hover::before {
  transform: scaleX(1);
}

.app-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.app-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.app-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--black);
  line-height: 1.2;
}

.app-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0;
  line-height: 1.4;
}

.app-description {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.app-footer {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.app-chip {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background: var(--gray-100);
  border-radius: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.app-cta {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--app-color);
  display: inline-flex;
  align-items: center;
}

.app-card-coming_soon {
  opacity: 0.85;
  border-style: dashed;
  cursor: pointer;
}

.app-card-coming_soon:hover {
  opacity: 1;
  border-color: var(--app-color);
}

.app-card-beta {
  border-color: #0dcaf0;
}

.app-card-maintenance {
  opacity: 0.7;
}

/* ===== CTA Section ===== */
.cta-section {
  background:
    radial-gradient(ellipse at top right, rgba(201, 169, 97, 0.2), transparent 60%),
    linear-gradient(135deg, var(--black) 0%, var(--black-mid) 100%);
  border-radius: 20px;
  padding: 3rem;
  border-top: 4px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.badge-portal-light {
  display: inline-flex;
  align-items: center;
  background: var(--gold-light);
  color: #0a0a0a;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ===== Section Header Center ===== */
.section-header.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .hero-portal { padding: 3rem 0 2rem; }
  .hero-logo { width: 160px; height: 160px; }
  .hero-logo-wrap { padding: 2rem; }
  .hero-placeholder { max-width: 220px; font-size: 5rem; }
  .welcome-circle { width: 180px; height: 180px; }
  .cta-section { padding: 2rem 1.5rem; }
}

@media (max-width: 768px) {
  .app-icon { width: 48px; height: 48px; min-width: 48px; font-size: 1.3rem; }
  .app-card { padding: 1.25rem; }
}

/* ============================================================
   APP STATUS MODAL — Coming Soon / Maintenance / Beta
   ============================================================ */

.app-modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

/* ===== Header dengan gradient ===== */
.app-modal-header {
  position: relative;
  padding: 3rem 2rem 2rem;
  text-align: center;
  overflow: hidden;
}

.app-modal-header::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-size: 60px 60px;
  background-image:
    radial-gradient(circle, #fff 1px, transparent 1px);
  background-position: 0 0, 30px 30px;
}

.app-modal-header-coming {
  background: linear-gradient(135deg, #c9a961 0%, #a8884a 100%);
}

.app-modal-header-maintenance {
  background: linear-gradient(135deg, #ffc107 0%, #d39e00 100%);
}

.app-modal-header-beta {
  background: linear-gradient(135deg, #0dcaf0 0%, #0a9dbd 100%);
}

.app-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity 0.2s;
}

.app-modal-close:hover {
  opacity: 1;
}

.app-modal-icon-wrap {
  position: relative;
  z-index: 1;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  animation: appModalPulse 2s ease-in-out infinite;
}

@keyframes appModalPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  }
}

.app-modal-icon-wrap i {
  font-size: 2.75rem;
}

.app-icon-coming {
  color: #c9a961;
}

.app-icon-maintenance {
  color: #d39e00;
}

.app-icon-beta {
  color: #0dcaf0;
}

/* ===== Body ===== */
.app-modal-body {
  padding: 2rem 2rem 1.75rem;
  text-align: center;
}

.app-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.app-modal-app-name {
  display: inline-block;
  background: var(--gray-100);
  padding: 0.4rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.app-modal-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Features ===== */
.app-modal-features {
  text-align: left;
  background: var(--gray-50, #f9fafb);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--gray-200);
}

.app-modal-features-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.app-modal-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.app-modal-feature-chip {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--gray-200);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
}

.app-modal-feature-chip i {
  color: #10b981;
}

/* ===== Actions ===== */
.app-modal-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

/* ===== Footer note ===== */
.app-modal-footer-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.app-modal-footer-note a {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: none;
}

.app-modal-footer-note a:hover {
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 576px) {
  .app-modal-header {
    padding: 2.5rem 1.5rem 1.5rem;
  }

  .app-modal-icon-wrap {
    width: 80px;
    height: 80px;
  }

  .app-modal-icon-wrap i {
    font-size: 2.25rem;
  }

  .app-modal-body {
    padding: 1.5rem 1.25rem;
  }

  .app-modal-title {
    font-size: 1.35rem;
  }
}