/* roulang page: index */
:root {
      --primary: #E8453C;
      --primary-dark: #C0392B;
      --secondary: #1E1E2E;
      --warm-bg: #F5F0EB;
      --accent: #FFB800;
      --success: #2ECC71;
      --text-main: #1A1A2E;
      --text-secondary: #5A5A72;
      --text-muted: #8A8A9A;
      --white: #FFFFFF;
      --light-gray: #F0F0F5;
      --border-light: #E8E8EF;
      --font-title: 'Poppins', 'Inter', 'Noto Sans SC', system-ui;
      --font-body: 'Inter', 'Noto Sans SC', system-ui;
      --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
      --radius-sm: 6px;
      --radius-md: 10px;
      --radius-lg: 16px;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
      --shadow-hover: 0 12px 28px rgba(232,69,60,0.12);
      --transition: all 0.25s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      -webkit-font-smoothing: antialiased;
    }

    body {
      font-family: var(--font-body);
      color: var(--text-main);
      background-color: var(--white);
      line-height: 1.7;
      font-size: 16px;
      overflow-x: hidden;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }

    ul {
      list-style: none;
      padding: 0;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 32px;
    }

    @media (max-width: 768px) {
      .container {
        padding: 0 20px;
      }
    }

    /* 导航栏 SaaS 命令栏风格 */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255,255,255,0.96);
      backdrop-filter: blur(10px);
      height: 64px;
      display: flex;
      align-items: center;
      box-shadow: 0 1px 0 rgba(0,0,0,0.02);
      transition: box-shadow 0.2s;
    }

    .site-header.scrolled {
      box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 32px;
      height: 100%;
    }

    .logo-area {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .logo-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      background: var(--primary);
      border-radius: var(--radius-sm);
      color: white;
      font-weight: 700;
      font-size: 18px;
      font-family: var(--font-mono);
    }

    .logo-text {
      font-weight: 700;
      font-size: 20px;
      letter-spacing: -0.3px;
      color: var(--text-main);
      font-family: var(--font-title);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 36px;
      font-size: 14px;
      font-weight: 500;
      color: var(--text-secondary);
    }

    .nav-links a {
      position: relative;
      padding: 4px 0;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width 0.2s ease;
    }

    .nav-links a:hover {
      color: var(--primary);
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .search-box {
      display: flex;
      align-items: center;
      background: var(--light-gray);
      border-radius: 40px;
      padding: 8px 16px;
      gap: 8px;
      width: 180px;
      transition: width 0.2s ease, box-shadow 0.2s;
      border: 1px solid transparent;
    }

    .search-box:focus-within {
      width: 220px;
      box-shadow: 0 0 0 2px rgba(232,69,60,0.2);
      border-color: var(--primary);
    }

    .search-box i {
      color: var(--text-muted);
      font-size: 14px;
    }

    .search-box input {
      border: none;
      background: transparent;
      outline: none;
      font-size: 14px;
      width: 100%;
      font-family: var(--font-body);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      border-radius: 40px;
      transition: var(--transition);
      cursor: pointer;
      font-size: 14px;
      padding: 10px 22px;
      border: 1px solid transparent;
      font-family: var(--font-body);
      white-space: nowrap;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }

    .btn-primary:hover {
      background: var(--primary-dark);
      border-color: var(--primary-dark);
      transform: translateY(-1px);
    }

    .btn-outline {
      background: transparent;
      border-color: var(--primary);
      color: var(--primary);
    }

    .btn-outline:hover {
      background: rgba(232,69,60,0.05);
    }

    .btn-accent {
      background: var(--accent);
      color: #1A1A2E;
      font-weight: 700;
      border-color: var(--accent);
    }

    .btn-accent:hover {
      filter: brightness(1.05);
      transform: translateY(-1px);
    }

    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 24px;
      color: var(--text-main);
    }

    @media (max-width: 1024px) {
      .nav-links {
        gap: 20px;
        font-size: 13px;
      }
      .search-box {
        width: 140px;
      }
    }

    @media (max-width: 768px) {
      .nav-links, .header-actions .search-box, .header-actions .btn {
        display: none;
      }
      .mobile-menu-toggle {
        display: block;
      }
      .header-inner {
        padding: 0 20px;
      }
    }

    /* Hero */
    .hero {
      background: var(--secondary);
      position: relative;
      overflow: hidden;
      padding: 100px 0 120px;
      color: white;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      opacity: 0.08;
      z-index: 0;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      gap: 40px;
      flex-wrap: wrap;
    }

    .hero-text {
      flex: 1 1 500px;
    }

    .hero h1 {
      font-family: var(--font-title);
      font-size: 56px;
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: -0.5px;
      margin-bottom: 24px;
    }

    .hero h1 span {
      color: var(--primary);
    }

    .hero-sub {
      font-size: 20px;
      font-weight: 400;
      color: rgba(255,255,255,0.8);
      margin-bottom: 32px;
    }

    .hero-desc {
      color: rgba(255,255,255,0.7);
      margin-bottom: 36px;
      max-width: 540px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .hero-visual {
      flex: 1 1 400px;
      background: rgba(255,255,255,0.03);
      border-radius: var(--radius-lg);
      padding: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero-visual img {
      border-radius: var(--radius-md);
      width: 100%;
      max-height: 360px;
      object-fit: cover;
      box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    }

    @media (max-width: 768px) {
      .hero h1 {
        font-size: 36px;
      }
      .hero {
        padding: 60px 0 80px;
      }
      .hero-sub {
        font-size: 18px;
      }
    }

    /* 指标看板 */
    .metrics {
      padding: 80px 0;
      background: var(--warm-bg);
    }

    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .metric-card {
      background: var(--white);
      border-radius: var(--radius-md);
      padding: 28px 20px;
      text-align: center;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
    }

    .metric-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .metric-icon {
      font-size: 28px;
      color: var(--primary);
      margin-bottom: 12px;
    }

    .metric-number {
      font-family: var(--font-mono);
      font-size: 44px;
      font-weight: 700;
      color: var(--primary);
      line-height: 1.2;
    }

    .metric-label {
      color: var(--text-secondary);
      font-weight: 500;
      margin-top: 8px;
    }

    @media (max-width: 768px) {
      .metrics-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    /* 服务矩阵 */
    .services {
      padding: 100px 0;
    }

    .section-title {
      font-family: var(--font-title);
      font-size: 40px;
      font-weight: 700;
      margin-bottom: 16px;
    }

    .section-sub {
      color: var(--text-secondary);
      margin-bottom: 48px;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .service-card {
      background: var(--white);
      border: 1px solid var(--border-light);
      border-radius: 12px;
      padding: 28px;
      transition: var(--transition);
      box-shadow: var(--shadow-sm);
    }

    .service-card:hover {
      border-color: var(--primary);
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }

    .service-img {
      width: 64px;
      height: 64px;
      border-radius: 12px;
      margin-bottom: 20px;
      object-fit: cover;
    }

    .service-card h3 {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 12px;
      font-family: var(--font-title);
    }

    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 16px;
    }

    .tag {
      background: #F0F0F5;
      color: var(--text-secondary);
      padding: 4px 12px;
      border-radius: 40px;
      font-size: 12px;
      font-weight: 500;
    }

    @media (max-width: 768px) {
      .services-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 对比区块 */
    .compare {
      background: #F9F7F5;
      padding: 80px 0;
    }

    .compare-row {
      display: flex;
      gap: 40px;
      align-items: center;
    }

    .compare-col {
      flex: 1;
    }

    .compare-item {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }

    .progress-bg {
      background: #E0E0E8;
      height: 8px;
      border-radius: 10px;
      flex: 1;
    }

    .progress-fill {
      background: var(--success);
      height: 100%;
      border-radius: 10px;
      width: 0%;
    }

    @media (max-width: 768px) {
      .compare-row {
        flex-direction: column;
      }
    }

    /* FAQ */
    .faq {
      padding: 80px 0;
    }

    .faq-item {
      border-bottom: 1px solid var(--border-light);
      padding: 24px 0;
    }

    .faq-question {
      font-weight: 600;
      font-size: 18px;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      color: var(--text-main);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-secondary);
      line-height: 1.8;
    }

    .faq-item.open .faq-answer {
      max-height: 200px;
      margin-top: 12px;
    }

    /* CTA */
    .cta-block {
      background: linear-gradient(135deg, #1E1E2E 0%, #C0392B 100%);
      padding: 80px 0;
      color: white;
    }

    .cta-form input, .cta-form textarea {
      background: transparent;
      border: none;
      border-bottom: 2px solid rgba(255,255,255,0.5);
      padding: 12px 4px;
      width: 100%;
      color: white;
      font-size: 16px;
      outline: none;
      transition: border 0.2s;
      font-family: var(--font-body);
    }

    .cta-form input:focus, .cta-form textarea:focus {
      border-bottom-color: white;
    }

    /* Footer */
    .footer {
      background: #1A1A2E;
      color: #B0B0C0;
      padding: 60px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 30px;
    }

    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }
