/* roulang page: index */
:root {
      --deep-black: #0A0E17;
      --competition-red: #E43D2A;
      --competition-red-hover: #C0321F;
      --text-white: #F5F5F7;
      --text-dark: #1C1C1E;
      --text-gray: #6C6C74;
      --bg-light: #F8F8FA;
      --bg-extra-light: #F0F0F2;
      --card-white: #FFFFFF;
      --accent-green: #00C897;
      --border-light: rgba(255,255,255,0.08);
      --border-gray: #D9D9DE;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
      --shadow-md: 0 10px 25px rgba(0,0,0,0.1);
      --radius-sm: 4px;
      --radius-md: 8px;
      --transition-smooth: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
      --transition-fast: 0.25s ease;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
      --font-mono: "Inter", "SF Pro Display", system-ui;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--deep-black);
      color: var(--text-dark);
      line-height: 1.7;
      font-size: 15px;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 64px;
      background: rgba(10,14,23,0.92);
      backdrop-filter: blur(10px);
      z-index: 100;
      border-bottom: 1px solid var(--border-light);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      max-width: 1200px;
      padding: 0 24px;
    }

    .logo {
      font-size: 22px;
      font-weight: 700;
      color: var(--text-white);
      letter-spacing: 0.5px;
      white-space: nowrap;
    }
    .logo span {
      color: var(--competition-red);
    }

    .nav-left, .nav-right {
      display: flex;
      gap: 28px;
    }
    .nav-link {
      color: #B0B0B8;
      text-decoration: none;
      font-size: 15px;
      font-weight: 500;
      position: relative;
      padding: 8px 0;
      transition: color 0.2s;
    }
    .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 2px;
      background: var(--competition-red);
      transition: width 0.25s ease;
    }
    .nav-link:hover {
      color: #FFFFFF;
    }
    .nav-link:hover::after {
      width: 100%;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: transparent;
      border: none;
      padding: 8px;
    }
    .hamburger span {
      width: 24px;
      height: 2px;
      background: #fff;
      border-radius: 2px;
      transition: 0.3s;
    }

    .mobile-menu {
      position: fixed;
      top: 64px;
      left: 0;
      width: 100%;
      background: rgba(10,14,23,0.98);
      backdrop-filter: blur(20px);
      flex-direction: column;
      padding: 32px 24px;
      gap: 24px;
      display: none;
      z-index: 99;
    }
    .mobile-menu.active {
      display: flex;
    }
    .mobile-menu .nav-link {
      font-size: 20px;
      color: #ddd;
    }

    /* 通用区块 */
    section {
      padding: 80px 0;
    }
    @media (max-width: 640px) {
      section {
        padding: 48px 0;
      }
    }

    h2 {
      font-size: 32px;
      font-weight: 600;
      color: var(--text-dark);
      margin-bottom: 40px;
      letter-spacing: -0.5px;
    }
    h3 {
      font-size: 20px;
      font-weight: 600;
      color: var(--text-dark);
    }

    /* 按钮 */
    .btn-primary {
      background: var(--competition-red);
      color: white;
      border: none;
      padding: 14px 32px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      display: inline-block;
      text-decoration: none;
      transition: var(--transition-fast);
      box-shadow: 0 4px 10px rgba(228,61,42,0.3);
    }
    .btn-primary:hover {
      background: var(--competition-red-hover);
      transform: scale(1.03);
      box-shadow: 0 8px 20px rgba(228,61,42,0.4);
      color: white;
    }
    .btn-outline {
      background: transparent;
      border: 2px solid var(--competition-red);
      color: var(--competition-red);
      padding: 12px 32px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      text-decoration: none;
      transition: var(--transition-fast);
    }
    .btn-outline:hover {
      background: var(--competition-red);
      color: white;
    }
    .btn-submit {
      background: var(--deep-black);
      color: white;
      border: none;
      padding: 16px 32px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      width: 100%;
      transition: var(--transition-fast);
      cursor: pointer;
    }
    .btn-submit:hover {
      background: var(--competition-red);
    }

    /* Hero */
    #hero {
      background: var(--deep-black);
      color: white;
      padding: 120px 0 80px;
      position: relative;
      overflow: hidden;
    }
    .hero-grid {
      display: flex;
      align-items: center;
      gap: 48px;
    }
    .hero-left {
      flex: 1;
      z-index: 2;
    }
    .hero-right {
      flex: 1;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      min-height: 420px;
      border-radius: var(--radius-md);
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .hero-right::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(10,14,23,0.75);
      backdrop-filter: blur(4px);
    }
    .data-panel {
      position: relative;
      z-index: 2;
      background: rgba(10,14,23,0.8);
      backdrop-filter: blur(8px);
      padding: 28px;
      border-radius: var(--radius-md);
      border: 1px solid rgba(255,255,255,0.15);
      color: white;
    }
    .data-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 12px;
      font-family: var(--font-mono);
    }
    .data-value {
      color: var(--accent-green);
      font-weight: 700;
    }

    h1 {
      font-size: 48px;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 24px;
    }
    .typewriter {
      color: var(--competition-red);
      font-family: var(--font-mono);
      font-size: 20px;
      margin-bottom: 32px;
      min-height: 30px;
    }

    /* metrics */
    #metrics {
      background: var(--bg-extra-light);
      background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
      background-size: 40px 40px;
    }
    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      border-left: 1px solid var(--border-gray);
    }
    .metric-item {
      padding: 32px 16px;
      text-align: center;
      border-right: 1px solid var(--border-gray);
    }
    .metric-number {
      font-size: 40px;
      font-weight: 700;
      font-family: var(--font-mono);
      color: var(--deep-black);
      margin-bottom: 8px;
    }
    .metric-label {
      font-size: 14px;
      color: var(--text-gray);
    }

    /* services 非均匀网格 */
    .services-layout {
      display: flex;
      gap: 32px;
      align-items: stretch;
    }
    .service-large {
      flex: 0 0 60%;
      background: white;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      transition: var(--transition-smooth);
      display: flex;
      flex-direction: column;
    }
    .service-large:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
      border-left: 3px solid var(--competition-red);
    }
    .service-img {
      height: 200px;
      background: url('/assets/images/coverpic/cover-1.webp') center/cover;
      position: relative;
    }
    .service-content {
      padding: 28px;
    }
    .service-list {
      list-style: none;
      margin: 16px 0;
    }
    .service-list li::before {
      content: "✓";
      color: var(--accent-green);
      margin-right: 8px;
      font-weight: bold;
    }
    .service-small-col {
      flex: 0 0 40%;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .service-small {
      background: white;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-sm);
      padding: 28px;
      transition: var(--transition-smooth);
    }
    .service-small:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
      border-left: 3px solid var(--competition-red);
    }

    /* compare */
    #compare {
      background: var(--bg-light);
    }
    .compare-wrapper {
      display: flex;
      position: relative;
    }
    .compare-col {
      flex: 1;
      padding: 32px;
    }
    .compare-divider {
      width: 2px;
      background: linear-gradient(to bottom, var(--competition-red), transparent);
      margin: 0 16px;
    }
    .compare-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin: 20px 0;
    }
    .bar {
      height: 8px;
      border-radius: 4px;
      background: #ddd;
      width: 120px;
      margin-left: 12px;
    }
    .bar-left {
      background: #aaa;
      width: 40%;
    }
    .bar-right {
      background: var(--deep-black);
      width: 90%;
    }
    .old-data {
      color: #999;
      text-decoration: line-through;
    }

    /* FAQ */
    #faq {
      background: white;
    }
    .faq-list {
      max-width: 720px;
      margin: 0 auto;
    }
    details {
      background: white;
      box-shadow: var(--shadow-sm);
      border-radius: var(--radius-md);
      margin-bottom: 16px;
      padding: 20px 28px;
      transition: 0.2s;
    }
    details[open] {
      box-shadow: var(--shadow-md);
    }
    summary {
      font-weight: 600;
      font-size: 18px;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
    }
    summary::after {
      content: "+";
      font-size: 24px;
      color: var(--competition-red);
      transition: 0.3s;
    }
    details[open] summary::after {
      transform: rotate(45deg);
    }

    /* CTA */
    #cta {
      background: var(--deep-black);
      position: relative;
      overflow: hidden;
    }
    .cta-decor {
      position: absolute;
      left: 0;
      top: 0;
      width: 200px;
      height: 100%;
      background: linear-gradient(90deg, rgba(228,61,42,0.1), transparent);
    }
    .glass-card {
      background: rgba(255,255,255,0.06);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: var(--radius-md);
      padding: 48px;
      max-width: 560px;
      margin: 0 auto;
      color: white;
    }
    .form-input {
      background: #1A1D28;
      border: none;
      border-bottom: 1px solid #444;
      color: white;
      padding: 12px;
      width: 100%;
      margin-bottom: 20px;
      transition: 0.2s;
    }
    .form-input:focus {
      border-bottom-color: var(--competition-red);
      outline: none;
    }

    /* footer */
    #footer {
      background: var(--deep-black);
      color: #B0B0B8;
      padding: 60px 0 20px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 32px;
      margin-bottom: 40px;
    }
    .copyright {
      border-top: 1px solid rgba(255,255,255,0.08);
      padding-top: 20px;
      text-align: center;
      font-size: 13px;
    }

    .fixed-cta {
      position: fixed;
      bottom: 24px;
      right: 24px;
      background: var(--competition-red);
      color: white;
      border-radius: 40px;
      padding: 14px 28px;
      font-weight: 600;
      z-index: 99;
      box-shadow: 0 6px 20px rgba(228,61,42,0.5);
      animation: pulse 2s infinite;
      text-decoration: none;
    }

    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(228,61,42,0.6); }
      70% { box-shadow: 0 0 0 12px rgba(228,61,42,0); }
      100% { box-shadow: 0 0 0 0 rgba(228,61,42,0); }
    }

    @media (max-width: 1024px) {
      .nav-left, .nav-right { display: none; }
      .hamburger { display: flex; }
      .hero-grid { flex-direction: column; }
      .metrics-grid { grid-template-columns: repeat(2,1fr); }
      .services-layout { flex-direction: column; }
      .service-large, .service-small-col { flex: auto; width: 100%; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 640px) {
      h1 { font-size: 36px; }
      .compare-wrapper { flex-direction: column; }
      .compare-divider { display: none; }
    }
