/* roulang page: index */
:root {
      --primary: #0B0E1A;
      --secondary: #6C5CE7;
      --accent: #00E5FF;
      --bg-deep: #050812;
      --card-bg: #11162A;
      --card-hover: #1A1F3A;
      --text-title: #FFFFFF;
      --text-body: #B0B8D0;
      --text-muted: #5A6078;
      --border-card: rgba(108, 92, 231, 0.15);
      --border-glow: rgba(0, 229, 255, 0.4);
      --radius-lg: 16px;
      --radius-full: 50px;
      --shadow-glow: 0 0 20px rgba(108, 92, 231, 0.4);
      --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.5);
      --font-sans: 'PingFang SC', 'Microsoft YaHei', sans-serif;
      --font-mono: 'Inter', 'SF Mono', monospace;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-deep);
      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;
    }

    button, input, select, textarea {
      font-family: inherit;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    .main-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(5, 8, 18, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(108, 92, 231, 0.2);
    }

    .nav-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 0;
      flex-wrap: wrap;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 24px;
      font-weight: 700;
      color: var(--text-title);
      letter-spacing: 1px;
    }

    .brand i {
      color: var(--secondary);
      font-size: 28px;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .search-icon {
      font-size: 20px;
      color: var(--text-body);
      cursor: pointer;
      transition: color 0.2s;
    }

    .search-icon:hover {
      color: var(--accent);
    }

    .btn-primary {
      background: var(--secondary);
      color: white;
      border: none;
      border-radius: var(--radius-full);
      padding: 12px 28px;
      font-weight: 600;
      font-size: 16px;
      cursor: pointer;
      box-shadow: var(--shadow-glow);
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn-primary:hover {
      background: #7D6FF0;
      transform: scale(1.05);
      box-shadow: 0 0 30px rgba(108, 92, 231, 0.6);
    }

    .btn-outline {
      background: transparent;
      border: 1px solid var(--accent);
      color: var(--accent);
      border-radius: var(--radius-full);
      padding: 12px 28px;
      font-weight: 600;
      font-size: 16px;
      cursor: pointer;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn-outline:hover {
      background: rgba(0, 229, 255, 0.08);
      transform: scale(1.05);
    }

    .channel-tabs {
      display: flex;
      gap: 24px;
      padding: 10px 0 14px;
      overflow-x: auto;
      white-space: nowrap;
      scrollbar-width: none;
      -ms-overflow-style: none;
      border-top: 1px solid rgba(108, 92, 231, 0.12);
    }

    .channel-tabs::-webkit-scrollbar {
      display: none;
    }

    .channel-tab {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-body);
      padding-bottom: 6px;
      border-bottom: 2px solid transparent;
      transition: 0.2s;
      cursor: pointer;
      flex-shrink: 0;
    }

    .channel-tab.active, .channel-tab:hover {
      color: var(--accent);
      border-bottom-color: var(--accent);
    }

    /* 汉堡菜单 */
    .hamburger {
      display: none;
      font-size: 24px;
      color: var(--text-title);
      background: none;
      border: none;
      cursor: pointer;
    }

    @media (max-width: 768px) {
      .channel-tabs {
        gap: 16px;
      }
      .nav-actions .btn-primary {
        display: none;
      }
      .hamburger {
        display: block;
      }
      .mobile-menu {
        display: none;
        flex-direction: column;
        background: rgba(11, 14, 26, 0.95);
        backdrop-filter: blur(20px);
        padding: 16px 0;
      }
      .mobile-menu.open {
        display: flex;
      }
    }

    /* hero */
    .hero-section {
      display: flex;
      align-items: center;
      min-height: 100vh;
      padding: 80px 0 60px;
      background: radial-gradient(circle at 30% 40%, rgba(108,92,231,0.15) 0%, transparent 60%);
    }

    .hero-grid {
      display: flex;
      gap: 48px;
      align-items: center;
      flex-wrap: wrap;
    }

    .hero-left {
      flex: 1 1 55%;
    }

    .hero-right {
      flex: 1 1 40%;
      position: relative;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      border-radius: 24px;
      min-height: 420px;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      box-shadow: 0 25px 50px -12px rgba(0,0,0,0.6);
    }

    .data-panel {
      background: rgba(17, 22, 42, 0.85);
      backdrop-filter: blur(16px);
      padding: 20px 24px;
      border-radius: 20px;
      margin: 20px;
      width: 85%;
      border: 1px solid rgba(0,229,255,0.25);
      color: white;
      display: flex;
      justify-content: space-around;
      text-align: center;
    }

    .stat-digit {
      font-family: var(--font-mono);
      font-size: 32px;
      font-weight: 700;
      color: var(--accent);
    }

    h1 {
      font-size: 56px;
      font-weight: 700;
      line-height: 1.1;
      color: var(--text-title);
      margin-bottom: 24px;
    }

    .hero-sub {
      font-size: 18px;
      color: var(--text-body);
      margin-bottom: 36px;
      max-width: 500px;
    }

    @media (max-width: 1024px) {
      h1 {
        font-size: 42px;
      }
    }

    @media (max-width: 768px) {
      .hero-grid {
        flex-direction: column;
      }
      h1 {
        font-size: 36px;
      }
      .hero-right {
        min-height: 300px;
        width: 100%;
      }
    }

    /* 通用区块 */
    section {
      padding: 80px 0;
    }

    .section-title {
      font-size: 42px;
      font-weight: 700;
      color: var(--text-title);
      margin-bottom: 16px;
    }

    .section-sub {
      font-size: 18px;
      color: var(--text-body);
      margin-bottom: 48px;
    }

    /* 亮点网格 */
    .highlights-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .highlight-card {
      background: var(--card-bg);
      border: 1px solid var(--border-card);
      border-radius: var(--radius-lg);
      padding: 32px 24px;
      transition: all 0.3s ease;
    }

    .highlight-card:hover {
      border-color: var(--border-glow);
      transform: translateY(-4px);
      box-shadow: var(--shadow-card);
      background: var(--card-hover);
    }

    .highlight-icon {
      font-size: 36px;
      color: var(--secondary);
      margin-bottom: 20px;
    }

    .highlight-number {
      font-family: var(--font-mono);
      font-size: 36px;
      font-weight: 700;
      color: var(--accent);
      margin: 12px 0 8px;
    }

    @media (max-width: 1024px) {
      .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 640px) {
      .highlights-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 案例瀑布 */
    .masonry-grid {
      columns: 3;
      column-gap: 24px;
    }

    .case-card {
      break-inside: avoid;
      margin-bottom: 24px;
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid var(--border-card);
      transition: 0.3s;
    }

    .case-card:hover {
      border-color: var(--border-glow);
      transform: translateY(-4px);
    }

    .case-img {
      width: 100%;
      height: auto;
      display: block;
    }

    .case-content {
      padding: 20px;
    }

    .case-tag {
      background: rgba(0,229,255,0.1);
      color: var(--accent);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 13px;
      font-weight: 500;
    }

    @media (max-width: 768px) {
      .masonry-grid {
        columns: 2;
      }
    }

    @media (max-width: 480px) {
      .masonry-grid {
        columns: 1;
      }
    }

    /* 对比 */
    .comparison-wrapper {
      display: flex;
      gap: 40px;
      align-items: center;
      position: relative;
    }

    .divider-line {
      width: 2px;
      background: var(--secondary);
      align-self: stretch;
      animation: glow-pulse 2s infinite;
    }

    @keyframes glow-pulse {
      0% { box-shadow: 0 0 8px var(--secondary); }
      50% { box-shadow: 0 0 20px var(--accent); }
      100% { box-shadow: 0 0 8px var(--secondary); }
    }

    .compare-col {
      flex: 1;
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      padding: 32px;
    }

    .compare-col.highlight {
      border: 2px solid var(--secondary);
    }

    .list-item {
      display: flex;
      align-items: center;
      gap: 12px;
      margin: 16px 0;
    }

    @media (max-width: 768px) {
      .comparison-wrapper {
        flex-direction: column;
      }
      .divider-line {
        width: 100%;
        height: 2px;
      }
    }

    /* FAQ */
    .faq-item {
      border-left: 3px solid #2A2F45;
      padding: 16px 24px;
      margin-bottom: 16px;
      background: var(--card-bg);
      border-radius: 0 12px 12px 0;
      cursor: pointer;
      transition: 0.2s;
    }

    .faq-item.open {
      border-left-color: var(--accent);
    }

    .faq-question {
      font-weight: 600;
      font-size: 18px;
      color: var(--text-title);
    }

    .faq-answer {
      color: var(--text-muted);
      font-size: 15px;
      margin-top: 8px;
      display: none;
    }

    .faq-item.open .faq-answer {
      display: block;
    }

    /* 联系 */
    .contact-form input, .contact-form select {
      background: #0B0E1A;
      border: 1px solid #2A2F45;
      border-radius: 40px;
      padding: 14px 20px;
      width: 100%;
      color: white;
      margin-bottom: 16px;
    }

    .contact-form input:focus, .contact-form select:focus {
      border-color: var(--secondary);
      outline: none;
    }

    footer {
      background: #050812;
      padding: 60px 0 30px;
      border-top: 1px solid rgba(108,92,231,0.2);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }

    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
      section {
        padding: 60px 0;
      }
    }
