:root {
  --brand: #e8547c;
  --brand-2: #7c5cff;
  --brand-3: #ffb547;
  --brand-glow: rgba(232, 84, 124, 0.35);
  --bg: #fffafb;
  --bg-2: #ffffff;
  --bg-3: #fff4f7;
  --glass: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.8);
  --text: #2b2431;
  --text-2: #6b6272;
  --text-3: #9a90a3;
  --line: #f0e3e8;
  --shadow-sm: 0 4px 14px rgba(232, 84, 124, 0.08);
  --shadow: 0 10px 30px rgba(232, 84, 124, 0.12);
  --shadow-lg: 0 20px 50px rgba(232, 84, 124, 0.18);
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", Roboto, sans-serif;
}

html[data-theme="dark"] {
  --bg: #14111a;
  --bg-2: #1d1925;
  --bg-3: #241f2e;
  --glass: rgba(29, 25, 37, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text: #f3eef6;
  --text-2: #b3a9bd;
  --text-3: #857b90;
  --line: #332b3d;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.3);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
  --brand-glow: rgba(232, 84, 124, 0.28);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a:hover {
  color: var(--brand-2);
  text-decoration: underline;
}

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

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

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 999px;
  border: 2px solid var(--bg-3);
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 2px 20px rgba(232, 84, 124, 0.06);
  transition: background 0.35s ease, border-color 0.35s ease;
}

.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(--text);
  letter-spacing: -0.3px;
  transition: transform 0.3s var(--ease);
}

.logo:hover {
  text-decoration: none;
  transform: scale(1.03);
}

.logo svg {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  box-shadow: 0 4px 14px var(--brand-glow);
  transition: transform 0.4s var(--ease), box-shadow 0.3s ease;
}

.logo:hover svg {
  transform: rotate(-8deg) scale(1.05);
  box-shadow: 0 6px 20px var(--brand-glow);
}

.logo span em {
  color: var(--brand);
  font-style: normal;
}

nav.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

nav.main-nav a {
  position: relative;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.25s ease;
}

nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width 0.3s var(--ease);
}

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

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

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

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

.search-box:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(232, 84, 124, 0.12);
}

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

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

.search-box button {
  border: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border-radius: 999px;
  padding: 6px 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-box button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--brand-glow);
}

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

.icon-btn:hover {
  transform: translateY(-2px) rotate(8deg);
  border-color: var(--brand);
  color: var(--brand);
}

.icon-btn:active {
  transform: scale(0.94);
}

.menu-toggle {
  display: none;
}

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

.breadcrumb a {
  color: var(--text-2);
  transition: color 0.2s ease;
}

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

.breadcrumb span {
  color: var(--brand);
  font-weight: 600;
}

.hero {
  position: relative;
  padding: 48px 0 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(232, 84, 124, 0.14), transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(124, 92, 255, 0.14), transparent 46%),
    radial-gradient(circle at 70% 10%, rgba(255, 181, 71, 0.10), transparent 38%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 84, 124, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 84, 124, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.8px;
  background: linear-gradient(120deg, var(--text) 30%, var(--brand) 70%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
  -webkit-text-fill-color: var(--brand);
  position: relative;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 8px;
  background: linear-gradient(90deg, rgba(232, 84, 124, 0.28), rgba(124, 92, 255, 0.18));
  border-radius: 4px;
  z-index: -1;
}

.hero .lead {
  margin-top: 20px;
  color: var(--text-2);
  font-size: 17px;
  max-width: 560px;
}

.hero .lead strong {
  color: var(--text);
  font-weight: 700;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-2) 0%, var(--brand) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: #fff;
}

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

.btn-primary:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-ghost {
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  text-decoration: none;
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.hero-visual {
  position: relative;
}

.slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.slide {
  display: none;
  padding: 30px;
  min-height: 320px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  position: relative;
}

.slide.active {
  display: flex;
  animation: slideFade 0.65s var(--ease);
}

@keyframes slideFade {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.slide h3 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text);
}

.slide p {
  color: var(--text-2);
  font-size: 14.5px;
}

.slide .tag {
  display: inline-block;
  align-self: flex-start;
  background: linear-gradient(135deg, rgba(232, 84, 124, 0.16), rgba(124, 92, 255, 0.16));
  color: var(--brand);
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid rgba(232, 84, 124, 0.2);
}

.slide-art {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  z-index: 0;
  transition: transform 0.8s var(--ease);
}

