:root {
  --ink: #102b3f;
  --muted: #6d8799;
  --blue: #0a5cf5;
  --blue-deep: #031b4d;
  --blue-panel: #062a70;
  --cyan: #42e4ff;
  --white: #f9fdff;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--blue-deep);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 10% 14%, rgba(37, 177, 255, 0.16), transparent 38%),
    radial-gradient(ellipse at 92% 44%, rgba(35, 226, 255, 0.1), transparent 34%),
    linear-gradient(180deg, #02173f 0%, #052b72 44%, #031b4d 100%);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

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

button {
  font: inherit;
  color: inherit;
}

img {
  max-width: 100%;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.page-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 30%, rgba(58, 217, 255, 0.08), transparent 40%),
    url("../assets/hero-latest-blur.webp") center bottom / cover no-repeat;
  opacity: 0.2;
  filter: blur(18px);
  transform: scale(1.08);
}

.home {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-bottom: calc(34px + env(safe-area-inset-bottom));
}

/* 顶部导航 */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: calc(14px + env(safe-area-inset-top)) 18px 13px;
}

.nav-brand {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  background: rgba(2, 24, 77, 0.18);
  color: rgba(237, 252, 255, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* 顶部主视觉 */
.hero {
  position: relative;
  height: auto;
  aspect-ratio: 1670 / 941;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  background: #0637a8;
  isolation: isolate;
}

.hero picture,
.hero-image {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center center;
  transform: scale(1.012);
  animation: heroIn 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 13, 55, 0.12) 0%, transparent 20%, transparent 72%, rgba(2, 22, 63, 0.86) 100%);
}

.hero-top {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top));
  right: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-brand {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: rgba(2, 24, 77, 0.22);
  color: rgba(237, 252, 255, 0.8);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.invite-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 20px rgba(0, 15, 55, 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.invite-cta svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.invite-cta:hover {
  background: rgba(255, 255, 255, 0.24);
}

.invite-cta:active {
  transform: scale(0.97);
}

/* 服务区 */
.services {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 22px 18px 0;
}

.service-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 2px 17px;
}

.eyebrow {
  margin: 0 0 4px;
  color: rgba(144, 223, 255, 0.62);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  letter-spacing: 0.28em;
}

.service-head h2 {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(23px, 5.8vw, 32px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 18px rgba(0, 16, 70, 0.35);
}

.service-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  color: rgba(217, 247, 255, 0.7);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.service-meta i {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(133, 238, 255, 0.6);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 158px;
  padding: 16px 11px 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 15px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.99), rgba(238, 249, 255, 0.96));
  color: var(--ink);
  text-align: center;
  box-shadow: 0 13px 30px rgba(0, 13, 55, 0.2);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 176, 255, 0.1), transparent 68%);
  pointer-events: none;
}

.service-card:hover .card-icon svg {
  transform: translateY(-2px) scale(1.04);
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(138, 240, 255, 0.9);
  box-shadow: 0 18px 34px rgba(0, 13, 55, 0.28);
}

.service-card:active {
  transform: scale(0.985);
}

