:root {
  --primary: #e63946;
  --primary-dark: #c1272d;
  --primary-light: #ff6b6b;
  --secondary: #1d3557;
  --accent: #2a9d8f;
  --accent-light: #a8dadc;
  --bg: #f8f9fa;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-border: rgba(255, 255, 255, 0.45);
  --text: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #8888a0;
  --border: #e8e8f0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 32px rgba(230, 57, 70, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --gradient-hero: linear-gradient(135deg, #1d3557 0%, #e63946 50%, #2a9d8f 100%);
  --gradient-primary: linear-gradient(135deg, #e63946 0%, #c1272d 100%);
  --gradient-accent: linear-gradient(135deg, #2a9d8f 0%, #1d3557 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
}

[data-theme="dark"] {
  --bg: #0f0f1a;
  --bg-card: #1a1a2e;
  --bg-glass: rgba(26, 26, 46, 0.78);
  --bg-glass-border: rgba(255, 255, 255, 0.08);
  --text: #e8e8f0;
  --text-secondary: #b0b0c8;
  --text-muted: #6a6a88;
  --border: #2a2a42;
  --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(230, 57, 70, 0.25);
  --gradient-card: linear-gradient(145deg, rgba(26,26,46,0.95) 0%, rgba(26,26,46,0.75) 100%);
}

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

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

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

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

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

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

ul, ol {
  list-style: none;
}

/* ===== HEADER ===== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--bg-glass-border);
  transition: background var(--transition), box-shadow var(--transition);
}

#site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo svg {
  filter: drop-shadow(0 2px 6px rgba(230, 57, 70, 0.35));
  transition: transform var(--transition);
}

.logo:hover svg {
  transform: rotate(-8deg) scale(1.08);
}

.logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#main-nav {
  flex: 1;
  min-width: 0;
}

#main-nav ul {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

#main-nav a {
  display: block;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: all var(--transition);
}

#main-nav a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--transition);
}

#main-nav a:hover {
  color: var(--primary);
  background: rgba(230, 57, 70, 0.06);
}

#main-nav a:hover::after {
  width: 60%;
}

#mobile-menu-toggle,
#dark-mode-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.15rem;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}

#dark-mode-toggle {
  display: flex;
}

#mobile-menu-toggle:hover,
#dark-mode-toggle:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

#site-search {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

#site-search input {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.88rem;
  font-family: inherit;
  width: 200px;
  outline: none;
  transition: all var(--transition);
}

#site-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.12);
  width: 240px;
}

#site-search button {
  padding: 8px 16px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
}

#site-search button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

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

section {
  padding: 48px 0;
  animation: fadeUp 0.7s ease both;
}

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

section h2 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 14px;
  letter-spacing: -0.02em;
  color: var(--text);
}

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

section:hover h2::after {
  width: 100px;
}

section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--text);
  padding-left: 14px;
  border-left: 3px solid var(--primary);
  line-height: 1.4;
}

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

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

section ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

section ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

section ol {
  counter-reset: item;
}

section ol li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  counter-increment: item;
}

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

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

/* ===== HERO ===== */
#hero {
  padding: 32px 0 48px;
  text-align: center;
  animation: fadeUp 0.8s ease both;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto 32px;
}

#hero h1 {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}

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

#hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.8;
}

.cta-btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 50px;
  background: var(--gradient-primary);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.98rem;
  margin: 6px 6px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 1 !important;
}

.cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.cta-btn:hover::before {
  opacity: 1;
}

.cta-btn.secondary {
  background: var(--bg-card);
  color: var(--primary) !important;
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.cta-btn.secondary:hover {
  background: var(--primary);
  color: #fff !important;
  box-shadow: var(--shadow-glow);
}

/* ===== HERO BANNER ===== */
.hero-banner {
  position: relative;
  max-width: 900px;
  margin: 0 auto 36px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 8 / 3;
  background: var(--secondary);
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== STATS ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  background: var(--gradient-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 22px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}

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

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

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

.breadcrumb a {
  color: var(--primary);
  font-weight: 500;
}

/* ===== ANCHOR NAV ===== */
#anchor-nav {
  background: var(--gradient-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

#anchor-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#anchor-nav a {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(230, 57, 70, 0.06);
  border: 1px solid transparent;
  transition: all var(--transition);
}

#anchor-nav a:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ===== CARDS / SECTIONS ===== */
#brand-intro,
#history,
#culture,
#products,
#advantages,
#solutions,
#applications,
#cases,
#reviews,
#news,
#tech,
#knowledge,
#faq,
#howto,
#contact,
#sitemap,
#links {
  background: var(--gradient-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

#brand-intro:hover,
#history:hover,
#culture:hover,
#products:hover,
#advantages:hover,
#solutions:hover,
#applications:hover,
#cases:hover,
#reviews:hover,
#news:hover,
#tech:hover,
#knowledge:hover,
#faq:hover,
#howto:hover,
#contact:hover,
#sitemap:hover,
#links:hover {
  box-shadow: var(--shadow-md);
}

/* ===== NEWS ARTICLES ===== */
#news article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 16px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

#news article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}

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

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

#news article h3 {
  margin: 0 0 8px;
  padding: 0;
  border: none;
  font-size: 1.1rem;
}

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

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

#news article p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

#news article > a:last-child {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  transition: all var(--transition);
}

