/* ==========================================================================
   PSB KHAIRUL UMMAH - MODERN PIXEL-PERFECT DESIGN SYSTEM
   Precision Tuned for Desktop, Tablet, and Mobile
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Colors */
  --primary-950: #022c22;
  --primary-900: #064e3b;
  --primary-800: #065f46;
  --primary-700: #047857;
  --primary-600: #059669;
  --primary-500: #10b981;
  --primary-100: #d1fae5;
  --primary-50: #ecfdf5;

  --accent-gold: #d97706;
  --accent-gold-light: #fef3c7;
  --accent-amber: #f59e0b;
  --accent-amber-light: #fef9c3;

  --dark-900: #0f172a;
  --dark-800: #1e293b;
  --dark-700: #334155;
  --dark-600: #475569;
  --dark-500: #64748b;

  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --border-focus: #10b981;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 35px -8px rgba(15, 23, 42, 0.12);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base & Typography
   ========================================================================== */
body.psb-modern {
  font-family: var(--font-main);
  background-color: var(--light-bg);
  color: var(--dark-800);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.psb-modern h1,
body.psb-modern h2,
body.psb-modern h3,
body.psb-modern h4,
body.psb-modern h5,
body.psb-modern h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-900);
  letter-spacing: -0.02em;
}

body.psb-modern a {
  transition: all var(--transition-fast);
}

/* ==========================================================================
   Modern Navbar
   ========================================================================== */
.psb-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  padding: 12px 0;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  z-index: 1040;
}

.psb-navbar.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.psb-navbar .container {
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.psb-navbar .navbar-header {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.psb-navbar .navbar-brand,
.navbar > .container .psb-navbar .navbar-brand,
.psb-navbar.navbar > .container .navbar-brand,
.navbar-default .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: auto;
  padding: 0 !important;
  margin: 0 !important;
  margin-left: 0 !important;
}

.psb-navbar .navbar-toggle {
  margin-right: 0 !important;
}

.psb-navbar .brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.psb-navbar .navbar-brand:hover .brand-logo {
  transform: scale(1.05);
}

.psb-navbar .brand-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.psb-navbar .brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  color: var(--primary-900);
  display: flex;
  align-items: center;
  gap: 6px;
}

.psb-navbar .brand-badge {
  background: var(--primary-600);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.psb-navbar .brand-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: var(--dark-500);
  letter-spacing: 0.3px;
}

/* Navbar Nav Links */
.psb-navbar .nav > li > a {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--dark-700);
  padding: 10px 14px;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.psb-navbar .nav > li > a:hover,
.psb-navbar .nav > li > a:focus {
  background-color: var(--primary-50);
  color: var(--primary-700);
}

/* Nav CTA Buttons in Header */
.psb-navbar .nav-cta-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  vertical-align: middle;
}

/* ==========================================================================
   Button System
   ========================================================================== */
.psb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
  cursor: pointer;
  text-decoration: none !important;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.4;
  text-align: center;
}

.psb-btn-primary {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.psb-btn-primary:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 8px 22px rgba(5, 150, 105, 0.45);
  transform: translateY(-2px);
}

.psb-btn-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.psb-btn-amber:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 8px 22px rgba(217, 119, 6, 0.45);
  transform: translateY(-2px);
}

.psb-btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.psb-btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.psb-btn-outline-primary {
  background: transparent;
  color: var(--primary-700) !important;
  border-color: var(--primary-600);
}

.psb-btn-outline-primary:hover {
  background: var(--primary-50);
  color: var(--primary-800) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.psb-hero {
  position: relative;
  background-color: #064e3b;
  background-image: 
    linear-gradient(135deg, rgba(4, 47, 36, 0.93) 0%, rgba(6, 78, 59, 0.89) 50%, rgba(4, 120, 87, 0.84) 100%),
    url('../../img/ppku_baru.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 135px 0 95px;
  color: #ffffff;
  overflow: hidden;
}

.psb-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(16, 185, 129, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(245, 158, 11, 0.18) 0%, transparent 45%);
  pointer-events: none;
}

.psb-hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.psb-hero-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.psb-hero-left-col {
  position: relative;
}

.psb-hero-right-col {
  position: relative;
  margin-top: 20px;
}

@media (min-width: 992px) {
  .psb-hero-right-col {
    margin-top: 0;
  }
}

.psb-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.psb-hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-dot 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

body.psb-modern .psb-hero-title,
.psb-hero-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.16;
  color: #ffffff !important;
  margin-bottom: 16px;
}

