/* roulang page: index */
:root {
      --primary: #E53935;
      --primary-dark: #C62828;
      --secondary: #1A237E;
      --secondary-light: #283593;
      --accent: #FFC107;
      --accent-dark: #FFB300;
      --bg-light: #F5F5F5;
      --bg-white: #FFFFFF;
      --text-primary: #212121;
      --text-secondary: #616161;
      --text-on-dark: #FFFFFF;
      --text-on-dark-secondary: #B0BEC5;
      --border-light: #E0E0E0;
      --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
      --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
      --shadow-heavy: 0 12px 32px rgba(0, 0, 0, 0.15);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 6px;
      --font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
      --max-width: 1280px;
      --section-padding: 80px 24px;
      --transition-base: 0.25s ease;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-family);
      background-color: var(--bg-light);
      color: var(--text-primary);
      line-height: 1.7;
      font-size: 16px;
      overflow-x: hidden;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button, input, select {
      font-family: inherit;
      outline: none;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
      transition: background var(--transition-base);
    }
    .header.scrolled {
      background: rgba(255, 255, 255, 0.98);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    }
    .nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 72px;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }
    .logo {
      font-size: 28px;
      font-weight: 800;
      color: var(--secondary);
      letter-spacing: -0.5px;
    }
    .logo span {
      color: var(--primary);
    }
    .nav-links {
      display: flex;
      list-style: none;
      gap: 28px;
    }
    .nav-links a {
      font-weight: 500;
      color: var(--text-primary);
      padding: 8px 0;
      position: relative;
      transition: color var(--transition-base);
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 3px;
      background: var(--accent);
      transition: width var(--transition-base);
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
    }
    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
    }
    .hamburger span {
      width: 26px;
      height: 3px;
      background: var(--secondary);
      border-radius: 2px;
      transition: var(--transition-base);
    }
    /* 移动端菜单 */
    .mobile-menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 280px;
      height: 100vh;
      background: var(--bg-white);
      box-shadow: -4px 0 20px rgba(0,0,0,0.1);
      padding: 80px 24px 24px;
      transition: right 0.3s ease;
      z-index: 999;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .mobile-menu.open {
      right: 0;
    }
    .mobile-menu a {
      font-size: 18px;
      font-weight: 600;
      color: var(--text-primary);
      padding: 8px 0;
      border-bottom: 1px solid var(--border-light);
    }
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      z-index: 998;
      display: none;
    }
    .overlay.show {
      display: block;
    }

    /* Hero */
    .hero {
      min-height: 90vh;
      display: flex;
      align-items: center;
      background: linear-gradient(135deg, rgba(26,35,126,0.88) 0%, rgba(229,57,53,0.75) 100%), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      color: var(--text-on-dark);
      position: relative;
      margin-top: 72px;
    }
    .hero-content {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 40px;
    }
    .hero-text {
      flex: 1 1 500px;
    }
    .hero h1 {
      font-size: 48px;
      font-weight: 800;
      letter-spacing: -0.5px;
      line-height: 1.2;
      margin-bottom: 20px;
    }
    .hero .subtitle {
      font-size: 20px;
      color: rgba(255,255,255,0.9);
      margin-bottom: 32px;
      max-width: 500px;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .btn {
      display: inline-block;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 700;
      font-size: 18px;
      letter-spacing: 1px;
      transition: all var(--transition-base);
      text-align: center;
      cursor: pointer;
      border: none;
    }
    .btn-primary {
      background: var(--accent);
      color: var(--secondary);
      box-shadow: 0 4px 12px rgba(255,193,7,0.3);
    }
    .btn-primary:hover {
      background: var(--accent-dark);
      transform: translateY(-2px);
      box-shadow: 0 8px 18px rgba(255,179,0,0.4);
    }
    .btn-outline {
      background: transparent;
      border: 2px solid white;
      color: white;
    }
    .btn-outline:hover {
      background: white;
      color: var(--secondary);
      transform: translateY(-2px);
    }
    .data-board {
      flex: 1 1 400px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
      background: rgba(255,255,255,0.12);
      backdrop-filter: blur(8px);
      padding: 28px;
      border-radius: 20px;
      border: 1px solid rgba(255,255,255,0.2);
    }
    .data-item .number {
      font-size: 42px;
      font-weight: 900;
      letter-spacing: -1px;
      color: var(--accent);
      line-height: 1.1;
    }
    .data-item .label {
      color: rgba(255,255,255,0.8);
      font-size: 16px;
      margin-top: 4px;
    }

    /* 通用板块 */
    section {
      padding: var(--section-padding);
    }
    .section-title {
      text-align: center;
      margin-bottom: 48px;
    }
    .section-title h2 {
      font-size: 36px;
      font-weight: 700;
      color: var(--secondary);
    }
    .section-title p {
      color: var(--text-secondary);
      margin-top: 12px;
    }

    /* 服务卡片 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 28px;
    }
    .service-card {
      background: var(--bg-white);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      overflow: hidden;
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
    }
    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-card-hover);
    }
    .card-img {
      height: 180px;
      object-fit: cover;
      width: 100%;
    }
    .card-body {
      padding: 24px;
    }
    .card-body h3 {
      font-size: 22px;
      font-weight: 600;
      margin-bottom: 10px;
    }
    .card-body p {
      color: var(--text-secondary);
      margin-bottom: 16px;
    }
    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .tag {
      background: rgba(26,35,126,0.08);
      color: var(--secondary);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 13px;
      font-weight: 500;
    }

    /* 对比区 */
    .comparison {
      background: var(--bg-white);
    }
    .compare-wrapper {
      display: flex;
      gap: 40px;
      align-items: center;
      flex-wrap: wrap;
    }
    .compare-col {
      flex: 1 1 300px;
      background: #F9F9F9;
      border-radius: 16px;
      padding: 32px;
    }
    .compare-col.mk {
      background: #FFEBEE;
      border: 2px solid var(--primary);
    }
    .compare-col h3 {
      font-size: 24px;
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .compare-item {
      display: flex;
      justify-content: space-between;
      margin-bottom: 20px;
      font-weight: 500;
    }
    .highlight {
      color: var(--primary);
      font-weight: 800;
    }
    .vs-badge {
      font-size: 28px;
      font-weight: 800;
      color: var(--secondary);
      background: var(--accent);
      width: 60px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
    }

    /* FAQ */
    .faq-section {
      background: var(--secondary);
      color: white;
    }
    .faq-section .section-title h2 {
      color: white;
    }
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }
    .faq-item {
      background: white;
      border-radius: var(--radius-btn);
      margin-bottom: 16px;
      overflow: hidden;
    }
    .faq-question {
      padding: 18px 24px;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      color: var(--text-primary);
      background: white;
      border: none;
      width: 100%;
      text-align: left;
      font-size: 18px;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      background: #F5F5F5;
      color: #424242;
      padding: 0 24px;
    }
    .faq-item.open .faq-answer {
      max-height: 200px;
      padding: 16px 24px;
    }
    .faq-icon {
      transition: transform 0.3s;
    }
    .faq-item.open .faq-icon {
      transform: rotate(45deg);
    }

    /* CTA 表单 */
    .cta-section {
      background: var(--secondary);
    }
    .cta-card {
      background: white;
      border-radius: 20px;
      padding: 48px;
      max-width: 600px;
      margin: 0 auto;
      box-shadow: var(--shadow-heavy);
      text-align: center;
    }
    .cta-card h2 {
      color: var(--secondary);
      margin-bottom: 12px;
    }
    .form-group {
      margin-bottom: 20px;
      text-align: left;
    }
    input, select {
      width: 100%;
      padding: 14px 16px;
      border: 1px solid var(--border-light);
      border-radius: var(--radius-input);
      font-size: 16px;
      transition: 0.2s;
    }
    input:focus, select:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(255,193,7,0.2);
    }
    .btn-submit {
      width: 100%;
      background: var(--accent);
      color: var(--secondary);
      padding: 16px;
      font-weight: 700;
      border: none;
      border-radius: var(--radius-btn);
      cursor: pointer;
      font-size: 18px;
      transition: 0.25s;
    }
    .btn-submit:hover {
      background: var(--accent-dark);
      transform: translateY(-2px);
    }

    /* Footer */
    .footer {
      background: #0D1642;
      color: white;
      padding: 60px 24px 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 40px;
      max-width: var(--max-width);
      margin: 0 auto;
    }
    .footer-col h4 {
      margin-bottom: 16px;
    }
    .footer-links a {
      display: block;
      color: #B0BEC5;
      margin-bottom: 8px;
    }
    .copyright {
      text-align: center;
      margin-top: 40px;
      color: #B0BEC5;
    }

    @media (max-width: 1024px) {
      .hero h1 { font-size: 40px; }
    }
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .hero {
        min-height: 70vh;
      }
      .hero h1 { font-size: 32px; }
      .data-board { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .section-title h2 { font-size: 26px; }
    }
