/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  --brand:          #7F77DD;
  --brand-dark:     #534AB7;
  --brand-deeper:   #3C3489;
  --brand-light:    #EEEDFE;
  --brand-mid:      #CECBF6;
  --brand-muted:    #AFA9EC;

  --green:          #1D9E75;
  --green-bg:       #E1F5EE;
  --green-text:     #085041;

  --text-primary:   #1A1A2E;
  --text-secondary: #6B6B80;
  --bg-primary:     #FFFFFF;
  --bg-secondary:   #F7F7FA;
  --border-light:   #E8E8F0;
  --border-medium:  #D0D0DE;

  --max-w: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp .5s ease forwards; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   HERO — 2 kolom desktop, stack mobile
   ============================================================ */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 1.5rem 2.5rem;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.hero-photo-wrap { flex-shrink: 0; }

.hero-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--brand-light);
  display: block;
}

.hero-content { flex: 1; text-align: left; }

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green-bg);
  color: var(--green-text);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 1rem;
}

.availability-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.3); }
}

.hero-title {
  font-size: 32px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: .75rem;
}

.hero-title em { font-style: normal; color: var(--brand); }

.hero-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 420px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: .75rem; }

.hero-wa-number {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color .15s;
}
.hero-wa-number:hover { color: var(--brand-dark); }

@media (max-width: 580px) {
  .hero-inner { flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; }
  .hero-content { text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-wa-number { justify-content: center; }
}

/* BUTTONS */
.btn-primary {
  background: var(--brand); color: var(--brand-light); border: none;
  padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background .15s, transform .1s;
}
.btn-primary:hover  { background: var(--brand-dark); }
.btn-primary:active { transform: scale(.97); }

.btn-outline {
  background: transparent; color: var(--text-primary);
  border: .5px solid var(--border-medium);
  padding: 10px 22px; border-radius: 8px; font-size: 14px;
  cursor: pointer; transition: background .15s, transform .1s;
}
.btn-outline:hover  { background: var(--bg-secondary); }
.btn-outline:active { transform: scale(.97); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  display: flex;
  justify-content: center;
  gap: 0;
  border-top: .5px solid var(--border-light);
  border-bottom: .5px solid var(--border-light);
}

.stats-bar > div {
  flex: 1;
  padding: 1.25rem 1rem;
  text-align: center;
  border-right: .5px solid var(--border-light);
}

.stats-bar > div:last-child { border-right: none; }

.stat-number { font-size: 18px; font-weight: 500; color: var(--brand-dark); text-align: center; }
.stat-label  { font-size: 11px; color: var(--text-secondary); text-align: center; margin-top: 3px; line-height: 1.4; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  border-bottom: .5px solid var(--border-light);
}
.section:last-of-type { border-bottom: none; }

/* Section label dengan garis aksen */
.section-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-dark);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::after {
  content: '';
  flex: 1;
  height: .5px;
  background: var(--border-light);
}

/* ============================================================
   FILTER BAR — diberi container biar kelihatan
   ============================================================ */
.filter-bar-wrap {
  background: var(--bg-secondary);
  border: .5px solid var(--border-light);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 1.25rem;
}

.filter-bar { display: flex; gap: 6px; flex-wrap: wrap; }

.filter-tag {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: .5px solid transparent;
  transition: background .15s, color .15s, transform .1s;
  user-select: none;
}
.filter-tag:active   { transform: scale(.96); }
.filter-tag.active   { background: var(--brand); color: var(--brand-light); }
.filter-tag.inactive { background: var(--bg-primary); color: var(--text-secondary); border-color: var(--border-light); }
.filter-tag.inactive:hover { border-color: var(--border-medium); }

/* PROJECT GRID */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.project-card {
  background: var(--bg-primary);
  border: .5px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.project-card:hover {
  border-color: var(--brand-muted);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(127,119,221,.1);
}

.card-thumbnail { height: 150px; overflow: hidden; position: relative; }
.card-thumbnail img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
  transition: transform .3s ease;
}
.project-card:hover .card-thumbnail img { transform: scale(1.04); }

