.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: none;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 190px; }
.logo {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 30%, rgba(245, 158, 11, 0.95), rgba(180, 83, 9, 0.75) 55%, rgba(0,0,0,0) 72%),
    linear-gradient(135deg, rgba(245, 158, 11, 0.55), rgba(180, 83, 9, 0.55));
  box-shadow: 0 14px 34px rgba(180, 83, 9, 0.16);
  border: 1px solid rgba(15, 23, 42, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-name { font-weight: 800; letter-spacing: 0.2px; }
.brand-sub { font-size: 12px; color: var(--muted2); margin-top: 2px; }
.brand-stack { display: flex; flex-direction: column; line-height: 1.05; }

.nav { display: none; gap: 10px; align-items: center; flex: 1; justify-content: center; }
.nav a {
  color: var(--muted);
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(180, 83, 9, 0.0), rgba(180, 83, 9, 0.80), rgba(245, 158, 11, 0.80), rgba(180, 83, 9, 0.0));
  opacity: 0;
  transform: translateY(2px);
  transition: opacity .15s ease, transform .15s ease;
}
.nav a:hover { background: rgba(15, 23, 42, 0.03); color: var(--fg); }
.nav a:hover::after { opacity: 1; transform: translateY(0); }
.actions { display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.80);
  color: var(--fg);
  font-weight: 700;
  font-size: 14px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); border-color: rgba(180, 83, 9, 0.22); }
.btn-primary {
  border-color: rgba(180, 83, 9, 0.28);
  background: linear-gradient(135deg, rgba(180, 83, 9, 0.92), rgba(245, 158, 11, 0.92));
  color: #ffffff;
  box-shadow: 0 18px 48px rgba(180, 83, 9, 0.18);
  border-radius: 44px; /* Mini Program Style */
}
.btn-primary:hover { border-color: rgba(180, 83, 9, 0.42); box-shadow: 0 22px 60px rgba(180, 83, 9, 0.22); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { background: rgba(15, 23, 42, 0.04); color: var(--fg); border-color: rgba(15, 23, 42, 0.12); }

.section { padding: 56px 0; }
.section-head { margin-bottom: 16px; }
.kicker { color: var(--muted2); font-size: 12px; letter-spacing: 0.5px; }
.h2 { margin: 10px 0 8px; font-size: 26px; letter-spacing: -0.2px; }
.p { margin: 0; color: var(--muted); line-height: 1.9; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.panel {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: var(--shadow);
  padding: 18px 18px;
}
.panel-title { font-weight: 800; margin-bottom: 8px; }
.panel-desc { color: var(--muted); line-height: 1.85; }

.card {
  border-radius: var(--radius-lg);
  padding: 18px 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: var(--shadow-soft);
}
.card h3 { margin: 0 0 10px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); line-height: 1.85; font-size: 13px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(31, 99, 255, 0.06);
  border: 1px solid rgba(31, 99, 255, 0.14);
  color: var(--muted);
  font-size: 12px;
}
.chip b { color: var(--fg); font-weight: 800; }

.footer {
  padding: 30px 0 44px;
  color: var(--muted2);
  font-size: 12px;
  line-height: 1.85;
}
.fineprint {
  margin-top: 8px;
  color: var(--muted2);
  font-size: 12px;
  line-height: 1.75;
}
.footer-line { height: 1px; background: rgba(15, 23, 42, 0.10); margin: 10px 0 14px; }

@media (min-width: 920px) {
  .nav { display: flex; }
}
@media (max-width: 980px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .card {
    padding: 16px 14px;
  }
  .card h3 {
    font-size: 15px;
  }
  .card p {
    font-size: 13px;
  }
  .panel {
    padding: 16px;
  }
  .btn {
    padding: 8px 12px;
    font-size: 13px;
  }
  .section {
    padding: 40px 0;
  }
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(180, 83, 9, 0.92), rgba(245, 158, 11, 0.92));
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  box-shadow: 0 6px 20px rgba(180, 83, 9, 0.4);
  transform: translateY(-2px);
}

.scroll-to-top:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}