#news article > a:last-child:hover {
  transform: translateX(4px);
  gap: 4px;
}

/* ===== BLOCKQUOTE ===== */
blockquote {
  background: var(--bg-card);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin: 14px 0;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}

blockquote::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 18px;
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

blockquote:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--accent);
}

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

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

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

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

#faq summary {
  padding: 16px 22px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all var(--transition);
  position: relative;
}

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

#faq summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(230, 57, 70, 0.08);
}

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

#faq summary:hover {
  background: rgba(230, 57, 70, 0.04);
  color: var(--primary);
}

#faq details p {
  padding: 0 22px 18px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
  animation: fadeUp 0.4s ease both;
}

/* ===== CONTACT ===== */
#contact ul li {
  padding: 10px 0 10px 22px;
  border-bottom: 1px dashed var(--border);
}

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

#contact ul li::before {
  top: 18px;
}

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

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

#back-to-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(230, 57, 70, 0.4);
}

/* ===== FOOTER ===== */
footer {
  background: var(--secondary);
  color: #c8c8d8;
  margin-top: 48px;
  padding: 48px 0 28px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-hero);
}

[data-theme="dark"] footer {
  background: #0a0a14;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-inner > p {
  font-size: 0.86rem;
  color: #a0a0b8;
  margin-bottom: 8px;
  text-align: center;
}

footer nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 28px;
  font-size: 0.88rem;
}

footer nav a {
  color: #c8c8d8;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

footer nav a:hover {
  color: #fff;
  background: rgba(230, 57, 70, 0.2);
}

footer section {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 16px;
  animation: none;
}

footer section h3 {
  color: #fff;
  font-size: 1rem;
  border-left-color: var(--primary);
  margin: 0 0 10px;
}

footer section p {
  color: #a0a0b8;
  font-size: 0.86rem;
  margin: 0;
  line-height: 1.7;
}

.footer-inner > p:last-child,
.footer-inner > p:nth-last-child(2) {
  text-align: center;
  font-size: 0.8rem;
  color: #787890;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
  #main-nav ul {
    gap: 2px;
  }

  #main-nav a {
    padding: 6px 10px;
    font-size: 0.84rem;
  }

  #site-search input {
    width: 150px;
  }

  #site-search input:focus {
    width: 180px;
  }
}

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

  .header-inner {
    padding: 8px 16px;
    gap: 10px;
  }

  .logo {
    font-size: 1.15rem;
  }

  .logo svg {
    width: 30px;
    height: 30px;
  }

  #mobile-menu-toggle {
    display: flex;
    order: 3;
    margin-left: auto;
  }

  #dark-mode-toggle {
    order: 4;
  }

  #main-nav {
    order: 5;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  #main-nav.open {
    max-height: 500px;
  }

  #main-nav ul {
    flex-direction: column;
    gap: 2px;
    padding: 8px 0;
  }

  #main-nav a {
    padding: 10px 14px;
    font-size: 0.92rem;
    border-radius: var(--radius-sm);
  }

  #site-search {
    order: 6;
    width: 100%;
    margin-top: 6px;
  }

  #site-search input {
    flex: 1;
    width: auto;
  }

  #site-search input:focus {
    width: auto;
  }

  main {
    padding: 0 16px;
  }

  section {
    padding: 32px 0;
  }

  #brand-intro,
  #history,
  #culture,
  #products,
  #advantages,
  #solutions,
  #applications,
  #cases,
  #reviews,
  #news,
  #tech,
  #knowledge,
  #faq,
  #howto,
  #contact,
  #sitemap,
  #links {
    padding: 26px 20px;
    border-radius: var(--radius-lg);
    margin: 20px 0;
  }

  section h2 {
    font-size: 1.45rem;
  }

  section h3 {
    font-size: 1.08rem;
  }

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

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

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

  .stat-num {
    font-size: 1.5rem;
  }

  .hero-banner {
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 3;
  }

  .cta-btn {
    padding: 11px 26px;
    font-size: 0.92rem;
  }

  #anchor-nav {
    padding: 12px 14px;
  }

  #anchor-nav a {
    font-size: 0.78rem;
    padding: 4px 11px;
  }

  blockquote {
    padding: 14px 18px;
  }

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

  #faq details p {
    padding: 0 16px 14px;
  }

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

  footer {
    padding: 32px 0 20px;
  }

  .footer-inner {
    padding: 0 16px;
  }

  footer section {
    padding: 16px 18px;
  }
}

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

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

  section h2 {
    font-size: 1.3rem;
  }

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

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

  .stat-item p {
    font-size: 0.75rem;
  }

  .cta-btn {
    display: block;
    width: 100%;
    margin: 6px 0;
    text-align: center;
  }

  #news article {
    padding: 16px 16px;
  }

  #news article h3 {
    font-size: 1rem;
  }
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

::selection {
  background: rgba(230, 57, 70, 0.2);
  color: var(--text);
}

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

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

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

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