:root {
  --brand: #FF6B35;
  --brand-dark: #E8551F;
  --brand-light: #FF8C5A;
  --brand-soft: #FFB088;
  --brand-bg: #FFF3EC;
  --accent: #7C5CFC;
  --accent-soft: #EDE8FF;
  --ink: #1F1A17;
  --ink-2: #4A423D;
  --ink-3: #7A706A;
  --line: #F0E6E0;
  --bg: #FFFDFB;
  --bg-2: #FFF8F4;
  --card: #FFFFFF;
  --glass: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.55);
  --shadow-sm: 0 2px 8px rgba(255, 107, 53, 0.08);
  --shadow-md: 0 8px 24px rgba(255, 107, 53, 0.12);
  --shadow-lg: 0 18px 48px rgba(255, 107, 53, 0.18);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --maxw: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html[data-theme="dark"] {
  --brand: #FF7A48;
  --brand-dark: #FF6B35;
  --brand-light: #FF9A6E;
  --brand-soft: #7A4A34;
  --brand-bg: #2A1D16;
  --accent: #9D87FF;
  --accent-soft: #2B2440;
  --ink: #F5EFEA;
  --ink-2: #D6CCC5;
  --ink-3: #A79C95;
  --line: #3A2F29;
  --bg: #16110E;
  --bg-2: #1D1713;
  --card: #221A15;
  --glass: rgba(34, 26, 21, 0.62);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.55);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(255, 107, 53, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(124, 92, 252, 0.08), transparent 55%);
  background-attachment: fixed;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
  overflow-x: hidden;
}

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

a {
  color: var(--brand-dark);
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--brand);
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.75rem, 3.6vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }

p { margin: 0 0 1em; }

ul, ol {
  margin: 0 0 1.2em;
  padding-left: 1.25em;
}

li { margin-bottom: 0.45em; }

strong { color: var(--ink); font-weight: 700; }

blockquote {
  margin: 1.2em 0;
  padding: 1em 1.3em;
  border-left: 4px solid var(--brand);
  background: var(--brand-bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-2);
  font-style: normal;
}

blockquote p { margin: 0; }

time {
  color: var(--ink-3);
  font-size: 0.85em;
  font-variant-numeric: tabular-nums;
}

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

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

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

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

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.logo:hover { transform: translateY(-2px) scale(1.02); }

.logo svg {
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.32);
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-list li { margin: 0; }

.nav-list a {
  display: inline-block;
  padding: 7px 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: var(--radius-pill);
  position: relative;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

.nav-list a:hover {
  color: var(--brand-dark);
  background: var(--brand-bg);
  transform: translateY(-1px);
}

.nav-list a:hover::after { width: 55%; }

.site-search {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.14);
}

.site-search input {
  border: 0;
  background: transparent;
  padding: 7px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--ink);
  width: 200px;
  min-width: 0;
  border-radius: var(--radius-pill);
}

.site-search input::placeholder { color: var(--ink-3); }
.site-search input:focus { outline: none; }

.site-search button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

.site-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.35);
  filter: brightness(1.05);
}

.site-search button:active { transform: translateY(0) scale(0.97); }

#theme-toggle,
#menu-toggle {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.05rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#theme-toggle:hover,
#menu-toggle:hover {
  background: var(--brand-bg);
  color: var(--brand-dark);
  transform: rotate(-12deg) scale(1.06);
  box-shadow: var(--shadow-md);
}

#menu-toggle { display: none; }

/* ============ Main & Sections ============ */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 60px;
}

section {
  margin: 0 0 34px;
  padding: 34px clamp(18px, 3vw, 40px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
  animation: fadeUp 0.7s var(--ease) both;
}

section:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 53, 0.28);
}

section > h2 {
  position: relative;
  padding-bottom: 0.5em;
  margin-bottom: 1em;
}

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

section > h3 {
  margin-top: 1.6em;
  padding-left: 14px;
  border-left: 4px solid var(--brand-soft);
}

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

/* ============ Hero ============ */
#hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  margin-top: 28px;
  padding: clamp(28px, 5vw, 56px);
  border: 0;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 107, 53, 0.95) 0%, rgba(255, 140, 90, 0.92) 45%, rgba(124, 92, 252, 0.88) 100%),
    var(--brand);
  background-size: 200% 200%;
  animation: gradientShift 14s ease infinite, fadeUp 0.7s var(--ease) both;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 200px at 90% 10%, rgba(255, 255, 255, 0.28), transparent 70%),
    radial-gradient(320px 200px at 10% 90%, rgba(255, 255, 255, 0.16), transparent 70%);
  pointer-events: none;
}

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

#hero .hero-content { position: relative; z-index: 1; }

#hero h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(120, 40, 0, 0.25);
  margin-bottom: 0.5em;
}

#hero .hero-lead {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.85;
  margin-bottom: 1.6em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}

.btn-primary {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 8px 22px rgba(120, 40, 0, 0.28);
}

