:root {
  --bg: #f5f6fa;
  --bg-elevated: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-glass: rgba(255, 255, 255, 0.55);
  --border: rgba(26, 26, 46, 0.08);
  --text: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #7a7a96;
  --accent: #e94560;
  --accent-soft: rgba(233, 69, 96, 0.12);
  --accent-glow: rgba(233, 69, 96, 0.35);
  --primary: #1a1a2e;
  --primary-soft: rgba(26, 26, 46, 0.06);
  --gradient-1: linear-gradient(135deg, #1a1a2e 0%, #16213e 45%, #0f3460 100%);
  --gradient-2: linear-gradient(120deg, #e94560 0%, #903749 50%, #53354a 100%);
  --gradient-3: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 26, 46, 0.1);
  --shadow-lg: 0 16px 48px rgba(26, 26, 46, 0.16);
  --shadow-accent: 0 8px 32px rgba(233, 69, 96, 0.28);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --header-h: 68px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --bg: #0d0d17;
  --bg-elevated: #16162a;
  --bg-card: rgba(30, 30, 54, 0.72);
  --bg-glass: rgba(22, 22, 42, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef0f8;
  --text-secondary: #b8bcd4;
  --text-muted: #7e829e;
  --accent: #ff5c78;
  --accent-soft: rgba(255, 92, 120, 0.16);
  --accent-glow: rgba(255, 92, 120, 0.4);
  --primary: #eef0f8;
  --primary-soft: rgba(255, 255, 255, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-accent: 0 8px 32px rgba(255, 92, 120, 0.3);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

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

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

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

ul, ol {
  list-style: none;
}

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

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

p { color: var(--text-secondary); }

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

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--primary-soft);
  border-radius: 10px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ============ HEADER ============ */
#site-header {
  position: sticky;
  top: 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(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

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

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

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

.logo svg {
  border-radius: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.logo:hover svg {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: var(--shadow-accent);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  white-space: nowrap;
}

#main-nav {
  flex: 1;
  overflow: hidden;
}

#main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#main-nav ul::-webkit-scrollbar { display: none; }

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

#main-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

#main-nav a:hover {
  color: var(--text);
  background: var(--primary-soft);
  opacity: 1;
}

#main-nav a:hover::after {
  transform: scaleX(1);
}

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

#search-form {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

#search-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

#search-input {
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 0.875rem;
  width: 160px;
  padding: 6px 0;
}

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

#search-form button {
  border: none;
  cursor: pointer;
  background: var(--gradient-2);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition);
}

#search-form button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}

#theme-toggle,
#menu-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  border-radius: 50%;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

#theme-toggle:hover,
#menu-toggle:hover {
  transform: translateY(-2px) rotate(8deg);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

#menu-toggle { display: none; }

/* ============ MAIN LAYOUT ============ */
#main-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 56px 0;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

section > h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
  padding-bottom: 12px;
}

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

section > h3 {
  margin: 28px 0 10px;
  padding-left: 14px;
  position: relative;
}

section > h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.28em;
  width: 4px;
  border-radius: 4px;
  background: var(--accent);
}

/* ============ HERO ============ */
#hero {
  position: relative;
  margin-top: 24px;
  padding: 48px 40px 56px;
  border-radius: var(--radius-xl);
  background: var(--gradient-1);
  overflow: hidden;
  isolation: isolate;
}

#hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(20px);
  z-index: -1;
  animation: heroFloat 12s ease-in-out infinite;
}

#hero::after {
  content: "";
  position: absolute;
  bottom: -180px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 52, 96, 0.9) 0%, transparent 70%);
  filter: blur(30px);
  z-index: -1;
  animation: heroFloat 15s ease-in-out infinite reverse;
}

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

#hero h1 {
  color: #ffffff;
  max-width: 900px;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  max-width: 860px;
  margin-bottom: 36px;
}

.hero-lead strong {
  color: #ffffff;
  font-weight: 700;
  background: linear-gradient(transparent 62%, var(--accent-glow) 62%);
  padding: 0 2px;
}

