/* roulang page: index */
:root {
      --primary: #1A5FDC;
      --primary-dark: #1550C0;
      --primary-light: #EEF2FB;
      --secondary: #0F172A;
      --accent: #F59E0B;
      --bg: #F5F6FA;
      --white: #FFFFFF;
      --gray-100: #F2F3F5;
      --gray-200: #E5E8EF;
      --gray-400: #86909C;
      --gray-600: #4E5969;
      --gray-900: #1F2329;
      --green: #00B578;
      --red: #FA5151;
      --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
      --radius-lg: 12px;
      --radius-md: 8px;
      --shadow-xs: 0px 2px 8px rgba(0,0,0,0.04);
      --shadow-sm: 0px 4px 16px rgba(0,0,0,0.04);
      --shadow-md: 0px 6px 20px rgba(26,95,220,0.12);
      --shadow-nav: 0px 2px 12px rgba(0,0,0,0.06);
      --transition: 200ms ease-out;
      --container-max: 1280px;
      --gutter: 24px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg);
      color: var(--gray-900);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    .container {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 var(--gutter);
      width: 100%;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
      border: none;
      background: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: var(--transition);
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: var(--white);
      border-bottom: 1px solid var(--gray-200);
      height: 64px;
      z-index: 100;
      display: flex;
      align-items: center;
      transition: box-shadow var(--transition);
    }

    .header.scrolled {
      box-shadow: var(--shadow-nav);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 22px;
      color: var(--secondary);
      letter-spacing: -0.3px;
    }

    .logo-icon {
      width: 34px;
      height: 34px;
      background: var(--primary);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 700;
      font-size: 18px;
      position: relative;
    }

    .logo-icon::after {
      content: "🐼";
      font-size: 20px;
      position: absolute;
      top: -2px;
      left: 5px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .nav-links a {
      font-size: 15px;
      font-weight: 500;
      color: var(--gray-600);
      transition: color var(--transition);
      position: relative;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
    }

    .nav-cta {
      background: var(--primary);
      color: white !important;
      padding: 10px 24px;
      border-radius: var(--radius-md);
      font-weight: 600;
      transition: background var(--transition), box-shadow var(--transition);
    }

    .nav-cta:hover {
      background: var(--primary-dark);
      box-shadow: 0 0 0 4px rgba(26,95,220,0.2);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
    }

    .hamburger span {
      width: 24px;
      height: 2px;
      background: var(--secondary);
      border-radius: 2px;
      transition: var(--transition);
    }

    /* 移动端菜单 */
    .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: white;
      z-index: 200;
      display: flex;
      flex-direction: column;
      padding: 24px;
      transform: translateX(100%);
      transition: transform 250ms ease-out;
    }

    .mobile-menu.open {
      transform: translateX(0);
    }

    .mobile-menu-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 48px;
    }

    .mobile-menu a {
      font-size: 20px;
      font-weight: 500;
      padding: 16px 0;
      border-bottom: 1px solid var(--gray-100);
      color: var(--secondary);
    }

    /* Hero */
    .hero {
      padding: 120px 0 80px;
      background: linear-gradient(180deg, #FFFFFF 0%, #EEF2FB 100%);
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: "";
      position: absolute;
      right: -60px;
      bottom: -80px;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(26,95,220,0.03) 0%, transparent 70%);
      border-radius: 50%;
    }

    .hero-grid {
      display: flex;
      align-items: center;
      gap: 60px;
    }

    .hero-left {
      flex: 1 1 55%;
    }

    .hero-right {
      flex: 1 1 45%;
      display: flex;
      justify-content: center;
    }

    .hero h1 {
      font-size: 44px;
      font-weight: 700;
      line-height: 1.2;
      color: var(--secondary);
      margin-bottom: 20px;
    }

    .hero-sub {
      font-size: 18px;
      color: var(--gray-600);
      margin-bottom: 32px;
      max-width: 480px;
    }

    .hero-buttons {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-md);
      font-weight: 600;
      font-size: 16px;
      transition: background var(--transition), box-shadow var(--transition);
    }

    .btn-primary:hover {
      background: var(--primary-dark);
      box-shadow: 0 0 0 4px rgba(26,95,220,0.2);
    }

    .btn-secondary {
      background: transparent;
      border: 1.5px solid var(--primary);
      color: var(--primary);
      padding: 14px 32px;
      border-radius: var(--radius-md);
      font-weight: 600;
      font-size: 16px;
    }

    .btn-secondary:hover {
      background: rgba(26,95,220,0.08);
    }

    .hero-image {
      width: 100%;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-sm);
      animation: float 3s ease-in-out infinite;
    }

    @keyframes float {
      0% { transform: translateY(0); }
      50% { transform: translateY(-8px); }
      100% { transform: translateY(0); }
    }

    /* 板块通用 */
    section {
      padding: 80px 0;
    }

    .section-title {
      text-align: center;
      margin-bottom: 48px;
    }

    .section-title h2 {
      font-size: 32px;
      font-weight: 700;
      color: var(--secondary);
      margin-bottom: 12px;
    }

    .section-title p {
      font-size: 16px;
      color: var(--gray-400);
      max-width: 600px;
      margin: 0 auto;
    }

    /* 亮点网格 */
    .highlights-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .highlight-card {
      background: var(--white);
      padding: 24px;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-xs);
      transition: var(--transition);
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .highlight-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-4px);
    }

    .highlight-icon {
      width: 48px;
      height: 48px;
      color: var(--primary);
      font-size: 32px;
      display: flex;
      align-items: center;
    }

    .highlight-card h3 {
      font-size: 20px;
      font-weight: 600;
    }

    .highlight-desc {
      font-size: 14px;
      color: var(--gray-400);
      line-height: 1.5;
    }

    .highlight-stat {
      font-size: 24px;
      font-weight: 700;
      color: var(--accent);
      margin-top: 8px;
    }

    /* 案例瀑布 */
    .cases-masonry {
      columns: 2;
      column-gap: 24px;
    }

    .case-card {
      background: var(--white);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-xs);
      margin-bottom: 24px;
      break-inside: avoid;
      transition: var(--transition);
    }

    .case-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-4px);
    }

    .case-img {
      width: 100%;
      height: auto;
      aspect-ratio: 4/3;
      object-fit: cover;
      background: var(--gray-100);
    }

    .case-content {
      padding: 16px;
    }

    .case-tag {
      display: inline-block;
      background: var(--primary-light);
      color: var(--primary);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .case-title {
      font-weight: 600;
      font-size: 18px;
      margin-bottom: 4px;
    }

    /* 方案对比 */
    .compare-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      max-width: 900px;
      margin: 0 auto;
    }

    .compare-card {
      padding: 32px;
      border-radius: var(--radius-lg);
    }

    .compare-old {
      background: #F2F3F5;
    }

    .compare-new {
      background: var(--primary-light);
      border: 1px solid rgba(26,95,220,0.2);
    }

    .compare-card h3 {
      font-size: 22px;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .compare-item {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
      font-size: 15px;
    }

    .icon-check {
      color: var(--green);
      font-weight: 700;
    }

    .icon-cross {
      color: var(--red);
      font-weight: 700;
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }

    .faq-item {
      background: var(--white);
      border-radius: var(--radius-lg);
      margin-bottom: 12px;
      box-shadow: var(--shadow-xs);
      overflow: hidden;
    }

    .faq-question {
      width: 100%;
      padding: 20px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      font-size: 16px;
      background: transparent;
      border: none;
      text-align: left;
      cursor: pointer;
    }

    .faq-icon {
      font-size: 20px;
      transition: transform 250ms ease;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 250ms ease;
      padding: 0 24px;
    }

    .faq-answer p {
      padding-bottom: 20px;
      color: var(--gray-600);
      font-size: 15px;
    }

    .faq-item.active .faq-icon {
      transform: rotate(45deg);
    }

    .faq-item.active .faq-answer {
      max-height: 200px;
    }

    /* CTA 横幅 */
    .cta-banner {
      background: var(--primary);
      padding: 80px 0;
      text-align: center;
      color: white;
    }

    .cta-banner h2 {
      font-size: 32px;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .cta-banner p {
      font-size: 16px;
      opacity: 0.8;
      margin-bottom: 32px;
    }

    .btn-white {
      background: white;
      color: var(--primary);
      padding: 16px 40px;
      border-radius: var(--radius-lg);
      font-weight: 700;
      font-size: 18px;
    }

    /* 页脚 */
    .footer {
      background: var(--secondary);
      color: rgba(255,255,255,0.7);
      padding: 60px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-logo {
      font-size: 24px;
      font-weight: 700;
      color: white;
      margin-bottom: 12px;
    }

    .footer a {
      color: rgba(255,255,255,0.7);
      display: block;
      margin-bottom: 8px;
      font-size: 14px;
    }

    .footer a:hover {
      color: white;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 24px;
      text-align: center;
      font-size: 13px;
    }

    @media (max-width: 1024px) {
      .hero-grid {
        flex-direction: column;
        text-align: center;
      }
      .hero-left {
        order: 1;
      }
      .hero-right {
        order: 0;
        margin-bottom: 24px;
      }
      .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .cases-masonry {
        columns: 1;
      }
      .compare-grid {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }
      .hamburger {
        display: flex;
      }
      .hero h1 {
        font-size: 32px;
      }
      .highlights-grid {
        grid-template-columns: 1fr;
      }
      .section-title h2 {
        font-size: 24px;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
