:root {
  --primary: #6d28d9;
  --primary-light: #8b5cf6;
  --primary-dark: #4c1d95;
  --accent: #ec4899;
  --accent-light: #f472b6;
  --gradient-1: linear-gradient(135deg, #6d28d9 0%, #ec4899 50%, #f59e0b 100%);
  --gradient-2: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%);
  --gradient-hero: linear-gradient(160deg, #1a1a2e 0%, #16213e 30%, #2d1b69 60%, #6d28d9 100%);
  --bg-body: #f8f7fc;
  --bg-card: #ffffff;
  --bg-card-hover: #faf9ff;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-border: rgba(255, 255, 255, 0.45);
  --bg-code: #f1f0f6;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #8a8aa0;
  --text-inverse: #ffffff;
  --border-color: #e8e6f0;
  --shadow-sm: 0 2px 8px rgba(109, 40, 217, 0.06);
  --shadow-md: 0 4px 20px rgba(109, 40, 217, 0.1);
  --shadow-lg: 0 12px 40px rgba(109, 40, 217, 0.15);
  --shadow-xl: 0 20px 60px rgba(109, 40, 217, 0.2);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --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", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", Consolas, monospace;
  --max-width: 1200px;
  --nav-height: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-body: #0f0f1a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #22223a;
    --bg-glass: rgba(26, 26, 46, 0.78);
    --bg-glass-border: rgba(109, 40, 217, 0.25);
    --bg-code: #16162a;
    --text-primary: #e8e6f0;
    --text-secondary: #b0aec8;
    --text-muted: #6a6a88;
    --border-color: #2a2a45;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
    --gradient-hero: linear-gradient(160deg, #0a0a14 0%, #12102a 30%, #1e1040 60%, #4c1d95 100%);
  }
}

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

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

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

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

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

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

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

ul,
ol {
  list-style: none;
}

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

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: var(--radius-full);
}

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

header[role="banner"] {
  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(--bg-glass-border);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

header[role="banner"]:hover {
  box-shadow: var(--shadow-md);
}

header[role="banner"] nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 16px;
}

header[role="banner"] nav > a {
  font-size: 1.35rem;
  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;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

header[role="banner"] nav > a:hover {
  transform: scale(1.05);
  filter: brightness(1.15);
}

header[role="banner"] nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex-wrap: nowrap;
  padding: 4px 0;
}

header[role="banner"] nav ul::-webkit-scrollbar {
  display: none;
}

header[role="banner"] nav ul li a {
  display: block;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all var(--transition-fast);
  position: relative;
}

header[role="banner"] nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--gradient-1);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base);
}

header[role="banner"] nav ul li a:hover {
  color: var(--primary);
  background: rgba(109, 40, 217, 0.08);
}

header[role="banner"] nav ul li a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 72px 0;
  position: relative;
}

section + section {
  border-top: 1px solid var(--border-color);
}

section h2 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 32px;
  position: relative;
  padding-left: 20px;
  letter-spacing: -0.02em;
}

section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 70%;
  background: var(--gradient-1);
  border-radius: var(--radius-full);
}

section h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--text-secondary);
}

section p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.85;
}

section ul,
section ol {
  margin: 16px 0;
  padding-left: 0;
}

section ul li,
section ol li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.8;
}

section ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--gradient-1);
  border-radius: 50%;
  opacity: 0.7;
}

section ol {
  counter-reset: ol-counter;
}

section ol li {
  counter-increment: ol-counter;
}

section ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--gradient-1);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

section strong {
  color: var(--text-primary);
  font-weight: 700;
}

#intro {
  padding: 100px 0 80px;
  position: relative;
  background: var(--gradient-hero);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
  overflow: hidden;
  color: var(--text-inverse);
}

#intro::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

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

#intro h1 {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, #e0d4ff 50%, #f9a8d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.8s ease-out both;
}

#intro p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  max-width: 800px;
  animation: fadeInUp 0.8s ease-out both;
}

#intro p:nth-of-type(1) { animation-delay: 0.1s; }
#intro p:nth-of-type(2) { animation-delay: 0.2s; }
#intro p:nth-of-type(3) { animation-delay: 0.3s; }

#about,
#history,
#culture,
#products,
#advantages,
#solutions,
#applications,
#cases,
#reviews,
#news,
#tech,
#knowledge,
#faq,
#howto,
#contact,
#sitemap,
#links,
#copyright,
#privacy,
#disclaimer,
#security,
#team,
#author {
  animation: fadeInUp 0.7s ease-out both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

