/* roulang page: index */
:root {
      --primary: #0A0E27;
      --primary-light: #1A1F3A;
      --accent: #FF4D2E;
      --bg: #F5F7FC;
      --white: #FFFFFF;
      --gray-200: #E5E7EB;
      --gray-400: #9CA3AF;
      --gray-600: #6B7280;
      --shadow: 0 8px 32px rgba(10,14,39,0.08);
      --shadow-hover: 0 16px 40px rgba(10,14,39,0.15);
      --radius-lg: 16px;
      --radius-md: 12px;
      --radius-btn: 40px;
      --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
      background-color: var(--bg);
      color: #1F2937;
      line-height: 1.7;
      font-size: 16px;
      -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;
      outline: none;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 40px;
    }

    @media (max-width: 768px) {
      .container {
        padding: 0 20px;
      }
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 72px;
      background: rgba(10,14,39,0.78);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      z-index: 1000;
      display: flex;
      align-items: center;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }

    .logo {
      font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
      font-weight: 700;
      font-size: 24px;
      color: var(--white);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .logo-icon {
      font-size: 28px;
      color: var(--accent);
    }

    .nav-links {
      display: flex;
      gap: 36px;
      align-items: center;
    }
    .nav-links a {
      color: var(--gray-200);
      font-weight: 500;
      font-size: 15px;
      position: relative;
      padding: 5px 0;
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--white);
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.3s;
    }
    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }

    /* 移动端底部固定胶囊导航 */
    .mobile-nav {
      display: none;
    }

    @media (max-width: 768px) {
      .header {
        display: none;
      }
      .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 40px);
        max-width: 480px;
        background: rgba(10,14,39,0.92);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-radius: 28px;
        padding: 8px 12px;
        justify-content: space-around;
        z-index: 1001;
        box-shadow: 0 12px 30px rgba(0,0,0,0.3);
      }
      .mobile-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: var(--gray-400);
        font-size: 12px;
        padding: 6px 10px;
        border-radius: 24px;
        transition: var(--transition);
        gap: 2px;
      }
      .mobile-nav a i {
        font-size: 20px;
      }
      .mobile-nav a.active, .mobile-nav a:hover {
        color: var(--white);
        background: var(--accent);
      }
    }

    /* Hero */
    .hero {
      min-height: 100vh;
      background: linear-gradient(135deg, #0A0E27 0%, #1A1F3A 100%);
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(255,77,46,0.15) 0%, transparent 70%);
      top: -150px;
      right: -100px;
      border-radius: 50%;
      animation: pulse 8s infinite alternate;
    }
    @keyframes pulse {
      0% { transform: scale(1); opacity: 0.5; }
      100% { transform: scale(1.2); opacity: 0.8; }
    }
    .hero-content {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 40px;
      position: relative;
      z-index: 2;
    }
    .hero-text {
      flex: 1;
      color: white;
    }
    .hero h1 {
      font-size: 48px;
      font-weight: 700;
      letter-spacing: -0.5px;
      margin-bottom: 24px;
      color: white;
      font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    }
    .hero h1 span {
      color: var(--accent);
    }
    .hero-sub {
      font-size: 20px;
      color: rgba(255,255,255,0.8);
      margin-bottom: 40px;
    }
    .btn-group {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: var(--accent);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      border: none;
      cursor: pointer;
      transition: var(--transition);
      box-shadow: 0 4px 16px rgba(255,77,46,0.4);
    }
    .btn-primary:hover {
      transform: scale(1.05);
      box-shadow: 0 0 24px rgba(255,77,46,0.7);
    }
    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--accent);
      color: var(--accent);
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: var(--transition);
    }
    .btn-outline:hover {
      background: rgba(255,77,46,0.1);
    }
    .hero-visual {
      flex: 1;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      border-radius: 24px;
      height: 400px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.5);
      opacity: 0.9;
      border: 1px solid rgba(255,255,255,0.15);
    }
    @media (max-width: 768px) {
      .hero-content {
        flex-direction: column;
        text-align: center;
      }
      .hero h1 {
        font-size: 32px;
      }
      .hero-visual {
        height: 220px;
        width: 100%;
        margin-top: 20px;
      }
    }

    /* 通用区块 */
    section {
      padding: 100px 0;
    }
    @media (max-width: 768px) {
      section {
        padding: 60px 0;
      }
    }
    .section-title {
      font-size: 36px;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 16px;
      font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    }
    .section-subtitle {
      font-size: 18px;
      color: var(--gray-600);
      margin-bottom: 48px;
    }
    @media (max-width: 768px) {
      .section-title {
        font-size: 26px;
      }
    }

    /* 服务区 - 不对称栅格 */
    .services-grid {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 24px;
    }
    .service-card {
      background: rgba(255,255,255,0.82);
      backdrop-filter: blur(12px);
      border-radius: var(--radius-lg);
      padding: 28px;
      box-shadow: var(--shadow);
      transition: var(--transition);
      border: 1px solid rgba(255,255,255,0.5);
    }
    .service-card:hover {
      box-shadow: var(--shadow-hover), 0 0 0 1px rgba(255,77,46,0.3);
      transform: translateY(-4px);
    }
    .service-large {
      grid-row: span 2;
    }
    .right-stack {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .service-icon {
      font-size: 32px;
      color: var(--accent);
      margin-bottom: 16px;
    }
    .service-card h4 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 12px;
    }
    .service-desc {
      color: var(--gray-600);
      font-size: 15px;
      margin-bottom: 16px;
    }
    .link-more {
      color: var(--accent);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }
    @media (max-width: 768px) {
      .services-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 数据条 */
    .stats-band {
      background: linear-gradient(135deg, #0A0E27 0%, #1A1F3A 100%);
      padding: 60px 0;
      color: white;
    }
    .stats-grid {
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      text-align: center;
    }
    .stat-item h3 {
      font-size: 40px;
      font-weight: 700;
      background: linear-gradient(to right, #FF4D2E, #FF8A6F);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .stat-item p {
      color: var(--gray-400);
      margin-top: 8px;
    }
    @media (max-width: 768px) {
      .stats-grid {
        gap: 24px;
      }
      .stat-item h3 {
        font-size: 32px;
      }
    }

    /* 案例横向滚动 */
    .cases-scroll {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 16px;
      scroll-snap-type: x mandatory;
    }
    .case-card {
      min-width: 280px;
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(12px);
      border-radius: var(--radius-md);
      padding: 24px;
      box-shadow: var(--shadow);
      scroll-snap-align: start;
      transition: var(--transition);
    }
    .case-card:hover {
      transform: translateY(-8px);
    }
    .case-logo {
      height: 48px;
      background: #f0f0f0;
      margin-bottom: 16px;
      filter: grayscale(1);
      border-radius: 8px;
      background-image: url('/assets/images/coverpic/cover-2.webp');
      background-size: cover;
    }
    .case-card:hover .case-logo {
      filter: grayscale(0);
    }

    /* 解决方案卡片 */
    .solution-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 24px;
    }
    .solution-card {
      background: white;
      border-radius: var(--radius-lg);
      padding: 28px;
      box-shadow: var(--shadow);
    }
    .tag {
      background: rgba(255,77,46,0.1);
      color: var(--accent);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 13px;
      font-weight: 600;
      display: inline-block;
    }

    /* FAQ */
    .faq-item {
      background: white;
      border-radius: var(--radius-md);
      margin-bottom: 16px;
      overflow: hidden;
      box-shadow: var(--shadow);
    }
    .faq-question {
      padding: 20px 28px;
      font-weight: 600;
      font-size: 18px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      border-left: 4px solid transparent;
      transition: var(--transition);
    }
    .faq-item.active .faq-question {
      border-left-color: var(--accent);
      color: var(--accent);
    }
    .faq-answer {
      padding: 0 28px 20px;
      color: var(--gray-600);
    }

    /* CTA */
    .cta-section {
      background: linear-gradient(135deg, #0A0E27 0%, #1A1F3A 100%);
      color: white;
    }
    .cta-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }
    .input-field {
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.2);
      padding: 14px;
      border-radius: 12px;
      width: 100%;
      margin-bottom: 16px;
      color: white;
      transition: 0.2s;
    }
    .input-field:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(255,77,46,0.3);
    }
    @media (max-width: 768px) {
      .cta-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 页脚 */
    .footer {
      background: var(--primary);
      color: var(--gray-400);
      padding: 60px 0 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 30px;
    }
    .footer a:hover {
      color: white;
    }
    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