.btn-primary:hover {
  color: var(--brand-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(120, 40, 0, 0.36);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(120, 40, 0, 0.3);
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.hero-visual svg {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(90, 30, 0, 0.32);
  transition: transform 0.6s var(--ease);
  animation: floatY 6s ease-in-out infinite;
}

.hero-visual svg:hover { transform: scale(1.03) rotate(-1deg); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============ Breadcrumb ============ */
.breadcrumb {
  margin: 0 0 22px;
  padding: 0 6px;
  animation: fadeUp 0.7s var(--ease) both;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--ink-3);
}

.breadcrumb li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  color: var(--ink-3);
  opacity: 0.6;
}

.breadcrumb a {
  color: var(--ink-3);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.breadcrumb a:hover {
  color: var(--brand-dark);
  background: var(--brand-bg);
}

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

/* ============ Timeline ============ */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4em;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  border-radius: 2px;
  opacity: 0.5;
}

.timeline li {
  position: relative;
  padding: 6px 0 6px 34px;
  margin: 0;
  transition: transform 0.3s var(--ease);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 15px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.12);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.timeline li:hover { transform: translateX(4px); }

.timeline li:hover::before {
  transform: scale(1.2);
  box-shadow: 0 0 0 6px rgba(255, 107, 53, 0.2);
}

/* ============ Lists / Cards ============ */
#products ul,
#solutions ul,
#howto ul,
#knowledge ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

#products ul li,
#solutions ul li,
#knowledge ul li {
  position: relative;
  margin: 0;
  padding: 14px 18px 14px 44px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  line-height: 1.65;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

#products ul li::before,
#solutions ul li::before,
#knowledge ul li::before {
  content: "✦";
  position: absolute;
  left: 16px;
  top: 13px;
  color: var(--brand);
  font-size: 1rem;
  transition: transform 0.3s var(--ease);
}

#products ul li:hover,
#solutions ul li:hover,
#knowledge ul li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 53, 0.35);
  background: var(--card);
}

#products ul li:hover::before,
#solutions ul li:hover::before,
#knowledge ul li:hover::before {
  transform: rotate(90deg) scale(1.15);
}

#howto ul li {
  position: relative;
  margin: 0;
  padding: 12px 18px 12px 44px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#howto ul li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 11px;
  color: var(--accent);
  font-weight: 900;
}

#howto ul li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

#howto ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 16px 20px 16px 62px;
  background: linear-gradient(135deg, var(--bg-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
  font-weight: 900;
  font-size: 0.92rem;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
  transition: transform 0.3s var(--ease);
}

#howto ol li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 53, 0.35);
}

#howto ol li:hover::before {
  transform: translateY(-50%) scale(1.12) rotate(-6deg);
}

/* ============ News ============ */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.news-list li {
  margin: 0;
  padding: 20px 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.news-list li:hover {
  transform: translateY(-3px);
  background: var(--card);
  border-color: rgba(255, 107, 53, 0.35);
  box-shadow: var(--shadow-md);
}

.news-list h3 {
  margin: 0 0 0.4em;
  font-size: 1.06rem;
}

.news-list h3 a {
  color: var(--ink);
  transition: color 0.25s var(--ease);
}

.news-list h3 a:hover { color: var(--brand-dark); }

.news-list p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-3);
  line-height: 1.7;
}

.news-list time {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 10px;
  border-radius: var(--radius-pill);
  background: var(--brand-bg);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.78rem;
}

/* ============ Articles ============ */
#articles {
  display: block;
}

#articles > p { color: var(--ink-3); }

#articles article {
  padding: 22px 24px;
  margin: 0 0 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}

#articles article:hover {
  transform: translateY(-4px);
  background: var(--card);
  border-color: rgba(124, 92, 252, 0.35);
  box-shadow: var(--shadow-md);
}

#articles article h3 {
  margin: 0 0 0.35em;
  font-size: 1.1rem;
}

#articles article h3 a {
  color: var(--ink);
  background-image: linear-gradient(var(--brand), var(--brand));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.35s var(--ease), color 0.25s var(--ease);
}

#articles article h3 a:hover {
  color: var(--brand-dark);
  background-size: 100% 2px;
}

#articles article p {
  margin: 0 0 0.7em;
  font-size: 0.93rem;
  color: var(--ink-2);
}

#articles article > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-dark);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--brand-bg);
  transition: gap 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}

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

#articles article > a:hover {
  gap: 10px;
  background: var(--brand);
  color: #fff;
  transform: translateX(2px);
}

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

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

#faq details[open] {
  background: var(--card);
  border-color: rgba(255, 107, 53, 0.35);
  box-shadow: var(--shadow-md);
}

#faq details:hover {
  border-color: rgba(255, 107, 53, 0.3);
}

#faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 20px;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  font-size: 0.98rem;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
  user-select: none;
}

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

#faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-bg);
  color: var(--brand-dark);
  font-weight: 900;
  font-size: 1.05rem;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

