/* ==========================================================================
   广东翔蓝企业管理顾问有限公司 — 门户站点样式
   纯静态，无外部依赖，兼容 IIS 8.5 / Windows Server 2012 R2
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --ink: #0e1a2b;
  --ink-2: #33435c;
  --muted: #6b7a90;
  --line: #e2e8f2;
  --line-soft: #eef2f8;
  --bg: #f5f8fd;
  --white: #ffffff;
  --brand: #1a4fd6;
  --brand-deep: #0b2f8f;
  --brand-soft: #eaf0ff;
  --teal: #0d9488;
  --amber: #b8760b;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(14, 26, 43, 0.06), 0 4px 14px rgba(14, 26, 43, 0.05);
  --shadow-md: 0 12px 34px rgba(14, 26, 43, 0.1);
  --max: 1160px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 头部 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(145deg, #1a4fd6, #0b2f8f);
  box-shadow: 0 6px 16px rgba(26, 79, 214, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.brand-text em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 1.1px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--ink-2);
}

.nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.18s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transition: width 0.22s ease;
}

.nav a:hover {
  color: var(--brand);
}

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink-2);
  border-radius: 2px;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(160deg, #2560e8, #1741b8);
  box-shadow: 0 6px 18px rgba(26, 79, 214, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 10px 24px rgba(26, 79, 214, 0.34);
}

.btn-ghost {
  color: var(--ink-2);
  background: #fff;
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: #c3d2ee;
  color: var(--brand);
}

.btn-lg {
  height: 48px;
  padding: 0 26px;
  font-size: 15px;
  border-radius: 12px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(1000px 460px at 82% -10%, rgba(93, 150, 255, 0.5), transparent 62%),
    radial-gradient(760px 380px at 8% 110%, rgba(13, 148, 136, 0.32), transparent 60%),
    linear-gradient(158deg, #071f57 0%, #10399f 52%, #1a4fd6 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 78%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
  padding: 82px 24px 108px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.6px;
  color: #d8e4ff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ee7c8;
  box-shadow: 0 0 0 4px rgba(110, 231, 200, 0.22);
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: 42px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.hero h1 span {
  color: #9dc0ff;
}

.hero p.lead {
  margin: 0 0 30px;
  max-width: 540px;
  font-size: 15.5px;
  line-height: 1.9;
  color: #cfdcf7;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-outline-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-meta {
  display: flex;
  gap: 30px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.hero-meta div strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.hero-meta div span {
  font-size: 12.5px;
  color: #b9cbec;
}

/* Hero 右侧系统预览 */
.sys-preview {
  position: relative;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 16px;
  padding: 16px;
  color: var(--ink);
  box-shadow: 0 26px 60px rgba(4, 16, 48, 0.42);
  transform: rotate(-1.1deg);
}

.sys-preview::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #1a4fd6, #0d9488);
  opacity: 0.85;
}

.sys-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 4px 12px;
}

.sys-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dbe3f1;
}

.sys-bar i:first-child {
  background: #f8b4b4;
}

.sys-bar .sys-url {
  margin-left: 8px;
  flex: 1;
  height: 22px;
  border-radius: 6px;
  background: var(--line-soft);
  font-size: 10.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  padding: 0 9px;
  letter-spacing: 0.2px;
}

.sys-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sys-kpi {
  background: #f8fafd;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 9px 10px;
}

.sys-kpi b {
  display: block;
  font-size: 15px;
  letter-spacing: -0.3px;
}

.sys-kpi span {
  font-size: 10px;
  color: var(--muted);
}

.sys-chart {
  margin-top: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 10px 10px 4px;
  background: #fff;
}

.sys-chart em {
  font-style: normal;
  font-size: 10px;
  color: var(--muted);
}

.sys-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 62px;
  margin-top: 6px;
}

.sys-bars i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #5b8cff, #2251cc);
  opacity: 0.9;
}

.sys-list {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.sys-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  color: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 6px 9px;
  background: #fff;
}

.sys-row b {
  margin-left: auto;
  font-weight: 600;
  color: var(--teal);
}

.sys-row .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

/* ===== 通用区块 ===== */
.section {
  padding: 78px 0;
}

.section.alt {
  background: #fff;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-head.center {
  margin: 0 auto 44px;
  text-align: center;
}

.section-tag {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
}

.section-head h2 {
  margin: 10px 0 12px;
  font-size: 30px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.3px;
  text-wrap: balance;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* 数据条 */
.stats-strip {
  margin-top: -56px;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.stat-cell {
  background: #fff;
  padding: 26px 24px;
}

.stat-cell b {
  display: block;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--brand-deep);
}

.stat-cell b small {
  font-size: 15px;
  font-weight: 600;
  margin-left: 2px;
}

.stat-cell span {
  font-size: 13px;
  color: var(--muted);
}

/* 服务卡片 */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  transition: transform 0.2s ease, box-shadow 0.24s ease, border-color 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cddcf8;
}

.card .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: var(--brand-soft);
  color: var(--brand);
}

.card .ico svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.85;
}

.card ul {
  margin: 14px 0 0;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px dashed var(--line);
  display: grid;
  gap: 7px;
}