.psb-hero-title span.highlight-gold {
  color: #fbbf24;
  text-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.psb-hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-bottom: 28px;
}

.psb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.psb-hero-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  text-align: center;
}

.psb-hero-card .hero-card-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fbbf24;
}

/* ==========================================================================
   Hero Santri Showcase Card
   ========================================================================== */
.psb-hero-showcase {
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.psb-hero-showcase:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Image Showcase Frame */
.hero-showcase-image-box {
  position: relative;
  width: 100%;
  height: 250px;
  background: #064e3b;
  overflow: hidden;
}

.hero-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: opacity 0.35s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.psb-hero-showcase:hover .hero-showcase-img {
  transform: scale(1.03);
}

.hero-showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.05) 50%, rgba(6, 78, 59, 0.75) 100%);
  pointer-events: none;
}

/* Floating Micro-Badges */
.hero-float-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  background: rgba(15, 23, 42, 0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  color: #ffffff;
  z-index: 3;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-float-badge.badge-top-right {
  top: 12px;
  right: 12px;
}

.hero-float-badge.badge-bottom-left {
  bottom: 12px;
  left: 12px;
}

.hero-float-badge .badge-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.hero-float-badge .badge-icon.icon-gold {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.25);
}

.hero-float-badge .badge-icon.icon-emerald {
  color: #34d399;
  background: rgba(16, 185, 129, 0.25);
}

.hero-float-badge strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-float-badge small {
  display: block;
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.1;
}

/* Interactive Pill Switcher */
.hero-img-switcher {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 4;
  display: inline-flex;
  gap: 4px;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.img-switch-btn {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all var(--transition-fast);
}

.img-switch-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.img-switch-btn.active {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* Showcase Body Content */
.hero-showcase-content {
  padding: 18px 22px 20px;
  text-align: left !important;
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  text-align: left !important;
}

body.psb-modern .showcase-title,
.showcase-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0;
  font-family: var(--font-heading);
  text-align: left !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.showcase-pill {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.showcase-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.6;
  margin-bottom: 14px;
  text-align: left !important;
}

/* Jenjang Grid in Showcase */
.hero-jenjang-grid {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

.hero-jenjang-grid .jenjang-item {
  flex: 1;
}

.hero-jenjang-grid .jenjang-title {
  font-size: 16px;
  font-weight: 800;
  color: #fbbf24;
  display: block;
  line-height: 1.15;
}

.hero-jenjang-grid .jenjang-sub {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.hero-jenjang-grid .jenjang-divider {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  height: 24px;
  margin: 0 4px;
}

/* ==========================================================================
   Hero Stats Ribbon
   ========================================================================== */
.psb-stats-ribbon {
  margin-top: -45px;
  position: relative;
  z-index: 10;
}

.psb-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.psb-stats-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.psb-stats-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 40px -10px rgba(15, 23, 42, 0.15);
  border-color: var(--primary-500);
}

.psb-stats-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.psb-stats-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 3px;
  color: var(--dark-900);
}

.psb-stats-info p {
  font-size: 13px;
  margin: 0;
  color: var(--dark-500);
}

/* ==========================================================================
   Sections & Common Cards
   ========================================================================== */
.psb-section {
  padding: 80px 0;
}

.psb-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.psb-section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-700);
  background: var(--primary-100);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.psb-section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--dark-900);
  margin-bottom: 12px;
  line-height: 1.25;
}

.psb-section-subtitle {
  font-size: 15.5px;
  color: var(--dark-500);
  margin: 0;
}

/* Modern Card */
.psb-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  transition: all var(--transition-smooth);
  margin-bottom: 24px;
}

.psb-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
  transform: translateY(-3px);
}

/* ==========================================================================
   Alur Pendaftaran (Roadmap 5 Steps)
   ========================================================================== */
.psb-step-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.psb-step-item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px 18px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.psb-step-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-500);
}

.psb-step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-700);
  color: #ffffff;
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.3);
  flex-shrink: 0;
}

.psb-step-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark-900);
}

