:root {
  --bg:        #0c0e11;
  --bg-soft:   #12151a;
  --panel:     #161a21;
  --panel-line:#262c35;
  --text:      #e9ecf1;
  --muted:     #9aa3b2;
  --accent:    #FF8C42;
  --accent-soft:#FF6B1A;
  --btn-bg:    #e9ecf1;
  --btn-text:  #0c0e11;
  --radius-lg: 12px;
  --radius-md: 8px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --bg-deep:   #0c0e11;
  --bg-elev:   #1a1f27;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--panel-line);
}

/* Hamburger nav — hanya muncul mobile */
.nav-toggle {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
}
.brand-mark img,
.lt-avatar-mark img,
.modal-brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg-deep);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease;
}

.btn-primary:hover {
  background: var(--accent-soft);
}

.btn-primary .arrow {
  transition: transform 160ms ease;
}
.btn-primary:hover .arrow {
  transform: translateX(2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--panel-line);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 160ms ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--panel-line);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: background 160ms ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-login {
  min-width: 88px;
}

/* Dasbor disembunyikan default; refreshNav() menampilkan saat login */
.nav-dashboard { display: none; }

/* Tombol "Kembali" di footer — hanya muncul saat login */
.footer-back {
  margin-left: auto;
  min-width: 120px;
  justify-content: center;
}

.hero {
  position: relative;
  padding: 80px 20px 72px;
  text-align: center;
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(120, 150, 255, 0.1);
  border: 1px solid rgba(120, 150, 255, 0.25);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.hero h1 {
  margin: 24px 0 0;
  font-family: var(--font-head);
  font-size: clamp(52px, 9vw, 96px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.grad {
  color: var(--accent);
}

.hero-sub {
  margin: 20px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta .btn-primary {
  padding: 14px 26px;
  font-size: 15px;
}

.hero-cta .btn-ghost {
  padding: 14px 26px;
  font-size: 15px;
}

.section {
  position: relative;
  padding: 72px 20px;
  max-width: 1120px;
  margin: 0 auto;
  z-index: 2;
}

/* ---- Linktree section ---- */
.linktree {
  max-width: 560px;
}

.lt-bio {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 32px;
}

.lt-avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(255, 140, 66, 0.15);
  border: 2px solid var(--accent);
}

.lt-avatar-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
}

.lt-name {
  margin: 0;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lt-tagline {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.lt-links {
  display: grid;
  gap: 14px;
}

.lt-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--panel-line);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 160ms ease;
}

.lt-card:hover {
  border-color: var(--panel-line);
  background: var(--bg-elev);
}


.lt-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  font-size: 22px;
}

.lt-discord {
  --lt: #5865f2;
  --lt2: #7b84ff;
}
.lt-discord .lt-icon {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.2), rgba(123, 132, 255, 0.2));
  color: var(--lt);
  border: 1px solid rgba(88, 101, 242, 0.4);
}
.lt-discord:hover {
  border-color: rgba(88, 101, 242, 0.7);
  box-shadow: 0 18px 44px rgba(88, 101, 242, 0.28);
}

.lt-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.lt-title {
  color: var(--text);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lt-sub {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lt-arrow {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 16px;
}

/* --- Modal Detail & Order RDP --- */
.rdp-modal {
  text-align: left;
  width: min(460px, 100%);
  max-height: 90vh;
  overflow-y: auto;
}

.rdp-modal-view {
  display: grid;
  gap: 16px;
}

.rdp-modal-view .rdp-card-head {
  margin-bottom: 0;
}

.rdp-modal-view h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
}

.rdp-detail-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-radius: 12px;
  background: rgba(120, 150, 255, 0.1);
  border: 1px solid rgba(120, 150, 255, 0.25);
}

.rdp-detail-price .price {
  margin: 0;
  font-size: 28px;
}

.rdp-modal .rdp-features {
  margin-bottom: 0;
}

.rdp-modal .btn-ghost {
  width: 100%;
  margin-top: 6px;
}

