:root {
  --primary: #1a73e8;
  --primary-light: #4285f4;
  --primary-dark: #0d47a1;
  --accent: #ff6b6b;
  --accent-light: #ff9a9e;
  --secondary: #7c4dff;
  --bg: #f5f7fb;
  --bg-alt: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-border: rgba(255, 255, 255, 0.45);
  --text: #1a1a2e;
  --text-secondary: #5a5a72;
  --text-muted: #8a8a9e;
  --border: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(26, 115, 232, 0.06);
  --shadow-md: 0 8px 32px rgba(26, 115, 232, 0.1);
  --shadow-lg: 0 16px 48px rgba(26, 115, 232, 0.14);
  --shadow-glow: 0 0 40px rgba(26, 115, 232, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #6ea8fe;
    --primary-light: #8bb8ff;
    --primary-dark: #4a8fe7;
    --accent: #ff8a8a;
    --accent-light: #ffb3b3;
    --secondary: #b388ff;
    --bg: #0f0f1a;
    --bg-alt: #1a1a2e;
    --bg-glass: rgba(26, 26, 46, 0.75);
    --bg-glass-border: rgba(110, 168, 254, 0.15);
    --text: #e8e8f0;
    --text-secondary: #a0a0b8;
    --text-muted: #6a6a82;
    --border: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(110, 168, 254, 0.12);
  }
}

*,
*::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);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition), color var(--transition);
}

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

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

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

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

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

img {
  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);
}

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

ul, ol {
  list-style: none;
}

/* ===== HEADER ===== */
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(--bg-glass-border);
  transition: background var(--transition), box-shadow var(--transition);
}

header:hover {
  box-shadow: var(--shadow-sm);
}

header nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

header nav > a:first-child {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
  white-space: nowrap;
  flex-shrink: 0;
}

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

header nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

header nav ul li a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

header nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transition: width var(--transition), left var(--transition);
}

header nav ul li a:hover {
  color: var(--primary);
  background: rgba(26, 115, 232, 0.06);
  transform: translateY(-1px);
}

header nav ul li a:hover::after {
  width: 60%;
  left: 20%;
}

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

/* ===== HERO ===== */
#hero {
  position: relative;
  margin: 32px 0 48px;
  padding: 72px 56px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #1a73e8 0%, #7c4dff 40%, #ff6b6b 100%);
  background-size: 300% 300%;
  animation: heroGradient 12s ease infinite;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  isolation: isolate;
}

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

#hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb 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.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb 10s ease-in-out infinite reverse;
}

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

#hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

#hero p {
  position: relative;
  z-index: 1;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  line-height: 1.85;
  opacity: 0.95;
  max-width: 780px;
  margin-bottom: 16px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

#hero p:last-child {
  margin-bottom: 0;
}

/* ===== SECTIONS ===== */
section {
  margin-bottom: 48px;
  scroll-margin-top: 88px;
}

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

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

section:hover > h2::after {
  width: 96px;
}

section > h2 + p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 24px;
  max-width: 860px;
}

section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 12px;
  padding-left: 14px;
  border-left: 3px solid var(--primary);
  line-height: 1.5;
  transition: border-color var(--transition), padding-left var(--transition);
}

section h3:hover {
  border-left-color: var(--accent);
  padding-left: 18px;
}

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

/* ===== GLASS CARD EFFECT FOR SECTIONS ===== */
#about,
#products,
#solutions,
#cases,
#news,
#articles,
#faq,
#howto,
#contact,
#legal {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

#about::before,
#products::before,
#solutions::before,
#cases::before,
#news::before,
#articles::before,
#faq::before,
#howto::before,
#contact::before,
#legal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

#about:hover,
#products:hover,
#solutions:hover,
#cases:hover,
#news:hover,
#articles:hover,
#faq:hover,
#howto:hover,
#contact:hover,
#legal:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(26, 115, 232, 0.15);
}

#about:hover::before,
#products:hover::before,
#solutions:hover::before,
#cases:hover::before,
#news:hover::before,
#articles:hover::before,
#faq:hover::before,
#howto:hover::before,
#contact:hover::before,
#legal:hover::before {
  opacity: 1;
}

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

#articles article::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 0 4px 4px 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-bounce);
}

#articles article:hover {
  transform: translateX(8px) translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 115, 232, 0.2);
  background: var(--bg-alt);
}

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

#articles article h3 {
  margin-top: 0;
  border-left: none;
  padding-left: 0;
  font-size: 1.1rem;
  color: var(--text);
}

#articles article h3:hover {
  color: var(--primary);
  padding-left: 0;
}

#articles article > p:nth-of-type(1) {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#articles article > p:nth-of-type(1)::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  flex-shrink: 0;
}

#articles article > p:nth-of-type(2) {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(26, 115, 232, 0.08);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

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

#articles article a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 115, 232, 0.3);
}

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

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

#faq details:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(26, 115, 232, 0.15);
}

#faq details[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 115, 232, 0.25);
}

#faq summary {
  padding: 18px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  transition: background var(--transition), color var(--transition);
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

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

#faq summary::after {
  content: '+';
  font-size: 1.3rem;
  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(26, 115, 232, 0.08);
  transition: transform var(--transition-bounce), background var(--transition), color var(--transition);
}

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

#faq summary:hover {
  background: rgba(26, 115, 232, 0.04);
  color: var(--primary);
}

#faq details p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.85;
  animation: fadeSlideIn 0.35s ease forwards;
}

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

/* ===== HOWTO ===== */
#howto ol {
  counter-reset: step-counter;
  padding-left: 0;
  margin: 16px 0 24px;
}

#howto ol li {
  counter-increment: step-counter;
  position: relative;
  padding: 14px 20px 14px 64px;
  margin-bottom: 10px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  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: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
  transition: transform var(--transition-bounce), box-shadow var(--transition);
}

#howto ol li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(26, 115, 232, 0.2);
}

#howto ol li:hover::before {
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 4px 16px rgba(26, 115, 232, 0.4);
}

/* ===== CONTACT ===== */
#contact ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin: 16px 0 24px;
}

#contact > ul > li {
  background: var(--bg);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}

#contact > ul > li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 0 3px 3px 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition-bounce);
}

#contact > ul > li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(26, 115, 232, 0.2);
  background: var(--bg-alt);
}

#contact > ul > li:hover::before {
  transform: scaleY(1);
}

#contact h3 + ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#contact h3 + ul li {
  background: transparent;
  border: none;
  padding: 0;
}

#contact h3 + ul li a {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(26, 115, 232, 0.08);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

#contact h3 + ul li a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26, 115, 232, 0.3);
}

/* ===== LEGAL ===== */
#legal h3 {
  margin-top: 24px;
}

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

/* ===== FOOTER ===== */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  margin-top: 48px;
  text-align: center;
  transition: background var(--transition), border-color var(--transition);
}

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

footer p:last-child {
  margin-bottom: 0;
}

footer p:nth-child(2) {
  color: var(--text-secondary);
  font-weight: 500;
}

footer p:nth-child(3) {
  font-size: 0.78rem;
  opacity: 0.7;
}

