/* --- Design Tokens & Variables --- */
:root {
  --bg-global: #f8fafc;
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-muted: #475569;
  --accent-color: #059669; /* Warna Emerald Green yang Mewah & Profesional */
  --accent-hover: #047857;
  --accent-light: #ecfdf5;
  --verified-blue: #0ea5e9;
  --border-color: #e2e8f0;
  
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Resets & Typography --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-global);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Cover Header --- */
.hero-cover {
  width: 100%;
  height: 240px;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.2)), url('images/img1.png') center/cover no-repeat;
}

/* --- Sticky Profile Navbar --- */
.profile-navbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.navbar-container {
  width: min(92%, 850px);
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: var(--transition-smooth);
}

.profile-avatar-box {
  width: 100px;
  height: 100px;
  margin-top: -70px;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-card);
  box-shadow: var(--shadow-md);
}

.profile-meta {
  text-align: center;
}

.profile-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.profile-name {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.verified-badge {
  color: var(--verified-blue);
  font-size: clamp(16px, 2vw, 20px);
}

/* Navbar Scrolled State */
.profile-navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.profile-navbar.scrolled .navbar-container {
  flex-direction: row;
  justify-content: center;
  padding: 12px 20px;
  gap: 16px;
}

.profile-navbar.scrolled .profile-avatar-box {
  width: 44px;
  height: 44px;
  margin-top: 0;
}

/* --- Container & Main Card --- */
.container {
  width: min(92%, 850px);
  margin: 0 auto;
  padding: 40px 0 80px;
}

.luxury-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 48px);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.badge {
  text-align: center;
  margin-bottom: 20px;
}

.badge-text {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: -0.01em;
}

.subtext {
  text-align: center;
  font-size: clamp(15px, 2.2vw, 17px);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 32px;
}

/* --- Slideshow --- */
.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  margin: 0 auto 32px;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background-color: #000000;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: slideAnimation 12s infinite ease-in-out;
}

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

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 4s; }
.slide:nth-child(3) { animation-delay: 8s; }

@keyframes slideAnimation {
  0%, 100% { opacity: 0; }
  4%, 33% { opacity: 1; }
  37% { opacity: 0; }
}

/* --- Call To Action Buttons (Clean & Premium) --- */
.cta-wrapper {
  text-align: center;
  margin: 36px 0;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  font-size: clamp(16px, 2.5vw, 18px);
  font-weight: 600;
  letter-spacing: 0.05em;
  width: min(100%, 380px);
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--accent-color);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

.cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
}

.cta-btn:active {
  transform: translateY(0);
}

/* --- RE-DESIGNED: Steps Section (Premium Onboarding Grid) --- */
.steps-container {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 40px 32px;
  margin-top: 48px;
  border: 1px solid var(--border-color);
}

.steps-title {
  text-align: center;
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Otomatis membagi menjadi 4 kolom horizontal di desktop */
  gap: 20px;
}

.step-card {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 20px -8px rgba(15, 23, 42, 0.08);
}

.step-header {
  display: flex;
  align-items: center;
}

.step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-color);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.step-text {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.6;
}

/* --- Footer --- */
.site-footer {
  text-align: center;
  padding-top: 32px;
  margin-top: 48px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  border-top: 1px solid var(--border-color);
}

/* --- Responsive Breakpoints --- */
@media(max-width: 992px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr); /* Tampilan tablet menjadi 2x2 grid */
  }
}

@media(max-width: 560px) {
  .hero-cover { height: 160px; }
  .profile-navbar.scrolled .navbar-container { padding: 8px 16px; }
  .profile-avatar-box { width: 80px; height: 80px; margin-top: -55px; }
  .luxury-card { padding: 24px 16px; }
  
  .steps-grid {
    grid-template-columns: 1fr; /* Tampilan mobile kembali vertikal yang clean tunggal */
    gap: 16px;
  }
  .steps-container {
    padding: 32px 16px;
  }
}