/* roulang page: index */
:root {
      --primary: #E63946;
      --primary-dark: #C1121F;
      --secondary: #1D1D2C;
      --accent: #F4A261;
      --bg-white: #FFFFFF;
      --bg-light: #F8F9FA;
      --text-dark: #1D1D2C;
      --text-body: #4A4A4A;
      --text-muted: #777777;
      --text-on-dark: #FFFFFF;
      --border: #E0E0E0;
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
      --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.1);
      --transition: 0.25s cubic-bezier(0.2, 0.0, 0.0, 1.0);
      --container-max: 1200px;
      --section-gap: 100px;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      background-color: var(--bg-white);
      color: var(--text-body);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }
    button, input, textarea {
      font-family: inherit;
      font-size: 16px;
      border: none;
      outline: none;
      background: transparent;
    }
    .container {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 20px;
    }
    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
      background: transparent;
    }
    .header.scrolled {
      background: rgba(29, 29, 44, 0.95);
      backdrop-filter: blur(12px);
      box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
      padding: 0 20px;
      max-width: var(--container-max);
      margin: 0 auto;
    }
    .logo {
      font-size: 1.8rem;
      font-weight: 700;
      color: #fff;
      letter-spacing: 1px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .logo .icon-mark {
      font-size: 2rem;
      color: var(--accent);
    }
    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
    }
    .nav-links a {
      color: rgba(255,255,255,0.9);
      font-weight: 500;
      font-size: 0.95rem;
      position: relative;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width 0.3s;
    }
    .nav-links a:hover {
      color: #fff;
    }
    .nav-links a:hover::after {
      width: 100%;
    }
    .btn-primary {
      background: var(--primary);
      color: #fff;
      padding: 12px 28px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      letter-spacing: 0.5px;
      transition: var(--transition);
      display: inline-block;
      text-align: center;
      cursor: pointer;
    }
    .btn-primary:hover {
      background: var(--primary-dark);
      transform: translateY(-1px);
    }
    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 12px 28px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      letter-spacing: 0.5px;
      transition: var(--transition);
      display: inline-block;
      text-align: center;
      cursor: pointer;
    }
    .btn-outline:hover {
      background: var(--primary);
      color: #fff;
    }
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
    }
    .hamburger span {
      width: 25px;
      height: 2px;
      background: #fff;
      transition: 0.3s;
    }
    @media (max-width: 768px) {
      .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--secondary);
        flex-direction: column;
        justify-content: center;
        gap: 36px;
        transition: right 0.3s;
        backdrop-filter: blur(12px);
      }
      .nav-links.active {
        right: 0;
      }
      .hamburger {
        display: flex;
        z-index: 1100;
      }
      .nav-cta {
        display: none;
      }
    }
    /* Hero */
    .hero {
      height: 100vh;
      min-height: 650px;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      position: relative;
      display: flex;
      align-items: center;
      color: #fff;
    }
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 100%);
    }
    .hero-content {
      position: relative;
      max-width: 700px;
    }
    .hero h1 {
      font-size: 48px;
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: -0.5px;
      margin-bottom: 24px;
    }
    .hero .subtitle {
      font-size: 20px;
      margin-bottom: 40px;
      opacity: 0.9;
      max-width: 550px;
    }
    .hero-buttons {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }
    @media (max-width: 768px) {
      .hero {
        height: 70vh;
        min-height: 500px;
      }
      .hero h1 {
        font-size: 32px;
      }
      .hero .subtitle {
        font-size: 17px;
      }
    }
    /* 通用区块 */
    section {
      padding: var(--section-gap) 0;
    }
    @media (max-width: 768px) {
      section {
        padding: 60px 0;
      }
    }
    .section-title {
      font-size: 36px;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 16px;
      text-align: center;
    }
    .section-sub {
      font-size: 18px;
      color: var(--text-muted);
      max-width: 600px;
      margin: 0 auto 50px;
      text-align: center;
    }
    /* 优势卡片 */
    .advantages-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .adv-card {
      background: #fff;
      border-radius: var(--radius-lg);
      padding: 32px 24px;
      box-shadow: var(--shadow-card);
      transition: var(--transition);
      text-align: center;
    }
    .adv-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
    .adv-icon {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: rgba(230,57,70,0.08);
      margin: 0 auto 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 32px;
    }
    .adv-card h3 {
      font-size: 22px;
      font-weight: 600;
      margin-bottom: 12px;
      color: var(--text-dark);
    }
    @media (max-width: 1024px) {
      .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @media (max-width: 520px) {
      .advantages-grid {
        grid-template-columns: 1fr;
      }
    }
    /* 服务体系 */
    .service-row {
      display: flex;
      align-items: center;
      gap: 80px;
      margin-bottom: 80px;
    }
    .service-row.reverse {
      flex-direction: row-reverse;
    }
    .service-img {
      flex: 1;
      border-radius: var(--radius-lg);
      overflow: hidden;
    }
    .service-img img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }
    .service-text {
      flex: 1;
    }
    .service-text h2 {
      font-size: 32px;
      font-weight: 700;
      margin-bottom: 20px;
      color: var(--text-dark);
    }
    .service-list {
      list-style: none;
      margin: 20px 0;
    }
    .service-list li {
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .service-list li::before {
      content: "✓";
      color: var(--primary);
      font-weight: bold;
      font-size: 1.2rem;
    }
    @media (max-width: 768px) {
      .service-row, .service-row.reverse {
        flex-direction: column;
        gap: 30px;
      }
      .service-text h2 {
        font-size: 26px;
      }
    }
    /* 案例横向滚动 */
    .cases-wrapper {
      background: linear-gradient(135deg, var(--secondary) 0%, #2A2A3C 100%);
      padding: 60px 0;
      margin-top: -20px;
    }
    .cases-scroll {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding: 20px 0;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
    }
    .cases-scroll::-webkit-scrollbar {
      display: none;
    }
    .case-card {
      flex: 0 0 320px;
      scroll-snap-align: start;
      background: #fff;
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-card);
      transition: transform 0.3s;
    }
    .case-card:hover {
      transform: scale(1.03);
    }
    .case-img {
      aspect-ratio: 16/9;
      background: #eee;
      overflow: hidden;
    }
    .case-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .case-info {
      padding: 20px;
    }
    .case-info h4 {
      font-weight: 600;
      margin-bottom: 8px;
    }
    .highlight-number {
      font-weight: 700;
      color: var(--accent);
      font-size: 1.4rem;
    }
    @media (max-width: 768px) {
      .case-card {
        flex: 0 0 280px;
      }
    }
    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }
    .faq-item {
      border-bottom: 1px solid var(--border);
      padding: 20px 0;
      cursor: pointer;
    }
    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      font-size: 18px;
      color: var(--text-dark);
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-body);
      padding-right: 30px;
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      margin-top: 12px;
    }
    .faq-icon {
      font-size: 24px;
      font-weight: 300;
      color: var(--primary);
    }
    /* CTA */
    .cta-section {
      background: linear-gradient(135deg, var(--primary) 0%, #C1121F 100%);
      color: #fff;
      text-align: center;
    }
    .cta-grid {
      display: flex;
      align-items: center;
      gap: 40px;
      flex-wrap: wrap;
      justify-content: center;
    }
    .cta-form {
      background: #fff;
      padding: 32px;
      border-radius: var(--radius-lg);
      color: var(--text-dark);
      max-width: 400px;
      width: 100%;
    }
    .cta-form input, .cta-form textarea {
      width: 100%;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 12px 16px;
      margin-bottom: 16px;
      transition: 0.2s;
    }
    .cta-form input:focus, .cta-form textarea:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(230,57,70,0.15);
    }
    /* 页脚 */
    .footer {
      background: var(--secondary);
      color: #ccc;
      padding: 60px 0 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }
    .footer h4 {
      color: #fff;
      margin-bottom: 20px;
      font-size: 18px;
    }
    .footer a {
      color: #aaa;
      display: block;
      margin-bottom: 10px;
    }
    .footer a:hover {
      color: var(--primary);
    }
    .social-icons {
      display: flex;
      gap: 15px;
      margin-top: 15px;
    }
    .social-icons span {
      width: 36px;
      height: 36px;
      border: 1px solid #555;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: 0.2s;
      cursor: pointer;
    }
    .social-icons span:hover {
      border-color: var(--primary);
      color: var(--primary);
    }
    .copyright {
      border-top: 1px solid #333;
      margin-top: 40px;
      padding-top: 20px;
      text-align: center;
      font-size: 14px;
    }
    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }
    @media (max-width: 500px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
