:root {
  --bg: #f3f6fb;
  --surface: #ffffff;
  --ink: #0e1f43;
  --muted: #4f5f7b;
  --line: #d6dceb;
  --primary: #12306a;
  --primary-strong: #0c2350;
  --accent: #5f7fb8;
  --accent-soft: #ffd8bc;
  --deep-bg: #f4f7fc;
  --deep-surface: #ffffff;
  --deep-line: #d6dceb;
  --deep-ink: #0e1f43;
  --radius: 16px;
  --shadow: 0 12px 34px rgba(11, 31, 72, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f9fbff 0%, var(--bg) 40%, #eef2f8 100%);
  color: var(--ink);
  font-family: "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(18, 48, 106, 0.45);
  outline-offset: 2px;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.svg-sprite-inline {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  z-index: 120;
  padding: 8px 12px;
  border-radius: 8px;
  background: #0c2350;
  color: #fff;
  font-size: 14px;
}

.skip-link:focus {
  top: 10px;
}

.section {
  padding: 88px 0;
}

.section-muted {
  background: #f8fbff;
  border-top: 1px solid rgba(18, 48, 106, 0.08);
  border-bottom: 1px solid rgba(18, 48, 106, 0.08);
}

.section-kicker {
  margin: 0 0 10px;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
}

.section-kicker-light {
  color: var(--accent);
}

.section-kicker-accent {
  color: var(--accent);
}

.section-title {
  margin: 0 0 20px;
  font-size: clamp(30px, 3.2vw, 50px);
  line-height: 1.18;
}

.section-title-light {
  color: var(--ink);
}

.section-desc {
  margin: -8px 0 28px;
  color: var(--muted);
  font-size: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(249, 251, 255, 0.92);
  border-bottom: 1px solid rgba(18, 48, 106, 0.12);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
}

.brand img {
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.nav a {
  position: relative;
  padding: 4px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.menu-btn {
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  letter-spacing: 0.08em;
  font-weight: 700;
}

h1 {
  margin: 14px 0;
  font-size: clamp(38px, 4.1vw, 60px);
  line-height: 1.12;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
  max-width: 36em;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 146px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-strong);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--primary);
  border-color: rgba(18, 48, 106, 0.26);
  background: rgba(255, 255, 255, 0.74);
}

.btn-ghost:hover {
  border-color: rgba(18, 48, 106, 0.55);
}

.hero-visual {
  position: relative;
  height: 560px;
}

.hero-carousel {
  height: 100%;
  position: relative;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.hero-carousel-track {
  position: relative;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  max-width: 760px;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 0;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: #c8d3e9;
  cursor: pointer;
  padding: 0;
}

.hero-dot.is-active {
  width: 26px;
  border-radius: 999px;
  background: var(--primary);
  transition: width 0.25s ease, background 0.25s ease;
}

.icon-grid-four,
.icon-grid-three,
.icon-grid-seven,
.icon-grid-six {
  display: grid;
  gap: 16px;
}

.icon-grid-four { grid-template-columns: repeat(4, 1fr); }
.icon-grid-three { grid-template-columns: repeat(3, 1fr); }
.icon-grid-seven { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.icon-grid-six { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.value-card,
.plan-card {
  padding: 24px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(18, 48, 106, 0.03);
  transition: transform .2s ease, box-shadow .2s ease;
}

.value-card:hover,
.plan-card:hover,
.shot:hover,
.pain-card:hover,
.deep-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.value-card h3,
.plan-card h3,
.pain-card h3,
.deep-card h3 {
  margin: 14px 0 8px;
  font-size: 26px;
  line-height: 1.2;
}

.value-card p,
.plan-card p,
.pain-card p,
.deep-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 17px;
}

.pain-section {
  background: #ffffff;
  border-top: 1px solid rgba(18, 48, 106, 0.08);
  border-bottom: 1px solid rgba(18, 48, 106, 0.08);
}

.pain-card {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform .2s ease, box-shadow .2s ease;
}

.pain-card h3 {
  color: #1a1f35;
}

.pain-card p {
  color: #3e4a63;
}

.icon-chip {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: #edf1fa;
  border: 1px solid rgba(18, 48, 106, 0.08);
}

.icon-chip-warm {
  color: var(--primary);
  background: #eef3fd;
  border-color: rgba(18, 48, 106, 0.14);
}

.icon-chip-glow {
  color: var(--primary);
  background: #eef3fd;
  border-color: rgba(18, 48, 106, 0.14);
}

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

.deep-section {
  background: #f8fbff;
  border-top: 1px solid rgba(18, 48, 106, 0.08);
  border-bottom: 1px solid rgba(18, 48, 106, 0.08);
}

.deep-section-soft {
  background: #ffffff;
  border-top: 1px solid rgba(18, 48, 106, 0.08);
  border-bottom: 1px solid rgba(18, 48, 106, 0.08);
}

.deep-card {
  padding: 22px 18px;
  background: #ffffff;
  border: 1px solid var(--deep-line);
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease;
}

.deep-card h3 {
  color: var(--ink);
  font-size: 31px;
}

.deep-card p {
  color: var(--muted);
  font-size: 17px;
}

.compact {
  text-align: center;
  padding: 20px 14px;
}

.compact h3 {
  font-size: 24px;
  margin-top: 12px;
}

.compact p {
  font-size: 15px;
  line-height: 1.5;
}

.advantage-grid {
  margin-top: 18px;
}

.service-grid {
  margin-top: 18px;
}

.tool-section {
  background: #ffffff;
  border-top: 1px solid rgba(18, 48, 106, 0.08);
  border-bottom: 1px solid rgba(18, 48, 106, 0.08);
}

.tool-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  gap: 42px;
  align-items: stretch;
  padding: clamp(24px, 4vw, 52px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 10%, rgba(31, 139, 216, .1), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f4f7fc 100%);
  box-shadow: var(--shadow);
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(18, 48, 106, .08);
  border-radius: 17px;
}

.tool-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}

.tool-copy h2 {
  margin: 0;
  max-width: 640px;
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.tool-copy > p:not(.section-kicker) {
  max-width: 650px;
  margin: 22px 0 26px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.tool-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.tool-actions span {
  color: var(--muted);
  font-size: 14px;
}

.tool-board {
  position: relative;
  z-index: 1;
  min-height: 390px;
  padding: 30px;
  overflow: hidden;
  border-radius: 12px;
  color: #f4f1e7;
  background:
    linear-gradient(90deg, rgba(244, 241, 231, .06) 1px, transparent 1px),
    linear-gradient(rgba(244, 241, 231, .06) 1px, transparent 1px),
    radial-gradient(circle at 16% 12%, rgba(31, 139, 216, .24), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(226, 68, 55, .2), transparent 28%),
    #07110f;
  background-size: 38px 38px, 38px 38px, auto, auto, auto;
  box-shadow: 0 24px 60px rgba(7, 17, 15, .22);
}

.tool-board::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px solid rgba(244, 241, 231, .12);
}

.tool-corner {
  position: absolute;
  top: 24px;
  z-index: 2;
  min-width: 68px;
  padding: 8px 10px;
  color: #fff;
  text-align: center;
  font-weight: 900;
  letter-spacing: .08em;
}

.tool-corner-blue {
  left: 24px;
  background: #1f8bd8;
}

.tool-corner-red {
  right: 24px;
  background: #e24437;
}

.tool-radar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 230px;
  aspect-ratio: 1;
  transform: translate(-50%, -55%);
}

.tool-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(215, 180, 106, .48);
  transform: rotate(45deg);
}

.tool-ring-two {
  inset: 34px;
  border-color: rgba(31, 139, 216, .65);
}

.tool-ring-three {
  inset: 68px;
  border-color: rgba(226, 68, 55, .65);
}

.tool-radar-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  color: #d7b46a;
  text-align: center;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .12em;
}

