:root {
  --bg-primary: #0d0d1a;
  --bg-secondary: #1a1a2e;
  --bg-tertiary: #16213e;
  --bg-card: rgba(26, 26, 46, 0.72);
  --bg-card-hover: rgba(22, 33, 62, 0.9);
  --text-primary: #f0f0f5;
  --text-secondary: #b8b8cc;
  --text-muted: #8888a0;
  --accent: #e94560;
  --accent-hover: #ff5c7a;
  --accent-secondary: #533483;
  --accent-blue: #0f3460;
  --border-color: rgba(233, 69, 96, 0.18);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --glass-bg: rgba(26, 26, 46, 0.55);
  --glass-border: rgba(255, 255, 255, 0.1);
  --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-accent: 0 8px 32px rgba(233, 69, 96, 0.3);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --max-width: 1280px;
  --header-height: 72px;
}

body.light-mode {
  --bg-primary: #f5f5fa;
  --bg-secondary: #ffffff;
  --bg-tertiary: #eef0f8;
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #7a7a95;
  --border-color: rgba(233, 69, 96, 0.25);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-accent: 0 8px 32px rgba(233, 69, 96, 0.2);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-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;
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(233, 69, 96, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(83, 52, 131, 0.15), transparent),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(15, 52, 96, 0.12), transparent);
  background-attachment: fixed;
}

body.light-mode {
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(233, 69, 96, 0.06), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(83, 52, 131, 0.06), transparent);
}

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

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

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

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

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

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

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

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

ul,
ol {
  list-style: none;
}

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

input {
  font-family: inherit;
}

.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 ========== */
header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px clamp(16px, 4vw, 48px);
  font-size: 12px;
  color: var(--text-muted);
  background: linear-gradient(90deg, rgba(233, 69, 96, 0.08), rgba(83, 52, 131, 0.08));
  border-bottom: 1px solid var(--border-subtle);
  letter-spacing: 0.3px;
}

nav[role="navigation"] {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 48px);
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8fa3 50%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: filter var(--transition-fast);
}

.logo a:hover .logo-mark {
  filter: brightness(1.2) drop-shadow(0 0 12px rgba(233, 69, 96, 0.5));
}

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

.main-nav li a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  position: relative;
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

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

.main-nav li a:hover {
  color: var(--text-primary);
  background: rgba(233, 69, 96, 0.1);
}

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

.search-form {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.15);
}

.search-form input[type="search"] {
  padding: 9px 16px;
  font-size: 14px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  width: 180px;
  transition: width var(--transition-base);
}

.search-form input[type="search"]::placeholder {
  color: var(--text-muted);
}

.search-form input[type="search"]:focus {
  width: 220px;
}

.search-form button {
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  transition: filter var(--transition-fast);
  white-space: nowrap;
}

.search-form button:hover {
  filter: brightness(1.15);
}

.theme-toggle,
.menu-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
  flex-shrink: 0;
}

.theme-toggle:hover,
.menu-toggle:hover {
  transform: scale(1.1) rotate(8deg);
  background: var(--bg-card-hover);
  border-color: var(--accent);
}

.menu-toggle {
  display: none;
}

/* ========== MAIN ========== */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

main > section {
  margin-bottom: clamp(40px, 6vw, 72px);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

main > section:nth-child(even) {
  animation-delay: 0.1s;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: clamp(32px, 5vw, 56px) 0 clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 24px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.12) 0%, rgba(83, 52, 131, 0.15) 50%, rgba(15, 52, 96, 0.2) 100%);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.banner-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  margin-bottom: clamp(24px, 4vw, 40px);
  background: var(--bg-secondary);
}

.banner-slide {
  display: none;
  animation: fadeIn 0.8s ease both;
}

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

.banner-slide svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 60%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.5px;
  text-align: center;
  animation: fadeInUp 0.8s 0.15s both;
}

.hero-lead {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
  line-height: 1.9;
  animation: fadeInUp 0.8s 0.25s both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 24px);
  animation: fadeInUp 0.8s 0.35s both;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: clamp(20px, 3vw, 32px) 12px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.stat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-accent);
  border-color: var(--border-color);
}

.stat:hover::before {
  transform: scaleX(1);
}

