:root {
  --bg-primary: #0f0f1a;
  --bg-secondary: #1a1a2e;
  --bg-card: rgba(26, 26, 46, 0.65);
  --bg-glass: rgba(255, 255, 255, 0.06);
  --bg-glass-hover: rgba(255, 255, 255, 0.1);
  --text-primary: #f0f0f5;
  --text-secondary: #b0b0c8;
  --text-muted: #7a7a95;
  --accent: #e94560;
  --accent-hover: #ff5a75;
  --accent-secondary: #533483;
  --accent-tertiary: #0f3460;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(233, 69, 96, 0.4);
  --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 30px rgba(233, 69, 96, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --max-width: 1200px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: #f5f5fa;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.75);
    --bg-glass: rgba(255, 255, 255, 0.6);
    --bg-glass-hover: rgba(255, 255, 255, 0.85);
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #8a8aa0;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(233, 69, 96, 0.35);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(233, 69, 96, 0.08);
  }
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(83, 52, 131, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(233, 69, 96, 0.08), transparent),
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(15, 52, 96, 0.06), transparent);
  pointer-events: none;
  z-index: 0;
}

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

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

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

::-webkit-scrollbar-thumb {
  background: var(--accent-secondary);
  border-radius: 4px;
}

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

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

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

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

ul,
ol {
  list-style: none;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 15, 26, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition-smooth), box-shadow var(--transition-smooth);
}

@media (prefers-color-scheme: light) {
  header {
    background: rgba(245, 245, 250, 0.78);
  }
}

header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

header nav > div {
  flex-shrink: 0;
}

header nav > div a {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary), #6a4c93);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity var(--transition-fast);
}

header nav > div a:hover {
  opacity: 0.85;
  -webkit-text-fill-color: transparent;
}

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

header nav ul li a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--transition-fast), background var(--transition-fast);
}

header nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transform: translateX(-50%);
  transition: width var(--transition-smooth);
}

header nav ul li a:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}

header nav ul li a:hover::after {
  width: 60%;
}

/* ===== MAIN ===== */
main {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ===== SECTIONS ===== */
section {
  margin-top: 72px;
  opacity: 0;
  transform: translateY(32px);
  animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

section:nth-child(1) { animation-delay: 0.05s; }
section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.15s; }
section:nth-child(4) { animation-delay: 0.2s; }
section:nth-child(5) { animation-delay: 0.25s; }
section:nth-child(6) { animation-delay: 0.3s; }
section:nth-child(7) { animation-delay: 0.35s; }
section:nth-child(8) { animation-delay: 0.4s; }
section:nth-child(9) { animation-delay: 0.45s; }
section:nth-child(10) { animation-delay: 0.5s; }
section:nth-child(n+11) { animation-delay: 0.55s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 16px;
  letter-spacing: -0.02em;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  border-radius: 2px;
  transition: width var(--transition-smooth);
}

section:hover h2::after {
  width: 80px;
}

section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

section h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 24px;
  margin-bottom: 8px;
}

section > p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 16px;
  max-width: 80ch;
}

section > p:first-of-type {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ===== HERO ===== */
#hero {
  margin-top: 48px;
  padding: 56px 40px 48px;
  background: linear-gradient(135deg, rgba(83, 52, 131, 0.35) 0%, rgba(15, 52, 96, 0.4) 40%, rgba(233, 69, 96, 0.25) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

#hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.18), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb 8s ease-in-out infinite;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(83, 52, 131, 0.25), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb 10s ease-in-out infinite reverse;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
}

#hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, #e0d4f5 50%, #f0a0b0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (prefers-color-scheme: light) {
  #hero h1 {
    background: linear-gradient(135deg, #1a1a2e 0%, #3a2a5e 50%, #e94560 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

#hero > p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 72ch;
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

#hero figure {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

#hero figure:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(233, 69, 96, 0.12);
}

#hero figure svg {
  width: 100%;
  height: auto;
  display: block;
}

#hero figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 12px 0 0;
  letter-spacing: 0.02em;
}

/* ===== CARDS (generic glass card) ===== */
#about,
#products,
#advantages,
#solutions,
#applications,
#cases,
#testimonials,
#news,
#articles,
#knowledge,
#faq,
#howto,
#contact,
#author,
#trust,
#sitemap,
#links,
#legal {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-smooth), border-color var(--transition-smooth), transform var(--transition-smooth);
}

