/* roulang page: index */
/* 设计变量 */
    :root {
      --primary: #1A3C6E;
      --primary-hover: #15325A;
      --accent: #C8A951;
      --accent-hover: #B8993A;
      --bg: #F7F9FC;
      --bg-dark: #0F2440;
      --card-bg: #FFFFFF;
      --text: #1A1A1A;
      --text-secondary: #5A6A7E;
      --text-on-dark: #FFFFFF;
      --success: #2E7D32;
      --border-light: rgba(26,60,110,0.06);
      --shadow-sm: 0 2px 12px rgba(26,60,110,0.06);
      --shadow-md: 0 8px 24px rgba(26,60,110,0.12);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 6px;
      --font-title: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      --font-body: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
      --font-number: 'DIN Alternate', 'PingFang SC', sans-serif;
      --max-width: 1200px;
      --section-gap: 120px;
      --card-gap: 24px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: var(--font-body);
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s ease;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 20px;
    }

    /* 按钮系统 */
    .btn {
      display: inline-block;
      font-weight: 600;
      border-radius: var(--radius-btn);
      padding: 14px 32px;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s ease;
      border: none;
      background: transparent;
      font-family: var(--font-body);
      font-size: 1rem;
      line-height: 1.2;
    }

    .btn-primary {
      background-color: var(--primary);
      color: white;
      box-shadow: 0 4px 12px rgba(26,60,110,0.2);
    }

    .btn-primary:hover {
      background-color: var(--primary-hover);
      box-shadow: 0 6px 18px rgba(26,60,110,0.3);
      transform: translateY(-1px);
    }

    .btn-outline {
      border: 2px solid var(--primary);
      color: var(--primary);
      background: transparent;
    }

    .btn-outline:hover {
      background-color: var(--primary);
      color: white;
    }

    .btn-accent {
      background-color: var(--accent);
      color: #1A1A1A;
      font-weight: 700;
      box-shadow: 0 4px 16px rgba(200,169,81,0.3);
    }

    .btn-accent:hover {
      background-color: var(--accent-hover);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(200,169,81,0.4);
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(12px);
      transition: box-shadow 0.3s ease, background 0.3s ease;
    }

    .header.scrolled {
      background: rgba(255,255,255,1);
      box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 16px 20px;
    }

    .logo {
      font-family: var(--font-title);
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo-icon {
      width: 32px;
      height: 32px;
      background: var(--accent);
      mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2L15 9H22L16 14L19 21L12 16.5L5 21L8 14L2 9H9L12 2Z"/></svg>') center/contain no-repeat;
      background-color: var(--accent);
      display: inline-block;
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      align-items: center;
      list-style: none;
    }

    .nav-links a {
      font-weight: 500;
      color: var(--text);
      padding: 4px 0;
      border-bottom: 2px solid transparent;
      transition: color 0.2s, border-color 0.2s;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
      border-bottom-color: var(--accent);
    }

    .menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.8rem;
      cursor: pointer;
      color: var(--primary);
    }

    @media (max-width: 1024px) {
      .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 2rem;
        box-shadow: -4px 0 30px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        align-items: flex-start;
      }
      .nav-links.active {
        right: 0;
      }
      .menu-toggle {
        display: block;
        z-index: 1100;
      }
      .nav .btn {
        display: none;
      }
      .nav-links .mobile-cta {
        display: block;
        margin-top: 20px;
      }
    }

    /* 板块间距 */
    section {
      padding: var(--section-gap) 0;
    }

    @media (max-width: 1024px) {
      section {
        padding: 80px 0;
      }
    }

    @media (max-width: 640px) {
      section {
        padding: 60px 0;
      }
      :root {
        --section-gap: 60px;
      }
    }

    /* Hero */
    .hero {
      padding-top: 140px;
      padding-bottom: 80px;
      background: linear-gradient(135deg, #F7F9FC 0%, #EDF2F8 100%);
    }

    .hero-grid {
      display: flex;
      align-items: center;
      gap: 48px;
    }

    .hero-content {
      flex: 1;
    }

    .hero-content h1 {
      font-family: var(--font-title);
      font-weight: 700;
      font-size: 3rem;
      color: var(--primary);
      line-height: 1.2;
      margin-bottom: 1.5rem;
    }

    .hero-content .subtitle {
      font-size: 1.25rem;
      color: var(--text-secondary);
      margin-bottom: 2rem;
      line-height: 1.7;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .hero-image {
      flex: 1;
      background: #E8EDF3;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: var(--shadow-md);
    }

    .hero-image img {
      width: 100%;
      height: auto;
      object-fit: cover;
      aspect-ratio: 4/3;
    }

    @media (max-width: 768px) {
      .hero-grid {
        flex-direction: column-reverse;
        text-align: center;
      }
      .hero-content h1 {
        font-size: 2.4rem;
      }
      .hero-buttons {
        justify-content: center;
      }
    }

    /* 指标看板 */
    .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: var(--card-gap);
      margin-top: -60px;
      position: relative;
      z-index: 2;
    }

    .stat-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 28px 20px;
      text-align: center;
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--border-light);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .stat-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-md);
    }

    .stat-icon {
      font-size: 2rem;
      color: var(--accent);
      margin-bottom: 12px;
    }

    .stat-number {
      font-family: var(--font-number);
      font-weight: 700;
      font-size: 2.8rem;
      color: var(--primary);
    }

    .stat-label {
      color: var(--text-secondary);
      font-size: 0.95rem;
      margin-top: 8px;
    }

    @media (max-width: 768px) {
      .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 40px;
      }
    }

    @media (max-width: 480px) {
      .dashboard-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 服务矩阵 */
    .section-title {
      font-family: var(--font-title);
      font-weight: 600;
      font-size: 2.2rem;
      color: var(--primary);
      margin-bottom: 1rem;
      text-align: center;
    }

    .section-sub {
      color: var(--text-secondary);
      text-align: center;
      max-width: 700px;
      margin: 0 auto 3rem;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--card-gap);
    }

    .service-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 32px 28px;
      border: 1px solid var(--border-light);
      box-shadow: var(--shadow-sm);
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
    }

    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }

    .service-icon {
      width: 56px;
      height: 56px;
      background: var(--primary);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 24px;
      margin-bottom: 20px;
      transition: background 0.3s;
    }

    .service-card:hover .service-icon {
      background: var(--accent);
    }

    .service-card h3 {
      font-family: var(--font-title);
      font-weight: 600;
      font-size: 1.3rem;
      margin-bottom: 12px;
    }

    .service-desc {
      color: var(--text-secondary);
      flex: 1;
      margin-bottom: 16px;
    }

    .service-link {
      font-weight: 600;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 4px;
      transition: gap 0.2s;
    }

    .service-card:hover .service-link {
      gap: 8px;
    }

    @media (max-width: 1024px) {
      .services-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 640px) {
      .services-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 结果对比 */
    .compare-block {
      display: flex;
      gap: 30px;
      align-items: center;
    }

    .compare-card {
      flex: 1;
      background: white;
      border-radius: var(--radius-card);
      padding: 32px;
      box-shadow: var(--shadow-sm);
    }

    .compare-before {
      background: #F4F6FA;
    }

    .compare-after {
      background: #EDF2FA;
      border-left: 4px solid var(--primary);
    }

    .compare-title {
      font-weight: 700;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .progress-item {
      margin: 16px 0;
    }

    .progress-bar {
      height: 8px;
      background: #ddd;
      border-radius: 4px;
      overflow: hidden;
      margin-top: 6px;
    }

    .progress-fill {
      height: 100%;
      background: var(--primary);
      width: 0%;
      transition: width 1s ease;
    }

    .before-fill {
      background: #9AA8B8;
    }

    @media (max-width: 768px) {
      .compare-block {
        flex-direction: column;
      }
    }

    /* 冠军路径 */
    .process-timeline {
      display: flex;
      justify-content: space-between;
      position: relative;
      margin-top: 40px;
    }

    .process-step {
      text-align: center;
      flex: 1;
      position: relative;
    }

    .step-number {
      width: 48px;
      height: 48px;
      background: var(--primary);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      margin: 0 auto 16px;
      position: relative;
      z-index: 2;
    }

    .process-step:not(:last-child)::after {
      content: '';
      position: absolute;
      top: 24px;
      left: 60%;
      width: 80%;
      height: 2px;
      background: dashed #C8A951;
      z-index: 1;
    }

    @media (max-width: 768px) {
      .process-timeline {
        flex-direction: column;
        gap: 32px;
      }
      .process-step:not(:last-child)::after {
        display: none;
      }
    }

    /* FAQ */
    .faq-item {
      background: white;
      border-radius: var(--radius-card);
      margin-bottom: 16px;
      box-shadow: var(--shadow-sm);
      overflow: hidden;
    }

    .faq-question {
      padding: 20px 28px;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      background: white;
      transition: background 0.2s;
    }

    .faq-answer {
      padding: 0 28px 20px;
      color: var(--text-secondary);
      display: none;
      background: #F7F9FC;
    }

    .faq-item.active .faq-answer {
      display: block;
    }

    /* CTA 深色块 */
    .cta-dark {
      background: var(--bg-dark);
      background-image: radial-gradient(circle at 20% 30%, rgba(200,169,81,0.1) 0%, transparent 40%);
      text-align: center;
      padding: 80px 20px;
      border-radius: 24px;
      color: white;
    }

    .cta-dark h2 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }

    /* 页脚 */
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      padding: 60px 0 40px;
    }

    .footer-brand p {
      color: var(--text-secondary);
      margin-top: 16px;
    }

    .footer-links h4 {
      margin-bottom: 16px;
      color: var(--primary);
    }

    .footer-links ul {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 10px;
    }

    .copyright {
      border-top: 1px solid var(--border-light);
      padding: 20px 0;
      text-align: center;
      color: var(--text-secondary);
      font-size: 0.9rem;
    }

    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }
