:root {
  --primary: #FF6B35;
  --primary-dark: #E85A2A;
  --primary-light: #FF8F5E;
  --secondary: #FFD166;
  --accent: #06D6A0;
  --accent-dark: #05B88A;
  --bg: #FFF9F5;
  --bg-alt: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-glass: rgba(255, 255, 255, 0.55);
  --text: #1A1A2E;
  --text-secondary: #5A5A72;
  --text-muted: #8E8EA0;
  --border: rgba(255, 107, 53, 0.12);
  --border-strong: rgba(255, 107, 53, 0.22);
  --shadow-sm: 0 2px 8px rgba(255, 107, 53, 0.06);
  --shadow-md: 0 8px 24px rgba(255, 107, 53, 0.1);
  --shadow-lg: 0 16px 48px rgba(255, 107, 53, 0.14);
  --shadow-glow: 0 0 32px rgba(255, 107, 53, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --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", monospace;
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-hero: linear-gradient(135deg, #FF6B35 0%, #FF8F5E 30%, #FFD166 70%, #06D6A0 100%);
  --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FF8F5E 100%);
  --gradient-accent: linear-gradient(135deg, #06D6A0 0%, #05B88A 100%);
  --gradient-warm: linear-gradient(135deg, #FFD166 0%, #FF6B35 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 249, 245, 0.7));
  --blur-glass: blur(20px) saturate(180%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F0F1A;
    --bg-alt: #16162A;
    --bg-card: rgba(30, 30, 50, 0.72);
    --bg-glass: rgba(30, 30, 50, 0.55);
    --text: #F0F0F5;
    --text-secondary: #B0B0C8;
    --text-muted: #787890;
    --border: rgba(255, 143, 94, 0.12);
    --border-strong: rgba(255, 143, 94, 0.22);
    --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 0 32px rgba(255, 107, 53, 0.25);
    --gradient-card: linear-gradient(145deg, rgba(30, 30, 50, 0.9), rgba(22, 22, 42, 0.7));
  }
}

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

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

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

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

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

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

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg);
}

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

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

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

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

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

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

strong {
  color: var(--text);
  font-weight: 600;
}

blockquote {
  position: relative;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
  background: var(--bg-glass);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
}

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

blockquote::before {
  content: "\201C";
  position: absolute;
  top: -0.5rem;
  left: 0.75rem;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

header[role="banner"] > nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header[role="banner"] > nav > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}

header[role="banner"] a[aria-label="香蕉漫画首页"] {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

header[role="banner"] a[aria-label="香蕉漫画首页"] svg {
  border-radius: 12px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

header[role="banner"] a[aria-label="香蕉漫画首页"]:hover svg {
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.45);
}

header[role="banner"] a[aria-label="香蕉漫画首页"] span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

header[role="banner"] ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

header[role="banner"] ul li a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  position: relative;
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

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

header[role="banner"] ul li a:hover {
  color: var(--primary);
  background: rgba(255, 107, 53, 0.08);
  transform: translateY(-2px);
}

header[role="banner"] ul li a:hover::after {
  width: 60%;
  left: 20%;
}

main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

section {
  margin-bottom: 4rem;
  animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) 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; }

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

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 53, 0.2); }
  50% { box-shadow: 0 0 40px rgba(255, 107, 53, 0.4); }
}

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

#hero {
  position: relative;
  margin: 2rem 0 4rem;
  padding: 4rem 2.5rem;
  background: var(--gradient-hero);
  background-size: 300% 300%;
  animation: gradientShift 12s ease infinite, fadeInUp 0.7s ease both;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: #fff;
}

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

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 209, 102, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(6, 214, 160, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

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

#hero h1 {
  position: relative;
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

#hero > p {
  position: relative;
  max-width: 720px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.75rem;
  z-index: 1;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

#hero nav[aria-label="面包屑导航"] ol {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1.75rem;
  font-size: 0.9rem;
  z-index: 1;
}

#hero nav[aria-label="面包屑导航"] ol li {
  display: flex;
  align-items: center;
}

#hero nav[aria-label="面包屑导航"] ol li:not(:last-child)::after {
  content: "/";
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.5);
}

#hero nav[aria-label="面包屑导航"] ol li a {
  color: rgba(255, 255, 255, 0.85);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
}

#hero nav[aria-label="面包屑导航"] ol li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

#hero nav[aria-label="面包屑导航"] ol li:last-child {
  color: #fff;
  font-weight: 600;
}

#hero form[role="search"] {
  position: relative;
  display: flex;
  max-width: 560px;
  gap: 0.65rem;
  z-index: 1;
}

#hero form[role="search"] label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#hero form[role="search"] input[type="search"] {
  flex: 1;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

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

#hero form[role="search"] input[type="search"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(6, 214, 160, 0.25), 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

#hero form[role="search"] button[type="submit"] {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--primary);
  background: #fff;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

