/* ============================================================
   汐研 TIDE LAB · 单页沉浸式深海风护肤官网
   全屏滚动分区 / HUD 导航 / 玻璃拟态 / 横向产品轮播 / 弹层详情
   ============================================================ */

:root {
  --deep-0: #061a30;
  --deep-1: #0a2a4c;
  --deep-2: #0f3f6b;
  --deep-3: #175b8f;
  --foam: #e8f6fb;
  --foam-soft: rgba(232, 246, 251, 0.72);
  --glass: rgba(255, 255, 255, 0.065);
  --glass-strong: rgba(255, 255, 255, 0.11);
  --line-glass: rgba(255, 255, 255, 0.16);
  --teal: #4fd6c8;
  --teal-bright: #8ff0e4;
  --gold: #e7c78d;
  --danger: #ff8f7a;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans CJK SC", sans-serif;
  --font-serif: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  --font-mono: "Cascadia Mono", Consolas, "Courier New", monospace;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--foam);
  background:
    radial-gradient(900px 600px at 80% 10%, rgba(79, 214, 200, 0.12), transparent 60%),
    radial-gradient(1000px 700px at 10% 90%, rgba(23, 91, 143, 0.35), transparent 62%),
    linear-gradient(180deg, var(--deep-0) 0%, var(--deep-1) 38%, var(--deep-2) 72%, var(--deep-3) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--teal);
  color: #06283c;
}

/* ---------- 极简顶栏（仅品牌 + 一个按钮，无导航） ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 48px);
  pointer-events: none;
}

.topbar > * {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--foam);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.brand small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.34em;
  color: var(--teal-bright);
}

.topbar__cta {
  padding: 10px 22px;
  border: 1px solid rgba(232, 246, 251, 0.4);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--foam);
  background: rgba(6, 26, 48, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s, background 0.25s;
}

.topbar__cta:hover {
  border-color: var(--teal);
  background: rgba(79, 214, 200, 0.16);
}

/* ---------- HUD 导航（右侧圆点 + 滚动进度） ---------- */
.hud {
  position: fixed;
  right: 26px;
  top: 50%;
  z-index: 95;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.hud__dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(232, 246, 251, 0.45);
  background: transparent;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.hud__dot::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(232, 246, 251, 0.5);
  transition: background 0.25s, transform 0.25s;
}

.hud__dot span {
  position: absolute;
  right: 26px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--foam);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s, transform 0.25s;
  background: rgba(6, 26, 48, 0.55);
  padding: 4px 10px;
  border-radius: 999px;
}

.hud__dot:hover span,
.hud__dot.is-active span {
  opacity: 1;
  transform: translateX(0);
}

.hud__dot:hover {
  border-color: var(--teal);
}

.hud__dot.is-active {
  border-color: var(--teal);
  transform: scale(1.35);
}

.hud__dot.is-active::after {
  background: var(--teal);
  transform: scale(1.4);
}

.hud__progress {
  position: absolute;
  right: 5px;
  top: -34px;
  bottom: -34px;
  width: 2px;
  background: rgba(232, 246, 251, 0.14);
  overflow: hidden;
}

.hud__progress i {
  display: block;
  width: 100%;
  height: 0%;
  background: linear-gradient(var(--teal), var(--gold));
  transition: height 0.15s linear;
}

/* ---------- 滚动提示 ---------- */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.34em;
  color: rgba(232, 246, 251, 0.55);
}

.scroll-hint i {
  width: 1px;
  height: 42px;
  background: linear-gradient(rgba(232, 246, 251, 0.7), transparent);
  animation: drip 1.8s ease-in-out infinite;
}

@keyframes drip {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  55% {
    transform: scaleY(1);
    transform-origin: top;
  }
  56% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ---------- 全屏分区 ---------- */
.panel {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 110px clamp(24px, 6vw, 80px) 90px;
  scroll-snap-align: start;
  scroll-margin-top: 0;
  overflow: hidden;
}

.panel__inner {
  width: min(1180px, 100%);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.panel__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--teal);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.panel__no::after {
  content: "";
  width: 44px;
  height: 1px;
  background: rgba(79, 214, 200, 0.5);
}

.panel__title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.08em;
}

