/* MetaMeeting 前台统一样式：深色玻璃拟态 + 紫青渐变 */
:root {
  --bg: #07080d;
  --bg-2: #0c0e16;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f5fa;
  --dim: #98a0b4;
  --brand: #8b5cf6;
  --brand-2: #22d3ee;
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 15% -10%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(900px 520px at 90% 0%, rgba(34, 211, 238, 0.12), transparent 55%),
    var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== 顶部导航 ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px 40px;
  background: rgba(7, 8, 13, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: .2px; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; box-shadow: 0 6px 18px rgba(139, 92, 246, 0.35);
}
.brand-mark.has-img { background: none; box-shadow: none; overflow: hidden; }
.brand-mark.has-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-link { color: var(--dim); font-size: 14px; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-user { font-size: 14px; color: var(--text); padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--text); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: transform .18s, background .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-1px); background: var(--surface-2); }
.btn-primary {
  border: none; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 26px rgba(139, 92, 246, 0.32);
}
.btn-primary:hover { box-shadow: 0 14px 32px rgba(139, 92, 246, 0.42); }
.btn-ghost { background: transparent; }
.btn-sm { padding: 7px 15px; font-size: 13px; border-radius: 10px; }
.btn-lg { padding: 15px 32px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ===== 布局 ===== */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px 72px; }
.wrap.narrow { max-width: 460px; padding-top: 56px; }
section { padding: 72px 0 8px; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 750; letter-spacing: -.4px; }
.section-head p { color: var(--dim); margin-top: 8px; font-size: 15px; }

/* ===== Hero ===== */
.hero { position: relative; padding: 84px 0 40px; text-align: center; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 520px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(139, 92, 246, 0.28), transparent 70%) 30% 40%/520px 420px no-repeat,
    radial-gradient(closest-side, rgba(34, 211, 238, 0.22), transparent 70%) 72% 30%/460px 380px no-repeat;
  filter: blur(10px);
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--dim);
  background: var(--surface); border: 1px solid var(--line);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 10px var(--brand-2); }
.hero h1 {
  font-size: clamp(36px, 6vw, 62px); line-height: 1.12; font-weight: 800; letter-spacing: -1px;
  margin: 20px 0 16px;
  background: linear-gradient(120deg, #fff 20%, #c4b5fd 55%, var(--brand-2) 95%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.lead { color: var(--dim); font-size: clamp(15px, 2vw, 18px); max-width: 560px; margin: 0 auto 30px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 26px; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; color: var(--dim); font-size: 13px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); display: inline-block; }

/* ===== 功能特性 ===== */
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .25s, border-color .25s, background .25s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, 0.38); background: rgba(255, 255, 255, 0.06); }
.feature .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: 16px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.feature h3 { font-size: 16px; font-weight: 650; margin-bottom: 8px; }
.feature p { color: var(--dim); font-size: 13.5px; }

/* ===== 会员价格 ===== */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px;
  transition: transform .25s, border-color .25s;
}
.plan:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.35); }
.plan.featured {
  border-color: rgba(139, 92, 246, 0.55);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.16), rgba(255, 255, 255, 0.04));
  box-shadow: 0 18px 46px rgba(139, 92, 246, 0.18);
}
.plan-badge {
  position: absolute; top: -11px; right: 18px; font-size: 12px; padding: 3px 10px; border-radius: 999px;
  color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.plan h3 { font-size: 15px; color: var(--dim); font-weight: 500; }
.plan .price { font-size: 34px; font-weight: 780; letter-spacing: -.5px; margin: 10px 0 2px; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--dim); margin-left: 2px; }
.plan .days { color: var(--dim); font-size: 13px; margin-bottom: 18px; }
.plan ul { list-style: none; color: var(--dim); font-size: 13px; margin-bottom: 22px; display: grid; gap: 7px; }
.plan ul li::before { content: "✓"; color: var(--ok); margin-right: 8px; font-weight: 700; }
.plan .btn { margin-top: auto; }

/* ===== 下载 ===== */
.download {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid var(--line); border-radius: 24px; padding: 52px 32px;
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.14), rgba(34, 211, 238, 0.06) 60%, var(--surface));
}
.download h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 750; }
.download p { color: var(--dim); margin: 10px 0 24px; }
.download .meta { margin-top: 16px; color: var(--dim); font-size: 13px; white-space: pre-line; }

/* ===== 卡片 / 表单 ===== */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card + .card { margin-top: 18px; }
.card h1 { font-size: 22px; font-weight: 700; letter-spacing: -.2px; }
.card h2 { font-size: 16px; font-weight: 650; margin-bottom: 12px; }
.card .sub { color: var(--dim); font-size: 13.5px; margin-top: 6px; }

