:root {
  --brand-primary: #1e2b3c;
  --brand-secondary: #e44d26;
  --brand-accent: #f4b942;
  --brand-light: #f8f9fc;
  --brand-dark: #0f1722;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #7a7a9a;
  --bg-body: #ffffff;
  --bg-section: #f8f9fc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.4);
  --gradient-hero: linear-gradient(135deg, #1e2b3c 0%, #2a3f5f 40%, #e44d26 100%);
  --gradient-accent: linear-gradient(135deg, #e44d26 0%, #f4b942 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 252, 0.95) 100%);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 24px rgba(228, 77, 38, 0.25);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --brand-primary: #e2e8f0;
  --brand-secondary: #ff6b3d;
  --brand-accent: #ffc857;
  --brand-light: #1a1f2e;
  --brand-dark: #0a0e17;
  --text-primary: #f0f2f8;
  --text-secondary: #b0b8cc;
  --text-muted: #7a8299;
  --bg-body: #0f141e;
  --bg-section: #151b28;
  --bg-card: #1a2233;
  --border-color: #2a3345;
  --glass-bg: rgba(26, 34, 51, 0.72);
  --glass-border: rgba(255, 255, 255, 0.08);
  --gradient-hero: linear-gradient(135deg, #0a0e17 0%, #1a2233 40%, #ff6b3d 100%);
  --gradient-accent: linear-gradient(135deg, #ff6b3d 0%, #ffc857 100%);
  --gradient-card: linear-gradient(145deg, rgba(26, 34, 51, 0.9) 0%, rgba(21, 27, 40, 0.95) 100%);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 24px rgba(255, 107, 61, 0.3);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-primary);
  background-color: var(--bg-body);
  transition: background-color var(--transition), color var(--transition);
  overflow-x: hidden;
}

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

a {
  color: var(--brand-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.logo:hover {
  transform: scale(1.03);
}

.logo svg {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.logo span {
  color: var(--brand-secondary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-menu a {
  padding: 8px 14px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
  transition: width var(--transition), left var(--transition);
}

.nav-menu a:hover {
  background-color: var(--bg-section);
  color: var(--brand-secondary);
  transform: translateY(-1px);
}

.nav-menu a:hover::after {
  width: 60%;
  left: 20%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.search-toggle,
.theme-toggle,
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.search-toggle:hover,
.theme-toggle:hover,
.menu-toggle:hover {
  border-color: var(--brand-secondary);
  color: var(--brand-secondary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.search-box {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  animation: slideDown 0.25s ease;
}

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

.search-box.active {
  display: block;
}

.search-box form {
  display: flex;
  gap: 8px;
  max-width: 600px;
  margin: 0 auto;
}

.search-box input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: var(--bg-body);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-box input:focus {
  border-color: var(--brand-secondary);
  box-shadow: 0 0 0 3px rgba(228, 77, 38, 0.15);
}

.search-box button {
  padding: 10px 20px;
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
}

.search-box button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

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

.breadcrumb li::after {
  content: "/";
  color: var(--text-muted);
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--brand-secondary);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 72px 0 64px;
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(244, 185, 66, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(228, 77, 38, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.4rem;
  line-height: 1.3;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hero-content h1 span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content .lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 24px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-accent);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(228, 77, 38, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(228, 77, 38, 0.45);
  color: #fff;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual svg {
  width: 100%;
  max-width: 440px;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.3));
  animation: float 6s ease-in-out infinite;
}

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

/* ===== Sections ===== */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg-section);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 3px;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin-top: 14px;
}

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-secondary);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-section);
  border-radius: var(--radius-md);
  transition: background var(--transition), transform var(--transition);
}

.card:hover .card-icon {
  background: var(--gradient-accent);
  transform: scale(1.08) rotate(-4deg);
}

.card:hover .card-icon svg {
  stroke: #fff;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Article list ===== */
.article-list {
  display: grid;
  gap: 20px;
}

.article-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.article-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-accent);
  transform: scaleY(0);
  transition: transform var(--transition);
}

.article-item:hover {
  border-color: var(--brand-secondary);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.article-item:hover::before {
  transform: scaleY(1);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.article-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.article-item h3 a {
  color: var(--text-primary);
}

.article-item h3 a:hover {
  color: var(--brand-secondary);
}

.article-item p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.7;
}

.read-more {
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.read-more:hover {
  gap: 8px;
}

/* ===== FAQ ===== */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item.active {
  border-color: var(--brand-secondary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: background-color var(--transition);
}

.faq-question:hover {
  background: var(--bg-section);
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== HowTo ===== */
.howto-steps {
  display: grid;
  gap: 20px;
  counter-reset: step;
}

.howto-step {
  display: flex;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.howto-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-secondary);
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(228, 77, 38, 0.3);
}

.step-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.contact-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-secondary);
}

.contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Team ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-secondary);
}

.team-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover .team-avatar {
  transform: scale(1.08);
  box-shadow: var(--shadow-glow);
}

.team-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--brand-secondary);
  font-weight: 600;
  margin-bottom: 8px;
}

.team-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--brand-dark);
  color: #b0b8cc;
  padding: 56px 0 24px;
  border-top: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-accent);
  opacity: 0.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: #f0f2f8;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #8892a8;
  margin-bottom: 16px;
}

.footer-col h4 {
  color: #f0f2f8;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: #8892a8;
  font-size: 0.88rem;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-col a:hover {
  color: var(--brand-accent);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.82rem;
  color: #6a7288;
}

.footer-bottom a {
  color: #8892a8;
}

.footer-bottom a:hover {
  color: var(--brand-accent);
}

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 900;
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual svg {
    max-width: 320px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-md);
    animation: slideDown 0.25s ease;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 16px;
  }

  .nav-menu a::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-stats {
    gap: 20px;
  }

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

  .section {
    padding: 44px 0;
  }

  .section-header h2 {
    font-size: 1.4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .howto-step {
    flex-direction: column;
    gap: 12px;
  }

  .search-box form {
    flex-direction: column;
  }

  .search-box button {
    width: 100%;
  }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-visual svg {
    animation: none;
  }
}

/* ===== Print ===== */
@media print {
  .site-header,
  .back-to-top,
  .search-box,
  .hero-visual {
    display: none;
  }

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

  .card,
  .article-item,
  .faq-item,
  .howto-step {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}