/* Import Font dan Variabel Dasar */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

:root {
  --primary: #5e72e4; /* Warna primer baru yang lebih formal */
  --secondary: #825ee4;
  --text-light: #e0e0e0;
  --bg-card: rgba(255, 255, 255, 0.05);
  --border-card: rgba(255, 255, 255, 0.2);
}

@property --gradient-size {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 40%;
}

::selection { background: var(--primary); color: #fff; }

/* Reset & Gaya Dasar */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: "Poppins", sans-serif;
  background: radial-gradient(circle at center, #172b4d, #2a3a65 var(--gradient-size), #000 100%);
  animation: pulseGradient 8s ease-in-out infinite;
  color: var(--text-light);
  line-height: 1.7;
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #121212; }
::-webkit-scrollbar-thumb { background: linear-gradient(135deg, #172b4d, #2a3a65); border-radius: 4px; }
a { text-decoration: none; }

/* Navigasi & Chatbox (Sama seperti halaman lain) */
.button-container {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; background: rgba(14, 14, 18, 0.7); width: 90%;
  max-width: 320px; height: 55px; align-items: center; justify-content: space-around;
  border-radius: 27.5px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37); z-index: 1000;
  backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1);
}
.button {
  border: none; width: 45px; height: 45px; border-radius: 50%; background-color: transparent;
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: transform 0.3s, background-color 0.2s; cursor: pointer;
}
.button:hover { transform: translateY(-3px); background-color: rgba(255, 255, 255, 0.1); }
.button i { font-size: 18px; }
.chat-box {
  position: fixed; bottom: 90px; right: 20px; width: 90%; max-width: 320px;
  max-height: 450px; display: flex; flex-direction: column; background-color: #1a1a1a;
  border-radius: 15px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37); overflow: hidden;
  z-index: 999; visibility: hidden; opacity: 0; transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
/* Style Chatbox lainnya disamakan */
.chat-header { padding: 12px 15px; background-color: #111; display: flex; justify-content: space-between; align-items: center; color: white; font-weight: 600; }
.chat-button { background: transparent; border: none; color: white; font-size: 20px; cursor: pointer; }
.chat-body { padding: 16px; flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.chat-footer { display: flex; border-top: 1px solid #333; padding: 10px; gap: 8px; }
.chat-footer input { flex: 1; padding: 10px 15px; border-radius: 20px; border: 1px solid #444; outline: none; background-color: #333; color: #fff; }
.chat-footer button { padding: 10px 18px; background-color: var(--primary); color: white; border: none; border-radius: 20px; cursor: pointer; }
.bot { background-color: #333; padding: 10px 15px; max-width: 85%; border-radius: 15px 15px 15px 0; align-self: flex-start; }
.user { background-color: var(--primary); padding: 10px 15px; max-width: 85%; border-radius: 15px 15px 0 15px; align-self: flex-end; }

/* Gaya Section Umum */
.section { padding: clamp(60px, 10vh, 100px) 5%; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem); margin-bottom: 1rem; color: #ffffff;
  border-bottom: 3px solid var(--primary); padding-bottom: 0.75rem; display: inline-block;
}
.section-title p { color: #b2bec3; font-size: clamp(1rem, 2.5vw, 1.1rem); max-width: 600px; margin: 0 auto; }

/* Hero Section */
#hero {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; min-height: 100vh; padding: 0 20px;
}
#hero img {
  width: clamp(150px, 30vw, 250px); height: auto; margin-bottom: 20px;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5));
}
.hero-text {
  font-size: clamp(2rem, 6vw, 4rem); font-weight: 700; color: #fff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); letter-spacing: 1px;
}
.hero-text span { display: inline-block; }
.hero-subtext { font-size: clamp(1rem, 2.5vw, 1.5rem); color: var(--text-light); margin-top: 10px; }


/* Jalur Pendaftaran */
.jalur-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem; margin-top: 2rem;
}
.jalur-card {
  background: var(--bg-card); border: 1px solid var(--border-card);
  backdrop-filter: blur(10px); padding: 2rem; border-radius: 15px;
  text-align: center; transition: transform 0.3s, box-shadow 0.3s;
}
.jalur-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.jalur-icon {
  font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem;
  display: inline-block; background: rgba(94, 114, 228, 0.1);
  width: 70px; height: 70px; line-height: 70px; border-radius: 50%;
}
.jalur-card h3 { font-size: 1.4rem; color: #fff; margin-bottom: 0.5rem; }
.jalur-card p { color: #b2bec3; }
.info-lengkap { text-align: center; margin-top: 3rem; }
.cta-button {
  display: inline-block; padding: 12px 28px; font-size: 16px; color: #fff;
  background-color: var(--primary); border: 2px solid var(--primary);
  border-radius: 34px; font-weight: 600; transition: all 0.3s;
}
.cta-button:hover { background-color: transparent; transform: translateY(-2px); }

/* Alur Pendaftaran (Timeline) */
.timeline-container {
    position: relative; max-width: 800px; margin: 0 auto;
    padding: 2rem 0;
}
.timeline-container::before {
    content: ''; position: absolute; left: 50%; transform: translateX(-50%);
    top: 0; bottom: 0; width: 2px; background-color: rgba(255,255,255,0.2);
}
.timeline-item {
    padding: 1rem 3rem; position: relative; width: 50%;
}
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }
.timeline-icon {
    position: absolute; top: 2.5rem; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%; background: var(--primary);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; z-index: 1; border: 3px solid #172b4d;
}
.timeline-item:nth-child(odd) .timeline-icon { right: -20px; }
.timeline-item:nth-child(even) .timeline-icon { left: -20px; }
.timeline-content {
    padding: 1.5rem; background: var(--bg-card); border-radius: 10px;
    border: 1px solid var(--border-card);
}
.timeline-content h3 { color: var(--primary); font-size: 1.3rem; margin-bottom: 0.5rem; }
.timeline-content time { font-weight: 600; color: #fff; display: block; margin-top: 0.5rem; }

/* Biaya Kuliah */
#biaya-kuliah { background-color: rgba(0,0,0,0.2); }
.biaya-content {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; max-width: 900px; margin: auto;
}
.biaya-card {
    padding: 2rem; background: var(--bg-card); border-radius: 15px;
    border: 1px solid var(--border-card); text-align: center;
}
.biaya-card h4 { font-size: 1.2rem; color: #b2bec3; margin-bottom: 1rem; }
.biaya-card .harga { font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.biaya-card .beasiswa-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }

/* Ajakan & Kontak */
.ajakan { text-align: center; }
.ajakan h2 { font-size: clamp(1.8rem, 5vw, 2.2rem); }
.kontak-info { margin-top: 2rem; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cta-button.alt { background-color: transparent; border-color: #fff; }
.cta-button.alt:hover { background-color: #fff; color: #111; }

/* Footer (Sama seperti halaman lain) */
.site-footer {
  background: #0e0e12; padding: 40px 5%; color: #b2bec3;
}
.footer-content {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem; max-width: 1200px; margin: 0 auto; padding-bottom: 30px;
  border-bottom: 1px solid #333;
}
.footer-logo img { width: 100px; margin-bottom: 10px; }
.footer-content h4 { font-size: 1.2rem; color: #fff; margin-bottom: 15px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #b2bec3; transition: color 0.3s; }
.footer-links a:hover { color: var(--primary); }
.footer-kontak p { margin-bottom: 10px; }
.footer-kontak i { margin-right: 10px; color: var(--primary); }
.footer-bottom { text-align: center; padding-top: 20px; font-size: 0.9rem; }

@keyframes pulseGradient { 0%, 100% { --gradient-size: 40%; } 50% { --gradient-size: 60%; } }

/* Responsivitas */
@media(max-width: 768px){
    .timeline-container::before { left: 20px; }
    .timeline-item { width: 100%; padding-left: 50px; padding-right: 1rem; }
    .timeline-item:nth-child(even), .timeline-item:nth-child(odd) {
        left: 0; text-align: left;
    }
    .timeline-icon { left: 0; }
    .timeline-item:nth-child(odd) .timeline-icon, .timeline-item:nth-child(even) .timeline-icon {
        left: 0;
    }
}