:root {
  --bg: #f5f6fa;
  --bg-alt: #ffffff;
  --bg-elevated: rgba(255, 255, 255, 0.72);
  --text: #1a1a2e;
  --text-soft: #4a4a63;
  --text-muted: #6b6b85;
  --primary: #e94560;
  --primary-dark: #c72e47;
  --primary-soft: rgba(233, 69, 96, 0.12);
  --secondary: #533483;
  --accent: #0f3460;
  --deep: #1a1a2e;
  --border: rgba(26, 26, 46, 0.1);
  --border-strong: rgba(26, 26, 46, 0.18);
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 8px 28px rgba(26, 26, 46, 0.1);
  --shadow-lg: 0 18px 48px rgba(26, 26, 46, 0.16);
  --glass-blur: 16px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --header-h: 68px;
  --grad-hero: linear-gradient(135deg, #1a1a2e 0%, #16213e 45%, #533483 100%);
  --grad-primary: linear-gradient(135deg, #e94560 0%, #ff7a9c 100%);
  --grad-accent: linear-gradient(135deg, #533483 0%, #0f3460 100%);
  --grad-soft: linear-gradient(135deg, rgba(233, 69, 96, 0.1), rgba(83, 52, 131, 0.1));
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html[data-theme="dark"] {
  --bg: #0d0d18;
  --bg-alt: #14141f;
  --bg-elevated: rgba(30, 30, 48, 0.72);
  --text: #f0f0f6;
  --text-soft: #c4c4d4;
  --text-muted: #9a9ab2;
  --primary: #ff6b85;
  --primary-dark: #e94560;
  --primary-soft: rgba(255, 107, 133, 0.16);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.6);
  --grad-hero: linear-gradient(135deg, #0d0d18 0%, #16213e 50%, #3a2160 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 107, 133, 0.12), rgba(120, 90, 200, 0.12));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 8% 4%, rgba(233, 69, 96, 0.08), transparent 42%),
    radial-gradient(circle at 92% 12%, rgba(83, 52, 131, 0.1), transparent 46%),
    radial-gradient(circle at 50% 100%, rgba(15, 52, 96, 0.08), transparent 50%);
  background-attachment: fixed;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  overflow-x: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--primary-dark);
}

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

h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
  margin: 0 0 1em;
  color: var(--text-soft);
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
  color: var(--text-soft);
}

li {
  margin-bottom: 0.45em;
}

strong {
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  margin: 0;
  padding: 12px 20px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-pill);
  z-index: 2000;
  box-shadow: var(--shadow-lg);
}

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

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(233, 69, 96, 0.3);
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand-logo {
  transform: rotate(-6deg) scale(1.06);
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  white-space: nowrap;
}

.main-nav {
  flex: 1;
  min-width: 0;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-1px);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-search {
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 2px 2px 2px 14px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.site-search input {
  width: 170px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.86rem;
  padding: 8px 0;
  outline: none;
}

.site-search input::placeholder {
  color: var(--text-muted);
}

.site-search button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  cursor: pointer;
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}

.site-search button:hover {
  transform: scale(1.08);
  filter: brightness(1.08);
}

.theme-toggle,
.menu-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.3s var(--ease), border-color 0.25s var(--ease);
}

.theme-toggle:hover,
.menu-toggle:hover {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: var(--primary);
  transform: rotate(12deg);
}

.menu-toggle {
  display: none;
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 20px 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.breadcrumb a {
  color: var(--text-muted);
}

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

.breadcrumb [aria-current="page"] {
  color: var(--text-soft);
  font-weight: 600;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  max-width: 1240px;
  margin: 18px auto 0;
  padding: 0 20px;
}

.hero-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--grad-hero);
  box-shadow: var(--shadow-lg);
  min-height: 420px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 24px;
  padding: 48px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.99);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), visibility 0.7s;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.hero-visual {
  order: 2;
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: floatY 7s ease-in-out infinite;
}

.hero-text {
  order: 1;
  color: #fff;
}

.hero-text h1,
.hero-text h2 {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.55em;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  max-width: 52ch;
  margin-bottom: 1.4em;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-primary);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(233, 69, 96, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
}

.btn-primary::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(233, 69, 96, 0.55);
  filter: brightness(1.06);
}

.btn-primary:hover::after {
  transform: translateX(4px);
}

.carousel-controls {
  position: absolute;
  left: 48px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 5;
}

.carousel-prev,
.carousel-next {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 1.3rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

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

.carousel-dots button.is-active {
  width: 26px;
  border-radius: var(--radius-pill);
  background: var(--primary);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: -34px 24px 0;
  position: relative;
  z-index: 6;
}

.hero-stats > div {
  padding: 18px 16px;
  text-align: center;
  background: var(--bg-elevated);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.hero-stats > div:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.hero-stats dt {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.hero-stats dd {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.2;
}

/* ============ ANCHOR NAV ============ */
.anchor-nav {
  max-width: 1240px;
  margin: 28px auto 0;
  padding: 0 20px;
}

.anchor-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.anchor-nav a {
  display: inline-block;
  padding: 7px 15px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-soft);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: all 0.25s var(--ease);
}

.anchor-nav a:hover,
.anchor-nav a:focus-visible {
  color: #fff;
  background: var(--grad-primary);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(233, 69, 96, 0.32);
}

/* ============ SECTION ============ */
.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 20px 0;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.section > h2 {
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 28px;
}

.section > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--grad-primary);
}

.section h3 {
  margin-top: 1.6em;
  color: var(--text);
}

.section h3:first-of-type {
  margin-top: 0.4em;
}

.section > p {
  max-width: 78ch;
}

/* ============ INTRO / HISTORY / CULTURE ============ */
.intro,
.history,
.culture,
.advantages,
.applications,
.knowledge {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  margin-top: 56px;
  box-shadow: var(--shadow-sm);
}

.intro ol,
.culture ol {
  counter-reset: cult;
  list-style: none;
  padding-left: 0;
}

.intro ol li,
.culture ol li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 12px;
}

.intro ol li::before,
.culture ol li::before {
  counter-increment: cult;
  content: counter(cult);
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-primary);
  border-radius: 50%;
}

.history ul {
  list-style: none;
  padding-left: 0;
}

.history ul li {
  position: relative;
  padding: 12px 16px 12px 44px;
  margin-bottom: 10px;
  background: var(--grad-soft);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease);
}

.history ul li:hover {
  transform: translateX(4px);
}

.history ul li::before {
  content: "◆";
  position: absolute;
  left: 16px;
  color: var(--primary);
  font-size: 0.7rem;
  top: 16px;
}

/* ============ PRODUCTS ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin: 28px 0 8px;
}

.product-card {
  position: relative;
  padding: 0 0 22px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 1px;
  background: var(--grad-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card svg {
  width: 100%;
  height: auto;
  transition: transform 0.6s var(--ease);
}

.product-card:hover svg {
  transform: scale(1.05);
}

.product-card h3 {
  margin: 18px 20px 8px;
  font-size: 1.1rem;
}

.product-card p {
  margin: 0 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============ SOLUTIONS / ADVANTAGES ============ */
.solutions h3,
.advantages h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.solutions h3::before,
.advantages h3::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad-primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

/* ============ CASES ============ */
.cases {
  display: grid;
  gap: 20px;
}

.cases > h2 {
  grid-column: 1 / -1;
}

.case-item {
  padding: 26px 28px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.case-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.case-item h3 {
  margin-top: 0;
  color: var(--primary);
}

.case-item p {
  margin-bottom: 0;
}

/* ============ REVIEWS ============ */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.reviews > h2 {
  grid-column: 1 / -1;
}

.reviews blockquote {
  position: relative;
  margin: 0;
  padding: 30px 26px 24px;
  background: var(--bg-elevated);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.reviews blockquote::before {
  content: "\201C";
  position: absolute;
  top: 4px;
  left: 18px;
  font-size: 3.4rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.28;
}

.reviews blockquote:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.reviews blockquote p {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.reviews cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

/* ============ NEWS ============ */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  padding: 16px 20px;
  margin-bottom: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.news-list li:hover {
  transform: translateX(5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.news-list time {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
  padding: 2px 10px;
  background: var(--primary-soft);
  border-radius: var(--radius-pill);
}

/* ============ ARTICLES ============ */
.articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.articles > h2,
.articles > p {
  grid-column: 1 / -1;
}

.article-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(233, 69, 96, 0.4);
}

.article-card h3 {
  margin-top: 0;
  font-size: 1.08rem;
  transition: color 0.3s var(--ease);
}

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

.article-card .meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.article-card .meta time {
  color: var(--primary);
  font-weight: 600;
}

.article-card > p:not(.meta) {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.article-card > a {
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 6px 0;
  position: relative;
}

.article-card > a::after {
  content: "→";
  margin-left: 4px;
  transition: transform 0.3s var(--ease);
  display: inline-block;
}

.article-card > a:hover::after {
  transform: translateX(4px);
}

/* ============ FAQ ============ */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq-list details[open] {
  border-color: rgba(233, 69, 96, 0.45);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  position: relative;
  padding: 18px 54px 18px 22px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.faq-list details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  background: var(--grad-primary);
  color: #fff;
}

.faq-list summary:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
  animation: fadeSlide 0.35s var(--ease);
}

/* ============ HOWTO ============ */
.howto ol {
  counter-reset: howto;
  list-style: none;
  padding-left: 0;
}

.howto ol li {
  position: relative;
  padding: 14px 18px 14px 56px;
  margin-bottom: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.howto ol li:hover {
  transform: translateX(5px);
  border-color: var(--primary);
}

.howto ol li::before {
  counter-increment: howto;
  content: counter(howto);
  position: absolute;
  left: 16px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  background: var(--grad-accent);
  border-radius: 8px;
}

.howto ul {
  list-style: none;
  padding-left: 0;
}

.howto ul li {
  position: relative;
  padding-left: 24px;
}

.howto ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.howto h3:last-of-type + p {
  padding: 22px 24px;
  background: var(--grad-soft);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text-soft);
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}

.contact-grid > div {
  padding: 28px 26px;
  background: var(--bg-elevated);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.contact-grid > div:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-grid h3 {
  margin-top: 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-soft);
}

.contact-grid p {
  font-size: 0.92rem;
  margin-bottom: 0.6em;
  word-break: break-word;
}

.contact-grid p:last-child {
  margin-bottom: 0;
}

/* ============ SITEMAP ============ */
.sitemap-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-list a {
  display: block;
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--text-soft);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease);
}

.sitemap-list a:hover {
  color: #fff;
  background: var(--grad-accent);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ============ FOOTER ============ */
.site-footer {
  margin-top: 72px;
  background: var(--deep);
  color: rgba(255, 255, 255, 0.72);
  position: relative;
  overflow: hidden;
}

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

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 20px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer-col h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--grad-primary);
}

.footer-col p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 20px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
  line-height: 1.7;
}

