/* roulang page: index */
/* 全局设计变量与基础重置 */
    :root {
      --primary: #1A3C34;
      --primary-hover: #143028;
      --accent: #C59B3C;
      --accent-light: #d4b05a;
      --bg-warm: #F7F5F0;
      --bg-card: #FFFFFF;
      --text-main: #1E1E1E;
      --text-secondary: #5A5A5A;
      --text-light: #C4C4C4;
      --emphasis: #D44C2F;
      --success: #2D6A4F;
      --border-light: #E5DFD3;
      --shadow-sm: 0 4px 20px rgba(0,0,0,0.04);
      --shadow-hover: 0 8px 30px rgba(0,0,0,0.08);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 6px;
      --transition: all 0.3s ease;
      --font-title: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-title);
      background-color: var(--bg-warm);
      color: var(--text-main);
      font-size: 16px;
      line-height: 1.8;
      font-weight: 400;
      -webkit-font-smoothing: antialiased;
      padding-bottom: 70px; /* 移动端底部导航高度保留 */
    }

    @media (min-width: 992px) {
      body {
        padding-bottom: 0;
      }
    }

    h1, h2, h3, h4, h5, .h1, .h2, .h3 {
      font-family: var(--font-title);
      letter-spacing: -0.3px;
    }

    h1 {
      font-size: 3rem;
      font-weight: 700;
      letter-spacing: -0.5px;
      line-height: 1.2;
    }

    h2 {
      font-size: 2.25rem;
      font-weight: 600;
      letter-spacing: -0.3px;
    }

    h3 {
      font-size: 1.5rem;
      font-weight: 600;
    }

    .section-title {
      position: relative;
      margin-bottom: 1.5rem;
    }

    .text-secondary-custom {
      color: var(--text-secondary);
    }

    a {
      color: var(--primary);
      text-decoration: none;
      transition: var(--transition);
    }

    a:hover {
      color: var(--primary-hover);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    /* 自定义 Bootstrap 组件重塑 */
    .btn {
      border-radius: var(--radius-btn);
      padding: 12px 28px;
      font-weight: 500;
      transition: var(--transition);
      border: 1.5px solid transparent;
    }

    .btn-primary-custom {
      background-color: var(--primary);
      border-color: var(--primary);
      color: white;
    }

    .btn-primary-custom:hover {
      background-color: var(--primary-hover);
      border-color: var(--primary-hover);
      color: white;
      box-shadow: 0 6px 18px rgba(26, 60, 52, 0.25);
    }

    .btn-outline-custom {
      background: transparent;
      border: 1.5px solid var(--primary);
      color: var(--primary);
    }

    .btn-outline-custom:hover {
      background: var(--primary);
      color: white;
    }

    .btn-accent {
      background-color: var(--accent);
      border-color: var(--accent);
      color: #1E1E1E;
      font-weight: 600;
    }

    .btn-accent:hover {
      background-color: var(--accent-light);
      border-color: var(--accent-light);
      color: #1E1E1E;
    }

    .card {
      border: none;
      border-radius: var(--radius-card);
      background: var(--bg-card);
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
      height: 100%;
    }

    .card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-4px);
    }

    .card-body {
      padding: 24px;
    }

    .accordion-button:not(.collapsed) {
      background-color: transparent;
      color: var(--primary);
      box-shadow: none;
    }

    .accordion-button:focus {
      border-color: var(--border-light);
      box-shadow: 0 0 0 0.15rem rgba(26,60,52,0.15);
    }

    .accordion-item {
      border: none;
      border-bottom: 1px solid var(--border-light);
      background: transparent;
    }

    .form-control {
      border-radius: var(--radius-input);
      border: 1px solid #ddd;
      padding: 0.75rem 1rem;
      background-color: white;
      transition: var(--transition);
    }

    .form-control:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 0.15rem rgba(26,60,52,0.15);
    }

    /* 导航栏自定义 */
    .navbar-custom {
      background-color: white;
      box-shadow: 0 2px 12px rgba(0,0,0,0.03);
      padding: 0.75rem 0;
      transition: var(--transition);
    }

    .navbar-brand {
      font-weight: 700;
      font-size: 1.6rem;
      color: var(--primary) !important;
      letter-spacing: -0.3px;
    }

    .nav-link {
      color: var(--text-main) !important;
      font-weight: 500;
      font-size: 15px;
      margin: 0 0.5rem;
      position: relative;
    }

    .nav-link::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      bottom: 0;
      left: 0;
      background-color: var(--primary);
      transition: width 0.25s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
      width: 100%;
    }

    /* 移动端底部导航 */
    .mobile-bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 64px;
      background: white;
      border-top: 1px solid #e5e5e5;
      display: flex;
      justify-content: space-around;
      align-items: center;
      z-index: 1030;
      box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
    }

    @media (min-width: 992px) {
      .mobile-bottom-nav {
        display: none;
      }
    }

    .mobile-tab {
      display: flex;
      flex-direction: column;
      align-items: center;
      color: #8a8a8a;
      font-size: 12px;
      transition: var(--transition);
      text-decoration: none;
      font-weight: 500;
    }

    .mobile-tab i {
      font-size: 22px;
      margin-bottom: 2px;
    }

    .mobile-tab.active {
      color: var(--primary);
    }

    /* Hero 区域纹理 */
    .hero-geometric {
      background-color: var(--bg-warm);
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 100" opacity="0.12"><path d="M20 20 L40 20 L40 40 L20 40 Z M60 20 L80 20 L80 40 L60 40 Z M100 20 L120 20 L120 40 L100 40 Z M20 60 L40 60 L40 80 L20 80 Z" stroke="%23E5DFD3" fill="none" stroke-width="1.2"/><path d="M140 30 L160 30 L160 50 L140 50 Z M140 70 L160 70 L160 90 L140 90 Z" stroke="%23E5DFD3" fill="none" stroke-width="1.2"/></svg>');
      background-repeat: repeat;
      background-size: 180px;
    }

    .metric-number {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--accent);
      line-height: 1.2;
    }

    .arrow-up {
      color: var(--emphasis);
      font-weight: 600;
    }

    .strength-card i {
      color: var(--primary);
    }

    .modal-trigger {
      cursor: pointer;
      color: var(--primary);
      font-weight: 500;
    }

    footer {
      background-color: #152521;
      color: var(--text-light);
    }

    .footer-link {
      color: #C4C4C4;
      text-decoration: none;
    }

    .footer-link:hover {
      color: var(--accent);
    }

    .cta-section {
      background-color: var(--primary);
    }