#about { animation-delay: 0.05s; }
#history { animation-delay: 0.1s; }
#culture { animation-delay: 0.1s; }
#products { animation-delay: 0.1s; }
#advantages { animation-delay: 0.1s; }
#solutions { animation-delay: 0.1s; }
#applications { animation-delay: 0.1s; }
#cases { animation-delay: 0.1s; }
#reviews { animation-delay: 0.1s; }
#news { animation-delay: 0.1s; }
#tech { animation-delay: 0.1s; }
#knowledge { animation-delay: 0.1s; }
#faq { animation-delay: 0.1s; }
#howto { animation-delay: 0.1s; }
#contact { animation-delay: 0.1s; }

#history h3 {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gradient-2);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

#history h3:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-md);
}

#culture ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

#culture ul li {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 20px 20px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

#culture ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-1);
  border-radius: var(--radius-full);
  opacity: 0;
  transition: opacity var(--transition-base);
}

#culture ul li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

#culture ul li:hover::before {
  opacity: 1;
}

#culture ul li::after {
  display: none;
}

#products h3,
#advantages h3,
#solutions h3,
#applications h3 {
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-bottom: 0;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-base), border-color var(--transition-base);
}

#products h3 + p,
#advantages h3 + p,
#solutions h3 + p,
#applications h3 + p {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 0 24px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-base), border-color var(--transition-base);
}

#products h3:hover,
#advantages h3:hover,
#solutions h3:hover,
#applications h3:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-light);
}

#products h3:hover + p,
#advantages h3:hover + p,
#solutions h3:hover + p,
#applications h3:hover + p {
  background: var(--bg-card-hover);
  border-color: var(--primary-light);
}

#cases h3 {
  position: relative;
  padding-left: 36px;
  margin-top: 36px;
}

#cases h3::before {
  content: "📌";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
}

#reviews blockquote {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 28px 28px 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  overflow: hidden;
}

#reviews blockquote::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: 16px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
}

#reviews blockquote::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-1);
  border-radius: var(--radius-full);
}

#reviews blockquote:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

#reviews blockquote p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 12px;
}

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

#news article,
#tech article {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

#news article:hover::before,
#tech article:hover::before {
  transform: scaleX(1);
}

#news article:hover,
#tech article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
  background: var(--bg-card-hover);
}

#news article h3,
#tech article h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
  line-height: 1.5;
}

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

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

#news article time,
#tech article time {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 500;
}

#news article p,
#tech article p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

#news article p a,
#tech article p a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  padding: 6px 14px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

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

#news article p a:hover,
#tech article p a:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(109, 40, 217, 0.35);
}

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

#knowledge h3 {
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  cursor: default;
}

#knowledge h3:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

#knowledge h3 + p {
  padding: 0 20px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

#knowledge h3:hover + p {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

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

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

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

#faq details summary {
  padding: 18px 24px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  transition: background var(--transition-fast), color var(--transition-fast);
  user-select: none;
}

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

#faq details summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(109, 40, 217, 0.1);
  transition: transform var(--transition-base), background var(--transition-base), color var(--transition-base);
}

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

#faq details summary:hover {
  background: var(--bg-card-hover);
  color: var(--primary);
}

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

#howto h3 {
  padding: 12px 20px;
  background: var(--gradient-2);
  color: #fff;
  border-radius: var(--radius-md);
  display: inline-block;
  margin-bottom: 16px;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}

#howto h4 {
  padding: 10px 18px;
  background: var(--bg-code);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0 10px;
  font-size: 0.95rem;
  color: var(--primary-dark);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

#howto h4:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

#howto ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

#howto ul li {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 16px 14px 24px;
  margin-bottom: 0;
  font-size: 0.92rem;
  transition: all var(--transition-base);
}

#howto ul li::before {
  top: 18px;
  left: 10px;
  width: 6px;
  height: 6px;
}

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

#contact p {
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

#contact p:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

#contact h3 {
  margin-top: 28px;
}

#sitemap ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

#sitemap ul li {
  padding-left: 0;
  margin-bottom: 0;
}

#sitemap ul li::before {
  display: none;
}

#sitemap ul li a {
  display: block;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  transition: all var(--transition-fast);
}

#sitemap ul li a:hover {
  background: var(--gradient-2);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#links ul li {
  padding-left: 0;
  margin-bottom: 0;
}

#links ul li::before {
  display: none;
}

#links ul li a {
  display: inline-block;
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

#links ul li a:hover {
  background: var(--gradient-1);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px) scale(1.03);
}

