:root {
  --brand: #2b6cb0;
  --brand-dark: #1a4a7a;
  --brand-light: #4299e1;
  --accent: #f6e05e;
  --accent-dark: #d69e2e;
  --bg: #f0f4f8;
  --bg-alt: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-glass: rgba(255, 255, 255, 0.55);
  --bg-glass-border: rgba(255, 255, 255, 0.65);
  --text: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border: rgba(160, 174, 192, 0.28);
  --shadow: 0 4px 16px rgba(43, 108, 176, 0.08);
  --shadow-lg: 0 12px 40px rgba(43, 108, 176, 0.14);
  --shadow-hover: 0 16px 48px rgba(43, 108, 176, 0.2);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --header-h: 68px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

[data-theme="dark"] {
  --brand: #63b3ed;
  --brand-dark: #4299e1;
  --brand-light: #90cdf4;
  --accent: #f6e05e;
  --accent-dark: #ecc94b;
  --bg: #0f1419;
  --bg-alt: #1a202c;
  --bg-card: rgba(26, 32, 44, 0.78);
  --bg-glass: rgba(26, 32, 44, 0.62);
  --bg-glass-border: rgba(99, 179, 237, 0.18);
  --text: #e2e8f0;
  --text-secondary: #a0aec0;
  --text-muted: #718096;
  --border: rgba(99, 179, 237, 0.15);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.55);
}

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

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(43, 108, 176, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(246, 224, 94, 0.06), transparent);
}

[data-theme="dark"] body {
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(99, 179, 237, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(246, 224, 94, 0.04), transparent);
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--brand-light);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--brand-light);
  outline-offset: 2px;
  border-radius: 4px;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.35;
  color: var(--text);
  font-weight: 700;
}

h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.4rem); }
h4 { font-size: clamp(1rem, 1.8vw, 1.15rem); }

p {
  margin-bottom: 1em;
  color: var(--text-secondary);
}

blockquote {
  border-left: 4px solid var(--brand);
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.25rem 0;
  font-style: italic;
}

blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: normal;
}

time {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

/* ===== HEADER ===== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--bg-glass-border);
  transition: background var(--transition), box-shadow var(--transition);
}

#site-header.scrolled {
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

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

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

.brand svg {
  border-radius: 8px;
  transition: transform var(--transition);
}

.brand:hover svg {
  transform: rotate(-6deg) scale(1.08);
}

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

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

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

#main-nav a:hover {
  color: var(--brand);
  background: rgba(43, 108, 176, 0.08);
}

[data-theme="dark"] #main-nav a:hover {
  background: rgba(99, 179, 237, 0.12);
}

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

#site-search {
  display: flex;
  align-items: center;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

#site-search:focus-within {
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

#search-input {
  border: none;
  background: transparent;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: var(--text);
  width: 160px;
  outline: none;
  font-family: var(--font);
}

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

#site-search button {
  border: none;
  background: var(--brand);
  color: #fff;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  font-family: var(--font);
  white-space: nowrap;
}

#site-search button:hover {
  background: var(--brand-dark);
}

#theme-toggle,
#menu-toggle {
  border: 1px solid var(--border);
  background: var(--bg-glass);
  color: var(--text-secondary);
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
  white-space: nowrap;
}

#theme-toggle:hover,
#menu-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(43, 108, 176, 0.08);
}

#menu-toggle {
  display: none;
}

/* ===== MAIN ===== */
main {
  padding-top: var(--header-h);
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

section {
  padding: 48px 0;
}

section h2 {
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

section h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--brand);
}

[data-theme="dark"] section h3 {
  color: var(--brand-light);
}

section h4 {
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--text);
}

/* ===== BREADCRUMB ===== */
#breadcrumb {
  padding: 16px 0 0;
  font-size: 0.85rem;
}

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

#breadcrumb li {
  display: flex;
  align-items: center;
  color: var(--text-muted);
}

#breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--text-muted);
  font-size: 1.1em;
}

#breadcrumb a {
  color: var(--text-secondary);
  font-weight: 500;
}

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

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

/* ===== BANNER ===== */
#banner {
  position: relative;
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 56px 40px;
  color: #fff;
  background: linear-gradient(135deg, #1a4a7a 0%, #2b6cb0 40%, #4299e1 70%, #63b3ed 100%);
  box-shadow: var(--shadow-lg);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#banner::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 224, 94, 0.18), transparent 70%);
  pointer-events: none;
}

#banner::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 179, 237, 0.22), transparent 70%);
  pointer-events: none;
}

.banner-slide {
  position: relative;
  z-index: 1;
  display: none;
  animation: bannerFadeIn 0.6s ease forwards;
}

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

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

#banner h1 {
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
}

#banner h2 {
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

#banner h2::after {
  display: none;
}

#banner p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 780px;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1em;
}

#banner a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#banner a:hover {
  color: #fff;
}

.banner-controls {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.banner-controls button {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 9px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}

.banner-controls button:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

/* ===== STATS ===== */
#stats {
  margin-top: 32px;
}

#stats ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

#stats li {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-secondary);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

#stats li:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.stat-number {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--brand);
  line-height: 1.2;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--brand), var(--accent-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== CARDS / CONTENT SECTIONS ===== */
#intro,
#products,
#solutions,
#scenes,
#cases,
#howto,
#faq,
#articles,
#news,
#knowledge,
#notice,
#contact,
#sitemap,
#links {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  margin: 32px 0;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}

#intro:hover,
#products:hover,
#solutions:hover,
#scenes:hover,
#cases:hover,
#howto:hover,
#faq:hover,
#articles:hover,
#news:hover,
#knowledge:hover,
#notice:hover,
#contact:hover,
#sitemap:hover,
#links:hover {
  box-shadow: var(--shadow-lg);
}

