/* roulang page: index */
:root {
      --primary: #00E5A0;
      --primary-glow: rgba(0, 229, 160, 0.25);
      --secondary-dark: #1A1A2E;
      --accent: #FF6B35;
      --bg-deep: #0F0F1A;
      --bg-card: #161625;
      --bg-compare-light: #F5F5F0;
      --text-primary: #FFFFFF;
      --text-secondary: rgba(255, 255, 255, 0.6);
      --border-dim: rgba(255, 255, 255, 0.08);
      --border-hover: rgba(0, 229, 160, 0.4);
      --radius: 8px;
      --font-mono: 'SF Mono', 'JetBrains Mono', 'Consolas', monospace;
      --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
      --nav-height: 64px;
      --section-gap: 100px;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: var(--font-sans);
      background-color: var(--bg-deep);
      color: var(--text-primary);
      line-height: 1.7;
      font-weight: 400;
      overflow-x: hidden;
    }

    h1, h2, h3, h4, .h1, .h2, .h3 {
      font-weight: 600;
    }

    a {
      color: var(--primary);
      text-decoration: none;
      transition: color 0.3s ease, border-color 0.3s ease;
    }
    a:hover {
      color: #1AFFB5;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    /* 自定义容器 */
    .custom-container {
      max-width: 1140px;
      margin: 0 auto;
      padding: 0 15px;
    }

    /* 导航栏覆盖 Bootstrap */
    .navbar {
      background: rgba(15, 15, 26, 0.85) !important;
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-dim);
      height: var(--nav-height);
      padding: 0 15px;
    }
    .navbar-brand {
      font-weight: 700;
      font-size: 1.25rem;
      color: #fff !important;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .logo-pixel {
      display: flex;
      gap: 3px;
    }
    .logo-pixel span {
      width: 10px;
      height: 20px;
      background: linear-gradient(180deg, var(--primary) 0%, #00b37a 100%);
      border-radius: 2px;
    }
    .nav-link {
      color: rgba(255,255,255,0.7) !important;
      font-weight: 500;
      margin: 0 8px;
      transition: 0.3s;
      position: relative;
      padding: 0.5rem 0;
    }
    .nav-link:hover, .nav-link.active {
      color: #fff !important;
    }
    .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--primary);
    }
    .btn-outline-signal {
      border: 1.5px solid var(--primary);
      color: var(--primary);
      background: transparent;
      border-radius: var(--radius);
      padding: 0.5rem 1.5rem;
      font-weight: 500;
      transition: 0.3s;
    }
    .btn-outline-signal:hover {
      background: rgba(0,229,160,0.1);
      color: var(--primary);
    }
    .btn-primary-signal {
      background: var(--primary);
      border: none;
      color: #0F0F1A;
      font-weight: 600;
      border-radius: var(--radius);
      padding: 0.6rem 1.8rem;
      transition: 0.3s ease;
      box-shadow: 0 0 12px rgba(0,229,160,0.35);
    }
    .btn-primary-signal:hover {
      background: #1AFFB5;
      box-shadow: 0 0 20px rgba(0,229,160,0.5);
      color: #0F0F1A;
    }
    .btn-link-signal {
      color: var(--primary);
      text-decoration: underline;
      font-weight: 500;
      transition: 0.3s;
    }
    .btn-link-signal:hover {
      color: #1AFFB5;
      text-decoration-color: #1AFFB5;
    }
    .navbar-toggler {
      border-color: rgba(255,255,255,0.3);
    }
    .navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    /* Hero区域 */
    #hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      background-color: var(--bg-deep);
      background-image: radial-gradient(circle at 20% 20%, rgba(0,229,160,0.08) 0%, transparent 50%),
                        radial-gradient(circle at 2px 2px, rgba(255,255,255,0.03) 1px, transparent 1px);
      background-size: 100% 100%, 30px 30px;
      position: relative;
    }
    .hero-title {
      font-size: 3rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.3;
    }
    .hero-sub {
      color: var(--text-secondary);
      font-size: 1.2rem;
      max-width: 600px;
    }
    .signal-graphic {
      position: relative;
      width: 100%;
      height: 320px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .pixel-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 4px;
      opacity: 0.5;
    }
    .pixel-cell {
      width: 16px;
      height: 16px;
      background: rgba(255,255,255,0.05);
      border-radius: 2px;
    }
    .flow-line {
      position: absolute;
      height: 3px;
      background: linear-gradient(90deg, transparent, var(--primary), transparent);
      width: 70%;
      animation: flowRight 3s infinite ease-in-out;
    }
    @keyframes flowRight {
      0% { transform: translateX(-40%); opacity: 0; }
      50% { opacity: 0.9; }
      100% { transform: translateX(60%); opacity: 0; }
    }

    /* 指标卡片 */
    .metric-card {
      background: var(--bg-card);
      border: 1px solid var(--border-dim);
      border-radius: var(--radius);
      padding: 2rem 1.5rem;
      transition: border 0.3s, box-shadow 0.3s;
    }
    .metric-card:hover {
      border-color: var(--border-hover);
      box-shadow: 0 0 20px rgba(0,229,160,0.08);
    }
    .metric-number {
      font-family: var(--font-mono);
      font-size: 3.2rem;
      font-weight: 700;
      color: var(--primary);
      line-height: 1.1;
    }

    /* 服务卡片 */
    .service-card {
      background: var(--bg-card);
      border: 1px solid var(--border-dim);
      border-radius: var(--radius);
      padding: 2rem 1.8rem;
      transition: all 0.3s ease;
    }
    .service-card:hover {
      border-color: rgba(0,229,160,0.4);
      box-shadow: 0 0 18px rgba(0,229,160,0.08);
    }
    .icon-pixel-box {
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0,229,160,0.08);
      border-radius: 6px;
      color: var(--text-secondary);
      transition: 0.3s;
    }
    .service-card:hover .icon-pixel-box {
      color: var(--primary);
      box-shadow: 0 0 12px var(--primary-glow);
    }

    /* 对比区域 */
    .compare-col-traditional {
      background: #1E1E28;
      color: rgba(255,255,255,0.7);
      border-radius: var(--radius) 0 0 var(--radius);
    }
    .compare-col-pt {
      background: rgba(0,229,160,0.04);
      border-left: 1px solid rgba(0,229,160,0.2);
      color: #fff;
      border-radius: 0 var(--radius) var(--radius) 0;
    }
    .compare-dimension {
      background: transparent;
      font-weight: 500;
      color: var(--text-secondary);
    }

    /* FAQ */
    .accordion-button {
      background: transparent !important;
      color: #fff !important;
      font-weight: 600;
      box-shadow: none !important;
      border-bottom: 1px solid var(--border-dim);
      padding: 1.2rem 0;
    }
    .accordion-button:not(.collapsed) {
      color: var(--primary) !important;
      background: transparent !important;
      box-shadow: none;
    }
    .accordion-item {
      background: transparent;
      border: none;
      border-bottom: 1px solid var(--border-dim);
    }
    .accordion-body {
      color: var(--text-secondary);
      padding-left: 1rem;
      border-left: 2px solid var(--primary);
      margin-left: 0;
    }

    /* 表单 */
    .form-control-dark {
      background: #0F0F1A;
      border: 1px solid rgba(255,255,255,0.1);
      color: #fff;
      border-radius: 6px;
      height: 48px;
    }
    .form-control-dark:focus {
      border-color: var(--primary);
      box-shadow: none;
    }

    footer {
      border-top: 1px solid var(--border-dim);
      color: var(--text-secondary);
      font-size: 0.8rem;
    }

    @media (max-width: 768px) {
      .hero-title {
        font-size: 2rem;
      }
      .metric-number {
        font-size: 2.2rem;
      }
      #hero {
        text-align: center;
      }
      .signal-graphic {
        height: 200px;
      }
    }
