/* roulang page: index */
:root {
      --primary: #1A5FDC;
      --primary-hover: #1349B0;
      --primary-soft: #EBF2FD;
      --accent: #0EA371;
      --bg: #F7F9FC;
      --surface: #FFFFFF;
      --text: #1E293B;
      --text-secondary: #64748B;
      --border: #E2E8F0;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04);
      --shadow-hover: 0 8px 24px rgba(26,95,220,0.10);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 6px;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Inter", -apple-system, sans-serif;
      --font-mono: "JetBrains Mono", "Fira Code", monospace;
      --nav-height: 56px;
      --max-width: 1200px;
      --gap-section: 100px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s ease;
    }

    button, input, textarea {
      font-family: inherit;
      font-size: inherit;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航栏 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--nav-height);
      background: #fff;
      border-bottom: 1px solid var(--border);
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(4px);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      max-width: var(--max-width);
      padding: 0 24px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 20px;
      color: var(--text);
    }
    .logo-icon {
      font-size: 24px;
      color: var(--primary);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .nav-links a {
      font-size: 15px;
      font-weight: 500;
      color: #475569;
      position: relative;
      padding: 4px 0;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width 0.2s ease;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      border-radius: var(--radius-btn);
      transition: all 0.25s ease;
      cursor: pointer;
      border: none;
      white-space: nowrap;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 10px 20px;
    }

    .btn-primary:hover {
      background: var(--primary-hover);
      transform: translateY(-2px);
      box-shadow: 0 8px 16px rgba(26,95,220,0.2);
    }

    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--primary);
      color: var(--primary);
      padding: 10px 20px;
    }

    .btn-outline:hover {
      background: var(--primary-soft);
    }

    .btn-lg {
      padding: 14px 32px;
      font-size: 16px;
    }

    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 24px;
      color: var(--text);
      cursor: pointer;
    }

    /* Hero 分屏 */
    .hero {
      display: flex;
      min-height: 100vh;
      padding-top: var(--nav-height);
      background: #fff;
    }

    .hero-left {
      flex: 1 1 50%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 60px 48px 60px 48px;
      background: #fff;
    }

    .hero-right {
      flex: 1 1 50%;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      position: relative;
      min-height: 400px;
    }

    .hero-right::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(26, 95, 220, 0.08);
      pointer-events: none;
    }

    .hero h1 {
      font-size: 48px;
      line-height: 1.2;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 16px;
    }

    .hero-subtitle {
      font-size: 18px;
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 32px;
      max-width: 480px;
    }

    .hero-stats {
      display: flex;
      gap: 40px;
      margin-bottom: 32px;
    }

    .hero-stat {
      display: flex;
      flex-direction: column;
    }

    .hero-stat-number {
      font-size: 32px;
      font-weight: 700;
      color: var(--primary);
      font-family: var(--font-mono);
    }

    .hero-stat-label {
      font-size: 14px;
      color: var(--text-secondary);
      margin-top: 4px;
    }

    .hero-actions {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    /* 通用板块 */
    section {
      padding: 100px 0;
    }

    .section-title {
      font-size: 36px;
      font-weight: 600;
      line-height: 1.3;
      margin-bottom: 16px;
      color: var(--text);
    }

    .section-desc {
      font-size: 18px;
      color: var(--text-secondary);
      margin-bottom: 48px;
      max-width: 700px;
    }

    .grid {
      display: grid;
      gap: 24px;
    }

    .grid-3 {
      grid-template-columns: repeat(3, 1fr);
    }

    .grid-2 {
      grid-template-columns: repeat(2, 1fr);
    }

    .card {
      background: var(--surface);
      border-radius: var(--radius-card);
      padding: 24px;
      box-shadow: var(--shadow-sm);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .card-icon {
      font-size: 40px;
      color: var(--primary);
      margin-bottom: 16px;
    }

    .card h3 {
      font-size: 22px;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .card p {
      font-size: 14px;
      line-height: 1.6;
      color: var(--text-secondary);
    }

    /* 功能矩阵左对齐卡片 */
    .feature-row {
      display: flex;
      align-items: flex-start;
      gap: 16px;
    }

    .feature-icon-box {
      width: 48px;
      height: 48px;
      background: var(--primary-soft);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      font-size: 22px;
      flex-shrink: 0;
      transition: background 0.2s;
    }

    .card:hover .feature-icon-box {
      background: var(--primary);
      color: white;
    }

    /* 使用场景卡片 */
    .scene-card {
      display: flex;
      gap: 24px;
      background: var(--surface);
      border-radius: var(--radius-card);
      padding: 24px;
      box-shadow: var(--shadow-sm);
      border-left: 4px solid var(--accent);
      align-items: center;
    }

    .scene-img {
      width: 120px;
      height: 90px;
      border-radius: 8px;
      object-fit: cover;
      flex-shrink: 0;
    }

    .scene-content h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .scene-content ul {
      list-style: none;
      padding: 0;
      color: var(--text-secondary);
      font-size: 14px;
    }

    .scene-content ul li::before {
      content: "✓ ";
      color: var(--accent);
      font-weight: 700;
    }

    /* 动态数字区 */
    .stats-showcase {
      background: var(--surface);
      border-radius: var(--radius-card);
      padding: 48px 24px;
      box-shadow: var(--shadow-sm);
      display: flex;
      justify-content: space-around;
      text-align: center;
      flex-wrap: wrap;
      gap: 24px;
    }

    .stat-item {
      flex: 1;
      min-width: 150px;
    }

    .big-number {
      font-size: 42px;
      font-weight: 700;
      color: var(--primary);
      font-family: var(--font-mono);
    }

    .stat-label {
      color: var(--text-secondary);
      margin-top: 8px;
    }

    /* Logo墙 */
    .logo-wall {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 40px;
    }

    .logo-wall img {
      height: 40px;
      filter: grayscale(100%);
      opacity: 0.7;
      transition: filter 0.3s, opacity 0.3s;
    }

    .logo-wall img:hover {
      filter: grayscale(0%);
      opacity: 1;
    }

    /* FAQ */
    .faq-item {
      border-bottom: 1px solid var(--border);
      padding: 20px 0;
    }

    .faq-question {
      font-size: 16px;
      font-weight: 500;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: color 0.2s;
    }

    .faq-question:hover {
      color: var(--primary);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s;
      font-size: 15px;
      color: var(--text-secondary);
      line-height: 1.7;
      padding-left: 16px;
      border-left: 3px solid transparent;
    }

    .faq-item.open .faq-answer {
      max-height: 200px;
      padding-top: 12px;
      border-left-color: var(--primary);
    }

    .faq-item.open .faq-question {
      color: var(--primary);
    }

    /* CTA 表单 */
    .cta-section {
      background: var(--primary-soft);
    }

    .form-card {
      background: white;
      border-radius: var(--radius-card);
      padding: 40px;
      max-width: 600px;
      margin: 0 auto;
      box-shadow: var(--shadow-sm);
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      display: block;
      font-weight: 500;
      margin-bottom: 6px;
    }

    .form-control {
      width: 100%;
      padding: 12px 16px;
      border: 1px solid #CBD5E1;
      border-radius: var(--radius-input);
      transition: border 0.2s, box-shadow 0.2s;
    }

    .form-control:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(26,95,220,0.25);
    }

    .btn-full {
      width: 100%;
    }

    .qr-code {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-top: 24px;
      justify-content: center;
    }

    .qr-code img {
      width: 80px;
      height: 80px;
    }

    /* Footer */
    .footer {
      background: #1E293B;
      color: #CBD5E1;
      padding: 60px 0 0;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
    }

    .footer h4 {
      color: white;
      font-weight: 600;
      margin-bottom: 16px;
      font-size: 16px;
    }

    .footer a {
      color: #CBD5E1;
      display: block;
      margin-bottom: 8px;
      font-size: 14px;
    }

    .footer a:hover {
      color: white;
    }

    .copyright {
      background: #0F172A;
      text-align: center;
      padding: 20px;
      color: #94A3B8;
      font-size: 14px;
      margin-top: 40px;
    }

    /* 响应式 */
    @media (max-width: 1024px) {
      .hero {
        flex-direction: column;
      }
      .hero-right {
        min-height: 40vh;
        order: -1;
      }
      .hero-left {
        padding: 40px 24px;
      }
      .grid-3 {
        grid-template-columns: repeat(2, 1fr);
      }
      .footer-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }
      .mobile-menu-toggle {
        display: block;
      }
      .grid-3, .grid-2 {
        grid-template-columns: 1fr;
      }
      .scene-card {
        flex-direction: column;
      }
      .hero-stats {
        flex-direction: column;
        gap: 20px;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
      section {
        padding: 60px 0;
      }
    }
