/* same CSS from earlier (trimmed for brevity in this cell) */
:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #f3f5f8;
  --text: #111827;
  --muted: #6b7280;
  --primary: #222;
  --primary-contrast: #fff;
  --radius: 16px;
  --shadow: 0 6px 20px rgba(16, 24, 40, 0.06);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.row {
  display: flex;
  align-items: center;
}
.between {
  justify-content: space-between;
}
.center {
  align-items: center;
}
.wrap {
  flex-wrap: wrap;
}
.gap-8 {
  gap: 8px;
}
.gap-12 {
  gap: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid #eef2f7;
  z-index: 100;
}
.site-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.logo {
  font-size: 20px;
}
.nav a {
  padding: 12px 10px;
  border-radius: 10px;
}
.nav a:hover {
  background: var(--surface-2);
}
.hero {
  background: linear-gradient(180deg, #ffffff, #f6f8fb 40%, #f3f7ff 100%);
  padding: 64px 0;
  border-bottom: 1px solid #eef2f7;
}
.hero-title {
  font-size: 42px;
  line-height: 1.1;
  margin: 0 0 12px;
}
.hero-sub {
  margin: 0 0 18px;
  color: var(--muted);
}
.section {
  padding: 48px 0;
}
.section.alt {
  background: var(--surface);
}
.section-title {
  font-size: 28px;
  margin: 0 0 16px;
}
.input,
.select {
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  outline: none;
}
.input:focus,
.select:focus {
  border-color: #c7cdd7;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}
.btn {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover {
  box-shadow: var(--shadow);
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-contrast);
  border-color: var(--primary);
}
.btn-ghost {
  background: transparent;
  border-color: #e5e7eb;
}
.btn-ghost:hover {
  background: #fff;
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.card {
  grid-column: span 4;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (max-width: 1024px) {
  .card {
    grid-column: span 6;
  }
}
@media (max-width: 640px) {
  .card {
    grid-column: span 12;
  }
}
.card-cover {
  position: relative;
  padding-top: 58%;
  background: #ddd;
  overflow: hidden;
}
.card-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-cover img {
  transform: scale(1.06);
}
.card-body {
  padding: 14px 14px 16px;
}
.card-title {
  font-size: 18px;
  margin: 0 0 6px;
}
.card-meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.price {
  margin-top: auto;
  padding: 12px 14px;
  border-top: 1px solid #f0f2f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-2);
}
.empty {
  padding: 16px;
  color: var(--muted);
  text-align: center;
}
.hidden {
  display: none;
}
.advantages {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}
.site-footer {
  padding: 20px 0;
  border-top: 1px solid #eef2f7;
  background: #fff;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.narrow {
  max-width: 800px;
}

/* ====== New header styling ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 4px 24px rgba(16, 24, 40, 0.06);
}
.topbar {
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(180deg, #fff, #fafbff);
}
.topbar .promo {
  font-size: 12px;
  color: #475569;
}
.topbar .toplink {
  font-size: 12px;
  color: #64748b;
  padding: 8px;
  border-radius: 8px;
}
.topbar .toplink:hover {
  background: #f3f5f8;
}
.topbar .divider {
  width: 1px;
  height: 14px;
  background: #e5e7eb;
}

.mainbar {
  padding: 10px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: #111827;
}
.brand-stack {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-size: 18px;
}
.brand-tagline {
  font-size: 12px;
  color: #6b7280;
}
.hamburger {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  margin: -8px 8px -8px 0;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #111;
  margin: 4px 0;
  border-radius: 4px;
}

.header-center {
  flex: 1;
  display: flex;
  justify-content: center;
}
.header-search {
  position: relative;
  max-width: 520px;
  flex: 1;
}
.input-search {
  width: 100%;
  padding-left: 40px;
}
.search-ic {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: #94a3b8;
}
.icon-link .ic {
  width: 18px;
  height: 18px;
  fill: #111;
}

.subnav {
  border-top: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
  background: #fcfdff;
}
.pill-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e8ecf2;
  color: #334155;
  background: #fff;
  font-weight: 600;
}
.pill:hover {
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.06);
}
.pill.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.select-sm {
  height: 34px;
  padding: 0 10px;
  border-radius: 10px;
}
.select-sm:focus {
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

@media (max-width: 900px) {
  .header-center {
    display: none;
  }
  .hamburger {
    display: block;
  }
}

/* ====== Hero Slider ====== */
.hero-slider {
  padding: 0;
  border-bottom: 1px solid #eef2f7;
  background: #000;
}
.slider {
  position: relative;
  overflow: hidden;
  max-width: 1400px;
  margin: 0 auto;
}
.slides {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}
.slide {
  position: relative;
  min-width: 100%;
  height: 420px;
}
@media (max-width: 900px) {
  .slide {
    height: 360px;
  }
}
@media (max-width: 600px) {
  .slide {
    height: 300px;
  }
}
.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
}
.slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.15) 60%,
    rgba(0, 0, 0, 0)
  );
}
.slide .content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 46px 20px;
  color: #fff;
}
.slide .kicker {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}
.slide h2 {
  font-size: 40px;
  line-height: 1.1;
  margin: 6px 0 8px;
}
.slide .meta {
  opacity: 0.9;
}
.slide .actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}
.slide .btn {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.slide .btn:hover {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}
.slide .btn-primary {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(255, 255, 255, 0.85);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.nav:hover {
  background: #fff;
}
.nav.prev {
  left: 16px;
}
.nav.next {
  right: 16px;
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  gap: 6px;
  justify-content: center;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.dot.active {
  background: #fff;
}

/* ===== About nice ===== */
.about-nice .about-head {
  max-width: 820px;
  margin: 0 auto 18px;
}
.lede {
  font-size: 18px;
  line-height: 1.6;
  color: #374151;
}
.features {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 12px;
}
.feature-card {
  grid-column: span 4;
  background: linear-gradient(180deg, #fff, #f7f9ff);
  border: 1px solid #eaf0f6;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.09);
}
.feature-card h3 {
  margin: 6px 0 4px;
  font-size: 16px;
}
.feature-card p {
  color: #5b6472;
  margin: 0;
}
.ic-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

@media (max-width: 1024px) {
  .feature-card {
    grid-column: span 6;
  }
}
@media (max-width: 640px) {
  .feature-card {
    grid-column: span 12;
  }
}

.stats {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin: 20px 0 8px;
  flex-wrap: wrap;
}
.stat {
  background: #fff;
  border: 1px solid #edf1f6;
  border-radius: 14px;
  padding: 10px 14px;
  min-width: 160px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
}
.stat .num {
  display: block;
  font-weight: 800;
  font-size: 20px;
}
.stat .lab {
  display: block;
  color: #6b7280;
  font-size: 12px;
}

.about-cta {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(90deg, #111, #2b2b2b);
  color: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.about-cta h3 {
  margin: 0 0 4px;
}
.about-cta p {
  margin: 0;
  color: #cbd5e1;
}
.about-cta .btn {
  background: #fff;
  color: #111;
  border-color: #fff;
}

/* ===== FAQ nice ===== */
.faq-nice {
  background: linear-gradient(180deg, #f7f8fb, #f3f6fb);
}
.faq-nice .container {
  max-width: 820px;
}
.faq-card,
.faq-nice details {
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 14px;
  padding: 10px 14px;
  margin: 10px 0;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.05);
}
.faq-nice details summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.faq-nice details summary::-webkit-details-marker {
  display: none;
}
.faq-nice details summary::after {
  content: "+";
  margin-left: auto;
  font-weight: 800;
  color: #64748b;
  transition: transform 0.2s ease;
}
.faq-nice details[open] summary::after {
  content: "–";
  transform: rotate(180deg);
}
.faq-nice details p {
  margin: 8px 0 4px;
  color: #4b5563;
}

/* ========= Global overlay loader ========= */
.loader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 9999;
}
.loader.hidden {
  display: none;
}
.spinner {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 3px solid #e5e7eb;
  border-top-color: #111;
  animation: spin 1s linear infinite;
}
.loader-text {
  font-weight: 600;
  color: #374151;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========= Skeleton cards (shimmer) ========= */
.card.skel {
  overflow: hidden;
}
.skel .sk-cover {
  height: 160px;
  background: linear-gradient(90deg, #eceff4, #f6f7fb, #eceff4);
  background-size: 200% 100%;
  animation: shimmer 1.3s infinite;
}
.skel .sk-line {
  height: 12px;
  border-radius: 8px;
  margin: 8px 0;
  background: linear-gradient(90deg, #edf0f5, #f7f8fc, #edf0f5);
  background-size: 200% 100%;
  animation: shimmer 1.3s infinite;
}
.skel .sk-line.w50 {
  width: 50%;
}
.skel .sk-line.w70 {
  width: 70%;
}
.skel .sk-line.w30 {
  width: 30%;
}
.skel .price .btn {
  opacity: 0.6;
  pointer-events: none;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/* ==== type filters (chips) ==== */
.type-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.type-filters .chip {
  appearance: none;
  border: 1px solid #e6e9ef;
  background: #fff;
  color: #0b1f35;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: box-shadow 0.15s ease, border-color 0.15s ease,
    background 0.15s ease;
}
.type-filters .chip:hover {
  border-color: #cfd6e0;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.06);
}
.type-filters .chip.active {
  color: #fff;
  background: #111;
  border-color: #111;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.12);
}
