/* roulang page: index */
:root {
      --primary: #7C3AED;
      --primary-dark: #6D28D9;
      --secondary: #00F5D4;
      --accent: #FF6B35;
      --bg-light: #FAFAFE;
      --bg-dark-start: #0B0B1A;
      --bg-dark-end: #1A1035;
      --card-white: #FFFFFF;
      --text-primary: #1E1B2E;
      --text-secondary: #5A5670;
      --text-on-dark: #FFFFFF;
      --text-muted-dark: #E0D7FF;
      --border-light: rgba(124, 58, 237, 0.12);
      --shadow-card: 0 4px 24px rgba(124, 58, 237, 0.08);
      --shadow-hover: 0 12px 32px rgba(124, 58, 237, 0.2);
      --radius-lg: 16px;
      --radius-md: 12px;
      --radius-pill: 40px;
      --radius-btn: 8px;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      --font-mono: "DIN Alternate", "Roboto Mono", monospace;
      --container-max: 1280px;
      --nav-height: 72px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-light);
      color: var(--text-primary);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    .container {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--nav-height);
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(12px);
      box-shadow: 0 4px 20px rgba(0,0,0,0.04);
      z-index: 1000;
      display: flex;
      align-items: center;
      border-bottom: 1px solid rgba(124,58,237,0.08);
    }

    .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 {
      font-size: 1.8rem;
      font-weight: 800;
      background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      letter-spacing: -0.5px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo-icon {
      font-size: 2rem;
      filter: drop-shadow(0 0 6px var(--secondary));
    }

    .nav-menu {
      display: flex;
      align-items: center;
      gap: 6px;
      list-style: none;
    }

    .nav-link {
      padding: 10px 16px;
      border-radius: 30px;
      font-weight: 500;
      color: var(--text-primary);
      transition: all 0.2s ease;
      font-size: 0.95rem;
      background: transparent;
    }

    .nav-link:hover {
      background: rgba(124,58,237,0.08);
      color: var(--primary);
    }

    .nav-cta {
      background: var(--primary);
      color: white;
      padding: 10px 24px;
      border-radius: 30px;
      font-weight: 600;
      font-size: 0.9rem;
      transition: all 0.25s;
      margin-left: 10px;
      white-space: nowrap;
    }

    .nav-cta:hover {
      background: var(--primary-dark);
      transform: scale(1.03);
      box-shadow: 0 6px 16px rgba(124,58,237,0.4);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 6px;
      cursor: pointer;
      background: transparent;
      border: none;
      padding: 8px;
      z-index: 1001;
    }

    .hamburger span {
      display: block;
      width: 28px;
      height: 3px;
      background: var(--primary);
      border-radius: 10px;
      transition: 0.2s;
    }
    .hamburger span:nth-child(2) { background: var(--secondary); }
    .hamburger span:nth-child(3) { background: var(--primary); }

    @media (max-width: 768px) {
      .hamburger {
        display: flex;
      }
      .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(11,11,26,0.96);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 40px;
        transition: right 0.3s ease;
        gap: 18px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
      }
      .nav-menu.active {
        right: 0;
      }
      .nav-link {
        color: white;
        font-size: 1.3rem;
        width: 100%;
        padding: 14px 20px;
        border-radius: 12px;
      }
      .nav-link:hover {
        background: rgba(124,58,237,0.25);
      }
      .nav-cta {
        margin-left: 0;
        width: 100%;
        text-align: center;
        margin-top: 10px;
      }
      .logo {
        font-size: 1.6rem;
      }
    }

    /* Hero */
    .hero {
      margin-top: var(--nav-height);
      min-height: 100vh;
      display: flex;
      align-items: center;
      background: linear-gradient(135deg, var(--bg-dark-start) 0%, #1A1035 100%);
      position: relative;
      overflow: hidden;
      padding: 60px 0;
    }

    .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.25;
      mix-blend-mode: overlay;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      gap: 40px;
      flex-wrap: wrap;
    }

    .hero-left {
      flex: 1 1 55%;
    }

    .hero-right {
      flex: 1 1 40%;
      display: flex;
      justify-content: center;
    }

    .hero h1 {
      font-size: 3.2rem;
      font-weight: 800;
      line-height: 1.15;
      background: linear-gradient(to right, #FFFFFF, #E0D7FF, var(--secondary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 1.5rem;
    }

    .hero-sub {
      font-size: 1.25rem;
      color: var(--text-muted-dark);
      margin-bottom: 2.5rem;
      max-width: 500px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 2.5rem;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      border: none;
      padding: 14px 36px;
      border-radius: var(--radius-pill);
      font-weight: 700;
      font-size: 1rem;
      transition: all 0.25s;
      cursor: pointer;
      display: inline-block;
      text-align: center;
    }

    .btn-primary:hover {
      background: var(--primary-dark);
      transform: scale(1.03);
      box-shadow: 0 10px 24px rgba(124,58,237,0.5);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--secondary);
      color: var(--secondary);
      padding: 14px 36px;
      border-radius: var(--pill);
      font-weight: 700;
      transition: 0.25s;
    }

    .btn-outline:hover {
      background: rgba(0,245,212,0.1);
    }

    .badge-group {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }

    .micro-badge {
      background: rgba(255,255,255,0.08);
      backdrop-filter: blur(8px);
      padding: 10px 18px;
      border-radius: 30px;
      color: white;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 8px;
      border: 1px solid rgba(255,255,255,0.15);
    }

    .hero-image {
      max-width: 450px;
      filter: drop-shadow(0 20px 30px rgba(124,58,237,0.4));
    }

    @media (max-width: 768px) {
      .hero {
        min-height: auto;
        padding: 30px 0 50px;
      }
      .hero-content {
        flex-direction: column-reverse;
      }
      .hero h1 {
        font-size: 2.2rem;
      }
      .hero-right img {
        max-width: 280px;
        margin: 0 auto;
      }
    }

    section {
      padding: 80px 0;
    }

    .section-title {
      font-size: 2.2rem;
      font-weight: 700;
      margin-bottom: 16px;
      color: var(--text-primary);
    }

    .section-sub {
      color: var(--text-secondary);
      margin-bottom: 48px;
    }

    /* 数据看板 */
    .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .stat-card {
      background: var(--card-white);
      padding: 28px 20px;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-card);
      text-align: center;
      transition: all 0.3s;
      border: 1px solid transparent;
    }

    .stat-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
      border-color: var(--secondary);
    }

    .stat-number {
      font-family: var(--font-mono);
      font-size: 2.8rem;
      font-weight: 700;
      color: var(--primary);
    }

    @media (max-width: 992px) {
      .dashboard-grid { grid-template-columns: repeat(2,1fr); }
    }
    @media (max-width: 520px) {
      .dashboard-grid { grid-template-columns: 1fr; }
    }

    /* 服务矩阵 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .service-card {
      background: white;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-card);
      transition: 0.25s;
    }

    .service-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 35px rgba(124,58,237,0.18);
    }

    .service-img {
      height: 180px;
      object-fit: cover;
      width: 100%;
    }

    .service-body {
      padding: 24px;
    }

    .service-body h3 {
      font-size: 1.4rem;
      margin-bottom: 10px;
    }

    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 14px;
    }

    .tag {
      background: rgba(0,245,212,0.08);
      border: 1px solid var(--secondary);
      color: var(--primary);
      padding: 4px 14px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 600;
    }

    @media (max-width: 768px) {
      .services-grid { grid-template-columns: 1fr; }
    }

    /* 对比区 */
    .comparison-wrapper {
      display: flex;
      gap: 30px;
      align-items: stretch;
    }

    .comp-col {
      flex: 1;
      background: white;
      border-radius: 20px;
      padding: 32px;
      box-shadow: var(--shadow-card);
    }

    .comp-col.left {
      background: #f5f3fa;
      border: 1px solid #ddd;
    }

    .comp-col.right {
      background: linear-gradient(145deg, #ffffff 0%, #f4edff 100%);
      border: 1px solid var(--primary);
    }

    .comp-item {
      display: flex;
      justify-content: space-between;
      padding: 14px 0;
      border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    @media (max-width: 768px) {
      .comparison-wrapper {
        flex-direction: column;
      }
    }

    /* FAQ */
    .faq-item {
      background: white;
      border-radius: 16px;
      margin-bottom: 14px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.03);
      border-left: 5px solid var(--primary);
      transition: 0.2s;
    }

    .faq-question {
      padding: 20px 24px;
      font-weight: 700;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      background: #fafafe;
      padding: 0 24px;
    }

    .faq-item.active .faq-answer {
      max-height: 220px;
      padding: 20px 24px;
    }

    /* CTA */
    .cta-section {
      background: linear-gradient(135deg, #0B0B1A, #2D1B4E);
      color: white;
      border-radius: 32px;
      margin: 0 24px;
      padding: 60px 40px;
    }

    .form-input {
      width: 100%;
      padding: 14px;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,0.2);
      background: rgba(255,255,255,0.08);
      color: white;
      margin-bottom: 16px;
    }

    .form-input:focus {
      outline: none;
      border-color: var(--secondary);
      box-shadow: 0 0 0 3px rgba(0,245,212,0.3);
    }

    .footer {
      background: #0B0B1A;
      color: #ccc;
      padding: 60px 0 30px;
    }

    .footer a:hover { color: var(--secondary); }
