/* roulang page: index */
/* 设计变量与基础重置 */
    :root {
      --primary-green: #0E8C3A;
      --primary-green-hover: #0B7230;
      --accent-red: #E63946;
      --accent-red-hover: #c1303b;
      --warm-gold: #F4A261;
      --bg-dark: #1A1D23;
      --bg-card-dark: #252830;
      --bg-light-green: #E8F5E9;
      --bg-off-white: #F7F8FA;
      --text-white: #FFFFFF;
      --text-light-gray: #B0B8C1;
      --text-dark: #1A1D23;
      --text-body: #4a4a4a;
      --text-soft: #6b7280;
      --success-green: #10B981;
      --danger-red: #EF4444;
      --border-light: #E5E7EB;
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
      --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      --font-mono: 'SF Mono', 'Consolas', 'Menlo', monospace;
      --transition: all 0.25s ease;
    }
    
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    
    body {
      font-family: var(--font-sans);
      font-size: 16px;
      line-height: 1.7;
      color: var(--text-dark);
      background-color: #fff;
      -webkit-font-smoothing: antialiased;
    }
    
    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }
    
    /* 排版 */
    h1, h2, h3, h4 {
      font-weight: 600;
      line-height: 1.3;
    }
    
    h1 {
      font-size: 2.8rem;
      font-weight: 700;
      letter-spacing: -0.5px;
    }
    
    h2 {
      font-size: 2rem;
      margin-bottom: 1rem;
    }
    
    h3 {
      font-size: 1.25rem;
      font-weight: 600;
    }
    
    .section-title {
      text-align: center;
      margin-bottom: 3rem;
    }
    
    .section-title h2 {
      color: var(--text-dark);
    }
    
    .section-title .subtitle {
      color: var(--text-soft);
      font-size: 1.1rem;
      max-width: 600px;
      margin: 0.5rem auto 0;
    }
    
    /* 按钮系统 */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 28px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 1rem;
      text-decoration: none;
      transition: var(--transition);
      cursor: pointer;
      border: 2px solid transparent;
      white-space: nowrap;
    }
    
    .btn-primary {
      background-color: var(--primary-green);
      color: white;
      border-color: var(--primary-green);
    }
    
    .btn-primary:hover {
      background-color: var(--primary-green-hover);
      border-color: var(--primary-green-hover);
      transform: scale(1.03);
      box-shadow: var(--shadow-md);
    }
    
    .btn-accent {
      background-color: var(--accent-red);
      color: white;
      border-color: var(--accent-red);
    }
    
    .btn-accent:hover {
      background-color: var(--accent-red-hover);
      border-color: var(--accent-red-hover);
      transform: scale(1.03);
      box-shadow: var(--shadow-md);
    }
    
    .btn-outline {
      background: transparent;
      color: var(--primary-green);
      border: 2px solid var(--primary-green);
    }
    
    .btn-outline:hover {
      background-color: rgba(14, 140, 58, 0.05);
      border-color: var(--primary-green-hover);
      color: var(--primary-green-hover);
    }
    
    /* 顶部信息条 */
    .top-bar {
      background-color: #111;
      color: #ccc;
      font-size: 0.8rem;
      padding: 6px 0;
      text-align: center;
      letter-spacing: 0.3px;
    }
    
    .top-bar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
    }
    
    .top-bar span i {
      margin-right: 4px;
      color: var(--warm-gold);
    }
    
    /* 主导航 */
    .main-header {
      background: #fff;
      box-shadow: 0 2px 10px rgba(0,0,0,0.04);
      position: sticky;
      top: 0;
      z-index: 50;
    }
    
    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 70px;
    }
    
    .logo {
      display: flex;
      align-items: center;
      text-decoration: none;
      color: var(--text-dark);
      font-weight: 700;
      font-size: 1.5rem;
    }
    
    .logo i {
      color: var(--primary-green);
      font-size: 2rem;
      margin-right: 10px;
    }
    
    .nav-links {
      display: flex;
      gap: 2.2rem;
      list-style: none;
    }
    
    .nav-links a {
      text-decoration: none;
      color: var(--text-dark);
      font-weight: 500;
      font-size: 1rem;
      padding-bottom: 6px;
      border-bottom: 3px solid transparent;
      transition: var(--transition);
    }
    
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary-green);
      border-bottom-color: var(--primary-green);
    }
    
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.8rem;
      color: var(--text-dark);
      cursor: pointer;
    }
    
    /* 移动端侧滑菜单 */
    .mobile-nav {
      display: none;
      position: fixed;
      top: 0;
      right: 0;
      width: 75%;
      max-width: 320px;
      height: 100vh;
      background: white;
      box-shadow: -5px 0 20px rgba(0,0,0,0.15);
      z-index: 100;
      flex-direction: column;
      padding: 2rem 1.5rem;
      transform: translateX(100%);
      transition: transform 0.3s ease;
    }
    
    .mobile-nav.active {
      transform: translateX(0);
    }
    
    .mobile-nav a {
      display: block;
      padding: 1rem 0;
      border-bottom: 1px solid #eee;
      font-weight: 500;
      text-decoration: none;
      color: var(--text-dark);
    }
    
    .mobile-nav .close-btn {
      align-self: flex-end;
      background: none;
      border: none;
      font-size: 2rem;
      cursor: pointer;
    }
    
    /* Hero 区域 */
    #hero {
      background: linear-gradient(135deg, #1A1D23 0%, #0F1A13 100%);
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      background-blend-mode: overlay;
      position: relative;
      padding: 5rem 0;
      color: white;
    }
    
    #hero::before {
      content: "";
      position: absolute;
      top:0; left:0; right:0; bottom:0;
      background: rgba(26, 29, 35, 0.75);
      backdrop-filter: blur(1px);
    }
    
    .hero-grid {
      display: flex;
      align-items: center;
      gap: 3rem;
      position: relative;
      z-index: 2;
    }
    
    .hero-text {
      flex: 1;
    }
    
    .hero-text h1 {
      color: white;
      margin-bottom: 1.5rem;
      font-size: 3rem;
    }
    
    .hero-text .subhead {
      font-size: 1.2rem;
      color: var(--text-light-gray);
      margin-bottom: 2rem;
      line-height: 1.6;
    }
    
    .hero-dashboard {
      flex: 1;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.2rem;
    }
    
    .live-card {
      background: rgba(37, 40, 48, 0.8);
      backdrop-filter: blur(8px);
      border-radius: var(--radius-md);
      padding: 1.2rem;
      border-left: 4px solid var(--primary-green);
      color: white;
      transition: var(--transition);
    }
    
    .live-card:hover {
      transform: translateY(-3px);
      background: rgba(45, 48, 58, 0.9);
    }
    
    .live-card .match-info {
      font-size: 0.9rem;
      color: #ccc;
      display: flex;
      justify-content: space-between;
      margin-bottom: 0.5rem;
    }
    
    .live-score {
      font-family: var(--font-mono);
      font-size: 2.2rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    
    .live-score .goal-blink {
      width: 8px;
      height: 8px;
      background: var(--success-green);
      border-radius: 50%;
      animation: pulse 1.5s infinite;
      margin-left: 4px;
    }
    
    @keyframes pulse {
      0% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.6; transform: scale(1.3); }
      100% { opacity: 1; transform: scale(1); }
    }
    
    .update-time {
      font-size: 0.7rem;
      color: #aaa;
      margin-top: 0.6rem;
    }
    
    /* 服务矩阵 */
    #services {
      background: var(--bg-light-green);
      padding: 5rem 0;
    }
    
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
    
    .service-card {
      background: white;
      border-radius: var(--radius-lg);
      padding: 2rem 1.5rem;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
      border: 1px solid var(--border-light);
      text-align: center;
    }
    
    .service-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-md);
    }
    
    .service-icon {
      font-size: 2.2rem;
      color: var(--warm-gold);
      margin-bottom: 1.2rem;
    }
    
    .badge {
      background: var(--warm-gold);
      color: #1A1D23;
      font-weight: 600;
      font-size: 0.75rem;
      padding: 4px 10px;
      border-radius: 20px;
      display: inline-block;
      margin-bottom: 1rem;
    }
    
    /* 对比模块 */
    #comparison {
      background: white;
      padding: 5rem 0;
    }
    
    .comparison-wrapper {
      display: flex;
      gap: 2rem;
      align-items: stretch;
    }
    
    .compare-col {
      flex: 1;
      background: #f9fafb;
      border-radius: var(--radius-lg);
      padding: 2rem;
      border: 1px solid var(--border-light);
    }
    
    .compare-col.highlight {
      background: #f0fdf4;
      border: 1px solid var(--primary-green);
      box-shadow: var(--shadow-sm);
    }
    
    .compare-item {
      display: flex;
      justify-content: space-between;
      margin-bottom: 1.2rem;
      font-size: 1rem;
    }
    
    .value-positive {
      color: var(--success-green);
      font-weight: 700;
      font-family: var(--font-mono);
    }
    
    .value-negative {
      color: var(--danger-red);
      font-weight: 700;
    }
    
    /* FAQ */
    #faq {
      background: #fff;
      padding: 5rem 0;
    }
    
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }
    
    .faq-item {
      border-bottom: 1px solid #eee;
      padding: 1.2rem 0;
    }
    
    .faq-question {
      font-weight: 600;
      font-size: 1.15rem;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: var(--text-dark);
    }
    
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-body);
      padding-right: 2rem;
      margin-top: 0.5rem;
    }
    
    .faq-item.active .faq-answer {
      max-height: 200px;
    }
    
    /* 联系表单 */
    #contact {
      background: var(--bg-light-green);
      padding: 5rem 0;
    }
    
    .form-card {
      background: white;
      border-radius: var(--radius-lg);
      padding: 2.5rem;
      max-width: 700px;
      margin: 2rem auto 0;
      box-shadow: var(--shadow-sm);
    }
    
    .form-group input, .form-group textarea {
      width: 100%;
      padding: 14px;
      border: 1px solid #ddd;
      border-radius: var(--radius-sm);
      font-family: inherit;
      margin-bottom: 1.2rem;
    }
    
    .trust-badges {
      display: flex;
      justify-content: center;
      gap: 2rem;
      margin-top: 1.5rem;
      color: var(--text-soft);
    }
    
    /* 页脚 */
    .footer {
      background: var(--bg-dark);
      color: #ccc;
      padding: 3rem 0 1.5rem;
    }
    
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 2rem;
    }
    
    .footer a {
      color: #ddd;
      text-decoration: none;
    }
    
    .copyright {
      text-align: center;
      margin-top: 2rem;
      font-size: 0.85rem;
      color: #888;
    }
    
    /* 移动端悬浮按钮 */
    .mobile-float-cta {
      display: none;
      position: fixed;
      bottom: 20px;
      left: 20px;
      right: 20px;
      z-index: 90;
      background: var(--primary-green);
      color: white;
      text-align: center;
      padding: 14px;
      border-radius: 40px;
      font-weight: bold;
      box-shadow: 0 8px 20px rgba(0,0,0,0.3);
      text-decoration: none;
    }
    
    @media (max-width: 1024px) {
      .services-grid { grid-template-columns: repeat(2, 1fr); }
      .hero-grid { flex-direction: column; }
      .hero-dashboard { grid-template-columns: 1fr 1fr; width: 100%; }
    }
    
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .menu-toggle { display: block; }
      .mobile-nav { display: flex; }
      .services-grid { grid-template-columns: 1fr; }
      .comparison-wrapper { flex-direction: column; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      h1 { font-size: 2rem; }
      .hero-text h1 { font-size: 2.2rem; }
      .mobile-float-cta { display: block; }
    }
