:root {
  --primary: #e94560;
  --primary-dark: #c7304a;
  --primary-light: #ff6b81;
  --secondary: #0f3460;
  --accent: #533483;
  --bg-dark: #1a1a2e;
  --bg-darker: #0f0f1a;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-hover: rgba(255, 255, 255, 0.1);
  --bg-glass: rgba(26, 26, 46, 0.72);
  --text-primary: #eaeaea;
  --text-secondary: #b8b8c8;
  --text-muted: #8888a0;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(233, 69, 96, 0.35);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 24px rgba(233, 69, 96, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --header-height: 68px;
  --max-width: 1200px;
}

[data-theme="light"] {
  --bg-dark: #f5f5fa;
  --bg-darker: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 1);
  --bg-glass: rgba(255, 255, 255, 0.78);
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #8888a0;
  --border-color: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(233, 69, 96, 0.25);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.14);
  --shadow-glow: 0 0 24px rgba(233, 69, 96, 0.15);
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-primary);
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(233, 69, 96, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(83, 52, 131, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(15, 52, 96, 0.12) 0%, transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--primary);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 6px;
  border: 2px solid var(--bg-darker);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

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

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: transform var(--transition-fast);
}

.logo:hover {
  transform: scale(1.03);
  color: var(--text-primary);
}

.logo svg {
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 1px var(--border-color);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.logo:hover svg {
  box-shadow: 0 0 16px var(--border-glow), 0 0 0 1px var(--primary);
  transform: rotate(-4deg);
}

.logo span {
  background: linear-gradient(135deg, var(--primary-light), var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

#main-nav a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

#main-nav a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--transition-base);
}

#main-nav a:hover {
  color: var(--text-primary);
  background: var(--bg-card);
  transform: translateY(-1px);
}

#main-nav a:hover::after {
  width: 60%;
}

#menu-toggle {
  display: none;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

#menu-toggle:hover {
  background: var(--bg-card-hover);
  transform: scale(1.05);
}

#menu-toggle:active {
  transform: scale(0.95);
}

main {
  padding-top: var(--header-height);
  overflow: hidden;
}

section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 24px;
  position: relative;
}

section > h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 36px;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  color: var(--text-primary);
}

section > h2::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 12px var(--border-glow);
}

section > h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 64px;
  width: 24px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.5;
}

section > article {
  background: var(--bg-card);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

section > article:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-glow);
}

section > article h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 28px 0 12px;
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

section > article h3:first-child {
  margin-top: 0;
}

section > article h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 4px;
  height: 1em;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

section > article h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-light);
  margin: 22px 0 8px;
  line-height: 1.4;
}

section > article p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.85;
}

section > article p:last-child {
  margin-bottom: 0;
}

section > article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(233, 69, 96, 0.1);
  border: 1px solid rgba(233, 69, 96, 0.2);
  transition: all var(--transition-fast);
}

section > article a::after {
  content: "→";
  transition: transform var(--transition-fast);
}

section > article a:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

section > article a:hover::after {
  transform: translateX(4px);
}

#banner {
  max-width: 100%;
  padding: 0;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 35%, #0f3460 70%, #533483 100%);
  background-size: 200% 200%;
  animation: bannerGradient 14s ease infinite;
}

@keyframes bannerGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

#banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(233, 69, 96, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(83, 52, 131, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(15, 52, 96, 0.2) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

#banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.banner-slide {
  display: none;
  max-width: 860px;
  padding: 100px 32px 80px;
  text-align: center;
  position: relative;
  z-index: 2;
  animation: bannerFadeIn 0.8s ease both;
}

.banner-slide.active {
  display: block;
}

@keyframes bannerFadeIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.banner-slide h1,
.banner-slide h2 {
  font-size: clamp(1.6rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: #ffffff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.banner-slide h1 {
  background: linear-gradient(135deg, #ffffff 0%, #ffd6de 50%, #e94560 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.banner-slide h2 {
  background: linear-gradient(135deg, #ffffff 0%, #c8d6ff 60%, #9b8ec4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.banner-slide p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
  margin: 0 auto;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.banner-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0;
  transition: all var(--transition-base);
  position: relative;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.dot.active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-color: transparent;
  box-shadow: 0 0 12px var(--border-glow);
}

#search-section {
  max-width: var(--max-width);
  margin: -48px auto 0;
  padding: 0 24px 24px;
  position: relative;
  z-index: 10;
}

#search-section h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#search-section h2::before,
#search-section h2::after {
  display: none;
}

#site-search {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
  max-width: 760px;
  margin: 0 auto;
}