.rdp-modal .field {
  gap: 4px;
}

@media (max-width: 520px) {
  .rdp-modal {
    padding: 24px 18px;
  }
  .rdp-detail-price {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  max-width: none;
}

.section-alt .faq-grid {
  max-width: 1120px;
  margin: 0 auto;
}

.section-label {
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section-sub {
  margin: 14px 0 0;
  max-width: 480px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--panel-line);
  transition: border-color 180ms ease;
}

.card:hover {
  border-color: var(--panel-line);
  background: var(--bg-elev);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 20px;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 140, 66, 0.12);
  border: 1px solid rgba(255, 140, 66, 0.25);
  color: var(--accent);
}

.card h3 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  padding: 18px 20px;
  transition: border-color 200ms ease, background 200ms ease;
}

.faq-item:hover {
  border-color: rgba(120, 150, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent-soft);
  font-size: 22px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.price-card {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--panel-line);
  transition: border-color 180ms ease;
}

.price-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.price-card.featured {
  background: rgba(255, 140, 66, 0.08);
  border: 1px solid var(--accent);
}

.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  font-size: 11px;
  font-weight: 700;
  color: var(--bg-deep);
}

.price-card h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
}

.price {
  margin: 14px 0 6px;
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.per {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}

.price-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.price-features li {
  margin: 0 0 10px;
  padding-left: 22px;
  position: relative;
  color: var(--muted);
  font-size: 14px;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #6ee7a8;
}

/* ===== Etalase RDP ===== */
.pricing-rdp {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.rdp-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.rdp-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 18px;
}

.rdp-elite .rdp-card-head,
.rdp-card-head.rdp-elite {
  background: #f5a623;
  color: #1a1200;
}

.rdp-high .rdp-card-head,
.rdp-card-head.rdp-high {
  background: #a45bff;
  color: #fff;
}

.rdp-plan-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rdp-plan-dot {
  font-size: 15px;
}

.rdp-users {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 9px;
  border-radius: 999px;
}

.rdp-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.rdp-spec {
  position: relative;
  padding: 14px 12px;
  border-radius: 10px;
  border: 1px solid var(--panel-line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.rdp-spec .rdp-spec-ico {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 14px;
  opacity: 0.7;
}

.rdp-spec-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.rdp-spec-val {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
}

.rdp-elite .rdp-spec-cpu { background: rgba(245, 166, 35, 0.12); border-color: rgba(245, 166, 35, 0.35); }
.rdp-elite .rdp-spec-ram { background: rgba(88, 160, 255, 0.12); border-color: rgba(88, 160, 255, 0.35); }
.rdp-elite .rdp-spec-disk { background: rgba(255, 99, 99, 0.12); border-color: rgba(255, 99, 99, 0.35); }
.rdp-elite .rdp-spec-tr { background: rgba(46, 204, 140, 0.12); border-color: rgba(46, 204, 140, 0.35); }

.rdp-high .rdp-spec-cpu { background: rgba(255, 107, 157, 0.12); border-color: rgba(255, 107, 157, 0.35); }
.rdp-high .rdp-spec-ram { background: rgba(88, 160, 255, 0.12); border-color: rgba(88, 160, 255, 0.35); }
.rdp-high .rdp-spec-disk { background: rgba(255, 99, 99, 0.12); border-color: rgba(255, 99, 99, 0.35); }
.rdp-high .rdp-spec-tr { background: rgba(46, 204, 140, 0.12); border-color: rgba(46, 204, 140, 0.35); }

.rdp-os {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
}

.rdp-os-ico {
  font-size: 18px;
}

.rdp-features {
  margin-bottom: 12px;
}

.rdp-note {
  margin: 0 0 18px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.rdp-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--panel-line);
}

.rdp-price {
  margin: 0;
  font-size: 30px;
}

.rdp-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rdp-detail {
  padding: 10px 16px;
  font-size: 13px;
}

.cta-card {
  text-align: center;
  padding: 48px 24px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--panel-line);
}

.cta-card h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cta-card p {
  margin: 12px 0 26px;
  color: var(--muted);
}

.cta-card .btn-primary {
  padding: 14px 28px;
  font-size: 15px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(3, 6, 12, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: relative;
  width: min(400px, 100%);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid var(--panel-line);
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  transition: background 160ms ease, color 160ms ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.modal-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.modal h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modal-sub {
  margin: 6px 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
}

.auth-tab {
  padding: 9px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.auth-tab.is-active {
  background: rgba(255, 140, 66, 0.14);
  color: var(--text);
}

.auth-form {
  display: grid;
  gap: 14px;
  text-align: left;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 160ms ease, background 160ms ease;
}

.field input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 140, 66, 0.06);
}

.field input::placeholder {
  color: rgba(154, 164, 178, 0.6);
}

.form-msg {
  font-size: 13px;
  color: var(--muted);
}

.form-msg.is-error {
  color: #ff7a7a;
}

.form-msg.is-success {
  color: #6ee7a8;
}

.remember-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.remember-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

.auth-submit {
  width: 100%;
  margin-top: 4px;
  padding: 13px 20px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.btn-google {
  display: none;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 24px;
  border-top: 1px solid var(--panel-line);
  color: var(--muted);
  font-size: 14px;
  z-index: 2;
  position: relative;
  background: var(--bg-soft);
}

/* --- Tombol Dasbor melayang, kanan bawah beranda --- */
.fab-dashboard {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bg-elev);
  border: 1px solid var(--panel-line);
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  transition: background 140ms ease;
}

.fab-dashboard .fab-ico {
  font-size: 14px;
  color: var(--accent);
}

.fab-dashboard:hover {
  background: #20283a;
}

@media (max-width: 520px) {
  .fab-dashboard {
    right: 16px;
    bottom: 16px;
    padding: 10px 14px;
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    padding: 14px 18px;
  }

  .nav-links {
    display: none;
  }

  .nav-login {
    min-width: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 80px;
  }
}

/* --- Linktree compact: 2 kolom, rapi --- */
.lt-compact .lt-bio {
  margin-bottom: 28px;
}

.lt-compact .lt-links {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lt-compact .lt-card {
  padding: 14px 16px;
  gap: 12px;
}

.lt-compact .lt-card .lt-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.lt-compact .lt-card .lt-title {
  font-size: 14px;
}

.lt-compact .lt-card .lt-sub {
  font-size: 12px;
}

.lt-compact .lt-card .lt-arrow {
  font-size: 16px;
}

@media (max-width: 560px) {
  .lt-compact .lt-links {
    grid-template-columns: 1fr;
  }
}

/* ================= STATUS BADGE — tema ungu-biru ================= */
/* Dipakai untuk .status-success, .status-pending, .status-deploy di
   #transaction-log dan RDP modal. Sesuaikan --accent & --accent-soft. */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.status-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

/* Success — Deploy Sukses */
.status-success {
  background: rgba(110, 231, 168, 0.12);
  border: 1px solid rgba(110, 231, 168, 0.35);
  color: #6ee7a8;
}
.status-success::before { background: #6ee7a8; box-shadow: 0 0 6px #6ee7a8; }

/* Pending / Menunggu */
.status-pending {
  background: rgba(255, 199, 100, 0.12);
  border: 1px solid rgba(255, 199, 100, 0.35);
  color: #ffc764;
}
.status-pending::before { background: #ffc764; animation: pulse 2s infinite; }

/* Deploy — sedang diproses */
.status-deploy {
  background: rgba(122, 168, 255, 0.14);
  border: 1px solid rgba(122, 168, 255, 0.4);
  color: #9ac4ff;
}
.status-deploy::before { background: #9ac4ff; animation: pulse 1.2s infinite; }

/* Gagal */
.status-fail {
  background: rgba(255, 100, 100, 0.12);
  border: 1px solid rgba(255, 100, 100, 0.35);
  color: #ff9090;
}
.status-fail::before { background: #ff9090; }

/* ===== RIWAYAT LOG TRANSAKSI (#transaction-log) ===== */
.transaction-log-section {
  margin-top: 56px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--panel-line);
}
.transaction-log-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.transaction-log-head h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.transaction-log-head span {
  font-size: 12px;
  color: var(--muted);
}

.transaction-log-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-height: 320px;
  overflow-y: auto;
}

.transaction-log-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--panel-line);
  transition: border-color 0.18s, background 0.18s;
}
.transaction-log-item:hover {
  border-color: var(--accent);
  background: rgba(255, 140, 66, 0.06);
}

.transaction-log-item .tl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.transaction-log-item .tl-plan {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.transaction-log-item .tl-user {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.transaction-log-item .tl-meta {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.transaction-log-item .tl-meta strong {
  color: var(--text);
  font-size: 12px;
}

.transaction-log-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding: 24px;
}

@media (max-width: 600px) {
  .transaction-log-list { grid-template-columns: 1fr; }
}

/* Tombol beli di catalog — consistent class */
.buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: var(--bg-deep);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 160ms ease;
}
.buy-btn:hover {
  background: var(--accent-soft);
}

/* ================= MODAL FITUR DETAIL ================= */
.feature-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(3, 6, 12, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.feature-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.feature-modal {
  width: min(440px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid var(--panel-line);
  text-align: left;
  position: relative;
}
.feature-modal h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.feature-modal .modal-sub {
  margin: 6px 0 20px;
}
.feature-modal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 14px;
}
.feature-modal-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.feature-modal-list .f-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 18px;
  background: rgba(122, 168, 255, 0.12);
  border: 1px solid rgba(122, 168, 255, 0.28);
  flex-shrink: 0;
}
.feature-modal-list .f-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.feature-modal-list .f-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 3px;
}

/* ================= ETALASE KATEGORI PRODUK ================= */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--panel-line);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
  outline: none;
}

.cat-card:hover,
.cat-card:focus-visible {
  background: var(--bg-elev);
  border-color: rgba(255, 255, 255, 0.18);
}

.cat-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.3);
}

