:root {
  --primary: #FF6B35;
  --primary-dark: #E85A2A;
  --primary-light: #FF8F66;
  --secondary: #6C5CE7;
  --accent: #00CEC9;
  --gradient-1: linear-gradient(135deg, #FF6B35 0%, #FF3D71 50%, #6C5CE7 100%);
  --gradient-2: linear-gradient(135deg, #6C5CE7 0%, #00CEC9 100%);
  --gradient-3: linear-gradient(120deg, #FF6B35 0%, #FFB347 100%);
  --bg: #F8F9FC;
  --bg-alt: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.75);
  --bg-glass: rgba(255, 255, 255, 0.6);
  --text: #1A1A2E;
  --text-secondary: #4A4A6A;
  --text-muted: #8888A0;
  --border: rgba(0, 0, 0, 0.08);
  --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.14);
  --shadow-glow: 0 8px 32px rgba(255, 107, 53, 0.3);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s 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"] {
  --primary: #FF8F66;
  --primary-dark: #FF6B35;
  --primary-light: #FFB399;
  --secondary: #8B7CF0;
  --accent: #00E5DF;
  --bg: #0F0F1A;
  --bg-alt: #1A1A2E;
  --bg-card: rgba(30, 30, 50, 0.75);
  --bg-glass: rgba(30, 30, 50, 0.6);
  --text: #EEEEF5;
  --text-secondary: #B0B0C8;
  --text-muted: #707088;
  --border: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 8px 32px rgba(255, 107, 53, 0.2);
}

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

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

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

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(255, 107, 53, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(108, 92, 231, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
  transition: opacity var(--transition);
}

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

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

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
  font-size: inherit;
  color: inherit;
}

/* ========== HEADER ========== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  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;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.logo:hover {
  transform: scale(1.03);
  opacity: 1;
}

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

.logo:hover svg {
  box-shadow: 0 12px 40px rgba(255, 107, 53, 0.45);
}

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

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

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

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  border-radius: 2px;
  transition: width var(--transition), left var(--transition);
}

.nav-list a:hover {
  color: var(--primary);
  background: rgba(255, 107, 53, 0.08);
}

.nav-list a:hover::after {
  width: 60%;
  left: 20%;
}

#menu-toggle {
  display: none;
  font-size: 1.5rem;
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: background var(--transition);
}

#menu-toggle:hover {
  background: rgba(255, 107, 53, 0.1);
}

#theme-toggle {
  font-size: 1.2rem;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}

#theme-toggle:hover {
  background: rgba(255, 107, 53, 0.1);
  transform: rotate(20deg) scale(1.1);
}

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

/* ========== HERO ========== */
#hero {
  position: relative;
  padding: 80px 40px 60px;
  margin: 32px 0 40px;
  border-radius: var(--radius-xl);
  background: var(--gradient-1);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: heroFadeIn 0.8s ease-out;
}

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

#hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

#hero::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

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

#hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

#hero > p {
  position: relative;
  z-index: 1;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  line-height: 1.85;
  max-width: 720px;
  opacity: 0.95;
  margin-bottom: 32px;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.15), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  color: var(--primary-dark);
}

.btn-primary:hover::before {
  left: 100%;
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: transform var(--transition), background var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.25);
}

.stat-number {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: 4px;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

.breadcrumb li:not(:last-child)::after {
  content: "›";
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
}

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

.breadcrumb a:hover {
  color: var(--primary);
  background: rgba(255, 107, 53, 0.08);
}

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

/* ========== SECTIONS ========== */
section:not(#hero) {
  margin-bottom: 56px;
  scroll-margin-top: 88px;
}

section:not(#hero) > h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  padding-bottom: 16px;
  position: relative;
  letter-spacing: -0.02em;
}

section:not(#hero) > h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 4px;
  background: var(--gradient-1);
  border-radius: 4px;
}

section:not(#hero) h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 12px;
  letter-spacing: -0.01em;
}

section:not(#hero) h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin: 20px 0 8px;
}

section:not(#hero) p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.85;
}

section:not(#hero) > p,
section:not(#hero) > ul,
section:not(#hero) > ol {
  max-width: 900px;
}

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

#about:hover,
#products:hover,
#advantages:hover,
#solutions:hover,
#cases:hover,
#news:hover,
#howto:hover,
#faq:hover,
#knowledge:hover,
#contact:hover {
  box-shadow: var(--shadow-md);
}

/* ========== ABOUT ========== */
#about h3:first-of-type {
  margin-top: 0;
}

#about h4 {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 50px;
  font-size: 0.95rem;
  margin-top: 24px;
}

/* ========== PRODUCTS ========== */
#products {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.04) 0%, rgba(108, 92, 231, 0.04) 100%);
}

#products h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

#products h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-1);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(255, 107, 53, 0.5);
}

/* ========== ADVANTAGES ========== */
#advantages {
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.05) 0%, rgba(0, 206, 201, 0.05) 100%);
}

#advantages h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

#advantages h3::before {
  content: "✦";
  color: var(--secondary);
  font-size: 1.1em;
  flex-shrink: 0;
}