.card-category-badge {
  position: absolute; top: 10px; right: 10px;
  font-size: 11px; font-weight: 500;
  padding: 3px 10px; border-radius: 999px;
}

.card-body { padding: 13px 15px; }
.card-title { font-size: 15px; font-weight: 500; color: var(--text-primary); margin-bottom: 4px; }
.card-description { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 10px; }
.card-footer { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.pill-group { display: flex; gap: 5px; flex-wrap: wrap; }
.tech-pill { font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 999px; }
.card-live-link { font-size: 12px; color: var(--brand-dark); text-decoration: none; font-weight: 500; white-space: nowrap; transition: color .15s; }
.card-live-link:hover { text-decoration: underline; }

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
  margin-bottom: 1rem;
}

.pricing-card {
  background: var(--bg-primary);
  border: .5px solid var(--border-light);
  border-radius: 12px;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.pricing-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.pricing-card.featured { border: 2px solid var(--brand); }

.pricing-card-badge {
  position: absolute; top: 0; right: 0;
  background: var(--brand); color: var(--brand-light);
  font-size: 11px; font-weight: 500;
  padding: 4px 12px; border-radius: 0 10px 0 8px;
}

.pricing-icon    { font-size: 24px; margin-bottom: 10px; }
.pricing-name    { font-size: 15px; font-weight: 500; color: var(--text-primary); margin-bottom: 6px; }
.pricing-row     { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.pricing-amount  { font-size: 20px; font-weight: 500; color: var(--brand-dark); }
.pricing-period  { font-size: 12px; color: var(--text-secondary); }
.pricing-duration{ font-size: 11px; color: var(--text-secondary); margin-bottom: 10px; }

.pricing-features { list-style: none; margin-bottom: 14px; }
.pricing-features li { font-size: 12px; color: var(--text-secondary); padding: 3px 0; display: flex; align-items: center; gap: 6px; }
.feature-check { width: 14px; height: 14px; border-radius: 50%; background: var(--green-bg); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

.pricing-btn {
  width: 100%; background: var(--brand); color: var(--brand-light);
  border: none; padding: 8px; border-radius: 8px;
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: background .15s, transform .1s;
}
.pricing-btn:hover  { background: var(--brand-dark); }
.pricing-btn:active { transform: scale(.98); }
.pricing-btn.outline { background: transparent; color: var(--brand-dark); border: .5px solid var(--brand); }
.pricing-btn.outline:hover { background: var(--brand-light); }

/* URGENCY / SLOT */
.urgency-note {
  background: var(--brand-light);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--brand-deeper);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.slot-indicators { display: flex; gap: 6px; }
.slot-pip { width: 16px; height: 8px; border-radius: 999px; }
.slot-pip.used { background: var(--brand); }
.slot-pip.free { background: var(--bg-primary); border: .5px solid var(--brand-muted); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--bg-primary); border: .5px solid var(--border-light); border-radius: 10px; overflow: hidden; transition: border-color .2s; }
.faq-item:has(.faq-question[aria-expanded="true"]) { border-color: var(--brand-muted); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: none; border: none; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--text-primary); text-align: left; transition: background .15s; }
.faq-question:hover { background: var(--bg-secondary); }
.faq-chevron { flex-shrink: 0; color: var(--text-secondary); transition: transform .25s ease; }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 16px; }
.faq-answer.open { max-height: 200px; padding: 0 16px 14px; }
.faq-answer p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* CONTACT */
.contact-box { background: var(--bg-secondary); border: .5px solid var(--border-light); border-radius: 12px; padding: 2rem 1.5rem; text-align: center; }
.contact-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--brand-light); margin: 0 auto 12px; display: block; }
.contact-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--brand-mid); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 500; color: var(--brand-deeper); margin: 0 auto 10px; }
.contact-name { font-size: 20px; font-weight: 500; color: var(--text-primary); margin-bottom: 4px; }
.contact-subtitle { font-size: 13px; color: var(--text-secondary); margin-bottom: 1.5rem; }
.contact-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.contact-link { display: flex; align-items: center; gap: 6px; font-size: 13px; padding: 8px 16px; border-radius: 8px; border: .5px solid var(--border-medium); color: var(--text-primary); text-decoration: none; background: var(--bg-primary); transition: border-color .15s, transform .1s; }
.contact-link:hover  { border-color: var(--brand-muted); }
.contact-link:active { transform: scale(.97); }

