/* BAOSITUO — violet + gold (cross-border e-commerce goods) */
:root {
  --bg: #f5f0ff;
  --bg-card: #ffffff;
  --ink: #1e1b4b;
  --ink-muted: #4c4687;
  --accent: #7c3aed;
  --accent-2: #f59e0b;
  --line: rgba(30, 27, 75, 0.1);
  --header-bg: rgba(245, 240, 255, 0.94);
  --footer-bg: #1e1b4b;
  --footer-ink: #c4b5fd;
  --shadow: 0 12px 40px rgba(30, 27, 75, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 600px at 90% -10%, rgba(124, 58, 237, 0.12), transparent 55%),
    radial-gradient(700px 500px at -5% 100%, rgba(245, 158, 11, 0.1), transparent 50%),
    var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #5b21b6;
}

/* Header */
.bst-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(30, 27, 75, 0.06);
}

.bst-header__inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0;
}

.bst-logo img {
  height: 42px;
  width: auto;
}

.bst-nav {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.bst-nav a {
  color: var(--ink-muted);
  font-weight: 650;
  font-size: 0.9rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.bst-nav a:hover,
.bst-nav a[aria-current="page"] {
  background: rgba(124, 58, 237, 0.12);
  color: var(--ink);
}

.bst-nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ink);
}

.bst-header__cta {
  justify-self: end;
}

.bst-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.bst-btn--gold {
  background: linear-gradient(135deg, var(--accent-2), #d97706);
  color: #1e1b4b;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.bst-btn--gold:hover {
  transform: translateY(-1px);
  color: #1e1b4b;
}

.bst-btn--outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: #fff;
}

.bst-btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.bst-btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
}

.bst-btn--primary:hover {
  background: #6d28d9;
  color: #fff;
}

/* Hero carousel — horizontal slide */
.bst-hero {
  position: relative;
  overflow: hidden;
  min-height: min(680px, 88vh);
  background: var(--ink);
}

.bst-hero__viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bst-hero__track {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 680ms cubic-bezier(0.4, 0, 0.2, 1);
}

.bst-hero__slide {
  flex: 0 0 33.333%;
  position: relative;
}

.bst-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bst-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 27, 75, 0.88) 0%, rgba(30, 27, 75, 0.45) 45%, rgba(30, 27, 75, 0.75) 100%);
  pointer-events: none;
}

.bst-hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.bst-hero__content-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  color: #faf5ff;
  pointer-events: auto;
}

.bst-hero__panes {
  position: relative;
  min-height: 180px;
}

.bst-hero__pane {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s, transform 0.5s;
}

.bst-hero__pane.is-active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.bst-kicker {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.25);
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bst-hero__pane h1,
.bst-hero__pane h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  line-height: 1.15;
  max-width: 16ch;
}

.bst-lead {
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #ddd6fe;
  max-width: 42ch;
}

.bst-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.bst-hero__prev,
.bst-hero__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.bst-hero__prev:hover,
.bst-hero__next:hover {
  background: rgba(124, 58, 237, 0.6);
}

.bst-hero__prev { left: 1rem; }
.bst-hero__next { right: 1rem; }

.bst-hero__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.bst-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.bst-hero__dot.is-active {
  background: var(--accent-2);
  border-color: var(--accent-2);
  transform: scale(1.15);
}

/* Sections */
.bst-container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.bst-section {
  padding: 3.5rem 0;
}

.bst-section__head {
  margin-bottom: 2rem;
}

.bst-section__head--center {
  text-align: center;
}

.bst-section__head--center .bst-title {
  margin-left: auto;
  margin-right: auto;
}

.bst-title {
  margin: 0.35rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  max-width: 20ch;
}

