/* roulang page: index */
:root {
      --primary: #0B3D2E;
      --primary-light: #1a5a44;
      --secondary: #F5A623;
      --secondary-hover: #E09510;
      --accent-red: #E03E2D;
      --bg-page: #F9FAF7;
      --text-dark: #1C1C1C;
      --text-secondary: #4A4A4A;
      --text-light: #6B6B6B;
      --white: #FFFFFF;
      --border-light: #E5E5E5;
      --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
      --card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --font-mono: 'Roboto Mono', monospace;
      --transition: 0.25s ease;
      --nav-height: 64px;
    }
    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    html {
      scroll-behavior: smooth;
    }
    
    body {
      font-family: system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
      font-weight: 400;
      line-height: 1.8;
      color: var(--text-dark);
      background-color: var(--bg-page);
      -webkit-font-smoothing: antialiased;
    }
    
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }
    
    @media (max-width: 768px) {
      .container {
        padding: 0 16px;
      }
    }
    
    /* 导航栏 */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--nav-height);
      background-color: var(--primary);
      color: var(--white);
      z-index: 1000;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .header-inner {
      max-width: 1200px;
      margin: 0 auto;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 24px;
    }
    
    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 1.5rem;
      font-weight: 700;
      letter-spacing: -0.5px;
      color: var(--white);
      text-decoration: none;
    }
    
    .logo-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      background: var(--secondary);
      border-radius: 50%;
      mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><circle cx="12" cy="12" r="9" stroke="white" stroke-width="2"/><path d="M12 5 L13 10 L17 7 L15 12 L20 13.5 L15 15.5 L17 20 L12.5 15.5 L8 19 L10 14 L5 12 L10 10 Z" fill="white"/></svg>') center/cover no-repeat;
      background-color: var(--secondary);
      -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><circle cx="12" cy="12" r="9" stroke="white" stroke-width="2"/><path d="M12 5 L13 10 L17 7 L15 12 L20 13.5 L15 15.5 L17 20 L12.5 15.5 L8 19 L10 14 L5 12 L10 10 Z" fill="white"/></svg>') center/cover no-repeat;
    }
    
    .nav-menu {
      display: flex;
      list-style: none;
      gap: 24px;
      align-items: center;
    }
    
    .nav-menu a {
      color: rgba(255,255,255,0.85);
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      transition: var(--transition);
      position: relative;
      padding-bottom: 4px;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
      color: var(--white);
    }
    
    .nav-menu a.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 3px;
      background-color: var(--secondary);
    }
    
    .burger {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      flex-direction: column;
      gap: 5px;
      padding: 8px;
    }
    
    .burger span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--white);
      transition: var(--transition);
    }
    
    @media (max-width: 768px) {
      .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
      }
      .nav-menu.open {
        transform: translateX(0);
      }
      .burger {
        display: flex;
      }
    }
    
    /* Hero */
    .hero {
      padding-top: calc(var(--nav-height) + 60px);
      padding-bottom: 80px;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      position: relative;
      min-height: 80vh;
      display: flex;
      align-items: center;
    }
    
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--primary);
      opacity: 0.55;
    }
    
    .hero .container {
      position: relative;
      z-index: 2;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 40px;
      justify-content: space-between;
    }
    
    .hero-content {
      flex: 1 1 400px;
      color: var(--white);
    }
    
    .hero h1 {
      font-size: 2.8rem;
      font-weight: 700;
      letter-spacing: -0.5px;
      line-height: 1.3;
      margin-bottom: 20px;
    }
    
    .hero .subtitle {
      font-size: 1.2rem;
      margin-bottom: 32px;
      opacity: 0.9;
    }
    
    .btn-primary {
      display: inline-block;
      background: var(--secondary);
      color: var(--white);
      padding: 14px 32px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      text-decoration: none;
      transition: background var(--transition), transform var(--transition);
      border: none;
      cursor: pointer;
    }
    .btn-primary:hover {
      background: var(--secondary-hover);
      transform: translateY(-2px);
    }
    .btn-secondary {
      display: inline-block;
      border: 2px solid var(--primary);
      color: var(--primary);
      background: transparent;
      padding: 12px 28px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      transition: var(--transition);
    }
    .btn-secondary:hover {
      background: var(--primary);
      color: white;
    }
    
    .score-card {
      flex: 0 1 320px;
      background: rgba(255,255,255,0.75);
      backdrop-filter: blur(10px);
      border-radius: var(--radius-lg);
      padding: 24px;
      color: var(--text-dark);
      text-align: center;
      box-shadow: var(--card-shadow);
    }
    .score-teams {
      font-size: 2rem;
      font-weight: 700;
      font-family: var(--font-mono);
      margin-bottom: 12px;
    }
    .score-live {
      color: var(--accent-red);
      font-weight: 700;
      font-size: 1.1rem;
      margin-left: 8px;
      animation: pulse 1.5s infinite;
    }
    @keyframes pulse { 0%{opacity:1;} 50%{opacity:0.5;} 100%{opacity:1;}}
    
    @media (max-width: 768px) {
      .hero .container { flex-direction: column; text-align: center; }
      .hero h1 { font-size: 2rem; }
      .score-card { width: 100%; }
      .hero { padding-top: calc(var(--nav-height) + 40px); }
    }
    
    section {
      padding: 80px 0;
    }
    @media (max-width: 768px) {
      section { padding: 60px 0; }
    }
    
    h2 {
      font-size: 2rem;
      font-weight: 700;
      letter-spacing: -0.5px;
      margin-bottom: 16px;
      text-align: center;
    }
    .section-desc {
      text-align: center;
      color: var(--text-secondary);
      max-width: 700px;
      margin: 0 auto 48px;
    }
    
    /* 数据看板 */
    .dash-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
    }
    .dash-card {
      background: var(--white);
      padding: 32px 16px;
      border-radius: var(--radius-md);
      box-shadow: var(--card-shadow);
      transition: var(--transition);
    }
    .dash-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
    .dash-number {
      font-family: var(--font-mono);
      font-size: 2.5rem;
      font-weight: 600;
      color: var(--secondary);
    }
    @media (max-width: 768px) {
      .dash-grid { grid-template-columns: repeat(2, 1fr); }
      .dash-number { font-size: 2rem; }
    }
    
    /* 服务卡片 */
    .service-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .service-card {
      background: var(--white);
      border-radius: var(--radius-md);
      padding: 32px 24px;
      text-align: center;
      box-shadow: var(--card-shadow);
      transition: var(--transition);
    }
    .service-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
    .service-icon {
      width: 64px;
      height: 64px;
      margin: 0 auto 16px;
      background: var(--bg-page);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .service-icon img {
      width: 40px;
      height: 40px;
      object-fit: contain;
    }
    h3 { font-size: 1.3rem; margin-bottom: 8px; }
    @media (max-width: 768px) {
      .service-grid { grid-template-columns: 1fr; }
    }
    
    /* 对比 */
    .compare-grid {
      display: flex;
      gap: 24px;
      flex-wrap: wrap;
    }
    .compare-col {
      flex: 1 1 280px;
      padding: 32px;
      border-radius: var(--radius-md);
    }
    .compare-bad { background: #f0f0ec; border:1px solid #ddd; }
    .compare-good { background: #e6f3ec; border:1px solid var(--primary); }
    .compare-item { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 1.1rem; }
    .check-red { color: var(--accent-red); font-weight: bold; }
    .check-green { color: var(--primary); font-weight: bold; }
    
    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }
    .faq-item {
      border-bottom: 1px solid var(--border-light);
    }
    .faq-question {
      width: 100%;
      background: none;
      border: none;
      padding: 20px 16px;
      text-align: left;
      font-size: 1.1rem;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      color: var(--text-dark);
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      padding: 0 16px;
    }
    .faq-answer.open { max-height: 200px; padding-bottom: 16px; }
    .arrow { transition: transform 0.3s; }
    .faq-question.active .arrow { transform: rotate(180deg); }
    
    /* CTA */
    .cta-section {
      background: var(--primary);
      color: white;
      text-align: center;
      padding: 80px 20px;
    }
    .cta-section h2 { color: white; }
    .footer {
      background: #0A2A20;
      color: rgba(255,255,255,0.8);
      padding: 48px 0 20px;
    }
    .footer-grid {
      display: flex;
      gap: 40px;
      flex-wrap: wrap;
      justify-content: space-between;
      margin-bottom: 24px;
    }
    .footer a { color: var(--secondary); text-decoration: none; }
    .copyright { text-align: center; font-size: 0.9rem; border-top: 1px solid #1e4235; padding-top: 24px; }
    @media (max-width: 768px) {
      .compare-grid { flex-direction: column; }
    }
    .text-mono { font-family: var(--font-mono); }
