/* roulang page: index */
:root {
      --primary: #F04E30;
      --primary-hover: #D43C22;
      --secondary: #1A1C23;
      --accent: #00E5FF;
      --neutral-bg: #F5F6FA;
      --white: #FFFFFF;
      --gray-text: #9A9EA7;
      --border-light: rgba(0,0,0,0.04);
      --shadow-card: 0 4px 20px rgba(0,0,0,0.06);
      --shadow-hover: 0 12px 32px rgba(0,0,0,0.12);
      --radius-card: 12px;
      --radius-btn: 8px;
      --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      --font-mono: 'Inter', 'SF Mono', 'Menlo', monospace;
      --max-width: 1280px;
      --header-height: 72px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: var(--font-sans);
      line-height: 1.6;
      color: var(--secondary);
      background-color: var(--white);
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s ease, border-color 0.2s ease;
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
      border: none;
      background: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.25s ease;
      font-weight: 500;
      border-radius: var(--radius-btn);
    }

    .container {
      max-width: var(--max-width);
      margin-left: auto;
      margin-right: auto;
      padding-left: 24px;
      padding-right: 24px;
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--header-height);
      background: var(--white);
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
      border-bottom: 1px solid #E9EBF0;
      z-index: 100;
      display: flex;
      align-items: center;
    }

    .header .container {
      display: flex;
      align-items: center;
      width: 100%;
      justify-content: space-between;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 24px;
      letter-spacing: -0.5px;
      color: var(--secondary);
    }

    .logo-icon {
      font-size: 28px;
      color: var(--primary);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }

    .nav-links a {
      font-weight: 500;
      color: #4A4E5C;
      padding: 8px 0;
      border-bottom: 2px solid transparent;
      transition: border-color 0.2s, color 0.2s;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
      border-bottom-color: var(--primary);
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .search-box {
      background: var(--neutral-bg);
      border-radius: 20px;
      padding: 8px 16px;
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--gray-text);
      font-size: 14px;
    }

    .search-box input {
      border: none;
      background: transparent;
      outline: none;
      font-size: 14px;
      width: 140px;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 10px 24px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      box-shadow: 0 2px 8px rgba(240,78,48,0.25);
    }

    .btn-primary:hover {
      background: var(--primary-hover);
      box-shadow: 0 6px 16px rgba(240,78,48,0.35);
    }

    .btn-outline {
      border: 1.5px solid var(--primary);
      color: var(--primary);
      background: transparent;
      padding: 10px 24px;
      font-weight: 600;
    }

    .btn-outline:hover {
      background: rgba(240,78,48,0.06);
    }

    .btn-accent {
      background: var(--accent);
      color: var(--secondary);
      font-weight: 700;
      padding: 14px 36px;
      box-shadow: 0 0 12px rgba(0,229,255,0.4);
    }

    .btn-accent:hover {
      box-shadow: 0 0 24px rgba(0,229,255,0.7);
      transform: scale(1.02);
    }

    .hamburger {
      display: none;
      font-size: 24px;
      background: none;
      border: none;
      color: var(--secondary);
    }

    /* 区块间距 */
    section {
      padding: 100px 0;
    }

    /* Hero */
    .hero {
      background: var(--secondary);
      background-image: radial-gradient(circle at 30% 40%, rgba(240,78,48,0.15) 0%, transparent 40%),
                        linear-gradient(135deg, #1A1C23 0%, #2A2D35 100%);
      position: relative;
      overflow: hidden;
      min-height: 85vh;
      display: flex;
      align-items: center;
      margin-top: var(--header-height);
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 8px);
      pointer-events: none;
    }

    .hero .container {
      display: flex;
      align-items: center;
      gap: 60px;
      position: relative;
      z-index: 2;
    }

    .hero-content {
      flex: 1;
      color: white;
    }

    .hero h1 {
      font-size: 48px;
      line-height: 1.2;
      font-weight: 700;
      letter-spacing: -0.5px;
      margin-bottom: 20px;
    }

    .hero .subtitle {
      font-size: 18px;
      color: #C0C4CC;
      margin-bottom: 32px;
      max-width: 480px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .hero-visual {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .hero-visual img {
      max-height: 420px;
      filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
      border-radius: 16px;
    }

    /* 标题通用 */
    .section-title {
      font-size: 36px;
      font-weight: 600;
      line-height: 1.3;
      margin-bottom: 16px;
      color: var(--secondary);
    }

    .section-desc {
      font-size: 16px;
      color: var(--gray-text);
      max-width: 680px;
    }

    /* 优势 */
    .advantages-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr;
      gap: 32px;
      margin-top: 48px;
    }

    .advantage-item {
      background: var(--white);
      padding: 32px;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      transition: all 0.25s;
    }

    .advantage-item:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .adv-icon {
      font-size: 36px;
      color: var(--accent);
      margin-bottom: 16px;
    }

    .adv-number {
      font-family: var(--font-mono);
      font-size: 42px;
      font-weight: 700;
      color: var(--primary);
      line-height: 1.2;
    }

    .adv-title {
      font-size: 20px;
      font-weight: 600;
      margin: 12px 0 8px;
    }

    /* 服务 主次布局 */
    .services-layout {
      display: flex;
      gap: 32px;
      margin-top: 48px;
      align-items: stretch;
    }

    .service-main {
      flex: 1.2;
      background: var(--neutral-bg);
      border-radius: var(--radius-card);
      padding: 40px;
      border-left: 6px solid var(--primary);
      transition: border-color 0.2s;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .service-main:hover {
      border-left-color: var(--accent);
    }

    .service-side {
      flex: 0.8;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .service-card {
      background: var(--neutral-bg);
      border-radius: var(--radius-card);
      padding: 28px;
      border-left: 6px solid var(--primary);
      transition: border-color 0.2s;
    }

    .service-card:hover {
      border-left-color: var(--accent);
    }

    .service-icon {
      width: 48px;
      height: 48px;
      margin-bottom: 16px;
    }

    /* 数据战绩 */
    .stats-section {
      background: var(--secondary);
      color: white;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 40px;
      margin-top: 40px;
    }

    .stat-item {
      text-align: center;
    }

    .stat-number {
      font-family: var(--font-mono);
      font-size: 48px;
      font-weight: 700;
      background: linear-gradient(180deg, #00E5FF 0%, #00B8D4 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .progress-bar {
      height: 6px;
      background: rgba(255,255,255,0.15);
      border-radius: 3px;
      margin: 12px auto 0;
      width: 80%;
      overflow: hidden;
    }

    .progress-fill {
      height: 100%;
      background: var(--primary);
      border-radius: 3px;
      animation: fillProgress 1.8s ease-out forwards;
    }

    @keyframes fillProgress {
      from { width: 0%; }
    }

    /* 赛事案例 */
    .cases-scroll {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 16px;
      margin-top: 40px;
      scroll-snap-type: x mandatory;
    }

    .case-card {
      min-width: 320px;
      background: var(--white);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      overflow: hidden;
      transition: transform 0.25s, box-shadow 0.25s;
      scroll-snap-align: start;
    }

    .case-card:hover {
      transform: scale(1.03);
      box-shadow: var(--shadow-hover);
    }

    .case-img {
      height: 180px;
      object-fit: cover;
    }

    .case-info {
      padding: 20px;
    }

    .case-score {
      display: flex;
      justify-content: space-between;
      font-weight: 700;
      font-size: 20px;
    }

    .winner {
      color: var(--primary);
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 40px auto 0;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .faq-item {
      border: 1px solid var(--border-light);
      border-radius: var(--radius-card);
      background: var(--white);
    }

    .faq-question {
      width: 100%;
      padding: 20px 24px;
      display: flex;
      align-items: center;
      gap: 16px;
      font-weight: 600;
      font-size: 18px;
      background: transparent;
      border: none;
      text-align: left;
      cursor: pointer;
    }

    .faq-q-badge {
      background: var(--primary);
      color: white;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      flex-shrink: 0;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease;
      background: var(--neutral-bg);
      padding: 0 24px;
      color: #4A4E5C;
    }

    .faq-item.open .faq-answer {
      max-height: 200px;
      padding: 16px 24px;
    }

    .arrow {
      margin-left: auto;
      transition: transform 0.3s;
    }

    .faq-item.open .arrow {
      transform: rotate(180deg);
    }

    /* CTA */
    .cta-section {
      background: var(--secondary);
      background-image: linear-gradient(135deg, #1A1C23 0%, #2A2D35 100%);
      position: relative;
      text-align: center;
      color: white;
    }

    .cta-section::after {
      content: "";
      position: absolute;
      right: 0;
      bottom: 0;
      width: 200px;
      height: 200px;
      background: var(--primary);
      clip-path: polygon(100% 0, 0% 100%, 100% 100%);
      opacity: 0.25;
    }

    /* Footer */
    .footer {
      background: #14161C;
      color: #B0B3BB;
      padding: 60px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }

    .footer-logo {
      font-size: 24px;
      font-weight: 700;
      color: white;
    }

    .footer a:hover {
      color: var(--accent);
    }

    .copyright {
      border-top: 1px solid #2A2D35;
      margin-top: 40px;
      padding-top: 24px;
      text-align: center;
      font-size: 14px;
    }

    @media (max-width: 1024px) {
      .hero .container {
        flex-direction: column;
        text-align: center;
      }
      .hero-content {
        order: 1;
      }
      .advantages-grid {
        grid-template-columns: 1fr 1fr;
      }
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .nav-links, .nav-right .search-box {
        display: none;
      }
      .hamburger {
        display: block;
      }
      .hero h1 {
        font-size: 32px;
      }
      .advantages-grid,
      .services-layout {
        grid-template-columns: 1fr;
      }
      .services-layout {
        flex-direction: column;
      }
      .stats-grid {
        grid-template-columns: 1fr 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
      section {
        padding: 60px 0;
      }
    }
