/* roulang page: index */
:root {
      --primary: #E43D2A;
      --primary-hover: #C8321F;
      --secondary: #1A1F36;
      --accent: #F5A623;
      --bg: #F8F9FC;
      --card-bg: #FFFFFF;
      --text-primary: #1A1F36;
      --text-secondary: #5C6178;
      --text-on-dark: #FFFFFF;
      --border-light: #E8EBF2;
      --shadow-sm: 0 2px 12px rgba(26, 31, 54, 0.06);
      --shadow-md: 0 8px 30px rgba(26, 31, 54, 0.12);
      --shadow-nav: 0 1px 8px rgba(26, 31, 54, 0.04);
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 20px;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Inter", sans-serif;
      --max-width: 1200px;
      --nav-height: 72px;
      --transition: 0.3s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg);
      color: var(--text-primary);
      line-height: 1.7;
      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;
    }

    h1 {
      font-size: 44px;
      line-height: 1.2;
      font-weight: 800;
      letter-spacing: -0.5px;
    }

    h2 {
      font-size: 32px;
      line-height: 1.3;
      margin-bottom: 16px;
      position: relative;
      display: inline-block;
    }

    h2::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -8px;
      width: 48px;
      height: 4px;
      background: var(--primary);
      border-radius: 2px;
    }

    .text-center h2::after {
      left: 50%;
      transform: translateX(-50%);
    }

    h3 {
      font-size: 20px;
      line-height: 1.4;
      font-weight: 600;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, input {
      font-family: var(--font-sans);
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--nav-height);
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(12px);
      box-shadow: var(--shadow-nav);
      z-index: 1000;
      display: flex;
      align-items: center;
      transition: box-shadow 0.3s;
    }

    .header.scrolled {
      box-shadow: 0 4px 20px rgba(26, 31, 54, 0.1);
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    .logo {
      font-size: 28px;
      font-weight: 800;
      color: var(--primary);
      letter-spacing: -0.5px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .logo-icon {
      width: 32px;
      height: 32px;
      background: var(--primary);
      mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2"><path d="M12 2L2 22h20L12 2z" /></svg>') center/contain no-repeat;
      -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2"><path d="M12 2L2 22h20L12 2z" /></svg>') center/contain no-repeat;
      background: var(--primary);
      display: inline-block;
    }

    .nav-menu {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }

    .nav-menu a {
      font-weight: 500;
      color: var(--text-primary);
      padding: 8px 0;
      position: relative;
      transition: color 0.2s;
      font-size: 15px;
    }

    .nav-menu a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 3px;
      background: var(--primary);
      border-radius: 3px;
      transition: width 0.2s;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
      color: var(--primary);
    }

    .nav-menu a:hover::after,
    .nav-menu a.active::after {
      width: 100%;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: transparent;
      border: none;
      padding: 4px;
    }

    .hamburger span {
      width: 24px;
      height: 2px;
      background: var(--text-primary);
      border-radius: 2px;
      transition: 0.3s;
    }

    /* 按钮 */
    .btn {
      display: inline-block;
      padding: 14px 32px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 15px;
      transition: all 0.3s;
      text-align: center;
      cursor: pointer;
      border: 2px solid transparent;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }

    .btn-primary:hover {
      background: var(--primary-hover);
      border-color: var(--primary-hover);
      box-shadow: 0 8px 18px rgba(228, 61, 42, 0.25);
      transform: translateY(-1px);
    }

    .btn-outline {
      background: transparent;
      color: var(--primary);
      border-color: var(--primary);
    }

    .btn-outline:hover {
      background: var(--primary);
      color: white;
      transform: translateY(-1px);
    }

    /* Hero */
    .hero {
      padding: 160px 0 100px;
      background-color: var(--bg);
      background-image: radial-gradient(circle at 20% 30%, rgba(228, 61, 42, 0.02) 0%, transparent 50%);
      position: relative;
      overflow: hidden;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }

    .hero-left h1 {
      margin-bottom: 20px;
      color: var(--text-primary);
    }

    .hero-sub {
      font-size: 18px;
      color: var(--text-secondary);
      margin-bottom: 32px;
      line-height: 1.6;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .hero-right {
      background: var(--secondary);
      border-radius: var(--radius-lg);
      padding: 24px;
      box-shadow: var(--shadow-md);
      position: relative;
      color: white;
      min-height: 320px;
      display: flex;
      flex-direction: column;
    }

    .live-badge {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: #9CA3AF;
      margin-bottom: 20px;
    }

    .live-dot {
      width: 10px;
      height: 10px;
      background: #2ECC71;
      border-radius: 50%;
      animation: pulse 1.5s infinite;
    }

    @keyframes pulse {
      0% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.6; transform: scale(1.2); }
      100% { opacity: 1; transform: scale(1); }
    }

    .mock-chart {
      flex: 1;
      background: rgba(255,255,255,0.05);
      border-radius: var(--radius-md);
      display: flex;
      align-items: flex-end;
      justify-content: space-around;
      padding: 16px 8px;
      gap: 8px;
    }

    .bar {
      width: 18%;
      background: var(--primary);
      border-radius: 6px 6px 0 0;
      transition: height 0.3s;
      opacity: 0.9;
    }

    .mock-numbers {
      display: flex;
      justify-content: space-between;
      margin-top: 16px;
      font-family: 'Inter', sans-serif;
      font-weight: 700;
      font-size: 18px;
    }

    /* 板块通用 */
    .section {
      padding: 90px 0;
    }

    .section-header {
      margin-bottom: 48px;
    }

    .text-center {
      text-align: center;
    }

    /* 指标看板 */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .stat-card {
      background: var(--card-bg);
      border-radius: var(--radius-md);
      padding: 28px 20px;
      box-shadow: var(--shadow-sm);
      text-align: center;
      border-top: 4px solid var(--primary);
      transition: var(--transition);
    }

    .stat-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }

    .stat-number {
      font-size: 48px;
      font-weight: 800;
      color: var(--accent);
      font-family: 'Inter', sans-serif;
      line-height: 1.1;
      margin: 12px 0;
    }

    .stat-label {
      font-size: 13px;
      color: var(--text-secondary);
      font-weight: 500;
    }

    /* 服务网格 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .service-card {
      background: var(--card-bg);
      border-radius: var(--radius-md);
      padding: 32px;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-md);
    }

    .service-icon {
      width: 56px;
      height: 56px;
      background: rgba(228, 61, 42, 0.08);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      color: var(--primary);
      font-size: 28px;
    }

    .service-card h3 {
      margin-bottom: 12px;
    }

    .service-desc {
      color: var(--text-secondary);
      font-size: 14px;
      margin-bottom: 20px;
      flex: 1;
    }

    .service-link {
      color: var(--primary);
      font-weight: 600;
      font-size: 14px;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: gap 0.2s;
    }

    .service-link:hover {
      gap: 10px;
    }

    /* 对比 */
    .compare-wrapper {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      display: grid;
      grid-template-columns: 1fr 1fr;
    }

    .compare-col {
      padding: 40px;
    }

    .compare-old {
      background: #F9FAFB;
      border-right: 1px solid var(--border-light);
    }

    .compare-new {
      background: rgba(228, 61, 42, 0.02);
    }

    .compare-title {
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 28px;
    }

    .compare-list {
      list-style: none;
    }

    .compare-list li {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 18px;
      font-size: 15px;
    }

    .check {
      color: var(--accent);
      font-weight: 700;
      font-size: 18px;
    }

    .cross {
      color: #9CA3AF;
      font-weight: 700;
      font-size: 18px;
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }

    .faq-item {
      border-bottom: 1px solid var(--border-light);
    }

    .faq-question {
      width: 100%;
      background: transparent;
      border: none;
      padding: 24px 8px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      font-size: 18px;
      cursor: pointer;
      color: var(--text-primary);
      text-align: left;
    }

    .faq-icon {
      font-size: 24px;
      transition: transform 0.3s;
      color: var(--primary);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      padding: 0 8px;
      color: var(--text-secondary);
    }

    .faq-item.active .faq-answer {
      max-height: 200px;
      padding-bottom: 24px;
    }

    .faq-item.active .faq-icon {
      transform: rotate(45deg);
    }

    /* CTA */
    .cta-block {
      background: var(--secondary);
      padding: 80px 0;
      text-align: center;
      color: white;
    }

    .cta-block h2 {
      color: white;
      font-size: 36px;
    }

    .cta-block h2::after {
      background: var(--accent);
      left: 50%;
      transform: translateX(-50%);
    }

    .cta-sub {
      color: #CBD5E1;
      margin: 20px 0 32px;
      font-size: 16px;
    }

    .cta-form {
      display: flex;
      max-width: 480px;
      margin: 0 auto;
      gap: 12px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .cta-form input {
      flex: 1;
      padding: 14px 18px;
      border-radius: var(--radius-sm);
      border: none;
      font-size: 15px;
      min-width: 220px;
    }

    .cta-form .btn {
      white-space: nowrap;
    }

    /* 页脚 */
    .footer {
      background: #141824;
      color: #CBD5E1;
      padding: 60px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 40px;
    }

    .footer-logo {
      font-size: 24px;
      font-weight: 800;
      color: white;
      margin-bottom: 12px;
    }

    .footer-desc {
      font-size: 14px;
      margin-bottom: 20px;
    }

    .footer h4 {
      color: white;
      margin-bottom: 20px;
      font-size: 16px;
    }

    .footer ul {
      list-style: none;
    }

    .footer li {
      margin-bottom: 12px;
    }

    .footer a {
      color: #CBD5E1;
      font-size: 14px;
      transition: color 0.2s;
    }

    .footer a:hover {
      color: var(--primary);
    }

    .copyright {
      border-top: 1px solid rgba(255,255,255,0.1);
      margin-top: 40px;
      padding-top: 24px;
      text-align: center;
      font-size: 13px;
      color: #9CA3AF;
    }

    /* 响应式 */
    @media (max-width: 1024px) {
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      .services-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      h1 {
        font-size: 32px;
      }
      h2 {
        font-size: 26px;
      }
      .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        transform: translateY(-150%);
        transition: transform 0.3s;
        z-index: 999;
      }
      .nav-menu.open {
        transform: translateY(0);
      }
      .hamburger {
        display: flex;
      }
      .services-grid {
        grid-template-columns: 1fr;
      }
      .compare-wrapper {
        grid-template-columns: 1fr;
      }
      .stats-grid {
        grid-template-columns: 1fr 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
      .hero {
        padding: 120px 0 60px;
      }
    }

    @media (max-width: 520px) {
      .stats-grid {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .cta-form {
        flex-direction: column;
      }
    }
