:root {
  --ink: #252526;
  --muted: rgba(37, 37, 38, .68);
  --brand: #921241;
  --brand-soft: rgba(146, 18, 65, .1);
  --line: rgba(37, 37, 38, .14);
  --glass: rgba(255, 255, 255, .72);
  --max: 1180px;
  --shadow: 0 24px 80px rgba(37, 37, 38, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background:
    radial-gradient(circle at 14% 8%, rgba(146, 18, 65, .08), transparent 34%),
    linear-gradient(180deg, #f9fafc 0%, #f5f2f4 46%, #fbfbfc 100%);
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 250, 252, .78);
  border-bottom: 1px solid rgba(255, 255, 255, .74);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}
.nav-inner {
  width: min(var(--max), calc(100% - 40px));
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; height: 38px; flex: 0 0 auto; }
.brand img { width: 182px; height: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #1b2940;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a { opacity: .76; transition: opacity .2s ease, color .2s ease; }
.nav-links a:hover, .nav-links .active { opacity: 1; color: var(--brand); }
.nav-item { position: relative; height: 64px; display: inline-flex; align-items: center; }
.nav-trigger { display: inline-flex; align-items: center; gap: 6px; }
.nav-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .55;
}
.dropdown {
  position: absolute;
  top: 58px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 520px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 24px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 26px 70px rgba(37, 37, 38, .15);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown.solutions-menu { min-width: 360px; grid-template-columns: 1fr; }
.dropdown-group {
  padding: 12px;
  border-radius: 18px;
  background: rgba(248, 248, 249, .64);
  border: 1px solid rgba(37, 37, 38, .1);
}
.dropdown-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #151516;
  font-size: 14px;
  font-weight: 800;
  opacity: 1 !important;
}
.dropdown-title span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}
.dropdown-link {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  color: #3d3d3f;
  font-size: 13px;
  line-height: 1.35;
  opacity: .82 !important;
}
.dropdown-link:hover, .dropdown-title:hover {
  background: rgba(146, 18, 65, .08);
  color: var(--brand);
  opacity: 1 !important;
}
.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(146, 18, 65, .22);
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 10px 28px rgba(37, 37, 38, .08);
  font-weight: 700;
  opacity: 1 !important;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(146, 18, 65, .22);
  border-radius: 14px;
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 10px 28px rgba(37, 37, 38, .08);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, .98), rgba(247, 243, 245, .95) 54%, rgba(238, 221, 228, .7)),
    radial-gradient(circle at 86% 34%, rgba(146, 18, 65, .14), transparent 34%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -120px -80px -80px;
  background:
    linear-gradient(126deg, transparent 0 12%, rgba(255, 255, 255, .9) 23%, transparent 40%),
    radial-gradient(ellipse at 16% 88%, rgba(146, 18, 65, .08), transparent 42%);
}
.hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  min-height: 610px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 54px;
  align-items: center;
  padding: 76px 0;
}
.breadcrumb { margin: 0 0 22px; color: rgba(37, 37, 38, .58); font-size: 14px; }
.breadcrumb a { color: var(--brand); font-weight: 700; }
.hero h1 {
  margin: 0;
  max-width: 720px;
  color: #0f1011;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  font-weight: 900;
}
.hero-copy > p:last-of-type {
  margin: 26px 0 0;
  max-width: 600px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}