.panel__title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--teal-bright), var(--foam) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.panel__desc {
  margin-top: 20px;
  max-width: 520px;
  color: var(--foam-soft);
  font-size: 15px;
}

.panel--center {
  text-align: center;
}

.panel--center .panel__desc {
  margin-inline: auto;
}

/* 海洋氛围层 */
.sea {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232, 246, 251, 0.22);
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.2), transparent 60%);
  animation: rise linear infinite;
}

@keyframes rise {
  from {
    transform: translateY(30vh) scale(0.85);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  to {
    transform: translateY(-70vh) scale(1.15);
    opacity: 0;
  }
}

.ray {
  position: absolute;
  top: -10%;
  width: 1px;
  height: 130%;
  background: linear-gradient(rgba(143, 240, 228, 0.18), transparent);
  transform: rotate(12deg);
}

/* ---------- 序曲 Hero ---------- */
#hero {
  align-items: center;
}

.hero__copy {
  max-width: 760px;
}

.hero__kick {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.5em;
  color: var(--teal);
  margin-bottom: 26px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.1em;
  text-shadow: 0 12px 60px rgba(0, 0, 0, 0.35);
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--teal-bright), #ffffff 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  margin-top: 28px;
  max-width: 560px;
  color: var(--foam-soft);
  font-size: 16px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s, border-color 0.25s;
}

.btn--teal {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  color: #06283c;
  box-shadow: 0 14px 38px rgba(79, 214, 200, 0.3);
}

.btn--teal:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(79, 214, 200, 0.4);
}

.btn--glass {
  border: 1px solid var(--line-glass);
  background: var(--glass);
  color: var(--foam);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn--glass:hover {
  border-color: var(--teal);
  background: rgba(79, 214, 200, 0.14);
  transform: translateY(-3px);
}

.hero__data {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 52px;
}

.hero__data div {
  display: flex;
  flex-direction: column;
}

.hero__data strong {
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--teal-bright);
}

.hero__data span {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--foam-soft);
}

/* 主视觉：悬浮瓶 */
.hero__visual {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(340px, 34vw);
  pointer-events: none;
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.45));
}

@keyframes float {
  0%,
  100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(calc(-50% - 18px));
  }
}

.hero__ring {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(430px, 42vw);
  aspect-ratio: 1;
  border: 1px solid rgba(79, 214, 200, 0.22);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}

.hero__ring::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(231, 199, 141, 0.28);
  border-radius: 50%;
}

.hero__ring::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 16px var(--teal);
}

@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* ---------- 理念：弧形玻璃卡片 ---------- */
.philosophy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 56px;
}

.philosophy .glass-card:nth-child(2) {
  transform: translateY(-34px);
}

.glass-card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line-glass);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding: 38px 30px;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 246, 251, 0.5), transparent);
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 214, 200, 0.55);
  background: var(--glass-strong);
}

.philosophy .glass-card:nth-child(2):hover {
  transform: translateY(-42px);
}

.glass-card__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--teal);
}

.glass-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.08em;
  margin: 16px 0 10px;
}

.glass-card p {
  font-size: 14px;
  color: var(--foam-soft);
}

.glass-card__icon {
  font-size: 30px;
  margin-top: 6px;
}

/* ---------- 产品：横向轮播 ---------- */
.carousel {
  position: relative;
  margin-top: 52px;
}

.carousel__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 12px 4px 30px;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.product-slide {
  flex: 0 0 min(320px, 78vw);
  scroll-snap-align: center;
  background: var(--glass);
  border: 1px solid var(--line-glass);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: 34px 28px 26px;
  text-align: center;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
  cursor: pointer;
}

.product-slide:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 214, 200, 0.55);
  background: var(--glass-strong);
}

.product-slide__visual {
  width: min(170px, 60%);
  margin: 0 auto 20px;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.4));
}

