/* roulang page: index */
:root {
      --primary: #4E6EF2;
      --primary-light: rgba(78, 110, 242, 0.15);
      --primary-glow: rgba(78, 110, 242, 0.4);
      --green: #00B578;
      --orange: #FF9F0A;
      --red: #FA5151;
      --bg: #F5F6FA;
      --card: #FFFFFF;
      --text: #1F2329;
      --text-secondary: #86909C;
      --border: rgba(0,0,0,0.05);
      --radius: 12px;
      --radius-capsule: 24px;
      --shadow-card: 0 4px 20px rgba(78, 110, 242, 0.08);
      --shadow-hover: 0 8px 30px rgba(78, 110, 242, 0.15);
      --glass-bg: rgba(255,255,255,0.7);
      --glass-border: rgba(255,255,255,0.8);
      --gap-section: 100px;
      --gap-element: 24px;
      --max-width: 1200px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.6;
      scroll-behavior: smooth;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    .header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255,255,255,0.9);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
      padding: 0 24px;
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
    }

    .logo {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--text);
      letter-spacing: 0.5px;
      white-space: nowrap;
    }
    .logo span {
      color: var(--primary);
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      align-items: center;
      list-style: none;
    }

    .nav-links a {
      font-size: 0.95rem;
      font-weight: 500;
      color: var(--text-secondary);
      transition: color 0.2s;
      padding: 0.25rem 0;
      border-bottom: 2px solid transparent;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
      border-bottom-color: var(--primary);
    }

    .mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      color: var(--text);
      font-size: 1.6rem;
      cursor: pointer;
    }

    /* 首屏 */
    .hero {
      display: flex;
      align-items: center;
      gap: 3rem;
      min-height: 85vh;
      padding: 2rem 0;
    }

    .hero-content {
      flex: 1;
    }

    .hero h1 {
      font-size: clamp(2.5rem, 5vw, 3.5rem);
      font-weight: 700;
      line-height: 1.2;
      color: var(--text);
      margin-bottom: 1.5rem;
    }

    .hero-sub {
      font-size: 1.15rem;
      color: var(--text-secondary);
      margin-bottom: 2rem;
      max-width: 90%;
    }

    .cta-group {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.75rem 2rem;
      border-radius: var(--radius-capsule);
      font-weight: 600;
      font-size: 1rem;
      transition: all 0.25s;
      cursor: pointer;
      border: 1px solid transparent;
    }

    .btn-primary {
      background: var(--primary);
      color: #fff;
      box-shadow: 0 4px 15px var(--primary-glow);
      border: none;
    }

    .btn-primary:hover {
      filter: brightness(1.1);
      box-shadow: 0 8px 22px rgba(78, 110, 242, 0.5);
      transform: translateY(-1px);
    }

    .btn-outline {
      background: transparent;
      border: 1px solid var(--primary);
      color: var(--primary);
    }

    .btn-outline:hover {
      background: rgba(78, 110, 242, 0.05);
    }

    .hero-visual {
      flex: 1;
      display: flex;
      justify-content: center;
    }

    .glass-card {
      background: var(--glass-bg);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid var(--glass-border);
      border-radius: var(--radius);
      box-shadow: var(--shadow-card);
      padding: 2rem;
      width: 100%;
      max-width: 380px;
    }

    .metric-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 1.5rem;
    }

    .metric-label {
      font-size: 0.9rem;
      color: var(--text-secondary);
    }

    .metric-value {
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--primary);
    }

    .divider {
      height: 1px;
      background: rgba(0,0,0,0.05);
      margin: 1rem 0;
    }

    /* 区块通用 */
    .section {
      padding: var(--gap-section) 0;
    }

    .section-title {
      text-align: center;
      font-size: 2.2rem;
      font-weight: 600;
      margin-bottom: 0.75rem;
      color: var(--text);
    }

    .section-sub {
      text-align: center;
      color: var(--text-secondary);
      margin-bottom: 3rem;
      font-size: 1.1rem;
    }

    /* 优势 */
    .advantages-grid {
      display: flex;
      gap: 2rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    .adv-card {
      background: var(--glass-bg);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid var(--glass-border);
      border-radius: var(--radius);
      padding: 2rem;
      flex: 1 1 250px;
      min-width: 250px;
      box-shadow: var(--shadow-card);
      transition: all 0.25s;
      display: flex;
      flex-direction: column;
    }

    .adv-card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-4px);
    }

    .adv-icon {
      font-size: 2rem;
      margin-bottom: 1.5rem;
      color: var(--primary);
    }

    .adv-number {
      font-size: 2.2rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 0.5rem;
    }

    .adv-desc {
      color: var(--text-secondary);
      font-size: 0.95rem;
    }

    .progress-bar {
      height: 4px;
      background: #E5E6EB;
      border-radius: 2px;
      margin-top: 1.5rem;
      width: 100%;
    }

    .progress-fill {
      height: 100%;
      background: var(--primary);
      border-radius: 2px;
      width: 80%;
    }

    /* 服务矩阵：1+2 不对称 */
    .services-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
    }

    .service-main {
      background: var(--card);
      border-radius: var(--radius);
      padding: 2.5rem;
      box-shadow: var(--shadow-card);
      display: flex;
      flex-direction: column;
      justify-content: center;
      background-image: url('/assets/images/coverpic/cover-2.webp');
      background-size: cover;
      background-position: center;
      position: relative;
      overflow: hidden;
      color: #fff;
      min-height: 320px;
    }

    .service-main::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(0deg, rgba(31,35,41,0.7) 0%, rgba(31,35,41,0.3) 100%);
      z-index: 1;
    }

    .service-main-content {
      position: relative;
      z-index: 2;
    }

    .service-main h3 {
      font-size: 1.8rem;
      font-weight: 600;
    }

    .service-sub-grid {
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    .service-sub {
      background: var(--card);
      border-radius: var(--radius);
      padding: 2rem;
      box-shadow: var(--shadow-card);
      display: flex;
      align-items: center;
      gap: 1.5rem;
      transition: 0.2s;
    }

    .service-sub:hover {
      box-shadow: var(--shadow-hover);
    }

    .service-icon {
      font-size: 2rem;
      color: var(--primary);
    }

    /* 对比表格 */
    .compare-table {
      background: var(--glass-bg);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow-card);
    }

    .compare-row {
      display: flex;
      border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .compare-cell {
      flex: 1;
      padding: 1.5rem;
      font-size: 1rem;
    }

    .compare-header {
      background: rgba(78,110,242,0.05);
      font-weight: 600;
      color: var(--text);
    }

    .compare-highlight {
      color: var(--primary);
      font-weight: 600;
    }

    /* FAQ */
    .faq-list {
      max-width: 700px;
      margin: 0 auto;
    }

    .faq-item {
      background: var(--card);
      border-radius: var(--radius);
      margin-bottom: 1rem;
      box-shadow: var(--shadow-card);
      transition: all 0.3s;
    }

    .faq-question {
      padding: 1.25rem 1.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      font-weight: 500;
    }

    .faq-icon {
      transition: transform 0.3s;
      font-size: 1.2rem;
      color: var(--primary);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s;
      background: rgba(78,110,242,0.02);
      padding: 0 1.5rem;
      color: var(--text-secondary);
    }

    .faq-item.active .faq-answer {
      max-height: 200px;
      padding: 1rem 1.5rem;
    }

    .faq-item.active .faq-icon {
      transform: rotate(45deg);
    }

    /* CTA */
    .cta-section {
      background: #F5F6FA;
      text-align: center;
      padding: 4rem 0;
    }

    .cta-form {
      display: flex;
      max-width: 480px;
      margin: 2rem auto 0;
      gap: 0.75rem;
      flex-wrap: wrap;
      justify-content: center;
    }

    .input-capsule {
      flex: 1;
      padding: 0.8rem 1.5rem;
      border-radius: var(--radius-capsule);
      border: 1px solid #E5E6EB;
      background: #fff;
      font-size: 1rem;
      outline: none;
      transition: 0.2s;
    }

    .input-capsule:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(78,110,242,0.15);
    }

    /* 页脚 */
    .footer {
      background: #1F2329;
      color: #86909C;
      padding: 3rem 0 1.5rem;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(4,1fr);
      gap: 2rem;
    }

    .footer-col h4 {
      color: #fff;
      margin-bottom: 1rem;
      font-weight: 500;
    }

    .footer-col a {
      display: block;
      color: #86909C;
      margin-bottom: 0.5rem;
      font-size: 0.9rem;
      transition: color 0.2s;
    }

    .footer-col a:hover {
      color: #fff;
    }

    .copyright {
      border-top: 1px solid rgba(255,255,255,0.1);
      margin-top: 2rem;
      padding-top: 1.5rem;
      text-align: center;
      font-size: 0.85rem;
    }

    /* 响应式 */
    @media (max-width: 1024px) {
      .hero {
        flex-direction: column;
        text-align: center;
      }
      .hero-sub {
        max-width: 100%;
      }
      .cta-group {
        justify-content: center;
      }
      .services-grid {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: repeat(2,1fr);
      }
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(15px);
        padding: 1rem 0;
        border-bottom: 1px solid var(--border);
      }
      .nav-links.open {
        display: flex;
      }
      .mobile-menu-btn {
        display: block;
      }
      .advantages-grid {
        flex-direction: column;
      }
      .compare-row {
        flex-direction: column;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