.card ul li {
  font-size: 12.5px;
  color: var(--ink-2);
  padding-left: 16px;
  position: relative;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a9c1f0;
}

/* 流程 */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.flow-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}

.flow-item::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 6px;
  padding: 2px 8px;
}

.flow-item h4 {
  margin: 12px 0 6px;
  font-size: 15.5px;
  font-weight: 600;
}

.flow-item p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* 案例 */
.case-list {
  display: grid;
  gap: 14px;
}

.case-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
}

.case-row .who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.case-row .who .badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-deep);
  background: var(--brand-soft);
  flex-shrink: 0;
}

.case-row .who strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}

.case-row .who span {
  font-size: 12px;
  color: var(--muted);
}

.case-row .desc {
  font-size: 13.5px;
  color: var(--ink-2);
}

.case-row .result {
  text-align: right;
  font-size: 12.5px;
  color: var(--muted);
}

.case-row .result b {
  display: block;
  font-size: 18px;
  color: var(--teal);
  letter-spacing: -0.4px;
}

/* 关于 / 联系 */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  margin: 0 0 16px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.95;
}

.qual-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.qual {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
}

.qual b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 2px;
}

.qual span {
  font-size: 12px;
  color: var(--muted);
}

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

.contact-card h3 {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 600;
}

.contact-item {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}

.contact-item:last-of-type {
  border-bottom: 0;
}

.contact-item .k {
  width: 62px;
  flex-shrink: 0;
  font-size: 12.5px;
  color: var(--muted);
}

.contact-item .v {
  font-size: 13.5px;
  color: var(--ink);
  word-break: break-all;
}

.contact-note {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f7faff;
  border: 1px solid #e4ecfb;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}

/* ===== 页脚 ===== */
.site-footer {
  background: #0a1730;
  color: #b9c6dd;
  padding: 34px 24px 30px;
  text-align: center;
  font-size: 13px;
  line-height: 1.9;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #c2d4ef;
  transition: color 0.18s;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ===== 登录页 ===== */
.auth-wrap {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-side {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(720px 400px at 90% 0%, rgba(93, 150, 255, 0.45), transparent 60%),
    linear-gradient(158deg, #071f57, #10399f 55%, #1a4fd6);
}

/* 左侧装饰：网格 + 巨型水印字 */
.auth-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(circle at 26% 42%, #000 10%, transparent 76%);
  mask-image: radial-gradient(circle at 26% 42%, #000 10%, transparent 76%);
  pointer-events: none;
}

.auth-side::before {
  content: "XL";
  position: absolute;
  right: -14px;
  bottom: -58px;
  font-size: 250px;
  font-weight: 800;
  letter-spacing: -10px;
  color: #fff;
  opacity: 0.055;
  pointer-events: none;
  line-height: 1;
}

.auth-side > * {
  position: relative;
  z-index: 1;
}

.auth-side h2 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.36;
  font-weight: 700;
}
.auth-side p {
  margin: 0;
  max-width: 420px;
  color: #cfdcf7;
  font-size: 14px;
  line-height: 1.9;
}

.auth-points {
  margin-top: 34px;
  display: grid;
  gap: 14px;
}

.auth-points div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: #dbe6fb;
}

.auth-points i {
  color: #6ee7c8;
  font-style: normal;
  font-weight: 700;
}

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  background: var(--bg);
}

.auth-card {
  width: 100%;
  max-width: 396px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 34px 30px;
  box-shadow: var(--shadow-md);
}

.auth-card h1 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.auth-card .sub {
  margin: 0 0 26px;
  font-size: 13px;
  color: var(--muted);
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 7px;
}

.field input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  font-family: inherit;
}

.field input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(26, 79, 214, 0.12);
}

.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 20px;
  font-size: 12.5px;
  color: var(--muted);
}

.field-row label {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.field-row input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--brand);
}

.btn-block {
  width: 100%;
  height: 46px;
  font-size: 15px;
}

.auth-hint {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f7faff;
  border: 1px dashed #cfdcf5;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
}

.auth-hint code {
  font-family: Consolas, "Courier New", monospace;
  background: #eef3fe;
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--brand-deep);
}

.auth-error {
  display: none;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #fef2f2;
  border: 1px solid #fbd5d5;
  color: #b42318;
  font-size: 12.5px;
}

.auth-foot {
  margin-top: 22px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 62px 24px 96px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .sys-preview {
    transform: none;
    max-width: 460px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .case-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .case-row .result {
    text-align: left;
  }
  .auth-wrap {
    grid-template-columns: 1fr;
  }
  .auth-side {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(14, 26, 43, 0.08);
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-toggle {
    display: block;
    margin-left: auto;
  }
  .header-actions {
    display: none;
  }
  .header-inner {
    gap: 12px;
  }
  .brand,
  .brand-text {
    min-width: 0;
  }
  .brand-text strong {
    font-size: 13.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-text em {
    display: none;
  }
  .hero h1 {
    font-size: 27px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards,
  .flow,
  .qual-list {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 54px 0;
  }
  .section-head h2 {
    font-size: 23px;
  }
  .hero-meta {
    gap: 22px;
  }
}
