:root {
  --brand: #ff5a5f;
  --brand-dark: #e0454a;
  --brand-light: #ff8a8d;
  --brand-soft: #fff0f0;
  --brand-soft-2: #ffe3e3;
  --ink: #1d2129;
  --ink-2: #4e5969;
  --ink-3: #86909c;
  --bg: #ffffff;
  --bg-2: #f7f8fa;
  --bg-3: #eef0f4;
  --line: #e5e6eb;
  --line-soft: #f0f1f4;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px rgba(29, 33, 41, 0.08);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(29, 33, 41, 0.08);
  --shadow-lg: 0 16px 48px rgba(29, 33, 41, 0.12);
  --shadow-brand: 0 8px 24px rgba(255, 90, 95, 0.28);
  --max: 1180px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --grad-brand: linear-gradient(135deg, #ff8a8d 0%, #ff5a5f 55%, #e0454a 100%);
  --grad-hero: linear-gradient(135deg, #fff5f5 0%, #fff 42%, #f3f6ff 100%);
  --grad-soft: linear-gradient(135deg, #ffe3e3 0%, #fff6f0 100%);
}

body.dark {
  --ink: #e8eaee;
  --ink-2: #b0b6c0;
  --ink-3: #8a909c;
  --bg: #141519;
  --bg-2: #1c1e24;
  --bg-3: #24262e;
  --line: #2c2f37;
  --line-soft: #23252c;
  --brand-soft: #3a2224;
  --brand-soft-2: #4a292c;
  --glass: rgba(28, 30, 36, 0.72);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --grad-hero: linear-gradient(135deg, #241a1b 0%, #141519 45%, #1a1d26 100%);
  --grad-soft: linear-gradient(135deg, #3a2224 0%, #2a2226 100%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

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

.skip-link:focus {
  left: 10px;
  top: 10px;
  border-radius: 8px;
}

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

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 66px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-bounce);
}

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

.logo svg {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  transition: transform 0.4s var(--ease-bounce);
}

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

.nav-main {
  display: flex;
  gap: 22px;
  font-size: 15px;
  color: var(--ink-2);
  flex: 1;
}

.nav-main a {
  padding: 6px 0;
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav-main a:hover {
  color: var(--brand);
}

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transition: width 0.28s var(--ease);
}

.nav-main a:hover::after {
  width: 100%;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.search-box:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.14);
  background: var(--bg);
}

.search-box input {
  border: 0;
  background: transparent;
  outline: none;
  font-size: 14px;
  width: 150px;
  color: var(--ink);
  font-family: inherit;
}

.search-box input::placeholder {
  color: var(--ink-3);
}

.search-box button {
  border: 0;
  background: var(--grad-brand);
  color: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
  transition: filter 0.2s var(--ease), transform 0.15s var(--ease);
}

.search-box button:hover {
  filter: brightness(1.06);
}

.search-box button:active {
  transform: scale(0.96);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  will-change: transform;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 90, 95, 0.38);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-2);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
  background: var(--brand-soft);
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-2);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.theme-toggle:hover {
  color: var(--brand);
  border-color: var(--brand);
  transform: rotate(15deg) scale(1.06);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  padding: 64px 0 56px;
  transition: background 0.4s var(--ease);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.55;
}

.hero::before {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 90, 95, 0.35), transparent 70%);
  top: -140px;
  left: -100px;
  animation: floatBlob 14s ease-in-out infinite;
}

.hero::after {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(91, 110, 225, 0.28), transparent 70%);
  bottom: -120px;
  right: -80px;
  animation: floatBlob 18s ease-in-out infinite reverse;
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -24px) scale(1.1); }
}

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

.hero h1 {
  font-size: 40px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

.hero h1 .accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand);
}

