/* roulang page: index */
:root {
      --primary-purple: #7B2FF7;
      --cyan: #00F0FF;
      --dark-bg: #0D0D12;
      --gold: #F5A623;
      --text-primary: #f0f2f5;
      --text-secondary: #b0b3bf;
      --text-muted: #6b6f7c;
      --card-bg: rgba(255, 255, 255, 0.03);
      --border-light: rgba(0, 240, 255, 0.25);
      --border-glow: 0 0 12px rgba(0, 240, 255, 0.6);
      --radius-card: 8px;
      --radius-btn: 2px;
      --shadow-card: 0 8px 20px rgba(0, 0, 0, 0.6);
      --font-title: 'Inter', '思源黑体', '阿里妈妈数黑体', system-ui, -apple-system, sans-serif;
      --font-number: 'Rajdhani', 'DIN', 'Inter', sans-serif;
      --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
      --max-width: 1280px;
      --section-gap: 100px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background-color: var(--dark-bg);
      background-image: radial-gradient(circle at 30% 40%, rgba(123, 47, 247, 0.12) 0%, transparent 35%),
                        radial-gradient(circle at 70% 70%, rgba(0, 240, 255, 0.08) 0%, transparent 40%);
      background-attachment: fixed;
      color: var(--text-primary);
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    img {
      max-width: 100%;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s, opacity 0.2s;
    }

    button, input, textarea, select {
      font-family: var(--font-body);
      font-size: 16px;
      outline: none;
    }

    /* 网格背景纹理 */
    body::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
      background-size: 40px 40px;
      pointer-events: none;
      z-index: 0;
    }

    /* 导航杂志频道风格 */
    .header {
      position: sticky;
      top: 0;
      z-index: 50;
      background-color: rgba(13, 13, 18, 0.85);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border-bottom: 1px solid rgba(0, 240, 255, 0.2);
      padding: 12px 0;
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
      position: relative;
    }

    .logo {
      font-family: var(--font-title);
      font-weight: 700;
      font-size: 1.8rem;
      letter-spacing: 1px;
      background: linear-gradient(135deg, var(--cyan) 0%, var(--primary-purple) 80%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      display: inline-block;
      white-space: nowrap;
    }

    .nav-channels {
      display: flex;
      align-items: center;
      gap: 0px;
      flex-wrap: wrap;
    }

    .nav-channels a {
      font-weight: 500;
      font-size: 0.95rem;
      color: var(--text-secondary);
      padding: 8px 12px;
      position: relative;
      transition: color 0.2s;
      white-space: nowrap;
    }

    .nav-channels a:not(:last-child)::after {
      content: "|";
      color: rgba(255,255,255,0.15);
      position: absolute;
      right: -2px;
      top: 50%;
      transform: translateY(-50%);
    }

    .nav-channels a:hover,
    .nav-channels a.active {
      color: var(--cyan);
    }

    .nav-channels a::before {
      content: "";
      position: absolute;
      bottom: 0;
      left: 12px;
      right: 12px;
      height: 2px;
      background: var(--cyan);
      transform: scaleX(0);
      transition: transform 0.2s ease;
    }

    .nav-channels a:hover::before,
    .nav-channels a.active::before {
      transform: scaleX(1);
    }

    /* 移动端导航横滚 */
    @media (max-width: 768px) {
      .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
      }
      .nav-channels {
        overflow-x: auto;
        flex-wrap: nowrap;
        width: 100%;
        padding-bottom: 4px;
        gap: 4px;
      }
      .nav-channels a {
        font-size: 0.9rem;
        padding: 6px 10px;
      }
    }

    /* Hero 首屏 */
    .hero {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 40px;
      padding: 70px 0 80px;
      position: relative;
      z-index: 2;
    }

    .hero-left {
      flex: 1 1 50%;
    }

    .hero-right {
      flex: 1 1 45%;
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .hero h1 {
      font-size: clamp(2.4rem, 5vw, 3.4rem);
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 20px;
      background: linear-gradient(135deg, #fff 30%, var(--cyan) 90%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-family: var(--font-title);
    }

    .hero-sub {
      font-size: 1.2rem;
      color: var(--text-secondary);
      margin-bottom: 32px;
      max-width: 500px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--primary-purple);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      border: 1px solid transparent;
      transition: all 0.25s;
      letter-spacing: 0.5px;
      cursor: pointer;
      display: inline-block;
    }

    .btn-primary:hover {
      box-shadow: 0 0 14px var(--cyan);
      border-color: var(--cyan);
      background: #6a20e0;
      transform: translateY(-2px);
    }

    .btn-outline {
      background: transparent;
      border: 1px solid var(--cyan);
      color: var(--cyan);
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: all 0.25s;
      cursor: pointer;
    }

    .btn-outline:hover {
      background: rgba(0, 240, 255, 0.08);
      box-shadow: 0 0 10px rgba(0,240,255,0.5);
      transform: translateY(-2px);
    }

    .hero-visual {
      width: 100%;
      background: rgba(0, 240, 255, 0.08);
      border: 1px solid var(--border-light);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 0 30px rgba(0,240,255,0.2);
      position: relative;
    }

    .hero-visual img {
      width: 100%;
      height: auto;
      object-fit: cover;
      display: block;
    }

    @media (max-width: 768px) {
      .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
      }
      .hero-left {
        order: 1;
      }
      .hero-right {
        order: 0;
        width: 100%;
      }
      .hero-buttons {
        justify-content: center;
      }
    }

    /* 通用 section */
    .section {
      padding: var(--section-gap) 0;
      position: relative;
      z-index: 2;
    }

    .section-title {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 16px;
      font-family: var(--font-title);
      color: white;
      position: relative;
      display: inline-block;
    }

    .section-title::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -8px;
      width: 60px;
      height: 3px;
      background: var(--cyan);
    }

    .section-sub {
      color: var(--text-secondary);
      margin-bottom: 48px;
      font-size: 1.1rem;
    }

    /* 亮点网格不对称布局 2大+4小 */
    .highlights-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      margin-top: 24px;
    }

    .highlight-card {
      background: var(--card-bg);
      border: 1px solid rgba(0, 240, 255, 0.2);
      border-radius: var(--radius-card);
      padding: 28px 20px;
      transition: all 0.25s;
      backdrop-filter: blur(4px);
      position: relative;
      overflow: hidden;
    }

    .highlight-card.large {
      grid-column: span 2;
      grid-row: span 1;
    }

    .highlight-card i {
      font-size: 2.2rem;
      color: var(--cyan);
      margin-bottom: 16px;
    }

    .highlight-card h3 {
      font-size: 1.5rem;
      margin-bottom: 10px;
      font-weight: 600;
    }

    .highlight-card p {
      color: var(--text-secondary);
      font-size: 0.95rem;
    }

    .highlight-card:hover {
      border-color: var(--cyan);
      box-shadow: var(--border-glow);
      transform: translateY(-4px);
    }

    @media (max-width: 1024px) {
      .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .highlight-card.large {
        grid-column: span 2;
      }
    }

    @media (max-width: 600px) {
      .highlights-grid {
        grid-template-columns: 1fr;
      }
      .highlight-card.large {
        grid-column: span 1;
      }
    }

    /* 案例瀑布流 */
    .case-masonry {
      column-count: 3;
      column-gap: 24px;
    }

    .case-card {
      break-inside: avoid;
      margin-bottom: 24px;
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: var(--radius-card);
      overflow: hidden;
      transition: all 0.25s;
      backdrop-filter: blur(4px);
    }

    .case-card img {
      width: 100%;
      display: block;
      transition: transform 0.3s ease;
    }

    .case-card:hover img {
      transform: scale(1.03);
    }

    .case-content {
      padding: 20px;
    }

    .case-content h3 {
      font-size: 1.3rem;
      margin-bottom: 8px;
      color: white;
    }

    .case-content .tags {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 10px;
    }

    .tag {
      background: rgba(0,240,255,0.1);
      color: var(--cyan);
      font-size: 0.75rem;
      padding: 4px 10px;
      border-radius: 20px;
      font-weight: 500;
    }

    @media (max-width: 900px) {
      .case-masonry {
        column-count: 2;
      }
    }

    @media (max-width: 600px) {
      .case-masonry {
        column-count: 1;
      }
    }

    /* 方案对比 */
    .compare-wrapper {
      display: flex;
      align-items: stretch;
      gap: 20px;
      margin-top: 24px;
    }

    .compare-col {
      flex: 1;
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: var(--radius-card);
      padding: 32px 24px;
    }

    .vs-divider {
      display: flex;
      align-items: center;
      font-weight: 700;
      font-size: 1.4rem;
      color: var(--gold);
      writing-mode: vertical-lr;
      background: rgba(245,166,35,0.1);
      padding: 0 12px;
      border-radius: 4px;
    }

    .compare-col h3 {
      font-size: 1.6rem;
      margin-bottom: 20px;
    }

    .compare-list {
      list-style: none;
    }

    .compare-list li {
      padding: 10px 0;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .highlight-gold {
      color: var(--gold);
      font-weight: 600;
    }

    @media (max-width: 768px) {
      .compare-wrapper {
        flex-direction: column;
      }
      .vs-divider {
        writing-mode: horizontal-tb;
        width: 100%;
        justify-content: center;
        padding: 12px;
      }
    }

    /* FAQ 手风琴 */
    .faq-item {
      border-bottom: 1px solid rgba(255,255,255,0.08);
      margin-bottom: 8px;
    }

    .faq-question {
      background: transparent;
      border: none;
      width: 100%;
      text-align: left;
      padding: 20px 8px;
      font-weight: 600;
      font-size: 1.1rem;
      color: white;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      transition: 0.2s;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-secondary);
      padding: 0 8px;
    }

    .faq-item.active .faq-answer {
      max-height: 200px;
      padding-bottom: 16px;
    }

    .faq-item.active .faq-question {
      color: var(--cyan);
    }

    /* CTA 联系 */
    .cta-grid {
      display: flex;
      gap: 40px;
      margin-top: 30px;
      flex-wrap: wrap;
    }

    .cta-form {
      flex: 1 1 55%;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .cta-form input,
    .cta-form textarea {
      background: #1a1a22;
      border: 1px solid #2a2a35;
      padding: 14px;
      border-radius: 6px;
      color: white;
      transition: 0.2s;
    }

    .cta-form input:focus,
    .cta-form textarea:focus {
      border-color: var(--cyan);
      box-shadow: 0 0 8px rgba(0,240,255,0.3);
    }

    .cta-info {
      flex: 1 1 35%;
      color: var(--text-secondary);
    }

    /* 页脚 */
    .footer {
      background: #0a0a0f;
      padding: 60px 0 30px;
      margin-top: 80px;
      border-top: 1px solid rgba(0,240,255,0.2);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 40px;
    }

    .footer a {
      color: var(--text-secondary);
      transition: color 0.2s;
    }

    .footer a:hover {
      color: var(--cyan);
    }

    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
