/* roulang page: index */
:root {
      --primary: #1A1A2E;
      --accent: #E94560;
      --accent-hover: #C81E3A;
      --deep-blue: #0F3460;
      --bg: #F8F9FA;
      --card-bg: #FFFFFF;
      --border-light: #E9ECEF;
      --text-primary: #1A1A2E;
      --text-body: #495057;
      --text-muted: #6C757D;
      --text-light: #CED4DA;
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-pill: 50px;
      --radius-input: 6px;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
      --shadow-hover: 0 10px 25px -5px rgba(0,0,0,0.08), 0 4px 10px -2px rgba(0,0,0,0.05);
      --transition: 0.25s ease;
      --font-sans: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Inter", sans-serif;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    html {
      scroll-behavior: smooth;
    }
    body {
      font-family: var(--font-sans);
      background-color: var(--bg);
      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);
    }
    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }
    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 72px;
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(8px);
      box-shadow: 0 1px 3px rgba(0,0,0,0.02);
      z-index: 100;
      display: flex;
      align-items: center;
      transition: background 0.3s ease;
    }
    .header.scrolled {
      background: rgba(255,255,255,1);
      box-shadow: 0 1px 8px rgba(0,0,0,0.05);
    }
    .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: 1.5rem;
      color: var(--primary);
      letter-spacing: -0.02em;
    }
    .logo i {
      font-size: 1.8rem;
      color: var(--accent);
    }
    .nav-links {
      display: flex;
      gap: 32px;
      list-style: none;
    }
    .nav-links a {
      font-weight: 500;
      color: var(--text-body);
      position: relative;
      padding: 4px 0;
      font-size: 0.95rem;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
      transform-origin: center;
    }
    .nav-links a:hover {
      color: var(--primary);
    }
    .nav-links a:hover::after {
      width: 100%;
    }
    .btn-capsule {
      background: var(--accent);
      color: white;
      border-radius: var(--radius-pill);
      padding: 10px 24px;
      font-weight: 600;
      font-size: 0.9rem;
      border: none;
      cursor: pointer;
      transition: background 0.25s ease, transform 0.2s;
      display: inline-block;
    }
    .btn-capsule:hover {
      background: var(--accent-hover);
      transform: scale(1.02);
    }
    .hamburger {
      display: none;
      font-size: 1.6rem;
      cursor: pointer;
      color: var(--primary);
    }
    @media (max-width: 768px) {
      .nav-links {
        position: fixed;
        top: 72px;
        right: 0;
        width: 70%;
        height: calc(100vh - 72px);
        background: white;
        flex-direction: column;
        padding: 32px;
        gap: 24px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.05);
      }
      .nav-links.active {
        transform: translateX(0);
      }
      .hamburger {
        display: block;
      }
      .header .btn-capsule {
        display: none;
      }
      .nav-links .btn-capsule {
        display: block;
        width: fit-content;
        margin-top: 16px;
      }
    }
    /* 板块通用 */
    section {
      padding: 100px 0;
    }
    @media (max-width: 1024px) {
      section {
        padding: 80px 0;
      }
    }
    @media (max-width: 768px) {
      section {
        padding: 60px 0;
      }
    }
    h2 {
      font-size: 32px;
      font-weight: 700;
      line-height: 1.3;
      color: var(--primary);
      margin-bottom: 16px;
      letter-spacing: -0.01em;
    }
    h3 {
      font-size: 20px;
      font-weight: 600;
      line-height: 1.4;
      color: var(--primary);
    }
    .section-sub {
      color: var(--text-muted);
      font-size: 1.1rem;
      margin-bottom: 48px;
    }
    /* Hero */
    #hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      position: relative;
      padding-top: 72px;
    }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: rgba(26,26,46,0.7);
      backdrop-filter: blur(2px);
    }
    .hero-content {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
      width: 100%;
    }
    .hero-left h1 {
      font-size: 42px;
      font-weight: 800;
      line-height: 1.2;
      color: white;
      letter-spacing: -0.02em;
      margin-bottom: 20px;
    }
    .hero-left .sub {
      font-size: 1.2rem;
      color: rgba(255,255,255,0.85);
      margin-bottom: 32px;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: var(--accent);
      color: white;
      border-radius: var(--radius-btn);
      padding: 14px 32px;
      font-weight: 600;
      border: none;
      cursor: pointer;
      transition: background 0.25s, transform 0.2s;
    }
    .btn-primary:hover {
      background: var(--accent-hover);
      transform: scale(1.02);
    }
    .btn-secondary {
      background: transparent;
      border: 2px solid white;
      color: white;
      border-radius: var(--radius-btn);
      padding: 14px 32px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.25s;
    }
    .btn-secondary:hover {
      background: white;
      color: var(--primary);
    }
    .hero-right {
      background: rgba(255,255,255,0.1);
      backdrop-filter: blur(8px);
      border-radius: 24px;
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .floating-card {
      background: rgba(255,255,255,0.15);
      backdrop-filter: blur(12px);
      border-radius: 12px;
      padding: 16px 20px;
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      animation: float 4s ease-in-out infinite;
    }
    .floating-card:nth-child(2) { animation-delay: 1s; }
    @keyframes float {
      0% { transform: translateY(0); }
      50% { transform: translateY(-6px); }
      100% { transform: translateY(0); }
    }
    @media (max-width: 1024px) {
      .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .hero-buttons {
        justify-content: center;
      }
      .hero-left h1 {
        font-size: 36px;
      }
    }
    /* 亮点网格 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .feature-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 28px 24px;
      box-shadow: var(--shadow-sm);
      border-left: 4px solid var(--accent);
      transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .feature-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
    .feature-icon {
      font-size: 2rem;
      color: var(--accent);
    }
    .feature-card p {
      color: var(--text-body);
      font-size: 0.95rem;
    }
    .feature-link {
      font-weight: 600;
      color: var(--deep-blue);
      font-size: 0.9rem;
    }
    @media (max-width: 1024px) {
      .features-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @media (max-width: 520px) {
      .features-grid {
        grid-template-columns: 1fr;
      }
    }
    /* 案例瀑布流 */
    .insight-masonry {
      column-count: 3;
      column-gap: 24px;
    }
    .insight-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      margin-bottom: 24px;
      break-inside: avoid;
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .insight-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
    .insight-img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      transition: transform 0.3s;
    }
    .insight-card:hover .insight-img {
      transform: scale(1.03);
    }
    .insight-body {
      padding: 20px;
    }
    .tag {
      background: var(--bg);
      color: var(--accent);
      font-size: 0.75rem;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 20px;
      display: inline-block;
      margin-bottom: 8px;
    }
    .insight-body h3 {
      margin: 8px 0 4px;
    }
    @media (max-width: 1024px) {
      .insight-masonry {
        column-count: 2;
      }
    }
    @media (max-width: 520px) {
      .insight-masonry {
        column-count: 1;
      }
    }
    /* 对比 */
    .compare-grid {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 24px;
      align-items: start;
    }
    .compare-col {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 32px;
      box-shadow: var(--shadow-sm);
    }
    .compare-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 0;
      border-bottom: 1px solid var(--border-light);
    }
    .compare-item i {
      font-size: 1.2rem;
    }
    .fa-check { color: var(--accent); }
    .fa-times { color: var(--text-muted); }
    .vs-divider {
      font-weight: 800;
      font-size: 1.5rem;
      color: var(--accent);
      align-self: center;
    }
    @media (max-width: 768px) {
      .compare-grid {
        grid-template-columns: 1fr;
      }
      .vs-divider {
        display: none;
      }
    }
    /* FAQ */
    .faq-item {
      border-bottom: 1px solid #DEE2E6;
    }
    .faq-question {
      width: 100%;
      background: transparent;
      border: none;
      padding: 20px 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      font-size: 1.1rem;
      color: var(--primary);
      cursor: pointer;
      text-align: left;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s;
      background: #F1F3F5;
      border-radius: 0 0 8px 8px;
      padding: 0 16px;
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      padding: 16px;
    }
    .faq-icon {
      transition: transform 0.3s;
    }
    .faq-item.active .faq-icon {
      transform: rotate(45deg);
    }
    /* CTA */
    .cta-band {
      background: var(--primary);
      color: white;
      text-align: center;
      padding: 80px 0;
    }
    .cta-band h2 {
      color: white;
    }
    /* Footer */
    .footer {
      background: #1A1A2E;
      color: #CED4DA;
      padding: 60px 0 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 40px;
    }
    .footer-logo {
      font-size: 1.5rem;
      font-weight: 700;
      color: white;
      margin-bottom: 12px;
    }
    .social-icons i {
      font-size: 1.2rem;
      margin-right: 16px;
      color: #CED4DA;
      transition: color 0.2s;
    }
    .social-icons i:hover { color: var(--accent); }
    .footer input {
      width: 100%;
      padding: 12px;
      border-radius: 50px;
      border: none;
      margin-top: 12px;
    }
    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }
    @media (max-width: 480px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
