/* roulang page: index */
:root {
      --primary: #C8102E;
      --primary-dark: #A50D24;
      --secondary: #1A1A2E;
      --accent: #FFD700;
      --bg-light: #F5F5F7;
      --white: #FFFFFF;
      --text-dark: #1A1A2E;
      --text-muted: #4A4A5A;
      --border-light: #E0E0E8;
      --success: #00C853;
      --radius-card: 16px;
      --radius-btn: 12px;
      --radius-input: 8px;
      --radius-badge: 24px;
      --shadow-sm: 0 4px 20px rgba(0,0,0,0.06);
      --shadow-hover: 0 12px 32px rgba(0,0,0,0.12);
      --max-width: 1280px;
      --header-height: 72px;
      --header-scroll-height: 60px;
      --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', system-ui, -apple-system, sans-serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-light);
      color: var(--text-dark);
      line-height: 1.6;
      font-weight: 400;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--header-height);
      background: rgba(26, 26, 46, 0.85);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      display: flex;
      align-items: center;
      z-index: 1000;
      transition: height 0.3s ease, background 0.3s ease;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .header.scrolled {
      height: var(--header-scroll-height);
      background: rgba(26, 26, 46, 0.95);
    }
    .nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: var(--white);
      font-weight: 700;
      font-size: 1.4rem;
      letter-spacing: 0.5px;
    }
    .logo-icon {
      width: 36px;
      height: 36px;
      background: linear-gradient(135deg, var(--primary), #FF6B6B);
      mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2L2 22h20L12 2z" fill="white"/></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"><path d="M12 2L2 22h20L12 2z" fill="white"/></svg>') center/contain no-repeat;
      background-color: var(--white);
    }
    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
    }
    .nav-links a {
      color: rgba(255,255,255,0.85);
      text-decoration: none;
      font-size: 0.875rem;
      font-weight: 500;
      position: relative;
      transition: color 0.2s;
      padding: 8px 0;
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--accent);
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.25s ease;
    }
    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }
    .burger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 10px;
      z-index: 1001;
    }
    .burger span {
      display: block;
      width: 25px;
      height: 2px;
      background: var(--white);
      transition: 0.3s;
    }
    .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: rgba(13, 13, 26, 0.98);
      backdrop-filter: blur(20px);
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 32px;
      z-index: 999;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .mobile-menu.active {
      display: flex;
      opacity: 1;
    }
    .mobile-menu a {
      color: var(--white);
      font-size: 1.5rem;
      text-decoration: none;
      font-weight: 500;
    }

    /* Hero */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #1A1A2E 0%, #0D0D1A 100%);
      position: relative;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      opacity: 0.25;
      mix-blend-mode: overlay;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      max-width: 900px;
      padding: 0 24px;
      color: var(--white);
    }
    .hero h1 {
      font-size: 3.5rem;
      font-weight: 800;
      line-height: 1.1;
      margin-bottom: 24px;
      color: var(--white);
    }
    .hero .subtitle {
      font-size: 1.25rem;
      color: rgba(255,255,255,0.8);
      margin-bottom: 40px;
    }
    .hero-cta {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--primary), #FF6B6B);
      border: none;
      color: white;
      font-weight: 700;
      padding: 14px 36px;
      border-radius: var(--radius-btn);
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
      display: inline-block;
      box-shadow: 0 4px 14px rgba(200,16,46,0.4);
    }
    .btn-primary:hover {
      box-shadow: 0 0 24px rgba(200,16,46,0.7);
      transform: translateY(-2px);
    }
    .btn-outline {
      background: transparent;
      border: 2px solid var(--accent);
      color: var(--white);
      font-weight: 700;
      padding: 14px 36px;
      border-radius: var(--radius-btn);
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
      display: inline-block;
    }
    .btn-outline:hover {
      background: var(--accent);
      color: var(--secondary);
    }
    .floating-badges {
      position: absolute;
      left: 24px;
      top: 20%;
      display: flex;
      flex-direction: column;
      gap: 20px;
      z-index: 3;
    }
    .badge-float {
      background: rgba(255,255,255,0.08);
      backdrop-filter: blur(8px);
      color: var(--accent);
      padding: 8px 18px;
      border-radius: 30px;
      font-size: 0.85rem;
      font-weight: 600;
      animation: float 3s infinite alternate ease-in-out;
    }
    @keyframes float {
      0% { transform: translateY(0); }
      100% { transform: translateY(-10px); }
    }

    /* 通用板块 */
    .section {
      padding: 100px 0;
    }
    .section-title {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 16px;
      color: var(--text-dark);
    }
    .section-sub {
      color: var(--text-muted);
      margin-bottom: 48px;
    }

    /* 数据看板 */
    .performance-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
    }
    .stat-card {
      background: var(--white);
      border-radius: var(--radius-card);
      padding: 32px;
      box-shadow: var(--shadow-sm);
      transition: all 0.3s ease;
    }
    .stat-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }
    .stat-icon {
      font-size: 2rem;
      margin-bottom: 16px;
    }
    .stat-number {
      font-size: 3rem;
      font-weight: 900;
      color: var(--primary);
      line-height: 1;
    }
    .trend {
      display: inline-flex;
      align-items: center;
      margin-left: 8px;
      font-weight: 700;
    }
    .trend.up { color: var(--success); }
    .badge-live {
      background: rgba(255,215,0,0.2);
      color: var(--accent);
      font-weight: 600;
      padding: 4px 12px;
      border-radius: 24px;
      font-size: 0.8rem;
      display: inline-block;
      margin-top: 12px;
    }

    /* 服务矩阵 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
    }
    .service-card {
      background: white;
      border-radius: var(--radius-card);
      padding: 32px;
      box-shadow: var(--shadow-sm);
      transition: 0.3s;
      text-align: center;
    }
    .service-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-hover);
    }
    .service-icon {
      width: 80px;
      height: 80px;
      background: rgba(200,16,46,0.1);
      border-radius: 50%;
      margin: 0 auto 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
    }
    .service-badge {
      background: linear-gradient(135deg, var(--primary), var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-weight: 700;
      margin-top: 16px;
    }

    /* 对比区 */
    .comparison-wrapper {
      display: flex;
      background: var(--secondary);
      border-radius: 24px;
      overflow: hidden;
      color: white;
    }
    .comp-left, .comp-right {
      flex: 1;
      padding: 40px;
    }
    .comp-left {
      background: #2A2A3C;
    }
    .comp-right {
      background: #1E1E30;
      border-left: 2px solid var(--primary);
    }
    .comp-table {
      width: 100%;
      margin-top: 20px;
    }
    .comp-row {
      display: flex;
      justify-content: space-between;
      padding: 12px 0;
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* FAQ */
    .faq-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }
    .faq-item {
      background: white;
      border-radius: 12px;
      padding: 20px;
      cursor: pointer;
      transition: 0.3s;
    }
    .faq-question {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 600;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-muted);
      margin-top: 0;
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      margin-top: 12px;
    }

    /* 表单 */
    .contact-section {
      background: var(--secondary);
    }
    .form-card {
      background: white;
      max-width: 600px;
      margin: 0 auto;
      border-radius: var(--radius-card);
      padding: 48px;
    }
    .form-input {
      width: 100%;
      padding: 14px;
      border: 1px solid var(--border-light);
      border-radius: var(--radius-input);
      margin-bottom: 20px;
      transition: 0.2s;
    }
    .form-input:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(200,16,46,0.15);
      outline: none;
    }

    /* 页脚 */
    .footer {
      background: #0D0D1A;
      color: rgba(255,255,255,0.7);
      padding: 60px 0 20px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
    }
    .copyright {
      text-align: center;
      margin-top: 40px;
      padding-top: 20px;
      border-top: 1px solid rgba(255,255,255,0.1);
      font-size: 0.8rem;
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .burger { display: flex; }
      .hero h1 { font-size: 2.2rem; }
      .performance-grid,
      .services-grid,
      .faq-grid,
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .comparison-wrapper {
        flex-direction: column;
      }
      .floating-badges { display: none; }
    }
