/* roulang page: index */
/* ===== 设计变量与基础重置 ===== */
    :root {
      --primary-green: #1DB954;
      --primary-green-hover: #17A34A;
      --accent-orange: #FF6B35;
      --accent-orange-hover: #E55A2B;
      --dark-charcoal: #1E1E1E;
      --light-green-bg: #E8F5E9;
      --warm-white: #FAFAF5;
      --alert-red: #E53935;
      
      --text-dark: #1E1E1E;
      --text-mid: #5A5A5A;
      --text-light: #8A8A8A;
      --border-light: #E0E0E0;
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
      --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
      --shadow-lg: 0 12px 32px rgba(0,0,0,0.18);
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --transition: 0.25s ease;
      --font-heading: 'Source Han Sans SC', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      --font-body: 'Source Han Sans SC', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      --font-mono: 'Roboto Mono', 'Courier New', monospace;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: var(--font-body);
      line-height: 1.7;
      color: var(--text-dark);
      background-color: var(--warm-white);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color var(--transition);
    }

    button, .button {
      cursor: pointer;
      font-family: var(--font-body);
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 标题层级 */
    h1, h2, h3, h4 {
      font-family: var(--font-heading);
      font-weight: 700;
      line-height: 1.3;
    }

    h1 {
      font-size: clamp(2.2rem, 6vw, 3.5rem);
      letter-spacing: -0.5px;
    }

    h2 {
      font-size: clamp(1.8rem, 4vw, 2.5rem);
      margin-bottom: 1.25rem;
    }

    h3 {
      font-size: 1.3rem;
      margin-bottom: 0.75rem;
    }

    .section-title {
      text-align: center;
      margin-bottom: 3rem;
    }

    .section-title h2 {
      color: var(--dark-charcoal);
    }

    .section-title p {
      color: var(--text-mid);
      max-width: 700px;
      margin: 0 auto;
      font-size: 1.1rem;
    }

    /* 板块间距 */
    section {
      padding: 80px 0;
    }

    @media (max-width: 1024px) {
      section { padding: 60px 0; }
    }

    @media (max-width: 640px) {
      section { padding: 40px 0; }
      .container { padding: 0 16px; }
    }

    /* ===== 导航系统 ===== */
    .main-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      background: rgba(255,255,255,0.96);
      backdrop-filter: blur(12px);
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
      transition: box-shadow var(--transition);
      height: 72px;
      display: flex;
      align-items: center;
    }

    .header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }

    .logo-area {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--dark-charcoal);
      letter-spacing: -0.3px;
    }

    .logo-icon {
      font-size: 1.8rem;
      color: var(--primary-green);
    }

    .desktop-nav {
      display: flex;
      gap: 2.5rem;
      align-items: center;
    }

    .desktop-nav a {
      font-weight: 500;
      color: var(--text-dark);
      padding: 0.5rem 0;
      border-bottom: 3px solid transparent;
      transition: border-color var(--transition), color var(--transition);
      font-size: 0.95rem;
    }

    .desktop-nav a:hover,
    .desktop-nav a.active {
      color: var(--primary-green);
      border-bottom-color: var(--primary-green);
    }

    .nav-cta {
      background: var(--primary-green);
      color: white !important;
      padding: 0.6rem 1.5rem !important;
      border-radius: 30px;
      font-weight: 600;
      border-bottom: none !important;
      transition: background var(--transition);
    }

    .nav-cta:hover {
      background: var(--primary-green-hover);
      color: white !important;
    }

    /* 汉堡菜单 */
    .menu-toggle {
      display: none;
      font-size: 1.8rem;
      background: none;
      border: none;
      color: var(--text-dark);
    }

    /* 移动端底部 Tab 栏 */
    .mobile-bottom-tab {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: white;
      box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
      z-index: 99;
      padding: 8px 0 12px;
      border-top: 1px solid #eee;
    }

    .tab-items {
      display: flex;
      justify-content: space-around;
      align-items: center;
    }

    .tab-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      font-size: 0.7rem;
      color: var(--text-mid);
      transition: color var(--transition);
      font-weight: 500;
    }

    .tab-item i {
      font-size: 1.4rem;
    }

    .tab-item.active {
      color: var(--primary-green);
    }

    @media (max-width: 640px) {
      .desktop-nav { display: none; }
      .menu-toggle { display: block; }
      .mobile-bottom-tab { display: block; }
      .main-header { height: 64px; }
      body { padding-bottom: 70px; }
    }

    /* 移动端抽屉菜单 */
    .mobile-drawer {
      position: fixed;
      top: 0;
      left: 0;
      width: 80%;
      max-width: 320px;
      height: 100vh;
      background: white;
      z-index: 200;
      transform: translateX(-100%);
      transition: transform 0.3s ease;
      box-shadow: 2px 0 16px rgba(0,0,0,0.1);
      padding: 2rem 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    .mobile-drawer.open {
      transform: translateX(0);
    }

    .drawer-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.4);
      z-index: 150;
      display: none;
    }

    .drawer-overlay.show {
      display: block;
    }

    /* ===== Hero 首屏 ===== */
    .hero-section {
      padding: 140px 0 100px;
      background: linear-gradient(135deg, rgba(30,30,30,0.85) 0%, rgba(26,46,32,0.9) 100%), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      color: white;
      position: relative;
      overflow: hidden;
    }

    .hero-grid {
      display: flex;
      align-items: center;
      gap: 3rem;
    }

    .hero-left {
      flex: 1;
    }

    .hero-left h1 {
      font-size: clamp(2.5rem, 7vw, 3.8rem);
      margin-bottom: 1.5rem;
      line-height: 1.2;
      text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }

    .hero-sub {
      font-size: 1.2rem;
      opacity: 0.9;
      margin-bottom: 2.5rem;
      max-width: 500px;
    }

    .hero-buttons {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .btn-primary, .btn-secondary {
      display: inline-block;
      padding: 1rem 2.2rem;
      border-radius: 30px;
      font-weight: 600;
      font-size: 1rem;
      transition: all var(--transition);
      text-align: center;
      border: 2px solid transparent;
    }

    .btn-primary {
      background: var(--primary-green);
      color: white;
      border-color: var(--primary-green);
    }

    .btn-primary:hover {
      background: var(--primary-green-hover);
      border-color: var(--primary-green-hover);
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }

    .btn-secondary {
      background: transparent;
      color: white;
      border-color: var(--accent-orange);
      color: var(--accent-orange);
    }

    .btn-secondary:hover {
      background: var(--accent-orange);
      color: white;
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }

    .hero-right {
      flex: 1;
      display: flex;
      justify-content: center;
    }

    .live-score-card {
      background: rgba(20,20,20,0.8);
      backdrop-filter: blur(16px);
      border-radius: var(--radius-lg);
      padding: 2rem;
      width: 100%;
      max-width: 360px;
      box-shadow: var(--shadow-lg);
      border: 1px solid rgba(255,255,255,0.15);
    }

    .score-teams {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 2.2rem;
      font-weight: 700;
      margin-bottom: 1rem;
      font-family: var(--font-mono);
    }

    .team {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
    }

    .badge {
      width: 44px;
      height: 44px;
      background: #444;
      border-radius: 50%;
    }

    .score-value {
      font-size: 2.8rem;
      color: white;
    }

    .match-time {
      background: var(--accent-orange);
      color: white;
      padding: 0.3rem 1rem;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 600;
      display: inline-block;
      margin-bottom: 1rem;
    }

    .match-info {
      display: flex;
      justify-content: space-between;
      color: #ccc;
      font-size: 0.9rem;
    }

    @media (max-width: 768px) {
      .hero-grid {
        flex-direction: column;
      }
      .hero-left {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
      }
      .hero-sub { max-width: 100%; }
    }

    /* ===== 核心优势 ===== */
    .advantages-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
    }

    .adv-card {
      background: white;
      border-radius: var(--radius-md);
      padding: 2rem 1.8rem;
      box-shadow: var(--shadow-sm);
      transition: all var(--transition);
      border: 1px solid #f0f0f0;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .adv-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-md);
    }

    .adv-icon {
      font-size: 2.2rem;
      color: var(--primary-green);
    }

    /* ===== 功能分组 ===== */
    .feature-row {
      display: flex;
      align-items: center;
      gap: 3rem;
      margin-bottom: 5rem;
    }

    .feature-row.reverse {
      flex-direction: row-reverse;
    }

    .feature-img {
      flex: 1;
      border-radius: var(--radius-md);
      overflow: hidden;
      position: relative;
      background: #2d2d2d;
      min-height: 280px;
    }

    .feature-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.7;
    }

    .feature-img::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(29,185,84,0.35);
    }

    .feature-text {
      flex: 1;
    }

    .feature-text h3 {
      margin-bottom: 1rem;
    }

    .feature-tags span {
      background: var(--light-green-bg);
      color: var(--primary-green);
      padding: 0.2rem 0.9rem;
      border-radius: 20px;
      font-size: 0.8rem;
      margin-right: 0.5rem;
      font-weight: 600;
    }

    @media (max-width: 768px) {
      .feature-row, .feature-row.reverse {
        flex-direction: column;
      }
      .feature-img { min-height: 220px; width: 100%; }
    }

    /* ===== 场景卡片 ===== */
    .scenario-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
    }

    .scenario-card {
      background: white;
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: all var(--transition);
    }

    .scenario-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-md);
    }

    .scenario-img {
      height: 140px;
      background-size: cover;
      background-position: center;
      position: relative;
    }

    .scenario-img::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(30,30,30,0.4);
    }

    .scenario-content {
      padding: 1.5rem;
    }

    @media (max-width: 1024px) {
      .scenario-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 640px) {
      .scenario-grid { grid-template-columns: 1fr; }
    }

    /* ===== 实时数据演示区 ===== */
    .demo-dark {
      background: var(--dark-charcoal);
      color: white;
      padding: 80px 0;
    }

    .score-panel {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.5rem;
      flex-wrap: wrap;
      margin-top: 2rem;
    }

    .live-match {
      background: #2c2c2c;
      border-radius: var(--radius-md);
      padding: 1.8rem;
      text-align: center;
      min-width: 200px;
    }

    .live-score-big {
      font-size: 3rem;
      font-weight: 700;
      font-family: var(--font-mono);
      color: var(--accent-orange);
    }

    /* ===== 客户标志墙 ===== */
    .client-logos {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 3rem;
      flex-wrap: wrap;
      filter: grayscale(100%);
      opacity: 0.7;
      transition: all 0.3s;
    }

    .client-logos span {
      font-size: 1.5rem;
      font-weight: 600;
      color: #999;
    }

    .client-logos span:hover {
      filter: grayscale(0%);
      color: var(--primary-green);
    }

    /* ===== FAQ ===== */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }

    .faq-item {
      border-bottom: 1px solid var(--light-green-bg);
      padding: 1.2rem 0;
    }

    .faq-question {
      font-weight: 600;
      font-size: 1.1rem;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      color: var(--dark-charcoal);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-mid);
    }

    .faq-item.open .faq-answer {
      max-height: 200px;
      margin-top: 0.8rem;
    }

    /* ===== CTA ===== */
    .cta-section {
      background: var(--light-green-bg);
      text-align: center;
    }

    .cta-form {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-top: 2rem;
      flex-wrap: wrap;
    }

    .cta-input {
      padding: 1rem 1.5rem;
      border-radius: 30px;
      border: 2px solid #ddd;
      width: 300px;
      outline: none;
      transition: border var(--transition);
    }

    .cta-input:focus {
      border-color: var(--primary-green);
    }

    /* ===== 页脚 ===== */
    .main-footer {
      background: var(--dark-charcoal);
      color: #ccc;
      padding: 4rem 0 2rem;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 2rem;
    }

    @media (max-width: 768px) {
      .footer-grid { grid-template-columns: 1fr; }
    }

    .copyright {
      text-align: center;
      margin-top: 2rem;
      color: #888;
      font-size: 0.9rem;
    }