#site-search:focus-within {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(233, 69, 96, 0.15), var(--shadow-glow);
  transform: translateY(-2px);
}

#site-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#search-input {
  flex: 1;
  min-width: 0;
  padding: 14px 22px;
  font-size: 1rem;
  color: var(--text-primary);
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  outline: none;
}

#search-input::placeholder {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

#search-input:focus::placeholder {
  color: transparent;
}

#site-search button[type="submit"] {
  padding: 14px 34px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  letter-spacing: 0.5px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

#site-search button[type="submit"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

#site-search button[type="submit"]:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(233, 69, 96, 0.45);
  filter: brightness(1.08);
}

#site-search button[type="submit"]:hover::before {
  left: 100%;
}

#site-search button[type="submit"]:active {
  transform: scale(0.97);
}

#search-result {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 12px;
  min-height: 1.4em;
  transition: color var(--transition-fast);
}

#search-result:not(:empty) {
  color: var(--primary-light);
}

#products > article,
#advantages > article,
#solutions > article,
#cases > article,
#news > article {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  padding: 0;
}

#products > article:hover,
#advantages > article:hover,
#solutions > article:hover,
#cases > article:hover,
#news > article:hover {
  box-shadow: none;
  border-color: transparent;
}

#products > article h3,
#advantages > article h3,
#solutions > article h3,
#cases > article h3,
#news > article h3 {
  background: var(--bg-card);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 22px 12px;
  margin: 0;
  font-size: 1.05rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

#products > article h3::after,
#advantages > article h3::after,
#solutions > article h3::after,
#cases > article h3::after,
#news > article h3::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

#products > article h3:hover,
#advantages > article h3:hover,
#solutions > article h3:hover,
#cases > article h3:hover,
#news > article h3:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transform: translateY(-4px);
}

#products > article h3:hover::after,
#advantages > article h3:hover::after,
#solutions > article h3:hover::after,
#cases > article h3:hover::after,
#news > article h3:hover::after {
  transform: scaleX(1);
}

#products > article h3 + p,
#advantages > article h3 + p,
#solutions > article h3 + p,
#cases > article h3 + p,
#news > article h3 + p {
  background: var(--bg-card);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 12px 22px 20px;
  margin: -12px 0 0;
  font-size: 0.9rem;
  line-height: 1.8;
  transition: all var(--transition-base);
}

#products > article h3:hover + p,
#advantages > article h3:hover + p,
#solutions > article h3:hover + p,
#cases > article h3:hover + p,
#news > article h3:hover + p {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transform: translateY(-4px);
}

#articles > article {
  background: var(--bg-card);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

#articles > article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-base);
}

#articles > article:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transform: translateX(6px);
}

#articles > article:hover::before {
  transform: scaleY(1);
}

#articles > article h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  padding-left: 0;
  color: var(--text-primary);
}

#articles > article h3::before {
  display: none;
}

#articles > article p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

#articles > article a {
  font-size: 0.85rem;
}

#faq details {
  background: var(--bg-card);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

#faq details:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md);
}

#faq details[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

#faq summary {
  padding: 20px 26px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background var(--transition-fast), color var(--transition-fast);
  position: relative;
}

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

#faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--primary);
  background: rgba(233, 69, 96, 0.1);
  border: 1px solid rgba(233, 69, 96, 0.25);
  border-radius: 50%;
  transition: all var(--transition-base);
}

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

#faq summary:hover {
  background: var(--bg-card-hover);
  color: var(--primary-light);
}

#faq details p {
  padding: 0 26px 22px;
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.85;
  animation: faqSlide 0.35s ease both;
}

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

#howto > article {
  counter-reset: howto-step;
}

#howto h3 {
  font-size: 1.15rem;
  margin-top: 32px;
}

#howto h3:first-child {
  margin-top: 0;
}

#howto h4 {
  font-size: 1rem;
  color: var(--primary-light);
  margin: 20px 0 6px;
  padding-left: 14px;
  position: relative;
}

#howto h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--border-glow);
}

#contact address {
  font-style: normal;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

#contact address p {
  background: var(--bg-card);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

#contact address p::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

