/* roulang page: index */
:root {
      --primary-orange: #FF6A13;
      --primary-orange-hover: #E55D0B;
      --deep-indigo: #1A1F36;
      --bg-light: #F7F8FA;
      --white: #FFFFFF;
      --green-accent: #00C48C;
      --red-alert: #E03E2D;
      --text-main: #1A1F36;
      --text-secondary: #4B5162;
      --text-muted: #8E94A2;
      --text-on-dark: #FFFFFF;
      --text-on-dark-muted: #B0B8CC;
      --border-light: #E8EAEF;
      --card-shadow: 0 2px 12px rgba(26, 31, 54, 0.06);
      --card-shadow-hover: 0 8px 24px rgba(26, 31, 54, 0.10);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-tag: 4px;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
      --font-mono: "DIN Alternate", "Roboto Mono", "Menlo", "Consolas", monospace;
      --transition-smooth: 0.2s ease;
      --transition-card: 0.25s ease;
      --max-width: 1200px;
      --nav-height: 72px;
      --nav-height-mobile: 56px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-light);
      color: var(--text-main);
      line-height: 1.75;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    h1, h2, h3, h4 {
      font-weight: 700;
      line-height: 1.3;
    }

    h1 {
      font-size: 44px;
      color: var(--deep-indigo);
      margin-bottom: 16px;
    }

    h2 {
      font-size: 32px;
      color: var(--deep-indigo);
      margin-bottom: 12px;
      text-align: center;
    }

    h3 {
      font-size: 20px;
      font-weight: 600;
      color: var(--deep-indigo);
      margin-bottom: 8px;
    }

    h4 {
      font-size: 18px;
      font-weight: 600;
      color: var(--deep-indigo);
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition-smooth);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, input {
      font-family: var(--font-sans);
      outline: none;
    }

    /* 导航 */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--nav-height);
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      z-index: 1000;
      display: flex;
      align-items: center;
      transition: box-shadow 0.3s ease;
      border-bottom: 1px solid transparent;
    }

    .nav.scrolled {
      box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
      border-bottom: 1px solid var(--border-light);
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    .nav-logo {
      display: flex;
      align-items: center;
      font-weight: 700;
      font-size: 22px;
      color: var(--deep-indigo);
      letter-spacing: 0.5px;
    }

    .nav-logo i {
      color: var(--primary-orange);
      margin-right: 8px;
      font-size: 26px;
    }

    .nav-menu {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }

    .nav-menu a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-secondary);
      padding: 8px 0;
      border-bottom: 2px solid transparent;
      transition: color 0.2s, border-color 0.2s;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
      color: var(--primary-orange);
      border-bottom-color: var(--primary-orange);
    }

    .nav-cta {
      background: var(--primary-orange);
      color: white;
      border: none;
      padding: 10px 24px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 15px;
      cursor: pointer;
      transition: background var(--transition-smooth);
      white-space: nowrap;
    }

    .nav-cta:hover {
      background: var(--primary-orange-hover);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
    }

    .hamburger span {
      width: 25px;
      height: 2.5px;
      background: var(--deep-indigo);
      border-radius: 2px;
      transition: 0.3s;
    }

    /* 首屏 Hero */
    .hero {
      padding: 140px 0 80px;
      background-color: var(--bg-light);
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      position: relative;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(247, 248, 250, 0.88);
      z-index: 0;
    }

    .hero .container {
      display: flex;
      align-items: center;
      gap: 60px;
      position: relative;
      z-index: 2;
    }

    .hero-left {
      flex: 1;
    }

    .hero-left h1 {
      font-size: 44px;
      font-weight: 700;
      color: var(--deep-indigo);
      line-height: 1.2;
      margin-bottom: 20px;
    }

    .hero-left .subtitle {
      font-size: 18px;
      color: var(--text-secondary);
      margin-bottom: 32px;
      max-width: 480px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--primary-orange);
      color: white;
      border: none;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 16px;
      cursor: pointer;
      transition: background var(--transition-smooth);
    }

    .btn-primary:hover {
      background: var(--primary-orange-hover);
    }

    .btn-secondary {
      background: transparent;
      color: var(--deep-indigo);
      border: 1.5px solid var(--deep-indigo);
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 16px;
      cursor: pointer;
      transition: 0.2s;
    }

    .btn-secondary:hover {
      background: rgba(26, 31, 54, 0.08);
    }

    .hero-right {
      flex: 1;
      display: flex;
      justify-content: center;
    }

    .live-card {
      background: var(--deep-indigo);
      padding: 28px;
      border-radius: 20px;
      width: 100%;
      max-width: 380px;
      box-shadow: 0 20px 35px rgba(26, 31, 54, 0.25);
      color: white;
    }

    .live-badge {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;
      font-weight: 600;
      color: var(--red-alert);
      margin-bottom: 20px;
    }

    .live-dot {
      width: 8px;
      height: 8px;
      background: var(--red-alert);
      border-radius: 50%;
      animation: pulse 1.5s infinite;
    }

    @keyframes pulse {
      0% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(0.9); }
      100% { opacity: 1; transform: scale(1); }
    }

    .match-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 0;
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .team {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .team-badge {
      width: 28px;
      height: 28px;
      background: #4B5162;
      border-radius: 50%;
    }

    .score {
      font-family: var(--font-mono);
      font-size: 22px;
      font-weight: 700;
      color: var(--primary-orange);
    }

    /* 板块通用 */
    .section {
      padding: 80px 0;
    }

    .section-header {
      text-align: center;
      margin-bottom: 48px;
    }

    .section-header p {
      color: var(--text-secondary);
      max-width: 600px;
      margin: 0 auto;
      font-size: 16px;
    }

    /* 数据看板 */
    .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .stat-card {
      background: var(--white);
      border-radius: var(--radius-card);
      padding: 28px;
      box-shadow: var(--card-shadow);
      transition: var(--transition-card);
    }

    .stat-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--card-shadow-hover);
    }

    .stat-number {
      font-family: var(--font-mono);
      font-size: 42px;
      font-weight: 700;
      color: var(--primary-orange);
      line-height: 1;
    }

    .stat-label {
      color: var(--text-muted);
      font-size: 14px;
      margin: 8px 0 12px;
    }

    .progress-bar {
      height: 4px;
      background: #E8EAEF;
      border-radius: 2px;
      overflow: hidden;
    }

    .progress-fill {
      height: 100%;
      width: 75%;
      background: var(--green-accent);
      border-radius: 2px;
    }

    /* 服务卡片 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .service-card {
      background: white;
      border-radius: var(--radius-card);
      padding: 28px;
      box-shadow: var(--card-shadow);
      transition: var(--transition-card);
      position: relative;
      display: flex;
      flex-direction: column;
    }

    .service-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--card-shadow-hover);
    }

    .popular-badge {
      position: absolute;
      top: 0;
      right: 20px;
      background: var(--primary-orange);
      color: white;
      font-size: 12px;
      padding: 4px 12px;
      border-radius: 0 0 6px 6px;
      font-weight: 600;
    }

    .service-icon {
      font-size: 36px;
      color: var(--primary-orange);
      margin-bottom: 16px;
    }

    .service-desc {
      color: var(--text-secondary);
      font-size: 15px;
      margin: 10px 0 16px;
      flex: 1;
    }

    .tag-group {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 12px;
    }

    .tag {
      background: #F0F2F5;
      color: var(--text-secondary);
      font-size: 12px;
      padding: 4px 10px;
      border-radius: var(--radius-tag);
    }

    /* 对比 */
    .comparison-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      align-items: start;
    }

    .compare-card {
      background: white;
      border-radius: var(--radius-card);
      padding: 32px;
      box-shadow: var(--card-shadow);
    }

    .compare-card.dark {
      background: var(--deep-indigo);
      color: white;
    }

    .compare-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 0;
      border-bottom: 1px solid var(--border-light);
    }

    .compare-card.dark .compare-item {
      border-bottom-color: rgba(255,255,255,0.1);
    }

    .icon-check {
      color: var(--green-accent);
      font-weight: bold;
    }

    .icon-cross {
      color: var(--red-alert);
    }

    /* 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: 18px 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 18px;
      font-weight: 600;
      color: var(--deep-indigo);
      cursor: pointer;
      text-align: left;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      background: #F7F8FA;
      border-radius: 8px;
      padding: 0 16px;
      margin-bottom: 8px;
      color: var(--text-secondary);
    }

    .faq-item.active .faq-answer {
      max-height: 200px;
      padding: 16px;
    }

    /* CTA */
    .cta-section {
      background: var(--deep-indigo);
      padding: 70px 0;
    }

    .cta-grid {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 40px;
      align-items: center;
    }

    .cta-left h2 {
      color: white;
      text-align: left;
      margin-bottom: 12px;
    }

    .cta-left p {
      color: var(--text-on-dark-muted);
    }

    .cta-form {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .cta-form input {
      flex: 1;
      padding: 14px 16px;
      border-radius: var(--radius-btn);
      border: none;
      background: white;
    }

    /* 页脚 */
    .footer {
      background: var(--deep-indigo);
      color: var(--text-on-dark-muted);
      padding: 60px 0 20px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }

    .footer-logo {
      font-size: 22px;
      font-weight: 700;
      color: white;
      margin-bottom: 12px;
    }

    .copyright {
      text-align: center;
      margin-top: 48px;
      font-size: 13px;
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 20px;
    }

    @media (max-width: 1024px) {
      .dashboard-grid, .services-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 767px) {
      h1 { font-size: 30px; }
      .nav-menu { display: none; }
      .hamburger { display: flex; }
      .hero .container { flex-direction: column; }
      .dashboard-grid, .services-grid { grid-template-columns: 1fr; }
      .comparison-wrapper { grid-template-columns: 1fr; }
      .cta-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