.product-slide__code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--teal);
}

.product-slide h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  letter-spacing: 0.08em;
  margin: 8px 0 6px;
}

.product-slide p {
  font-size: 13px;
  color: var(--foam-soft);
}

.product-slide__price {
  display: block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 19px;
  color: var(--gold);
}

.product-slide__price::before {
  content: "¥";
  font-size: 12px;
}

.product-slide__more {
  display: inline-block;
  margin-top: 14px;
  padding: 9px 24px;
  border: 1px solid rgba(79, 214, 200, 0.45);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--teal-bright);
  transition: background 0.25s, color 0.25s;
}

.product-slide__more:hover {
  background: var(--teal);
  color: #06283c;
}

.carousel__nav {
  position: absolute;
  top: 46%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-glass);
  background: rgba(6, 26, 48, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--foam);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, background 0.25s;
}

.carousel__nav:hover {
  border-color: var(--teal);
  background: rgba(79, 214, 200, 0.2);
}

.carousel__nav svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.carousel__nav--prev {
  left: -14px;
}

.carousel__nav--next {
  right: -14px;
}

/* ---------- 深海成分：深度计 ---------- */
.depth-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 40px;
}

.depth-meter {
  position: relative;
  height: 420px;
  border-left: 1px solid rgba(232, 246, 251, 0.24);
  margin-left: 14px;
  padding-left: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.depth-meter__line {
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--teal), var(--gold));
  opacity: 0.7;
}

.depth-item {
  position: relative;
}

.depth-item::before {
  content: "";
  position: absolute;
  left: -48px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: var(--deep-1);
  box-shadow: 0 0 14px rgba(79, 214, 200, 0.6);
}

.depth-item__depth {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--teal);
}

.depth-item h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.06em;
  margin: 4px 0;
}

.depth-item p {
  font-size: 13px;
  color: var(--foam-soft);
  max-width: 380px;
}

.depth-note {
  background: var(--glass);
  border: 1px solid var(--line-glass);
  border-radius: var(--radius);
  padding: 30px 28px;
}

.depth-note h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.depth-note p {
  font-size: 14px;
  color: var(--foam-soft);
}

.depth-note strong {
  color: var(--teal-bright);
  font-family: var(--font-mono);
}

/* ---------- 故事：左固定视觉 + 右侧时间线 ---------- */
.story-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
  margin-top: 40px;
}

.story-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-glass);
  background:
    radial-gradient(120% 90% at 50% 10%, rgba(79, 214, 200, 0.14), transparent 55%),
    rgba(6, 26, 48, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-visual svg {
  width: 62%;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
}

.story-visual__caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--foam-soft);
}

.story-timeline {
  position: relative;
}

.story-item {
  position: relative;
  padding: 0 0 38px 34px;
  border-left: 1px solid rgba(232, 246, 251, 0.2);
}

.story-item:last-child {
  padding-bottom: 0;
}

.story-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--deep-2);
  border: 2px solid var(--gold);
}

.story-item__year {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.story-item h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: 0.06em;
  margin: 4px 0 6px;
}

.story-item p {
  font-size: 13px;
  color: var(--foam-soft);
}

