/* roulang page: index */
:root {
      --primary: #E63946;
      --primary-dark: #C1121F;
      --secondary: #1D3557;
      --accent: #F4A261;
      --bg: #FAFAFA;
      --card-bg: #FFFFFF;
      --text: #1A1A1A;
      --text-secondary: #555555;
      --text-muted: #777777;
      --border: #E5E5E5;
      --shadow-light: 0 2px 12px rgba(0,0,0,0.06);
      --shadow-medium: 0 8px 24px rgba(0,0,0,0.12);
      --radius-card: 12px;
      --radius-scene: 16px;
      --radius-btn: 8px;
      --max-width: 1200px;
      --header-height: 72px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.8;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 20px;
    }

    @media (max-width: 768px) {
      .container {
        padding: 0 16px;
      }
    }

    h1, h2, h3, h4 {
      font-weight: 700;
      line-height: 1.3;
    }

    h1 {
      font-size: 48px;
      font-weight: 700;
    }

    h2 {
      font-size: 36px;
      font-weight: 700;
      text-align: center;
      margin-bottom: 12px;
    }

    h3 {
      font-size: 22px;
      font-weight: 600;
    }

    @media (max-width: 768px) {
      h1 { font-size: 32px; }
      h2 { font-size: 26px; }
      h3 { font-size: 20px; }
      body { font-size: 15px; }
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.25s ease;
    }

    img {
      max-width: 100%;
      display: block;
      height: auto;
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: all 0.25s ease;
      border: none;
      font-weight: 600;
    }

    .btn-primary {
      background-color: var(--primary);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-size: 16px;
    }

    .btn-primary:hover {
      background-color: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: 0 8px 16px rgba(230,57,70,0.2);
    }

    .btn-outline {
      background: transparent;
      color: var(--primary);
      border: 2px solid var(--primary);
      padding: 12px 32px;
      border-radius: var(--radius-btn);
      font-size: 16px;
    }

    .btn-outline:hover {
      background-color: rgba(230,57,70,0.08);
    }

    section {
      padding: 100px 0;
    }

    @media (max-width: 768px) {
      section {
        padding: 60px 0;
      }
    }

    .section-subtitle {
      text-align: center;
      color: var(--text-secondary);
      font-size: 18px;
      margin-bottom: 48px;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--header-height);
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(12px);
      z-index: 1000;
      transition: background 0.3s, box-shadow 0.3s;
      display: flex;
      align-items: center;
    }

    .header.scrolled {
      background: rgba(255,255,255,1);
      box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    }

    .header .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .logo {
      font-size: 24px;
      font-weight: 700;
      color: var(--secondary);
      letter-spacing: 1px;
    }

    .logo span {
      color: var(--primary);
    }

    .nav-links {
      display: flex;
      gap: 32px;
      list-style: none;
    }

    .nav-links a {
      color: var(--secondary);
      font-weight: 500;
      position: relative;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 50%;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: 0.25s ease;
      transform: translateX(-50%);
    }

    .nav-links a:hover {
      color: var(--primary);
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      width: 28px;
      height: 24px;
      justify-content: center;
    }

    .hamburger span {
      display: block;
      height: 2px;
      background: var(--secondary);
      transition: 0.3s;
    }

    .mobile-menu {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: var(--secondary);
      z-index: 999;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 32px;
    }

    .mobile-menu.active {
      display: flex;
    }

    .mobile-menu a {
      color: white;
      font-size: 22px;
      font-weight: 500;
    }

    .mobile-menu .close-btn {
      position: absolute;
      top: 20px;
      right: 20px;
      background: none;
      border: none;
      color: white;
      font-size: 32px;
      cursor: pointer;
    }

    @media (max-width: 1024px) {
      .nav-links {
        display: none;
      }
      .hamburger {
        display: flex;
      }
    }

    /* Hero */
    .hero {
      height: 100vh;
      min-height: 600px;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      position: relative;
      display: flex;
      align-items: center;
      color: white;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 700px;
    }

    .hero h1 {
      margin-bottom: 20px;
      animation: fadeUp 0.8s ease;
    }

    .hero .subtitle {
      font-size: 20px;
      margin-bottom: 32px;
      color: #E0E0E0;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 768px) {
      .hero {
        min-height: 80vh;
      }
      .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    /* 核心优势 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .feature-card {
      background: var(--card-bg);
      padding: 32px 24px;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-light);
      text-align: center;
      transition: all 0.3s ease;
    }

    .feature-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-medium);
    }

    .feature-icon {
      width: 48px;
      height: 48px;
      margin: 0 auto 16px;
      background: var(--primary);
      mask-size: contain;
      mask-repeat: no-repeat;
      mask-position: center;
      -webkit-mask-size: contain;
      -webkit-mask-repeat: no-repeat;
      -webkit-mask-position: center;
      background-color: var(--primary);
    }

    .icon-official { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z'/%3E%3C/svg%3E"); }
    .icon-data { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z'/%3E%3C/svg%3E"); }
    .icon-sync { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15'/%3E%3C/svg%3E"); }
    .icon-globe { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9'/%3E%3C/svg%3E"); }

    @media (max-width: 1024px) {
      .features-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .features-grid { grid-template-columns: 1fr; }
    }

    /* 服务项目 */
    .service-row {
      display: flex;
      align-items: center;
      gap: 60px;
      margin-bottom: 80px;
    }
    .service-row:last-child { margin-bottom: 0; }
    .service-img {
      width: 50%;
      border-radius: var(--radius-card);
      overflow: hidden;
    }
    .service-text {
      width: 50%;
    }
    .service-text h3 { margin-bottom: 16px; }
    .service-text ul {
      list-style: none;
      margin: 20px 0;
    }
    .service-text li {
      margin-bottom: 10px;
      padding-left: 24px;
      position: relative;
    }
    .service-text li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 10px;
      width: 12px;
      height: 2px;
      background: var(--primary);
    }
    @media (max-width: 768px) {
      .service-row {
        flex-direction: column;
      }
      .service-img, .service-text {
        width: 100%;
      }
    }

    /* 场景卡片 */
    .scenes-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .scene-card {
      background: var(--card-bg);
      border-radius: var(--radius-scene);
      overflow: hidden;
      box-shadow: var(--shadow-light);
      transition: 0.3s;
    }
    .scene-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-medium);
    }
    .scene-img {
      height: 200px;
      background-size: cover;
      background-position: center;
    }
    .scene-info {
      padding: 20px;
    }
    @media (max-width: 1024px) {
      .scenes-grid { grid-template-columns: repeat(2,1fr); }
    }
    @media (max-width: 600px) {
      .scenes-grid { grid-template-columns: 1fr; }
    }

    /* 案例 */
    .cases-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }
    .case-card {
      background: #F9F9FB;
      display: flex;
      padding: 20px;
      border-radius: var(--radius-card);
      border-left: 4px solid var(--primary);
      align-items: center;
      gap: 20px;
    }
    .case-logo {
      width: 80px;
      height: 80px;
      background: white;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    @media (max-width: 768px) {
      .cases-grid { grid-template-columns: 1fr; }
      .case-card { flex-direction: column; align-items: flex-start; }
    }

    /* FAQ */
    .faq-item {
      border-bottom: 1px solid var(--border);
    }
    .faq-question {
      width: 100%;
      background: white;
      padding: 20px 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      font-size: 18px;
      border: none;
      cursor: pointer;
      text-align: left;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s;
      background: #FAFAFA;
      color: #444;
      padding: 0 20px;
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      padding: 20px;
    }
    .faq-icon {
      transition: 0.3s;
    }
    .faq-item.active .faq-icon {
      transform: rotate(45deg);
    }

    /* CTA */
    .cta-section {
      background: var(--primary);
      color: white;
      text-align: center;
    }
    .contact-form {
      max-width: 480px;
      margin: 32px auto 0;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .contact-form input, .contact-form textarea {
      padding: 12px 16px;
      border-radius: 6px;
      border: 1px solid #ddd;
      font-size: 16px;
      background: white;
    }
    .contact-form input:focus, .contact-form textarea:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(230,57,70,0.15);
      outline: none;
    }
    .privacy-note {
      font-size: 13px;
      color: rgba(255,255,255,0.8);
      margin-top: 12px;
    }

    /* Footer */
    .footer {
      background: #0B1A2E;
      color: #B0B8C1;
      padding: 60px 0 20px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }
    .footer a {
      color: #E0E0E0;
      font-size: 14px;
      display: block;
      margin-bottom: 8px;
    }
    .footer a:hover { color: var(--primary); }
    .copyright {
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 20px;
      text-align: center;
      font-size: 13px;
    }
    @media (max-width: 768px) {
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