/* ============ CAROUSEL ============ */
.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.carousel-track {
  position: relative;
  aspect-ratio: 8 / 3;
  min-height: 200px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity var(--transition-slow), transform var(--transition-slow), visibility var(--transition-slow);
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.carousel-slide svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.4);
  transition: width var(--transition), background var(--transition), transform var(--transition);
}

.carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.carousel-dots .dot.active {
  width: 30px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}

/* ============ HERO STATS ============ */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.hero-stats li {
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.hero-stats li:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.stat-num {
  display: block;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.3px;
}

/* ============ ANCHOR NAV ============ */
#anchor-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 900;
  margin: 20px 0 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  scrollbar-width: none;
}

#anchor-nav::-webkit-scrollbar { display: none; }

#anchor-nav ul {
  display: flex;
  gap: 6px;
  align-items: center;
}

#anchor-nav a {
  display: block;
  padding: 7px 15px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-radius: 999px;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

#anchor-nav a:hover {
  background: var(--accent-soft);
  color: var(--accent);
  opacity: 1;
  transform: translateY(-1px);
}

/* ============ CARDS / CONTENT BLOCKS ============ */
#about,
#products,
#solutions,
#scenes,
#cases,
#reviews,
#news,
#articles,
#faq,
#howto,
#contact,
#sitemap,
#links {
  margin-top: 32px;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

#about:hover,
#products:hover,
#solutions:hover,
#scenes:hover,
#cases:hover,
#reviews:hover,
#news:hover,
#articles:hover,
#faq:hover,
#howto:hover,
#contact:hover,
#sitemap:hover,
#links:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}

#about p,
#products p,
#solutions p,
#scenes p,
#cases p,
#contact p,
#howto p {
  margin-bottom: 14px;
}

#about p:last-child,
#products p:last-child,
#solutions p:last-child,
#scenes p:last-child,
#cases p:last-child {
  margin-bottom: 0;
}

#products p strong {
  color: var(--accent);
  font-weight: 700;
}

/* ============ NEWS / ARTICLES ============ */
#news article,
#articles article {
  position: relative;
  padding: 22px 24px;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}

#news article::before,
#articles article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-2);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}

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

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

#news article:last-child,
#articles article:last-child {
  margin-bottom: 0;
}

#news article h3,
#articles article h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  padding-left: 0;
}

#news article h3::before,
#articles article h3::before {
  display: none;
}

#news article h3 a,
#articles article h3 a {
  color: var(--text);
  transition: color var(--transition);
}

#news article h3 a:hover,
#articles article h3 a:hover {
  color: var(--accent);
  opacity: 1;
}

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

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

#news article > a,
#articles article > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition), opacity var(--transition);
}

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

#news article > a:hover,
#articles article > a:hover {
  opacity: 1;
  gap: 8px;
}

#news article > a:hover::after,
#articles article > a:hover::after {
  transform: translateX(3px);
}

/* ============ REVIEWS ============ */
#reviews blockquote {
  position: relative;
  padding: 24px 28px 24px 44px;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

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

#reviews blockquote:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--bg-card);
}

#reviews blockquote:last-child {
  margin-bottom: 0;
}

#reviews blockquote p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 12px;
}

#reviews blockquote footer {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  font-style: normal;
}

#reviews blockquote footer::before {
  content: "— ";
  color: var(--accent);
}

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

#faq details:hover {
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-sm);
}

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

#faq details:last-child {
  margin-bottom: 0;
}

#faq summary {
  position: relative;
  padding: 16px 48px 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text);
  list-style: none;
  transition: color var(--transition), background var(--transition);
  user-select: none;
}

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

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

#faq details[open] summary {
  color: var(--accent);
}

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

#faq summary:hover {
  background: var(--primary-soft);
}

#faq details p {
  padding: 4px 20px 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  animation: faqFade 0.35s ease;
}

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

/* ============ HOWTO LISTS ============ */
#howto ul,
#howto ol {
  margin: 0 0 16px;
  padding-left: 4px;
}

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

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

#howto ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 1.05em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

#howto ol {
  counter-reset: howto;
}

#howto ol li {
  counter-increment: howto;
  position: relative;
  padding: 12px 0 12px 44px;
  font-size: 0.93rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

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

#howto ol li::before {
  content: counter(howto);
  position: absolute;
  left: 0;
  top: 12px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-2);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow-accent);
}

#howto ol li strong {
  color: var(--text);
}

/* ============ CONTACT ============ */
#contact p {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.93rem;
}

#contact p:last-of-type { border-bottom: none; }

/* ============ SITEMAP & LINKS ============ */
#sitemap ul,
#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#sitemap ul li a,
#links ul li a {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.86rem;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  transform: translateY(-3px);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  opacity: 1;
  box-shadow: var(--shadow-accent);
}

/* ============ FOOTER ============ */
#site-footer {
  margin-top: 60px;
  background: var(--gradient-1);
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

#site-footer::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 36px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr 1fr;
  gap: 36px;
  position: relative;
  z-index: 1;
}

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

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

.footer-col p,
.footer-col address p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 6px;
  font-style: normal;
}

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

.footer-col ul li a {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition), padding-left var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
  opacity: 1;
  padding-left: 6px;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 24px 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

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

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

.footer-bottom time {
  color: rgba(255, 255, 255, 0.7);
}

/* ============ BACK TO TOP ============ */
#back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--gradient-2);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-accent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.85);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), box-shadow var(--transition);
  z-index: 1100;
}

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

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

#back-to-top:active {
  transform: translateY(-1px) scale(0.98);
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

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

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  #main-nav { display: none; }
  #menu-toggle { display: flex; }

  #main-nav.open {
    display: block;
    position: absolute;
    top: var(--header-h);
    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);
    box-shadow: var(--shadow-lg);
    padding: 12px 20px 20px;
    animation: menuDrop 0.3s ease;
  }

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

  #main-nav.open ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    overflow: visible;
  }

  #main-nav.open a {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

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

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

@media (max-width: 860px) {
  .header-inner { padding: 0 16px; gap: 12px; }
  #main-content { padding: 0 16px; }

  #search-input { width: 110px; }

  #hero {
    padding: 36px 24px 40px;
    border-radius: var(--radius-lg);
  }

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

  #about, #products, #solutions, #scenes, #cases, #reviews,
  #news, #articles, #faq, #howto, #contact, #sitemap, #links {
    padding: 30px 20px;
    border-radius: var(--radius-md);
  }

  section { padding: 40px 0; }

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

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

  #back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

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

  .logo-text { display: none; }

  #search-form { padding-left: 12px; }
  #search-input { width: 84px; font-size: 0.82rem; }
  #search-form button { padding: 6px 12px; font-size: 0.78rem; }

  .header-actions { gap: 8px; }

  #theme-toggle, #menu-toggle { width: 36px; height: 36px; font-size: 0.95rem; }

  #hero { padding: 28px 18px 32px; margin-top: 16px; }

  .hero-lead { font-size: 0.9rem; margin-bottom: 24px; }

  .carousel-track { aspect-ratio: 16 / 10; }

  .hero-stats li { padding: 14px 8px; }
  .stat-label { font-size: 0.72rem; }

  #anchor-nav { padding: 8px 10px; margin-top: 14px; }
  #anchor-nav a { padding: 6px 12px; font-size: 0.8rem; }

  #news article, #articles article { padding: 18px 16px; }
  #news article:hover, #articles article:hover { transform: none; }

  #reviews blockquote { padding: 20px 18px 20px 38px; }

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

  #sitemap ul, #links ul { gap: 8px; }
  #sitemap ul li a, #links ul li a { padding: 8px 14px; font-size: 0.82rem; }
}

@media (max-width: 380px) {
  #search-input { width: 68px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

/* ============ PRINT ============ */
@media print {
  #site-header, #anchor-nav, #back-to-top, #site-footer, .carousel-dots {
    display: none !important;
  }
  body { background: #fff; color: #000; }
  section { break-inside: avoid; }
}