/* roulang page: index */
:root {
      --bg-base: #F6F5F2;
      --bg-card: #FFFFFF;
      --bg-dark: #111315;
      --bg-dark-card: #1A1D20;
      --text-main: #111315;
      --text-muted: #4A4E54;
      --text-sub: #82878F;
      --text-dark-main: #F6F5F2;
      --text-dark-muted: #9EA4AD;
      --primary: #059669;
      --primary-hover: #047857;
      --accent: #D97706;
      --border-light: #E2E0D8;
      --border-dark: #2A2E33;
      --radius-sm: 4px;
      --radius-md: 6px;
      --radius-pill: 9999px;
      --shadow-sm: 0 2px 6px rgba(17,19,21,0.04), 0 12px 24px rgba(17,19,21,0.06);
      --font-mono: 'JetBrains Mono', 'Fira Code', Menlo, monospace;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background-color: var(--bg-base);
      color: var(--text-main);
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
      line-height: 1.75;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: all 0.2s ease;
    }

    .font-mono {
      font-family: var(--font-mono);
    }

    /* 顶部双行导航 */
    .header-master {
      position: sticky;
      top: 0;
      z-index: 1050;
      background: rgba(246, 245, 242, 0.96);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-light);
    }
    .header-top {
      padding: 10px 0;
      border-bottom: 1px solid rgba(226, 224, 216, 0.6);
      font-size: 0.875rem;
    }
    .status-pulse {
      display: inline-block;
      width: 8px;
      height: 8px;
      background-color: var(--primary);
      border-radius: 50%;
      margin-right: 6px;
      box-shadow: 0 0 0 rgba(5, 150, 105, 0.4);
      animation: pulse-ring 2s infinite;
    }
    @keyframes pulse-ring {
      0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.6); }
      70% { box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
      100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
    }
    .segmented-nav-wrap {
      padding: 8px 0;
      display: flex;
      justify-content: center;
      overflow-x: auto;
      white-space: nowrap;
    }
    .segmented-nav {
      background: #EAE8E1;
      padding: 4px;
      border-radius: var(--radius-pill);
      display: inline-flex;
      gap: 4px;
    }
    .segmented-nav a {
      padding: 6px 16px;
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--text-muted);
      border-radius: var(--radius-pill);
      transition: all 0.2s ease;
      min-height: 36px;
      display: inline-flex;
      align-items: center;
    }
    .segmented-nav a:hover {
      color: var(--text-main);
    }
    .segmented-nav a.active {
      background: #FFFFFF;
      color: var(--text-main);
      box-shadow: 0 2px 5px rgba(0,0,0,0.06);
      font-weight: 600;
    }

    /* 按钮规范 */
    .btn-industrial {
      background-color: var(--bg-dark);
      color: #FFFFFF;
      border: 1px solid var(--bg-dark);
      padding: 10px 22px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 0.95rem;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.25s ease;
    }
    .btn-industrial:hover {
      background-color: #23272B;
      color: #FFFFFF;
      transform: translateY(-1px);
    }
    .btn-industrial .btn-arrow {
      transition: transform 0.2s ease;
    }
    .btn-industrial:hover .btn-arrow {
      transform: translateX(4px);
    }
    .btn-primary-custom {
      background-color: var(--primary);
      color: #FFFFFF;
      border: 1px solid var(--primary);
      padding: 10px 22px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 0.95rem;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .btn-primary-custom:hover {
      background-color: var(--primary-hover);
      color: #FFFFFF;
    }
    .btn-outline-custom {
      background-color: transparent;
      color: var(--text-main);
      border: 1px solid var(--border-light);
      padding: 10px 20px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 0.95rem;
    }
    .btn-outline-custom:hover {
      background-color: #FFFFFF;
      border-color: var(--text-main);
      color: var(--text-main);
    }

    /* 板块排版基础 */
    section {
      padding: 85px 0;
      position: relative;
    }
    .section-header {
      margin-bottom: 52px;
    }
    .section-badge {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      font-weight: 700;
      color: var(--primary);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 8px;
      display: inline-block;
    }
    .section-title {
      font-size: clamp(1.75rem, 2.6vw, 2.35rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.25;
      color: var(--text-main);
      margin-bottom: 14px;
    }
    .section-desc {
      font-size: 1rem;
      color: var(--text-muted);
      max-width: 780px;
      line-height: 1.75;
    }

    /* 工业风卡片 */
    .industrial-card {
      background: var(--bg-card);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      padding: 32px;
      height: 100%;
      position: relative;
      transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: var(--shadow-sm);
    }
    .industrial-card:hover {
      transform: translateY(-4px);
      border-top-color: var(--primary);
    }
    .card-meta-idx {
      font-family: var(--font-mono);
      font-size: 0.85rem;
      color: var(--text-sub);
      font-weight: 600;
      margin-bottom: 16px;
    }

    /* 暗色对比区 */
    .section-dark {
      background-color: var(--bg-dark);
      color: var(--text-dark-main);
    }
    .section-dark .section-title {
      color: var(--text-dark-main);
    }
    .section-dark .section-desc {
      color: var(--text-dark-muted);
    }
    .section-dark .industrial-card {
      background: var(--bg-dark-card);
      border-color: var(--border-dark);
      color: var(--text-dark-main);
    }
    .section-dark .card-meta-idx {
      color: var(--text-dark-muted);
    }

    /* 首屏轮播定制 */
    .hero-carousel-item {
      min-height: 620px;
      background-size: cover;
      background-position: center;
      position: relative;
      display: flex;
      align-items: center;
    }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(17,19,21,0.92) 0%, rgba(17,19,21,0.78) 55%, rgba(17,19,21,0.45) 100%);
    }
    .hero-content {
      position: relative;
      z-index: 2;
      color: #FFFFFF;
      padding: 60px 0;
    }
    .hero-h1 {
      font-size: clamp(2.2rem, 3.8vw, 3.5rem);
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.18;
      margin-bottom: 20px;
    }
    .hero-lead {
      font-size: 1.05rem;
      line-height: 1.8;
      color: #D1D5DB;
      max-width: 720px;
      margin-bottom: 32px;
    }

    /* 数据展示条 */
    .stat-number {
      font-family: var(--font-mono);
      font-size: clamp(2.5rem, 4vw, 3.4rem);
      font-weight: 700;
      line-height: 1.1;
      color: var(--text-main);
    }
    .stat-unit {
      color: var(--primary);
      font-size: 1.8rem;
      margin-left: 4px;
    }

    /* 流程时间线 */
    .workflow-step {
      position: relative;
      padding: 24px 20px;
      background: #FFFFFF;
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      height: 100%;
    }
    .step-number {
      font-family: var(--font-mono);
      font-size: 1.1rem;
      color: var(--primary);
      font-weight: 700;
      margin-bottom: 12px;
    }

    /* 手风琴覆写 */
    .accordion-industrial .accordion-item {
      background: transparent;
      border: none;
      border-bottom: 1px solid var(--border-light);
      border-radius: 0;
      margin-bottom: 0;
    }
    .accordion-industrial .accordion-button {
      background: transparent;
      box-shadow: none;
      font-weight: 600;
      font-size: 1.1rem;
      color: var(--text-main);
      padding: 22px 0;
    }
    .accordion-industrial .accordion-button:not(.collapsed) {
      color: var(--primary);
      background: transparent;
    }
    .accordion-industrial .accordion-body {
      padding: 0 0 24px 0;
      color: var(--text-muted);
      line-height: 1.8;
    }

    /* 合作伙伴徽章 */
    .partner-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 16px;
    }
    .partner-badge-item {
      background: #FFFFFF;
      border: 1px solid var(--border-light);
      padding: 20px;
      text-align: center;
      border-radius: var(--radius-sm);
      font-family: var(--font-mono);
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-muted);
      transition: all 0.2s ease;
    }
    .partner-badge-item:hover {
      border-color: var(--text-main);
      color: var(--text-main);
      background: #FAFAF8;
    }

    /* 页脚 */
    footer {
      background-color: var(--bg-dark);
      color: var(--text-dark-muted);
      padding: 70px 0 35px 0;
      border-top: 1px solid var(--border-dark);
      font-size: 0.9rem;
    }
    footer h5 {
      color: var(--text-dark-main);
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 20px;
    }
    footer a {
      color: var(--text-dark-muted);
    }
    footer a:hover {
      color: #FFFFFF;
    }

    @media (max-width: 991px) {
      .hero-carousel-item { min-height: 540px; }
      section { padding: 60px 0; }
    }
    @media (max-width: 576px) {
      .segmented-nav-wrap { justify-content: flex-start; }
      .hero-carousel-item { min-height: 480px; }
      .stat-number { font-size: 2.2rem; }
    }
