/* ============ 蓝色商务 · 酷炫落地页 ============ */
:root {
  --blue-900: #0a1f44;
  --blue-800: #0b2c63;
  --blue-700: #123a7a;
  --blue-600: #1554b0;
  --blue-500: #1e6fe0;
  --blue-400: #3d8bff;
  --cyan: #22d3ee;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f5;
  --danger: #ef4444;
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 24px 60px -20px rgba(11, 44, 99, 0.45);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body { height: 100%; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #061428;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- 动态背景 ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, #123a7a 0%, #0a1f44 45%, #050f22 100%); }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: float 14s ease-in-out infinite; }
.orb-1 { width: 340px; height: 340px; background: #1e6fe0; top: -80px; left: -60px; }
.orb-2 { width: 300px; height: 300px; background: #22d3ee; bottom: -60px; right: -70px; animation-delay: -4s; opacity: .4; }
.orb-3 { width: 220px; height: 220px; background: #3d8bff; top: 40%; right: 10%; animation-delay: -8s; opacity: .35; }
.grid-overlay { position: absolute; inset: 0; opacity: .06;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(circle at 50% 30%, #000 40%, transparent 80%); }
@keyframes float { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-30px) translateX(20px); } }

/* ---------- 手机容器：桌面居中 ---------- */
.phone-wrap { display: flex; justify-content: center; padding: 0; }
.landing {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  padding: 28px 18px 40px;
  position: relative;
}
/* 桌面端给一个"手机"外框观感 */
@media (min-width: 560px) {
  .phone-wrap { padding: 32px 0; align-items: flex-start; }
  .landing {
    min-height: auto;
    border-radius: 30px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 40px 90px -30px rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    padding: 32px 26px 36px;
  }
}

/* ---------- Hero ---------- */
.hero { text-align: center; color: #fff; margin-bottom: 22px; }
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; color: #dbeafe;
  background: rgba(34, 211, 238, 0.14); border: 1px solid rgba(34,211,238,0.35); }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34,211,238,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(34,211,238,.6);} 70%{box-shadow:0 0 0 8px rgba(34,211,238,0);} 100%{box-shadow:0 0 0 0 rgba(34,211,238,0);} }
.hero-title { font-size: 30px; font-weight: 800; letter-spacing: 1px; margin-top: 14px;
  background: linear-gradient(90deg, #fff 0%, #9ec9ff 60%, #22d3ee 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 8px; font-size: 14px; color: #a9c3ea; }
.hero-stats { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.stat { flex: 1; max-width: 110px; padding: 10px 6px; border-radius: 14px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); }
.stat b { display: block; font-size: 18px; color: #fff; font-weight: 800; }
.stat i { font-size: 11px; color: #9fbde6; font-style: normal; }

/* ---------- 卡片表单 ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px 18px; backdrop-filter: blur(6px); }
.form { display: flex; flex-direction: column; gap: 18px; }

.field { display: flex; flex-direction: column; }
.label { font-size: 15px; font-weight: 700; color: var(--blue-800); margin-bottom: 9px; text-align: left; }
.req { color: var(--danger); margin-left: 4px; font-weight: 700; }

.input { width: 100%; font-size: 15px; color: var(--ink); padding: 13px 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; outline: none;
  transition: border-color .2s, box-shadow .2s; }
.input::placeholder { color: #9aa8bd; }
.input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(30,111,224,0.14); }
.input.invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(239,68,68,0.12); }

/* 下拉 */
.select-box { position: relative; }
.select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px; color: var(--ink); }
.select:invalid, .select option[value=""] { color: #9aa8bd; }
.arrow { position: absolute; right: 16px; top: 50%; width: 10px; height: 10px; pointer-events: none;
  border-right: 2px solid var(--blue-600); border-bottom: 2px solid var(--blue-600);
  transform: translateY(-70%) rotate(45deg); }

/* 性别 chips */
.chips { display: flex; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; font-size: 15px; cursor: pointer; color: var(--muted);
  transition: all .18s; user-select: none; }
.chip .cdot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #c3cee0; transition: all .18s; }
.chip.active { border-color: var(--blue-500); color: var(--blue-700); background: #eef5ff; font-weight: 600; }
.chip.active .cdot { border-color: var(--blue-500); background: var(--blue-500); box-shadow: inset 0 0 0 3px #fff; }

/* 单选选项列表 */
.options { display: flex; flex-direction: column; gap: 10px; }
.opt { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 14.5px; color: #33415c;
  transition: all .18s; position: relative; overflow: hidden; }
.opt .radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c3cee0; flex: none; position: relative; transition: all .18s; }
.opt:hover { border-color: #b9cffb; }
.opt.active { border-color: var(--blue-500); background: linear-gradient(90deg, #eef5ff, #f7fbff); color: var(--blue-700); font-weight: 600; }
.opt.active .radio { border-color: var(--blue-500); }
.opt.active .radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--blue-500); }

.err { color: var(--danger); font-size: 12.5px; margin-top: 6px; min-height: 0; display: none; }
.err.show { display: block; animation: shake .3s; }
@keyframes shake { 0%,100%{transform:translateX(0);} 25%{transform:translateX(-4px);} 75%{transform:translateX(4px);} }

/* 提交按钮 */
.submit { margin-top: 6px; position: relative; border: none; cursor: pointer; width: 100%;
  padding: 16px; border-radius: 14px; font-size: 17px; font-weight: 800; color: #fff; letter-spacing: 2px;
  background: linear-gradient(120deg, #1554b0, #1e6fe0 45%, #22d3ee 120%);
  box-shadow: 0 14px 30px -10px rgba(30,111,224,0.7); overflow: hidden; transition: transform .12s, box-shadow .2s; }
.submit::before { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent); transform: skewX(-20deg);
  animation: shine 2.8s infinite; }
@keyframes shine { 0%{left:-60%;} 60%,100%{left:130%;} }
.submit:active { transform: scale(.985); }
.submit:disabled { opacity: .75; cursor: not-allowed; }
.spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.5);
  border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; position: absolute; right: 24px; top: 50%; margin-top: -9px; }
.submit.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.privacy { text-align: center; font-size: 11.5px; color: #94a3b8; margin-top: 4px; }

.foot { text-align: center; color: #7f9dc9; font-size: 12px; margin-top: 22px; }

/* ---------- 成功弹层 ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  background: rgba(6, 20, 40, 0.6); backdrop-filter: blur(4px); animation: fade .25s; padding: 24px; }
.modal[hidden] { display: none; }
@keyframes fade { from{opacity:0;} to{opacity:1;} }
.modal-card { background: #fff; border-radius: 22px; padding: 34px 26px; width: 100%; max-width: 340px; text-align: center;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); animation: pop .35s cubic-bezier(.2,.9,.3,1.4); }
@keyframes pop { from{transform:scale(.8);opacity:0;} to{transform:scale(1);opacity:1;} }
.modal-card h3 { font-size: 21px; color: var(--blue-800); margin: 14px 0 8px; }
.modal-card p { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.modal-btn { width: 100%; padding: 14px; border: none; border-radius: 12px; font-size: 16px; font-weight: 700; color: #fff; cursor: pointer;
  background: linear-gradient(120deg, #1e6fe0, #22d3ee); }
.check-wrap { width: 78px; height: 78px; margin: 0 auto; }
.check { width: 78px; height: 78px; }
.check circle { stroke: #22c55e; stroke-width: 2; stroke-dasharray: 166; stroke-dashoffset: 166; animation: strokeCircle .6s forwards; }
.check path { stroke: #22c55e; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: strokeCheck .4s .5s forwards; }
@keyframes strokeCircle { to { stroke-dashoffset: 0; } }
@keyframes strokeCheck { to { stroke-dashoffset: 0; } }