#hero form[role="search"] button[type="submit"]:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  background: var(--secondary);
  color: var(--text);
}

#hero form[role="search"] button[type="submit"]:active {
  transform: translateY(0) scale(0.98);
}

#brand,
#products,
#solutions,
#cases,
#news,
#articles,
#faq,
#howto,
#contact,
#sitemap,
#links,
#legal {
  background: var(--bg-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

#brand:hover,
#products:hover,
#solutions:hover,
#cases:hover,
#news:hover,
#articles:hover,
#faq:hover,
#howto:hover,
#contact:hover,
#sitemap:hover,
#links:hover,
#legal:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

#brand h3,
#products h3,
#solutions h3,
#cases h3,
#news h3,
#articles h3,
#faq h3,
#howto h3,
#contact h3,
#legal h3 {
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#brand h3::before,
#products h3::before,
#solutions h3::before,
#cases h3::before,
#news h3::before,
#articles h3::before,
#faq h3::before,
#howto h3::before,
#contact h3::before,
#legal h3::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.1em;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

#products h4,
#solutions h4,
#howto h4 {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text);
}

#products h4::before,
#solutions h4::before,
#howto h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--gradient-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(6, 214, 160, 0.5);
}

#news article,
#articles article {
  position: relative;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  overflow: hidden;
}

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

#news article:hover,
#articles article:hover {
  transform: translateY(-4px) translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

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

#news article h3,
#articles article h3 {
  margin-top: 0;
  color: var(--text);
  transition: color var(--transition-fast);
}

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

#news article p:first-of-type,
#articles article p:first-of-type {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(255, 107, 53, 0.08);
  transition: background var(--transition-fast), transform var(--transition-fast), gap var(--transition-fast);
}

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

#articles article a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateX(4px);
}

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

#cases blockquote {
  background: var(--gradient-card);
  border-left-color: var(--accent);
}

#cases blockquote::before {
  color: var(--accent);
}

#cases blockquote p {
  font-style: normal;
  font-weight: 500;
  color: var(--text);
}

#faq details {
  margin-bottom: 0.85rem;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

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

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

#faq details summary {
  position: relative;
  padding: 1.1rem 3rem 1.1rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--transition-fast), background var(--transition-fast);
}

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

#faq details summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--primary);
  background: rgba(255, 107, 53, 0.1);
  border-radius: 50%;
  transition: transform var(--transition-base), background var(--transition-base), color var(--transition-base);
}

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

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

#faq details > p {
  padding: 0 1.5rem 1.25rem;
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  animation: fadeIn 0.3s ease both;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

#howto ul {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0 1.5rem;
}

#howto ul li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

#howto ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 107, 53, 0.4);
}

#howto h4 {
  margin-top: 1.75rem;
}

#howto h4 + p {
  margin-top: 0.25rem;
}

#sitemap ul,
#links ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.65rem;
}

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

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

#links ul li a {
  font-size: 0.88rem;
}

#contact p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

#contact p strong {
  color: var(--primary);
}

footer[role="contentinfo"] {
  position: relative;
  margin-top: 2rem;
  padding: 3.5rem 1.5rem 2rem;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
}

footer[role="contentinfo"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-hero);
  background-size: 300% 100%;
  animation: gradientShift 8s ease infinite;
}

footer[role="contentinfo"] > div {
  max-width: 1280px;
  margin: 0 auto;
}