/* ===== SCROLL ANIMATION ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

section {
  animation: fadeInUp 0.7s ease both;
}

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

#articles article {
  animation: fadeInUp 0.5s ease both;
}

#articles article:nth-child(1) { animation-delay: 0.05s; }
#articles article:nth-child(2) { animation-delay: 0.1s; }
#articles article:nth-child(3) { animation-delay: 0.15s; }
#articles article:nth-child(4) { animation-delay: 0.2s; }
#articles article:nth-child(5) { animation-delay: 0.25s; }
#articles article:nth-child(6) { animation-delay: 0.3s; }
#articles article:nth-child(7) { animation-delay: 0.35s; }
#articles article:nth-child(8) { animation-delay: 0.4s; }
#articles article:nth-child(9) { animation-delay: 0.45s; }
#articles article:nth-child(10) { animation-delay: 0.5s; }

#faq details {
  animation: fadeInUp 0.5s ease both;
}

#faq details:nth-child(1) { animation-delay: 0.03s; }
#faq details:nth-child(2) { animation-delay: 0.06s; }
#faq details:nth-child(3) { animation-delay: 0.09s; }
#faq details:nth-child(4) { animation-delay: 0.12s; }
#faq details:nth-child(5) { animation-delay: 0.15s; }
#faq details:nth-child(6) { animation-delay: 0.18s; }
#faq details:nth-child(7) { animation-delay: 0.21s; }
#faq details:nth-child(8) { animation-delay: 0.24s; }
#faq details:nth-child(9) { animation-delay: 0.27s; }
#faq details:nth-child(10) { animation-delay: 0.3s; }
#faq details:nth-child(11) { animation-delay: 0.33s; }
#faq details:nth-child(12) { animation-delay: 0.36s; }
#faq details:nth-child(13) { animation-delay: 0.39s; }
#faq details:nth-child(14) { animation-delay: 0.42s; }
#faq details:nth-child(15) { animation-delay: 0.45s; }

#howto ol li {
  animation: fadeInLeft 0.5s ease both;
}

#howto ol li:nth-child(1) { animation-delay: 0.05s; }
#howto ol li:nth-child(2) { animation-delay: 0.1s; }
#howto ol li:nth-child(3) { animation-delay: 0.15s; }
#howto ol li:nth-child(4) { animation-delay: 0.2s; }
#howto ol li:nth-child(5) { animation-delay: 0.25s; }
#howto ol li:nth-child(6) { animation-delay: 0.3s; }
#howto ol li:nth-child(7) { animation-delay: 0.35s; }
#howto ol li:nth-child(8) { animation-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  header nav {
    padding: 0 20px;
  }

  header nav ul li a {
    padding: 6px 10px;
    font-size: 0.82rem;
  }

  main {
    padding: 0 20px;
  }

  #hero {
    padding: 56px 40px;
    margin: 24px 0 36px;
  }

  #about,
  #products,
  #solutions,
  #cases,
  #news,
  #articles,
  #faq,
  #howto,
  #contact,
  #legal {
    padding: 32px 28px;
  }
}

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

  header nav {
    height: auto;
    padding: 12px 16px;
    flex-direction: column;
    gap: 10px;
  }

  header nav > a:first-child {
    font-size: 1.15rem;
  }

  header nav ul {
    width: 100%;
    justify-content: center;
    gap: 2px;
  }

  header nav ul li a {
    padding: 6px 8px;
    font-size: 0.78rem;
  }

  main {
    padding: 0 16px;
  }

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

  #hero h1 {
    font-size: 1.45rem;
    margin-bottom: 16px;
  }

  #hero p {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  section {
    margin-bottom: 32px;
    scroll-margin-top: 120px;
  }

  section > h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
  }

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

  section p {
    font-size: 0.9rem;
  }

  #about,
  #products,
  #solutions,
  #cases,
  #news,
  #articles,
  #faq,
  #howto,
  #contact,
  #legal {
    padding: 24px 18px;
    border-radius: var(--radius-md);
  }

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

  #articles article:hover {
    transform: translateX(4px) translateY(-1px);
  }

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

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

  #howto ol li {
    padding: 12px 16px 12px 54px;
    font-size: 0.88rem;
  }

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

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

  #contact h3 + ul {
    flex-direction: column;
    gap: 6px;
  }

  #contact h3 + ul li a {
    display: block;
    text-align: center;
  }

  footer {
    padding: 28px 16px;
    margin-top: 32px;
  }

  footer p {
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  header nav ul li a {
    padding: 5px 6px;
    font-size: 0.72rem;
  }

  #hero {
    padding: 32px 18px;
  }

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

  #hero p {
    font-size: 0.85rem;
  }

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

  #about,
  #products,
  #solutions,
  #cases,
  #news,
  #articles,
  #faq,
  #howto,
  #contact,
  #legal {
    padding: 20px 14px;
  }

  #articles article {
    padding: 14px 16px;
  }

  #articles article a {
    font-size: 0.8rem;
    padding: 5px 12px;
  }

  #faq summary {
    padding: 12px 14px;
    font-size: 0.85rem;
  }

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

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

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

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

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

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

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

  #hero {
    background: #f0f0f0;
    color: #000;
    box-shadow: none;
  }

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