/* Products grid — 4 columns, equal cards */
.bst-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.bst-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bst-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.bst-card__body {
  padding: 1rem 1.1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bst-card__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.bst-card__desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* Company intro band */
.bst-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.bst-intro__visual img {
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.bst-intro__text h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.bst-intro__text p {
  margin: 0 0 0.85rem;
  color: var(--ink-muted);
}

/* Testimonials */
.bst-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bst-review {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
}

.bst-review__head {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.bst-review__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(124, 58, 237, 0.25);
}

.bst-review__name {
  font-weight: 700;
  font-size: 0.95rem;
}

.bst-review__role {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.bst-review__stars {
  color: var(--accent-2);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.bst-review__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

/* Message form split */
.bst-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.bst-split__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.bst-form {
  padding: 2rem;
}

.bst-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.bst-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.bst-field__label {
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--ink-muted);
}

.bst-field__input,
.bst-field__textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font: inherit;
  background: var(--bg);
  color: var(--ink);
}

.bst-field__input:focus,
.bst-field__textarea:focus {
  outline: 2px solid rgba(124, 58, 237, 0.35);
  border-color: var(--accent);
}

.bst-form__hint {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* Footer */
.bst-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  margin-top: 2rem;
}

.bst-footer__grid {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding: 2.75rem 0 2rem;
}

.bst-footer a {
  color: #e9d5ff;
}

.bst-footer a:hover {
  color: #fff;
}

.bst-footer__logo img {
  height: 40px;
  filter: brightness(1.15);
}

.bst-footer__desc {
  margin: 0.85rem 0 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 34ch;
}

.bst-footer__social {
  display: flex;
  gap: 0.65rem;
}

.bst-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #e9d5ff;
}

.bst-social img {
  width: 18px;
  height: 18px;
  filter: invert(0.85);
}

.bst-footer__title {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: #fff;
}

.bst-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bst-footer__list li {
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
}

.bst-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
  text-align: center;
}

.bst-footer__copy {
  margin: 0;
  font-size: 0.82rem;
  opacity: 0.75;
}

/* About page */
.bst-about {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
}

.bst-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2rem;
}

.bst-about__grid img {
  border-radius: 18px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.bst-about__copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
}

.bst-about__copy p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
}

.bst-about__wide img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  max-height: 420px;
  object-fit: cover;
}

/* Contact page */
.bst-contact-wrap {
  padding-bottom: 3rem;
}

.bst-contact-banner img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
}

.bst-contact-split {
  width: min(1180px, calc(100% - 2rem));
  margin: -3rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-card);
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.bst-contact-split__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.bst-contact-card {
  padding: 2.25rem;
}

.bst-contact-card h2 {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
}

.bst-contact-card dl {
  margin: 0;
}

.bst-contact-card dl > div {
  margin-bottom: 1rem;
}

.bst-contact-card dt {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.bst-contact-card dd {
  margin: 0;
  color: var(--ink-muted);
}

.bst-contact-note {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

/* Responsive */
@media (max-width: 1024px) {
  .bst-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bst-header__inner {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
  }

  .bst-logo {
    grid-column: 1;
  }

  .bst-header__cta {
    grid-column: 2;
    justify-self: end;
  }

  .bst-nav-toggle {
    display: block;
    grid-column: 2;
    justify-self: end;
  }

  .bst-header__cta {
    display: none;
  }

  .bst-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    padding: 0.5rem 0;
  }

  .bst-nav.is-open {
    display: flex;
  }

  .bst-hero__prev,
  .bst-hero__next {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }

  .bst-intro,
  .bst-split,
  .bst-contact-split,
  .bst-about__grid {
    grid-template-columns: 1fr;
  }

  .bst-reviews {
    grid-template-columns: 1fr;
  }

  .bst-form__row {
    grid-template-columns: 1fr;
  }

  .bst-split__media {
    order: -1;
  }

  .bst-contact-split__media {
    order: -1;
  }

  .bst-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .bst-grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bst-hero__track {
    transition: none;
  }

  .bst-hero__pane {
    transition: none;
  }
}
