/* ==========================================================================
   赶海小助手 · 网站建设中占位页（单屏）
   仅本页使用的独立样式，品牌色取值与 backend/public/sea/sea.css 保持一致。
   ========================================================================== */

:root {
  --ink: #14343b;
  --muted: #64777a;
  --paper: #f5f4ee;
  --line: #d9ded8;
  --sea: #0d4b56;
  --sea-deep: #082b33;
  --aqua: #71bfc4;
  --serif: Georgia, "Songti SC", "Times New Roman", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }

/* 竖向弹性布局：首屏占满视口减去页脚，页面不出现多余滚动 */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------- 首屏舞台 */

.stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 0;
  padding: 56px 24px 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #eef4ee;
  background:
    radial-gradient(120% 90% at 50% 0%, #12586a 0%, rgba(18, 88, 106, 0) 62%),
    linear-gradient(180deg, #0b3a45 0%, var(--sea) 52%, var(--sea-deep) 100%);
}

/* 与线上网页一致的同心圆装饰，只做气氛，不承载信息 */
.rings {
  position: absolute;
  z-index: -1;
  width: 900px;
  height: 900px;
  right: -320px;
  top: -480px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 50%;
}
.rings::before,
.rings::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
}
.rings::before { inset: 130px; }
.rings::after { inset: 280px; }

.stage-inner {
  width: 100%;
  max-width: 660px;
  animation: rise .7s ease-out both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 34px;
  text-align: left;
}
/* Logo 自带青底圆形，不再叠加白色圆底，避免出现双重圆环 */
.brand-logo {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 8px 22px rgba(4, 26, 32, .34);
  object-fit: contain;
}
.brand-text { display: block; }
.brand-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: .06em;
}
.brand-text small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: .14em;
  color: #9dc6c6;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  color: var(--aqua);
}

.stage h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 6.4vw, 56px);
  line-height: 1.14;
  letter-spacing: .04em;
}

.lede {
  margin: 22px auto 0;
  max-width: 30em;
  font-size: 15px;
  line-height: 1.9;
  color: #c2d8d6;
}

/* 不确定上线时间，这里用不确定进度的施工条，避免伪造百分比 */
.build-bar {
  width: min(420px, 100%);
  height: 3px;
  margin: 42px auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  overflow: hidden;
}
.build-bar span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(113, 191, 196, 0), var(--aqua), rgba(113, 191, 196, 0));
  animation: sweep 2.6s ease-in-out infinite;
}

.build-note {
  margin: 12px 0 0;
  font-size: 12px;
  letter-spacing: .06em;
  color: #86adad;
}

/* 波浪层：前层用页面底色，让深色首屏与浅色页脚自然衔接 */
.waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: -1;
  line-height: 0;
}
.waves svg {
  display: block;
  width: 106%;
  height: 140px;
  margin-left: -3%;
}
.wave { animation: sway 11s ease-in-out infinite; }
.wave-back { fill: rgba(113, 191, 196, .16); animation-duration: 14s; }
.wave-mid { fill: rgba(113, 191, 196, .22); animation-duration: 11s; animation-direction: reverse; }
.wave-front { fill: var(--paper); animation-duration: 17s; }

/* ------------------------------------------------------------------ 页脚 */

.site-footer {
  flex: none;
  padding: 21px 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.site-footer p { margin: 0; }
.site-footer span { letter-spacing: .04em; }

/* ------------------------------------------------------------------ 动效 */

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes sweep {
  0% { transform: translateX(-105%); }
  100% { transform: translateX(245%); }
}
@keyframes sway {
  0%, 100% { transform: translateX(-1.6%); }
  50% { transform: translateX(1.6%); }
}

@media (prefers-reduced-motion: reduce) {
  .stage-inner { animation: none; }
  .wave,
  .build-bar span { animation: none; }
  .build-bar span { width: 100%; opacity: .5; }
}

/* ---------------------------------------------------------------- 响应式 */

@media (max-width: 760px) {
  .stage { padding: 44px 20px 120px; }
  .brand { margin-bottom: 26px; }
  .brand-logo { width: 54px; height: 54px; }
  .brand-text strong { font-size: 18px; }
  .lede { font-size: 14px; }
  .build-bar { margin-top: 34px; }
  .waves svg { height: 110px; }
}

/* 矮屏（横屏手机等）压缩留白，避免内容被波浪压住 */
@media (max-height: 560px) {
  .stage { padding-top: 32px; padding-bottom: 110px; }
  .brand { margin-bottom: 18px; }
  .build-bar { margin-top: 26px; }
}