/* UTILITY */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.text-center { text-align: center; }
.consult-link { font-size: 12px; color: var(--text-secondary); }
.consult-link a { color: var(--brand-dark); text-decoration: none; font-weight: 500; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: .5px solid var(--border-light);
}

.navbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
}

.navbar-photo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-light);
  display: block;
  flex-shrink: 0;
}

.navbar-logo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-light);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-link {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color .15s, background .15s;
}

.navbar-link:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.navbar-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-light);
  background: var(--brand);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 7px;
  margin-left: 6px;
  transition: background .15s;
}

.navbar-cta:hover { background: var(--brand-dark); }

/* Hamburger */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: .5px solid var(--border-light);
  border-radius: 7px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.navbar-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}

.navbar-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navbar-hamburger.open span:nth-child(2) { opacity: 0; }
.navbar-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.navbar-mobile {
  display: none;
  flex-direction: column;
  padding: 10px 1.5rem 14px;
  border-top: .5px solid var(--border-light);
  gap: 2px;
}

.navbar-mobile.open { display: flex; }

.navbar-mobile-link {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}

.navbar-mobile-link:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.navbar-mobile-cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-light);
  background: var(--brand);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  margin-top: 6px;
  text-align: center;
  transition: background .15s;
}

.navbar-mobile-cta:hover { background: var(--brand-dark); }

@media (max-width: 580px) {
  .navbar-links      { display: none; }
  .navbar-hamburger  { display: flex; }
}

/* ============================================================
   TICKER / MARQUEE
   ============================================================ */
.ticker-wrap {
  overflow: hidden;
  border-top: .5px solid var(--border-light);
  border-bottom: .5px solid var(--border-light);
  padding: 10px 0;
  background: var(--bg-secondary);
}

.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  padding: 0 18px;
}

.ticker-sep {
  font-size: 13px;
  color: var(--border-medium);
  padding: 0 2px;
  flex-shrink: 0;
}

/* ============================================================
   CARA KERJA — roadmap vertical
   ============================================================ */
.roadmap {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 560px;
}

.roadmap-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.roadmap-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.roadmap-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--brand);
  flex-shrink: 0;
  z-index: 1;
}

.roadmap-circle--final {
  background: var(--brand);
  color: var(--brand-light);
}

.roadmap-line {
  width: 2px;
  flex: 1;
  min-height: 32px;
  background: var(--border-light);
  margin: 4px 0;
}

.roadmap-content {
  padding-bottom: 2rem;
}

.roadmap-step--last .roadmap-content {
  padding-bottom: 0;
}

.roadmap-icon {
  font-size: 22px;
  margin-bottom: 6px;
  margin-top: 4px;
}

.roadmap-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.roadmap-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Show more */
.show-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.show-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-dark);
  background: var(--brand-light);
  border: .5px solid var(--brand-muted);
  padding: 10px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, transform .1s;
}

.show-more-btn:hover  { background: var(--brand-mid); }
.show-more-btn:active { transform: scale(.97); }

/* ============================================================
   KENAPA SAYA — why grid
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.why-card {
  background: var(--bg-primary);
  border: .5px solid var(--border-light);
  border-radius: 12px;
  padding: 1.25rem;
  transition: border-color .2s, transform .2s;
}

.why-card:hover {
  border-color: var(--brand-muted);
  transform: translateY(-2px);
}

.why-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.why-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.why-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   PROJECT TOGGLE BUTTON
   ============================================================ */
.project-toggle-wrap {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.project-toggle-btn {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-dark);
  background: var(--brand-light);
  border: 1.5px solid var(--brand-muted);
  padding: 10px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s;
}

.project-toggle-btn:hover {
  background: var(--brand-mid);
  border-color: var(--brand);
}

.project-toggle-btn:active { transform: scale(.97); }

.project-toggle-btn.outline {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-light);
}

.project-toggle-btn.outline:hover {
  background: var(--bg-secondary);
  border-color: var(--border-medium);
}