#copyright,
#privacy,
#disclaimer,
#security {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

#copyright:hover,
#privacy:hover,
#disclaimer:hover,
#security:hover {
  box-shadow: var(--shadow-md);
}

#privacy h3 {
  font-size: 1.05rem;
  margin-top: 20px;
  color: var(--primary);
}

#team h3 {
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

#team h3:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

#team h3 + p {
  padding: 0 20px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

#team h3:hover + p {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

#author {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

#author p {
  margin-bottom: 8px;
  font-size: 0.92rem;
}

footer[role="contentinfo"] {
  background: var(--gradient-hero);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 24px 32px;
  margin-top: 60px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  position: relative;
  overflow: hidden;
}

footer[role="contentinfo"]::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

footer[role="contentinfo"] p {
  max-width: var(--max-width);
  margin: 0 auto 8px;
  font-size: 0.85rem;
  line-height: 1.7;
  text-align: center;
  position: relative;
  z-index: 1;
}

footer[role="contentinfo"] p:first-child {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}

footer[role="contentinfo"] p:last-child {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

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

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

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

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

@media (max-width: 1024px) {
  :root {
    --max-width: 100%;
  }

  #intro h1 {
    font-size: 2.2rem;
  }

  section h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 56px;
  }

  body {
    font-size: 15px;
  }

  header[role="banner"] nav {
    padding: 0 16px;
    flex-direction: column;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 8px;
  }

  header[role="banner"] nav > a {
    font-size: 1.2rem;
  }

  header[role="banner"] nav ul {
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  header[role="banner"] nav ul li a {
    padding: 5px 10px;
    font-size: 0.78rem;
  }

  main {
    padding: 0 16px;
  }

  #intro {
    padding: 60px 16px 50px;
    margin: 0 -16px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  #intro h1 {
    font-size: 1.7rem;
    margin-bottom: 20px;
  }

  #intro p {
    font-size: 0.92rem;
  }

  section {
    padding: 48px 0;
  }

  section h2 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    padding-left: 16px;
  }

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

  section h3 {
    font-size: 1.1rem;
  }

  section p {
    font-size: 0.92rem;
    line-height: 1.8;
  }

  section ul li,
  section ol li {
    font-size: 0.92rem;
  }

  #culture ul {
    grid-template-columns: 1fr;
  }

  #products h3,
  #advantages h3,
  #solutions h3,
  #applications h3 {
    padding: 16px 18px;
    font-size: 1.05rem;
  }

  #products h3 + p,
  #advantages h3 + p,
  #solutions h3 + p,
  #applications h3 + p {
    padding: 0 18px 18px;
  }

  #reviews blockquote {
    padding: 22px 22px 22px 26px;
  }

  #reviews blockquote p {
    font-size: 0.92rem;
  }

  #news article,
  #tech article {
    padding: 20px;
  }

  #news article h3,
  #tech article h3 {
    font-size: 1.05rem;
  }

  #faq details summary {
    padding: 14px 18px;
    font-size: 0.92rem;
  }

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

  #sitemap ul {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
  }

  #sitemap ul li a {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  #copyright,
  #privacy,
  #disclaimer,
  #security,
  #author {
    padding: 22px;
  }

  #howto ul {
    grid-template-columns: 1fr;
  }

  footer[role="contentinfo"] {
    padding: 36px 16px 24px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  footer[role="contentinfo"] p {
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  #intro h1 {
    font-size: 1.45rem;
  }

  #intro {
    padding: 48px 14px 40px;
  }

  section h2 {
    font-size: 1.25rem;
  }

  section {
    padding: 36px 0;
  }

  header[role="banner"] nav ul li a {
    padding: 4px 8px;
    font-size: 0.72rem;
  }

  #links ul {
    gap: 8px;
  }

  #links ul li a {
    padding: 6px 14px;
    font-size: 0.82rem;
  }
}

@media (min-width: 1400px) {
  :root {
    --max-width: 1320px;
  }

  #intro h1 {
    font-size: 3rem;
  }

  section h2 {
    font-size: 2.2rem;
  }
}

@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;
  }
}

@media print {
  header[role="banner"],
  footer[role="contentinfo"] {
    display: none;
  }

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

  section {
    padding: 20px 0;
    break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

@supports (backdrop-filter: blur(20px)) {
  header[role="banner"] {
    background: var(--bg-glass);
  }
}

@supports not (backdrop-filter: blur(20px)) {
  header[role="banner"] {
    background: var(--bg-card);
  }
}