footer[role="contentinfo"] > div:first-child {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

footer[role="contentinfo"] > div:first-child h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

footer[role="contentinfo"] > div:first-child h2::after {
  display: none;
}

footer[role="contentinfo"] > div:first-child p {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

footer[role="contentinfo"] > div:first-child p:last-child {
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

footer[role="contentinfo"] > div:nth-child(2),
footer[role="contentinfo"] > div:nth-child(3),
footer[role="contentinfo"] > div:nth-child(4),
footer[role="contentinfo"] > div:nth-child(5) {
  display: inline-block;
  vertical-align: top;
  width: calc(25% - 1rem);
  margin-right: 1rem;
  margin-bottom: 2rem;
}

footer[role="contentinfo"] > div:nth-child(5) {
  margin-right: 0;
}

footer[role="contentinfo"] h3 {
  font-size: 1rem;
  color: var(--text);
  margin-top: 0;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

footer[role="contentinfo"] h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

footer[role="contentinfo"] ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

footer[role="contentinfo"] ul li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  word-break: break-all;
}

footer[role="contentinfo"] ul li a {
  color: var(--text-secondary);
  display: inline-block;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

footer[role="contentinfo"] ul li a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

footer[role="contentinfo"] > div:last-child {
  clear: both;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

footer[role="contentinfo"] > div:last-child p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  line-height: 1.6;
}

footer[role="contentinfo"] > div:last-child p:last-child {
  color: var(--primary);
  font-weight: 500;
  margin-top: 0.75rem;
}

@media (max-width: 1024px) {
  header[role="banner"] > nav > div {
    height: auto;
    flex-direction: column;
    padding: 0.85rem 0;
    gap: 0.75rem;
  }

  header[role="banner"] ul {
    justify-content: center;
    gap: 0.15rem;
  }

  header[role="banner"] ul li a {
    padding: 0.4rem 0.7rem;
    font-size: 0.85rem;
  }

  main {
    padding: 0 1.25rem 3rem;
  }

  #hero {
    padding: 3rem 1.75rem;
  }

  #brand,
  #products,
  #solutions,
  #cases,
  #news,
  #articles,
  #faq,
  #howto,
  #contact,
  #sitemap,
  #links,
  #legal {
    padding: 2rem 1.75rem;
  }

  footer[role="contentinfo"] > div:nth-child(2),
  footer[role="contentinfo"] > div:nth-child(3),
  footer[role="contentinfo"] > div:nth-child(4),
  footer[role="contentinfo"] > div:nth-child(5) {
    width: calc(50% - 0.75rem);
    margin-right: 1.5rem;
  }

  footer[role="contentinfo"] > div:nth-child(4),
  footer[role="contentinfo"] > div:nth-child(5) {
    margin-right: 0;
  }

  footer[role="contentinfo"] > div:nth-child(3),
  footer[role="contentinfo"] > div:nth-child(5) {
    margin-right: 1.5rem;
  }

  footer[role="contentinfo"] > div:nth-child(4) {
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 60px;
  }

  body {
    font-size: 15px;
  }

  header[role="banner"] > nav {
    padding: 0 1rem;
  }

  header[role="banner"] ul {
    gap: 0.1rem;
  }

  header[role="banner"] ul li a {
    padding: 0.35rem 0.55rem;
    font-size: 0.78rem;
  }

  header[role="banner"] a[aria-label="香蕉漫画首页"] {
    font-size: 1.1rem;
  }

  header[role="banner"] a[aria-label="香蕉漫画首页"] svg {
    width: 32px;
    height: 32px;
  }

  main {
    padding: 0 1rem 2.5rem;
  }

  #hero {
    padding: 2.5rem 1.25rem;
    margin: 1.25rem 0 2.5rem;
    border-radius: var(--radius-lg);
  }

  #hero form[role="search"] {
    flex-direction: column;
    max-width: 100%;
  }

  #hero form[role="search"] button[type="submit"] {
    width: 100%;
    padding: 0.8rem;
  }

  #brand,
  #products,
  #solutions,
  #cases,
  #news,
  #articles,
  #faq,
  #howto,
  #contact,
  #sitemap,
  #links,
  #legal {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 2.5rem;
  }

  section {
    margin-bottom: 2.5rem;
  }

  h2 {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
  }

  h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
  }

  #news article,
  #articles article {
    padding: 1.25rem;
  }

  #faq details summary {
    padding: 0.95rem 2.75rem 0.95rem 1.15rem;
    font-size: 0.95rem;
  }

  #faq details summary::after {
    right: 1rem;
    width: 24px;
    height: 24px;
    font-size: 1.1rem;
  }

  #faq details > p {
    padding: 0.85rem 1.15rem 1.15rem;
    font-size: 0.9rem;
  }

  #sitemap ul,
  #links ul {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.5rem;
  }

  #sitemap ul li a,
  #links ul li a {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  footer[role="contentinfo"] {
    padding: 2.5rem 1rem 1.5rem;
  }

  footer[role="contentinfo"] > div:nth-child(2),
  footer[role="contentinfo"] > div:nth-child(3),
  footer[role="contentinfo"] > div:nth-child(4),
  footer[role="contentinfo"] > div:nth-child(5) {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-bottom: 1.75rem;
  }

  footer[role="contentinfo"] > div:first-child h2 {
    font-size: 1.5rem;
  }

  blockquote {
    padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  }
}

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

  header[role="banner"] ul li a {
    padding: 0.3rem 0.45rem;
    font-size: 0.72rem;
  }

  #hero {
    padding: 2rem 1rem;
  }

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

  #hero > p {
    font-size: 0.92rem;
  }

  #brand,
  #products,
  #solutions,
  #cases,
  #news,
  #articles,
  #faq,
  #howto,
  #contact,
  #sitemap,
  #links,
  #legal {
    padding: 1.25rem 1rem;
  }

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

  footer[role="contentinfo"] > div:last-child p {
    font-size: 0.75rem;
  }
}

@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"],
  #hero form[role="search"] {
    display: none;
  }

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

  #hero {
    background: none;
    color: #000;
    box-shadow: none;
    padding: 1rem 0;
  }

  #hero h1,
  #hero > p {
    color: #000;
    text-shadow: none;
  }

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