/* roulang page: index */
/* :root 设计令牌 */
    :root {
      --primary-green: #0A9E5A;
      --deep-graphite: #1A1D20;
      --amber-highlight: #F5A623;
      --bg-light: #F8F9FA;
      --white: #FFFFFF;
      --text-dark: #212529;
      --text-muted: #6C757D;
      --text-light: #F8F9FA;
      --border-light: #E9ECEF;
      --border-subtle: rgba(255,255,255,0.15);
      --shadow-card: 0 2px 12px rgba(0,0,0,0.04);
      --shadow-card-hover: 0 8px 24px rgba(0,0,0,0.08);
      --shadow-data-card: 0 4px 16px rgba(10,158,90,0.08);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 6px;
      --radius-data: 4px;
      --font-heading: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      --font-body: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
      --font-mono: 'SF Mono', 'Menlo', 'Consolas', monospace;
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-body);
      background-color: var(--bg-light);
      color: var(--text-dark);
      line-height: 1.7;
      margin: 0;
      padding: 0;
      overflow-x: hidden;
    }

    h1, h2, h3, h4, .navbar-brand, .nav-link, .btn {
      font-family: var(--font-heading);
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      max-width: 1200px;
      padding-left: 20px;
      padding-right: 20px;
    }

    /* 导航自定义 */
    .navbar {
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow: 0 1px 0 var(--border-light);
      height: 64px;
      padding: 0;
      z-index: 1030;
    }

    .navbar-brand {
      font-weight: 700;
      font-size: 1.6rem;
      color: var(--deep-graphite) !important;
      letter-spacing: 0.5px;
    }

    .navbar-brand small {
      font-size: 0.7rem;
      font-weight: 400;
      color: var(--text-muted);
      margin-left: 6px;
      letter-spacing: 0.2px;
    }

    .nav-link {
      font-weight: 500;
      color: var(--text-dark) !important;
      padding: 0.5rem 1rem !important;
      border-bottom: 3px solid transparent;
      transition: color 0.2s, border-color 0.2s;
      margin: 0 0.2rem;
    }

    .nav-link:hover,
    .nav-link.active {
      color: var(--primary-green) !important;
      border-bottom-color: var(--primary-green);
    }

    /* Mega Menu 悬停面板 */
    .mega-dropdown {
      position: relative;
    }

    .mega-trigger {
      cursor: pointer;
      color: var(--text-dark);
      font-weight: 500;
      padding: 0.5rem 1rem;
      border-bottom: 3px solid transparent;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: color 0.2s;
    }

    .mega-trigger i {
      font-size: 0.8rem;
      transition: transform 0.2s;
    }

    .mega-dropdown:hover .mega-trigger {
      color: var(--primary-green);
    }

    .mega-dropdown:hover .mega-trigger i {
      transform: rotate(180deg);
    }

    .mega-panel {
      position: absolute;
      top: 100%;
      right: 0;
      background: var(--white);
      box-shadow: var(--shadow-card-hover);
      border-radius: var(--radius-card);
      padding: 20px;
      width: 520px;
      display: flex;
      gap: 24px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(8px);
      transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
      z-index: 1050;
    }

    .mega-dropdown:hover .mega-panel {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .mega-league span {
      display: block;
      padding: 6px 0;
      font-weight: 500;
      color: var(--text-dark);
      transition: color 0.2s;
    }

    .mega-league span:hover {
      color: var(--primary-green);
    }

    .mega-score-card {
      background: var(--bg-light);
      border-radius: var(--radius-data);
      padding: 10px 14px;
      margin-bottom: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      font-size: 0.9rem;
    }

    .mega-score-number {
      font-family: var(--font-mono);
      font-weight: 700;
      color: var(--amber-highlight);
    }

    /* 移动端底部导航 */
    .mobile-bottom-nav {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: var(--white);
      box-shadow: 0 -2px 8px rgba(0,0,0,0.04);
      z-index: 1050;
      padding: 8px 0;
      justify-content: space-around;
    }

    .mobile-nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: 0.7rem;
      color: var(--text-muted);
      transition: color 0.2s;
    }

    .mobile-nav-item i {
      font-size: 1.3rem;
      margin-bottom: 2px;
    }

    .mobile-nav-item.active {
      color: var(--primary-green);
    }

    /* Hero 区块 */
    .hero-section {
      padding: 120px 0 100px;
      background-color: var(--bg-light);
      position: relative;
    }

    .hero-left h1 {
      font-size: 48px;
      line-height: 1.2;
      font-weight: 700;
      color: var(--deep-graphite);
    }

    .hero-left .lead {
      font-size: 1.15rem;
      color: var(--text-muted);
      margin: 20px 0 28px;
    }

    .btn-primary-green {
      background: var(--primary-green);
      border: none;
      color: white;
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: background 0.2s, transform 0.1s;
    }

    .btn-primary-green:hover {
      background: #08894A;
      transform: translateY(-1px);
    }

    .btn-outline-dark {
      border: 1.5px solid var(--deep-graphite);
      color: var(--deep-graphite);
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: all 0.2s;
    }

    .btn-outline-dark:hover {
      background: var(--deep-graphite);
      color: white;
    }

    .data-dashboard {
      background: var(--deep-graphite);
      border-radius: var(--radius-card);
      padding: 28px 24px;
      color: white;
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 20px;
      box-shadow: var(--shadow-data-card);
    }

    .metric-card {
      background: rgba(255,255,255,0.06);
      border-radius: var(--radius-data);
      padding: 16px 14px;
      border: 1px solid rgba(255,255,255,0.08);
    }

    .metric-label {
      font-size: 0.8rem;
      color: #ADB5BD;
      margin-bottom: 6px;
    }

    .metric-value {
      font-family: var(--font-mono);
      font-weight: 700;
      font-size: 1.8rem;
      color: var(--amber-highlight);
    }

    .blink-amber {
      animation: pulse-amber 2s infinite;
    }

    @keyframes pulse-amber {
      0% { opacity: 1; }
      50% { opacity: 0.7; }
      100% { opacity: 1; }
    }

    /* 服务区不对称卡片 */
    .service-grid {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 24px;
    }

    .large-service-card {
      background: var(--deep-graphite);
      border-radius: var(--radius-card);
      overflow: hidden;
      color: white;
      box-shadow: var(--shadow-card);
      transition: box-shadow 0.3s;
      display: flex;
      flex-direction: column;
    }

    .large-service-card:hover {
      box-shadow: var(--shadow-card-hover);
    }

    .large-service-img {
      height: 200px;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      position: relative;
    }

    .large-service-content {
      padding: 28px;
    }

    .small-service-card {
      background: var(--white);
      border-radius: var(--radius-card);
      padding: 24px;
      box-shadow: var(--shadow-card);
      border-left: 4px solid var(--primary-green);
      transition: box-shadow 0.2s, border-left-width 0.2s;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .small-service-card:hover {
      border-left-width: 8px;
      border-left-color: var(--amber-highlight);
      box-shadow: var(--shadow-card-hover);
    }

    .small-service-stack {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    /* 数据对比面板 */
    .comparison-wrapper {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
    }

    .data-panel {
      background: var(--deep-graphite);
      border-radius: var(--radius-card);
      padding: 32px 28px;
      color: white;
      flex: 1;
      transition: filter 0.3s;
    }

    .data-panel:hover {
      filter: brightness(1.08);
    }

    .team-name {
      font-weight: 700;
      font-size: 1.4rem;
    }

    .big-score {
      font-family: var(--font-mono);
      font-weight: 700;
      font-size: 48px;
      color: var(--amber-highlight);
    }

    .progress {
      height: 6px;
      background: rgba(255,255,255,0.2);
      border-radius: 4px;
    }

    .progress-bar {
      background: var(--primary-green);
    }

    .vs-badge {
      background: var(--primary-green);
      color: white;
      width: 56px;
      height: 56px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 1.5rem;
      animation: breathe 2.5s ease-in-out infinite;
    }

    @keyframes breathe {
      0% { transform: scale(1); }
      50% { transform: scale(1.08); }
      100% { transform: scale(1); }
    }

    /* FAQ 手风琴自定义 */
    .accordion-button {
      font-weight: 600;
      background: white;
      box-shadow: none;
      border: none;
      padding: 20px 0;
    }

    .accordion-button:not(.collapsed) {
      background: transparent;
      color: var(--deep-graphite);
      box-shadow: none;
    }

    .accordion-button::before {
      content: '';
      width: 8px;
      height: 8px;
      background: var(--primary-green);
      border-radius: 50%;
      margin-right: 12px;
      transition: background 0.2s;
    }

    .accordion-button:not(.collapsed)::before {
      background: var(--amber-highlight);
    }

    .accordion-body {
      background: #F1F3F5;
      border-radius: 8px;
      margin-bottom: 10px;
      padding: 20px;
      font-size: 15px;
    }

    /* CTA 深色区块 */
    .cta-dark {
      background: var(--deep-graphite);
      border-radius: var(--radius-card);
      padding: 70px 0;
      background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.03) 0%, transparent 30%);
    }

    .form-control {
      border-radius: var(--radius-input);
      border: 1px solid #CED4DA;
      padding: 12px 16px;
      font-size: 1rem;
    }

    .form-control:focus {
      border-color: var(--primary-green);
      box-shadow: 0 0 0 0.2rem rgba(10,158,90,0.2);
    }

    .btn-amber {
      background: var(--amber-highlight);
      border: none;
      color: white;
      font-weight: 600;
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      transition: background 0.2s, transform 0.1s;
    }

    .btn-amber:hover {
      background: #E09510;
      transform: translateY(-2px);
    }

    /* 页脚 */
    .footer-brand {
      font-weight: 700;
      font-size: 1.5rem;
      color: white;
    }

    .footer-link {
      color: #ADB5BD;
      transition: color 0.2s;
      display: block;
      margin-bottom: 8px;
    }

    .footer-link:hover {
      color: var(--primary-green);
    }

    .social-icon-circle {
      width: 36px;
      height: 36px;
      background: rgba(255,255,255,0.1);
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-right: 10px;
      color: white;
      transition: background 0.2s;
    }

    .social-icon-circle:hover {
      background: var(--primary-green);
    }

    /* 响应式 */
    @media (max-width: 992px) {
      .hero-section {
        padding: 80px 0 60px;
      }
      .hero-left h1 {
        font-size: 36px;
      }
      .data-dashboard {
        grid-template-columns: repeat(2,1fr);
      }
    }

    @media (max-width: 768px) {
      .navbar .navbar-nav {
        display: none;
      }
      .mobile-bottom-nav {
        display: flex;
      }
      .hero-section {
        flex-direction: column;
        text-align: center;
      }
      .data-dashboard {
        overflow-x: auto;
        grid-template-columns: repeat(2,1fr);
      }
      .service-grid {
        grid-template-columns: 1fr;
      }
      .comparison-wrapper {
        flex-direction: column;
      }
      .vs-badge {
        margin: -20px 0;
      }
    }

    @media (max-width: 576px) {
      .hero-left h1 {
        font-size: 32px;
      }
      .btn-group-hero {
        flex-direction: column;
      }
      .mega-panel {
        width: 90vw;
        right: -10px;
      }
    }
