:root {
  --bg: #f5f6fa;
  --bg-elev: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --text: #1a1a2e;
  --text-soft: #4a4a5e;
  --text-mute: #7a7a8c;
  --primary: #e94560;
  --primary-soft: rgba(233, 69, 96, 0.12);
  --primary-dark: #c73250;
  --accent: #0f3460;
  --accent-2: #533483;
  --border: rgba(26, 26, 46, 0.1);
  --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 50px rgba(26, 26, 46, 0.16);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 72px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-theme="dark"] {
  --bg: #0d0d1a;
  --bg-elev: #16162a;
  --bg-glass: rgba(22, 22, 42, 0.72);
  --text: #ececf4;
  --text-soft: #c3c3d4;
  --text-mute: #8b8ba3;
  --border: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.55);
}

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

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  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);
  text-decoration: underline;
}

h1, h2, h3, h4 {
  line-height: 1.35;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); }

p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.4em; }

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

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.3s var(--ease);
}

.skip-link:focus {
  top: 12px;
  color: #fff;
  text-decoration: none;
}

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

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

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

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

.brand-logo {
  width: 40px;
  height: 40px;
  transition: transform 0.5s var(--ease);
}

.brand:hover .brand-logo {
  transform: rotate(-12deg) scale(1.08);
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--primary-soft);
  font-weight: 600;
  white-space: nowrap;
}

.main-nav {
  flex: 1 1 auto;
}

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

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

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
  background: var(--primary-soft);
  text-decoration: none;
}

.main-nav a:hover::after {
  width: 40%;
}

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

.search-form {
  display: flex;
  align-items: center;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

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

.search-form input {
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 8px 14px;
  font-size: 0.88rem;
  width: 190px;
  outline: none;
}

.search-form input::placeholder {
  color: var(--text-mute);
}

.search-form button {
  border: 0;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s var(--ease);
}

.search-form button:hover {
  background: var(--primary-dark);
}

.theme-toggle,
.menu-toggle {
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text-soft);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.theme-toggle:hover,
.menu-toggle:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
}

/* ============ LAYOUT ============ */
main {
  display: block;
}

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

.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section-lead {
  color: var(--text-soft);
  font-size: 1.02rem;
  max-width: 860px;
  margin-bottom: 2em;
}

.breadcrumb {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px 0;
  font-size: 0.85rem;
}

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

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

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

/* ============ HERO ============ */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 24px auto 0;
  padding: 0 24px;
}

.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 55%, #533483 100%);
}

.slide {
  display: none;
  position: relative;
}

.slide.active {
  display: block;
  animation: fadeSlide 0.7s var(--ease);
}

@keyframes fadeSlide {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

.hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 420;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px clamp(20px, 5vw, 56px);
  background: linear-gradient(to top, rgba(13, 13, 26, 0.88), rgba(13, 13, 26, 0));
  color: #fff;
}

.slide-caption h2 {
  color: #fff;
  margin-bottom: 0.3em;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.slide-caption p {
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  max-width: 720px;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 5;
}

.slider-prev { left: 16px; }
.slider-next { right: 16px; }

.slider-prev:hover,
.slider-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

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

.slider-dots button.active {
  width: 26px;
  border-radius: 999px;
  background: var(--primary);
}

.hero-intro {
  margin-top: 36px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.hero-intro h1 {
  background: linear-gradient(120deg, var(--primary), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary);
}

.hero-lead {
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.85;
}

.hero-lead strong {
  color: var(--text);
  font-weight: 700;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.stat-item {
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--primary-soft), transparent);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.stat-num {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.stat-num::after {
  content: "+";
  font-size: 0.6em;
  margin-left: 2px;
}

.stat-item:nth-child(4) .stat-num::after {
  content: "";
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-mute);
  margin-top: 4px;
}

/* ============ BRAND ============ */
.brand-section {
  background: var(--bg);
}

.brand-article {
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.brand-article h3 {
  position: relative;
  padding-left: 16px;
  color: var(--text);
}

.brand-article h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  bottom: 0.25em;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(to bottom, var(--primary), var(--accent-2));
}

.brand-article p {
  color: var(--text-soft);
  text-align: justify;
}

/* ============ PRODUCTS ============ */
.products-section {
  background: linear-gradient(180deg, transparent, var(--primary-soft) 60%, transparent);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.product-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

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

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

.product-card svg {
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 14px;
  transition: transform 0.4s var(--ease);
}

.product-card:hover svg {
  transform: scale(1.08) rotate(-4deg);
}

.product-card h3 {
  color: var(--text);
  margin-bottom: 0.5em;
}

.product-card p {
  color: var(--text-soft);
  font-size: 0.94rem;
  margin: 0;
}

.advantage-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}

.advantage-list li {
  position: relative;
  padding: 16px 18px 16px 48px;
  background: var(--bg-elev);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.94rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.advantage-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-list li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.advantage-list strong {
  color: var(--text);
}

/* ============ SOLUTIONS ============ */
.solutions-section .section-inner > h3 {
  margin-top: 2em;
  color: var(--text);
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

.solutions-section p {
  color: var(--text-soft);
  text-align: justify;
}

/* ============ CASES ============ */
.cases-section {
  background: var(--bg);
}

.case-item {
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  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 {
  color: var(--accent);
  font-size: 1.1rem;
}

[data-theme="dark"] .case-item h3 {
  color: #8fb4e8;
}

.case-item p {
  color: var(--text-soft);
  margin: 0;
  font-size: 0.95rem;
}

.testimonial {
  margin: 0 0 16px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary-soft), transparent);
  border-left: 4px solid var(--primary);
  position: relative;
}

.testimonial p {
  margin: 0;
  color: var(--text-soft);
  font-style: italic;
  font-size: 0.95rem;
}

/* ============ NEWS ============ */
.news-section {
  background: linear-gradient(180deg, transparent, var(--primary-soft) 50%, transparent);
}

.news-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 16px;
}

.news-list li {
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

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

.news-list time {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.news-list h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4em;
}

.news-list h3 a {
  color: var(--text);
}

.news-list h3 a:hover {
  color: var(--primary);
  text-decoration: none;
}

.news-list p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

/* ============ ARTICLES ============ */
.articles-section .section-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}

.articles-section .section-inner > h2,
.articles-section .section-inner > .section-lead {
  grid-column: 1 / -1;
}

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

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.article-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5em;
}

.article-card h3 a {
  color: var(--text);
}

.article-card h3 a:hover {
  color: var(--primary);
  text-decoration: none;
}

.article-meta {
  font-size: 0.78rem;
  color: var(--text-mute);
  margin-bottom: 0.8em;
}

.article-summary {
  color: var(--text-soft);
  font-size: 0.92rem;
  flex: 1 1 auto;
}

.read-more {
  align-self: flex-start;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.read-more:hover {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  transform: translateX(4px);
}

/* ============ HOWTO ============ */
.howto-section {
  background: var(--bg);
}

.howto-section h3 {
  margin-top: 1.6em;
  color: var(--text);
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

.howto-section p {
  color: var(--text-soft);
  text-align: justify;
}

.howto-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
}

.howto-steps li {
  counter-increment: step;
  position: relative;
  padding: 18px 20px 18px 62px;
  background: var(--bg-elev);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.howto-steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.howto-steps li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

/* ============ FAQ ============ */
.faq-section {
  background: linear-gradient(180deg, transparent, var(--primary-soft) 50%, transparent);
}

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

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

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

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

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

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

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

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--text-soft);
  font-size: 0.95rem;
  text-align: justify;
  animation: faqIn 0.35s var(--ease);
}

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

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.contact-info,
.contact-form-wrap {
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text-soft);
  font-size: 0.93rem;
}

.contact-info li:last-child {
  border-bottom: 0;
}

