:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --bg-elevated: rgba(255, 255, 255, 0.72);
  --text: #1d2130;
  --text-soft: #5a6072;
  --brand: #1a1a2e;
  --brand-2: #2d2f4a;
  --accent: #f5a623;
  --accent-2: #e94f6a;
  --accent-3: #4f8ce9;
  --line: #e6e8f0;
  --card: #ffffff;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.65);
  --shadow: 0 8px 30px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 18px 50px rgba(26, 26, 46, 0.14);
  --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #2d2f4a 55%, #3a2d4a 100%);
  --gradient-accent: linear-gradient(135deg, #f5a623 0%, #e94f6a 100%);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  --bg: #11131c;
  --bg-soft: #171a26;
  --bg-elevated: rgba(26, 29, 43, 0.72);
  --text: #e8eaf2;
  --text-soft: #a3a9bd;
  --brand: #f5a623;
  --brand-2: #1a1d2b;
  --accent: #f5a623;
  --accent-2: #e94f6a;
  --accent-3: #6ba0f5;
  --line: #262b3b;
  --card: #1a1d2b;
  --glass: rgba(26, 29, 43, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.55);
  --gradient-hero: linear-gradient(135deg, #0d0f18 0%, #1a1d2b 55%, #2a1f33 100%);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #111;
  padding: 10px 16px;
  z-index: 9999;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

::selection {
  background: var(--accent);
  color: #1a1a2e;
}

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

.topbar {
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  padding: 7px 0;
  letter-spacing: 0.2px;
}

html[data-theme="dark"] .topbar {
  color: #111;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar a {
  color: inherit;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.topbar a:hover {
  border-color: currentColor;
  opacity: 0.85;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-elevated);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

header.site-header.scrolled {
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.1);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--brand);
  letter-spacing: 0.5px;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.logo:hover {
  transform: translateY(-1px);
}

.logo svg {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.28);
}

nav.main-nav ul {
  display: flex;
  gap: 22px;
  font-size: 15px;
}

nav.main-nav a {
  display: inline-block;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--accent);
  border-color: var(--accent);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px 6px 4px 14px;
  background: var(--bg-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.16);
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  color: var(--text);
  width: 128px;
  font-size: 14px;
}

.search-box input::placeholder {
  color: var(--text-soft);
}

.search-box button {
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-soft);
  font-size: 15px;
  padding: 4px 6px;
  border-radius: 50%;
  transition: color 0.2s ease, transform 0.2s ease;
}

.search-box button:hover {
  color: var(--accent);
  transform: scale(1.1);
}

.icon-btn {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease;
}

.icon-btn:hover {
  transform: scale(1.08);
  border-color: var(--accent);
  background: rgba(245, 166, 35, 0.12);
}

.menu-toggle {
  display: none;
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-soft);
  padding: 14px 20px 6px;
}

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

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

.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--text-soft);
  opacity: 0.7;
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -180px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.42) 0%, transparent 68%);
  filter: blur(10px);
  pointer-events: none;
  animation: floatGlow 12s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  left: -160px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(233, 79, 106, 0.34) 0%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
  animation: floatGlow 15s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-28px, 26px, 0) scale(1.08);
  }
}

.hero-slides {
  position: relative;
  min-height: 430px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  align-items: center;
  padding: 64px 0;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  z-index: 1;
}

.slide-content {
  max-width: 660px;
  position: relative;
  z-index: 2;
  animation: slideIn 0.7s var(--ease) both;
}

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