.stat-num {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #ff8fa3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat-label {
  font-size: clamp(0.75rem, 1.4vw, 0.9rem);
  color: var(--text-muted);
  font-weight: 500;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  margin-bottom: 24px;
  padding: 12px 0;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  color: var(--text-muted);
  font-size: 16px;
}

.breadcrumb li a {
  color: var(--text-secondary);
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.breadcrumb li a:hover {
  color: var(--accent);
  background: rgba(233, 69, 96, 0.08);
}

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

/* ========== SECTION HEADINGS ========== */
main > section > h2 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 24px;
  padding-left: 18px;
  position: relative;
  line-height: 1.35;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

main > section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 1.2em;
  background: linear-gradient(180deg, var(--accent), var(--accent-secondary));
  border-radius: var(--radius-full);
  box-shadow: 0 0 12px rgba(233, 69, 96, 0.5);
}

main h3 {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text-primary);
  line-height: 1.45;
}

main h4 {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 600;
  margin: 20px 0 10px;
  color: var(--accent);
  line-height: 1.45;
}

main p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.9;
  text-align: justify;
}

main > section > p:first-of-type {
  font-size: 1.02em;
}

/* ========== BRAND SECTION ========== */
#brand {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-md);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

#brand:hover {
  border-color: var(--border-color);
  box-shadow: var(--shadow-lg);
}

/* ========== PRODUCTS ========== */
#products {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-md);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

#products:hover {
  border-color: var(--border-color);
  box-shadow: var(--shadow-lg);
}

#products h4 {
  display: flex;
  align-items: center;
  gap: 8px;
}

#products h4::before {
  content: "◆";
  font-size: 0.7em;
  color: var(--accent);
  flex-shrink: 0;
}

/* ========== SOLUTIONS ========== */
#solutions {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}

#solutions h3 {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

/* ========== CASES ========== */
#cases {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}

#cases blockquote {
  position: relative;
  margin: 20px 0;
  padding: 20px 24px 20px 56px;
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.08), rgba(83, 52, 131, 0.08));
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

#cases blockquote::before {
  content: "\201C";
  position: absolute;
  left: 18px;
  top: 8px;
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.5;
  font-family: Georgia, serif;
}

#cases blockquote:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-accent);
}

#cases blockquote p {
  margin: 0;
  color: var(--text-secondary);
  font-style: italic;
}

/* ========== NEWS ========== */
#news {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}

#news h3 {
  position: relative;
  padding-left: 20px;
  transition: color var(--transition-fast);
}

#news h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(233, 69, 96, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 69, 96, 0); }
}

#news p {
  padding-left: 20px;
}

/* ========== ARTICLES ========== */
#articles {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}

#articles article {
  padding: 22px;
  margin-bottom: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

#articles article::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

#articles article:hover::after {
  opacity: 1;
}

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

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

#articles article > p:first-of-type {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#articles article > p:first-of-type::before {
  content: "📅";
  font-size: 12px;
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  margin-top: 8px;
  padding: 6px 0;
  position: relative;
}

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

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

/* ========== FAQ ========== */
#faq {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}

#faq details {
  margin-bottom: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

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

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

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

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

#faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  transition: transform var(--transition-base), color var(--transition-fast);
  flex-shrink: 0;
  line-height: 1;
}

#faq details[open] summary::after {
  transform: rotate(45deg);
}

#faq summary:hover {
  color: var(--accent);
  background: rgba(233, 69, 96, 0.05);
}

#faq details p {
  padding: 0 20px 18px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95em;
  line-height: 1.85;
  animation: fadeIn 0.3s ease;
}

/* ========== HOWTO ========== */
#howto {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}

#howto ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 14px 16px 14px 56px;
  margin-bottom: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(233, 69, 96, 0.3);
}

#howto ol li:hover {
  transform: translateX(6px);
  border-color: var(--border-color);
  background: var(--bg-card-hover);
}

/* ========== CONTACT ========== */
#contact {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}

#contact p {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

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

/* ========== SITEMAP & LINKS ========== */
#sitemap,
#links {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}

#sitemap ul,
#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#sitemap ul li,
#links ul li {
  flex: 0 0 auto;
}

#sitemap ul li a,
#links ul li a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