.tool-metrics {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 28px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(244, 241, 231, .18);
}

.tool-metrics span {
  padding: 12px 10px;
  background: rgba(7, 17, 15, .86);
  color: rgba(244, 241, 231, .68);
  text-align: center;
  font-size: 12px;
}

.tool-metrics b {
  display: block;
  margin-bottom: 4px;
  color: #d7b46a;
  font-size: 18px;
  letter-spacing: .04em;
}

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

.shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(18, 48, 106, 0.03);
  transition: transform .2s ease, box-shadow .2s ease;
  text-align: left;
}

.shot img {
  width: 100%;
  aspect-ratio: 5 / 9;
  object-fit: cover;
  display: block;
}

.shot span {
  display: block;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
}

.plan-card h3 {
  font-size: 28px;
}

.plan-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

.contact-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 26px;
  align-items: center;
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 20px;
  background: var(--surface);
}

.qr-box img {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.contact-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.3vw, 42px);
}

.contact-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 17px;
}

.site-footer {
  border-top: 1px solid rgba(18, 48, 106, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.lightbox {
  border: 0;
  border-radius: 14px;
  padding: 12px;
  max-width: min(90vw, 420px);
}

.lightbox::backdrop {
  background: rgba(8, 15, 33, 0.74);
}

.lightbox img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.lightbox-close {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 8px 12px;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1280px) {
  .icon-grid-seven { grid-template-columns: repeat(4, 1fr); }
  .icon-grid-six { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1080px) {
  .icon-grid-four { grid-template-columns: repeat(2, 1fr); }
  .icon-grid-three { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }

  .hero-visual {
    height: 500px;
  }
}

@media (max-width: 900px) {
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(18, 48, 106, 0.22);
    background: #fff;
    color: var(--ink);
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
  }

  .nav {
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
    gap: 10px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    z-index: 110;
  }

  .nav.open {
    display: flex;
  }

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

  .hero-visual {
    height: 430px;
    margin-top: 8px;
  }

  .icon-grid-seven,
  .icon-grid-six,
  .icon-grid-four,
  .icon-grid-three {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .tool-card {
    grid-template-columns: 1fr;
  }

  .qr-box {
    max-width: 280px;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 64px 0;
  }

  .header-inner {
    min-height: 64px;
  }

  .nav {
    top: 64px;
  }

  .brand span {
    font-size: 18px;
  }

  h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 16px;
  }

  .section-title {
    font-size: 38px;
  }

  .section-desc {
    font-size: 16px;
  }

  .hero-visual {
    height: 320px;
  }

  .tool-card {
    gap: 28px;
    padding: 20px;
    border-radius: 18px;
  }

  .tool-copy h2 {
    font-size: 34px;
  }

  .tool-copy > p:not(.section-kicker) {
    font-size: 16px;
  }

  .tool-board {
    min-height: 330px;
    padding: 22px;
  }

  .tool-radar {
    width: 190px;
  }

  .tool-ring-two {
    inset: 28px;
  }

  .tool-ring-three {
    inset: 56px;
  }

  .tool-metrics {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .icon-grid-seven,
  .icon-grid-six,
  .icon-grid-four,
  .icon-grid-three,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .value-card h3,
  .plan-card h3,
  .pain-card h3,
  .deep-card h3 {
    font-size: 24px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
