/* Beranda enhancements */

.line {
  border-bottom: 4px solid var(--accent-color);
  height: 0;
  width: 72px;
  margin: 0 auto 1.5rem;
  border-radius: 999px;
}

.section-subtitle {
  color: #64748b;
  max-width: 640px;
  margin: 0.5rem auto 0;
  font-size: 1rem;
}

/* Hero */
.hero .hero-content {
  max-width: 900px;
  padding: 2rem 1rem 4rem;
}

.hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.hero .btn-hero-primary,
.hero .btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero .btn-hero-primary {
  background: var(--accent-color);
  color: #fff;
  box-shadow: 0 10px 24px rgba(248, 34, 73, 0.35);
}

.hero .btn-hero-primary:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 14px 28px rgba(248, 34, 73, 0.4);
}

.hero .btn-hero-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero .btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.hero .about-info .info-panel {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 1.25rem;
  height: 100%;
  backdrop-filter: blur(6px);
}

.hero .about-info .info-panel h3 {
  font-size: 1rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  color: #fff;
}

.hero .about-info .info-panel p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.hero .about-info .cta-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* Profile */
.profile {
  padding: 4rem 0;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.feature-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2rem 1.5rem;
  height: 100%;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.feature-card .feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 34, 73, 0.1);
  color: var(--accent-color);
  font-size: 2rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* Kelas */
.kelas {
  padding: 4rem 0;
  background: #0e1b4d;
}

.kelas .section-title h2,
.kelas .section-subtitle {
  color: #fff;
}

.kelas .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.kelas .line {
  border-color: #fff;
}

.program-card {
  background: linear-gradient(145deg, #1a2f6b 0%, #0e1b4d 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.75rem 1.25rem;
  height: 100%;
  transition: all 0.25s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.program-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
  box-shadow: 0 18px 40px rgba(248, 34, 73, 0.25);
}

.program-card .program-code {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(248, 34, 73, 0.18);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.program-card .program-name {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.program-card .program-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.55;
}

.program-card .program-icon {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
  display: block;
}

/* Timeline / Info */
.timeline {
  padding: 4rem 0;
  background: #f8fafc;
}

.stat-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.75rem 1.25rem;
  height: 100%;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-card .stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 34, 73, 0.1);
  color: var(--accent-color);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0e1b4d;
  margin-bottom: 0.25rem;
}

.stat-card .stat-label {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0;
}

.stat-card .period-links a {
  display: block;
  padding: 0.35rem 0;
  color: #334155;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.stat-card .period-links a:hover {
  color: var(--accent-color);
}

/* Syarat */
.syarat {
  padding: 4rem 0;
}

.requirement-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.2s ease;
}

.requirement-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 8px 20px rgba(248, 34, 73, 0.08);
  transform: translateX(4px);
}

.requirement-card .req-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 34, 73, 0.1);
  color: var(--accent-color);
  font-size: 1.2rem;
}

.requirement-card .req-text {
  flex: 1;
  margin: 0;
  font-weight: 600;
  color: #1e293b;
}

.requirement-card .req-note {
  flex-shrink: 0;
  color: #94a3b8;
  font-size: 0.85rem;
  max-width: 120px;
  text-align: right;
}

.syarat-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Payment */
.payment {
  padding: 4rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.payment-box {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
}

.payment .nav-pills .nav-link {
  border-radius: 999px !important;
  color: #475569;
  font-weight: 600;
  margin: 0.25rem;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.payment .nav-pills .nav-link.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

.payment .table {
  margin-bottom: 0;
}

.payment .table thead th {
  background: #0e1b4d;
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 0.9rem;
}

.payment .table tbody td {
  vertical-align: middle;
  padding: 0.85rem;
}

.payment .table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.payment .table tbody tr:last-child {
  background: rgba(248, 34, 73, 0.08);
  font-weight: 700;
}

/* Contact */
.contact {
  padding: 4rem 0;
  background: #fff;
}

.contact-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem;
  height: 100%;
  transition: all 0.2s ease;
}

.contact-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
}

.contact-card .contact-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #0e1b4d;
  margin-bottom: 0.75rem;
}

.contact-card .contact-card-title i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.contact-card p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.contact-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* CTA Bottom */
.cta-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #0e1b4d 0%, #1d4ed8 100%);
  color: #fff;
}

.cta-section h3,
.cta-section h4 {
  color: #fff;
}

.cta-section .line {
  border-color: #fff;
  margin-left: 0;
}

.cta-metric {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  height: 100%;
}

.cta-metric h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.cta-metric p {
  margin: 0;
  opacity: 0.85;
}

.cta-section .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  background: #fff;
  color: #0e1b4d;
  font-weight: 700;
  text-decoration: none;
  margin-top: 1rem;
  transition: transform 0.2s ease;
}

.cta-section .btn-cta:hover {
  transform: translateY(-2px);
  color: #0e1b4d;
}

/* Modal kelas */
.kelas-modal .modal-header {
  background: #0e1b4d;
  color: #fff;
}

.kelas-modal .modal-title {
  color: #fff;
}

.kelas-modal .btn-close {
  filter: invert(1);
}

@media (max-width: 767.98px) {
  .hero h2 {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
  }

  .requirement-card {
    flex-direction: column;
  }

  .requirement-card .req-note {
    max-width: none;
    text-align: left;
  }

  .payment .nav-pills {
    flex-wrap: wrap;
  }
}