/* ---------- 联系：玻璃分栏 ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 44px;
  align-items: start;
}

.glass-panel {
  background: var(--glass);
  border: 1px solid var(--line-glass);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding: 36px 32px;
}

.glass-panel__title {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  color: var(--foam-soft);
}

.form-group label em {
  font-style: normal;
  color: var(--danger);
}

.form-control {
  width: 100%;
  border: 1px solid var(--line-glass);
  border-radius: 12px;
  background: rgba(6, 26, 48, 0.35);
  padding: 13px 16px;
  color: var(--foam);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(79, 214, 200, 0.16);
}

.form-control option {
  color: #06283c;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-group.is-error .form-control {
  border-color: var(--danger);
}

.form-group.is-error .form-hint {
  display: block;
  color: var(--danger);
}

.form-hint {
  display: none;
  font-size: 12px;
  margin-top: 6px;
}

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--foam-soft);
  margin-bottom: 20px;
}

.form-privacy.is-error {
  color: var(--danger);
}

.form-privacy input {
  margin-top: 4px;
  accent-color: var(--teal);
}

.form-success {
  display: none;
  text-align: center;
  padding: 36px 8px;
}

.form-success.is-visible {
  display: block;
  animation: pop 0.5s var(--ease) both;
}

.form-success span {
  font-size: 44px;
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin: 12px 0 8px;
}

.form-success p {
  font-size: 14px;
  color: var(--foam-soft);
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.faq-item {
  border-bottom: 1px solid rgba(232, 246, 251, 0.12);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  color: var(--foam);
}

.faq-item__q svg {
  width: 16px;
  height: 16px;
  fill: var(--teal);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.faq-item.is-open .faq-item__q svg {
  transform: rotate(45deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item__a p {
  padding: 0 0 18px;
  font-size: 13px;
  color: var(--foam-soft);
}

.contact-line {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(232, 246, 251, 0.12);
  font-size: 13px;
  color: var(--foam-soft);
}

.contact-line strong {
  font-family: var(--font-mono);
  font-size: 19px;
  color: var(--teal-bright);
}

/* ---------- 产品弹层 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 18, 34, 0.68);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.modal.is-open {
  display: flex;
}

.modal__card {
  width: min(760px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(79, 214, 200, 0.14), transparent 60%),
    linear-gradient(160deg, #0d3556, #092640);
  border: 1px solid var(--line-glass);
  border-radius: 24px;
  padding: 40px 42px;
  position: relative;
  animation: modalIn 0.4s var(--ease) both;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-glass);
  color: var(--foam);
  font-size: 18px;
  transition: border-color 0.25s, background 0.25s;
}

.modal__close:hover {
  border-color: var(--danger);
  background: rgba(255, 143, 122, 0.16);
}

.modal__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.modal__visual {
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
}

.modal__code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--teal);
}

.modal__name {
  font-family: var(--font-serif);
  font-size: 30px;
  letter-spacing: 0.08em;
  margin: 10px 0;
}

.modal__desc {
  font-size: 14px;
  color: var(--foam-soft);
}

.modal__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.modal__spec {
  background: rgba(6, 26, 48, 0.4);
  border: 1px solid var(--line-glass);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: center;
}

.modal__spec strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--teal-bright);
}

.modal__spec span {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--foam-soft);
}

.modal__price {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--gold);
}

.modal__price::before {
  content: "¥";
  font-size: 15px;
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- 底部一行 ---------- */
.footerbar {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 26px clamp(24px, 6vw, 80px);
  border-top: 1px solid rgba(232, 246, 251, 0.12);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(232, 246, 251, 0.5);
}

.footerbar a:hover {
  color: var(--teal);
}

/* ---------- 显现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.reveal-delay-3 {
  transition-delay: 0.36s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .hero__visual,
  .hero__ring {
    display: none;
  }

  .philosophy {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .philosophy .glass-card:nth-child(2) {
    transform: none;
  }

  .philosophy .glass-card:nth-child(2):hover {
    transform: translateY(-8px);
  }

  .depth-wrap,
  .story-wrap,
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .depth-meter {
    height: 460px;
  }

  .story-visual {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .panel {
    padding: 96px 22px 80px;
  }

  .hud {
    right: 12px;
    gap: 14px;
  }

  .hud__dot span {
    display: none;
  }

  .topbar {
    padding: 16px 18px;
  }

  .brand {
    font-size: 20px;
  }

  .topbar__cta {
    padding: 8px 16px;
    font-size: 12px;
  }

  .hero__data {
    gap: 20px;
  }

  .carousel__nav {
    display: none;
  }

  .glass-panel {
    padding: 26px 20px;
  }

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

  .modal__card {
    padding: 30px 24px;
  }

  .modal__visual {
    width: min(200px, 70%);
    margin-inline: auto;
  }
}