#faq details[open] summary {
  color: var(--brand-dark);
  background: var(--brand-bg);
}

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

#faq details p {
  margin: 0;
  padding: 16px 22px 20px;
  font-size: 0.93rem;
  color: var(--ink-2);
  line-height: 1.8;
  animation: fadeUp 0.4s var(--ease) both;
}

/* ============ Contact ============ */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.contact-list li {
  margin: 0;
  padding: 14px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.contact-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(255, 107, 53, 0.35);
}

.contact-list a {
  word-break: break-all;
  font-weight: 700;
}

/* ============ Sitemap & Links ============ */
.sitemap-list,
.friend-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sitemap-list li,
.friend-links li {
  margin: 0;
}

.sitemap-list a,
.friend-links a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.sitemap-list a:hover,
.friend-links a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

/* ============ Footer ============ */
#site-footer {
  margin-top: 20px;
  padding: 48px 24px 32px;
  background:
    linear-gradient(160deg, rgba(255, 107, 53, 0.08), rgba(124, 92, 252, 0.08)),
    var(--bg-2);
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 60px);
}

.footer-brand p {
  margin: 0 0 0.5em;
  font-size: 0.9rem;
  color: var(--ink-3);
}

.footer-brand p:first-child {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.8em;
}

.footer-brand strong {
  font-size: 1.2rem;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-legal h3 {
  font-size: 0.98rem;
  margin: 0 0 0.4em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-legal h3::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

.footer-legal p {
  font-size: 0.84rem;
  line-height: 1.8;
  color: var(--ink-3);
  margin: 0 0 1.3em;
}

.footer-legal .copyright {
  padding-top: 1em;
  border-top: 1px dashed var(--line);
  color: var(--ink-3);
  font-size: 0.82rem;
  margin-bottom: 0;
}

/* ============ Back to top ============ */
#back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 10px 26px rgba(255, 107, 53, 0.4);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s var(--ease), box-shadow 0.3s var(--ease);
}

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

#back-to-top:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 16px 34px rgba(255, 107, 53, 0.5);
}

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

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

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

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .header-inner { gap: 12px; }
  .site-search input { width: 150px; }
  .nav-list a { padding: 6px 9px; font-size: 0.88rem; }
}

@media (max-width: 920px) {
  :root { --header-h: 64px; }

  .header-inner {
    padding: 10px 16px;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .site-search {
    order: 10;
    flex: 1 1 100%;
    margin-left: 0;
    margin-top: 4px;
  }

  .site-search input { width: 100%; flex: 1; }

  .header-inner nav {
    order: 20;
    flex: 1 1 100%;
    display: none;
    margin-top: 6px;
  }

  .header-inner nav.is-open {
    display: block;
    animation: fadeUp 0.35s var(--ease) both;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
  }

  .nav-list a {
    display: block;
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
  }

  .nav-list a::after { display: none; }

  #menu-toggle { display: inline-flex; }

  #hero {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 32px 24px;
  }

  .hero-visual { order: -1; }

  .hero-visual svg { max-width: 380px; }

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

  main { padding: 0 16px 48px; }

  section {
    padding: 26px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 26px;
  }
}

@media (max-width: 600px) {
  body { font-size: 15px; line-height: 1.72; }

  .logo-text { font-size: 1.15rem; }

  #hero { padding: 26px 18px; border-radius: var(--radius-md); }

  #hero .hero-lead { font-size: 0.93rem; }

  .hero-actions { gap: 10px; }

  .btn-primary,
  .btn-secondary {
    flex: 1 1 auto;
    padding: 12px 20px;
    font-size: 0.92rem;
  }

  section { padding: 22px 16px; }

  section > h2 { font-size: 1.28rem; }

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

  #products ul,
  #solutions ul,
  #howto ul,
  #knowledge ul,
  .contact-list {
    grid-template-columns: 1fr;
  }

  #products ul li,
  #solutions ul li,
  #knowledge ul li { padding: 12px 14px 12px 38px; }

  #products ul li::before,
  #solutions ul li::before,
  #knowledge ul li::before { left: 13px; top: 11px; }

  #howto ol li { padding: 14px 16px 14px 54px; }

  #howto ol li::before { left: 12px; width: 28px; height: 28px; font-size: 0.85rem; }

  .news-list li,
  #articles article { padding: 16px; }

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

  #faq details p { padding: 14px 16px 18px; }

  .sitemap-list a,
  .friend-links a { padding: 7px 14px; font-size: 0.85rem; }

  #site-footer { padding: 36px 16px 26px; }

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

/* ============ Motion & print ============ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  section, #hero, .breadcrumb { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  #site-header,
  #back-to-top,
  .site-search,
  #theme-toggle,
  #menu-toggle,
  .hero-actions,
  #links {
    display: none !important;
  }
  body { background: #fff; color: #000; }
  section, #hero {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
    animation: none;
  }
  a { color: #000; text-decoration: underline; }
}