/* roulang page: index */
:root {
      --primary: #1e40af;
      --primary-hover: #1d4ed8;
      --accent: #2563eb;
      --accent-light: #3b82f6;
      --bg-main: #f8fafc;
      --bg-white: #ffffff;
      --bg-dark: #0f172a;
      --text-title: #0f172a;
      --text-body: #334155;
      --text-muted: #64748b;
      --border-color: #e2e8f0;
      --radius-card: 12px;
      --radius-badge: 9999px;
      --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
      --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      background-color: var(--bg-main);
      color: var(--text-body);
      line-height: 1.65;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    a {
      text-decoration: none;
      color: var(--accent);
      transition: all 0.25s ease;
    }
    a:hover {
      color: var(--primary-hover);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    /* 容器控制 */
    .app-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* 顶部导航系统 */
    .top-bar-notice {
      background-color: #0b1329;
      color: #94a3b8;
      font-size: 0.8125rem;
      padding: 6px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .top-bar-notice .flex-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .main-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    }
    .nav-wrap {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }
    .logo-box {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--primary);
    }
    .logo-box i {
      font-size: 1.6rem;
      color: var(--accent);
    }
    .nav-links {
      display: flex;
      gap: 24px;
      list-style: none;
      margin: 0;
    }
    .nav-links a {
      color: var(--text-body);
      font-weight: 500;
      font-size: 0.95rem;
      padding: 8px 4px;
      position: relative;
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
    }
    .nav-cta {
      background: var(--primary);
      color: #ffffff !important;
      padding: 9px 22px;
      border-radius: var(--radius-badge);
      font-weight: 600;
      font-size: 0.9rem;
      display: inline-block;
      box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
    }
    .nav-cta:hover {
      background: var(--primary-hover);
      transform: translateY(-1px);
    }

    /* 移动端汉堡 */
    .mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      font-size: 1.5rem;
      color: var(--text-title);
      cursor: pointer;
      padding: 10px;
    }

    /* 通用板块标准 */
    section {
      padding: 85px 0;
      position: relative;
    }
    .section-alt {
      background-color: var(--bg-white);
    }
    .section-title-wrap {
      text-align: center;
      max-width: 760px;
      margin: 0 auto 50px auto;
    }
    .section-badge {
      display: inline-block;
      padding: 4px 14px;
      background: #eff6ff;
      color: var(--accent);
      border-radius: var(--radius-badge);
      font-size: 0.8125rem;
      font-weight: 600;
      margin-bottom: 12px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .section-h2 {
      font-size: 2.15rem;
      font-weight: 800;
      color: var(--text-title);
      line-height: 1.3;
      margin-bottom: 16px;
    }
    .section-desc {
      font-size: 1.05rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* 按钮规范 */
    .btn-main {
      background: var(--primary);
      color: #ffffff;
      padding: 14px 28px;
      border-radius: 8px;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 4px 14px rgba(30, 64, 175, 0.28);
    }
    .btn-main:hover {
      background: var(--primary-hover);
      color: #ffffff;
      transform: translateY(-2px);
    }
    .btn-secondary {
      background: #ffffff;
      color: var(--text-title);
      border: 1px solid var(--border-color);
      padding: 14px 28px;
      border-radius: 8px;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .btn-secondary:hover {
      background: #f1f5f9;
      color: var(--primary);
    }

    /* 卡片体系 */
    .feature-card {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-card);
      padding: 32px 24px;
      box-shadow: var(--shadow-sm);
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
      height: 100%;
    }
    .feature-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-hover);
      border-color: #cbd5e1;
    }
    .card-icon {
      width: 52px;
      height: 52px;
      background: #eff6ff;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent);
      font-size: 1.4rem;
      margin-bottom: 20px;
    }

    /* 板块 1: Hero Banner */
    #hero {
      padding: 80px 0 90px 0;
      background: linear-gradient(180deg, #f0f7ff 0%, #f8fafc 100%);
      overflow: hidden;
    }
    .hero-h1 {
      font-size: 3rem;
      font-weight: 900;
      color: var(--text-title);
      line-height: 1.25;
      margin-bottom: 20px;
    }
    .hero-h1 span {
      color: var(--accent);
    }
    .hero-p {
      font-size: 1.125rem;
      color: var(--text-body);
      line-height: 1.8;
      margin-bottom: 30px;
    }
    .hero-trust-bar {
      margin-top: 36px;
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      align-items: center;
      font-size: 0.875rem;
      color: var(--text-muted);
    }
    .hero-trust-bar span {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .hero-img-box {
      position: relative;
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.8);
    }

    /* 板块 2: 产品与架构能力 */
    .param-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      margin-top: 24px;
    }
    .param-item {
      background: #f1f5f9;
      padding: 16px;
      border-radius: 8px;
    }
    .param-value {
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--primary);
    }
    .param-label {
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    /* 板块 4: 业务版本矩阵 */
    .pricing-card {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-card);
      padding: 40px 30px;
      position: relative;
      height: 100%;
      display: flex;
      flex-direction: column;
      box-shadow: var(--shadow-sm);
    }
    .pricing-featured {
      border: 2px solid var(--accent);
      transform: scale(1.03);
      box-shadow: var(--shadow-hover);
      z-index: 2;
    }
    .pricing-badge {
      position: absolute;
      top: -14px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--accent);
      color: #fff;
      padding: 4px 16px;
      border-radius: var(--radius-badge);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.5px;
    }

    /* 板块 5: 架构与技术理念区 (深色阻断) */
    #architecture {
      background-color: var(--bg-dark);
      color: #f8fafc;
    }
    #architecture .section-h2 {
      color: #ffffff;
    }
    #architecture .section-desc {
      color: #94a3b8;
    }
    .code-console {
      background: #020617;
      border: 1px solid #1e293b;
      border-radius: 10px;
      padding: 24px;
      font-family: monospace;
      font-size: 0.875rem;
      line-height: 1.6;
      color: #38bdf8;
      box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
    }

    /* 板块 7: 运营指标高亮条 */
    #metrics {
      background: var(--primary);
      color: #ffffff;
      padding: 55px 0;
    }
    .metric-col {
      text-align: center;
      border-right: 1px solid rgba(255, 255, 255, 0.15);
    }
    .metric-col:last-child {
      border-right: none;
    }
    .metric-number {
      font-size: 2.8rem;
      font-weight: 900;
      line-height: 1.1;
      margin-bottom: 8px;
    }
    .metric-txt {
      font-size: 0.95rem;
      color: #bfdbfe;
    }

    /* 板块 11: FAQ 手风琴 */
    .faq-item {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: 10px;
      margin-bottom: 16px;
      overflow: hidden;
    }
    .faq-title {
      padding: 20px 24px;
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--text-title);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
    }
    .faq-content {
      padding: 0 24px 20px 24px;
      font-size: 0.95rem;
      color: var(--text-body);
      line-height: 1.7;
      display: none;
    }
    .faq-item.active .faq-content {
      display: block;
    }
    .faq-item.active .faq-icon {
      transform: rotate(180deg);
    }
    .faq-icon {
      transition: transform 0.25s ease;
      color: var(--text-muted);
    }

    /* 板块 12: 底部转化行动区 */
    #conversion {
      padding: 70px 0 90px 0;
      background: #ffffff;
    }
    .cta-container {
      background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
      border-radius: 20px;
      padding: 60px 40px;
      text-align: center;
      color: #ffffff;
      box-shadow: 0 20px 35px -10px rgba(30, 64, 175, 0.4);
    }

    /* 页脚 */
    footer {
      background-color: #0b1120;
      color: #94a3b8;
      padding: 70px 0 30px 0;
      border-top: 1px solid #1e293b;
      font-size: 0.9rem;
    }
    .footer-col h5 {
      color: #ffffff;
      font-size: 1.05rem;
      font-weight: 700;
      margin-bottom: 22px;
    }
    .footer-col ul {
      list-style: none;
      margin: 0;
    }
    .footer-col ul li {
      margin-bottom: 12px;
    }
    .footer-col ul li a {
      color: #94a3b8;
    }
    .footer-col ul li a:hover {
      color: #ffffff;
    }
    .footer-bottom {
      margin-top: 60px;
      padding-top: 25px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      text-align: center;
      font-size: 0.8125rem;
      color: #64748b;
    }

    /* 响应式调整 */
    @media (max-width: 1024px) {
      .hero-h1 { font-size: 2.4rem; }
      .pricing-featured { transform: none; }
    }
    @media (max-width: 768px) {
      .top-bar-notice { display: none; }
      .nav-links, .nav-cta { display: none; }
      .mobile-menu-btn { display: block; }
      .mobile-nav-panel {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
      }
      .mobile-nav-panel.open { display: block; }
      .mobile-nav-panel ul { list-style: none; margin: 0; }
      .mobile-nav-panel ul li { margin-bottom: 14px; }
      .mobile-nav-panel ul li a { font-size: 1.05rem; font-weight: 600; color: var(--text-title); }
      .metric-col { border-right: none; margin-bottom: 24px; }
      .hero-h1 { font-size: 2rem; }
      .section-h2 { font-size: 1.7rem; }
      section { padding: 50px 0; }
      .param-list { grid-template-columns: 1fr; }
    }
