/* ============================================
   威海数字文旅平台 — 统一设计系统 V1.0
   来源：分会首页风格 (index.html)
   ============================================ */

/* ── 设计Token ── */
:root {
  --wave-blue: #0077B6;
  --ocean-teal: #00B4D8;
  --ocean-dark: #023E8A;
  --sky: #CAF0F8;
  --ink: #16324a;
  --muted: #60798c;
  --line: #dcecf4;
  --soft: #f4fbfe;
  --coral: #f2645a;
  --gradient-ocean: linear-gradient(135deg, #0077B6 0%, #00B4D8 58%, #48CAE4 100%);
  --shadow: 0 10px 30px rgba(2,62,138,.08);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;
  --nav-height: 68px;
}

/* ── Reset ── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.65;
  background: #fff;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

/* ── Layout ── */
.container { width: min(1180px, calc(100% - 40px)); margin: auto; }
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }

/* ── Components ── */
.eyebrow {
  display: inline-flex; padding: 5px 13px; border-radius: var(--radius-full);
  background: #e8f7fc; color: var(--wave-blue);
  font-size: 13px; font-weight: 700;
}
.section-head h2 { font-size: clamp(24px, 3.5vw, 36px); line-height: 1.2; margin: 10px 0; }
.section-head p { margin: 0; color: var(--muted); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 20px; border-radius: var(--radius-full);
  text-decoration: none; font-weight: 700; font-size: 14px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  transition: all .2s;
}
.btn.primary { border: 0; color: #fff; background: var(--gradient-ocean); box-shadow: 0 4px 14px rgba(0,119,182,.2); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,119,182,.3); }
.btn.ai { color: #fff; border: 0; background: linear-gradient(135deg, #6256d9, #8b5cf6); }
.btn.outline { border: 1.5px solid var(--line); color: var(--ink); background: transparent; }
.btn.outline:hover { border-color: var(--wave-blue); color: var(--wave-blue); }
.btn.sm { min-height: 36px; padding: 6px 14px; font-size: 13px; }

/* ── Top Navigation ── */
.topbar {
  position: fixed; z-index: 1000; inset: 0 0 auto;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(0,119,182,.1);
  backdrop-filter: blur(16px);
}
.nav { height: var(--nav-height); display: flex; align-items: center; gap: 22px; }
.brand {
  display: flex; align-items: center; gap: 9px; flex: 0 0 auto;
  color: var(--ocean-dark); font-weight: 800; text-decoration: none;
}
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px;
  color: #fff; background: var(--gradient-ocean); border-radius: 11px;
}
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 8px 10px; border-radius: 8px; color: #496579;
  font-size: 13px; white-space: nowrap; transition: all .2s;
}
.nav-links a:hover { color: var(--wave-blue); background: #edf8fc; }
.nav-links .visitor { color: #fff; background: var(--gradient-ocean); padding-inline: 14px; }

/* ── Table ── */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; padding: 12px 10px; border-bottom: 2px solid var(--line); color: var(--muted); font-weight: 600; }
td { padding: 11px 10px; border-bottom: 1px solid var(--line); }

/* ── Status Badge ── */
.status { display: inline-block; padding: 2px 10px; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; }
.status.pending { background: #fff3e0; color: #e65100; }
.status.paid { background: #e3f2fd; color: #1565c0; }
.status.completed { background: #e8f5e9; color: #2e7d32; }
.status.cancelled { background: #fce4ec; color: #c62828; }

/* ── Form ── */
input, select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 10px; font-size: 14px; outline: none; transition: border .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--wave-blue); }

/* ── Mobile ── */
@media (max-width: 768px) {
  .container { width: calc(100% - 28px); }
  .section { padding: 48px 0; }
  .brand { font-size: 14px; }
  .nav-links a { font-size: 12px; padding: 6px 8px; }
}