/* ===== PRODUCTS LIST ===== */
#products > ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

#products > ul li {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

#products > ul li:hover {
  transform: translateY(-4px);
  border-color: var(--brand-light);
  box-shadow: var(--shadow);
}

/* ===== HOWTO LISTS ===== */
#howto ul {
  margin: 12px 0 20px;
  padding-left: 0;
}

#howto ul li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--border);
}

#howto ul li:last-child {
  border-bottom: none;
}

#howto ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ===== FAQ ===== */
#faq h3 {
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border-bottom: none;
  font-size: 1.05rem;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

#faq h3:hover {
  background: rgba(43, 108, 176, 0.08);
  color: var(--brand);
}

[data-theme="dark"] #faq h3:hover {
  background: rgba(99, 179, 237, 0.1);
}

#faq h3 + p {
  padding: 14px 18px;
  background: transparent;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  margin-bottom: 0;
  font-size: 0.93rem;
  line-height: 1.8;
}

/* ===== ARTICLES ===== */
#articles article {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 20px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

#articles article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-light);
}

#articles article h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

#articles article time {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(43, 108, 176, 0.08);
  padding: 2px 10px;
  border-radius: 50px;
}

[data-theme="dark"] #articles article time {
  background: rgba(99, 179, 237, 0.12);
}

#articles article p {
  font-size: 0.93rem;
  margin-bottom: 10px;
}

#articles article a {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

#articles article a::after {
  content: "→";
  transition: transform var(--transition);
}

#articles article a:hover::after {
  transform: translateX(4px);
}

/* ===== NEWS ===== */
#news h3 {
  margin-top: 24px;
}

#news p {
  font-size: 0.93rem;
}

/* ===== KNOWLEDGE ===== */
#knowledge p {
  font-size: 0.95rem;
  line-height: 1.85;
}

/* ===== NOTICE ===== */
#notice ul {
  margin: 12px 0 20px;
}

#notice ul li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--text-secondary);
  font-size: 0.93rem;
  border-bottom: 1px dashed var(--border);
}

#notice ul li:last-child {
  border-bottom: none;
}

#notice ul li::before {
  content: "!";
  position: absolute;
  left: 4px;
  top: 8px;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 0.9rem;
}

/* ===== CONTACT ===== */
#contact ul {
  margin: 16px 0;
}

#contact ul li {
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px dashed var(--border);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

#contact ul li:last-child {
  border-bottom: none;
}

#contact ul li a {
  font-weight: 600;
}

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

#sitemap a {
  display: block;
  padding: 10px 16px;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  transition: all var(--transition);
}

#sitemap a:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

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

#links a {
  display: inline-block;
  padding: 10px 22px;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
}

#links a:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* ===== FOOTER ===== */
footer {
  margin-top: 48px;
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-top: 1px solid var(--bg-glass-border);
  padding: 40px 20px;
}

#footer-info {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

#footer-info h2 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 0;
}

#footer-info h2::after {
  display: none;
}

#footer-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

#footer-info a {
  font-weight: 500;
}

/* ===== BACK TO TOP ===== */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition);
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  text-align: center;
  padding: 4px;
}

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

#back-to-top:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: var(--shadow-hover);
}

/* ===== SCROLL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  #main-nav a {
    padding: 8px 8px;
    font-size: 0.82rem;
  }

  #search-input {
    width: 120px;
  }
}

@media (max-width: 900px) {
  #main-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-card);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--bg-glass-border);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    animation: navSlideDown 0.3s ease;
  }

  #main-nav.open {
    display: block;
  }

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

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

  #main-nav a {
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }

  #menu-toggle {
    display: block;
  }

  #stats ul {
    grid-template-columns: repeat(2, 1fr);
  }

  #banner {
    padding: 40px 28px;
    min-height: 320px;
  }
}

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

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

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

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

  #site-search {
    display: none;
  }

  #theme-toggle,
  #menu-toggle {
    padding: 7px 12px;
    font-size: 0.78rem;
  }

  main {
    padding-left: 14px;
    padding-right: 14px;
  }

  section {
    padding: 32px 0;
  }

  #intro,
  #products,
  #solutions,
  #scenes,
  #cases,
  #howto,
  #faq,
  #articles,
  #news,
  #knowledge,
  #notice,
  #contact,
  #sitemap,
  #links {
    padding: 26px 18px;
    margin: 20px 0;
    border-radius: var(--radius);
  }

  #banner {
    padding: 32px 20px;
    min-height: 280px;
    border-radius: var(--radius);
    margin-top: 16px;
  }

  #banner h1 {
    font-size: 1.3rem;
  }

  #banner p {
    font-size: 0.9rem;
  }

  .banner-controls button {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  #stats ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  #stats li {
    padding: 20px 14px;
    font-size: 0.82rem;
  }

  #products > ul {
    grid-template-columns: 1fr;
  }

  #sitemap ul {
    grid-template-columns: repeat(2, 1fr);
  }

  #articles article {
    padding: 18px 16px;
  }

  #faq h3 {
    padding: 12px 14px;
    font-size: 0.98rem;
  }

  #faq h3 + p {
    padding: 12px 14px;
    font-size: 0.88rem;
  }

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

  blockquote {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 380px) {
  .brand-name {
    display: none;
  }

  #stats ul {
    grid-template-columns: 1fr;
  }

  #sitemap ul {
    grid-template-columns: 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,
  .banner-controls,
  #site-search,
  #theme-toggle,
  #menu-toggle {
    display: none !important;
  }

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

  main {
    padding-top: 0;
  }

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