/* roulang page: index */
:root {
      --primary: #7B2FF7;
      --primary-dark: #5B1FD7;
      --accent: #00E5FF;
      --warning: #FF6B35;
      --success: #00E676;
      --bg-deep: #0F0F1A;
      --bg-card: #1A1A2E;
      --bg-footer: #0A0A14;
      --text-white: #FFFFFF;
      --text-light: #B0B0C0;
      --text-muted: #707090;
      --text-card: #D0D0E0;
      --border-glow: rgba(123, 47, 247, 0.2);
      --shadow-default: 0 4px 20px rgba(123, 47, 247, 0.15);
      --shadow-hover: 0 8px 32px rgba(123, 47, 247, 0.3);
      --radius-lg: 16px;
      --radius-md: 12px;
      --radius-sm: 8px;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
      --font-mono: "DIN Alternate", "Roboto Mono", "Menlo", monospace;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-deep);
      color: var(--text-light);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    .nav-bar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: rgba(15, 15, 26, 0.8);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(123, 47, 247, 0.25);
      z-index: 1000;
      padding: 0 24px;
    }
    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 1200px;
      margin: 0 auto;
      height: 70px;
    }
    .logo {
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--text-white);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 8px;
      letter-spacing: -0.5px;
    }
    .logo i {
      color: var(--accent);
      font-size: 2rem;
    }
    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
    }
    .nav-links a {
      color: var(--text-white);
      text-decoration: none;
      font-weight: 500;
      position: relative;
      transition: color 0.2s;
      font-size: 1rem;
    }
    .nav-links a::after {
      content: "";
      position: absolute;
      bottom: -6px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.3s ease;
    }
    .nav-links a:hover {
      color: var(--accent);
    }
    .nav-links a:hover::after {
      width: 100%;
    }
    .btn-nav {
      background: var(--primary);
      color: white;
      padding: 10px 22px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      text-decoration: none;
      transition: background 0.2s, box-shadow 0.2s;
      font-size: 0.95rem;
    }
    .btn-nav:hover {
      background: var(--primary-dark);
      box-shadow: 0 0 18px rgba(123, 47, 247, 0.6);
    }
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
    }
    .hamburger span {
      width: 26px;
      height: 2px;
      background: white;
      border-radius: 2px;
      transition: 0.3s;
    }
    .mobile-menu {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(10, 10, 20, 0.97);
      backdrop-filter: blur(16px);
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 28px;
      z-index: 999;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
    }
    .mobile-menu.active {
      opacity: 1;
      pointer-events: all;
    }
    .mobile-menu a {
      font-size: 1.8rem;
      color: white;
      text-decoration: none;
      font-weight: 600;
    }
    .mobile-menu .close-btn {
      position: absolute;
      top: 24px;
      right: 24px;
      background: none;
      border: none;
      color: white;
      font-size: 2rem;
      cursor: pointer;
    }

    /* 区块间距 */
    section {
      padding: 100px 0;
    }
    @media (max-width: 768px) {
      section {
        padding: 60px 20px;
      }
      .container {
        padding: 0 12px;
      }
    }

    /* Hero */
    #hero {
      background: radial-gradient(circle at 80% 20%, rgba(123, 47, 247, 0.18) 0%, transparent 55%);
      min-height: 90vh;
      display: flex;
      align-items: center;
      padding-top: 90px;
    }
    .hero-grid {
      display: flex;
      align-items: center;
      gap: 48px;
    }
    .hero-left {
      flex: 1;
    }
    .hero-right {
      flex: 1;
      display: flex;
      justify-content: center;
    }
    h1 {
      font-size: 3.2rem;
      font-weight: 700;
      line-height: 1.3;
      color: var(--text-white);
      margin-bottom: 1.2rem;
      letter-spacing: -0.5px;
    }
    .hero-sub {
      font-size: 1.3rem;
      color: var(--text-light);
      margin-bottom: 1.8rem;
    }
    .hero-desc {
      font-size: 1rem;
      color: var(--text-muted);
      margin-bottom: 2.5rem;
      max-width: 480px;
    }
    .btn-group {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: linear-gradient(135deg, #7B2FF7, #5B1FD7);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      text-decoration: none;
      display: inline-block;
      transition: filter 0.2s, box-shadow 0.2s;
      box-shadow: 0 4px 14px rgba(123, 47, 247, 0.4);
      border: none;
      cursor: pointer;
    }
    .btn-primary:hover {
      filter: brightness(1.15);
      box-shadow: 0 6px 22px rgba(123, 47, 247, 0.6);
    }
    .btn-outline {
      background: transparent;
      border: 1px solid var(--accent);
      color: var(--accent);
      padding: 14px 32px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      text-decoration: none;
      transition: 0.2s;
    }
    .btn-outline:hover {
      background: rgba(0, 229, 255, 0.1);
    }
    .floating-cards {
      display: flex;
      flex-direction: column;
      gap: 16px;
      width: 100%;
      max-width: 360px;
    }
    .float-card {
      background: rgba(26, 26, 46, 0.8);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(123, 47, 247, 0.25);
      border-radius: var(--radius-md);
      padding: 16px;
      color: white;
      animation: floatAnim 4s infinite alternate;
    }
    @keyframes floatAnim {
      0% { transform: translateY(0); }
      100% { transform: translateY(-8px); }
    }

    /* 数据看板 */
    .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .stat-card {
      background: var(--bg-card);
      border: 1px solid var(--border-glow);
      border-radius: var(--radius-md);
      padding: 28px 20px;
      position: relative;
      transition: all 0.25s;
    }
    .stat-card:hover {
      border-color: var(--primary);
      box-shadow: var(--shadow-hover);
    }
    .stat-dot {
      width: 8px;
      height: 8px;
      background: var(--primary);
      border-radius: 50%;
      position: absolute;
      top: 16px;
      left: 16px;
    }
    .stat-number {
      font-family: var(--font-mono);
      font-size: 2.8rem;
      font-weight: 700;
      color: var(--accent);
    }
    .stat-label {
      color: var(--text-muted);
      margin-top: 6px;
    }
    .trend {
      display: flex;
      align-items: center;
      gap: 4px;
      margin-top: 10px;
      font-size: 0.9rem;
    }
    .trend.up { color: var(--success); }
    .trend.down { color: var(--warning); }

    /* 服务矩阵 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .service-card {
      background: var(--bg-card);
      border-radius: var(--radius-lg);
      padding: 0 0 28px 0;
      border: 1px solid var(--border-glow);
      transition: transform 0.2s, box-shadow 0.2s;
      overflow: hidden;
    }
    .service-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-hover);
    }
    .card-img {
      height: 180px;
      background-size: cover;
      background-position: center;
    }
    .card-content {
      padding: 24px 20px 0;
    }
    .card-content h3 {
      color: white;
      margin-bottom: 10px;
    }
    .link-more {
      color: var(--accent);
      text-decoration: none;
      font-weight: 500;
      margin-top: 12px;
      display: inline-block;
    }

    /* 对比 */
    .compare-wrapper {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 30px;
      flex-wrap: wrap;
    }
    .compare-col {
      flex: 1;
      min-width: 260px;
      background: rgba(26, 26, 46, 0.7);
      border-radius: var(--radius-lg);
      padding: 32px 24px;
    }
    .compare-col.bad {
      border-left: 4px solid #AA4466;
    }
    .compare-col.good {
      border: 1px solid rgba(123, 47, 247, 0.4);
      box-shadow: 0 0 18px rgba(123, 47, 247, 0.2);
    }
    .vs-badge {
      font-size: 2rem;
      font-weight: 800;
      color: var(--accent);
      text-shadow: 0 0 12px var(--accent);
    }
    .check-list {
      list-style: none;
      margin-top: 20px;
    }
    .check-list li {
      margin: 12px 0;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .text-success { color: var(--success); }
    .text-danger { color: #AA4466; }

    /* FAQ */
    .faq-item {
      background: var(--bg-card);
      border-radius: var(--radius-md);
      margin-bottom: 12px;
      overflow: hidden;
    }
    .faq-question {
      background: none;
      border: none;
      width: 100%;
      text-align: left;
      padding: 18px 24px;
      font-weight: 600;
      color: white;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      font-size: 1.1rem;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease;
      background: rgba(0,0,0,0.2);
      padding: 0 24px;
      color: var(--text-light);
    }
    .faq-answer.open {
      max-height: 200px;
      padding: 16px 24px;
    }

    /* CTA */
    .cta-section {
      background: linear-gradient(180deg, #1A1030 0%, #0F0F1A 100%);
      text-align: center;
    }
    .email-form {
      display: flex;
      max-width: 480px;
      margin: 24px auto 0;
      gap: 12px;
    }
    .email-form input {
      flex: 1;
      background: #1E1E2E;
      border: 1px solid var(--accent);
      border-radius: var(--radius-sm);
      padding: 14px;
      color: white;
    }
    .btn-cta {
      background: var(--warning);
      color: white;
      border: none;
      padding: 14px 28px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      cursor: pointer;
    }

    footer {
      background: var(--bg-footer);
      padding: 60px 0 20px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 30px;
    }
    @media (max-width: 768px) {
      .dashboard-grid, .services-grid { grid-template-columns: 1fr; }
      .hero-grid { flex-direction: column; }
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .compare-wrapper { flex-direction: column; }
      .footer-grid { grid-template-columns: 1fr; }
      .email-form { flex-direction: column; }
    }
