/* roulang page: index */
:root {
      --primary: #0EA5E9;
      --primary-dark: #0284C7;
      --accent: #F59E0B;
      --accent-dark: #D97706;
      --purple: #8B5CF6;
      --bg: #F8FAFC;
      --card-white: #FFFFFF;
      --text-main: #1E293B;
      --text-soft: #475569;
      --text-muted: #64748B;
      --border: #E2E8F0;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
      --shadow-hover: 0 10px 25px -5px rgba(14,165,233,0.15), 0 4px 10px -5px rgba(0,0,0,0.05);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-tag: 20px;
      --transition: 0.2s ease;
      --nav-height: 64px;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
      background-color: var(--bg);
      color: var(--text-main);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }
    img {
      max-width: 100%;
      display: block;
    }
    a {
      text-decoration: none;
      color: inherit;
    }
    button {
      font-family: inherit;
      cursor: pointer;
      border: none;
      background: none;
    }
    /* 导航栏 */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--nav-height);
      z-index: 100;
      background: transparent;
      transition: background 0.25s ease, box-shadow 0.25s ease;
      display: flex;
      align-items: center;
    }
    .site-header.scrolled {
      background: #FFFFFF;
      box-shadow: 0 1px 3px rgba(0,0,0,0.05);
      backdrop-filter: blur(6px);
      background: rgba(255,255,255,0.96);
    }
    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--primary);
      letter-spacing: -0.3px;
      white-space: nowrap;
    }
    .logo-icon {
      font-size: 1.8rem;
      filter: drop-shadow(0 2px 3px rgba(14,165,233,0.3));
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 28px;
      list-style: none;
      font-weight: 500;
      color: var(--text-soft);
    }
    .nav-links a {
      position: relative;
      padding: 8px 0;
      font-size: 0.95rem;
      transition: color var(--transition);
    }
    .nav-links a:hover {
      color: var(--primary);
    }
    .nav-links a.active {
      color: var(--primary);
    }
    .nav-links a.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--primary);
      border-radius: 2px;
    }
    .header-right {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .search-trigger {
      font-size: 1.2rem;
      color: var(--text-soft);
      background: none;
      border: none;
      display: flex;
      align-items: center;
      transition: color var(--transition);
    }
    .search-trigger:hover {
      color: var(--primary);
    }
    .login-link {
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--text-soft);
      transition: color var(--transition);
    }
    .login-link:hover {
      color: var(--primary);
    }
    .btn-primary-nav {
      background: var(--accent);
      color: white;
      padding: 10px 20px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 0.9rem;
      transition: background var(--transition), transform var(--transition);
      box-shadow: 0 2px 6px rgba(245,158,11,0.25);
      white-space: nowrap;
    }
    .btn-primary-nav:hover {
      background: var(--accent-dark);
      transform: translateY(-1px);
    }
    .hamburger {
      display: none;
      font-size: 1.6rem;
      background: none;
      border: none;
      color: var(--text-main);
    }
    /* 移动端导航面板 */
    .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: white;
      z-index: 99;
      display: flex;
      flex-direction: column;
      padding: 24px;
      transform: translateY(-100%);
      transition: transform 0.3s ease;
      list-style: none;
    }
    .mobile-menu.open {
      transform: translateY(0);
    }
    .mobile-menu a {
      padding: 16px 0;
      font-size: 1.2rem;
      border-bottom: 1px solid var(--border);
      color: var(--text-main);
    }
    .mobile-menu .btn-primary-nav {
      margin-top: 24px;
      text-align: center;
      display: block;
      width: 100%;
      background: var(--accent);
    }
    /* Hero */
    .hero {
      padding: 120px 0 80px;
      background: linear-gradient(135deg, #F0F9FF 0%, #F8FAFC 100%);
      position: relative;
      overflow: hidden;
    }
    .hero-grid {
      display: flex;
      align-items: center;
      gap: 48px;
    }
    .hero-content {
      flex: 1;
    }
    .hero h1 {
      font-size: clamp(2.4rem, 5vw, 3.4rem);
      font-weight: 700;
      color: #0F172A;
      line-height: 1.2;
      margin-bottom: 20px;
    }
    .hero-sub {
      font-size: 1.15rem;
      color: var(--text-muted);
      margin-bottom: 32px;
      max-width: 480px;
    }
    .hero-actions {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 32px;
    }
    .btn-hero-primary {
      background: var(--primary);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 1rem;
      transition: 0.2s;
      box-shadow: 0 4px 10px rgba(14,165,233,0.3);
    }
    .btn-hero-primary:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
    }
    .btn-hero-outline {
      background: transparent;
      border: 1px solid var(--primary);
      color: var(--primary);
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: 0.2s;
    }
    .btn-hero-outline:hover {
      background: rgba(14,165,233,0.05);
    }
    .trust-badges {
      display: flex;
      gap: 24px;
      flex-wrap: wrap;
      color: var(--text-soft);
      font-size: 0.9rem;
    }
    .trust-badges span {
      display: flex;
      align-items: center;
      gap: 6px;
      font-weight: 500;
    }
    .hero-image {
      flex: 1;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      border-radius: 24px;
      min-height: 360px;
      background-blend-mode: overlay;
      background-color: rgba(14,165,233,0.08);
      box-shadow: 0 20px 30px -15px rgba(0,0,0,0.1);
    }
    /* 通用板块 */
    .section {
      padding: 80px 0;
    }
    .section-title {
      font-size: 2.2rem;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 16px;
      text-align: center;
    }
    .section-sub {
      color: var(--text-muted);
      text-align: center;
      max-width: 600px;
      margin: 0 auto 48px;
    }
    /* 核心优势 */
    .advantages-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .adv-card {
      background: var(--card-white);
      padding: 32px 24px;
      border-radius: var(--radius-card);
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
      transition: all var(--transition);
    }
    .adv-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
      border-color: var(--primary);
    }
    .adv-icon {
      font-size: 2.5rem;
      margin-bottom: 16px;
      color: var(--primary);
    }
    .adv-card h3 {
      font-size: 1.3rem;
      margin-bottom: 10px;
    }
    /* 功能分组 */
    .feature-row {
      display: flex;
      align-items: center;
      gap: 48px;
      margin-bottom: 80px;
    }
    .feature-row.reverse {
      flex-direction: row-reverse;
    }
    .feature-text {
      flex: 1;
    }
    .feature-text h3 {
      font-size: 1.8rem;
      margin-bottom: 16px;
    }
    .feature-list {
      list-style: none;
    }
    .feature-list li {
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--text-soft);
    }
    .feature-list li::before {
      content: "●";
      color: var(--accent);
      font-weight: bold;
    }
    .feature-img {
      flex: 1;
      background: #e9eef2;
      border-radius: 20px;
      min-height: 280px;
      background-size: cover;
      background-position: center;
    }
    /* 场景卡片 */
    .scenarios-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .scenario-card {
      background: var(--card-white);
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid var(--border);
      transition: all var(--transition);
    }
    .scenario-card:hover {
      box-shadow: var(--shadow-hover);
    }
    .scenario-img {
      height: 180px;
      background-size: cover;
      background-position: center;
    }
    .scenario-content {
      padding: 20px;
    }
    .tag {
      background: #EDE9FE;
      color: var(--purple);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.75rem;
    }
    /* 案例数据 */
    .case-wrapper {
      display: flex;
      gap: 40px;
      align-items: center;
    }
    .stats {
      display: flex;
      gap: 24px;
      flex-wrap: wrap;
    }
    .stat-item {
      font-size: 2.8rem;
      font-weight: 700;
      color: var(--accent);
    }
    .case-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    .case-card {
      background: white;
      padding: 20px;
      border-radius: 12px;
      border: 1px solid var(--border);
    }
    /* FAQ */
    .faq-list {
      max-width: 768px;
      margin: 0 auto;
    }
    .faq-item {
      background: #F8FAFC;
      border-radius: 8px;
      margin-bottom: 12px;
      overflow: hidden;
    }
    .faq-question {
      padding: 20px;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      background: #F8FAFC;
      transition: 0.2s;
    }
    .faq-answer {
      padding: 0 20px 20px;
      color: var(--text-soft);
      display: none;
    }
    .faq-item.active .faq-answer {
      display: block;
    }
    /* CTA */
    .cta-section {
      background: linear-gradient(135deg, #0EA5E9, #8B5CF6);
      padding: 80px 0;
      text-align: center;
      color: white;
    }
    .btn-cta-light {
      background: white;
      color: var(--primary);
      padding: 16px 36px;
      border-radius: 40px;
      font-weight: 700;
    }
    /* 页脚 */
    .footer {
      background: #1E293B;
      color: #CBD5E1;
      padding: 48px 0 24px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 32px;
    }
    @media (max-width: 1024px) {
      .advantages-grid, .scenarios-grid { grid-template-columns: 1fr 1fr; }
      .feature-row { flex-direction: column; }
      .case-wrapper { flex-direction: column; }
    }
    @media (max-width: 768px) {
      .nav-links, .header-right .search-trigger, .login-link { display: none; }
      .hamburger { display: block; }
      .hero-grid { flex-direction: column; }
      .advantages-grid, .scenarios-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
    }
