/* roulang page: index */
:root {
      --primary: #6C22A6;
      --primary-light: #A855F7;
      --accent: #00E5CC;
      --accent-glow: rgba(0, 229, 204, 0.35);
      --dark-bg: #0D0B1E;
      --light-bg: #F8F6FC;
      --card-bg: #FFFFFF;
      --text-primary: #1A1333;
      --text-secondary: #5C5480;
      --border-light: rgba(108, 34, 166, 0.08);
      --gradient-main: linear-gradient(135deg, #6C22A6 0%, #A855F7 50%, #00E5CC 100%);
      --shadow-card: 0 4px 24px rgba(108, 34, 166, 0.08);
      --shadow-hover: 0 12px 32px rgba(108, 34, 166, 0.15);
      --radius-card: 16px;
      --radius-btn: 8px;
      --radius-hero: 24px;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
      --font-data: "Oswald", "DIN Alternate", "Bebas Neue", sans-serif;
      --container-max: 1280px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--light-bg);
      color: var(--text-primary);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, input {
      font-family: inherit;
      outline: none;
    }

    /* 导航 */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 72px;
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(108, 34, 166, 0.08);
      z-index: 1000;
      transition: box-shadow 0.3s, background 0.3s;
      display: flex;
      align-items: center;
    }

    .navbar.scrolled {
      background: rgba(255, 255, 255, 0.95);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--text-primary);
      letter-spacing: 1px;
      white-space: nowrap;
    }

    .logo-dot {
      width: 8px;
      height: 8px;
      background-color: var(--accent);
      border-radius: 50%;
      display: inline-block;
      box-shadow: 0 0 12px var(--accent-glow);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 2rem;
    }

    .nav-links a {
      font-weight: 500;
      color: var(--text-secondary);
      position: relative;
      padding: 8px 0;
      transition: color 0.2s;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0%;
      height: 2px;
      background: var(--accent);
      transition: width 0.3s;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--accent);
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }

    .nav-cta {
      background: var(--gradient-main);
      color: white;
      border: none;
      padding: 12px 24px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      cursor: pointer;
      transition: all 0.25s;
      box-shadow: 0 4px 14px rgba(108, 34, 166, 0.3);
      white-space: nowrap;
    }

    .nav-cta:hover {
      transform: scale(1.03);
      box-shadow: 0 8px 24px var(--accent-glow);
      background: linear-gradient(135deg, #7B2BBF 0%, #B066FF 50%, #00E5CC 100%);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
    }

    .hamburger span {
      width: 25px;
      height: 2px;
      background: var(--text-primary);
      transition: 0.3s;
    }

    @media (max-width: 768px) {
      .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
      }
      .nav-links.open {
        transform: translateY(0);
      }
      .hamburger {
        display: flex;
      }
      .nav-cta.desktop-only {
        display: none;
      }
      .nav-container .nav-cta.mobile-cta {
        display: block;
      }
    }

    @media (min-width: 769px) {
      .mobile-cta {
        display: none;
      }
    }

    /* Hero */
    .hero {
      background: var(--dark-bg);
      color: white;
      padding: 120px 0 80px;
      margin-top: 72px;
      position: relative;
      overflow: hidden;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }

    .hero-title {
      font-size: clamp(2.5rem, 5vw, 3.5rem);
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 1.5rem;
      letter-spacing: -0.5px;
    }

    .hero-sub {
      font-size: 1.125rem;
      color: #c8c0dd;
      margin-bottom: 2rem;
      max-width: 90%;
    }

    .hero-buttons {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--gradient-main);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      border: none;
      cursor: pointer;
      transition: all 0.25s;
      box-shadow: 0 4px 18px rgba(108, 34, 166, 0.4);
      display: inline-block;
      text-align: center;
    }

    .btn-primary:hover {
      transform: scale(1.03);
      box-shadow: 0 10px 28px var(--accent-glow);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--accent);
      color: var(--accent);
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: 0.2s;
    }

    .btn-outline:hover {
      background: rgba(0, 229, 204, 0.1);
    }

    .data-dashboard {
      display: flex;
      flex-wrap: wrap;
      gap: 1.25rem;
      justify-content: flex-end;
    }

    .metric-card {
      background: rgba(255, 255, 255, 0.06);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: var(--radius-card);
      padding: 1.5rem;
      min-width: 140px;
      text-align: center;
      flex: 1;
    }

    .metric-number {
      font-family: var(--font-data);
      font-size: 2.5rem;
      font-weight: 700;
      background: linear-gradient(to right, #A855F7, #00E5CC);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-bg-effect {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at 30% 40%, rgba(108,34,166,0.25) 0%, transparent 50%);
      pointer-events: none;
    }

    @media (max-width: 768px) {
      .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .data-dashboard {
        justify-content: center;
        margin-top: 2rem;
      }
      .hero-sub {
        max-width: 100%;
      }
    }

    /* 通用板块 */
    .section {
      padding: 90px 0;
    }

    .section-title {
      font-size: 2rem;
      font-weight: 600;
      margin-bottom: 1rem;
      color: var(--text-primary);
      text-align: center;
    }

    .section-sub {
      color: var(--text-secondary);
      text-align: center;
      max-width: 700px;
      margin: 0 auto 3rem;
    }

    /* 核心优势 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .feature-card {
      background: var(--card-bg);
      padding: 2rem 1.5rem;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      transition: all 0.3s;
      position: relative;
      border: 1px solid transparent;
    }

    .feature-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
      border-color: rgba(0, 229, 204, 0.3);
    }

    .feature-icon {
      font-size: 2rem;
      color: var(--accent);
      margin-bottom: 1rem;
    }

    .badge {
      background: var(--accent);
      color: #0D0B1E;
      font-weight: 700;
      font-size: 0.75rem;
      padding: 4px 10px;
      border-radius: 20px;
      position: absolute;
      top: 16px;
      right: 16px;
    }

    @media (max-width: 1024px) {
      .features-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 640px) {
      .features-grid { grid-template-columns: 1fr; }
    }

    /* 服务矩阵 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .service-card {
      background: #f3eff9;
      border-radius: var(--radius-card);
      overflow: hidden;
      transition: 0.3s;
    }

    .service-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .service-body {
      padding: 1.5rem;
    }

    @media (max-width: 768px) {
      .services-grid { grid-template-columns: 1fr; }
    }

    /* 数据对比 */
    .compare-bar {
      display: flex;
      align-items: center;
      margin: 1.5rem 0;
    }
    .bar-label {
      width: 120px;
      font-weight: 600;
    }
    .bar-track {
      flex: 1;
      height: 24px;
      background: #e0d9f0;
      border-radius: 20px;
      overflow: hidden;
      margin: 0 1rem;
    }
    .bar-fill {
      height: 100%;
      background: var(--gradient-main);
      width: 0%;
      border-radius: 20px;
    }
    .bar-value {
      font-family: var(--font-data);
      font-weight: 700;
      color: var(--primary);
    }

    /* 案例 */
    .cases-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .case-card {
      background: white;
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: var(--shadow-card);
      transition: 0.3s;
    }
    .case-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-hover);
    }

    /* FAQ */
    .faq-item {
      background: white;
      border-radius: 12px;
      margin-bottom: 12px;
      border: 1px solid transparent;
      transition: 0.2s;
    }
    .faq-question {
      padding: 1.2rem 1.5rem;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
    }
    .faq-answer {
      padding: 0 1.5rem 1.2rem;
      color: var(--text-secondary);
      display: none;
    }
    .faq-item.active {
      border-color: var(--accent);
    }
    .faq-item.active .faq-answer {
      display: block;
    }

    /* CTA */
    .cta-section {
      background: var(--dark-bg);
      color: white;
      text-align: center;
    }
    .cta-form {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 2rem;
    }
    .cta-input {
      padding: 14px;
      border-radius: var(--radius-btn);
      border: none;
      min-width: 240px;
    }

    footer {
      background: #0D0B1E;
      color: #b9b0cc;
      padding: 60px 0 30px;
    }