.psb-step-item p {
  font-size: 12.5px;
  color: var(--dark-500);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   Pricing & Program Cards (Jenjang & Biaya)
   ========================================================================== */
.psb-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.psb-tier-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 32px 26px;
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.psb-tier-card.featured {
  border-color: var(--primary-600);
  box-shadow: 0 12px 30px -5px rgba(5, 150, 105, 0.2);
  transform: translateY(-6px);
}

.psb-tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-amber);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 8px rgba(245, 158, 11, 0.35);
  white-space: nowrap;
}

.psb-tier-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  margin: 0 auto 16px;
}

.psb-tier-name {
  font-size: 21px;
  font-weight: 800;
  color: var(--dark-900);
  margin-bottom: 4px;
}

.psb-tier-subtitle {
  font-size: 13px;
  color: var(--dark-500);
  margin-bottom: 16px;
}

.psb-tier-price {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary-800);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.psb-tier-price small {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--dark-500);
}

.psb-tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
  flex-grow: 1;
}

.psb-tier-features li {
  font-size: 13.5px;
  color: var(--dark-700);
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px dashed #f1f5f9;
}

.psb-tier-features li i {
  color: var(--primary-600);
  font-size: 15px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ==========================================================================
   Schedule Cards
   ========================================================================== */
.psb-schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.psb-schedule-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--primary-600);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.psb-schedule-card:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow-md);
}

.psb-schedule-card.alert-gold {
  border-left-color: var(--accent-amber);
  background: #fffbeb;
}

.psb-schedule-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.psb-schedule-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-900);
  margin: 0 0 6px;
  line-height: 1.35;
}

.psb-schedule-desc {
  font-size: 13.5px;
  color: var(--dark-600);
  margin: 0;
}

/* ==========================================================================
   Bank Account Callout Banner
   ========================================================================== */
.psb-bank-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: var(--radius-xl);
  padding: 32px 30px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 35px;
}

.psb-bank-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  pointer-events: none;
}

.psb-bank-card-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.psb-bank-info h4 {
  color: #fbbf24;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.psb-bank-account {
  font-family: 'Courier New', Courier, monospace;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 18px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

/* ==========================================================================
   Modern Video Card
   ========================================================================== */
.psb-video-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
  background: #000;
}

.psb-video-wrapper .iframe-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.psb-video-wrapper .iframe-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Modern Footer
   ========================================================================== */
.psb-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 60px 0 28px;
  border-top: 1px solid #1e293b;
}

.psb-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.psb-footer-title {
  color: #ffffff;
  font-size: 19px;
  font-weight: 800;
  margin: 0;
}

.psb-footer-text {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
}

.psb-footer-heading {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

.psb-footer-links a {
  color: #94a3b8;
  font-size: 13.5px;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.psb-footer-links a:hover {
  color: #10b981;
}

.psb-footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* ==========================================================================
   Floating Modern WhatsApp Widget
   ========================================================================== */
.psb-wa-widget {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.psb-wa-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px 12px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-smooth);
}

.psb-wa-pill:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.55);
  background: #20ba59;
}

.psb-wa-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25d366;
  font-size: 18px;
}

/* ==========================================================================
   Modern Modal for Login / Pengumuman
   ========================================================================== */
.layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99998;
}

