/* roulang page: index */
:root {
      --deep-ocean: #0B1D3A;
      --coral-orange: #FF6B4A;
      --coral-dark: #E55A3A;
      --shallow-teal: #4ECDC4;
      --bg-white: #F8F9FA;
      --card-bg: #EDF2F7;
      --text-dark: #1A202C;
      --text-mid: #4A5568;
      --text-light: #FFFFFF;
      --border-light: #E2E8F0;
      --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.04);
      --shadow-hover: 0 20px 35px rgba(0, 0, 0, 0.08);
      --radius-xl: 20px;
      --radius-lg: 16px;
      --radius-md: 12px;
      --radius-pill: 50px;
      --transition: 0.3s ease;
      --container-max: 1200px;
      --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Inter', system-ui, -apple-system, sans-serif;
      --font-numbers: 'Poppins', 'Inter', sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-white);
      color: var(--text-dark);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }

    button, input, textarea {
      font-family: inherit;
    }

    .container {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
      width: 100%;
    }

    /* 导航第一行 */
    .header-top {
      background: #fff;
      border-bottom: 1px solid var(--border-light);
      height: 64px;
      display: flex;
      align-items: center;
      position: sticky;
      top: 0;
      z-index: 50;
    }

    .header-top .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--deep-ocean);
    }

    .logo-icon {
      font-size: 2rem;
      color: var(--coral-orange);
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .search-icon {
      font-size: 1.3rem;
      color: var(--shallow-teal);
      background: none;
      border: none;
      cursor: default;
    }

    .btn-primary {
      background: var(--coral-orange);
      color: white;
      border: none;
      padding: 10px 24px;
      border-radius: var(--radius-md);
      font-weight: 600;
      font-size: 0.95rem;
      transition: var(--transition);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
    }

    .btn-primary:hover {
      background: var(--coral-dark);
      transform: scale(1.03);
      box-shadow: 0 8px 20px rgba(255, 107, 74, 0.3);
    }

    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--deep-ocean);
      color: var(--deep-ocean);
      padding: 10px 24px;
      border-radius: var(--radius-md);
      font-weight: 600;
      transition: var(--transition);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
    }

    .btn-outline:hover {
      background: rgba(11, 29, 58, 0.05);
    }

    .btn-ghost {
      background: transparent;
      border: 1.5px solid white;
      color: white;
      padding: 12px 28px;
      border-radius: var(--radius-md);
      font-weight: 600;
      transition: var(--transition);
      cursor: pointer;
      backdrop-filter: blur(8px);
    }

    .btn-ghost:hover {
      background: white;
      color: var(--deep-ocean);
    }

    /* 第二行 pill 导航 */
    .nav-channels {
      background: var(--card-bg);
      height: 48px;
      display: flex;
      align-items: center;
      overflow-x: auto;
      white-space: nowrap;
      scrollbar-width: none;
      -ms-overflow-style: none;
      border-bottom: 1px solid rgba(0,0,0,0.03);
    }

    .nav-channels::-webkit-scrollbar {
      display: none;
    }

    .nav-pills {
      display: flex;
      gap: 8px;
      padding: 0 24px;
      align-items: center;
      height: 100%;
    }

    .pill {
      padding: 8px 20px;
      border-radius: var(--radius-pill);
      font-weight: 600;
      font-size: 0.9rem;
      background: transparent;
      color: var(--text-dark);
      transition: var(--transition);
      cursor: pointer;
    }

    .pill.active, .pill:hover {
      background: var(--coral-orange);
      color: white;
    }

    /* Hero */
    .hero {
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      min-height: 600px;
      display: flex;
      align-items: center;
      position: relative;
      color: white;
    }

    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(11,29,58,0.7) 0%, rgba(11,29,58,0.2) 70%);
      z-index: 1;
    }

    .hero .container {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 24px;
    }

    .hero h1 {
      font-size: clamp(2.2rem, 5vw, 3.2rem);
      font-weight: 700;
      line-height: 1.3;
      max-width: 700px;
      color: white;
      text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }

    .hero-sub {
      font-size: 1.2rem;
      color: var(--shallow-teal);
      max-width: 550px;
      font-weight: 400;
    }

    .hero-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-top: 10px;
    }

    /* 通用板块 */
    section {
      padding: 80px 0;
    }

    .section-title {
      text-align: center;
      margin-bottom: 48px;
    }

    .section-title h2 {
      font-size: 2rem;
      font-weight: 700;
      color: var(--deep-ocean);
    }

    .section-title p {
      color: var(--text-mid);
      margin-top: 12px;
      font-size: 1.1rem;
    }

    /* 服务卡片 */
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 24px;
    }

    .service-card {
      background: white;
      border-radius: var(--radius-xl);
      padding: 32px;
      box-shadow: var(--shadow-card);
      transition: var(--transition);
      text-align: center;
    }

    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }

    .card-icon {
      background: var(--shallow-teal);
      width: 64px;
      height: 64px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      font-size: 2rem;
      color: white;
      transition: var(--transition);
    }

    .service-card:hover .card-icon {
      background: var(--coral-orange);
    }

    .service-card h3 {
      font-size: 1.4rem;
      color: var(--deep-ocean);
      margin-bottom: 12px;
    }

    .service-card p {
      color: var(--text-mid);
      font-size: 0.95rem;
    }

    /* 数据徽章 */
    #data {
      background: linear-gradient(135deg, #f0f4ff 0%, #e6f0f5 100%);
    }

    .stats-row {
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      gap: 24px;
      text-align: center;
    }

    .stat-item {
      flex: 1;
      min-width: 160px;
    }

    .stat-number {
      font-family: var(--font-numbers);
      font-size: 3.2rem;
      font-weight: 700;
      background: linear-gradient(135deg, var(--deep-ocean) 30%, var(--coral-orange));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .stat-label {
      color: var(--text-mid);
      font-weight: 500;
    }

    /* 案例卡片 */
    .cases-scroll {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 16px;
      scrollbar-width: thin;
    }

    .case-card {
      min-width: 300px;
      background: white;
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow-card);
      flex-shrink: 0;
      transition: var(--transition);
      overflow: hidden;
    }

    .case-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .case-img {
      height: 180px;
      background-size: cover;
      background-position: center;
    }

    .case-content {
      padding: 20px;
    }

    .case-tag {
      background: var(--shallow-teal);
      color: white;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.8rem;
      display: inline-block;
      margin-bottom: 8px;
    }

    /* 流程 */
    .steps {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 24px;
    }

    .step {
      flex: 1;
      text-align: center;
      position: relative;
    }

    .step-num {
      background: var(--coral-orange);
      color: white;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
      font-weight: 700;
    }

    /* FAQ */
    .faq-item {
      background: white;
      border-radius: var(--radius-lg);
      margin-bottom: 16px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.02);
      border-left: 4px solid transparent;
      transition: var(--transition);
    }

    .faq-item[open] {
      border-left-color: var(--coral-orange);
    }

    .faq-question {
      padding: 20px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 12px;
      cursor: pointer;
      list-style: none;
    }

    .faq-question::-webkit-details-marker { display: none; }

    .faq-answer {
      padding: 0 20px 20px 56px;
      color: var(--text-mid);
    }

    /* CTA */
    #contact {
      background: url('/assets/images/backpic/back-2.webp') center/cover;
      position: relative;
      color: white;
    }

    #contact .overlay {
      background: rgba(11, 29, 58, 0.85);
      position: absolute;
      inset: 0;
    }

    #contact .container {
      position: relative;
      z-index: 2;
      text-align: center;
    }

    .contact-form {
      max-width: 500px;
      margin: 32px auto 0;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .contact-form input, .contact-form textarea {
      padding: 14px;
      border-radius: var(--radius-md);
      border: none;
      background: rgba(255,255,255,0.9);
    }

    /* 页脚 */
    footer {
      background: var(--deep-ocean);
      color: white;
      padding: 60px 0 24px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
      gap: 40px;
      margin-bottom: 32px;
    }

    .footer-links a {
      display: block;
      color: #CBD5E0;
      margin: 8px 0;
    }

    @media (max-width: 768px) {
      .hero {
        min-height: 450px;
      }
      .nav-pills {
        gap: 4px;
      }
      .cards-grid {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }
