/* roulang page: index */
:root {
      --primary: #0B3D5C;
      --primary-dark: #072d44;
      --accent: #F5A623;
      --accent-hover: #e5940f;
      --bg: #F8FAFC;
      --card: #FFFFFF;
      --dark-bg: #0A2533;
      --text: #1a2b3c;
      --text-soft: #4a5b6c;
      --text-light: #a0b4c4;
      --border: #eaf0f6;
      --radius: 12px;
      --radius-sm: 8px;
      --shadow: 0 4px 20px rgba(0,0,0,0.04);
      --shadow-hover: 0 8px 30px rgba(0,0,0,0.08);
      --transition: 0.25s ease;
      --max-width: 1280px;
      --pad: 24px;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: 'PingFang SC', 'Microsoft YaHei', 'Inter', 'Roboto', system-ui, -apple-system, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }
    a { text-decoration: none; color: inherit; }
    img { display: block; max-width: 100%; height: auto; }
    button, input, textarea { font-family: inherit; }
    .container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--pad); }

    /* 导航 */
    .nav {
      position: fixed; top: 0; left: 0; width: 100%; background: rgba(255,255,255,0.92);
      backdrop-filter: blur(12px); z-index: 100; transition: box-shadow 0.3s;
      border-bottom: 1px solid transparent;
    }
    .nav.scrolled { box-shadow: 0 4px 12px rgba(0,0,0,0.04); border-bottom: 1px solid var(--border); }
    .nav-inner {
      display: flex; align-items: center; justify-content: space-between;
      max-width: var(--max-width); margin: 0 auto; padding: 14px var(--pad);
    }
    .logo {
      font-size: 24px; font-weight: 700; color: var(--primary); letter-spacing: 1px;
      white-space: nowrap;
    }
    .logo span { color: var(--accent); }
    .nav-links { display: flex; gap: 28px; align-items: center; }
    .nav-links a {
      font-size: 15px; font-weight: 500; color: var(--text-soft); padding: 6px 0;
      border-bottom: 2px solid transparent; transition: all 0.2s;
    }
    .nav-links a:hover, .nav-links a.active { color: var(--primary); border-bottom-color: var(--accent); }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
    .hamburger span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: 0.2s; }

    /* 区块间距 */
    section { padding: 80px 0; }
    @media (max-width: 768px) { section { padding: 60px 0; } }

    /* Hero */
    .hero {
      min-height: 100vh; display: flex; align-items: center; position: relative;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      color: white;
    }
    .hero::before {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(11,61,92,0.75) 0%, rgba(11,61,92,0.85) 100%);
    }
    .hero-content { position: relative; max-width: 700px; padding: 40px 0; }
    .hero h1 { font-size: 48px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
    .hero p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; max-width: 520px; }
    .hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
    .btn {
      display: inline-flex; align-items: center; justify-content: center;
      padding: 12px 28px; border-radius: var(--radius-sm); font-weight: 600;
      font-size: 16px; transition: all 0.2s; cursor: pointer; border: none;
    }
    .btn-primary {
      background: var(--accent); color: white; box-shadow: 0 4px 12px rgba(245,166,35,0.4);
    }
    .btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,166,35,0.5); }
    .btn-outline {
      background: transparent; color: white; border: 2px solid white;
    }
    .btn-outline:hover { background: rgba(255,255,255,0.1); }
    .stats-row { display: flex; gap: 40px; flex-wrap: wrap; }
    .stat-item { text-align: center; }
    .stat-number { font-size: 40px; font-weight: 800; font-family: 'Inter','Roboto',sans-serif; color: var(--accent); }
    .stat-label { font-size: 14px; opacity: 0.85; margin-top: 6px; }

    /* 板块标题 */
    .section-title { text-align: center; margin-bottom: 48px; }
    .section-title h2 { font-size: 36px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
    .section-title p { color: var(--text-soft); max-width: 600px; margin: 0 auto; }

    /* 数据看板 */
    .dashboard-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
    .dash-card {
      background: var(--card); border-radius: var(--radius); padding: 24px;
      box-shadow: var(--shadow); transition: var(--transition); display: flex; flex-direction: column; gap: 12px;
    }
    .dash-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
    .dash-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(11,61,92,0.08); display: flex; align-items: center; justify-content: center; font-size: 24px; }
    .dash-value { font-size: 40px; font-weight: 800; font-family: 'Inter','Roboto',sans-serif; color: var(--primary); }
    .dash-label { font-size: 15px; color: var(--text-soft); }
    .trend-up { color: #2e7d32; font-weight: 600; font-size: 14px; }

    /* 服务网格 */
    .services-grid { display: flex; flex-direction: column; gap: 32px; }
    .service-row { display: grid; gap: 32px; }
    .row-1 { grid-template-columns: 1fr; }
    .row-2 { grid-template-columns: 1fr 1fr; }
    .row-3 { grid-template-columns: 1fr; }
    .service-card {
      background: var(--card); border-radius: var(--radius); overflow: hidden;
      box-shadow: var(--shadow); transition: var(--transition); display: flex; flex-direction: column;
    }
    .service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
    .service-card.large .service-img { height: 320px; }
    .service-card.medium .service-img { height: 220px; }
    .service-img img { width: 100%; height: 100%; object-fit: cover; }
    .service-body { padding: 24px; }
    .service-body h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; color: var(--primary); }
    .service-body ul { list-style: none; padding: 0; }
    .service-body li { padding: 6px 0; color: var(--text-soft); font-size: 15px; display: flex; align-items: center; gap: 8px; }
    .service-body li::before { content: '✓'; color: var(--accent); font-weight: bold; }

    /* 对比 */
    .comparison-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
    .compare-card {
      background: var(--card); border-radius: var(--radius); padding: 32px;
      box-shadow: var(--shadow); border: 2px solid transparent;
    }
    .compare-card.traditional { background: #f2f5f9; border-color: #dce3eb; }
    .compare-card.saba { border-color: var(--primary); background: #f0f6fc; }
    .compare-card h3 { font-size: 24px; margin-bottom: 20px; }
    .compare-metric { margin-bottom: 18px; }
    .metric-label { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 6px; }
    .progress { height: 8px; background: #e0e7ef; border-radius: 4px; overflow: hidden; }
    .progress-bar { height: 100%; border-radius: 4px; background: var(--primary); }
    .compare-card.saba .progress-bar { background: var(--accent); }

    /* FAQ */
    .faq-search { margin-bottom: 32px; display: flex; justify-content: center; }
    .faq-search input {
      width: 100%; max-width: 400px; padding: 12px 20px; border: 1px solid var(--border);
      border-radius: 40px; font-size: 15px; background: white; outline: none;
    }
    .faq-list { max-width: 800px; margin: 0 auto; }
    .faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; cursor: pointer; }
    .faq-q { font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; align-items: center; }
    .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--text-soft); padding-left: 8px; border-left: 3px solid transparent; }
    .faq-item.open .faq-a { max-height: 200px; padding: 12px 0 12px 12px; border-left-color: var(--accent); }

    /* CTA */
    .cta-section { background: var(--dark-bg); color: white; }
    .cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
    .cta-form { display: flex; flex-direction: column; gap: 18px; }
    .cta-form input, .cta-form textarea {
      background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
      padding: 14px; border-radius: var(--radius-sm); color: white; font-size: 15px; outline: none;
    }
    .cta-form input:focus, .cta-form textarea:focus { border-color: var(--accent); }
    .trust-badges { display: flex; flex-direction: column; gap: 24px; }
    .badge-item { display: flex; align-items: center; gap: 16px; font-size: 17px; font-weight: 500; }
    .badge-icon { width: 48px; height: 48px; background: rgba(245,166,35,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; }

    /* 页脚 */
    footer { background: #0A2533; color: #b0c5d2; padding: 60px 0 24px; }
    .footer-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; margin-bottom: 40px; }
    .footer-col h4 { color: white; margin-bottom: 16px; }
    .footer-col a { display: block; padding: 4px 0; color: #b0c5d2; font-size: 14px; }
    .copyright { text-align: center; font-size: 13px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }

    @media (max-width: 1024px) {
      .dashboard-grid { grid-template-columns: repeat(2,1fr); }
      .row-2 { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) {
      .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%; background: white; padding: 20px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
      .nav-links.open { display: flex; }
      .hamburger { display: flex; }
      .hero h1 { font-size: 36px; }
      .comparison-wrap { grid-template-columns: 1fr; }
      .cta-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .stats-row { gap: 20px; }
    }
