/* 创沙洲 OPC · 公共顶栏 / 底栏 / 基础样式 */

:root {
  --ink: #4a4038;
  --ink-soft: #8a7f74;
  --paper: #fff8f2;
  --white: #ffffff;
  --orange: #ff6a00;
  --orange-2: #ff9a3d;
  --orange-soft: #ffe8d6;
  --lime: #b6ff3a;
  --violet: #8b6cff;
  --violet-soft: #ede8ff;
  --pink: #ff6aab;
  --pink-soft: #ffe8f3;
  --mint: #5eead4;
  --mint-soft: #e6faf5;
  --sky: #7ecbff;
  --sky-soft: #e8f6ff;
  --line: #f0e0d0;
  --border: rgba(255, 106, 0, 0.22);
  --border-soft: rgba(139, 108, 255, 0.18);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 16px 40px rgba(255, 106, 0, 0.10);
  --shadow-soft: 0 12px 32px rgba(139, 108, 255, 0.12);
  --shadow-hard: 6px 6px 0 rgba(255, 154, 61, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, #fff8f2 0%, #fff5fb 50%, #f5faff 100%);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 248, 242, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--pink) 100%);
  color: #fff;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 22px;
  transform: rotate(-8deg);
  box-shadow: 0 6px 16px rgba(255, 106, 0, 0.35);
}
.brand-text strong { display: block; font-size: 18px; font-weight: 900; letter-spacing: 0.5px; }
.brand-text span { font-size: 10px; color: var(--ink-soft); letter-spacing: 2px; text-transform: uppercase; }

.nav-links { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; font-size: 14px; font-weight: 600; }
.nav-links a { color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--orange); }
.nav-cta {
  background: linear-gradient(135deg, var(--orange) 0%, var(--pink) 100%);
  color: var(--white) !important;
  padding: 9px 20px; border-radius: 999px; font-weight: 800;
  white-space: nowrap; border: none;
  box-shadow: 0 6px 20px rgba(255, 106, 0, 0.35);
  transition: transform .15s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255, 106, 0, 0.45); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 900; font-size: 15px; letter-spacing: 1px;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 30px rgba(255,106,0,.45); }
.btn-primary:hover { transform: translateY(-3px); background: var(--orange-2); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 2px solid rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--ink); transform: translateY(-3px); }
.btn-outline {
  background: var(--white);
  color: var(--orange);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.btn-outline:hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: var(--shadow); }

/* ---------- Section 通用 ---------- */
section { padding: 96px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 900; letter-spacing: 3px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--orange); }
.section-title { font-size: clamp(30px, 5vw, 50px); font-weight: 900; line-height: 1.1; letter-spacing: -0.5px; }
.section-title mark { background: none; color: var(--orange); }
.section-title .stroke {
  color: transparent; -webkit-text-stroke: 2px var(--violet);
}
.section-sub { color: var(--ink-soft); font-size: 16px; margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(135deg, var(--orange-soft) 0%, var(--violet-soft) 100%);
  color: var(--ink-soft);
  text-align: center; padding: 32px 24px; font-size: 13px;
  border-top: 1px solid var(--line);
}
.site-footer strong { color: var(--orange); font-weight: 800; }
.site-footer .en { display: block; margin-top: 8px; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-soft); opacity: 0.7; }
.site-footer .icp { display: block; margin-top: 10px; font-size: 12px; color: var(--ink-soft); opacity: 0.75; }
.site-footer .icp a { color: inherit; text-decoration: none; }

@media (max-width: 980px) {
  .nav-links li:not(:last-child) { display: none; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 32px); }
  section { padding: 68px 0; }
}