.service-card.is-primary {
  border-color: rgba(124, 230, 255, 0.72);
  background: linear-gradient(155deg, #ffffff 0%, #eef9ff 100%);
  box-shadow: 0 13px 32px rgba(0, 20, 80, 0.24), inset 0 0 0 1px rgba(89, 213, 255, 0.15);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 7px;
  border-radius: 0;
  background: none;
  color: #0b4fb3;
}

.service-card.is-primary .card-icon {
  color: #0b4fb3;
  background: none;
  box-shadow: none;
}

.card-icon svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.service-card.is-primary .card-icon svg {
  color: #0a5bd5;
}

.card-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.card-copy strong {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  color: #15364d;
  font-family: var(--serif);
  font-size: clamp(15px, 3.9vw, 18px);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.card-copy strong::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: #e6ee75;
  transform: translateX(-50%);
}

.card-copy small {
  color: #8096a6;
  font-size: clamp(8.5px, 2.2vw, 10px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.card-arrow {
  position: absolute;
  top: 11px;
  right: 12px;
  color: rgba(13, 97, 220, 0.38);
  font-size: 13px;
  line-height: 1;
}

.service-card.is-primary .card-arrow {
  color: #0c75d8;
}

.service-card.is-placeholder {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.075);
  color: rgba(228, 248, 255, 0.56);
  box-shadow: none;
  cursor: not-allowed;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.service-card.is-placeholder:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.service-card.is-placeholder .card-icon {
  color: rgba(182, 235, 255, 0.62);
  background: none;
}

.service-card.is-placeholder .card-copy strong {
  color: rgba(232, 249, 255, 0.82);
}

.service-card.is-placeholder .card-copy small {
  color: rgba(201, 236, 255, 0.44);
}

.placeholder-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 6px;
  border: 1px solid rgba(161, 228, 255, 0.16);
  border-radius: 10px;
  color: rgba(182, 238, 255, 0.5);
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.seat-query {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 56px;
  margin-top: 11px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.075);
  color: rgba(231, 249, 255, 0.68);
  text-align: left;
  cursor: not-allowed;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.seat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(173, 234, 255, 0.62);
}

.seat-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.seat-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.seat-copy strong {
  color: rgba(235, 250, 255, 0.84);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.seat-copy small {
  color: rgba(199, 235, 255, 0.42);
  font-size: 9px;
}

.service-note {
  margin: 16px 0 0;
  color: rgba(193, 234, 255, 0.38);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-align: center;
}

.home-footer {
  margin-top: 34px;
  padding: 0 18px;
  color: rgba(193, 235, 255, 0.34);
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  text-align: center;
}

.home-footer p {
  margin: 0;
}

.home-footer span {
  display: block;
  color: rgba(193, 235, 255, 0.24);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.noscript {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 50;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  color: #17364d;
  font-size: 12px;
  text-align: center;
}

/* 动画 */
.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

html:not(.js) .reveal {
  opacity: 1;
  transform: none;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1.012);
  }
}

@media (min-width: 820px) {
  .services {
    padding: 26px 26px 0;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .service-card {
    min-height: 170px;
  }

  .service-head {
    margin-bottom: 20px;
  }
}

@media (max-width: 360px) {
  .card-grid {
    gap: 8px;
  }

  .service-card {
    min-height: 126px;
    padding: 10px 6px 9px;
  }

  .card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 3px;
  }

  .card-icon svg {
    width: 42px;
    height: 42px;
  }

  .card-copy strong {
    font-size: 13.5px;
    padding-bottom: 5px;
  }

  .card-copy strong::after {
    width: 20px;
    height: 2px;
  }

  .service-meta {
    font-size: 8.5px;
  }
}



@media (max-width: 640px) {
  .hero {
    height: clamp(238px, 62vw, 300px);
    aspect-ratio: auto;
  }

  .hero-image {
    object-position: center 38%;
  }
}

@media (max-width: 640px) and (max-height: 720px) {
  .main-nav {
    padding-top: calc(8px + env(safe-area-inset-top));
    padding-bottom: 8px;
  }

  .hero {
    height: 220px;
    aspect-ratio: auto;
    border-radius: 0 0 22px 22px;
  }

  .hero-image {
    object-position: center 24%;
  }

  .services {
    padding-top: 12px;
  }

  .service-head {
    margin-bottom: 10px;
  }

  .service-head h2 {
    font-size: 21px;
  }

  .service-head .eyebrow {
    font-size: 7.5px;
    margin-bottom: 2px;
  }

  .service-meta {
    font-size: 8.5px;
  }

  .card-grid {
    gap: 8px;
  }

  .service-card {
    min-height: 136px;
    padding: 10px 7px 10px;
    border-radius: 13px;
  }

  .card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 3px;
  }

  .card-icon svg {
    width: 46px;
    height: 46px;
  }

  .card-copy strong {
    font-size: 15px;
    padding-bottom: 5px;
  }

  .card-copy strong::after {
    width: 20px;
    height: 2px;
  }

  .home-footer {
    margin-top: 14px;
    font-size: 8px;
  }

  .home {
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
}


@media (max-width: 360px) and (max-height: 620px) {
  .hero {
    height: 165px;
  }

  .services {
    padding-top: 10px;
  }

  .service-head h2 {
    font-size: 20px;
  }

  .service-card {
    min-height: 120px;
    padding: 8px 6px;
  }

  .card-icon {
    width: 44px;
    height: 44px;
  }

  .card-icon svg {
    width: 42px;
    height: 42px;
  }

  .card-copy strong {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

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