form .field { margin-bottom: 16px; }
form label { display: block; font-size: 13px; color: var(--dim); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], select, textarea {
  width: 100%; padding: 11px 13px; border-radius: 11px; font-size: 14px; color: var(--text);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-strong);
  outline: none; transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus { border-color: rgba(139, 92, 246, 0.7); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.16); }
input::placeholder { color: rgba(152, 160, 180, 0.6); }
.hint { color: var(--dim); font-size: 12.5px; margin-top: 6px; }
.form-row { display: flex; gap: 10px; }
.form-row > * { min-width: 0; }
.captcha { display: flex; gap: 10px; align-items: stretch; }
.captcha img { height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); cursor: pointer; background: #f5f6f8; }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; }

/* ===== 提示 / 标签 ===== */
.flash {
  margin-bottom: 18px; padding: 12px 16px; border-radius: 12px; font-size: 13.5px;
  background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(139, 92, 246, 0.35); color: #ddd6fe;
}
.flash.err { background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.4); color: #fecaca; }
.flash.ok { background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.38); color: #bbf7d0; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; background: rgba(139, 92, 246, 0.16); color: #c4b5fd; }
.tag.ok { background: rgba(52, 211, 153, 0.14); color: #86efac; }
.tag.off { background: rgba(255, 255, 255, 0.06); color: var(--dim); }
.tag.warn { background: rgba(251, 191, 36, 0.14); color: #fcd34d; }

/* ===== 表格 ===== */
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th, .table td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { color: var(--dim); font-weight: 500; font-size: 12.5px; }
.table tr:last-child td { border-bottom: none; }
.empty { color: var(--dim); font-size: 13px; padding: 18px 0; text-align: center; }

/* ===== 用户控制台 ===== */
.dash { display: grid; grid-template-columns: 300px 1fr; gap: 18px; align-items: start; }
.profile { text-align: center; }
.avatar {
  width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 12px;
  display: grid; place-items: center; font-size: 24px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.profile .email { color: var(--dim); font-size: 13px; word-break: break-all; }
.vip-box {
  margin-top: 18px; padding: 16px; border-radius: 14px; text-align: left;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
}
.vip-box .k { color: var(--dim); font-size: 12px; }
.vip-box .v { font-size: 15px; font-weight: 600; margin-top: 2px; }
.vip-box .v.ok { color: #86efac; }

/* ===== 支付 ===== */
.pay-panel { text-align: center; }
.pay-amount { font-size: 32px; font-weight: 780; margin: 6px 0 2px; }
.pay-plan { color: var(--dim); font-size: 14px; margin-bottom: 20px; }
.pay-qr {
  width: 232px; height: 232px; margin: 0 auto; border-radius: 16px; background: #fff;
  display: grid; place-items: center; padding: 10px; overflow: hidden;
}
.pay-qr img { width: 100%; height: 100%; object-fit: contain; }
.pay-state { margin-top: 16px; color: var(--dim); font-size: 13.5px; }
.pay-state .spin {
  display: inline-block; width: 13px; height: 13px; margin-right: 7px; vertical-align: -1px;
  border: 2px solid rgba(255, 255, 255, 0.25); border-top-color: var(--brand-2); border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pay-tips { margin-top: 18px; color: var(--dim); font-size: 12.5px; }
.pay-done { color: #86efac; font-size: 16px; font-weight: 600; }

/* ===== 页脚 ===== */
.foot {
  border-top: 1px solid var(--line); padding: 28px 24px 36px; text-align: center;
  color: var(--dim); font-size: 13px;
}
.foot-links { margin-top: 6px; }
.foot a:hover { color: var(--text); }

/* ===== 响应式 ===== */
@media (max-width: 860px) {
  .nav { padding: 12px 18px; gap: 16px; }
  .nav-links { display: none; }
  .wrap { padding: 0 18px 56px; }
  .dash { grid-template-columns: 1fr; }
  section { padding: 56px 0 4px; }
  .hero { padding-top: 56px; }
}

/* 客户端界面宣传图 */
.shot {
  margin: 0 auto;
  max-width: 80%;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}
.shot-note {
  text-align: center;
  color: var(--dim);
  font-size: 13px;
  margin-top: 16px;
}
@media (max-width: 900px) {
  .shot { max-width: 92%; }
}
@media (max-width: 720px) {
  .shot { max-width: 100%; border-radius: 12px; }
  .shot img { border-radius: 12px; }
}
