/* roulang page: index */
:root {
      --primary-deep: #1E2F4A;
      --accent-gold: #C49A6C;
      --bg-warm: #FAF8F6;
      --cta-black: #2C2C2C;
      --success-green: #2D8B7A;
      --card-bg: #FFFFFF;
      --border-light: #E8E4DF;
      --text-gray: #6B6B6B;
      --shadow-sm: 0 2px 12px rgba(30,47,74,0.06);
      --shadow-hover: 0 4px 20px rgba(30,47,74,0.10);
      --radius-card: 8px;
      --radius-btn: 8px;
      --font-serif: "Noto Serif SC", "Times New Roman", "宋体", SimSun, "华文宋体", serif;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
      --spacing-section: 100px;
      --max-width: 1200px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-warm);
      color: var(--cta-black);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 覆盖 foundation 默认样式 */
    a {
      color: inherit;
      transition: color 0.2s ease, border-color 0.2s ease;
    }

    a:focus, button:focus, input:focus {
      outline: 2px solid var(--accent-gold);
      outline-offset: 2px;
    }

    h1, h2, h3, h4 {
      font-family: var(--font-serif);
      color: var(--primary-deep);
      line-height: 1.3;
    }

    h1 {
      font-size: 44px;
      font-weight: 700;
      letter-spacing: -0.5px;
    }

    h2 {
      font-size: 32px;
      font-weight: 600;
      margin-bottom: 16px;
    }

    h3 {
      font-size: 22px;
      font-weight: 500;
      color: var(--cta-black);
      margin-bottom: 12px;
    }

    p, li {
      color: var(--text-gray);
      font-size: 16px;
      line-height: 1.7;
    }

    .text-small {
      font-size: 14px;
      color: var(--text-gray);
    }

    /* 按钮系统 */
    .btn-primary {
      display: inline-block;
      background: var(--primary-deep);
      color: white;
      border: none;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 500;
      font-size: 16px;
      text-decoration: none;
      transition: background 0.2s ease;
      cursor: pointer;
      text-align: center;
    }

    .btn-primary:hover {
      background: var(--accent-gold);
      color: white;
    }

    .btn-outline {
      display: inline-block;
      background: transparent;
      color: var(--primary-deep);
      border: 1px solid var(--primary-deep);
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 500;
      font-size: 16px;
      text-decoration: none;
      transition: all 0.2s ease;
      cursor: pointer;
      text-align: center;
    }

    .btn-outline:hover {
      border-color: var(--accent-gold);
      color: var(--accent-gold);
    }

    /* 导航 */
    .custom-nav {
      background: var(--bg-warm);
      border-bottom: 1px solid var(--border-light);
      padding: 16px 0;
      position: sticky;
      top: 0;
      z-index: 40;
      backdrop-filter: blur(4px);
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    .logo {
      font-family: var(--font-serif);
      font-size: 24px;
      font-weight: 700;
      color: var(--primary-deep);
      letter-spacing: 1px;
      text-decoration: none;
    }
    .logo span {
      color: var(--accent-gold);
      font-size: 26px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .nav-links a {
      font-size: 15px;
      font-weight: 500;
      color: var(--cta-black);
      text-decoration: none;
      letter-spacing: 0.5px;
      position: relative;
      padding: 4px 0;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent-gold);
      transition: width 0.2s ease;
    }

    .nav-links a:hover {
      color: var(--accent-gold);
    }
    .nav-links a:hover::after {
      width: 100%;
    }

    .nav-cta {
      margin-left: 16px;
    }

    /* 移动端菜单按钮 */
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 28px;
      color: var(--accent-gold);
      cursor: pointer;
      padding: 4px;
    }

    /* Hero */
    .hero {
      padding: 80px 0 60px;
      display: flex;
      align-items: center;
      gap: 48px;
    }

    .hero-content {
      flex: 1 1 55%;
    }

    .hero-content h1 {
      margin-bottom: 20px;
      color: var(--primary-deep);
    }

    .hero-content .subtitle {
      font-size: 19px;
      color: var(--text-gray);
      margin-bottom: 32px;
      max-width: 500px;
    }

    .hero-image {
      flex: 1 1 45%;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      height: 380px;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-sm);
    }

    /* 板块间距 */
    section {
      padding: var(--spacing-section) 0;
    }

    .section-title {
      text-align: center;
      margin-bottom: 56px;
    }
    .section-title h2 {
      margin-bottom: 8px;
    }
    .section-title p {
      font-size: 17px;
    }

    /* 卡片网格 */
    .card-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .advantage-card {
      background: var(--card-bg);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-card);
      padding: 32px 24px;
      text-align: center;
      box-shadow: var(--shadow-sm);
      transition: box-shadow 0.2s, border-color 0.2s;
    }

    .advantage-card:hover {
      box-shadow: var(--shadow-hover);
      border-color: var(--accent-gold);
    }

    .icon-circle {
      width: 56px;
      height: 56px;
      background: rgba(196, 154, 108, 0.08);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      color: var(--accent-gold);
      font-size: 26px;
    }

    /* 功能分组 图文交替 */
    .feature-row {
      display: flex;
      align-items: center;
      gap: 48px;
      margin-bottom: 80px;
    }
    .feature-row.reverse {
      flex-direction: row-reverse;
    }
    .feature-text {
      flex: 1;
    }
    .feature-text h3 {
      margin-bottom: 16px;
    }
    .feature-text ul {
      list-style: none;
      padding: 0;
    }
    .feature-text li {
      margin-bottom: 10px;
      display: flex;
      align-items: baseline;
      gap: 8px;
    }
    .feature-text li::before {
      content: "—";
      color: var(--accent-gold);
      font-weight: bold;
    }
    .feature-img {
      flex: 1;
      height: 300px;
      background-size: cover;
      background-position: center;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-sm);
    }

    /* 使用场景 不对称栅格 */
    .scenario-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
    }
    .scenario-card {
      background: var(--card-bg);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-card);
      padding: 28px;
      display: flex;
      flex-direction: column;
      box-shadow: var(--shadow-sm);
    }
    .scenario-card.wide {
      grid-column: span 2;
      flex-direction: row;
      gap: 32px;
      align-items: center;
    }
    .scenario-img {
      height: 180px;
      background-size: cover;
      background-position: center;
      border-radius: 6px;
      margin-bottom: 16px;
    }
    .scenario-card.wide .scenario-img {
      width: 45%;
      height: 220px;
      margin-bottom: 0;
    }

    /* 案例卡片 */
    .case-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .case-card {
      background: var(--card-bg);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-card);
      padding: 28px;
      box-shadow: var(--shadow-sm);
    }
    .case-number {
      font-size: 36px;
      font-weight: 700;
      color: var(--success-green);
      margin-bottom: 8px;
      font-family: var(--font-serif);
    }

    /* FAQ 手风琴覆盖 */
    .accordion {
      background: transparent;
      border: none;
    }
    .accordion-item {
      border-bottom: 1px solid var(--border-light);
    }
    .accordion-title {
      font-size: 17px;
      font-weight: 600;
      color: var(--cta-black);
      padding: 20px 0;
      border: none;
      background: transparent;
      transition: color 0.2s;
      position: relative;
      padding-left: 16px;
    }
    .accordion-title::before {
      content: '';
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 2px;
      height: 20px;
      background: var(--accent-gold);
      opacity: 0;
      transition: opacity 0.2s;
    }
    .accordion-title:hover {
      color: var(--accent-gold);
    }
    .is-active .accordion-title::before {
      opacity: 1;
    }
    .accordion-content {
      padding: 0 0 20px 16px;
      color: var(--text-gray);
      font-size: 16px;
      border: none;
    }

    /* CTA 横幅 */
    .cta-banner {
      background: var(--primary-deep);
      border-radius: var(--radius-card);
      padding: 48px;
      text-align: center;
      color: white;
    }
    .cta-banner h2 {
      color: white;
      margin-bottom: 12px;
    }

    /* 页脚 */
    .site-footer {
      background: var(--primary-deep);
      color: #FAF8F6;
      padding: 48px 0 28px;
    }
    .footer-grid {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 32px;
    }
    .footer-brand p {
      color: #ddd;
      font-size: 14px;
    }
    .footer-links a {
      color: #ddd;
      text-decoration: none;
      margin-right: 24px;
      font-size: 14px;
    }
    .footer-links a:hover {
      color: var(--accent-gold);
    }
    .copyright {
      margin-top: 32px;
      font-size: 13px;
      color: #aaa;
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 20px;
      text-align: center;
    }

    /* 响应式 */
    @media (max-width: 1024px) {
      h1 { font-size: 36px; }
      .hero { flex-direction: column; }
      .hero-image { width: 100%; height: 280px; }
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .menu-toggle { display: block; }
      .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-warm);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border-light);
      }
      .card-grid, .case-grid { grid-template-columns: 1fr; }
      .feature-row, .feature-row.reverse { flex-direction: column; }
      .feature-img { width: 100%; height: 220px; }
      .scenario-grid { grid-template-columns: 1fr; }
      .scenario-card.wide { grid-column: span 1; flex-direction: column; }
      .scenario-card.wide .scenario-img { width: 100%; }
      h2 { font-size: 28px; }
    }
