:root {
    --ink: #1c2b45;            /* 主文字深藏青 */
    --ink-soft: #5c7599;       /* 次级文字灰蓝 */
    --line: #dce8f7;           /* 浅色描边 */
    --brand: #2e6fd8;          /* 品牌蓝 */
    --brand-deep: #1c4fa8;
    --topbar-h: 58px;
    --footer-h: 44px;
  }

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

  html, body { height: 100%; }

  body {
    font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #fff;
    -webkit-font-smoothing: antialiased;
  }

  /* ============ 顶栏 ============ */
  .topbar {
    height: var(--topbar-h);
    flex: none;
    background: #fff;
    border-bottom: 1px solid rgba(160, 190, 225, .28);
    box-shadow: 0 2px 10px rgba(46, 111, 216, .05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: relative;
    z-index: 10;
    animation: fadeDown .6s ease both;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(24, 92, 190, .25);
    flex: none;
  }
  .brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .brand-name {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 2px;
  }

  .topbar-actions {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6a83a8;
    transition: background .2s, color .2s;
  }
  .icon-btn:hover {
    background: #eef4fc;
    color: var(--brand);
  }
  .icon-btn svg { display: block; }

  /* ============ 主区域 ============ */
  .stage {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px 28px;
    background:
      radial-gradient(900px 480px at 88% -6%, rgba(120, 170, 235, .42), transparent 62%),
      radial-gradient(700px 420px at 104% 78%, rgba(110, 165, 230, .30), transparent 60%),
      radial-gradient(760px 460px at -6% 108%, rgba(140, 185, 238, .25), transparent 58%),
      radial-gradient(1100px 640px at 46% 46%, rgba(255, 255, 255, .92), rgba(255,255,255,0) 70%),
      linear-gradient(118deg, #f3f8ff 0%, #e9f2fd 44%, #dcebfc 100%);
  }

  /* 背景装饰：节点连线星群 */
  .deco {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  .deco .net  { opacity: .55; }
  .deco .net2 { opacity: .38; }

  .float-dot {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.95), rgba(160,200,245,.0) 70%);
    pointer-events: none;
  }

  /* ============ 卡片区 ============ */
  .cards {
    position: relative;
    display: flex;
    gap: clamp(22px, 2.4vw, 30px);
    z-index: 1;
    flex-wrap: wrap;
    justify-content: center;
  }

  .card {
    width: clamp(224px, 19vw, 280px);
    border-radius: 14px;
    padding: 26px 22px 18px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 12px 30px rgba(31, 79, 158, .14), 0 3px 8px rgba(31, 79, 158, .06);
    transition: transform .28s cubic-bezier(.22,.68,.42,1), box-shadow .28s ease;
    animation: rise .7s cubic-bezier(.2,.7,.3,1) both;
  }
  .card:nth-child(1) { animation-delay: .08s; }
  .card:nth-child(2) { animation-delay: .18s; }
  .card:nth-child(3) { animation-delay: .28s; }

  .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(28, 79, 168, .20), 0 6px 14px rgba(28, 79, 168, .08);
  }
  .card:hover .card-icon { transform: translateY(-2px) scale(1.05); }

  /* 卡片 1：蓝 → 白 渐变 */
  .card-cloud {
    background: linear-gradient(168deg, #3c82e2 0%, #62a0ec 30%, #c8e0fa 62%, #f2f8ff 88%, #ffffff 100%);
  }
  .card-cloud .card-icon {
    background: #fff;
    color: #2f74dd;
    box-shadow: 0 6px 16px rgba(23, 78, 160, .18);
  }
  .card-cloud .card-title { color: #17325e; }
  .card-cloud .card-sub   { color: #5d7ba6; }

  /* 卡片 2：浅白 */
  .card-data {
    background: linear-gradient(170deg, #f2f9ff 0%, #ffffff 70%);
    border: 1px solid rgba(150, 190, 235, .45);
  }
  .card-data .card-icon {
    background: #fff;
    border: 1px solid var(--line);
    color: #2f74dd;
    box-shadow: 0 5px 14px rgba(46, 111, 216, .10);
  }
  .card-data .card-title { color: #1c3a6b; }
  .card-data .card-sub   { color: #64809f; }

  /* 卡片 3：深蓝 */
  .card-security {
    background: linear-gradient(158deg, #3a7fdd 0%, #2a67c8 45%, #1b4ea6 100%);
  }
  .card-security .card-icon {
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .38);
    color: #fff;
  }
  .card-security .card-title { color: #fff; }
  .card-security .card-sub   { color: rgba(226, 239, 255, .82); }
  .card-security .card-enter { color: #fff; }
  .card-security .card-enter:hover { text-shadow: 0 0 12px rgba(255,255,255,.65); }

  .card-icon {
    width: 58px;
    height: 58px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: transform .28s ease;
  }

  .card-title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
  }

  .card-sub {
    font-size: 13px;
    letter-spacing: .5px;
    margin-bottom: 16px;
  }

  .card-divider {
    width: 168px;
    height: 1px;
    background: rgba(120, 155, 205, .30);
    margin-bottom: 12px;
  }
  .card-security .card-divider { background: rgba(255, 255, 255, .28); }

  .card-enter {
    font-size: 14px;
    letter-spacing: 6px;
    text-indent: 6px;   /* 视觉居中补偿 */
    color: var(--brand);
    font-weight: 500;
    transition: text-shadow .2s ease;
  }
  .card-enter:hover { text-shadow: 0 0 14px rgba(46, 111, 216, .55); }

  /* ============ 底部链接 ============ */
  .quick-links {
    position: relative;
    z-index: 1;
    margin-top: 44px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: var(--ink-soft);
    animation: rise .7s .38s cubic-bezier(.2,.7,.3,1) both;
  }
  .quick-links a {
    color: var(--ink-soft);
    text-decoration: none;
    letter-spacing: 1px;
    padding: 4px 2px;
    transition: color .2s;
  }
  .quick-links a:hover { color: var(--brand); }
  .quick-links .sep {
    color: rgba(120, 150, 190, .55);
    font-size: 12px;
    user-select: none;
  }

  /* ============ 页脚 ============ */
  .footer {
    height: var(--footer-h);
    flex: none;
    background: #fff;
    border-top: 1px solid rgba(160, 190, 225, .30);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #8296b3;
    letter-spacing: 1px;
    position: relative;
    z-index: 5;
  }

  .footer .icp {
    color: inherit;
    text-decoration: none;
  }

  .footer .icp:hover {
    color: #2f6fd8;
    text-decoration: underline;
  }

  /* 轻提示（如：配置仅内网可访问） */
  .toast {
    position: fixed;
    left: 50%;
    bottom: calc(var(--footer-h) + 28px);
    transform: translateX(-50%) translateY(12px);
    background: rgba(23, 43, 77, .92);
    color: #fff;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(31, 56, 100, .25);
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease, transform .28s ease;
    z-index: 50;
  }

  .toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  /* ============ 动画 ============ */
  @keyframes rise {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @media (max-width: 960px) {
    .cards { gap: 22px; }
    .card { width: min(272px, 86vw); }
  }

  @media (prefers-reduced-motion: reduce) {
    .card, .quick-links, .topbar { animation: none; }
    .card, .card-icon { transition: none; }
  }

  /* ============ 关于我们页 ============ */
  .page-hero {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 34px;
    animation: rise .7s cubic-bezier(.2,.7,.3,1) both;
  }
  .page-hero h1 {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 10px;
    text-indent: 10px;
    color: #17325e;
  }
  .page-hero .crumb {
    margin-top: 12px;
    font-size: 14px;
    color: var(--ink-soft);
    letter-spacing: 2px;
  }

  .panel {
    position: relative;
    z-index: 1;
    width: min(980px, 94vw);
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(150, 190, 235, .45);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(31, 79, 158, .10), 0 3px 10px rgba(31, 79, 158, .05);
    padding: 32px 40px;
    animation: rise .7s cubic-bezier(.2,.7,.3,1) both;
  }
  .panel:nth-of-type(2) { animation-delay: .12s; }
  .panel:nth-of-type(3) { animation-delay: .2s; }
  .panel + .panel { margin-top: 26px; }

  .panel h2 {
    font-size: 18px;
    color: #17325e;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
  }
  .panel h2::before {
    content: "";
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: linear-gradient(180deg, #3c82e2, #1c4fa8);
  }

  .panel p {
    font-size: 14px;
    line-height: 2;
    color: #41556f;
    text-align: justify;
  }
  .panel p + p { margin-top: 8px; }

  .facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 22px;
  }
  .fact {
    background: #f4f9ff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .fact:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(31, 79, 158, .10);
  }
  .fact b { display: block; font-size: 15px; color: #17325e; margin-bottom: 6px; letter-spacing: .5px; }
  .fact span { font-size: 12px; color: #64809f; letter-spacing: 1px; }

  .biz-chips { display: flex; flex-wrap: wrap; gap: 10px; }
  .chip {
    font-size: 13px;
    color: var(--brand);
    background: #eaf3ff;
    border: 1px solid #cfe2f8;
    border-radius: 999px;
    padding: 7px 16px;
    letter-spacing: 1px;
  }

  .project-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .project {
    background: #f4f9ff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px;
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .project:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(31, 79, 158, .10);
  }
  .project b { font-size: 14px; color: #17325e; display: block; margin-bottom: 6px; letter-spacing: .5px; }
  .project em {
    display: inline-block;
    font-style: normal;
    font-size: 12px;
    color: var(--brand-deep);
    background: #e3efff;
    border-radius: 4px;
    padding: 2px 8px;
    margin-bottom: 8px;
  }
  .project span { font-size: 12.5px; color: #64809f; line-height: 1.8; display: block; }

  .contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #f4f9ff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
  }
  .ci-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #e3efff;
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
  }
  .contact-item b { display: block; font-size: 14px; color: #17325e; margin-bottom: 4px; }
  .contact-item span, .contact-item a { font-size: 13px; color: #5c7599; line-height: 1.7; text-decoration: none; word-break: break-all; }
  .contact-item a:hover { color: var(--brand); }

  @media (max-width: 900px) {
    .facts, .project-cards, .contact-grid { grid-template-columns: 1fr 1fr; }
    .panel { padding: 26px 24px; }
  }
  @media (max-width: 600px) {
    .facts, .project-cards, .contact-grid { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 24px; letter-spacing: 6px; }
  }