.obox {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0 !important;
  width: 92%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  z-index: 99999;
  border: 1px solid var(--border-color);
  animation: modal-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-pop {
  0% { opacity: 0; transform: translate(-50%, -46%) scale(0.95); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.hbox {
  background: linear-gradient(135deg, #065f46 0%, #047857 100%);
  padding: 14px 20px;
  height: auto !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hbox .boxtext {
  position: static !important;
  padding: 0 !important;
  font-weight: 700;
  font-size: 14.5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hbox .pull-right {
  margin: 0 !important;
}

.hbox .pull-right a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  transition: background var(--transition-fast);
}

.hbox .pull-right a:hover {
  background: rgba(255, 255, 255, 0.3);
}

.obox-body {
  padding: 24px 20px;
  text-align: center;
}

.obox-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.obox-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--dark-900);
  margin-bottom: 6px;
}

.obox-subtitle {
  font-size: 13px;
  color: var(--dark-500);
  line-height: 1.5;
  margin-bottom: 18px;
}

.obox-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  color: var(--dark-900);
  transition: all var(--transition-fast);
  outline: none;
  background: #f8fafc;
}

.obox-input:focus {
  border-color: var(--primary-600);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
}

/* ==========================================================================
/* ==========================================================================
   BREAKPOINTS: TABLET & MOBILE (< 992px) - NAVBAR TAMPILAN MOBILE
   ========================================================================== */
@media (max-width: 991px) {
  /* Navbar Header */
  .psb-navbar {
    padding: 10px 0;
  }
  .psb-navbar .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .psb-navbar .navbar-header {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .psb-navbar .navbar-brand {
    order: 1 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    float: left !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    text-align: left;
    margin-right: auto !important; /* Posisi di kiri ujung */
  }
  .psb-navbar .navbar-toggle {
    order: 2 !important;
    display: block !important;
    float: right !important;
    border: 1px solid var(--border-color);
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    margin: 0 !important;
    margin-left: auto !important; /* Posisi di kanan ujung */
    flex-shrink: 0;
  }
  .psb-navbar .navbar-toggle i {
    font-size: 18px;
    color: var(--primary-800);
  }
  .psb-navbar .brand-logo {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }
  .psb-navbar .brand-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
  }
  .psb-navbar .brand-title {
    font-size: 16px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .psb-navbar .brand-badge {
    font-size: 9px;
    padding: 1px 5px;
  }
  .psb-navbar .brand-subtitle {
    display: block !important; /* Subtitle brand tetap selalu tampil di mode HP dan Tablet */
    font-size: 10.5px;
    font-weight: 600;
    color: var(--dark-500);
    line-height: 1.2;
    margin-top: 1px;
    white-space: normal;
  }

  /* Dropdown Drawer Collapse untuk Tablet & Mobile */
  .psb-navbar .navbar-collapse {
    float: none !important;
    width: 100% !important;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg) !important;
    border: 1px solid var(--border-color);
    margin-top: 12px;
    padding: 14px 16px !important;
    max-height: 80vh;
    overflow-y: auto;
  }

  /* Override Bootstrap 3 desktop auto-expand saat breakpoint tablet */
  .psb-navbar .navbar-collapse.collapse {
    display: none !important;
    height: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
  }
  .psb-navbar .navbar-collapse.collapsing {
    display: block !important;
    position: relative !important;
  }
  .psb-navbar .navbar-collapse.in,
  .psb-navbar .navbar-collapse.collapse.in {
    display: block !important;
    height: auto !important;
    overflow-y: auto !important;
  }

  .psb-navbar .navbar-nav,
  .psb-navbar .navbar-right {
    float: none !important;
    margin: 6px 0 !important;
    width: 100% !important;
  }
  .psb-navbar .nav > li {
    float: none !important;
    width: 100%;
    margin-bottom: 2px;
  }
  .psb-navbar .nav > li > a {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border-radius: var(--radius-sm);
  }
  .psb-navbar .nav-cta-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 12px 0 0 0 !important;
    gap: 8px !important;
  }
  .psb-navbar .nav-cta-group .psb-btn {
    width: 100% !important;
    padding: 10px 0 !important;
    font-size: 14px !important;
  }
}

/* ==========================================================================
   BREAKPOINTS: TABLET CONTENT (768px - 991px)
   ========================================================================== */
@media (min-width: 768px) and (max-width: 991px) {
  .psb-hero {
    padding: 120px 0 80px;
  }
  .psb-hero-title {
    font-size: 34px;
    color: #ffffff !important;
  }
  .psb-hero-desc {
    font-size: 14.5px;
  }

  /* Stats Ribbon: 2x2 grid on Tablet */
  .psb-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Alur: 3 columns then 2 columns on Tablet */
  .psb-step-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Tier: 3 columns with compact padding */
  .psb-tier-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .psb-tier-card {
    padding: 22px 14px;
  }
  .psb-tier-name {
    font-size: 18px;
  }
  .psb-tier-price {
    font-size: 24px;
  }
  .psb-tier-features li {
    font-size: 12px;
  }

  /* Schedule: 3 columns */
  .psb-schedule-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .psb-schedule-card {
    padding: 16px 14px;
  }
  .psb-schedule-title {
    font-size: 14.5px;
  }
}

/* ==========================================================================
   BREAKPOINTS: MOBILE PHONES CONTENT (< 768px)
   ========================================================================== */
@media (max-width: 767px) {
  /* Hero Mobile */
  .psb-hero {
    padding: 95px 0 45px;
    text-align: center;
  }

  .psb-hero-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .psb-hero-left-col,
  .psb-hero-right-col {
    display: contents !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .psb-hero-badge {
    order: 1 !important;
    font-size: 11.5px;
    padding: 6px 14px;
    margin: 0 auto 16px auto !important;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
    display: inline-flex !important;
  }

  /* Hilangkan judul & deskripsi di mode HP sesuai permintaan user */
  .psb-hero-title {
    display: none !important;
  }
  .psb-hero-desc {
    display: none !important;
  }

  /* Posisi showcase di atas sebelum button daftar */
  .psb-hero-showcase {
    order: 2 !important;
    width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
  }

  /* Button daftar dan CTA lainnya berada setelah showcase (diberikan margin samping agar tidak mepet garis layar) */
  .psb-hero-actions {
    order: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    margin-bottom: 24px !important;
    margin-top: 0 !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box !important;
  }

  .psb-hero-actions .psb-btn {
    width: 100%;
    padding: 12px 0;
    font-size: 14.5px;
  }

  .psb-hero-card {
    padding: 22px 18px;
    border-radius: var(--radius-lg);
  }
  .psb-hero-card h3 {
    font-size: 18px;
  }
  .hero-showcase-image-box {
    height: 205px;
  }
  .hero-float-badge.badge-top-right {
    top: 8px;
    right: 8px;
    padding: 4px 9px;
  }
  .hero-float-badge.badge-bottom-left {
    display: none;
  }
  .hero-img-switcher {
    bottom: 8px;
    right: 8px;
  }
  .img-switch-btn {
    font-size: 10px;
    padding: 3px 8px;
  }
  .hero-showcase-content {
    padding: 16px 18px;
    text-align: left !important;
  }
  .showcase-header {
    text-align: left !important;
  }
  body.psb-modern .showcase-title,
  .showcase-title {
    color: #ffffff !important;
    text-align: left !important;
  }
  .showcase-desc {
    text-align: left !important;
  }

  /* Stats Ribbon Mobile */
  .psb-stats-ribbon {
    margin-top: 15px;
  }
  .psb-stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .psb-stats-card {
    padding: 14px;
    gap: 12px;
  }
  .psb-stats-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
  .psb-stats-info h4 {
    font-size: 14.5px;
  }
  .psb-stats-info p {
    font-size: 12px;
  }

  /* Section Titles Mobile */
  .psb-section {
    padding: 48px 0;
  }
  .psb-section-header {
    margin-bottom: 30px;
  }
  .psb-section-title {
    font-size: 24px;
    line-height: 1.3;
  }
  .psb-section-subtitle {
    font-size: 13.5px;
  }

  /* Alur Steps Mobile: Vertical List */
  .psb-step-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .psb-step-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 16px 14px;
    gap: 14px;
  }
  .psb-step-number {
    margin-bottom: 0;
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
  .psb-step-content {
    flex-grow: 1;
  }
  .psb-step-item h4 {
    margin-top: 0;
    margin-bottom: 4px;
    font-size: 14px;
  }

  /* Bank Banner Mobile */
  .psb-bank-banner {
    padding: 22px 16px;
    border-radius: var(--radius-lg);
  }
  .psb-bank-card-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .psb-bank-account {
    font-size: 18px;
    padding: 8px 12px;
    width: 100%;
    justify-content: center;
  }

  /* Pricing / Tier Cards Mobile */
  .psb-tier-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .psb-tier-card {
    padding: 24px 18px;
  }
  .psb-tier-card.featured {
    transform: none;
  }

  /* Schedule Cards Mobile */
  .psb-schedule-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Google Map Mobile */
  .psb-map-frame {
    height: 260px !important;
    margin-bottom: 20px;
  }

  .psb-card {
    padding: 20px 16px;
  }

  /* Floating WhatsApp Mobile */
  .psb-wa-widget {
    right: 16px;
    bottom: 20px;
  }
  .psb-wa-pill {
    padding: 10px;
    border-radius: 50%;
  }
  .psb-wa-pill span {
    display: none;
  }
  .psb-wa-icon {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }
}

/* Extra small devices (< 380px) */
@media (max-width: 380px) {
  .psb-navbar .brand-title {
    font-size: 14px;
  }
  .psb-navbar .brand-subtitle {
    display: block !important;
    font-size: 9px;
    line-height: 1.15;
  }
  .psb-hero-title {
    font-size: 23px;
  }
}
