/* roulang page: index */
:root {
      --bg-deep: #0D0B1A;
      --bg-section: #131025;
      --bg-dark: #09080F;
      --card-bg: rgba(20, 18, 40, 0.8);
      --purple: #A855F7;
      --purple-dark: #7C3AED;
      --gold: #F59E0B;
      --gold-dark: #D97706;
      --gold-light: #FBBF24;
      --green: #10B981;
      --red: #EF4444;
      --text-primary: #F1F1F6;
      --text-secondary: #9CA3AF;
      --text-muted: #6B7280;
      --border-glow: rgba(168, 85, 247, 0.15);
      --border-active: rgba(168, 85, 247, 0.5);
      --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.4);
      --shadow-hover: 0 8px 30px rgba(168, 85, 247, 0.25);
      --radius-card: 16px;
      --radius-btn: 999px;
      --radius-sm: 12px;
      --max-width: 1280px;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
      --font-mono: "Inter", "SF Pro Display", system-ui, -apple-system;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    html {
      scroll-behavior: smooth;
    }
    body {
      font-family: var(--font-sans);
      background-color: var(--bg-deep);
      color: var(--text-primary);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }
    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    a {
      text-decoration: none;
      color: inherit;
    }
    button, input, textarea {
      font-family: inherit;
      outline: none;
      border: none;
      background: transparent;
    }
    /* 导航 */
    .navbar {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(13, 11, 26, 0.85);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(168, 85, 247, 0.2);
      transition: background 0.3s ease;
    }
    .nav-row1 {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 0;
      flex-wrap: wrap;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 800;
      font-size: 1.6rem;
      letter-spacing: 1px;
      color: white;
    }
    .logo-icon {
      font-size: 2rem;
      filter: drop-shadow(0 0 8px var(--purple));
    }
    .nav-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .search-wrap {
      position: relative;
      display: flex;
      align-items: center;
    }
    .search-icon {
      background: none;
      color: var(--text-secondary);
      font-size: 1.4rem;
      cursor: pointer;
      transition: color 0.2s;
      padding: 6px;
    }
    .search-icon:hover {
      color: white;
    }
    .search-input {
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 0;
      opacity: 0;
      background: rgba(255,255,255,0.08);
      border: 1px solid var(--border-glow);
      border-radius: 20px;
      padding: 6px 16px;
      color: white;
      transition: width 0.3s ease, opacity 0.2s;
      pointer-events: none;
    }
    .search-wrap.active .search-input {
      width: 180px;
      opacity: 1;
      pointer-events: auto;
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
      color: #0D0B1A;
      font-weight: 700;
      padding: 10px 24px;
      border-radius: var(--radius-btn);
      font-size: 0.95rem;
      transition: all 0.3s ease;
      box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
      display: inline-block;
      text-align: center;
      letter-spacing: 0.5px;
    }
    .btn-primary:hover {
      background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
      box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
      transform: translateY(-1px);
    }
    .btn-outline {
      border: 1px solid var(--purple);
      color: var(--purple);
      background: transparent;
      padding: 10px 24px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: all 0.3s;
      display: inline-block;
      text-align: center;
    }
    .btn-outline:hover {
      background: rgba(168,85,247,0.1);
      border-color: var(--purple-dark);
      color: white;
    }
    .channel-tabs {
      display: flex;
      gap: 12px;
      padding: 8px 0 12px;
      overflow-x: auto;
      white-space: nowrap;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    .channel-tabs::-webkit-scrollbar {
      display: none;
    }
    .tab-item {
      padding: 6px 18px;
      border-radius: 20px;
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--text-secondary);
      transition: all 0.2s;
      background: transparent;
      cursor: pointer;
    }
    .tab-item:hover {
      color: white;
      background: rgba(168,85,247,0.15);
    }
    .tab-item.active {
      background: var(--purple);
      color: white;
      font-weight: 600;
      box-shadow: 0 0 12px rgba(168,85,247,0.4);
    }
    /* Hero */
    .hero {
      display: flex;
      align-items: center;
      gap: 40px;
      padding: 60px 0 80px;
      position: relative;
    }
    .hero-left {
      flex: 1 1 50%;
    }
    .hero-right {
      flex: 1 1 50%;
      position: relative;
    }
    .hero h1 {
      font-size: clamp(2.4rem, 5vw, 3.6rem);
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 20px;
      background: linear-gradient(to right, #fff, #e0d7fe);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-sub {
      font-size: 1.1rem;
      color: var(--text-secondary);
      margin-bottom: 32px;
      max-width: 500px;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .hero-image {
      width: 100%;
      border-radius: 28px;
      clip-path: polygon(0% 5%, 95% 0%, 100% 95%, 5% 100%);
      box-shadow: 0 0 40px rgba(168,85,247,0.4);
      background: var(--card-bg);
    }
    /* 通用板块 */
    section {
      padding: 70px 0;
    }
    .section-title {
      font-size: 2.2rem;
      font-weight: 700;
      margin-bottom: 16px;
      color: white;
      text-align: center;
    }
    .section-sub {
      color: var(--text-secondary);
      text-align: center;
      margin-bottom: 48px;
      font-size: 1.1rem;
    }
    /* 优势网格 */
    .advantages-grid {
      display: grid;
      grid-template-columns: 1fr 1.5fr 1fr;
      gap: 24px;
      align-items: start;
    }
    .adv-card {
      background: var(--card-bg);
      border: 1px solid var(--border-glow);
      border-radius: var(--radius-card);
      padding: 28px 20px;
      transition: all 0.3s ease;
      text-align: center;
    }
    .adv-card:hover {
      border-color: var(--border-active);
      box-shadow: var(--shadow-hover);
      transform: translateY(-4px);
    }
    .adv-icon {
      font-size: 2.4rem;
      margin-bottom: 16px;
    }
    .adv-number {
      font-size: 2.2rem;
      font-weight: 800;
      color: var(--purple);
      display: block;
    }
    .adv-desc {
      color: var(--text-secondary);
      margin-top: 8px;
    }
    /* 产品卡片 */
    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 28px;
    }
    .product-card {
      background: var(--card-bg);
      border: 1px solid var(--border-glow);
      border-radius: var(--radius-card);
      overflow: hidden;
      transition: all 0.3s ease;
    }
    .product-card:hover {
      border-color: var(--border-active);
      box-shadow: var(--shadow-hover);
      transform: translateY(-4px);
    }
    .product-img {
      width: 100%;
      aspect-ratio: 16/9;
      object-fit: cover;
      transition: transform 0.3s;
    }
    .product-card:hover .product-img {
      transform: scale(1.03);
    }
    .product-body {
      padding: 20px;
    }
    .tag {
      display: inline-block;
      background: rgba(168,85,247,0.2);
      color: #c084fc;
      font-size: 0.75rem;
      padding: 4px 12px;
      border-radius: 20px;
      margin-bottom: 10px;
    }
    .product-title {
      font-size: 1.4rem;
      font-weight: 700;
      margin: 8px 0;
    }
    .product-desc {
      color: var(--text-secondary);
      font-size: 0.95rem;
      margin-bottom: 14px;
    }
    .feature-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .pill {
      background: rgba(255,255,255,0.06);
      color: #ccc;
      padding: 2px 12px;
      border-radius: 20px;
      font-size: 0.75rem;
    }
    /* 案例滚动 */
    .cases-scroll {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 12px;
      scrollbar-width: thin;
    }
    .case-card {
      min-width: 260px;
      background: var(--card-bg);
      border: 1px solid var(--border-glow);
      border-radius: var(--radius-card);
      padding: 20px;
      flex-shrink: 0;
    }
    .team-logo {
      font-size: 2rem;
      margin-bottom: 8px;
    }
    .record {
      font-weight: 700;
      color: var(--gold);
    }
    /* 对比表 */
    .compare-table {
      display: flex;
      gap: 0;
      overflow-x: auto;
      background: rgba(20,18,40,0.6);
      border-radius: var(--radius-card);
      border: 1px solid var(--border-glow);
    }
    .plan-col {
      flex: 1;
      min-width: 200px;
      padding: 28px 20px;
      text-align: center;
      border-right: 1px solid var(--border-glow);
    }
    .plan-col:last-child { border-right: none; }
    .plan-highlight {
      background: rgba(168,85,247,0.1);
      border: 1px solid var(--purple);
      border-radius: var(--radius-card);
      margin: -8px;
      padding: 36px 20px;
    }
    .badge-popular {
      background: var(--purple);
      color: white;
      padding: 4px 16px;
      border-radius: 20px;
      font-size: 0.75rem;
      display: inline-block;
      margin-bottom: 12px;
    }
    /* FAQ */
    .faq-item {
      border-bottom: 1px solid var(--border-glow);
      margin-bottom: 8px;
    }
    .faq-question {
      width: 100%;
      text-align: left;
      padding: 20px 8px;
      font-weight: 600;
      font-size: 1.2rem;
      display: flex;
      justify-content: space-between;
      color: white;
      cursor: pointer;
      background: none;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      color: var(--text-secondary);
      padding: 0 8px;
    }
    .faq-item.open .faq-answer {
      max-height: 200px;
      padding-bottom: 16px;
    }
    /* CTA */
    .cta-block {
      background: radial-gradient(circle at 30% 40%, rgba(168,85,247,0.2) 0%, #0D0B1A 70%);
      text-align: center;
      padding: 80px 20px;
      border-radius: 32px;
    }
    .footer {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 40px;
      padding: 50px 0 30px;
      border-top: 1px solid var(--border-glow);
    }
    @media (max-width: 768px) {
      .hero {
        flex-direction: column;
      }
      .advantages-grid {
        grid-template-columns: 1fr;
      }
      .footer {
        grid-template-columns: 1fr;
      }
      .channel-tabs {
        gap: 6px;
      }
      .nav-row1 {
        flex-wrap: wrap;
      }
    }
