/* roulang page: index */
:root {
      --primary-deep: #1A1D23;
      --accent-orange: #F15A24;
      --accent-orange-hover: #D94A1A;
      --bg-warm: #F7F5F2;
      --card-white: #FFFFFF;
      --text-heading: #111111;
      --text-body: #444444;
      --text-muted: #777777;
      --border-light: rgba(255,255,255,0.08);
      --shadow-sm: 0 2px 12px rgba(0,0,0,0.04);
      --shadow-hover: 0 8px 24px rgba(0,0,0,0.08);
      --radius-card: 12px;
      --radius-btn: 8px;
      --nav-width: 220px;
      --transition-smooth: 0.25s ease-out;
      --font-system: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
      --font-number: "Inter", -apple-system, sans-serif;
    }
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    body {
      font-family: var(--font-system);
      background-color: var(--bg-warm);
      color: var(--text-body);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      display: flex;
      min-height: 100vh;
      flex-direction: column;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    button, input, textarea {
      font-family: inherit;
    }
    .main-content {
      margin-left: var(--nav-width);
      flex: 1;
      background: var(--bg-warm);
      width: calc(100% - var(--nav-width));
      transition: margin-left 0.3s;
    }
    /* 左侧竖向导航 */
    .side-nav {
      position: fixed;
      left: 0;
      top: 0;
      width: var(--nav-width);
      height: 100vh;
      background: var(--primary-deep);
      display: flex;
      flex-direction: column;
      z-index: 40;
      box-shadow: 2px 0 12px rgba(0,0,0,0.06);
      padding: 2rem 1.5rem;
    }
    .nav-brand {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 3rem;
      color: white;
    }
    .brand-logo {
      font-size: 2rem;
      color: var(--accent-orange);
      filter: drop-shadow(0 2px 4px rgba(241,90,36,0.5));
    }
    .brand-name {
      font-size: 1.5rem;
      font-weight: 700;
      letter-spacing: 0.5px;
      color: white;
      font-family: var(--font-number);
    }
    .nav-menu {
      list-style: none;
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
    .nav-item a {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      color: rgba(255,255,255,0.7);
      padding: 0.7rem 0.8rem;
      border-radius: 6px;
      font-weight: 500;
      transition: all 0.2s ease;
      border-left: 3px solid transparent;
    }
    .nav-item a:hover,
    .nav-item a.active {
      color: white;
      background: rgba(255,255,255,0.05);
      border-left-color: var(--accent-orange);
    }
    .nav-item a i {
      width: 20px;
      text-align: center;
      font-size: 1rem;
    }
    .nav-footer {
      margin-top: auto;
      font-size: 0.8rem;
      color: rgba(255,255,255,0.5);
      border-top: 1px solid var(--border-light);
      padding-top: 1.5rem;
    }
    /* 移动端顶部导航 */
    .mobile-header {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 56px;
      background: var(--primary-deep);
      z-index: 50;
      align-items: center;
      justify-content: space-between;
      padding: 0 1.25rem;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .mobile-brand {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: white;
      font-weight: 700;
      font-size: 1.2rem;
    }
    .hamburger {
      font-size: 1.5rem;
      color: white;
      background: none;
      border: none;
      cursor: pointer;
    }
    .mobile-menu-panel {
      position: fixed;
      top: 56px;
      left: 0;
      width: 100%;
      background: var(--primary-deep);
      flex-direction: column;
      padding: 1.5rem;
      display: none;
      z-index: 45;
      box-shadow: 0 8px 20px rgba(0,0,0,0.2);
      animation: fadeDown 0.2s ease;
    }
    .mobile-menu-panel.open {
      display: flex;
    }
    .mobile-menu-panel a {
      color: rgba(255,255,255,0.8);
      padding: 0.8rem 0;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      font-weight: 500;
    }
    .mobile-menu-panel a:hover {
      color: var(--accent-orange);
    }
    @keyframes fadeDown {
      from { opacity: 0; transform: translateY(-10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    /* 容器与板块 */
    .section {
      padding: 80px 0;
    }
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
    }
    .section-title {
      font-size: 2rem;
      font-weight: 600;
      color: var(--text-heading);
      margin-bottom: 1rem;
      letter-spacing: -0.3px;
    }
    .section-desc {
      color: var(--text-muted);
      font-size: 1.1rem;
    }
    /* Hero */
    .hero {
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      color: white;
    }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(26,29,35,0.75) 0%, rgba(26,29,35,0.9) 100%);
    }
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 700px;
    }
    .hero h1 {
      font-size: 3.25rem;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 1.5rem;
      letter-spacing: -0.5px;
      color: white;
    }
    .hero h2 {
      font-size: 1.8rem;
      font-weight: 400;
      margin-bottom: 1.5rem;
      opacity: 0.9;
    }
    .hero p {
      font-size: 1.15rem;
      opacity: 0.85;
      max-width: 560px;
      margin-bottom: 2rem;
    }
    .hero-stats {
      display: flex;
      gap: 2.5rem;
      margin: 2rem 0 2.5rem;
      flex-wrap: wrap;
    }
    .stat-item {
      display: flex;
      flex-direction: column;
    }
    .stat-number {
      font-family: var(--font-number);
      font-weight: 700;
      font-size: 2.5rem;
      color: var(--accent-orange);
      line-height: 1.2;
    }
    .stat-label {
      font-size: 0.9rem;
      opacity: 0.8;
    }
    .btn-group {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: var(--accent-orange);
      color: white;
      padding: 0.9rem 2rem;
      border-radius: var(--radius-btn);
      font-weight: 600;
      border: none;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: all 0.2s;
      box-shadow: 0 4px 12px rgba(241,90,36,0.3);
    }
    .btn-primary:hover {
      background: var(--accent-orange-hover);
      transform: translateY(-2px);
      box-shadow: 0 0 18px rgba(241,90,36,0.5);
      color: white;
    }
    .btn-outline {
      background: transparent;
      border: 2px solid white;
      color: white;
      padding: 0.85rem 2rem;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: 0.2s;
    }
    .btn-outline:hover {
      background: white;
      color: var(--primary-deep);
    }
    /* 指标卡片 */
    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4,1fr);
      gap: 24px;
    }
    .metric-card {
      background: var(--card-white);
      padding: 1.8rem;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-sm);
      transition: var(--transition-smooth);
      display: flex;
      flex-direction: column;
    }
    .metric-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
    .metric-value {
      font-family: var(--font-number);
      font-size: 2.8rem;
      font-weight: 700;
      color: var(--accent-orange);
      line-height: 1.2;
    }
    .metric-label {
      font-weight: 500;
      margin-top: 0.5rem;
      color: var(--text-heading);
    }
    /* 服务矩阵 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 24px;
    }
    .service-card {
      background: var(--card-white);
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: var(--transition-smooth);
      display: flex;
      flex-direction: column;
    }
    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }
    .service-img {
      height: 180px;
      object-fit: cover;
      transition: transform 0.3s;
    }
    .service-card:hover .service-img {
      transform: scale(1.03);
    }
    .service-body {
      padding: 1.5rem;
    }
    .service-body h3 {
      font-weight: 600;
      font-size: 1.3rem;
      margin-bottom: 0.5rem;
    }
    .service-link {
      color: var(--accent-orange);
      font-weight: 600;
      margin-top: 0.8rem;
      display: inline-block;
    }
    /* 对比区 */
    .comparison-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      background: #EBE9E5;
      border-radius: var(--radius-card);
      padding: 2rem;
    }
    .compare-card {
      background: white;
      border-radius: var(--radius-card);
      padding: 2rem;
      box-shadow: var(--shadow-sm);
    }
    .compare-card.opponent {
      background: #f2f0ec;
      color: #555;
    }
    .compare-card h3 {
      font-weight: 700;
      margin-bottom: 1.5rem;
    }
    .compare-list {
      list-style: none;
    }
    .compare-list li {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      margin-bottom: 1rem;
      font-weight: 500;
    }
    .highlight-diff {
      margin-top: 1.8rem;
      font-family: var(--font-number);
      font-weight: 700;
      font-size: 1.8rem;
      color: var(--accent-orange);
    }
    /* FAQ */
    .accordion-item {
      margin-bottom: 0.75rem;
      border-radius: 8px;
      overflow: hidden;
      background: white;
      box-shadow: 0 1px 6px rgba(0,0,0,0.02);
    }
    .accordion-title {
      background: white;
      padding: 1rem 1.5rem;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-left: 3px solid transparent;
      transition: background 0.2s;
    }
    .accordion-title:hover {
      background: #FDF8F5;
    }
    .accordion-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease;
      background: #FAFAF8;
      padding: 0 1.5rem;
    }
    .accordion-content p {
      padding: 1rem 0;
      margin: 0;
    }
    .active-acc .accordion-title {
      border-left-color: var(--accent-orange);
      color: var(--accent-orange);
    }
    /* CTA 表单 */
    .cta-section {
      background: var(--primary-deep);
      color: white;
    }
    .cta-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }
    .cta-form input, .cta-form textarea {
      width: 100%;
      padding: 0.8rem;
      border-radius: 6px;
      border: 1px solid #ddd;
      margin-bottom: 1rem;
      background: white;
    }
    .submit-btn {
      background: var(--accent-orange);
      border: none;
      color: white;
      font-weight: 700;
      padding: 0.9rem;
      width: 100%;
      border-radius: var(--radius-btn);
      transition: 0.2s;
      cursor: pointer;
    }
    .submit-btn:hover {
      background: #D94A1A;
      box-shadow: 0 0 16px rgba(241,90,36,0.6);
    }
    .privacy-note {
      font-size: 0.75rem;
      opacity: 0.7;
      margin-top: 0.5rem;
    }
    /* footer */
    .footer {
      background: #14161A;
      color: rgba(255,255,255,0.7);
      padding: 3rem 0 1.5rem;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: repeat(4,1fr);
      gap: 2rem;
    }
    .footer a {
      color: rgba(255,255,255,0.6);
    }
    .footer a:hover {
      color: var(--accent-orange);
    }
    .copyright {
      border-top: 1px solid rgba(255,255,255,0.08);
      margin-top: 2rem;
      padding-top: 1.5rem;
      text-align: center;
      font-size: 0.85rem;
    }
    @media (max-width: 1023px) {
      .side-nav {
        display: none;
      }
      .mobile-header {
        display: flex;
      }
      .main-content {
        margin-left: 0;
        width: 100%;
        padding-top: 56px;
      }
      .metrics-grid { grid-template-columns: repeat(2,1fr); }
      .services-grid { grid-template-columns: repeat(2,1fr); }
      .comparison-wrapper { grid-template-columns: 1fr; }
      .cta-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: repeat(2,1fr); }
      .hero h1 { font-size: 2.5rem; }
    }
    @media (max-width: 767px) {
      .metrics-grid,
      .services-grid,
      .footer-grid { grid-template-columns: 1fr; }
      .hero-stats { flex-direction: column; gap: 1rem; }
      .btn-group { flex-direction: column; }
      .container { padding: 0 1.2rem; }
      .section { padding: 60px 0; }
    }
