/* roulang page: index */
:root {
      --primary: #10b981;
      --primary-dark: #059669;
      --accent: #06b6d4;
      --secondary: #f59e0b;
      --bg-dark: #0b0f19;
      --bg-card-dark: #131b2e;
      --bg-light: #f8fafc;
      --bg-white: #ffffff;
      --text-main: #0f172a;
      --text-muted: #334155;
      --text-sub: #64748b;
      --border-color: #e2e8f0;
      --radius-lg: 1.25rem;
      --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
      --shadow-hover: 0 20px 30px -10px rgba(16, 185, 129, 0.15);
      --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-family: var(--font-family);
      background-color: var(--bg-light);
      color: var(--text-main);
    }

    body {
      line-height: 1.6;
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      width: 100%;
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    /* 顶部微信息栏 */
    .top-bar {
      background: var(--bg-dark);
      color: #94a3b8;
      font-size: 0.825rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      padding: 0.5rem 0;
    }
    .top-bar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
    .status-dot {
      display: inline-block;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--primary);
      margin-right: 6px;
      box-shadow: 0 0 8px var(--primary);
    }

    /* 主导航 */
    .header-nav {
      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);
      transition: all 0.3s ease;
    }
    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 72px;
    }
    .logo-brand {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--text-main);
      letter-spacing: -0.5px;
    }
    .logo-brand .brand-badge {
      background: linear-gradient(135deg, var(--primary), var(--accent));
      color: #fff;
      padding: 0.2rem 0.6rem;
      border-radius: 6px;
      font-size: 0.75rem;
      font-weight: 700;
    }
    .nav-links {
      display: flex;
      list-style: none;
      gap: 1.75rem;
    }
    .nav-links a {
      font-weight: 500;
      color: var(--text-muted);
      transition: color 0.2s ease;
      font-size: 0.95rem;
      padding: 0.5rem 0;
    }
    .nav-links a:hover {
      color: var(--primary);
    }
    .nav-cta {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.75rem 1.5rem;
      border-radius: 9999px;
      font-weight: 600;
      font-size: 0.95rem;
      cursor: pointer;
      transition: all 0.25s ease;
      border: 1px solid transparent;
      white-space: nowrap;
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      color: #ffffff;
      box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
    }
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
    }
    .btn-secondary {
      background: #ffffff;
      color: var(--text-main);
      border-color: var(--border-color);
    }
    .btn-secondary:hover {
      background: #f1f5f9;
      transform: translateY(-2px);
    }
    .btn-accent {
      background: linear-gradient(135deg, var(--secondary), #d97706);
      color: #fff;
    }
    .btn-accent:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
    }

    /* 汉堡按钮 */
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 0.5rem;
      font-size: 1.5rem;
      color: var(--text-main);
    }

    /* 通用组件 */
    .section-spacing {
      padding: 5.5rem 0;
    }
    .section-header {
      text-align: center;
      max-width: 820px;
      margin: 0 auto 3.5rem;
    }
    .section-badge {
      display: inline-block;
      padding: 0.35rem 1rem;
      background: rgba(16, 185, 129, 0.1);
      color: var(--primary-dark);
      border: 1px solid rgba(16, 185, 129, 0.25);
      border-radius: 9999px;
      font-size: 0.85rem;
      font-weight: 700;
      margin-bottom: 1rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .section-title {
      font-size: 2.25rem;
      font-weight: 800;
      color: var(--text-main);
      margin-bottom: 1rem;
      letter-spacing: -0.5px;
    }
    .section-desc {
      font-size: 1.05rem;
      color: var(--text-sub);
      line-height: 1.75;
    }
    .card-rounded {
      background: var(--bg-white);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-card);
      transition: all 0.3s ease;
      overflow: hidden;
    }
    .card-rounded:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
      border-color: rgba(16, 185, 129, 0.3);
    }

    /* 1. 首屏 Banner 转化区 */
    .hero-section {
      position: relative;
      background: linear-gradient(180deg, #f0fdf4 0%, #f8fafc 100%);
      padding: 4.5rem 0 5.5rem;
      border-bottom: 1px solid var(--border-color);
      overflow: hidden;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 3.5rem;
      align-items: center;
    }
    .hero-content h1 {
      font-size: 3rem;
      font-weight: 800;
      line-height: 1.18;
      margin-bottom: 1.5rem;
      letter-spacing: -1px;
      color: var(--text-main);
    }
    .hero-content h1 span {
      background: linear-gradient(135deg, var(--primary), var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-lead {
      font-size: 1.15rem;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 2rem;
    }
    .hero-buttons {
      display: flex;
      gap: 1rem;
      margin-bottom: 2.5rem;
      flex-wrap: wrap;
    }
    .hero-metrics-pill {
      display: flex;
      gap: 1.5rem;
      flex-wrap: wrap;
    }
    .metric-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--text-muted);
    }
    .metric-item i {
      color: var(--primary);
    }
    .hero-panel {
      position: relative;
    }
    .hero-panel-card {
      background: var(--bg-dark);
      border-radius: var(--radius-lg);
      padding: 1.75rem;
      color: #e2e8f0;
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.4);
    }
    .code-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-bottom: 1rem;
      margin-bottom: 1rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      font-size: 0.825rem;
      color: #94a3b8;
    }
    .code-circles {
      display: flex;
      gap: 6px;
    }
    .code-circle {
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }
    .c-red { background: #ef4444; }
    .c-yellow { background: #f59e0b; }
    .c-green { background: #10b981; }
    .console-body {
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
      font-size: 0.85rem;
      line-height: 1.7;
    }
    .log-line {
      margin-bottom: 0.35rem;
    }
    .log-tag {
      color: var(--primary);
      font-weight: 600;
    }
    .log-val {
      color: var(--accent);
    }

    /* 2. 核心技术支柱区 */
    .triad-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
    .triad-card {
      padding: 2.25rem;
      position: relative;
    }
    .triad-icon {
      width: 56px;
      height: 56px;
      border-radius: 14px;
      background: rgba(16, 185, 129, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      color: var(--primary);
      margin-bottom: 1.5rem;
    }
    .triad-card h3 {
      font-size: 1.35rem;
      font-weight: 700;
      margin-bottom: 1rem;
    }
    .triad-card p {
      color: var(--text-sub);
      font-size: 0.95rem;
      line-height: 1.7;
    }

    /* 3. 深度解析区 */
    .spec-section {
      background: #ffffff;
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
    }
    .spec-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3.5rem;
      align-items: center;
    }
    .spec-img-wrapper {
      position: relative;
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-card);
    }
    .spec-badges-list {
      margin-top: 1.5rem;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }
    .spec-badge-box {
      padding: 1.25rem;
      background: var(--bg-light);
      border-radius: 12px;
      border: 1px solid var(--border-color);
    }
    .spec-badge-box .num {
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--primary-dark);
      display: block;
      margin-bottom: 0.25rem;
    }
    .spec-badge-box .label {
      font-size: 0.85rem;
      color: var(--text-sub);
    }

    /* 4. 优势六格 */
    .adv-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
    .adv-card {
      padding: 2rem;
    }
    .adv-card h4 {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
      color: var(--text-main);
    }
    .adv-card p {
      color: var(--text-sub);
      font-size: 0.925rem;
      line-height: 1.65;
    }

    /* 5. 热门场景方案 */
    .solutions-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
    .sol-card {
      position: relative;
      display: flex;
      flex-direction: column;
    }
    .sol-card-header {
      padding: 2rem 2rem 1.5rem;
      border-bottom: 1px solid var(--border-color);
    }
    .sol-badge {
      display: inline-block;
      padding: 0.25rem 0.65rem;
      border-radius: 6px;
      font-size: 0.75rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
    }
    .sol-badge.popular {
      background: #fef3c7;
      color: #b45309;
    }
    .sol-badge.standard {
      background: #e0f2fe;
      color: #0369a1;
    }
    .sol-card h3 {
      font-size: 1.35rem;
      margin-bottom: 0.5rem;
    }
    .sol-card-body {
      padding: 2rem;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .sol-list {
      list-style: none;
      margin-bottom: 2rem;
    }
    .sol-list li {
      position: relative;
      padding-left: 1.5rem;
      margin-bottom: 0.75rem;
      font-size: 0.925rem;
      color: var(--text-muted);
    }
    .sol-list li::before {
      content: "✓";
      position: absolute;
      left: 0;
      color: var(--primary);
      font-weight: bold;
    }

    /* 6. 深色架构展示区 */
    .dark-section {
      background: var(--bg-dark);
      color: #ffffff;
      padding: 6rem 0;
    }
    .dark-section .section-title {
      color: #ffffff;
    }
    .dark-section .section-desc {
      color: #94a3b8;
    }
    .arch-flow-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
      margin-top: 3.5rem;
    }
    .arch-node {
      background: var(--bg-card-dark);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      padding: 1.75rem;
      position: relative;
    }
    .arch-node-step {
      font-size: 0.8rem;
      color: var(--accent);
      font-weight: 700;
      margin-bottom: 0.5rem;
    }
    .arch-node h4 {
      font-size: 1.15rem;
      margin-bottom: 0.75rem;
    }
    .arch-node p {
      font-size: 0.875rem;
      color: #94a3b8;
      line-height: 1.6;
    }

    /* 7. 案例对比区 */
    .cases-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
    }
    .case-card {
      padding: 2.25rem;
    }
    .case-tag {
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--primary-dark);
      margin-bottom: 0.5rem;
      display: block;
    }
    .case-compare-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 1.5rem;
      font-size: 0.9rem;
    }
    .case-compare-table td, .case-compare-table th {
      padding: 0.75rem 1rem;
      border: 1px solid var(--border-color);
      text-align: left;
    }
    .case-compare-table th {
      background: var(--bg-light);
    }

    /* 8. 数据统计条 */
    .metrics-bar-section {
      background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
      color: #ffffff;
      padding: 4rem 0;
    }
    .metrics-bar-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
      text-align: center;
    }
    .metric-stat-item .stat-num {
      font-size: 3rem;
      font-weight: 800;
      color: #a7f3d0;
      line-height: 1;
      margin-bottom: 0.5rem;
      font-feature-settings: "tnum";
    }
    .metric-stat-item .stat-label {
      font-size: 0.95rem;
      color: #d1fae5;
    }

    /* 9. 客户评价区 */
    .testi-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
    .testi-card {
      padding: 2rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .testi-quote {
      font-size: 0.95rem;
      color: var(--text-muted);
      line-height: 1.7;
      margin-bottom: 1.5rem;
      position: relative;
    }
    .testi-user {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    .testi-avatar {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: #e2e8f0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: var(--text-sub);
    }
    .testi-meta h5 {
      font-size: 0.95rem;
      color: var(--text-main);
    }
    .testi-meta span {
      font-size: 0.8rem;
      color: var(--text-sub);
    }

    /* 10. 资讯洞察区 */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
    .news-card-img {
      height: 200px;
      width: 100%;
      object-fit: cover;
    }
    .news-card-body {
      padding: 1.75rem;
    }
    .news-date {
      font-size: 0.8rem;
      color: var(--text-sub);
      margin-bottom: 0.5rem;
      display: block;
    }
    .news-card h4 {
      font-size: 1.15rem;
      margin-bottom: 0.75rem;
      line-height: 1.4;
    }
    .news-card p {
      font-size: 0.9rem;
      color: var(--text-sub);
      line-height: 1.6;
      margin-bottom: 1.25rem;
    }

    /* 11. FAQ 折叠手风琴 */
    .faq-wrapper {
      max-width: 860px;
      margin: 0 auto;
    }
    .faq-item {
      background: var(--bg-white);
      border: 1px solid var(--border-color);
      border-radius: 14px;
      margin-bottom: 1rem;
      overflow: hidden;
      transition: all 0.2s ease;
    }
    .faq-question {
      padding: 1.25rem 1.75rem;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text-main);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
    }
    .faq-answer {
      padding: 0 1.75rem 1.5rem;
      font-size: 0.95rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* 12. 合规保障条 */
    .guarantee-section {
      background: #ffffff;
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
      padding: 3.5rem 0;
    }
    .guarantee-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
      align-items: center;
    }
    .guarantee-box {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    .guarantee-icon {
      width: 48px;
      height: 48px;
      background: #ecfdf5;
      color: var(--primary-dark);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      flex-shrink: 0;
    }
    .guarantee-info h5 {
      font-size: 1rem;
      font-weight: 700;
      color: var(--text-main);
    }
    .guarantee-info p {
      font-size: 0.825rem;
      color: var(--text-sub);
    }

    /* 13. 底部转化区 */
    .cta-banner-section {
      padding: 6rem 0;
    }
    .cta-card {
      background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
      border-radius: var(--radius-lg);
      padding: 4.5rem 2rem;
      text-align: center;
      color: #ffffff;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .cta-card h2 {
      font-size: 2.5rem;
      font-weight: 800;
      margin-bottom: 1.25rem;
    }
    .cta-card p {
      font-size: 1.1rem;
      color: #94a3b8;
      max-width: 680px;
      margin: 0 auto 2.5rem;
      line-height: 1.8;
    }
    .cta-form-dummy {
      display: flex;
      max-width: 520px;
      margin: 0 auto;
      gap: 0.75rem;
    }
    .cta-input {
      flex: 1;
      padding: 0.85rem 1.25rem;
      border-radius: 9999px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      background: rgba(255, 255, 255, 0.08);
      color: #fff;
      font-size: 0.95rem;
      outline: none;
    }
    .cta-input::placeholder {
      color: #64748b;
    }

    /* 页脚 */
    .site-footer {
      background: #070a12;
      color: #94a3b8;
      padding: 4.5rem 0 2rem;
      font-size: 0.9rem;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
      gap: 3rem;
      margin-bottom: 3.5rem;
    }
    .footer-col h4 {
      color: #ffffff;
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 1.25rem;
    }
    .footer-links {
      list-style: none;
    }
    .footer-links li {
      margin-bottom: 0.75rem;
    }
    .footer-links a:hover {
      color: var(--primary);
    }
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding-top: 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
      font-size: 0.825rem;
    }

    /* 响应式断点 */
    @media (max-width: 1024px) {
      .hero-grid, .spec-grid, .cases-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
      }
      .triad-grid, .adv-grid, .solutions-grid, .testi-grid, .news-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .arch-flow-grid, .guarantee-grid, .metrics-bar-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .footer-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .menu-toggle {
        display: block;
      }
      .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-bottom: 1px solid var(--border-color);
      }
      .nav-links.active {
        display: flex;
      }
      .hero-content h1 {
        font-size: 2.25rem;
      }
      .triad-grid, .adv-grid, .solutions-grid, .testi-grid, .news-grid,
      .arch-flow-grid, .guarantee-grid, .metrics-bar-grid, .footer-grid {
        grid-template-columns: 1fr;
      }
      .cta-form-dummy {
        flex-direction: column;
      }
      .cta-card {
        padding: 3rem 1.25rem;
      }
    }