.slide h2 {
  font-size: 38px;
  line-height: 1.32;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.slide h2 em {
  color: var(--accent);
  font-style: normal;
  background: linear-gradient(135deg, #f5a623, #ffd27a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slide p {
  font-size: 17px;
  color: #d9dcea;
  margin-bottom: 26px;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.22s var(--ease), box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.45) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gradient-accent);
  color: #1a1a2e;
  box-shadow: 0 8px 22px rgba(245, 166, 35, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 30px rgba(245, 166, 35, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}

.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s var(--ease);
}

.hero-dots button:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-dots button.active {
  background: var(--accent);
  width: 28px;
}

.stats {
  background: var(--bg-soft);
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(245, 166, 35, 0.08), transparent 60%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stats-grid > div {
  padding: 14px 10px;
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), background 0.25s ease;
}

.stats-grid > div:hover {
  transform: translateY(-4px);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stat-num {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 14px;
  color: var(--text-soft);
  margin-top: 6px;
}

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

section.alt {
  background: var(--bg-soft);
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 46px;
}

.section-head h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
  letter-spacing: 0.3px;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
  margin: 14px auto 0;
}

.section-head p {
  color: var(--text-soft);
  font-size: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

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

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  font-size: 19px;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.card h4 {
  font-size: 16px;
  margin: 16px 0 8px;
  font-weight: 700;
  color: var(--accent);
}

.card p {
  color: var(--text-soft);
  font-size: 15px;
}

.card p + p {
  margin-top: 10px;
}

.card ul {
  margin: 10px 0 0 4px;
  color: var(--text-soft);
  font-size: 15px;
}

.card ul li {
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-accent);
}

.card .icon {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  transition: transform 0.3s var(--ease);
}

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

.timeline {
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--line);
  margin-top: 22px;
}

.timeline-item {
  position: relative;
  padding-bottom: 26px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.2);
  transition: transform 0.25s var(--ease);
}

.timeline-item:hover::before {
  transform: scale(1.25);
}

.timeline-item h4 {
  font-size: 17px;
  margin-bottom: 6px;
}

.timeline-item span {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 2px;
}

.timeline-item p {
  color: var(--text-soft);
  font-size: 15px;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.article-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.article-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 166, 35, 0.4);
}

.article-card:hover::after {
  opacity: 1;
}

.article-meta {
  font-size: 12.5px;
  color: var(--text-soft);
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.article-meta span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
}

.article-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.55;
  transition: color 0.2s ease;
}

.article-card:hover h3 {
  color: var(--accent);
}

.article-card p {
  color: var(--text-soft);
  font-size: 14.5px;
  flex: 1;
}

.read-more {
  margin-top: 16px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  transition: gap 0.25s var(--ease);
}

.read-more:hover {
  gap: 9px;
  text-decoration: underline;
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--card);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(245, 166, 35, 0.5);
}

.faq-item.open {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.14);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  transition: color 0.2s ease;
}

.faq-q:hover {
  color: var(--accent);
}

.faq-q .arrow {
  transition: transform 0.35s var(--ease);
  color: var(--accent);
  font-size: 16px;
  flex-shrink: 0;
}

.faq-item.open .faq-q .arrow {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
  color: var(--text-soft);
  font-size: 15px;
}

.faq-a-inner {
  padding: 0 22px 20px;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  margin-top: 0;
}

.howto-steps {
  counter-reset: step;
  max-width: 880px;
  margin: 0 auto;
}

.howto-step {
  position: relative;
  padding: 0 0 28px 68px;
  counter-increment: step;
}

.howto-step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #1a1a2e;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 6px 18px rgba(245, 166, 35, 0.32);
  transition: transform 0.25s var(--ease);
}

.howto-step:hover::before {
  transform: scale(1.1);
}

.howto-step h4 {
  font-size: 17px;
  margin-bottom: 6px;
  padding-top: 8px;
}

.howto-step p {
  color: var(--text-soft);
  font-size: 15px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.contact-info p {
  margin-bottom: 12px;
  color: var(--text-soft);
  font-size: 15px;
}

.contact-info strong {
  color: var(--text);
}

.contact-info a {
  color: var(--accent);
  font-weight: 600;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  margin-bottom: 16px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-soft);
  opacity: 0.75;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}

.contact-form textarea {
  min-height: 116px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 16px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 166, 35, 0.4);
}

.team-card svg {
  width: 74px;
  height: 74px;
  margin: 0 auto 14px;
  border-radius: 50%;
  transition: transform 0.35s var(--ease);
}

.team-card:hover svg {
  transform: scale(1.08);
}

.team-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.team-card span {
  font-size: 13px;
  color: var(--text-soft);
}

.testimonial {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.testimonial::before {
  content: "“";
  position: absolute;
  top: 6px;
  right: 22px;
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.18;
  font-family: Georgia, serif;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial p {
  font-size: 15px;
  color: var(--text-soft);
  font-style: italic;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.testimonial .who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial .who svg {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
}

.testimonial .who strong {
  font-size: 15px;
  display: block;
}

.testimonial .who span {
  font-size: 13px;
  color: var(--text-soft);
}

.tag {
  display: inline-block;
  background: rgba(245, 166, 35, 0.16);
  color: var(--accent);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid rgba(245, 166, 35, 0.32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  letter-spacing: 0.3px;
}

.notice {
  background: rgba(245, 166, 35, 0.1);
  border-left: 4px solid var(--accent);
  padding: 16px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14.5px;
  color: var(--text-soft);
  margin-top: 28px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.sitemap-inline {
  columns: 2;
  column-gap: 36px;
  font-size: 14.5px;
  max-width: 760px;
  margin: 0 auto;
}

.sitemap-inline li {
  margin-bottom: 10px;
  break-inside: avoid;
}

.sitemap-inline a {
  color: var(--text-soft);
  display: inline-block;
  padding: 2px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.sitemap-inline a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

footer.site-footer {
  background: var(--brand);
  color: #cfd2e0;
  padding: 60px 0 0;
  font-size: 14.5px;
  position: relative;
  overflow: hidden;
}

html[data-theme="dark"] footer.site-footer {
  background: #0c0e15;
  color: #b8bccb;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
}

footer.site-footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

footer.site-footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

html[data-theme="dark"] footer.site-footer h4 {
  color: #f5a623;
}

footer.site-footer ul li {
  margin-bottom: 10px;
}

footer.site-footer a {
  transition: color 0.2s ease, padding-left 0.2s ease;
}

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

footer.site-footer p {
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #9aa0b8;
}

.footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #1a1a2e;
  border: none;
  cursor: pointer;
  font-size: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.45);
  z-index: 900;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.back-top.show {
  display: flex;
  animation: popIn 0.3s var(--ease);
}

.back-top:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 12px 30px rgba(245, 166, 35, 0.6);
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

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

.reveal:nth-child(2) {
  transition-delay: 0.06s;
}

.reveal:nth-child(3) {
  transition-delay: 0.12s;
}

.reveal:nth-child(4) {
  transition-delay: 0.18s;
}

.reveal:nth-child(5) {
  transition-delay: 0.24s;
}

.reveal:nth-child(6) {
  transition-delay: 0.3s;
}

@media (max-width: 1024px) {
  .slide h2 {
    font-size: 32px;
  }

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

  .footer-grid > div:last-child {
    grid-column: span 3;
  }
}

@media (max-width: 960px) {
  .grid-3,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid,
  .article-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

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

  nav.main-nav ul {
    gap: 16px;
    font-size: 14px;
  }

  .search-box input {
    width: 100px;
  }
}

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

  .topbar .container {
    justify-content: center;
    text-align: center;
    font-size: 12px;
  }

  nav.main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 0.35s var(--ease);
    padding: 16px 20px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }

  nav.main-nav.open {
    transform: translateY(0);
  }

  nav.main-nav ul {
    flex-direction: column;
    gap: 2px;
  }

  nav.main-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  nav.main-nav a:hover,
  nav.main-nav a.active {
    border-color: var(--line);
    color: var(--accent);
  }

  .menu-toggle {
    display: flex;
  }

  .search-box {
    display: none;
  }

  .hero-slides {
    min-height: 400px;
  }

  .slide {
    padding: 48px 0;
  }

  .slide h2 {
    font-size: 27px;
  }

  .slide p {
    font-size: 15.5px;
  }

  .hero-btns {
    gap: 10px;
  }

  .btn {
    padding: 11px 22px;
    font-size: 14px;
  }

  .grid-3,
  .grid-2,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

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

  .sitemap-inline {
    columns: 1;
  }

  section {
    padding: 52px 0;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .section-head p {
    font-size: 15px;
  }

  .card {
    padding: 22px;
  }

  .stat-num {
    font-size: 30px;
  }

  .back-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }

  .howto-step {
    padding-left: 58px;
  }

  .howto-step::before {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .timeline {
    padding-left: 24px;
  }

  .timeline-item::before {
    left: -33px;
  }
}

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

  .logo {
    font-size: 17px;
  }

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

  .nav-wrap {
    height: 62px;
  }

  nav.main-nav {
    top: 62px;
  }

  .slide h2 {
    font-size: 24px;
  }

  .stat-num {
    font-size: 26px;
  }

  .stats-grid {
    gap: 12px;
  }
}

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

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

@media print {
  .topbar,
  header.site-header,
  .hero-dots,
  .back-top,
  .nav-tools,
  .contact-form {
    display: none !important;
  }

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

  .card,
  .article-card,
  .testimonial {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}