/* roulang page: index */
:root {
      --bg-base: #070b14;
      --bg-alt: #0b1325;
      --bg-card: rgba(15, 23, 42, 0.72);
      --bg-card-hover: rgba(20, 32, 58, 0.88);
      --primary-blue: #0066ff;
      --accent-cyan: #00d2ff;
      --accent-green: #00f5a0;
      --accent-amber: #ffaa00;
      --text-pure: #ffffff;
      --text-main: #cbd5e1;
      --text-muted: #94a3b8;
      --border-soft: rgba(0, 210, 255, 0.16);
      --border-bright: rgba(0, 210, 255, 0.45);
      --grad-primary: linear-gradient(135deg, #0066ff 0%, #00d2ff 100%);
      --grad-surface: linear-gradient(180deg, rgba(16, 29, 56, 0.6) 0%, rgba(9, 16, 32, 0.85) 100%);
      --radius-sm: 6px;
      --radius-md: 12px;
      --radius-lg: 18px;
      --shadow-glow: 0 0 25px rgba(0, 210, 255, 0.35);
      --shadow-card: 0 12px 36px -10px rgba(0, 102, 255, 0.22);
      --transition-fast: all 0.25s ease;
      --container-max: 1280px;
    }

    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      background-color: var(--bg-base);
      color: var(--text-main);
      font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      font-size: 15px;
      line-height: 1.7;
      text-size-adjust: 100%;
    }

    body {
      background-color: var(--bg-base);
      overflow-x: hidden;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: var(--transition-fast);
    }

    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;
    }

    /* 顶部通知条 */
    .top-broadcaster {
      background: rgba(7, 11, 20, 0.95);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 12px;
      padding: 6px 0;
      color: var(--text-muted);
    }
    .top-broadcaster .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
    }
    .live-node-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .pulse-dot {
      width: 8px;
      height: 8px;
      background-color: var(--accent-green);
      border-radius: 50%;
      box-shadow: 0 0 10px var(--accent-green);
      animation: pulseAnimation 2s infinite;
    }
    @keyframes pulseAnimation {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(1.3); }
    }

    /* 导航栏 */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 999;
      background: rgba(7, 11, 20, 0.85);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border-soft);
    }
    .nav-wrapper {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 74px;
    }
    .brand-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 18px;
      font-weight: 700;
      color: var(--text-pure);
      letter-spacing: 0.5px;
    }
    .brand-icon-wrap {
      width: 42px;
      height: 42px;
      background: var(--grad-primary);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      color: #fff;
      box-shadow: var(--shadow-glow);
    }
    .nav-menu {
      display: flex;
      align-items: center;
      gap: 24px;
      list-style: none;
    }
    .nav-link {
      font-size: 14px;
      color: var(--text-main);
      padding: 8px 12px;
      border-radius: var(--radius-sm);
      transition: var(--transition-fast);
      position: relative;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--accent-cyan);
    }
    .nav-link:hover::after, .nav-link.active::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 12px;
      right: 12px;
      height: 2px;
      background: var(--accent-cyan);
      box-shadow: 0 0 8px var(--accent-cyan);
    }
    .header-actions {
      display: flex;
      align-items: center;
      gap: 14px;
    }
    .mobile-toggle {
      display: none;
      background: transparent;
      border: 1px solid var(--border-soft);
      color: var(--text-pure);
      width: 42px;
      height: 42px;
      border-radius: var(--radius-sm);
      font-size: 18px;
      cursor: pointer;
    }

    /* 按钮系统 */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 12px 24px;
      border-radius: var(--radius-md);
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition-fast);
      border: 1px solid transparent;
      font-size: 14px;
      line-height: 1.2;
      text-align: center;
    }
    .btn-glow {
      background: var(--grad-primary);
      color: #ffffff;
      box-shadow: 0 4px 18px rgba(0, 102, 255, 0.4);
    }
    .btn-glow:hover {
      box-shadow: 0 0 25px rgba(0, 210, 255, 0.7);
      transform: translateY(-2px);
      color: #fff;
    }
    .btn-outline {
      background: rgba(15, 23, 42, 0.5);
      border-color: var(--border-bright);
      color: var(--accent-cyan);
      backdrop-filter: blur(8px);
    }
    .btn-outline:hover {
      background: rgba(0, 210, 255, 0.15);
      color: #ffffff;
      border-color: var(--accent-cyan);
      transform: translateY(-2px);
    }

    /* 板块统一排版 */
    section {
      padding: 85px 0;
      position: relative;
    }
    .section-alt {
      background-color: var(--bg-alt);
    }
    .section-head {
      margin-bottom: 50px;
      text-align: center;
    }
    .section-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(0, 210, 255, 0.1);
      border: 1px solid var(--border-soft);
      color: var(--accent-cyan);
      font-size: 13px;
      padding: 6px 16px;
      border-radius: 9999px;
      margin-bottom: 16px;
      font-weight: 600;
      letter-spacing: 0.5px;
    }
    .section-title {
      font-size: 32px;
      font-weight: 700;
      color: var(--text-pure);
      margin-bottom: 16px;
      letter-spacing: -0.5px;
    }
    .section-desc {
      max-width: 780px;
      margin: 0 auto;
      color: var(--text-muted);
      font-size: 15px;
      line-height: 1.8;
    }

    /* 玻璃拟态卡片 */
    .glass-card {
      background: var(--bg-card);
      border: 1px solid var(--border-soft);
      border-radius: var(--radius-lg);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow: var(--shadow-card);
      transition: var(--transition-fast);
      position: relative;
      overflow: hidden;
    }
    .glass-card:hover {
      border-color: var(--border-bright);
      background: var(--bg-card-hover);
      box-shadow: 0 16px 40px -10px rgba(0, 210, 255, 0.25);
      transform: translateY(-4px);
    }

    /* Section 1: Hero Banner */
    #hero {
      padding: 90px 0 100px;
      background: radial-gradient(circle at 80% 20%, rgba(0, 102, 255, 0.2) 0%, transparent 60%),
                  radial-gradient(circle at 10% 80%, rgba(0, 210, 255, 0.12) 0%, transparent 50%),
                  url('/assets/images/aef4ab8569dc102a.jpg') center/cover no-repeat;
      position: relative;
    }
    #hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(7, 11, 20, 0.88);
      z-index: 1;
    }
    #hero .container {
      position: relative;
      z-index: 2;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 48px;
      align-items: center;
    }
    .hero-content h1 {
      font-size: 42px;
      line-height: 1.25;
      color: var(--text-pure);
      font-weight: 800;
      margin-bottom: 22px;
      letter-spacing: -0.5px;
    }
    .hero-content h1 span {
      background: var(--grad-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-lead {
      font-size: 16px;
      color: var(--text-main);
      margin-bottom: 32px;
      line-height: 1.8;
      max-width: 640px;
    }
    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: 36px;
    }
    .hero-highlights {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .hero-metric-item h4 {
      color: var(--accent-cyan);
      font-size: 20px;
      font-weight: 700;
    }
    .hero-metric-item p {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* 首屏交互式演示工作台 */
    .demo-stage {
      background: rgba(11, 19, 37, 0.85);
      border: 1px solid var(--border-bright);
      border-radius: var(--radius-lg);
      padding: 24px;
      backdrop-filter: blur(20px);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--shadow-glow);
    }
    .demo-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--border-soft);
      margin-bottom: 16px;
    }
    .demo-title {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-pure);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .demo-tag {
      font-size: 11px;
      background: rgba(0, 245, 160, 0.15);
      color: var(--accent-green);
      padding: 2px 8px;
      border-radius: 4px;
    }
    .demo-query-bar {
      display: flex;
      gap: 8px;
      margin-bottom: 18px;
    }
    .demo-input {
      flex: 1;
      background: rgba(7, 11, 20, 0.8);
      border: 1px solid var(--border-soft);
      border-radius: var(--radius-sm);
      padding: 8px 12px;
      font-size: 13px;
      color: #fff;
    }
    .demo-input:focus {
      outline: none;
      border-color: var(--accent-cyan);
    }
    .stream-feed {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 18px;
    }
    .stream-row {
      background: rgba(15, 23, 42, 0.6);
      border-left: 3px solid var(--primary-blue);
      padding: 8px 12px;
      border-radius: 4px;
      font-size: 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .stream-row.alert {
      border-left-color: var(--accent-amber);
    }
    .radar-stats {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      background: rgba(7, 11, 20, 0.6);
      padding: 12px;
      border-radius: var(--radius-md);
    }
    .radar-stat-box {
      font-size: 12px;
    }
    .radar-stat-val {
      font-size: 18px;
      font-weight: 700;
      color: var(--text-pure);
    }

    /* Section 2: 架构拓扑 */
    .arch-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;
    }
    .arch-diagram {
      background: var(--grad-surface);
      border: 1px solid var(--border-soft);
      border-radius: var(--radius-lg);
      padding: 28px;
      display: flex;
      flex-direction: column;
      gap: 18px;
    }
    .arch-node {
      background: rgba(15, 23, 42, 0.9);
      border: 1px dashed var(--border-bright);
      padding: 16px 20px;
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .arch-node i {
      font-size: 24px;
      color: var(--accent-cyan);
    }
    .arch-node-info h4 {
      font-size: 15px;
      color: var(--text-pure);
      margin-bottom: 4px;
    }
    .arch-node-info p {
      font-size: 12px;
      color: var(--text-muted);
    }
    .arch-specs-list {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .spec-card {
      background: var(--bg-card);
      border-left: 4px solid var(--accent-cyan);
      padding: 18px 24px;
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
      border-top: 1px solid var(--border-soft);
      border-right: 1px solid var(--border-soft);
      border-bottom: 1px solid var(--border-soft);
    }
    .spec-card h3 {
      font-size: 18px;
      color: var(--text-pure);
      margin-bottom: 6px;
    }

    /* Section 3: 优势矩阵 (6 cards) */
    .adv-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .adv-card {
      padding: 30px;
    }
    .adv-icon-badge {
      width: 52px;
      height: 52px;
      border-radius: var(--radius-md);
      background: rgba(0, 102, 25; 0, 0.75); } .adv-icon-badge::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 8px; height: 8px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.75); }
