/* roulang page: index */
:root {
      --primary-deep: #0A1F1C;
      --accent-glow: #00E5A1;
      --bg-soft: #F5F7F6;
      --card-white: #FFFFFF;
      --dark-bg: #0E2622;
      --warn-orange: #FF6B3D;
      --text-primary: #0A1F1C;
      --text-secondary: #3D4F4B;
      --text-muted: #6B7D78;
      --border-light: #E0E8E5;
      --border-strong: #D0D6D3;
      --shadow-sm: 0 4px 20px rgba(10, 31, 28, 0.06);
      --shadow-md: 0 8px 32px rgba(10, 31, 28, 0.12);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-tag: 20px;
      --font-main: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
      --transition-smooth: all 300ms ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-main);
      background-color: var(--bg-soft);
      color: var(--text-primary);
      line-height: 1.6;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button, input, select, textarea {
      font-family: inherit;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 50;
      height: 72px;
      background: rgba(245, 247, 246, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transition: var(--transition-smooth);
      border-bottom: 1px solid transparent;
    }

    .site-header.scrolled {
      background: #0A1F1C;
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 1.5rem;
      letter-spacing: -0.3px;
      color: var(--primary-deep);
      transition: color 300ms;
    }

    .scrolled .logo {
      color: white;
    }

    .logo img {
      width: 36px;
      height: 36px;
      border-radius: 8px;
    }

    .nav-menu {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .nav-link {
      font-weight: 500;
      font-size: 0.95rem;
      color: var(--primary-deep);
      position: relative;
      padding: 4px 0;
      transition: color 300ms;
    }

    .scrolled .nav-link {
      color: rgba(255,255,255,0.9);
    }

    .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 0;
      height: 2px;
      background: var(--accent-glow);
      transition: width 250ms ease, left 250ms ease;
    }

    .nav-link:hover::after {
      width: 100%;
      left: 0;
    }

    .btn-primary-sm {
      background: var(--accent-glow);
      color: var(--primary-deep);
      font-weight: 600;
      padding: 10px 24px;
      border-radius: var(--radius-btn);
      font-size: 0.9rem;
      transition: var(--transition-smooth);
      box-shadow: 0 4px 14px rgba(0, 229, 161, 0.25);
      border: none;
      cursor: pointer;
    }

    .btn-primary-sm:hover {
      background: #00C98A;
      box-shadow: 0 4px 18px rgba(0, 229, 161, 0.4);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
    }

    .hamburger span {
      width: 24px;
      height: 2px;
      background: var(--primary-deep);
      transition: var(--transition-smooth);
    }

    .scrolled .hamburger span {
      background: white;
    }

    .mobile-drawer {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: #0A1F1C;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 40px;
      transform: translateX(100%);
      transition: transform 0.4s ease;
      z-index: 40;
    }

    .mobile-drawer.open {
      transform: translateX(0);
    }

    .mobile-drawer a {
      color: white;
      font-size: 1.5rem;
      font-weight: 500;
    }

    /* 区块通用 */
    section {
      padding: 80px 0;
    }

    .section-title {
      font-size: 36px;
      font-weight: 700;
      color: var(--primary-deep);
      margin-bottom: 16px;
      position: relative;
      display: inline-block;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 0;
      width: 40px;
      height: 4px;
      background: var(--accent-glow);
    }

    /* Hero */
    .hero {
      min-height: 90vh;
      display: flex;
      align-items: center;
      background: linear-gradient(135deg, #F5F7F6 0%, #E8F0EC 100%);
      padding-top: 100px;
    }

    .hero-grid {
      display: flex;
      align-items: center;
      gap: 60px;
    }

    .hero-left {
      flex: 1;
    }

    .hero-right {
      flex: 1;
      position: relative;
    }

    .hero h1 {
      font-size: 48px;
      font-weight: 700;
      letter-spacing: -0.5px;
      color: var(--primary-deep);
      line-height: 1.2;
      margin-bottom: 20px;
    }

    .hero-sub {
      font-size: 1.2rem;
      color: var(--text-secondary);
      margin-bottom: 32px;
    }

    .btn-group {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--accent-glow);
      color: #0A1F1C;
      font-weight: 600;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      border: none;
      cursor: pointer;
      transition: var(--transition-smooth);
      box-shadow: 0 4px 14px rgba(0, 229, 161, 0.35);
    }

    .btn-primary:hover {
      background: #00C98A;
    }

    .btn-outline {
      background: transparent;
      border: 2px solid #0A1F1C;
      color: #0A1F1C;
      font-weight: 600;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      cursor: pointer;
      transition: var(--transition-smooth);
    }

    .btn-outline:hover {
      background: #0A1F1C;
      color: white;
    }

    .metrics-widget {
      display: flex;
      gap: 20px;
      margin-top: 30px;
    }

    .metric-card {
      background: rgba(255,255,255,0.8);
      backdrop-filter: blur(4px);
      padding: 16px 20px;
      border-radius: 12px;
      text-align: center;
    }

    .metric-number {
      font-size: 2rem;
      font-weight: 800;
      color: var(--accent-glow);
    }

    .dashboard-mock {
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      border-radius: 24px;
      height: 380px;
      box-shadow: var(--shadow-md);
    }

    /* 数据看板 */
    .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .stat-card {
      background: var(--card-white);
      padding: 28px;
      border-radius: var(--radius-card);
      border: 1px solid var(--border-light);
      box-shadow: var(--shadow-sm);
      transition: var(--transition-smooth);
    }

    .stat-card:hover {
      box-shadow: var(--shadow-md);
      border-color: var(--accent-glow);
    }

    .stat-icon {
      font-size: 1.8rem;
    }

    .stat-value {
      font-size: 2.4rem;
      font-weight: 800;
      color: var(--accent-glow);
      margin: 12px 0;
    }

    /* 服务矩阵 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .service-card {
      background: white;
      padding: 32px;
      border-radius: var(--radius-card);
      border: 1px solid var(--border-light);
      transition: var(--transition-smooth);
      position: relative;
      overflow: hidden;
    }

    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
      border-color: var(--accent-glow);
    }

    .service-icon {
      width: 64px;
      height: 64px;
      background: #E8F5F0;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
    }

    .service-card:hover .service-icon {
      background: var(--accent-glow);
    }

    .comparison-wrapper {
      display: flex;
      gap: 24px;
    }

    .compare-col {
      flex: 1;
      padding: 32px;
      border-radius: var(--radius-card);
    }

    .compare-left {
      background: #F0F2F1;
      border: 1px solid #D0D6D3;
    }

    .compare-right {
      background: #F0FAF6;
      border: 1px solid var(--accent-glow);
    }

    .faq-item {
      border-bottom: 1px solid var(--border-light);
      padding: 20px 0;
      cursor: pointer;
    }

    .faq-question {
      font-weight: 600;
      display: flex;
      justify-content: space-between;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      color: var(--text-secondary);
    }

    .contact-section {
      background: #0E2622;
      background-image: radial-gradient(circle at 30% 40%, rgba(0,229,161,0.15) 0%, transparent 60%);
    }

    .footer {
      background: #0A1F1C;
      color: #7A9A8E;
    }

    @media (max-width: 1024px) {
      .services-grid { grid-template-columns: repeat(2,1fr); }
    }

    @media (max-width: 768px) {
      .nav-menu { display: none; }
      .hamburger { display: flex; }
      .hero-grid { flex-direction: column; }
      .dashboard-grid { grid-template-columns: repeat(2,1fr); }
      .services-grid { grid-template-columns: 1fr; }
      .comparison-wrapper { flex-direction: column; }
      .hero h1 { font-size: 32px; }
      .section-title { font-size: 26px; }
    }
