/* roulang page: index */
:root {
      --primary: #0B4A3F;
      --primary-dark: #07382F;
      --accent-gold: #C49A2B;
      --soft-copper: #E07B3C;
      --bg-warm: #F7F6F2;
      --white: #FFFFFF;
      --text-primary: #1E1E1E;
      --text-secondary: #5A5A5A;
      --text-muted: #8C8C8C;
      --border-light: #E8E5DF;
      --footer-bg: #1E1E1E;
      --footer-text: #B0B0B0;
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --shadow-card: 0 2px 12px rgba(0,0,0,0.04);
      --shadow-card-hover: 0 6px 20px rgba(0,0,0,0.08);
      --transition-base: 0.25s ease;
      --font-heading: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
      --font-body: 'Inter', 'Noto Sans SC', sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-body);
      font-weight: 400;
      font-size: 16px;
      line-height: 1.7;
      color: var(--text-primary);
      background-color: var(--bg-warm);
      margin: 0;
      padding: 0;
      -webkit-font-smoothing: antialiased;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: var(--font-heading);
      font-weight: 600;
      margin-bottom: 16px;
      color: var(--text-primary);
    }

    h1 {
      font-size: 38px;
      line-height: 48px;
      letter-spacing: -0.5px;
      font-weight: 700;
    }

    h2 {
      font-size: 28px;
      line-height: 36px;
      font-weight: 600;
    }

    h3 {
      font-size: 18px;
      line-height: 26px;
      font-weight: 600;
    }

    p {
      margin-bottom: 12px;
      color: var(--text-secondary);
    }

    a {
      text-decoration: none;
      color: var(--primary);
      transition: var(--transition-base);
    }

    a:hover {
      color: var(--primary-dark);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, input, textarea {
      font-family: inherit;
    }

    .container-custom {
      max-width: 1140px;
      margin: 0 auto;
      padding-left: 20px;
      padding-right: 20px;
    }

    /* 导航栏 */
    .navbar-custom {
      background-color: var(--white);
      height: 72px;
      border-bottom: 1px solid var(--border-light);
      padding: 0 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .logo-brand {
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 22px;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      order: 2;
      margin: 0 auto;
    }

    .logo-brand:hover {
      color: var(--primary-dark);
    }

    .logo-icon {
      display: inline-block;
      width: 20px;
      height: 20px;
      background-color: var(--accent-gold);
      transform: rotate(45deg);
      border-radius: 2px;
    }

    .nav-left, .nav-right {
      display: flex;
      align-items: center;
      gap: 28px;
    }

    .nav-left {
      order: 1;
    }

    .nav-right {
      order: 3;
    }

    .nav-link-custom {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-secondary);
      text-decoration: none;
      position: relative;
      padding: 8px 0;
      transition: color var(--transition-base);
      white-space: nowrap;
    }

    .nav-link-custom::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 20%;
      width: 0;
      height: 2px;
      background-color: var(--primary);
      transition: width var(--transition-base);
    }

    .nav-link-custom:hover {
      color: var(--primary);
    }

    .nav-link-custom:hover::after,
    .nav-link-custom.active::after {
      width: 60%;
    }

    .nav-link-custom.active {
      color: var(--primary);
      font-weight: 600;
    }

    .navbar-toggler-custom {
      display: none;
      background: none;
      border: none;
      padding: 8px;
      cursor: pointer;
    }

    .hamburger-line {
      display: block;
      width: 24px;
      height: 2px;
      background-color: var(--primary);
      margin: 5px 0;
      transition: var(--transition-base);
    }

    @media (max-width: 991px) {
      .navbar-custom {
        flex-wrap: wrap;
        height: auto;
        padding: 12px 20px;
      }
      .logo-brand {
        order: 1;
        margin: 0;
        flex: 1;
      }
      .navbar-toggler-custom {
        display: block;
        order: 3;
      }
      .nav-left, .nav-right {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 16px 0 8px 0;
        order: 4;
        background-color: var(--white);
        border-top: 1px solid var(--border-light);
        margin-top: 12px;
      }
      .nav-left.show, .nav-right.show {
        display: flex;
      }
      .nav-link-custom {
        padding: 10px 0;
        width: 100%;
        border-bottom: 1px solid var(--border-light);
      }
      .nav-link-custom:last-child {
        border-bottom: none;
      }
    }

    /* 按钮样式 */
    .btn-primary-custom {
      background-color: var(--primary);
      color: var(--white);
      border: none;
      padding: 12px 28px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 15px;
      letter-spacing: 0.5px;
      transition: all var(--transition-base);
      display: inline-block;
      text-align: center;
      cursor: pointer;
      text-decoration: none;
    }

    .btn-primary-custom:hover {
      background-color: var(--primary-dark);
      color: var(--white);
    }

    .btn-outline-custom {
      background: transparent;
      color: var(--primary);
      border: 1.5px solid var(--primary);
      padding: 12px 28px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 15px;
      letter-spacing: 0.5px;
      transition: all var(--transition-base);
      display: inline-block;
      text-align: center;
      cursor: pointer;
      text-decoration: none;
    }

    .btn-outline-custom:hover {
      background-color: var(--primary);
      color: var(--white);
    }

    .btn-light-custom {
      background-color: var(--white);
      color: var(--primary);
      border: none;
      padding: 12px 28px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 15px;
      letter-spacing: 0.5px;
      transition: all var(--transition-base);
      display: inline-block;
      text-align: center;
      cursor: pointer;
      text-decoration: none;
    }

    .btn-light-custom:hover {
      background-color: #f0f0f0;
      color: var(--primary-dark);
    }

    /* Hero */
    .hero-section {
      background-color: var(--bg-warm);
      padding: 80px 0;
    }

    .hero-image-wrapper {
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-card);
    }

    .hero-title {
      color: var(--text-primary);
    }

    .hero-title span {
      color: var(--primary);
      font-weight: 700;
    }

    .hero-subtitle {
      font-size: 18px;
      color: var(--text-secondary);
      margin-bottom: 32px;
    }

    /* 通用板块 */
    .section-padding {
      padding: 100px 0;
    }

    @media (max-width: 768px) {
      .section-padding {
        padding: 60px 0;
      }
      h1 {
        font-size: 32px;
        line-height: 42px;
      }
      h2 {
        font-size: 24px;
        line-height: 32px;
      }
    }

    /* 优势卡片 */
    .advantage-card {
      background: var(--white);
      padding: 32px 24px;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-card);
      text-align: center;
      transition: box-shadow var(--transition-base);
      height: 100%;
    }

    .advantage-card:hover {
      box-shadow: var(--shadow-card-hover);
    }

    .advantage-icon {
      font-size: 40px;
      color: var(--accent-gold);
      margin-bottom: 16px;
    }

    .advantage-title {
      margin-bottom: 8px;
    }

    /* 产品卡片 */
    .product-card {
      background: var(--white);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-card);
      transition: all var(--transition-base);
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .product-card:hover {
      box-shadow: var(--shadow-card-hover);
      transform: translateY(-2px);
    }

    .product-img {
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      border-radius: var(--radius-md) var(--radius-md) 0 0;
    }

    .product-body {
      padding: 20px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .product-link {
      align-self: flex-start;
      margin-top: auto;
    }

    /* 流程步骤 */
    .step-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      position: relative;
    }

    .step-number {
      font-size: 48px;
      font-weight: 700;
      color: rgba(11, 74, 63, 0.15);
      line-height: 1;
      margin-bottom: 8px;
    }

    .step-line {
      display: none;
      width: 100%;
      height: 2px;
      border-top: 2px dashed var(--border-light);
      position: absolute;
      top: 60px;
      left: 60%;
      z-index: -1;
    }

    @media (min-width: 768px) {
      .step-line {
        display: block;
      }
    }

    /* 数据卡片 */
    .stat-card {
      background: var(--white);
      padding: 28px 20px;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-card);
      text-align: center;
    }

    .stat-number {
      font-size: 42px;
      font-weight: 700;
      color: var(--accent-gold);
      line-height: 1.2;
    }

    .stat-desc {
      font-size: 14px;
      color: var(--text-secondary);
      margin-top: 8px;
    }

    /* 合作伙伴占位 */
    .partner-placeholder {
      width: 100px;
      height: 50px;
      background-color: #e0e0e0;
      border-radius: 4px;
      display: inline-block;
      margin: 0 12px;
    }

    /* FAQ */
    .accordion-custom .accordion-item {
      border: none;
      border-bottom: 1px solid var(--border-light);
      background: transparent;
    }

    .accordion-custom .accordion-button {
      background: var(--white);
      color: var(--text-primary);
      font-weight: 600;
      font-size: 17px;
      box-shadow: none;
      padding: 20px 24px;
    }

    .accordion-custom .accordion-button:not(.collapsed) {
      background-color: #F7F6F2;
      color: var(--primary);
      box-shadow: none;
    }

    .accordion-custom .accordion-button::after {
      background-image: none;
      content: '+';
      font-size: 24px;
      font-weight: 400;
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .accordion-custom .accordion-button:not(.collapsed)::after {
      content: '−';
    }

    .accordion-custom .accordion-body {
      padding: 0 24px 20px 24px;
      color: var(--text-secondary);
      line-height: 1.8;
    }

    /* CTA 横幅 */
    .cta-banner {
      background-color: var(--primary);
      padding: 80px 0;
      text-align: center;
    }

    /* 联系部分 */
    .contact-info i {
      color: var(--accent-gold);
      margin-right: 12px;
      font-size: 18px;
    }

    .form-control-custom {
      border-radius: var(--radius-sm);
      border: 1px solid var(--border-light);
      padding: 12px 16px;
      font-size: 16px;
      transition: border-color var(--transition-base);
      background-color: var(--white);
    }

    .form-control-custom:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 2px rgba(11, 74, 63, 0.15);
      outline: none;
    }

    /* 页脚 */
    .footer-section {
      background-color: var(--footer-bg);
      color: var(--footer-text);
      padding: 60px 0 20px;
    }

    .footer-section a {
      color: var(--footer-text);
      text-decoration: none;
    }

    .footer-section a:hover {
      color: var(--accent-gold);
    }

    .footer-bottom {
      border-top: 1px solid #333;
      padding-top: 20px;
      margin-top: 40px;
      text-align: center;
      font-size: 13px;
      color: #888;
    }

    /* 移动端触摸优化 */
    @media (max-width: 576px) {
      .btn-primary-custom, .btn-outline-custom, .btn-light-custom,
      .nav-link-custom, .accordion-button {
        min-height: 44px;
        display: flex;
        align-items: center;
      }
      .nav-link-custom {
        min-height: 44px;
      }
    }

    /* 禁用 Bootstrap 默认蓝色等 */
    .btn-primary {
      background-color: var(--primary) !important;
      border-color: var(--primary) !important;
    }
    a {
      color: var(--primary);
    }