#about:hover,
#products:hover,
#advantages:hover,
#solutions:hover,
#applications:hover,
#cases:hover,
#testimonials:hover,
#news:hover,
#articles:hover,
#knowledge:hover,
#faq:hover,
#howto:hover,
#contact:hover,
#author:hover,
#trust:hover,
#sitemap:hover,
#links:hover,
#legal:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

/* ===== PRODUCTS / FEATURES ===== */
#products h4 {
  display: inline-block;
  padding: 4px 14px;
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.12), rgba(83, 52, 131, 0.12));
  border: 1px solid rgba(233, 69, 96, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 28px;
  margin-bottom: 6px;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

#products h4:hover {
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.22), rgba(83, 52, 131, 0.22));
  border-color: rgba(233, 69, 96, 0.4);
  transform: translateX(4px);
}

#products h4 + p {
  margin-top: 4px;
}

/* ===== ADVANTAGES ===== */
#advantages h3 {
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  transition: border-color var(--transition-fast), padding-left var(--transition-fast);
}

#advantages h3:hover {
  border-color: var(--accent-secondary);
  padding-left: 22px;
}

/* ===== TESTIMONIALS ===== */
#testimonials blockquote {
  position: relative;
  padding: 24px 28px 24px 52px;
  margin: 20px 0;
  background: var(--bg-glass);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

#testimonials blockquote::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.35;
  font-family: Georgia, serif;
}

#testimonials blockquote:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-hover);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm), var(--shadow-glow);
}

#testimonials blockquote p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.8;
  margin: 0;
}

/* ===== NEWS ===== */
#news article {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
  transition: padding-left var(--transition-smooth);
}

#news article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

#news article:first-of-type {
  padding-top: 8px;
}

#news article:hover {
  padding-left: 12px;
}

#news article h3 {
  margin-top: 0;
  font-size: 1.15rem;
  transition: color var(--transition-fast);
}

#news article:hover h3 {
  color: var(--accent);
}

#news article time {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

#news article p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ===== ARTICLES ===== */
#articles article {
  padding: 28px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  transition: padding-left var(--transition-smooth);
}

#articles article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

#articles article:first-of-type {
  padding-top: 8px;
}

#articles article:hover {
  padding-left: 12px;
}

#articles article h3 {
  margin-top: 0;
  font-size: 1.15rem;
  transition: color var(--transition-fast);
}

#articles article:hover h3 {
  color: var(--accent);
}

#articles article time {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

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

#articles article p a {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  padding: 6px 16px;
  border: 1px solid rgba(233, 69, 96, 0.3);
  border-radius: 100px;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

#articles article p a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(233, 69, 96, 0.3);
}

/* ===== KNOWLEDGE ===== */
#knowledge h3 {
  padding-left: 16px;
  border-left: 3px solid var(--accent-secondary);
  transition: border-color var(--transition-fast), padding-left var(--transition-fast);
}

#knowledge h3:hover {
  border-color: var(--accent);
  padding-left: 22px;
}

/* ===== FAQ ===== */
#faq details {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-smooth);
}

#faq details:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-hover);
}

#faq details[open] {
  background: var(--bg-glass-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm), var(--shadow-glow);
}

#faq summary {
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  transition: color var(--transition-fast);
  user-select: none;
}

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

#faq summary::before {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  transition: transform var(--transition-bounce), background var(--transition-fast);
}

#faq details[open] summary::before {
  content: '\2212';
  transform: rotate(180deg);
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent));
}

#faq summary:hover {
  color: var(--accent);
}

#faq details p {
  padding: 0 20px 20px 56px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin: 0;
  animation: faqSlide 0.3s ease-out;
}

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

/* ===== HOWTO ===== */
#howto h3 {
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  transition: border-color var(--transition-fast), padding-left var(--transition-fast);
}

#howto h3:hover {
  border-color: var(--accent-secondary);
  padding-left: 22px;
}

#howto h4 {
  display: flex;
  align-items: center;
  gap: 10px;
}

#howto h4::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(233, 69, 96, 0.5);
  transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
}

#howto h4:hover::before {
  transform: scale(1.4);
  box-shadow: 0 0 16px rgba(233, 69, 96, 0.8);
}

/* ===== CONTACT ===== */
#contact address {
  font-style: normal;
  margin-top: 20px;
  display: grid;
  gap: 8px;
}

#contact address p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 10px 16px;
  background: var(--bg-glass);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

#contact address p:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-hover);
  transform: translateX(4px);
}