.footer-bottom p:last-child {
  margin-bottom: 0;
}

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-primary);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(233, 69, 96, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.06);
  filter: brightness(1.08);
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ============ ANIMATIONS ============ */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.35); }
  50% { box-shadow: 0 0 0 12px rgba(233, 69, 96, 0); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px 16px 20px;
    background: var(--bg-elevated);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
    backdrop-filter: blur(var(--glass-blur)) saturate(160%);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    animation: fadeSlide 0.3s var(--ease);
  }

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

  .main-nav.is-open a {
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  .menu-toggle {
    display: grid;
  }

  .header-inner {
    position: relative;
  }
}

@media (max-width: 900px) {
  .hero-slide {
    grid-template-columns: 1fr;
    padding: 40px 32px 90px;
    text-align: left;
  }

  .hero-visual {
    order: 1;
    max-width: 520px;
    margin: 0 auto;
  }

  .hero-text {
    order: 2;
  }

  .hero-carousel {
    min-height: 0;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    margin: -26px 16px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-inner .footer-col:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 60px;
  }

  body {
    font-size: 15px;
  }

  .header-inner {
    gap: 12px;
    padding: 0 14px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .site-search input {
    width: 120px;
  }

  .breadcrumb {
    padding: 12px 14px 0;
  }

  .hero {
    padding: 0 14px;
    margin-top: 12px;
  }

  .hero-slide {
    padding: 32px 22px 96px;
    gap: 18px;
  }

  .carousel-controls {
    left: 22px;
    bottom: 22px;
  }

  .hero-stats {
    gap: 10px;
    margin: -22px 10px 0;
  }

  .hero-stats > div {
    padding: 14px 10px;
  }

  .hero-stats dd {
    font-size: 1.35rem;
  }

  .anchor-nav {
    padding: 0 14px;
    margin-top: 22px;
  }

  .section {
    padding: 44px 14px 0;
  }

  .intro,
  .history,
  .culture,
  .advantages,
  .applications,
  .knowledge {
    padding: 30px 22px;
    margin-top: 40px;
    border-radius: var(--radius-md);
  }

  .product-grid,
  .articles,
  .reviews,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .case-item {
    padding: 22px 20px;
  }

  .news-list li {
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
  }

  .faq-list summary {
    padding: 16px 48px 16px 18px;
    font-size: 0.92rem;
  }

  .faq-list details p {
    padding: 0 18px 18px;
  }

  .sitemap-list {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 16px 24px;
  }

  .footer-bottom {
    padding: 18px 16px 32px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 420px) {
  .site-search {
    display: none;
  }

  .hero-text p {
    font-size: 0.92rem;
  }

  .btn-primary {
    padding: 11px 22px;
    font-size: 0.9rem;
  }

  .sitemap-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============ 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;
  }
}

/* ============ PRINT ============ */
@media print {
  .site-header,
  .back-to-top,
  .carousel-controls,
  .anchor-nav,
  .site-search,
  .theme-toggle,
  .menu-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero-carousel,
  .section {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}