/* ========== SOLUTIONS ========== */
#solutions {
  background: linear-gradient(135deg, rgba(0, 206, 201, 0.04) 0%, rgba(255, 107, 53, 0.04) 100%);
}

#solutions h3 {
  padding-left: 16px;
  border-left: 4px solid var(--accent);
  transition: border-color var(--transition);
}

#solutions h3:hover {
  border-color: var(--primary);
}

/* ========== CASES ========== */
#cases h3 {
  padding: 16px 20px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

#cases h3:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-light);
}

#cases ul {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

#cases ul li {
  padding: 16px 20px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

#cases ul li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

#cases ul li::before {
  content: "“";
  font-size: 2rem;
  color: var(--primary-light);
  position: absolute;
  top: 4px;
  left: 8px;
  opacity: 0.4;
  line-height: 1;
  font-family: Georgia, serif;
}

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

#news article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity var(--transition);
}

#news article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

#news article:hover::before {
  opacity: 1;
}

#news article h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--text);
  transition: color var(--transition);
}

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

#news article time {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 2px 10px;
  background: rgba(255, 107, 53, 0.08);
  border-radius: 50px;
  margin-bottom: 10px;
}

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

#news article a {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

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

#news article a:hover {
  gap: 8px;
}

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

/* ========== HOWTO ========== */
#howto ol {
  counter-reset: step-counter;
  display: grid;
  gap: 14px;
  margin: 16px 0;
}

#howto ol li {
  counter-increment: step-counter;
  padding: 18px 20px 18px 64px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  position: relative;
  color: var(--text-secondary);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

#howto ol li::before {
  content: counter(step-counter);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient-1);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

#howto ol li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-light);
}

#howto ul {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

#howto ul li {
  padding: 10px 16px 10px 36px;
  position: relative;
  color: var(--text-secondary);
  background: rgba(255, 107, 53, 0.04);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

#howto ul li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  color: var(--primary);
  font-weight: 700;
}

#howto ul li:hover {
  background: rgba(255, 107, 53, 0.1);
}

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

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

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

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

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

#faq summary::before {
  content: "+";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition), color var(--transition);
  line-height: 1;
}

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

#faq summary:hover {
  background: rgba(255, 107, 53, 0.04);
  color: var(--primary);
}

#faq details[open] summary {
  border-bottom: 1px solid var(--border);
  color: var(--primary);
}

#faq details p {
  padding: 18px 24px 18px 52px;
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  animation: faqSlide 0.3s ease-out;
}

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

/* ========== KNOWLEDGE ========== */
#knowledge {
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.04) 0%, rgba(0, 206, 201, 0.04) 100%);
}

#knowledge h3 {
  position: relative;
  padding-left: 20px;
}

#knowledge h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: var(--gradient-2);
  border-radius: 4px;
}

/* ========== CONTACT ========== */
#contact p {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  transition: padding-left var(--transition), border-color var(--transition);
}

#contact p:hover {
  padding-left: 8px;
  border-color: var(--primary-light);
}

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

/* ========== SITEMAP & LINKS ========== */
#sitemap ul,
#links ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

#sitemap ul li a,
#links ul li a {
  display: block;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary);
  color: var(--primary);
}

/* ========== FOOTER ========== */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-1);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.footer-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-section p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 6px;
}

.footer-section ul {
  display: grid;
  gap: 8px;
}

.footer-section ul li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}

.footer-section ul li a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* ========== BACK TO TOP ========== */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-1);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), box-shadow var(--transition);
  z-index: 999;
}

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

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

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========== MOBILE NAV ========== */
@media (max-width: 900px) {
  .header-inner {
    height: 64px;
    padding: 0 16px;
    gap: 12px;
  }

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

  #menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .nav-list {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--bg-glass);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list a {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

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

  main {
    padding: 0 16px;
  }

  #hero {
    padding: 48px 24px 40px;
    margin: 20px 0 28px;
    border-radius: var(--radius-lg);
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 14px 24px;
  }

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

  .stat-item {
    padding: 16px 12px;
  }

  section:not(#hero) {
    margin-bottom: 36px;
  }

  #about,
  #products,
  #advantages,
  #solutions,
  #cases,
  #news,
  #howto,
  #faq,
  #knowledge,
  #contact,
  #sitemap,
  #links {
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }

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

  #faq summary::before {
    left: 16px;
    width: 22px;
    height: 22px;
  }

  #faq details p {
    padding: 16px 16px 16px 48px;
  }

  #howto ol li {
    padding: 16px 16px 16px 56px;
  }

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

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

  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

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

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

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

  .stat-number {
    font-size: 1.3rem;
  }

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

  #sitemap ul,
  #links ul {
    grid-template-columns: 1fr;
  }

  section:not(#hero) > h2 {
    font-size: 1.25rem;
  }

  section:not(#hero) h3 {
    font-size: 1.05rem;
  }
}

/* ========== ACCESSIBILITY ========== */
@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(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(255, 107, 53, 0.25);
  color: var(--text);
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

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

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary-dark), var(--secondary));
}