:root {
  --bg: #0a0e1a;
  --bg-alt: #111827;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-hover: rgba(255, 255, 255, 0.1);
  --glass: rgba(17, 24, 39, 0.65);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text: #e8edf5;
  --text-muted: #9aa8bd;
  --text-dim: #6b7a92;
  --accent: #6366f1;
  --accent-2: #8b5cf6;
  --accent-3: #06b6d4;
  --accent-glow: rgba(99, 102, 241, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
  --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 45%, #06b6d4 100%);
  --gradient-soft: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(139, 92, 246, 0.12), rgba(6, 182, 212, 0.1));
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f6fb;
    --bg-alt: #ffffff;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-hover: rgba(255, 255, 255, 0.95);
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(99, 102, 241, 0.16);
    --text: #1a2233;
    --text-muted: #4a5a72;
    --text-dim: #7a8aa3;
    --accent: #4f46e5;
    --accent-2: #7c3aed;
    --accent-3: #0891b2;
    --accent-glow: rgba(79, 70, 229, 0.25);
    --border: rgba(99, 102, 241, 0.12);
    --shadow: 0 8px 32px rgba(79, 70, 229, 0.1);
    --shadow-lg: 0 20px 60px rgba(79, 70, 229, 0.16);
    --gradient-soft: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.07), rgba(6, 182, 212, 0.06));
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(99, 102, 241, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(139, 92, 246, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(6, 182, 212, 0.08), transparent);
  background-attachment: fixed;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--accent-2), var(--accent-3));
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 18px 32px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  animation: slideDown 0.7s var(--transition) both;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

header h1 {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex: 1 1 auto;
  min-width: 200px;
  position: relative;
}

header h1::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 60px;
  height: 3px;
  border-radius: 3px;
  background: var(--gradient);
  opacity: 0.7;
}

header nav {
  flex: 0 1 auto;
}

header nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

header nav ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}

header nav ul li a:hover,
header nav ul li a:focus-visible {
  color: var(--text);
  background: var(--surface-hover);
  border-color: var(--glass-border);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

header nav ul li a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== MAIN ===== */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

/* ===== SECTIONS ===== */
section {
  padding: 56px 0;
  opacity: 0;
  transform: translateY(36px);
  animation: fadeUp 0.8s var(--transition) forwards;
}

section:nth-child(1) { animation-delay: 0.05s; }
section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.15s; }
section:nth-child(4) { animation-delay: 0.2s; }
section:nth-child(5) { animation-delay: 0.25s; }
section:nth-child(6) { animation-delay: 0.3s; }
section:nth-child(7) { animation-delay: 0.35s; }
section:nth-child(8) { animation-delay: 0.4s; }
section:nth-child(9) { animation-delay: 0.45s; }
section:nth-child(10) { animation-delay: 0.5s; }
section:nth-child(11) { animation-delay: 0.55s; }
section:nth-child(12) { animation-delay: 0.6s; }
section:nth-child(13) { animation-delay: 0.65s; }

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

section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 28px;
  position: relative;
  padding-left: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 5px;
  border-radius: 5px;
  background: var(--gradient);
  box-shadow: 0 0 16px var(--accent-glow);
}

section h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.4;
  transition: color var(--transition);
}

section h3:hover {
  color: var(--accent-3);
}

section p {
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 78ch;
}

section p a {
  color: var(--accent-3);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color var(--transition);
}

section p a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
  border-radius: 2px;
}

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

section p a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ===== ABOUT BANNER ===== */
#about {
  position: relative;
  padding: 72px 40px;
  margin-top: 32px;
  border-radius: var(--radius-lg);
  background: var(--gradient-soft);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

#about::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
  animation: floatOrb 12s ease-in-out infinite;
}

#about::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent 70%);
  pointer-events: none;
  animation: floatOrb 15s ease-in-out infinite reverse;
}

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

#about > * {
  position: relative;
  z-index: 1;
}

#about h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: 24px;
}

#about h2::before {
  display: none;
}

#about h2 {
  padding-left: 0;
}

