:root {
  --brand-red: #b10618;
  --brand-red-dark: #910514;
  --brand-blue: #1f2f68;
  --text-main: #1b1c1f;
  --text-sub: #4f5665;
  --line: #d8dce3;
  --bg: #f2f4f8;
  --card-bg: #ffffff;
  --shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 0 0, #fff 0, #fff 34%, transparent 35%) 0 0 / 14px 14px,
    linear-gradient(180deg, #ffffff 0%, var(--bg) 40%, #ffffff 100%);
  color: var(--text-main);
}

.user-status-bar {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  font-size: 12px;
  color: #4b5563;
}

.user-status-bar a,
.user-status-bar button {
  color: inherit;
  text-decoration: none;
  font: inherit;
}

.user-status-bar button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.user-status-bar .flex {
  display: flex;
}

.user-status-bar .items-center {
  align-items: center;
}

.user-status-bar .gap-3 {
  gap: 12px;
}

.user-status-bar .text-gray-700 {
  color: #374151;
}

.user-status-bar .text-gray-600 {
  color: #4b5563;
}

.user-status-bar .text-sm {
  font-size: 12px;
}

.user-status-bar .transition-colors {
  transition: color 0.2s ease;
}

.user-status-bar .hover\:text-primary:hover {
  color: var(--brand-red);
}

.user-status-bar .hover\:text-red-600:hover {
  color: #dc2626;
}

.page {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 24px 14px 56px;
}

.hero {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand-red);
  border-radius: 16px;
  text-align: center;
  padding: 20px 16px 18px;
  box-shadow: var(--shadow);
}

.hero-logo {
  width: min(82%, 340px);
  display: block;
  margin: 0 auto 10px;
}

.hero-tag {
  margin: 0;
  color: #7f8799;
  font-size: 12px;
  letter-spacing: 0.3px;
}

.hero h1 {
  margin: 8px 0 6px;
  font-size: clamp(22px, 5.3vw, 34px);
  color: var(--brand-red);
  letter-spacing: 1px;
}

.hero-sub {
  margin: 0;
  color: var(--text-sub);
  font-size: 14px;
}

.hero-cta {
  display: inline-block;
  margin-top: 14px;
  background: linear-gradient(180deg, #d20a21 0%, var(--brand-red) 100%);
  color: #fff;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(177, 6, 24, 0.28);
}

.entry-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.entry-item {
  text-decoration: none;
  color: var(--brand-red);
  background: #fff;
  border-right: 1px solid var(--line);
  min-height: 86px;
  padding: 9px 6px;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.entry-item:last-child {
  border-right: 0;
}

.entry-item-note small {
  margin-top: 6px;
  color: var(--brand-red);
  font-size: 10px;
  line-height: 1.3;
  font-weight: 600;
}

.entry-item-note .entry-note {
  margin-top: 4px;
  line-height: 1.25;
}

.entry-item-note .entry-phone {
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.2;
  word-break: break-all;
}

.top-banner {
  margin-top: 18px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.top-banner img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.top-banner-copy {
  background: linear-gradient(180deg, #d90e26 0%, var(--brand-red-dark) 100%);
  color: #fff;
  padding: 12px 14px;
}

.top-banner-copy h2 {
  margin: 0;
  font-size: clamp(17px, 4vw, 24px);
}

.top-banner-copy p {
  margin: 5px 0 0;
  font-size: 13px;
  opacity: 0.95;
}

.quick-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.quick-links a {
  text-decoration: none;
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 700;
  padding: 5px 8px;
  border-bottom: 2px solid transparent;
}

.quick-links a:hover {
  border-bottom-color: var(--brand-red);
}

.feature-stack {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-card > img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
  background: #fff;
}

.feature-media img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}

.feature-copy {
  padding: 10px 12px 12px;
}

.feature-copy h3 {
  margin: 0;
  color: var(--brand-red);
  font-size: 18px;
}

.feature-copy p {
  margin: 7px 0 0;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.6;
}

.scene-grid {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.scene-grid h2,
.cases h2,
.contact h2 {
  margin: 0 0 10px;
  color: var(--brand-red);
  font-size: 22px;
}

.scene-list {
  display: grid;
  gap: 8px;
}

.scene-list img {
  width: 100%;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.cases {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.cases-grid {
  display: grid;
  gap: 10px;
}

.case-card {
  border: 1px solid #ead2d6;
  border-left: 4px solid var(--brand-red);
  border-radius: 10px;
  padding: 10px;
  background: #fff8f9;
}

.case-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--brand-blue);
}

.case-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #353a46;
}

.case-card p + p {
  margin-top: 4px;
}

.case-result {
  color: var(--brand-red);
  font-weight: 700;
}

.contact {
  margin-top: 18px;
  background: linear-gradient(180deg, #fff 0%, #ffeef1 100%);
  border: 1px solid #f3ced5;
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow);
}

.contact p {
  margin: 0;
  color: var(--text-sub);
  font-size: 14px;
}

.contact-btn {
  margin-top: 12px;
  display: inline-block;
  text-decoration: none;
  background: var(--brand-red);
  color: #fff;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 700;
}

.contact-float {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.contact-float-btn {
  background: var(--brand-red);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.contact-panel {
  background: #fff;
  border: 1px solid #f1d2d8;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px;
  width: 180px;
}

.contact-panel[hidden] {
  display: none;
}

.contact-panel-phone {
  font-size: 13px;
  color: var(--brand-blue);
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.contact-panel-phone a {
  color: inherit;
  text-decoration: none;
}

.contact-panel-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.contact-panel-qr img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}

.contact-panel-qr span {
  font-size: 12px;
  color: var(--text-sub);
}

.contact-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.contact-phone {
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 14px;
}

.contact-extra {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.contact-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #f1d2d8;
  background: #fff;
}

.contact-qr img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}

.contact-qr span {
  font-size: 12px;
  color: var(--text-sub);
}

@media (min-width: 720px) {
  .page {
    padding: 28px 20px 70px;
  }

  .feature-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scene-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .entry-item {
    min-height: 78px;
    font-size: 12px;
    padding: 8px 4px;
  }

  .entry-item-note small {
    font-size: 9px;
  }

  .entry-item-note .entry-phone {
    font-size: 9.5px;
  }

  .quick-links a {
    font-size: 13px;
  }

  .feature-media {
    grid-template-columns: 1fr;
  }

  .contact-float {
    right: 12px;
    bottom: 16px;
  }

  .contact-float-btn {
    padding: 10px 14px;
    font-size: 13px;
  }

  .contact-panel {
    width: 160px;
  }

  .contact-panel-qr img {
    width: 110px;
    height: 110px;
  }
}