/* ===== AUTHOR / TRUST ===== */
#author h3,
#trust h3 {
  padding-left: 16px;
  border-left: 3px solid var(--accent-secondary);
  transition: border-color var(--transition-fast), padding-left var(--transition-fast);
}

#author h3:hover,
#trust h3:hover {
  border-color: var(--accent);
  padding-left: 22px;
}

/* ===== SITEMAP ===== */
#sitemap nav ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  margin-top: 16px;
}

#sitemap nav ul li a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

#sitemap nav ul li a:hover {
  background: var(--bg-glass-hover);
  color: var(--accent);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* ===== LINKS ===== */
#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

#links ul li a {
  display: inline-block;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

#links ul li a:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.3);
}

/* ===== LEGAL ===== */
#legal h2 {
  font-size: 1.3rem;
  margin-top: 28px;
}

#legal h2:first-of-type {
  margin-top: 0;
}

#legal h2::after {
  width: 32px;
  height: 3px;
}

/* ===== FOOTER ===== */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-color);
  padding: 40px 24px;
  text-align: center;
  background: rgba(15, 15, 26, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (prefers-color-scheme: light) {
  footer {
    background: rgba(245, 245, 250, 0.5);
  }
}

footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  line-height: 1.6;
}

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

/* ===== RESPONSIVE: TABLET ===== */
@media (max-width: 900px) {
  header nav {
    padding: 0 16px;
    min-height: 56px;
  }

  header nav ul {
    gap: 2px;
  }

  header nav ul li a {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  main {
    padding: 0 16px 60px;
  }

  section {
    margin-top: 56px;
  }

  section h2 {
    font-size: 1.55rem;
  }

  section h3 {
    font-size: 1.15rem;
  }

  #hero {
    padding: 40px 28px 36px;
    margin-top: 32px;
  }

  #about,
  #products,
  #advantages,
  #solutions,
  #applications,
  #cases,
  #testimonials,
  #news,
  #articles,
  #knowledge,
  #faq,
  #howto,
  #contact,
  #author,
  #trust,
  #sitemap,
  #links,
  #legal {
    padding: 28px 24px;
  }
}

/* ===== RESPONSIVE: MOBILE ===== */
@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  header nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
    gap: 10px;
  }

  header nav ul {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  header nav ul::-webkit-scrollbar {
    display: none;
  }

  header nav ul li a {
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  main {
    padding: 0 12px 48px;
  }

  section {
    margin-top: 40px;
    border-radius: var(--radius-md);
  }

  section h2 {
    font-size: 1.35rem;
  }

  section h2::after {
    width: 36px;
    height: 3px;
  }

  section h3 {
    font-size: 1.08rem;
    margin-top: 24px;
  }

  section h4 {
    font-size: 0.95rem;
  }

  section > p {
    font-size: 0.92rem;
  }

  #hero {
    padding: 28px 18px 24px;
    margin-top: 24px;
    border-radius: var(--radius-lg);
  }

  #hero h1 {
    font-size: 1.4rem;
  }

  #hero > p {
    font-size: 0.92rem;
  }

  #about,
  #products,
  #advantages,
  #solutions,
  #applications,
  #cases,
  #testimonials,
  #news,
  #articles,
  #knowledge,
  #faq,
  #howto,
  #contact,
  #author,
  #trust,
  #sitemap,
  #links,
  #legal {
    padding: 22px 16px;
  }

  #testimonials blockquote {
    padding: 18px 18px 18px 44px;
  }

  #testimonials blockquote::before {
    font-size: 2.5rem;
    left: 12px;
  }

  #faq summary {
    padding: 14px 16px;
    font-size: 0.88rem;
  }

  #faq details p {
    padding: 0 16px 16px 48px;
    font-size: 0.85rem;
  }

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

  #sitemap nav ul li a {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  #links ul {
    gap: 8px;
  }

  #links ul li a {
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  #contact address p {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  footer {
    padding: 28px 16px;
  }

  footer p {
    font-size: 0.78rem;
  }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 380px) {
  #hero h1 {
    font-size: 1.2rem;
  }

  section h2 {
    font-size: 1.2rem;
  }

  #sitemap nav ul {
    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;
  }

  section {
    opacity: 1;
    transform: none;
  }
}

/* ===== PRINT ===== */
@media print {
  header,
  footer,
  #hero::before,
  #hero::after {
    display: none;
  }

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

  body::before {
    display: none;
  }

  section {
    opacity: 1;
    transform: none;
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}