#about h3 {
  color: var(--text);
  font-size: 1.2rem;
  margin-top: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--glass-border);
  display: inline-block;
}

/* ===== PRODUCTS CARDS ===== */
#products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

#products > h2 {
  grid-column: 1 / -1;
}

#products > p {
  grid-column: 1 / -1;
}

#products h3 {
  background: var(--surface);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 22px 24px 0;
  margin: 0;
  border-bottom: none;
}

#products h3 + p {
  background: var(--surface);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 0 24px 24px;
  margin: 0;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

#products h3 + p:hover {
  transform: translateY(-6px);
  background: var(--surface-hover);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--accent-glow);
}

#products h3:hover {
  color: var(--accent-3);
}

/* ===== SOLUTIONS ===== */
#solutions {
  background: var(--surface);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  margin: 24px 0;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}

#solutions:hover {
  box-shadow: var(--shadow-lg);
}

#solutions h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}

#solutions h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ===== CASES ===== */
#cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

#cases > h2,
#cases > h3:last-of-type {
  grid-column: 1 / -1;
}

#cases h3 {
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 22px 24px 0;
  margin: 0;
  color: var(--accent-3);
}

#cases h3 + p {
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 0 24px 24px;
  margin: 0;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

#cases h3 + p:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--accent-glow);
}

#cases blockquote {
  grid-column: 1 / -1;
  position: relative;
  padding: 28px 32px 28px 60px;
  background: var(--gradient-soft);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

#cases blockquote:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

#cases blockquote::before {
  content: "\201C";
  position: absolute;
  left: 20px;
  top: 8px;
  font-size: 4rem;
  line-height: 1;
  font-family: Georgia, serif;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.8;
}

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

/* ===== NEWS ===== */
#news {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow);
}

#news ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

#news ul li {
  padding: 16px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all var(--transition);
  position: relative;
  padding-left: 48px;
}

#news ul li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 10px var(--accent-glow);
}

#news ul li:hover {
  transform: translateX(8px);
  border-color: var(--accent);
  background: var(--surface-hover);
  box-shadow: 0 6px 24px var(--accent-glow);
}

#news time {
  display: inline-block;
  font-weight: 700;
  color: var(--accent-3);
  margin-right: 8px;
  font-variant-numeric: tabular-nums;
}

/* ===== ARTICLES ===== */
#articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

#articles > h2,
#articles > p {
  grid-column: 1 / -1;
}

#articles article {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

#articles article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

#articles article:hover::before {
  transform: scaleX(1);
}

#articles article:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--accent-glow);
  background: var(--surface-hover);
}

#articles article h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.45;
}

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

#articles article time {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 12px;
  padding: 4px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  align-self: flex-start;
  font-variant-numeric: tabular-nums;
}

#articles article p {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  max-width: none;
}

#articles article p:first-of-type {
  font-weight: 600;
  color: var(--accent-3);
  font-size: 0.875rem;
}

#articles article p:last-child {
  margin-top: auto;
  margin-bottom: 0;
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-3);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition);
  align-self: flex-start;
}

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

#articles article a:hover {
  color: var(--accent-2);
  gap: 10px;
}

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

/* ===== FAQ ===== */
#faq {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow);
}

#faq h3 {
  padding: 18px 22px;
  margin: 12px 0 0;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text);
  font-size: 1.05rem;
  position: relative;
  padding-right: 48px;
}

#faq h3::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent-3);
  transition: transform var(--transition);
  line-height: 1;
}

#faq h3:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  color: var(--accent-3);
}

#faq h3:hover::after {
  transform: translateY(-50%) rotate(90deg);
}

#faq h3 + p {
  padding: 16px 22px 20px;
  margin: 0 0 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: none;
  transition: all var(--transition);
}

#faq h3 + p:hover {
  background: var(--surface-hover);
}

/* ===== HOWTO ===== */
#howto {
  background: var(--gradient-soft);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--shadow-lg);
}

#howto ol {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 18px 22px 18px 70px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: transform var(--transition);
}

