/* roulang page: index */
:root {
      --primary: #A855F7;
      --primary-glow: rgba(168, 85, 247, 0.4);
      --secondary: #06B6D4;
      --bg-deep: #0F172A;
      --bg-card: #1E293B;
      --text-white: #FFFFFF;
      --text-light: #CBD5E1;
      --text-muted: #94A3B8;
      --accent: #F97316;
      --border-subtle: rgba(255,255,255,0.06);
      --radius-card: 16px;
      --radius-btn: 8px;
      --shadow-card: 0 20px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(168,85,247,0.3);
      --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
      --max-width: 1280px;
      --nav-height: 70px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-deep);
      color: var(--text-light);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 浮动导航 */
    .nav-dock {
      position: fixed;
      top: 20px;
      left: 50%;
      transform: translateX(-50%);
      width: calc(100% - 40px);
      max-width: 1200px;
      background: rgba(15, 23, 42, 0.75);
      backdrop-filter: blur(20px);
      border-radius: 50px;
      padding: 12px 32px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      z-index: 1000;
      border: 1px solid rgba(255,255,255,0.08);
      transition: all 0.3s ease;
    }

    .logo {
      font-weight: 800;
      font-size: 1.5rem;
      background: linear-gradient(135deg, #A855F7, #C084FC);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      letter-spacing: -0.02em;
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
      align-items: center;
    }

    .nav-links a {
      font-weight: 500;
      color: var(--text-light);
      transition: color 0.2s;
      font-size: 0.95rem;
      position: relative;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--secondary);
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0%;
      height: 2px;
      background: var(--secondary);
      transition: width 0.2s;
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }

    .nav-cta {
      background: var(--primary);
      color: white;
      padding: 10px 24px;
      border-radius: 50px;
      font-weight: 600;
      font-size: 0.9rem;
      transition: all 0.2s;
      border: none;
      box-shadow: 0 0 12px var(--primary-glow);
    }

    .nav-cta:hover {
      background: #9333EA;
      box-shadow: 0 0 20px rgba(168,85,247,0.6);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: transparent;
      border: none;
      cursor: pointer;
    }

    .hamburger span {
      width: 25px;
      height: 3px;
      background: white;
      border-radius: 4px;
      transition: 0.3s;
    }

    /* 板块通用 */
    section {
      padding: 100px 0;
    }

    .section-title {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--text-white);
      margin-bottom: 1rem;
      text-align: center;
      position: relative;
      line-height: 1.3;
    }

    .section-title::after {
      content: '';
      display: block;
      width: 60px;
      height: 4px;
      background: var(--secondary);
      margin: 0.75rem auto 0;
      border-radius: 2px;
    }

    /* Hero */
    .hero-grid {
      display: flex;
      align-items: center;
      gap: 3rem;
      min-height: 80vh;
    }

    .hero-left {
      flex: 0 0 55%;
    }

    .hero-right {
      flex: 0 0 45%;
      position: relative;
    }

    .hero-badge {
      display: inline-block;
      background: rgba(168,85,247,0.15);
      color: var(--primary);
      padding: 6px 16px;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 600;
      margin-bottom: 1.5rem;
    }

    h1 {
      font-size: clamp(3rem, 5vw, 4.5rem);
      font-weight: 800;
      line-height: 1.2;
      color: white;
      letter-spacing: -0.02em;
      margin-bottom: 1.5rem;
    }

    .highlight {
      background: linear-gradient(120deg, #A855F7 20%, #C084FC 80%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-sub {
      font-size: 1.25rem;
      color: var(--text-light);
      max-width: 500px;
      margin-bottom: 2rem;
    }

    .btn-group {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      border: none;
      transition: 0.2s;
      box-shadow: 0 8px 20px rgba(168,85,247,0.4);
    }

    .btn-primary:hover {
      background: #9333EA;
      box-shadow: 0 12px 28px rgba(168,85,247,0.6);
    }

    .btn-ghost {
      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-ghost:hover {
      background: var(--primary);
      color: white;
    }

    .hero-img {
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      border-radius: 32px;
      height: 400px;
      width: 100%;
      position: relative;
      overflow: hidden;
      box-shadow: 0 25px 50px rgba(0,0,0,0.6);
    }

    .hero-img::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(168,85,247,0.3), rgba(6,182,212,0.2));
      mix-blend-mode: overlay;
    }

    /* 核心优势 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      margin-top: 3rem;
    }

    .feature-card {
      background: var(--bg-card);
      padding: 32px 24px;
      border-radius: var(--radius-card);
      border: 1px solid var(--border-subtle);
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .feature-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-card);
    }

    .feature-icon {
      font-size: 2.5rem;
      color: var(--secondary);
      margin-bottom: 1.25rem;
    }

    .feature-card h3 {
      font-size: 1.4rem;
      font-weight: 600;
      color: white;
      margin-bottom: 0.75rem;
    }

    /* 产品瀑布流 */
    .masonry {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 3rem;
    }

    .masonry-item {
      background: var(--bg-card);
      border-radius: var(--radius-card);
      overflow: hidden;
      border: 1px solid var(--border-subtle);
      transition: 0.2s;
    }

    .masonry-item:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-card);
    }

    .masonry-img {
      height: 200px;
      background-size: cover;
      background-position: center;
      transition: transform 0.3s;
    }

    .masonry-item:hover .masonry-img {
      transform: scale(1.05);
    }

    .masonry-content {
      padding: 20px;
    }

    .tag {
      background: rgba(168,85,247,0.2);
      color: #C084FC;
      padding: 4px 12px;
      border-radius: 50px;
      font-size: 0.75rem;
      font-weight: 600;
    }

    /* 对比表 */
    .compare-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      margin-top: 3rem;
    }

    .compare-card {
      padding: 2rem;
      border-radius: 24px;
      background: #1E1B2E;
      border: 1px solid rgba(255,255,255,0.05);
    }

    .compare-card.left {
      background: rgba(127,29,29,0.15);
    }

    .compare-card.right {
      background: rgba(88,28,135,0.2);
      border-color: rgba(168,85,247,0.3);
    }

    .compare-list {
      list-style: none;
      margin-top: 1.5rem;
    }

    .compare-list li {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 1rem;
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 3rem auto 0;
    }

    details {
      border-bottom: 1px solid rgba(255,255,255,0.08);
      padding: 1.2rem 0;
    }

    summary {
      font-weight: 600;
      font-size: 1.15rem;
      color: white;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .faq-answer {
      padding: 16px 0 0;
      color: var(--text-light);
    }

    /* CTA 区块 */
    .cta-block {
      background: radial-gradient(circle at 30% 30%, #4C1D95, #0F172A);
      text-align: center;
      border-radius: 32px;
      padding: 80px 24px;
      margin: 40px 0;
    }

    /* 页脚 */
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 2rem;
    }

    .footer-links a {
      display: block;
      color: var(--text-muted);
      margin-bottom: 0.5rem;
    }

    @media (max-width: 1024px) {
      .hero-grid { flex-direction: column; }
      .hero-left, .hero-right { flex: auto; width: 100%; }
      .features-grid, .masonry { grid-template-columns: 1fr 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 768px) {
      .nav-links, .nav-cta { display: none; }
      .hamburger { display: flex; }
      .features-grid, .masonry, .compare-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      section { padding: 70px 0; }
    }
