:root {
  --bg: #ffffff;
  --bg-soft: #f6f3f8;
  --card: #ffffff;
  --text: #221a2b;
  --text-soft: #6b6278;
  --line: #eae4f0;
  --brand: #7b2d5e;
  --brand-2: #c0397a;
  --brand-3: #a64d8f;
  --brand-soft: #fbeef5;
  --accent: #2e8b74;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-line: rgba(255, 255, 255, 0.55);
  --shadow: 0 8px 30px rgba(60, 20, 55, 0.09);
  --shadow-lg: 0 20px 60px rgba(60, 20, 55, 0.16);
  --radius: 18px;
  --radius-sm: 12px;
  --grad-brand: linear-gradient(135deg, #7b2d5e 0%, #a64d8f 50%, #c0397a 100%);
  --grad-hero: linear-gradient(135deg, #1a1a2e 0%, #3a1e3f 50%, #5e2350 100%);
  --grad-soft: linear-gradient(135deg, #fbeef5 0%, #f3ecfa 100%);
}

html[data-theme="dark"] {
  --bg: #11131c;
  --bg-soft: #161925;
  --card: #1a1e2b;
  --text: #eceef6;
  --text-soft: #a2a8bd;
  --line: #2a3040;
  --brand: #e07bb0;
  --brand-2: #e07bb0;
  --brand-3: #c86fa0;
  --brand-soft: #2a1e28;
  --accent: #4fd1b0;
  --glass: rgba(26, 30, 43, 0.6);
  --glass-line: rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
  --grad-brand: linear-gradient(135deg, #b04d84 0%, #c86fa0 50%, #e07bb0 100%);
  --grad-hero: linear-gradient(135deg, #0d0f18 0%, #25132a 50%, #3a1632 100%);
  --grad-soft: linear-gradient(135deg, #241a22 0%, #1d1a2a 100%);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.35s ease, color 0.35s ease;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.22s ease;
}

img, svg {
  display: block;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 72px 0;
  position: relative;
}

h1, h2, h3, h4 {
  line-height: 1.35;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

h1 { font-size: 2.15rem; }
h2 { font-size: 1.7rem; margin-bottom: 14px; }
h3 { font-size: 1.2rem; margin: 18px 0 8px; }
h4 { font-size: 1.04rem; margin: 14px 0 6px; }

p {
  margin-bottom: 12px;
  color: var(--text-soft);
}

.lead {
  font-size: 1.06rem;
  color: var(--text);
  line-height: 1.8;
}

.muted {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.sec-head {
  max-width: 840px;
  margin-bottom: 36px;
}

.sec-head .tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--brand-2);
  background: var(--brand-soft);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.sec-head .tag:hover {
  transform: translateY(-2px);
  border-color: var(--brand-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--grad-brand);
  color: #fff;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 6px 18px rgba(192, 57, 122, 0.28);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(192, 57, 122, 0.4);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn.ghost {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
  box-shadow: none;
}

.btn.ghost:hover {
  background: var(--brand-soft);
  box-shadow: 0 8px 20px rgba(123, 45, 94, 0.18);
}

.grid {
  display: grid;
  gap: 24px;
}

.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-2);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.card h3 {
  margin-top: 0;
}

/* reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* top bar */
.topbar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-soft);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 6px;
  padding-bottom: 6px;
}

.topbar a:hover {
  color: var(--brand-2);
}

/* header */
header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

header.site.stuck {
  box-shadow: 0 6px 24px rgba(50, 20, 45, 0.1);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.16rem;
  color: var(--text);
  transition: transform 0.25s ease;
}

.logo:hover {
  transform: scale(1.03);
}

.logo svg {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  box-shadow: 0 6px 16px rgba(123, 45, 94, 0.3);
  transition: transform 0.4s ease;
}

.logo:hover svg {
  transform: rotate(-6deg);
}

.logo span b {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand-2);
}

nav.main ul {
  display: flex;
  gap: 26px;
  font-size: 0.94rem;
  font-weight: 500;
}

nav.main a {
  position: relative;
  padding: 6px 0;
  color: var(--text-soft);
  transition: color 0.22s ease;
}

nav.main a:hover,
nav.main a.active {
  color: var(--brand-2);
}

nav.main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transition: width 0.28s ease;
}

nav.main a:hover::after,
nav.main a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
  transition: all 0.25s ease;
}

.icon-btn:hover {
  border-color: var(--brand-2);
  color: var(--brand-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(192, 57, 122, 0.18);
}

.icon-btn:active {
  transform: translateY(0) scale(0.96);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.search-box:focus-within {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(192, 57, 122, 0.14);
}

.search-box input {
  border: none;
  outline: none;
  padding: 9px 12px;
  width: 150px;
  background: transparent;
  color: var(--text);
  font-size: 0.88rem;
}

.search-box input::placeholder {
  color: var(--text-soft);
}

.search-box button {
  border: none;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 9px 14px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.22s ease, color 0.22s ease;
}

.search-box button:hover {
  background: var(--brand);
  color: #fff;
}

.menu-toggle {
  display: none;
}

/* hero */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
  padding: 0;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(192, 57, 122, 0.4), transparent 52%),
    radial-gradient(circle at 12% 88%, rgba(46, 139, 116, 0.24), transparent 48%);
  pointer-events: none;
  z-index: 0;
  animation: heroGlow 12s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  from { opacity: 0.8; transform: scale(1); }
  to { opacity: 1; transform: scale(1.06); }
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 76px;
  padding-bottom: 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.hero h1 {
  color: #fff;
  font-size: 2.55rem;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #ffb3d9, #ffd1e8 60%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffb3d9;
}

.hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.hero .kw {
  color: #ffd1e8;
  font-weight: 600;
  position: relative;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.hero-actions .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-actions .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero-stats {
  display: flex;
  gap: 38px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.hero-stats .num {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-stats .lbl {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
  margin-top: 2px;
}

/* carousel */
.carousel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  background: #0e0d18;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.slides {
  position: relative;
  height: 330px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 0.8s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.slide .badge {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.18);
  padding: 4px 12px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 12px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  letter-spacing: 0.04em;
}

.slide h3 {
  color: #fff;
  margin: 0 0 6px;
  font-size: 1.28rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.slide p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  margin: 0;
}

.slide svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.dots {
  position: absolute;
  bottom: 16px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.dots button:hover {
  background: rgba(255, 255, 255, 0.75);
}

.dots button.on {
  background: #fff;
  width: 26px;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

/* breadcrumb */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-soft);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--text-soft);
  opacity: 0.6;
}

.breadcrumb a:hover {
  color: var(--brand-2);
}

/* anchor nav */
.anchor-nav {
  position: sticky;
  top: 68px;
  z-index: 90;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.anchor-nav::-webkit-scrollbar {
  display: none;
}

.anchor-nav ul {
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.anchor-nav a {
  display: inline-block;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.85rem;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text-soft);
  transition: all 0.25s ease;
}

.anchor-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: var(--brand-2);
  transform: translateY(-2px);
}

/* feature */
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature .ico {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature:hover .ico {
  transform: rotate(-8deg) scale(1.06);
  background: var(--grad-brand);
}

.feature .ico svg {
  width: 24px;
  height: 24px;
  color: var(--brand-2);
  transition: color 0.3s ease;
}

.feature:hover .ico svg {
  color: #fff;
}

.feature h4 {
  margin-top: 0;
}

.feature p {
  margin-bottom: 0;
}

/* timeline */
.timeline {
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--line);
}

.timeline .item {
  position: relative;
  padding-bottom: 28px;
}

.timeline .item:last-child {
  padding-bottom: 0;
}

.timeline .item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
  transition: transform 0.3s ease;
}

.timeline .item:hover::before {
  transform: scale(1.35);
}

.timeline .year {
  font-weight: 800;
  color: var(--brand-2);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.timeline h4 {
  margin-top: 4px;
}

.timeline p {
  margin-bottom: 0;
}

/* article cards */
.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card .meta {
  font-size: 0.79rem;
  color: var(--text-soft);
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.article-card .meta span {
  position: relative;
}

.article-card .meta span + span::before {
  content: "·";
  margin-right: 12px;
  opacity: 0.6;
}

.article-card h3 {
  font-size: 1.06rem;
  margin: 0 0 8px;
  transition: color 0.25s ease;
}

.article-card:hover h3 {
  color: var(--brand-2);
}

.article-card p {
  font-size: 0.9rem;
  flex: 1;
}

.read-more {
  color: var(--brand-2);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.25s ease, color 0.25s ease;
}

.read-more:hover {
  gap: 9px;
  color: var(--brand);
}

/* faq */
.faq-list {
  max-width: 960px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--card);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: var(--brand-3);
  box-shadow: 0 6px 20px rgba(123, 45, 94, 0.1);
}

.faq-item.open {
  border-color: var(--brand-2);
  box-shadow: 0 8px 24px rgba(192, 57, 122, 0.14);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 17px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  transition: color 0.22s ease;
}

.faq-q:hover {
  color: var(--brand-2);
}

.faq-q .plus {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  position: relative;
  transition: transform 0.35s ease;
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--brand-2);
  border-radius: 2px;
  transition: background 0.22s ease;
}

.faq-q .plus::before {
  left: 50%;
  top: 3px;
  width: 2px;
  height: 16px;
  transform: translateX(-50%);
}

.faq-q .plus::after {
  top: 50%;
  left: 3px;
  height: 2px;
  width: 16px;
  transform: translateY(-50%);
}

.faq-item.open .plus {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.faq-a p {
  padding: 0 20px 18px;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.8;
}

/* howto steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.step {
  position: relative;
  padding: 20px 22px 20px 68px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateX(6px);
  border-color: var(--brand-2);
  box-shadow: var(--shadow);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(192, 57, 122, 0.3);
}

.step h4 {
  margin: 0 0 6px;
}

.step p {
  margin: 0;
  font-size: 0.92rem;
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.contact-list li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.94rem;
  transition: padding-left 0.25s ease;
}

.contact-list li:hover {
  padding-left: 6px;
}

.contact-list li:last-child {
  border: none;
}

.contact-list .k {
  color: var(--text-soft);
  flex: 0 0 88px;
}

.contact-list .v {
  color: var(--text);
  font-weight: 600;
  word-break: break-all;
}

/* footer */
footer.site {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 60px 0 26px;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

footer.site::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  margin-bottom: 38px;
}

.foot-grid h4 {
  font-size: 0.98rem;
  margin-bottom: 16px;
  color: var(--text);
  position: relative;
  padding-bottom: 10px;
}

.foot-grid h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.foot-grid ul li {
  margin-bottom: 10px;
}

.foot-grid a {
  color: var(--text-soft);
  font-size: 0.88rem;
  transition: color 0.22s ease, padding-left 0.22s ease;
  display: inline-block;
}

.foot-grid a:hover {
  color: var(--brand-2);
  padding-left: 4px;
}

.foot-brand p {
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.foot-bottom p {
  margin-bottom: 6px;
  font-size: 0.82rem;
}

.foot-bottom a {
  transition: color 0.22s ease;
}

.foot-bottom a:hover {
  color: var(--brand-2);
}

/* back to top */
#backTop {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.9);
  transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 120;
  box-shadow: 0 10px 28px rgba(192, 57, 122, 0.4);
}

#backTop.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

#backTop:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 34px rgba(192, 57, 122, 0.55);
}

#backTop svg {
  width: 20px;
  height: 20px;
}

/* section backgrounds */
section#history,
section#products,
section#solutions,
section#cases,
section#news,
section#knowledge,
section#faq,
section#sitemap {
  background: var(--bg-soft);
}

/* responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.25rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats { gap: 30px; }
}

@media (max-width: 960px) {
  section { padding: 60px 0; }
  h2 { font-size: 1.55rem; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .slides { height: 300px; }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; }

  .topbar .container {
    justify-content: center;
    text-align: center;
    font-size: 0.76rem;
  }

  .topbar .container > span:last-child { display: none; }

  .nav-wrap { min-height: 62px; }

  nav.main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 14px 20px;
    border-radius: 0 0 16px 16px;
    animation: navDrop 0.3s ease;
  }

  @keyframes navDrop {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  nav.main.open { display: block; }

  nav.main ul {
    flex-direction: column;
    gap: 2px;
  }

  nav.main a {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
  }

  nav.main li:last-child a { border-bottom: none; }

  nav.main a::after { display: none; }

  .menu-toggle { display: grid; }

  .search-box { display: none; }

  .hero .container { padding-top: 52px; padding-bottom: 52px; }

  .hero h1 { font-size: 1.85rem; }

  .hero p { font-size: 0.98rem; }

  .hero-stats { gap: 22px; margin-top: 30px; }

  .hero-stats .num { font-size: 1.45rem; }

  h2 { font-size: 1.38rem; }

  .g2, .g3, .g4 { grid-template-columns: 1fr; }

  .slides { height: 260px; }

  .slide { padding: 22px; }

  .slide h3 { font-size: 1.12rem; }

  .anchor-nav { top: 62px; }

  section { padding: 52px 0; }

  .card { padding: 22px; }

  .foot-grid { grid-template-columns: 1fr; gap: 26px; }

  .foot-bottom { flex-direction: column; gap: 10px; }

  #backTop { right: 16px; bottom: 18px; width: 44px; height: 44px; }

  .step { padding: 18px 18px 18px 62px; }

  .step:hover { transform: none; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 1.65rem; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 16px; }
  .hero-stats > div { flex: 1 1 40%; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* selection */
::selection {
  background: var(--brand-2);
  color: #fff;
}

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb {
  background: var(--brand-3);
  border-radius: 6px;
  border: 2px solid var(--bg-soft);
}
::-webkit-scrollbar-thumb:hover { background: var(--brand-2); }