/* roulang page: index */
:root {
      --primary-dark: #0A0E27;
      --accent-red: #FF4655;
      --accent-cyan: #00E5FF;
      --bg-light: #F5F6FA;
      --white: #FFFFFF;
      --text-dark: #1E1E2F;
      --text-muted: #6B7280;
      --border-light: #E0E3EB;
      --radius-card: 12px;
      --radius-btn: 30px;
      --shadow-card: 0 4px 20px rgba(10,14,39,0.06);
      --shadow-hover: 0 8px 30px rgba(0,229,255,0.15);
      --transition: all 0.25s ease;
      --font-head: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      --font-body: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      --font-mono: 'DIN Alternate', 'Consolas', 'Monaco', monospace;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-body);
      background-color: var(--bg-light);
      color: var(--text-dark);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    h1, h2, h3, h4 {
      font-family: var(--font-head);
      font-weight: 700;
      margin-bottom: 0.75rem;
      color: var(--primary-dark);
    }

    h1 {
      font-size: 3rem;
      line-height: 1.2;
    }
    h2 {
      font-size: 2.25rem;
      line-height: 1.3;
    }
    h3 {
      font-size: 1.5rem;
      line-height: 1.4;
    }
    p {
      margin-bottom: 1rem;
      color: var(--text-muted);
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: var(--transition);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    /* 导航 */
    .main-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: var(--white);
      height: 64px;
      box-shadow: 0 2px 12px rgba(10,14,39,0.04);
      z-index: 100;
      display: flex;
      align-items: center;
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    .logo {
      font-family: var(--font-head);
      font-weight: 800;
      font-size: 1.7rem;
      color: var(--primary-dark);
      display: flex;
      align-items: center;
      gap: 0.3rem;
    }
    .logo i {
      color: var(--accent-red);
      font-size: 1.9rem;
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      align-items: center;
    }
    .nav-links a {
      font-weight: 600;
      font-size: 0.95rem;
      color: var(--text-dark);
      position: relative;
      padding-bottom: 4px;
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--accent-red);
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent-red);
      transition: width 0.2s;
    }
    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }

    .hamburger {
      display: none;
      font-size: 1.8rem;
      cursor: pointer;
      color: var(--primary-dark);
      background: none;
      border: none;
    }

    /* 移动端导航面板 */
    .mobile-menu {
      display: none;
      position: fixed;
      top: 64px;
      left: 0;
      width: 100%;
      background: rgba(10,14,39,0.95);
      backdrop-filter: blur(10px);
      flex-direction: column;
      padding: 2rem;
      gap: 1.8rem;
      z-index: 99;
    }
    .mobile-menu a {
      color: white;
      font-size: 1.4rem;
      font-weight: 600;
      border-bottom: 1px solid rgba(255,255,255,0.2);
      padding-bottom: 0.5rem;
    }
    .mobile-menu a:hover {
      color: var(--accent-cyan);
    }
    .mobile-menu.open {
      display: flex;
    }

    /* 板块通用 */
    section {
      padding: 80px 0;
    }

    .section-title {
      text-align: center;
      margin-bottom: 3rem;
    }
    .section-title h2 {
      margin-bottom: 0.5rem;
    }
    .section-title p {
      font-size: 1.15rem;
      color: var(--text-muted);
    }

    /* Hero */
    .hero {
      background: linear-gradient(135deg, #0A0E27 0%, #1A1F3A 100%);
      position: relative;
      overflow: hidden;
      min-height: 90vh;
      display: flex;
      align-items: center;
      color: white;
      margin-top: 64px;
      padding: 100px 0;
    }
    .hero::before {
      content: "";
      position: absolute;
      top: -20%;
      right: -10%;
      width: 70%;
      height: 140%;
      background: radial-gradient(circle at center, rgba(0,229,255,0.15) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 2rem;
      position: relative;
      z-index: 2;
    }
    .hero-content {
      flex: 1 1 500px;
    }
    .hero-content h1 {
      color: white;
      font-size: 3.2rem;
      margin-bottom: 1.3rem;
    }
    .hero-content p {
      color: rgba(255,255,255,0.8);
      font-size: 1.25rem;
      margin-bottom: 2rem;
    }
    .hero-buttons {
      display: flex;
      gap: 1.2rem;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: var(--accent-red);
      color: white;
      border: none;
      padding: 0.9rem 2.2rem;
      border-radius: var(--radius-btn);
      font-weight: 700;
      font-size: 1rem;
      transition: var(--transition);
      display: inline-block;
      cursor: pointer;
      box-shadow: 0 6px 16px rgba(255,70,85,0.3);
    }
    .btn-primary:hover {
      filter: brightness(1.1);
      transform: scale(1.02);
      color: white;
    }
    .btn-outline {
      background: transparent;
      border: 2px solid var(--accent-cyan);
      color: var(--accent-cyan);
      padding: 0.9rem 2.2rem;
      border-radius: var(--radius-btn);
      font-weight: 700;
      transition: var(--transition);
      display: inline-block;
      cursor: pointer;
    }
    .btn-outline:hover {
      background: rgba(0,229,255,0.1);
      color: white;
      border-color: white;
    }
    .hero-image {
      flex: 1 1 400px;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      border-radius: 18px;
      min-height: 320px;
      box-shadow: 0 20px 35px rgba(0,0,0,0.5);
      border: 1px solid rgba(255,255,255,0.15);
    }

    /* 核心优势 非对称栅格 */
    .features-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr;
      gap: 24px;
    }
    .feature-card {
      background: var(--white);
      border-radius: var(--radius-card);
      padding: 2rem;
      box-shadow: var(--shadow-card);
      transition: var(--transition);
      display: flex;
      flex-direction: column;
      border: 1px solid transparent;
    }
    .feature-card:hover {
      border-color: var(--accent-cyan);
      box-shadow: var(--shadow-hover);
    }
    .feature-card.large {
      grid-row: span 2;
    }
    .feature-icon {
      font-size: 2.4rem;
      color: var(--accent-red);
      margin-bottom: 1.2rem;
    }
    .feature-card h3 {
      font-size: 1.6rem;
    }

    /* 场景横向滚动 */
    .scenarios-scroll {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 1rem;
      scroll-snap-type: x mandatory;
    }
    .scenario-card {
      flex: 0 0 300px;
      background: white;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      scroll-snap-align: start;
      overflow: hidden;
      transition: var(--transition);
    }
    .scenario-card:hover {
      box-shadow: var(--shadow-hover);
    }
    .scenario-img {
      height: 180px;
      background-size: cover;
      background-position: center;
    }
    .scenario-info {
      padding: 1.5rem;
    }

    /* 案例交替 */
    .case-row {
      display: flex;
      align-items: center;
      gap: 3rem;
      margin-bottom: 3rem;
      flex-wrap: wrap;
    }
    .case-text {
      flex: 1 1 300px;
    }
    .case-stats {
      font-family: var(--font-mono);
      font-size: 2.3rem;
      color: var(--accent-red);
      font-weight: 700;
    }
    .case-img {
      flex: 1 1 300px;
      background-size: cover;
      background-position: center;
      border-radius: var(--radius-card);
      height: 240px;
    }

    /* 价格卡片 */
    .pricing-grid {
      display: flex;
      gap: 24px;
      justify-content: center;
      flex-wrap: wrap;
    }
    .pricing-card {
      background: white;
      border-radius: var(--radius-card);
      padding: 2rem;
      box-shadow: var(--shadow-card);
      flex: 1 1 280px;
      max-width: 320px;
      text-align: center;
      border: 1px solid transparent;
    }
    .pricing-card.featured {
      border: 2px solid var(--accent-cyan);
      transform: scale(1.03);
      box-shadow: var(--shadow-hover);
    }
    .price {
      font-size: 2.5rem;
      font-weight: 800;
      color: var(--primary-dark);
    }

    /* FAQ */
    .accordion-item {
      background: white;
      border-radius: var(--radius-card);
      margin-bottom: 1rem;
      box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    }
    .accordion-title {
      padding: 1.2rem 1.8rem;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .accordion-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease;
      padding: 0 1.8rem;
      background: #f9fafc;
    }
    .accordion-content.open {
      max-height: 300px;
      padding: 1rem 1.8rem;
    }

    /* 页脚 */
    .footer {
      background: var(--primary-dark);
      color: white;
      padding: 3rem 0 1.5rem;
    }
    .footer-grid {
      display: flex;
      gap: 2rem;
      flex-wrap: wrap;
      justify-content: space-between;
    }
    .footer input {
      border-radius: 8px;
      border: 1px solid #ccc;
      padding: 0.7rem;
    }

    @media (max-width: 1024px) {
      h1 { font-size: 2.5rem; }
      .features-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: block; }
      .hero-content h1 { font-size: 2.2rem; }
      .hero { text-align: center; }
      .hero-image { min-height: 250px; }
      .pricing-card.featured { transform: none; }
      .footer-grid { flex-direction: column; }
    }