.contact-info strong {
  color: var(--text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-top: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.93rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form button {
  margin-top: 16px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(233, 69, 96, 0.35);
}

.contact-section h3 {
  margin-top: 1.6em;
  color: var(--text);
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

.contact-section p {
  color: var(--text-soft);
}

/* ============ SITEMAP ============ */
.sitemap-section {
  background: var(--bg);
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.sitemap-grid > div {
  background: var(--bg-elev);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.sitemap-grid h3 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.8em;
}

.sitemap-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-grid li {
  margin-bottom: 8px;
}

.sitemap-grid a {
  color: var(--text-soft);
  font-size: 0.9rem;
  position: relative;
  padding-left: 14px;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.sitemap-grid a::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.sitemap-grid a:hover {
  color: var(--primary);
  padding-left: 18px;
  text-decoration: none;
}

/* ============ LEGAL ============ */
.legal-section .section-inner {
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.legal-section h3 {
  color: var(--text);
  margin-top: 1.6em;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

.legal-section p {
  color: var(--text-soft);
  text-align: justify;
  font-size: 0.95rem;
}

/* ============ FRIENDS ============ */
.friends-section {
  background: linear-gradient(180deg, transparent, var(--primary-soft) 50%, transparent);
}

.friend-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.friend-links a {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.88rem;
  transition: all 0.3s var(--ease);
}

.friend-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(233, 69, 96, 0.3);
}

.friends-note {
  font-size: 0.85rem;
  color: var(--text-mute);
}

/* ============ FOOTER ============ */
.site-footer {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 40px;
  margin-top: 40px;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
}

.footer-brand .footer-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4em;
}

.footer-brand p {
  margin: 0 0 0.5em;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.66);
}

.footer-meta p {
  margin: 0 0 0.55em;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.8);
}

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

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  padding: 12px 18px;
  border-radius: 999px;
  border: 0;
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(233, 69, 96, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s var(--ease), background-color 0.25s var(--ease);
}

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

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

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

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

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

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .header-inner {
    gap: 12px;
  }
  .search-form input {
    width: 150px;
  }
  .main-nav a {
    padding: 8px 9px;
    font-size: 0.86rem;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 64px;
  }
  .header-inner {
    padding: 8px 16px;
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .main-nav {
    order: 3;
    flex-basis: 100%;
    display: none;
    padding-bottom: 10px;
  }
  .main-nav.open {
    display: block;
    animation: navDrop 0.35s var(--ease);
  }
  @keyframes navDrop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .main-nav ul {
    flex-direction: column;
    gap: 2px;
  }
  .main-nav a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
  }
  .main-nav a::after {
    display: none;
  }
  .menu-toggle {
    display: inline-block;
  }
  .header-actions {
    margin-left: auto;
  }
  .search-form {
    display: none;
  }
  .section {
    padding: 52px 0;
  }
  .hero {
    margin-top: 16px;
    padding: 0 16px;
  }
  .section-inner,
  .breadcrumb {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .articles-section .section-inner {
    grid-template-columns: 1fr;
  }
  .slider-prev,
  .slider-next {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
  .slide-caption {
    padding: 18px 20px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }
  .brand-sub {
    display: none;
  }
  .brand-name {
    font-size: 1rem;
  }
  .theme-toggle {
    padding: 7px 11px;
    font-size: 0.8rem;
  }
  .hero-intro {
    padding: 20px 18px;
  }
  .hero-lead {
    font-size: 0.94rem;
    text-align: justify;
  }
  .stat-item {
    padding: 16px 8px;
  }
  .stat-label {
    font-size: 0.76rem;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .advantage-list {
    grid-template-columns: 1fr;
  }
  .case-item,
  .news-list li,
  .article-card {
    padding: 20px 18px;
  }
  .faq-item summary {
    padding: 15px 46px 15px 16px;
    font-size: 0.94rem;
  }
  .faq-item p {
    padding: 0 16px 16px;
  }
  .howto-steps li {
    padding: 16px 16px 16px 56px;
  }
  .contact-info,
  .contact-form-wrap {
    padding: 20px 18px;
  }
  .back-to-top {
    right: 14px;
    bottom: 14px;
    padding: 10px 14px;
    font-size: 0.78rem;
  }
  .slide-caption h2 {
    font-size: 1rem;
  }
  .slide-caption p {
    display: none;
  }
  .slider-dots {
    bottom: 8px;
  }
}
</｜｜DSML｜｜ parameter>
</｜｜DSML｜｜ invoke>
</tool_call>