  /* =========================================================
   01) Design Tokens / Variables
========================================================= */
  :root {
    --bg-main: #f6f7fb;
    --bg-card: #ffffff;
    --bg-soft: #f0f2f8;
    --text-main: #1f2633;
    --text-muted: #6b7280;
    --accent: #e64980;
    --accent-soft: #fff0f6;
    --border: #e5e7eb;
    --radius: 16px;
    --primary: #d6336c;
    --hot: #ff1744;
  }

  /* =========================================================
   02) Reset / Base
========================================================= */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
      "Segoe UI", Roboto, sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.75;
    font-size: 15px;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  .container {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
  }

  /* =========================================================
   03) Header Layout (site-header / header-inner / header-right)
========================================================= */
  .site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 10px 25px 20px 25px;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    gap: 16px;
    flex-wrap: nowrap;
    max-width: 1060px;
    margin: 0 auto;
  }

  .header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
  }

  /* =========================================================
   04) Logo / Brand (保留你全部原定义，包括未使用的 .logo 系列)
========================================================= */
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f06595, #ff922b);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 18px;
    color: #1f2633;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #c8955f, #f06292);
    display: flex;
    align-items: center;
    justify-content: center;
    /* === 核心：锁死字体 === */
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.5px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  }

  .brand-mark * {
    font-family: inherit;
  }

  .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
  }

  .brand-name {
    font-size: 18px;
    font-weight: 800;
  }

  .brand-tagline {
    font-size: 12px;
    font-weight: 600;
    color: rgba(0, 0, 0, .85);
  }

  /* =========================================================
   10) Components: Language Switcher (保持原样)
========================================================= */
  .lang-switcher {
    position: relative;
  }

  .lang-btn {
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid rgba(150, 150, 150, .45);
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    width: 90px;
    text-align: left;
  }

  .lang-btn:hover {
    background: #f3f4f6;
  }

  .lang-menu {
    position: absolute;
    top: calc(100% + 1px);
    right: 0px;
    list-style: none;
    margin: 0;
    padding: 5px;
    background: #ffffff;
    border: 1px solid rgba(150, 150, 150, .45);
    border-radius: 6px;
    box-shadow: 0 18px 40px rgba(16, 24, 40, .18);
    display: none;
    z-index: 20;
    width: 90px;
  }

  .lang-menu li {
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
  }

  .lang-menu li:hover {
    background: #e8e9ea;
  }

  .lang-menu li.active {
    background: #e5e7eb;
  }

  /* =========================================================
   05) Navigation (保留你全部原定义，包括未使用的 nav 系列)
========================================================= */
  .main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
  }

  /* Header 主导航（中性风格） */
  .main-nav a {
    padding: 3px 6px;
    border-radius: 5px;
    font-size: 14px;
    /* font-weight: 500; */
    color: var(--text-muted);
    /* 深灰，替代红色 */
    transition: background 0.15s ease, color 0.15s ease;
  }

  .main-nav a:hover,
  .main-nav .nav-active {
    color: #000;
    /* font-weight:600; */
    background: rgba(230, 230, 230, .5);
    box-shadow: 0px 5px 5px 1px rgba(0, 0, 0, .2);
  }

  /* ===== Desktop Main ===== */
  .main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 16px 0px 16px;
  }

  /* =========================================================
   07) Hero
========================================================= */
  /* ===== Hero ===== */
  .hero {
    padding: 10px 0 10px;
  }

  .hero-inner {
    background: linear-gradient(180deg,
        #ffffff,
        var(--bg-soft));
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 42px;
  }

  .hero h1 {
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 800;
    margin-bottom: 12px;
  }

  .hero p {
    max-width: 760px;
    color: var(--text-muted);
    margin-bottom: 20px;
  }

  .hero .btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f06595, #ff922b);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
  }

  .hero-note {
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-muted);
  }

  /* =========================================================
   08) Sections / Grid / Cards
========================================================= */
  /* ===== Sections ===== */
  .section {
    padding: 20px 15px;
  }

  .section h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .section p {
    max-width: 860px;
    color: var(--text-muted);
  }

  .grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
  }

  .card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    transition: box-shadow .15s ease, transform .15s ease;
  }

  .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(31, 38, 51, .12);
    /* text-decoration: underline; */

  }

  .card h3 {
    font-size: 16px;
    margin-bottom: 6px;
    color: #a61e4d;
  }

  .card h3:hover {
    color: var(--hot);
  }

  .card p {
    font-size: 14px;
    color: var(--text-muted);
  }

  /* =========================================================
   09) Footer (保持你原先的定义顺序与覆盖关系)
========================================================= */
  /* ===== Footer ===== */
  .site-footer {
    background: linear-gradient(180deg, #ffffff, #f6f7fb);
    border-top: 1px solid #e5e7eb;
    font-size: 13px;
    color: #6b7280;
    text-align: left;
  }

  .footer-inner {
    padding: 15px 0 30px;
  }

  .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 18px;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .footer-logo {
    font-weight: 800;
    font-size: 15px;
    color: #1f2633;
    letter-spacing: 0.2px;
  }

  .footer-desc {
    font-size: 12px;
    color: #5c636f;
  }

  .footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  .footer-links a {
    color: #6b7280;
    position: relative;
    padding-bottom: 2px;
  }

  .footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    opacity: 0.2;
  }

  .footer-links a:hover {
    color: #1f2633;
  }

  .footer-links a:hover::after {
    opacity: 0.5;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #5c636f;
  }

  input,
  select,
  textarea,
  button {
    min-height: 40px;
  }

  /* =========================================================
   12) Mobile Overrides (原 @media 全量保留，不省略)
========================================================= */
  /* ===== FIXED Mobile Header Layout ===== */
  @media (max-width: 768px) {
    .site-header {
      z-index: 10;
      top: 0;
      position: sticky;
      /* padding-top: 10px; */
      padding-bottom: 0px;
      box-shadow: 0 3px 5px rgba(0, 0, 0, .2);
    }

    /* Header：两行结构 */
    .header-inner {
      display: grid;
      grid-template-columns: 1fr auto;
      grid-template-areas:
        "brand lang"
        "nav   nav";
      align-items: center;
      gap: 8px 12px;
    }

    /* Logo 左 */
    .brand {
      grid-area: brand;
    }

    /* Header-right 不再当容器 */
    .header-right {
      grid-column: 1 / -1;
      display: contents;
    }

    /* LOGO 整体压缩 */
    .brand-mark {
      width: 35px;
      height: 35px;
      font-size: 18px;
      border-radius: 8px;
    }

    .brand-name {
      font-size: 16px;
    }

    .brand-tagline {
      font-size: 11px;
    }

    .main-nav {
      padding-top: 10px;
      grid-area: nav;
      display: flex;
      gap: 8px;
      flex-wrap: nowrap;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: thin;
    }

    .main-nav::-webkit-scrollbar {
      height: 4px;
    }

    .main-nav::-webkit-scrollbar-thumb {
      background: rgba(31, 38, 51, .28);
      border-radius: 999px;
    }

    .main-nav a {
      white-space: nowrap;
      font-size: 13px;
      /* font-weight: 500; */
      position: relative;
      transition: all 0.15s ease;
    }

    /* 语言切换 右（和桌面一致） */
    .lang-switcher {
      grid-area: lang;
      justify-self: end;
    }

    /* 语言按钮尺寸略小 */
    .lang-btn {
      font-size: 12px;
      padding: 3px 10px;
    }

    .lang-menu {
      /* left: 0; */
      /* 关键：改为左对齐 */
      /* right: auto; */
      /* min-width: 120px; */
      /* margin-top: 1px; */
    }

    .lang-menu li {
      text-align: left;
      font-size: 12px;
    }

    /* 所有 main 在手机上统一为“内容容器” */
    .main {
      padding-left: 16px;
      padding-right: 16px;
      padding-top: 5px;
    }

    .hero {
      padding: 20px 10px;
    }

    .hero-inner {
      padding: 20px 18px;
      border-radius: 16px;
    }

    .hero h1 {
      font-size: 18px;
      line-height: 1.1;
    }

    .hero p {
      font-size: 12px;
    }

    .hero .btn {
      display: block;
      width: 100%;
      text-align: center;
      font-size: 13px;
      padding: 10px 0;
    }

    .hero-note {
      text-align: center;
    }

    .grid {
      grid-template-columns: 1fr;
      gap: 14px;
    }

    .card {
      padding: 16px;
      min-width: 0;
    }

    .card h3 {
      font-size: 14px;
    }
.section h2 {
    font-size: 18px;
    margin-bottom: 10px;
}
.section p{
  font-size: 12px;
}
    .card p {
      font-size: 12px;
    }

    /* 关键：给 footer 一个真实的底部安全高度 */
    .site-footer {
      padding-left: 20px;
      padding-right: 20px;
    }

    .btn,
    .btn-primary,
    .btn-ghost,
    .cta-actions a,
    .cta-row a {
      width: 100%;
      justify-content: center;
    }

    .footer-top,
    .footer-bottom {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }
  }