.hero-lead {
  font-size: 17px;
  color: var(--ink-2);
  margin-bottom: 26px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.hero-stats .stat b {
  display: block;
  font-size: 26px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand);
  font-weight: 800;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.hero-stats .stat span {
  font-size: 13px;
  color: var(--ink-3);
}

.hero-visual {
  position: relative;
}

.hero-visual svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s var(--ease);
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-visual:hover svg {
  transform: translateY(-6px) scale(1.01);
}

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

.section {
  padding: 64px 0;
  transition: background-color 0.3s var(--ease);
}

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

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head h2 {
  font-size: 30px;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  line-height: 1.3;
}

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

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

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

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

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 90, 95, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

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

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

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.4;
}

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

.card p a {
  color: var(--brand);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.card p a:hover {
  border-bottom-color: var(--brand);
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--brand);
  transition: transform 0.3s var(--ease-bounce), background 0.3s var(--ease);
}

.card:hover .icon {
  transform: scale(1.1) rotate(-6deg);
  background: var(--brand-soft-2);
}

.card .icon svg {
  width: 24px;
  height: 24px;
}

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

.feature-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.feature-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
  border-color: var(--brand-soft-2);
}

.feature-item .num {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.3s var(--ease-bounce);
}

.feature-item:hover .num {
  transform: scale(1.12);
}

.feature-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 14px;
  color: var(--ink-2);
}

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

.scene {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
  text-align: center;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.scene:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-soft-2);
}

.scene svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  transition: transform 0.35s var(--ease-bounce);
}

.scene:hover svg {
  transform: scale(1.12) rotate(4deg);
}

.scene h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.scene p {
  font-size: 13px;
  color: var(--ink-3);
}

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

.case {
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.case:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-soft-2);
}

.case-media {
  background: var(--bg-2);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.case-media svg {
  width: 100%;
  height: 100%;
  transition: transform 0.5s var(--ease);
}

.case:hover .case-media svg {
  transform: scale(1.05);
}

.case-body {
  padding: 22px;
}

.case-body h3 {
  font-size: 17px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.case-body p {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 12px;
}

.case-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 12px;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 10px;
  border-radius: 999px;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.tag:hover {
  transform: translateY(-2px);
  background: var(--brand-soft-2);
}

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

.quote {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.quote:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-soft-2);
}

.quote::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 20px;
  font-size: 64px;
  color: var(--brand-soft);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  transition: color 0.3s var(--ease);
}

.quote:hover::before {
  color: var(--brand-soft-2);
}

.quote p {
  font-size: 15px;
  color: var(--ink-2);
  margin-bottom: 18px;
  position: relative;
}

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

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex: 0 0 auto;
  transition: transform 0.3s var(--ease-bounce);
}

.quote:hover .avatar {
  transform: scale(1.1);
}

.who b {
  display: block;
  font-size: 14px;
}

.who span {
  font-size: 12px;
  color: var(--ink-3);
}

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

.news-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.news-item:hover {
  border-color: var(--brand-soft-2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.news-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 10px;
}

.news-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
  line-height: 1.5;
}

.news-item p {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 12px;
}

.read-more {
  font-size: 14px;
  color: var(--brand);
  font-weight: 600;
  display: inline-block;
  transition: transform 0.2s var(--ease);
}

.read-more:hover {
  transform: translateX(4px);
}

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

.article {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-soft-2);
}

.article h3 {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.article p {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 14px;
  flex: 1;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-3);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-item:hover {
  border-color: var(--brand-soft-2);
}

.faq-item.open {
  border-color: var(--brand-soft-2);
  box-shadow: var(--shadow);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  line-height: 1.5;
  transition: color 0.2s var(--ease);
}

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

.faq-q .plus {
  flex: 0 0 22px;
  height: 22px;
  position: relative;
  transition: transform 0.3s var(--ease);
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--brand);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.faq-q .plus::before {
  left: 50%;
  top: 3px;
  width: 2px;
  height: 16px;
  transform: translateX(-50%);
}

.faq-q .plus::after {
  top: 50%;
  left: 3px;
  height: 2px;
  width: 16px;
  transform: translateY(-50%);
}

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

.faq-item.open .plus::before {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-a-inner {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.8;
}

.howto-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
  margin-top: 26px;
}

.howto-step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  margin-top: 16px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.howto-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-soft-2);
}