.cat-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  font-size: 18px;
  background: rgba(255, 140, 66, 0.1);
  border: 1px solid rgba(255, 140, 66, 0.2);
}

.cat-hosting  .cat-ico { background: rgba(255, 170, 90, 0.12);  border-color: rgba(255, 170, 90, 0.3); }
.cat-license  .cat-ico { background: rgba(176, 122, 255, 0.12);  border-color: rgba(176, 122, 255, 0.3); }
.cat-otp      .cat-ico { background: rgba(110, 231, 168, 0.12);  border-color: rgba(110, 231, 168, 0.3); }
.cat-other    .cat-ico { background: rgba(90, 200, 250, 0.12);   border-color: rgba(90, 200, 250, 0.3); }

.cat-card h3 {
  margin: 2px 0 0;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
}

.cat-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  flex: 1;
}

.cat-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cat-from {
  font-size: 12px;
  font-weight: 700;
  color: #bcd3ff;
  white-space: nowrap;
}

.cat-go {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.cat-card:hover .cat-go {
  color: #9cc3ff;
  transform: translateX(2px);
}

/* --- Strip login untuk membeli --- */
.buy-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--panel-line);
}

.buy-strip-text {
  display: grid;
  gap: 3px;
  max-width: 520px;
}

.buy-strip-text strong {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
}

.buy-strip-text span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.buy-strip-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Respon: 4 → 2 → 1 kolom */
@media (max-width: 1100px) {
  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }

  .buy-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ================= MOBILE: NAV HAMBURGER ================= */
@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px;
  }
  .nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    display: block;
  }
  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--panel-line);
    padding: 8px 18px 14px;
    z-index: 31;
  }
  .nav-links a {
    padding: 10px 0;
    border-bottom: 1px solid var(--panel-line);
  }
  .nav-links.is-open {
    display: flex;
  }
}
