/* roulang page: index */
:root {
      --bg-deep: #0b0e14;
      --bg-surface: #141923;
      --bg-surface-elevated: #1a2232;
      --border-color: #232b3d;
      --border-highlight: rgba(124, 58, 237, 0.4);
      --brand-primary: #7c3aed;
      --brand-secondary: #6366f1;
      --accent-neon: #06b6d4;
      --accent-green: #10b981;
      --text-main: #f8fafc;
      --text-muted: #94a3b8;
      --text-dim: #64748b;
      --font-stack: system-ui, -apple-system, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
      --container-max: 1240px;
      --radius-sm: 6px;
      --radius-md: 12px;
      --radius-lg: 18px;
      --transition: 240ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background-color: var(--bg-deep);
      color: var(--text-main);
      font-family: var(--font-stack);
      line-height: 1.75;
      font-size: 16px;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: color var(--transition);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, input, select, textarea {
      font-family: inherit;
      font-size: inherit;
      color: inherit;
    }

    .container {
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 顶部导航与面包屑体系 */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(11, 14, 20, 0.92);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border-color);
    }

    .header-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .brand-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 20px;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: #fff;
    }

    .brand-icon {
      width: 32px;
      height: 32px;
      border-radius: var(--radius-sm);
      background: linear-gradient(135deg, var(--brand-primary), var(--accent-neon));
      display: grid;
      place-items: center;
      font-weight: 900;
      font-size: 14px;
      color: #fff;
      box-shadow: 0 0 16px rgba(124, 58, 237, 0.5);
    }

    .header-meta {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 4px 12px;
      border-radius: 999px;
      background: rgba(16, 185, 129, 0.1);
      border: 1px solid rgba(16, 185, 129, 0.25);
      font-size: 13px;
      color: #34d399;
    }

    .status-dot {
      width: 8px;
      height: 8px;
      background: var(--accent-green);
      border-radius: 50%;
      box-shadow: 0 0 8px var(--accent-green);
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.4; }
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .btn-sm {
      padding: 6px 14px;
      font-size: 13px;
      font-weight: 500;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border-color);
      background: var(--bg-surface);
      transition: all var(--transition);
    }

    .btn-sm:hover {
      border-color: var(--accent-neon);
      color: var(--accent-neon);
    }

    .header-nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 0;
      font-size: 14px;
    }

    .nav-links {
      display: flex;
      gap: 24px;
      list-style: none;
      overflow-x: auto;
      white-space: nowrap;
      padding: 4px 0;
    }

    .nav-links a {
      color: var(--text-muted);
      position: relative;
      padding: 4px 2px;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: #fff;
    }

    .nav-links a.active::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--accent-neon);
      box-shadow: 0 0 8px var(--accent-neon);
    }

    /* 随动面包屑指示条 */
    .breadcrumb-bar {
      background: #0f141d;
      border-bottom: 1px solid var(--border-color);
      padding: 6px 0;
      font-size: 12px;
      color: var(--text-dim);
    }

    .breadcrumb-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .breadcrumb-path {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .breadcrumb-path span {
      color: var(--text-muted);
    }

    /* 公共 Section 体系 */
    section {
      padding: 80px 0;
      position: relative;
      border-bottom: 1px solid var(--border-color);
    }

    .section-alt {
      background: #0e121a;
    }

    .section-header {
      margin-bottom: 48px;
    }

    .section-tag {
      display: inline-block;
      font-size: 13px;
      font-weight: 600;
      color: var(--accent-neon);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 8px;
    }

    .section-title {
      font-size: 32px;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--text-main);
      margin-bottom: 16px;
      text-wrap: balance;
    }

    .section-desc {
      font-size: 15px;
      color: var(--text-muted);
      max-width: 820px;
      line-height: 1.7;
    }

    /* 按钮与交互徽章 */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 24px;
      font-size: 15px;
      font-weight: 600;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: all var(--transition);
      border: 1px solid transparent;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
      color: #fff;
      box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
    }

    .btn-primary:hover {
      box-shadow: 0 6px 28px rgba(124, 58, 237, 0.55);
      transform: translateY(-2px);
    }

    .btn-outline {
      background: rgba(255, 255, 255, 0.04);
      border-color: var(--border-color);
      color: var(--text-main);
    }

    .btn-outline:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: var(--accent-neon);
      color: var(--accent-neon);
      transform: translateY(-2px);
    }

    /* 板块 1: Hero 本地感地图与首屏 */
    .hero-section {
      padding: 90px 0 80px;
      background: radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.18), transparent 50%),
                  radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.12), transparent 40%),
                  url('/assets/images/a4724a5aef875064.jpg') center/cover no-repeat;
      position: relative;
    }

    .hero-overlay {
      position: absolute;
      inset: 0;
      background: rgba(11, 14, 20, 0.88);
      backdrop-filter: blur(4px);
    }

    .hero-wrapper {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 48px;
      align-items: center;
    }

    .hero-h1 {
      font-size: 44px;
      line-height: 1.25;
      font-weight: 800;
      letter-spacing: -0.02em;
      margin-bottom: 20px;
      background: linear-gradient(to right, #ffffff, #cbd5e1);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-text {
      font-size: 16px;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 32px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      margin-bottom: 40px;
      flex-wrap: wrap;
    }

    .hero-geo-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 24px;
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
    }

    .geo-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--border-color);
    }

    .geo-title {
      font-size: 15px;
      font-weight: 700;
      color: #fff;
    }

    .geo-cluster-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      margin-bottom: 16px;
    }

    .geo-item {
      background: rgba(255, 255, 255, 0.03);
      padding: 10px 14px;
      border-radius: var(--radius-sm);
      border: 1px solid rgba(255, 255, 255, 0.05);
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .geo-item-name {
      font-size: 13px;
      color: var(--text-main);
      font-weight: 600;
    }

    .geo-item-val {
      font-size: 12px;
      color: var(--accent-neon);
    }

    .geo-notice {
      font-size: 12px;
      color: var(--text-dim);
      line-height: 1.5;
    }

    /* 板块 2: 入口矩阵 */
    .portal-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .portal-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 24px;
      transition: all var(--transition);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .portal-card:hover {
      transform: translateY(-4px);
      border-color: var(--accent-neon);
      box-shadow: 0 12px 32px -8px rgba(6, 182, 212, 0.2);
    }

    .portal-icon {
      width: 44px;
      height: 44px;
      background: rgba(124, 58, 237, 0.15);
      border: 1px solid rgba(124, 58, 237, 0.3);
      border-radius: var(--radius-sm);
      display: grid;
      place-items: center;
      margin-bottom: 16px;
      color: var(--accent-neon);
      font-weight: bold;
    }

    .portal-name {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 8px;
      color: #fff;
    }

    .portal-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 16px;
    }

    .portal-link {
      font-size: 13px;
      color: var(--accent-neon);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    /* 板块 3: 最新动态 (KPI 表格式小组件) */
    .stream-table {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      overflow: hidden;
    }

    .stream-row {
      display: grid;
      grid-template-columns: 2fr 1.5fr 1fr 1fr 1fr;
      padding: 16px 24px;
      align-items: center;
      border-bottom: 1px solid var(--border-color);
      font-size: 14px;
      transition: background var(--transition);
    }

    .stream-row:last-child {
      border-bottom: none;
    }

    .stream-row:hover {
      background: rgba(255, 255, 255, 0.02);
    }

    .stream-head {
      background: #111622;
      font-weight: 600;
      color: var(--text-dim);
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .stream-tag {
      display: inline-block;
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 12px;
      background: rgba(124, 58, 237, 0.2);
      color: #c4b5fd;
      border: 1px solid rgba(124, 58, 237, 0.4);
    }

    /* 板块 4: 精选分类 */
    .category-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .category-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: all var(--transition);
    }

    .category-card:hover {
      transform: translateY(-4px);
      border-color: var(--brand-primary);
      box-shadow: 0 12px 32px -8px rgba(124, 58, 237, 0.3);
    }

    .cat-thumb {
      height: 190px;
      width: 100%;
      object-fit: cover;
      border-bottom: 1px solid var(--border-color);
    }

    .cat-body {
      padding: 20px;
    }

    .cat-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 8px;
      color: #fff;
    }

    .cat-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 14px;
    }

    .cat-meta {
      display: flex;
      justify-content: space-between;
      font-size: 12px;
      color: var(--text-dim);
      padding-top: 10px;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* 板块 5: 资讯与技术报告 */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .news-item {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: border-color var(--transition);
    }

    .news-item:hover {
      border-color: var(--accent-neon);
    }

    .news-date {
      font-size: 12px;
      color: var(--accent-neon);
      font-weight: 600;
      margin-bottom: 8px;
    }

    .news-heading {
      font-size: 17px;
      font-weight: 700;
      line-height: 1.45;
      margin-bottom: 10px;
      color: #fff;
    }

    .news-snippet {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 16px;
    }

    /* 板块 6: 版本更新日志 */
    .release-timeline {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .release-row {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 20px 24px;
      display: grid;
      grid-template-columns: 180px 1fr 140px;
      align-items: center;
      gap: 20px;
    }

    .release-ver {
      font-weight: 700;
      font-size: 16px;
      color: var(--accent-neon);
    }

    .release-detail {
      font-size: 14px;
      color: var(--text-muted);
    }

    .release-date {
      font-size: 13px;
      color: var(--text-dim);
      text-align: right;
    }

    /* 板块 7: App/多端支持 */
    .multi-device-box {
      background: linear-gradient(135deg, rgba(20, 25, 35, 0.95), rgba(15, 20, 30, 0.95));
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 44px;
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 40px;
      align-items: center;
    }

    .device-badges {
      display: flex;
      gap: 12px;
      margin-top: 24px;
      flex-wrap: wrap;
    }

    .device-badge-item {
      padding: 8px 16px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: var(--radius-sm);
      font-size: 13px;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    /* 板块 8: 核心指标看板 (Metrics) */
    .metric-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .metric-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 24px;
      text-align: center;
    }

    .metric-num {
      font-size: 38px;
      font-weight: 800;
      color: #fff;
      margin-bottom: 4px;
      background: linear-gradient(135deg, #fff, var(--accent-neon));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .metric-label {
      font-size: 14px;
      color: var(--text-muted);
      font-weight: 500;
    }

    /* 板块 9: 结果对比 (Benchmarks) */
    .compare-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      overflow: hidden;
    }

    .compare-table th,
    .compare-table td {
      padding: 18px 24px;
      text-align: left;
      font-size: 14px;
      border-bottom: 1px solid var(--border-color);
    }

    .compare-table tr:last-child td {
      border-bottom: none;
    }

    .compare-table th {
      background: #111622;
      color: var(--text-dim);
      font-size: 13px;
    }

    .compare-brand {
      color: var(--accent-neon);
      font-weight: 700;
      background: rgba(6, 182, 212, 0.05);
    }

    /* 板块 10: 架构与技术规格 (Specs) */
    .spec-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }

    .spec-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 30px;
    }

    .spec-card-title {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 16px;
      color: #fff;
    }

    .spec-card-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
      margin-bottom: 20px;
    }

    .spec-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .spec-list li {
      font-size: 13px;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .spec-list li::before {
      content: '✔';
      color: var(--accent-green);
      font-weight: 900;
    }

    /* 板块 11: 案例证明 (Case Studies) */
    .case-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .case-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .case-client {
      font-size: 17px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 8px;
    }

    .case-quote {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.65;
      margin-bottom: 16px;
      font-style: italic;
    }

    .case-stat {
      padding-top: 14px;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
    }

    /* 板块 12: 平台安全体系与保障 (Security) */
    .security-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .sec-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 22px;
      text-align: left;
    }

    .sec-badge {
      width: 36px;
      height: 36px;
      border-radius: 6px;
      background: rgba(16, 185, 129, 0.15);
      border: 1px solid rgba(16, 185, 129, 0.3);
      color: var(--accent-green);
      display: grid;
      place-items: center;
      margin-bottom: 12px;
      font-weight: bold;
    }

    .sec-title {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 6px;
      color: #fff;
    }

    .sec-desc {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* 板块 13: 快速解答与常见疑问 (FAQ) */
    .faq-list {
      max-width: 900px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .faq-item {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: border-color var(--transition);
    }

    .faq-header {
      padding: 18px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      font-size: 16px;
      font-weight: 600;
      color: #fff;
    }

    .faq-icon {
      font-size: 18px;
      transition: transform var(--transition);
    }

    .faq-body {
      padding: 0 24px 20px 24px;
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
      display: none;
    }

    .faq-item.active .faq-body {
      display: block;
    }

    .faq-item.active .faq-icon {
      transform: rotate(45deg);
    }

    /* 板块 14: 底部转化接入与控制台表单 */
    .signup-wrap {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 48px;
      background: linear-gradient(135deg, #141923, #0f131a);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 48px;
      align-items: center;
    }

    .form-box {
      background: rgba(11, 14, 20, 0.7);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-md);
      padding: 28px;
    }

    .form-group {
      margin-bottom: 16px;
    }

    .form-label {
      display: block;
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 6px;
      font-weight: 500;
    }

    .form-control {
      width: 100%;
      padding: 10px 14px;
      background: #141923;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      color: #fff;
      font-size: 14px;
      transition: border-color var(--transition);
    }

    .form-control:focus {
      outline: none;
      border-color: var(--accent-neon);
    }

    /* 页脚 */
    .site-footer {
      background: #080a0f;
      border-top: 1px solid var(--border-color);
      padding: 60px 0 24px;
      font-size: 14px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.6fr 1fr 1fr 1fr;
      gap: 36px;
      margin-bottom: 40px;
    }

    .footer-brand-title {
      font-size: 18px;
      font-weight: 800;
      color: #fff;
      margin-bottom: 12px;
    }

    .footer-brand-desc {
      color: var(--text-muted);
      font-size: 13px;
      line-height: 1.7;
      max-width: 320px;
      margin-bottom: 16px;
    }

    .footer-col-title {
      font-size: 14px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 14px;
    }

    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 8px;
      font-size: 13px;
      color: var(--text-muted);
    }

    .footer-links a:hover {
      color: var(--accent-neon);
    }

    .footer-bottom {
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      color: var(--text-dim);
      flex-wrap: wrap;
      gap: 12px;
    }

    /* 移动端与响应式适配 */
    @media (max-width: 1024px) {
      .portal-grid { grid-template-columns: repeat(2, 1fr); }
      .category-grid { grid-template-columns: repeat(2, 1fr); }
      .news-grid { grid-template-columns: repeat(2, 1fr); }
      .security-grid { grid-template-columns: repeat(2, 1fr); }
      .metric-grid { grid-template-columns: repeat(2, 1fr); }
      .hero-wrapper { grid-template-columns: 1fr; }
      .signup-wrap { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 768px) {
      .section-title { font-size: 26px; }
      .hero-h1 { font-size: 32px; }
      .category-grid, .news-grid, .portal-grid, .case-grid, .spec-grid { grid-template-columns: 1fr; }
      .stream-row { grid-template-columns: 1fr 1fr; gap: 8px; }
      .stream-head { display: none; }
      .release-row { grid-template-columns: 1fr; gap: 6px; }
      .multi-device-box { grid-template-columns: 1fr; padding: 24px; }
      .signup-wrap { padding: 24px; }
      .footer-grid { grid-template-columns: 1fr; }
    }