.howto-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 24px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: var(--shadow-brand);
  transition: transform 0.3s var(--ease-bounce);
}

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

.howto-step h4 {
  font-size: 16px;
  margin: 12px 0 8px;
}

.howto-step p {
  font-size: 14px;
  color: var(--ink-2);
}

.howto-notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 26px;
}

.note-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.note-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--brand-soft-2);
}

.note-box h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--brand);
}

.note-box ul li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}

.note-box ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

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

.contact-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--brand-soft-2);
}

.contact-card h4 {
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 15px;
  color: var(--ink);
  word-break: break-all;
}

.contact-card a {
  color: var(--brand);
  font-weight: 500;
}

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

.map-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.map-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-soft-2);
}

.map-card svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

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

.member {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-soft-2);
}

.member svg {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  transition: transform 0.35s var(--ease-bounce);
}

.member:hover svg {
  transform: scale(1.08);
}

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

.member span {
  font-size: 13px;
  color: var(--ink-3);
}

.member p {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 10px;
}

.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--brand-soft));
  border-radius: 2px;
}

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

.tl-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--brand-soft);
  transition: transform 0.3s var(--ease-bounce);
}

.tl-item:hover::before {
  transform: scale(1.3);
}

.tl-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.tl-item .year {
  font-size: 13px;
  color: var(--brand);
  font-weight: 700;
}

.tl-item p {
  font-size: 14px;
  color: var(--ink-2);
}

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

.value {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.value:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-soft-2);
}

.value h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

.value p {
  font-size: 14px;
  color: var(--ink-2);
}

.footer {
  background: #17181c;
  color: #b8bcc6;
  padding: 56px 0 28px;
  font-size: 14px;
  transition: background-color 0.3s var(--ease);
}

body.dark .footer {
  background: #0e0f12;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 38px;
}

.footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
}

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

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

.footer .brand-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 14px;
}

.footer .brand-line svg {
  width: 32px;
  height: 32px;
  transition: transform 0.4s var(--ease-bounce);
}

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

.footer-bottom {
  border-top: 1px solid #2a2c33;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #7d818c;
}

.footer-bottom a {
  color: #b8bcc6;
}

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

.legal {
  font-size: 12px;
  color: #7d818c;
  line-height: 1.9;
  margin-top: 14px;
}

.legal strong {
  color: #b8bcc6;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease), transform 0.28s var(--ease), filter 0.2s var(--ease);
  z-index: 900;
}

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

.back-top:hover {
  filter: brightness(1.08);
  transform: translateY(-3px);
}

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

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

.breadcrumb {
  font-size: 13px;
  color: var(--ink-3);
  padding: 16px 0;
}

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

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

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

.anchor-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 0 0;
}

.anchor-nav a {
  font-size: 13px;
  color: var(--ink-2);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.anchor-nav a:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .card-grid,
  .quote-grid,
  .value-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

  .nav-main {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-main.open {
    display: flex;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--glass);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    gap: 14px;
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.28s var(--ease);
  }

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

@media (max-width: 640px) {
  .hero {
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 27px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stats .stat b {
    font-size: 22px;
  }

  .section {
    padding: 44px 0;
  }

  .card-grid,
  .quote-grid,
  .value-grid,
  .team-grid,
  .scene-grid,
  .howto-steps,
  .note-box,
  .feature-list,
  .case-list,
  .news-grid,
  .article-list,
  .contact-info {
    grid-template-columns: 1fr;
  }

  .howto-notes {
    grid-template-columns: 1fr;
  }

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

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

  .header-tools .btn-ghost {
    display: none;
  }

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

  .article-meta {
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

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

@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 {
  header.site-header,
  .back-top,
  .anchor-nav,
  .breadcrumb,
  .hero-actions,
  .header-tools {
    display: none !important;
  }

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

  .section {
    padding: 20px 0;
  }
}