.slide.active .slide-art {
  transform: scale(1.06);
}

.slide > *:not(.slide-art) {
  position: relative;
  z-index: 1;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: width 0.35s var(--ease), background 0.35s ease;
}

.slider-dots button:hover {
  background: var(--text-3);
}

.slider-dots button.active {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  width: 28px;
}

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

.stat {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}

.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--brand-3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(232, 84, 124, 0.3);
}

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

.stat .num {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.stat .num small {
  font-size: 15px;
  color: var(--text-2);
  font-weight: 600;
  -webkit-text-fill-color: var(--text-2);
  margin-left: 2px;
}

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

section.block {
  padding: 52px 0;
  border-top: 1px solid var(--line);
  position: relative;
}

section.block:first-of-type {
  border-top: none;
}

.section-head {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-head .kicker {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(232, 84, 124, 0.1), rgba(124, 92, 255, 0.1));
  border: 1px solid rgba(232, 84, 124, 0.15);
}

.section-head h2 {
  font-size: 31px;
  font-weight: 800;
  margin: 14px 0 12px;
  line-height: 1.32;
  letter-spacing: -0.5px;
}

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

.prose {
  max-width: 880px;
}

.prose h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 28px 0 10px;
  position: relative;
  padding-left: 16px;
  letter-spacing: -0.3px;
}

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

.prose h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 18px 0 8px;
  color: var(--text);
}

.prose p {
  margin-bottom: 14px;
  color: var(--text-2);
}

.prose p strong {
  color: var(--text);
  font-weight: 700;
}

.prose ul,
.prose ol {
  margin: 0 0 16px 22px;
  color: var(--text-2);
}

.prose li {
  margin-bottom: 8px;
  position: relative;
}

.prose ul li::marker {
  color: var(--brand);
}

.prose a {
  font-weight: 600;
  border-bottom: 1px dashed rgba(232, 84, 124, 0.4);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.prose a:hover {
  text-decoration: none;
  border-bottom-color: var(--brand);
  color: var(--brand-2);
}

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

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

.card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(232, 84, 124, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 84, 124, 0.25);
}

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

.card .card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(232, 84, 124, 0.14), rgba(124, 92, 255, 0.14));
  border: 1px solid rgba(232, 84, 124, 0.1);
  transition: transform 0.4s var(--ease);
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(-6deg);
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.2px;
}

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

.timeline {
  position: relative;
  margin: 20px 0 0 12px;
  border-left: 2px solid var(--line);
  padding-left: 30px;
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
  transition: transform 0.3s var(--ease);
}

.timeline-item:hover {
  transform: translateX(4px);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -39px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 4px rgba(232, 84, 124, 0.12);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.timeline-item:hover::before {
  box-shadow: 0 0 0 6px rgba(232, 84, 124, 0.2);
  transform: scale(1.1);
}

.timeline-item .year {
  font-weight: 800;
  color: var(--brand);
  font-size: 15px;
  letter-spacing: 0.5px;
}

.timeline-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 2px 0 4px;
}

.timeline-item h3::before {
  display: none;
}

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

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

.article-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease, border-color 0.4s ease;
}

.article-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 84, 124, 0.25);
}

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

.article-card .meta {
  font-size: 12.5px;
  color: var(--text-3);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.article-card .meta .cat {
  color: var(--brand);
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(232, 84, 124, 0.1);
}

.article-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  transition: color 0.25s ease;
}

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

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

.article-card .more {
  font-weight: 600;
  font-size: 14px;
  align-self: flex-start;
  transition: transform 0.3s var(--ease);
}

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

.faq-list {
  display: grid;
  gap: 12px;
}

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

.faq-item:hover {
  border-color: rgba(232, 84, 124, 0.3);
}

.faq-item.open {
  border-color: rgba(232, 84, 124, 0.4);
  box-shadow: var(--shadow-sm);
}

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

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

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

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

.faq-q .plus::before {
  width: 14px;
  height: 2px;
  top: 10px;
  left: 4px;
}

.faq-q .plus::after {
  width: 2px;
  height: 14px;
  top: 4px;
  left: 10px;
}

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

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

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
  padding: 0 22px;
}

.faq-a p {
  padding-bottom: 18px;
  color: var(--text-2);
  font-size: 15px;
}

.howto-steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.howto-step {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px 20px 66px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}

.howto-step:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
  border-color: rgba(232, 84, 124, 0.25);
}

