/* roulang page: index */
:root {
      --primary: #00E5A3;
      --primary-hover: #00C78E;
      --primary-subtle: rgba(0, 229, 163, 0.12);
      --accent-blue: #1A56DB;
      --accent-orange: #FF5722;
      --dark-bg: #0D1117;
      --dark-surface: #161B22;
      --dark-card: #1C2128;
      --text-main: #1F2937;
      --text-muted: #4B5563;
      --text-light: #E6EDF3;
      --bg-light: #F4F6F9;
      --border-light: rgba(226, 232, 240, 0.9);
      --border-dark: rgba(255, 255, 255, 0.08);
      --radius-sm: 8px;
      --radius-md: 16px;
      --radius-pill: 50px;
      --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.04);
      --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
      --shadow-dark: 0 12px 36px rgba(0, 0, 0, 0.35);
      --font-stack: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 96px;
      font-family: var(--font-stack);
    }

    body {
      background-color: #FFFFFF;
      color: var(--text-main);
      line-height: 1.75;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: all 0.25s ease;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    /* 顶栏 */
    .top-bar {
      background-color: var(--dark-bg);
      color: #8B949E;
      font-size: 0.85rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .top-bar span {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    /* 浮动导航栏 */
    .floating-nav-wrapper {
      position: sticky;
      top: 14px;
      z-index: 1050;
      width: 100%;
      padding: 0 1rem;
    }
    .floating-navbar {
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-pill);
      box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
      padding: 0.55rem 1.4rem;
      transition: all 0.3s ease;
    }
    .nav-brand-title {
      font-size: 1.15rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .brand-icon {
      width: 32px;
      height: 32px;
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent-blue) 100%);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #0D1117;
      font-size: 0.95rem;
    }
    .nav-link {
      font-size: 0.92rem;
      font-weight: 500;
      color: var(--text-muted) !important;
      padding: 0.4rem 0.85rem !important;
      border-radius: var(--radius-pill);
      transition: all 0.2s ease;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--text-main) !important;
      background: var(--bg-light);
    }
    .nav-cta-btn {
      background: var(--primary);
      color: #0D1117 !important;
      font-weight: 700;
      font-size: 0.88rem;
      padding: 0.5rem 1.25rem !important;
      border-radius: var(--radius-pill);
      border: 1px solid transparent;
      box-shadow: 0 2px 8px rgba(0, 229, 163, 0.25);
    }
    .nav-cta-btn:hover {
      background: var(--primary-hover);
      transform: translateY(-1px);
    }

    /* 通用组件 */
    .section-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--primary-subtle);
      color: #00875A;
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      padding: 4px 12px;
      border-radius: var(--radius-pill);
      margin-bottom: 0.85rem;
      border: 1px solid rgba(0, 229, 163, 0.3);
    }
    .section-tag.dark {
      background: rgba(0, 229, 163, 0.15);
      color: var(--primary);
      border-color: rgba(0, 229, 163, 0.3);
    }
    .section-title {
      font-size: 2.15rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      margin-bottom: 1rem;
      line-height: 1.3;
    }
    .section-desc {
      color: var(--text-muted);
      font-size: 1.02rem;
      line-height: 1.75;
      max-width: 760px;
      margin: 0 auto 2.5rem;
    }
    .section-desc.start {
      margin-left: 0;
    }
    .site-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 0.75rem 1.85rem;
      border-radius: var(--radius-pill);
      font-weight: 700;
      font-size: 0.95rem;
      transition: all 0.25s ease;
      min-height: 46px;
      cursor: pointer;
      border: none;
    }
    .site-btn-primary {
      background: var(--primary);
      color: #0D1117;
      box-shadow: 0 4px 14px rgba(0, 229, 163, 0.3);
    }
    .site-btn-primary:hover {
      background: var(--primary-hover);
      color: #0D1117;
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0, 229, 163, 0.35);
    }
    .site-btn-outline {
      background: transparent;
      color: var(--text-main);
      border: 1px solid #D0D7DE;
    }
    .site-btn-outline:hover {
      background: #F6F8FA;
      color: var(--text-main);
    }
    .site-btn-outline-dark {
      background: transparent;
      color: #FFFFFF;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }
    .site-btn-outline-dark:hover {
      background: rgba(255, 255, 255, 0.08);
      color: #FFFFFF;
    }

    .card-modern {
      background: #FFFFFF;
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      padding: 1.75rem;
      transition: all 0.3s ease;
      height: 100%;
      box-shadow: var(--shadow-sm);
    }
    .card-modern:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
      border-color: rgba(0, 229, 163, 0.4);
    }

    /* 各板块样式 */
    .hero-section {
      padding: 3rem 0 4rem;
      position: relative;
      background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    }
    .hero-h1 {
      font-size: 2.75rem;
      font-weight: 800;
      line-height: 1.25;
      letter-spacing: -0.02em;
      margin-bottom: 1.25rem;
    }
    .hero-p {
      font-size: 1.1rem;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 2rem;
    }
    .hero-indicator-pill {
      background: #FFFFFF;
      border: 1px solid #E2E8F0;
      border-radius: var(--radius-md);
      padding: 1.25rem;
      box-shadow: var(--shadow-sm);
    }
    .indicator-value {
      font-size: 1.85rem;
      font-weight: 800;
      color: var(--accent-blue);
      line-height: 1.1;
    }
    .indicator-label {
      font-size: 0.84rem;
      color: #64748B;
      margin-top: 4px;
    }

    /* 架构系统 */
    .arch-spec-box {
      background: #F8FAFC;
      border-left: 4px solid var(--primary);
      padding: 1rem 1.25rem;
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      font-size: 0.92rem;
      color: #334155;
      margin: 1.5rem 0;
    }

    /* 优势卡片图标 */
    .icon-badge {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: var(--primary-subtle);
      color: #00A870;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      margin-bottom: 1.25rem;
    }

    /* 深色仪表盘板块 */
    .dark-dashboard-sec {
      background-color: var(--dark-bg);
      color: var(--text-light);
      padding: 5rem 0;
      position: relative;
    }
    .dark-card-panel {
      background-color: var(--dark-surface);
      border: 1px solid var(--border-dark);
      border-radius: var(--radius-md);
      padding: 1.75rem;
      box-shadow: var(--shadow-dark);
      height: 100%;
    }
    .stream-tag {
      font-family: monospace;
      font-size: 0.8rem;
      color: var(--primary);
      background: rgba(0, 229, 163, 0.1);
      padding: 2px 8px;
      border-radius: 4px;
    }
    .stream-wave-mock {
      height: 60px;
      background: repeating-linear-gradient(90deg, rgba(0, 229, 163, 0.15) 0px, rgba(0, 229, 163, 0.15) 4px, transparent 4px, transparent 12px);
      border-bottom: 2px solid var(--primary);
      border-radius: 4px;
      margin: 1rem 0;
    }

    /* 硬件套件卡片 */
    .device-card-img {
      height: 180px;
      object-fit: cover;
      border-radius: 12px;
      margin-bottom: 1.25rem;
      width: 100%;
    }
    .spec-item {
      font-size: 0.85rem;
      display: flex;
      justify-content: space-between;
      padding: 6px 0;
      border-bottom: 1px dashed #E2E8F0;
    }
    .spec-item:last-child {
      border-bottom: none;
    }

    /* 深色对比与里程碑 */
    .vs-box {
      border-radius: var(--radius-md);
      padding: 1.75rem;
      height: 100%;
    }
    .vs-box-old {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      color: #94A3B8;
    }
    .vs-box-new {
      background: rgba(0, 229, 163, 0.05);
      border: 1px solid rgba(0, 229, 163, 0.3);
      color: #E2E8F0;
    }

    /* 统计汇总条 */
    .metrics-bar-section {
      background: linear-gradient(135deg, #0B192C 0%, #1E293B 100%);
      color: #FFFFFF;
      padding: 3.5rem 0;
    }
    .metric-num {
      font-size: 2.8rem;
      font-weight: 800;
      line-height: 1;
      background: linear-gradient(90deg, #FFFFFF, var(--primary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 0.5rem;
      font-family: monospace;
    }

    /* 折叠手风琴 FAQ */
    .accordion-button {
      font-size: 1.05rem;
      font-weight: 700;
      padding: 1.25rem 1.5rem;
      background-color: #FFFFFF;
      color: var(--text-main);
      border: none;
      box-shadow: none !important;
    }
    .accordion-button:not(.collapsed) {
      color: #007A50;
      background-color: var(--primary-subtle);
    }
    .accordion-item {
      border: 1px solid var(--border-light);
      border-radius: var(--radius-sm) !important;
      margin-bottom: 0.85rem;
      overflow: hidden;
    }
    .accordion-body {
      font-size: 0.95rem;
      color: var(--text-muted);
      line-height: 1.8;
      padding: 1.25rem 1.5rem;
      background: #FFFFFF;
    }

    /* 转化表单 */
    .intake-section {
      background: var(--dark-bg);
      color: #FFFFFF;
      padding: 5rem 0;
    }
    .intake-form-box {
      background: var(--dark-surface);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: var(--radius-md);
      padding: 2.5rem;
      box-shadow: var(--shadow-dark);
    }
    .form-control, .form-select {
      background-color: #0D1117;
      border: 1px solid rgba(255, 255, 255, 0.18);
      color: #FFFFFF;
      padding: 0.75rem 1rem;
      border-radius: 8px;
    }
    .form-control:focus, .form-select:focus {
      background-color: #0D1117;
      border-color: var(--primary);
      color: #FFFFFF;
      box-shadow: 0 0 0 3px rgba(0, 229, 163, 0.2);
    }
    .form-label {
      font-size: 0.88rem;
      color: #CBD5E1;
      margin-bottom: 0.4rem;
    }

    /* 页脚 */
    footer.site-footer {
      background: #06090E;
      color: #8B949E;
      font-size: 0.9rem;
      padding: 4.5rem 0 2rem;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .footer-title {
      font-size: 1.05rem;
      font-weight: 700;
      color: #FFFFFF;
      margin-bottom: 1.25rem;
    }
    .footer-link-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-link-list li {
      margin-bottom: 0.65rem;
    }
    .footer-link-list a:hover {
      color: var(--primary);
    }
    .footer-bottom {
      margin-top: 3.5rem;
      padding-top: 1.5rem;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 0.85rem;
    }

    @media (max-width: 991.98px) {
      .hero-h1 { font-size: 2.15rem; }
      .floating-nav-wrapper { padding: 0 0.5rem; }
      .floating-navbar { border-radius: 16px; padding: 0.75rem 1rem; }
      .navbar-collapse {
        background: #FFFFFF;
        border-radius: 12px;
        padding: 1rem;
        margin-top: 0.5rem;
        box-shadow: var(--shadow-md);
      }
    }