#contact address p:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: var(--text-primary);
}

#contact address p:hover::before {
  transform: scaleX(1);
}

#sitemap nav ul,
#links ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

#sitemap nav a,
#links a {
  display: block;
  padding: 12px 18px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

#sitemap nav a::before,
#links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transform: scaleY(0);
  transition: transform var(--transition-fast);
}

#sitemap nav a:hover,
#links a:hover {
  color: var(--text-primary);
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

#sitemap nav a:hover::before,
#links a:hover::before {
  transform: scaleY(1);
}

#privacy,
#disclaimer,
#copyright,
#security {
  padding-top: 0;
}

#privacy > p,
#disclaimer > p,
#copyright > p,
#security > p {
  background: var(--bg-card);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 26px 30px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.9;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

#privacy > p:hover,
#disclaimer > p:hover,
#copyright > p:hover,
#security > p:hover {
  border-color: var(--border-glow);
  border-left-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

#site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 48px 24px 32px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

#site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-inner p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-inner p:first-child {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 8px;
}

.footer-inner nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.footer-inner nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width var(--transition-base);
}

.footer-inner nav a:hover {
  color: var(--primary-light);
}

.footer-inner nav a:hover::after {
  width: 100%;
}

#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all var(--transition-base);
  z-index: 999;
}

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

#back-to-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: var(--shadow-lg), 0 0 32px rgba(233, 69, 96, 0.5);
}

#back-to-top:active {
  transform: translateY(0) scale(0.95);
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  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; }
.reveal-delay-5 { transition-delay: 0.4s; }

@media (max-width: 1024px) {
  #main-nav ul {
    gap: 0;
  }

  #main-nav a {
    padding: 8px 9px;
    font-size: 0.82rem;
  }

  section {
    padding: 56px 20px;
  }

  section > article {
    padding: 28px 26px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 60px;
  }

  #menu-toggle {
    display: flex;
  }

  #main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), box-shadow var(--transition-base);
    box-shadow: none;
  }

  #main-nav.open {
    max-height: 520px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }

  #main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 20px;
  }

  #main-nav a {
    padding: 14px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--border-color);
  }

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

  #main-nav a::after {
    display: none;
  }

  #main-nav a:hover {
    background: var(--bg-card);
    transform: translateX(4px);
  }

  #banner {
    min-height: 440px;
  }

  .banner-slide {
    padding: 80px 24px 72px;
  }

  #search-section {
    margin-top: -36px;
  }

  #site-search {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 10px;
    gap: 8px;
  }

  #search-input {
    padding: 14px 18px;
    text-align: center;
  }

  #site-search button[type="submit"] {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-md);
  }

  section {
    padding: 48px 18px;
  }

  section > h2 {
    margin-bottom: 28px;
  }

  section > article {
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }

  #products > article,
  #advantages > article,
  #solutions > article,
  #cases > article,
  #news > article {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #contact address {
    grid-template-columns: 1fr;
  }

  #sitemap nav ul,
  #links ul {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  #back-to-top {
    bottom: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .logo {
    font-size: 1.05rem;
  }

  .logo svg {
    width: 30px;
    height: 30px;
  }

  #banner {
    min-height: 400px;
  }

  .banner-slide {
    padding: 64px 18px 64px;
  }

  .banner-slide h1,
  .banner-slide h2 {
    font-size: 1.45rem;
  }

  .banner-slide p {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  section {
    padding: 40px 14px;
  }

  section > article {
    padding: 20px 16px;
  }

  section > article h3 {
    font-size: 1.05rem;
    padding-left: 14px;
  }

  #faq summary {
    padding: 16px 18px;
    font-size: 0.92rem;
  }

  #faq details p {
    padding: 0 18px 18px;
    font-size: 0.88rem;
  }

  #sitemap nav ul,
  #links ul {
    grid-template-columns: 1fr 1fr;
  }

  #sitemap nav a,
  #links a {
    padding: 10px 14px;
    font-size: 0.84rem;
  }

  #privacy > p,
  #disclaimer > p,
  #copyright > p,
  #security > p {
    padding: 20px 18px;
    font-size: 0.88rem;
  }
}

@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;
  }
}

@media print {
  #site-header,
  #back-to-top,
  .banner-dots,
  #site-search {
    display: none;
  }

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

  section {
    page-break-inside: avoid;
  }
}