.howto-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 4px 12px var(--brand-glow);
  transition: transform 0.35s var(--ease);
}

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

.howto-step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  padding-left: 0;
}

.howto-step h3::before {
  display: none;
}

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

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

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

.case:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 84, 124, 0.25);
}

.case .quote {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 16px;
  position: relative;
  padding-left: 22px;
  line-height: 1.7;
}

.case .quote::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 38px;
  line-height: 1;
  color: var(--brand);
  opacity: 0.4;
  font-family: Georgia, serif;
}

.case .who {
  font-size: 13.5px;
  color: var(--text-2);
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.case .who strong {
  color: var(--text);
  font-weight: 700;
}

.news-list {
  display: grid;
  gap: 12px;
}

.news-item {
  display: flex;
  gap: 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  align-items: center;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
  transform: translateX(5px);
  border-color: rgba(232, 84, 124, 0.3);
  box-shadow: var(--shadow-sm);
}

.news-item time {
  flex: none;
  font-size: 13px;
  color: var(--brand);
  font-weight: 700;
  width: 96px;
  letter-spacing: 0.3px;
}

.news-item a {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.25s ease;
}

.news-item:hover a {
  color: var(--brand);
  text-decoration: none;
}

.news-item span {
  color: var(--text-2);
  font-size: 13.5px;
  margin-left: auto;
  flex: none;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--bg-3);
}

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

.contact-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.contact-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 2px;
}

.contact-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-card li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
  color: var(--text-2);
  transition: color 0.25s ease;
}

.contact-card li:hover {
  color: var(--text);
}

.contact-card li:last-child {
  border-bottom: none;
}

.contact-card li strong {
  color: var(--text);
  min-width: 80px;
  flex: none;
  font-weight: 600;
}

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

.trust {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}

.trust:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(232, 84, 124, 0.25);
}

.trust svg {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  transition: transform 0.4s var(--ease);
}

.trust:hover svg {
  transform: scale(1.12);
}

.trust h3 {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.trust p {
  font-size: 13px;
  color: var(--text-2);
}

footer.site-footer {
  position: relative;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 48px 0 26px;
  margin-top: 24px;
  overflow: hidden;
}

footer.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--brand-3), var(--brand));
  background-size: 200% 100%;
  animation: gradientShift 8s linear infinite;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-col ul a {
  color: var(--text-2);
  font-size: 14px;
  transition: color 0.25s ease, padding-left 0.25s ease;
  display: inline-block;
}

.footer-col ul a:hover {
  color: var(--brand);
  padding-left: 4px;
  text-decoration: none;
}

.footer-col p {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-2);
}

.footer-bottom p {
  margin-bottom: 4px;
}

.footer-bottom a {
  color: var(--text-2);
  transition: color 0.25s ease;
}

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

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

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

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

.back-top:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 16px 40px var(--brand-glow);
}

.back-top:active {
  transform: scale(0.94);
}

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

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

@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 (max-width: 1024px) {
  .hero h1 {
    font-size: 34px;
  }

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

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

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

  .hero {
    padding: 36px 0 28px;
  }

  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

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

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

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

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

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

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

  .container {
    padding: 0 16px;
  }

  .nav-wrap {
    height: 60px;
  }

  nav.main-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--glass);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    flex-direction: column;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    gap: 4px;
    box-shadow: var(--shadow);
    animation: navDrop 0.3s var(--ease);
  }

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

  nav.main-nav.open {
    display: flex;
  }

  nav.main-nav a {
    padding: 10px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  nav.main-nav a:last-child {
    border-bottom: none;
  }

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

  .menu-toggle {
    display: flex;
  }

  .search-box {
    display: none;
  }

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

  .hero .lead {
    font-size: 15.5px;
    margin-top: 16px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 14.5px;
  }

  .slide {
    min-height: 260px;
    padding: 24px;
  }

  .slide h3 {
    font-size: 20px;
  }

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

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

  section.block {
    padding: 40px 0;
  }

  .cards,
  .cases {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat {
    padding: 18px 14px;
  }

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

  .prose h3 {
    font-size: 19px;
  }

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

  .news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .news-item span {
    margin-left: 0;
  }

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

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

  .howto-step {
    padding: 18px 18px 18px 60px;
  }

  .howto-step::before {
    left: 16px;
    top: 18px;
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 24px;
  }

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

  .stat .label {
    font-size: 12.5px;
  }

  .btn {
    width: 100%;
  }
}