/* roulang page: index */
:root {
      --primary-red: #E63946;
      --deep-blue: #1D3557;
      --ice-white: #F1FAEE;
      --mint: #A8DADC;
      --text-dark: #1D3557;
      --text-muted: #6C757D;
      --white: #FFFFFF;
      --border-light: #E9ECEF;
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
      --shadow-md: 0 8px 24px rgba(29, 53, 87, 0.12);
      --shadow-lg: 0 16px 32px rgba(29, 53, 87, 0.18);
      --radius-lg: 12px;
      --radius-md: 8px;
      --radius-btn: 6px;
      --transition: all 0.25s ease;
      --font-title: 'PingFang SC', 'Microsoft YaHei', sans-serif;
      --font-body: 'PingFang SC', 'Microsoft YaHei', sans-serif;
      --font-number: 'DIN Alternate', 'PingFang SC', sans-serif;
      --container-max: 1200px;
      --header-height: 72px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: var(--font-body);
      line-height: 1.8;
      color: var(--text-dark);
      background-color: var(--white);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }

    button, input, textarea {
      font-family: inherit;
      outline: none;
    }

    .container {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航栏 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--header-height);
      background: rgba(255,255,255,0.96);
      backdrop-filter: blur(8px);
      box-shadow: 0 1px 0 rgba(0,0,0,0.05);
      z-index: 1000;
      transition: box-shadow 0.3s;
    }

    .header.scrolled {
      box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
    }

    .logo {
      display: flex;
      align-items: baseline;
      gap: 4px;
      font-weight: 700;
      font-size: 1.4rem;
      color: var(--deep-blue);
      letter-spacing: -0.3px;
    }

    .logo span {
      color: var(--primary-red);
      font-size: 0.8rem;
      font-weight: 400;
      margin-left: 4px;
      color: var(--text-muted);
      font-size: 0.7rem;
    }

    .nav-menu {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .nav-link {
      font-weight: 500;
      font-size: 0.95rem;
      color: var(--text-dark);
      position: relative;
      padding: 4px 0;
    }

    .nav-link::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary-red);
      transition: width 0.3s;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
      width: 100%;
    }

    .btn-primary {
      background: var(--primary-red);
      color: var(--white);
      border: none;
      padding: 10px 24px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 0.9rem;
      cursor: pointer;
      transition: var(--transition);
      box-shadow: 0 4px 10px rgba(230, 57, 70, 0.25);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    .btn-primary:hover {
      background: #c5303c;
      transform: translateY(-2px);
      box-shadow: 0 8px 18px rgba(230, 57, 70, 0.35);
    }

    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--primary-red);
      color: var(--primary-red);
      padding: 10px 24px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 0.9rem;
      cursor: pointer;
      transition: var(--transition);
    }

    .btn-outline:hover {
      background: rgba(230,57,70,0.05);
      transform: translateY(-2px);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: transparent;
      border: none;
    }
    .hamburger span {
      width: 24px;
      height: 2px;
      background: var(--deep-blue);
      transition: var(--transition);
    }

    /* 移动端导航 */
    @media (max-width: 768px) {
      .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(29, 53, 87, 0.97);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        transition: right 0.4s ease;
        z-index: 999;
      }
      .nav-menu.active {
        right: 0;
      }
      .nav-link {
        color: white;
        font-size: 1.2rem;
      }
      .hamburger {
        display: flex;
        z-index: 1001;
      }
      .header .btn-primary {
        display: none;
      }
      .nav-menu .btn-primary {
        display: flex;
        width: 80%;
        margin-top: 20px;
      }
    }

    /* Hero */
    .hero {
      background: linear-gradient(135deg, #1D3557 0%, #E63946 100%);
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding-top: var(--header-height);
      position: relative;
      overflow: hidden;
    }
    .hero .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 40px;
      flex-wrap: wrap;
      width: 100%;
    }
    .hero-content {
      flex: 1 1 400px;
      color: white;
    }
    .hero h1 {
      font-size: 48px;
      font-weight: 700;
      letter-spacing: -0.5px;
      line-height: 1.2;
      margin-bottom: 20px;
    }
    .hero-sub {
      font-size: 18px;
      opacity: 0.9;
      margin-bottom: 32px;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .hero-visual {
      flex: 1 1 450px;
      position: relative;
    }
    .data-badge {
      background: rgba(255,255,255,0.12);
      backdrop-filter: blur(8px);
      border-radius: var(--radius-lg);
      padding: 20px;
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      margin-top: 20px;
    }
    .badge-item {
      text-align: center;
      color: white;
    }
    .badge-number {
      font-family: var(--font-number);
      font-size: 2.2rem;
      color: var(--mint);
      font-weight: 700;
    }
    .hero-image {
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      border-radius: 16px;
      height: 280px;
      width: 100%;
      box-shadow: var(--shadow-lg);
    }

    /* 通用板块 */
    section {
      padding: 100px 0;
    }
    .section-title {
      font-size: 36px;
      font-weight: 700;
      margin-bottom: 16px;
      color: var(--deep-blue);
    }
    .section-desc {
      color: var(--text-muted);
      margin-bottom: 48px;
      max-width: 700px;
    }

    /* 核心优势 不对称栅格 */
    .advantages-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr;
      gap: 24px;
    }
    .adv-large {
      background: #f8f9fa;
      border-radius: var(--radius-lg);
      padding: 40px;
      grid-row: span 2;
    }
    .adv-small {
      background: white;
      border-left: 4px solid var(--primary-red);
      padding: 28px;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-sm);
    }
    .icon-red {
      color: var(--primary-red);
      font-size: 2.5rem;
      margin-bottom: 16px;
    }

    /* 服务矩阵 */
    .tabs {
      display: flex;
      gap: 12px;
      margin-bottom: 32px;
      flex-wrap: wrap;
    }
    .tab {
      padding: 10px 24px;
      border-radius: 30px;
      border: 1px solid #dee2e6;
      background: transparent;
      cursor: pointer;
      font-weight: 500;
      transition: var(--transition);
    }
    .tab.active {
      background: var(--primary-red);
      color: white;
      border-color: var(--primary-red);
    }
    .service-card {
      display: flex;
      gap: 20px;
      background: white;
      border-radius: var(--radius-lg);
      padding: 20px;
      margin-bottom: 20px;
      box-shadow: var(--shadow-sm);
      align-items: center;
    }
    .service-img {
      width: 120px;
      height: 100px;
      border-radius: 8px;
      object-fit: cover;
      flex-shrink: 0;
    }

    /* 数据看板 */
    .dark-bg {
      background: var(--deep-blue);
      color: white;
      border-radius: var(--radius-lg);
      padding: 60px 40px;
    }
    .stats-grid {
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      gap: 30px;
    }
    .stat-number {
      font-family: var(--font-number);
      font-size: 56px;
      color: var(--mint);
    }

    /* 对比卡片 */
    .compare-row {
      display: flex;
      gap: 24px;
      align-items: center;
      flex-wrap: wrap;
    }
    .compare-card {
      flex: 1;
      padding: 32px;
      border-radius: var(--radius-lg);
    }
    .vs-badge {
      background: var(--primary-red);
      color: white;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
    }

    /* FAQ */
    .faq-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    .faq-item {
      border-bottom: 1px solid #eee;
      padding: 16px 0;
    }
    .faq-question {
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
    }

    /* 表单 */
    .contact-row {
      display: flex;
      gap: 40px;
      flex-wrap: wrap;
    }
    .form-left {
      flex: 2;
    }
    .info-right {
      flex: 1;
      background: var(--deep-blue);
      color: white;
      padding: 32px;
      border-radius: var(--radius-lg);
    }
    input, textarea {
      width: 100%;
      padding: 14px;
      border: 1px solid #ddd;
      border-radius: var(--radius-md);
      margin-bottom: 16px;
    }
    input:focus, textarea:focus {
      border-color: var(--primary-red);
      box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
    }

    footer {
      background: #0b1a2f;
      color: #ccc;
      padding: 60px 0 20px;
    }

    @media (max-width: 768px) {
      .advantages-grid, .faq-grid {
        grid-template-columns: 1fr;
      }
      .hero h1 {
        font-size: 36px;
      }
      .service-card {
        flex-direction: column;
      }
      .compare-row {
        flex-direction: column;
      }
    }
