/* roulang page: index */
:root {
      --primary: #0A84FF;
      --primary-hover: #3b9dff;
      --secondary: #7B2FFF;
      --accent-glow: #00F0FF;
      --bg-deep: #0B0E14;
      --bg-secondary: rgba(20, 24, 34, 0.7);
      --glass-bg: rgba(255, 255, 255, 0.04);
      --glass-border: rgba(255, 255, 255, 0.08);
      --glass-bg-hover: rgba(255, 255, 255, 0.07);
      --text-primary: #F0F3FA;
      --text-secondary: #9AA4BF;
      --text-highlight: #FFFFFF;
      --card-radius-lg: 24px;
      --card-radius: 16px;
      --btn-radius: 12px;
      --glow-blue: 0 0 20px rgba(10, 132, 255, 0.25);
      --glow-cyan: 0 0 24px #00F0FF;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      background-color: var(--bg-deep);
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-deep);
      color: var(--text-primary);
      line-height: 1.7;
      font-size: 15px;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    /* 自定义容器 */
    .container-custom {
      max-width: 1280px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 20px;
      padding-right: 20px;
    }

    @media (max-width: 768px) {
      .container-custom {
        padding-left: 16px;
        padding-right: 16px;
      }
    }

    /* 玻璃拟态卡片 */
    .glass-card {
      background: var(--glass-bg);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid var(--glass-border);
      border-radius: var(--card-radius);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
      transition: all 0.3s ease;
    }

    .glass-card:hover {
      border-color: rgba(10, 132, 255, 0.3);
      box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), var(--glow-blue);
      transform: translateY(-4px);
      background: var(--glass-bg-hover);
    }

    .glass-card-lg {
      border-radius: var(--card-radius-lg);
    }

    /* 发光按钮 */
    .btn-primary {
      background: linear-gradient(135deg, #0A84FF 0%, #7B2FFF 100%);
      color: white;
      font-weight: 600;
      font-size: 15px;
      letter-spacing: 0.5px;
      padding: 0.75rem 2rem;
      border-radius: var(--btn-radius);
      border: none;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: all 0.25s ease;
      box-shadow: 0 4px 16px rgba(10, 132, 255, 0.4);
      text-decoration: none;
      line-height: 1.2;
    }

    .btn-primary:hover {
      box-shadow: 0 0 28px #00F0FF, 0 8px 24px rgba(10,132,255,0.6);
      transform: scale(1.03);
      color: white;
    }

    .btn-secondary {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.25);
      color: var(--text-primary);
      font-weight: 500;
      font-size: 15px;
      padding: 0.7rem 1.8rem;
      border-radius: var(--btn-radius);
      backdrop-filter: blur(8px);
      transition: all 0.25s ease;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
    }

    .btn-secondary:hover {
      border-color: #0A84FF;
      background: rgba(10, 132, 255, 0.1);
      color: white;
    }

    /* 导航 */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 50;
      transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
      background: transparent;
    }

    .navbar.scrolled {
      background: rgba(11, 14, 20, 0.85);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links a {
      color: var(--text-secondary);
      font-weight: 500;
      transition: color 0.2s;
      text-decoration: none;
    }

    .nav-links a:hover {
      color: white;
    }

    /* 移动端抽屉菜单 */
    .mobile-menu {
      background: rgba(8, 10, 18, 0.96);
      backdrop-filter: blur(28px);
    }

    /* 亮点网格不等高 */
    .highlight-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }

    @media (min-width: 1024px) {
      .highlight-grid {
        grid-template-columns: repeat(3, 1fr);
      }
      .card-tall {
        grid-row: span 2;
      }
    }

    @media (max-width: 767px) {
      .highlight-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 案例瀑布流 */
    .case-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    @media (max-width: 1023px) {
      .case-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @media (max-width: 640px) {
      .case-grid {
        grid-template-columns: 1fr;
      }
    }

    .case-card img {
      transition: transform 0.4s ease;
    }
    .case-card:hover img {
      transform: scale(1.03);
    }
    .case-overlay {
      background: linear-gradient(180deg, transparent 40%, rgba(10,132,255,0.4) 100%);
      transition: opacity 0.3s;
    }

    /* FAQ 手风琴 */
    .faq-item {
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .faq-question {
      cursor: pointer;
      transition: color 0.2s;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease, padding 0.3s;
    }
    .faq-item.active .faq-answer {
      max-height: 300px;
      padding: 0 0 20px 0;
    }
    .faq-item.active .faq-icon {
      color: var(--accent-glow);
    }

    /* 推荐卡片呼吸边框 */
    @keyframes glowPulse {
      0% { border-color: rgba(10,132,255,0.7); box-shadow: 0 0 12px rgba(10,132,255,0.3); }
      50% { border-color: var(--accent-glow); box-shadow: 0 0 28px rgba(0,240,255,0.4); }
      100% { border-color: rgba(10,132,255,0.7); box-shadow: 0 0 12px rgba(10,132,255,0.3); }
    }
    .recommend-card {
      animation: glowPulse 2.5s infinite;
      border: 2px solid #0A84FF;
    }

    /* 背景光晕 */
    .hero-glow {
      background: radial-gradient(circle at 80% 30%, rgba(10,132,255,0.25) 0%, rgba(123,47,255,0.15) 50%, transparent 70%);
      filter: blur(80px);
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      right: 0;
      pointer-events: none;
    }

    /* 图片占位 */
    .img-placeholder {
      background: #1A1F2E;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #4B5563;
      font-size: 2rem;
    }

    a, button {
      outline: none;
    }
    a:focus-visible, button:focus-visible {
      outline: 2px solid var(--primary);
      outline-offset: 3px;
    }