#howto ol li:hover {
  transform: translateX(8px);
  background: var(--surface-hover);
  border-color: var(--accent);
  box-shadow: 0 8px 28px var(--accent-glow);
}

#howto ol li:hover::before {
  transform: translateY(-50%) scale(1.15);
}

/* ===== CONTACT ===== */
#contact {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px 32px;
}

#contact h2 {
  grid-column: 1 / -1;
}

#contact p {
  padding: 14px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: none;
  transition: all var(--transition);
  margin: 0;
}

#contact p:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

/* ===== SITEMAP & LINKS ===== */
#sitemap,
#links {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

#sitemap ul,
#links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

#sitemap ul li a,
#links ul li a {
  display: inline-block;
  padding: 10px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  color: #fff;
  background: var(--gradient);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

/* ===== LEGAL ===== */
#legal {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow);
}

#legal h3 {
  color: var(--accent-3);
  font-size: 1.1rem;
  margin-top: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--glass-border);
  display: inline-block;
}

#legal h3:first-of-type {
  margin-top: 0;
}

/* ===== AUTHOR ===== */
#author {
  background: var(--gradient-soft);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

#author h2 {
  grid-column: 1 / -1;
}

#author p {
  padding: 12px 18px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: none;
  margin: 0;
  transition: all var(--transition);
}

#author p:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

/* ===== FOOTER ===== */
footer {
  margin-top: 40px;
  padding: 48px 32px;
  text-align: center;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  border-radius: 3px;
  background: var(--gradient);
  box-shadow: 0 0 20px var(--accent-glow);
}

footer p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 8px;
  max-width: none;
}

footer p:first-child {
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  header {
    padding: 14px 20px;
    gap: 12px;
  }

  header h1 {
    font-size: 1rem;
    flex: 1 1 100%;
  }

  header nav {
    flex: 1 1 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  header nav::-webkit-scrollbar {
    display: none;
  }

  header nav ul {
    flex-wrap: nowrap;
    gap: 2px;
  }

  header nav ul li a {
    padding: 7px 12px;
    font-size: 0.8rem;
  }

  main {
    padding: 0 20px 60px;
  }

  section {
    padding: 40px 0;
  }

  #about {
    padding: 48px 24px;
  }

  #solutions,
  #news,
  #faq,
  #howto,
  #contact,
  #sitemap,
  #links,
  #legal,
  #author {
    padding: 32px 24px;
  }

  #products,
  #cases,
  #articles {
    grid-template-columns: 1fr;
  }

  #contact {
    grid-template-columns: 1fr;
  }

  #author {
    grid-template-columns: 1fr;
  }

  #cases blockquote {
    padding: 24px 24px 24px 52px;
  }

  #cases blockquote::before {
    left: 14px;
    font-size: 3rem;
  }
}

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

  header {
    padding: 12px 16px;
  }

  main {
    padding: 0 16px 48px;
  }

  section h2 {
    font-size: 1.35rem;
    padding-left: 16px;
  }

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

  #about {
    padding: 36px 20px;
  }

  #about h2 {
    font-size: 1.5rem;
  }

  #products h3,
  #products h3 + p,
  #cases h3,
  #cases h3 + p {
    padding-left: 18px;
    padding-right: 18px;
  }

  #articles article {
    padding: 22px 20px;
  }

  #howto ol li {
    padding: 16px 18px 16px 60px;
  }

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

  #faq h3 {
    padding: 16px 18px;
    padding-right: 44px;
    font-size: 0.95rem;
  }

  #faq h3::after {
    right: 18px;
  }

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

  #sitemap ul li a,
  #links ul li a {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  footer {
    padding: 36px 20px;
  }
}

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

  section {
    opacity: 1;
    transform: none;
  }
}

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

/* ===== PRINT ===== */
@media print {
  header,
  footer,
  #sitemap,
  #links {
    display: none;
  }

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

  section {
    opacity: 1;
    transform: none;
    page-break-inside: avoid;
  }

  section h2 {
    -webkit-text-fill-color: #000;
    color: #000;
  }
}