/* ========== FOOTER ========== */
footer[role="contentinfo"] {
  margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(32px, 5vw, 56px) clamp(16px, 4vw, 48px) 24px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

footer[role="contentinfo"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-secondary), transparent);
}

.footer-section {
  max-width: var(--max-width);
  margin: 0 auto 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-section:last-of-type {
  border-bottom: none;
}

.footer-section h3 {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-section h3::before {
  content: "";
  width: 4px;
  height: 16px;
  background: linear-gradient(180deg, var(--accent), var(--accent-secondary));
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.footer-section p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
  margin: 0;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  line-height: 1.8;
}

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

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

.back-to-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 40px rgba(233, 69, 96, 0.5);
  filter: brightness(1.15);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .search-form input[type="search"] {
    width: 140px;
  }
  .search-form input[type="search"]:focus {
    width: 180px;
  }
  .main-nav li a {
    padding: 8px 10px;
    font-size: 13px;
  }
}

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

  nav[role="navigation"] {
    gap: 10px;
    padding: 10px 16px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
    padding: 0;
  }

  .main-nav.open {
    max-height: 600px;
    padding: 8px 0;
  }

  .main-nav li a {
    padding: 10px 14px;
    font-size: 14px;
    width: 100%;
    border-radius: var(--radius-sm);
  }

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

  .search-form {
    order: 2;
    margin-left: auto;
  }

  .search-form input[type="search"] {
    width: 120px;
  }

  .search-form input[type="search"]:focus {
    width: 160px;
  }

  .menu-toggle {
    display: flex;
    order: 4;
  }

  .theme-toggle {
    order: 3;
  }

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

  .top-bar {
    font-size: 11px;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    text-align: center;
  }
}

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

  .top-bar span:first-child {
    display: none;
  }

  .top-bar {
    justify-content: center;
    padding: 6px 12px;
  }

  nav[role="navigation"] {
    padding: 10px 12px;
  }

  .logo-mark {
    font-size: 16px;
  }

  .search-form input[type="search"] {
    width: 90px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .search-form input[type="search"]:focus {
    width: 120px;
  }

  .search-form button {
    padding: 8px 12px;
    font-size: 13px;
  }

  .theme-toggle,
  .menu-toggle {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  main {
    padding: 0 12px;
  }

  .hero {
    margin-top: 12px;
    padding: 20px 0 16px;
  }

  .hero h1 {
    text-align: left;
    font-size: 1.4rem;
  }

  .hero-lead {
    text-align: left;
    font-size: 0.92rem;
    margin-bottom: 20px;
  }

  .hero-stats {
    gap: 10px;
  }

  .stat {
    padding: 16px 8px;
  }

  .stat-num {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  main > section {
    margin-bottom: 32px;
  }

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

  main > section > h2 {
    font-size: 1.25rem;
    padding-left: 14px;
    margin-bottom: 18px;
  }

  main > section > h2::before {
    width: 4px;
  }

  main h3 {
    font-size: 1.05rem;
    margin: 22px 0 10px;
  }

  main p {
    text-align: left;
    font-size: 0.94rem;
    line-height: 1.85;
  }

  #articles article {
    padding: 16px;
  }

  #cases blockquote {
    padding: 16px 16px 16px 44px;
  }

  #cases blockquote::before {
    font-size: 36px;
    left: 12px;
  }

  #howto ol li {
    padding: 12px 12px 12px 48px;
    font-size: 0.9rem;
  }

  #howto ol li::before {
    width: 26px;
    height: 26px;
    font-size: 12px;
    left: 10px;
  }

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

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

  #sitemap ul li a,
  #links ul li a {
    padding: 7px 14px;
    font-size: 13px;
  }

  footer[role="contentinfo"] {
    padding: 28px 12px 20px;
  }

  .footer-section {
    margin-bottom: 18px;
    padding-bottom: 16px;
  }

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

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

  .search-form input[type="search"] {
    width: 70px;
  }

  .search-form input[type="search"]:focus {
    width: 100px;
  }
}

/* ========== ACCESSIBILITY & 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;
  }
}

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

/* ========== PRINT ========== */
@media print {
  header[role="banner"],
  .back-to-top,
  .theme-toggle,
  .menu-toggle,
  .search-form {
    display: none !important;
  }

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

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