.hero-actions { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn, .ghost-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn {
  color: #fff;
  background: linear-gradient(135deg, #252526, #921241 64%, #b4164e);
  box-shadow: 0 18px 36px rgba(146, 18, 65, .28);
}
.ghost-btn {
  border: 1px solid rgba(146, 18, 65, .18);
  background: rgba(255, 255, 255, .66);
}
.btn:hover, .ghost-btn:hover { transform: translateY(-2px); }
.hero-visual {
  position: relative;
  min-height: 450px;
}
.hero-visual img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
}
.result-float {
  position: absolute;
  left: -22px;
  bottom: 28px;
  width: min(330px, 76%);
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 22px 60px rgba(37, 37, 38, .14);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}
.result-float span { display: block; color: var(--brand); font-size: 13px; font-weight: 800; }
.result-float strong { display: block; margin-top: 8px; font-size: 38px; line-height: 1; }
.result-float p { margin: 10px 0 0; color: var(--muted); line-height: 1.7; }

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}
.section.alt {
  width: 100%;
  max-width: none;
  background: linear-gradient(180deg, transparent, rgba(238, 221, 228, .34), transparent);
}
.section.alt > .inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 40px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.12;
}
.section-head p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.proof-card {
  min-height: 190px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .78);
  background: var(--glass);
  box-shadow: 0 18px 56px rgba(37, 37, 38, .09);
  backdrop-filter: blur(20px) saturate(155%);
  -webkit-backdrop-filter: blur(20px) saturate(155%);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.proof-card:hover {
  transform: translateY(-6px);
  border-color: rgba(146, 18, 65, .22);
  box-shadow: 0 24px 70px rgba(146, 18, 65, .14);
}
.proof-card span { color: var(--brand); font-size: 13px; font-weight: 900; }
.proof-card strong { display: block; margin-top: 18px; color: #101011; font-size: 38px; line-height: 1; }
.proof-card p { margin: 14px 0 0; color: var(--muted); line-height: 1.75; }

.case-list {
  display: grid;
  gap: 22px;
}
.case-item {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 176px;
  gap: 26px;
  align-items: center;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 56px rgba(37, 37, 38, .08);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.case-item:hover {
  transform: translateY(-6px);
  border-color: rgba(146, 18, 65, .22);
  box-shadow: 0 26px 76px rgba(146, 18, 65, .14);
}
.case-thumb {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 4 / 3;
  background: rgba(37, 37, 38, .06);
}
.case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.case-item:hover .case-thumb img { transform: scale(1.055); }
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(37, 37, 38, .58);
  font-size: 13px;
}
.case-tag {
  color: var(--brand);
  font-weight: 900;
}
.case-main h3 {
  margin: 0;
  color: #101011;
  font-size: 25px;
  line-height: 1.28;
}
.case-main h3 a:hover { color: var(--brand); }
.case-main p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.85;
}
.case-results {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(146, 18, 65, .07);
  border: 1px solid rgba(146, 18, 65, .12);
}
.case-results span {
  color: rgba(37, 37, 38, .62);
  font-size: 13px;
  font-weight: 700;
}
.case-results strong {
  display: block;
  margin-top: 4px;
  color: var(--brand);
  font-size: 25px;
  line-height: 1.1;
}
.case-more {
  width: fit-content;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
}
.case-more::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(-45deg);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.insight-card {
  padding: 28px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 18px 56px rgba(37, 37, 38, .08);
}
.insight-card span { color: var(--brand); font-size: 13px; font-weight: 900; }
.insight-card h3 { margin: 16px 0 0; font-size: 22px; }
.insight-card p { margin: 12px 0 0; color: var(--muted); line-height: 1.8; }

.pager {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}
.pager a {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(146, 18, 65, .16);
  background: rgba(255, 255, 255, .68);
  color: rgba(37, 37, 38, .78);
  font-weight: 800;
}
.pager a.current, .pager a:hover {
  color: #fff;
  background: linear-gradient(135deg, #252526, #921241);
}

.contact {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 80px;
  padding: 42px;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 42px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, .8);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .86), rgba(246, 239, 242, .68)),
    radial-gradient(circle at 88% 20%, rgba(146, 18, 65, .1), transparent 38%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}
.contact h2 { margin: 0; font-size: clamp(32px, 4vw, 50px); line-height: 1.14; }
.contact p { margin: 20px 0 0; color: var(--muted); line-height: 1.85; }
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(37, 37, 38, .12);
  border-radius: 13px;
  background: rgba(255, 255, 255, .74);
  color: var(--ink);
  outline: none;
}
textarea.field { min-height: 104px; padding-top: 14px; resize: vertical; }
.field:focus {
  border-color: rgba(146, 18, 65, .42);
  box-shadow: 0 0 0 4px rgba(146, 18, 65, .08);
}
.form .btn { border: 0; cursor: pointer; }
.form .btn:disabled { opacity: .72; cursor: default; }

.footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(37, 37, 38, .12);
  color: rgba(37, 37, 38, .56);
  font-size: 14px;
}

@media (max-width: 1020px) {
  .nav-links { gap: 16px; font-size: 13px; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { min-height: auto; }
  .proof-grid, .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-item { grid-template-columns: 240px minmax(0, 1fr); }
  .case-results { grid-column: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-inner { width: min(100% - 28px, var(--max)); }
  .brand img { width: 152px; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .78);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 26px 70px rgba(37, 37, 38, .16);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
  }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-trigger { padding: 12px 10px; }
  .nav-item { height: auto; display: block; }
  .nav-trigger::after { display: none; }
  .dropdown {
    position: static;
    transform: none;
    min-width: 0;
    margin: 4px 0 12px;
    padding: 10px;
    display: grid;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border-radius: 16px;
  }
  .nav-item:hover .dropdown, .nav-item:focus-within .dropdown { transform: none; }
  .hero-inner, .section, .section.alt > .inner, .contact, .footer { width: min(100% - 28px, var(--max)); }
  .hero-inner { padding: 54px 0; gap: 34px; }
  .hero h1 { font-size: 42px; }
  .hero-visual img { height: 320px; border-radius: 24px; }
  .result-float { position: static; width: 100%; margin-top: 14px; }
  .section { padding: 62px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .proof-grid, .insight-grid { grid-template-columns: 1fr; }
  .case-item { grid-template-columns: 1fr; gap: 18px; padding: 14px; border-radius: 24px; }
  .case-results { grid-column: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { padding: 26px; border-radius: 26px; }
  .form-row { grid-template-columns: 1fr; }
  .footer { display: block; }
  .footer span { display: block; margin-top: 10px; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: 36px; }
  .case-main h3 { font-size: 22px; }
  .case-results { grid-template-columns: 1fr; }
  .proof-card strong { font-size: 32px; }
}
