/* roulang page: index */
:root {
      --bg-primary: #0A0A1A;
      --bg-secondary: #0F0D24;
      --bg-card: rgba(30, 27, 46, 0.6);
      --text-primary: #F0EDFA;
      --text-secondary: #9CA3AF;
      --accent-purple: #7C3AED;
      --accent-cyan: #00F5D4;
      --border-subtle: rgba(124, 58, 237, 0.25);
      --border-hover: rgba(0, 245, 212, 0.5);
      --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.3);
      --shadow-glow: 0 0 20px rgba(0, 245, 212, 0.4);
      --radius-card: 12px;
      --radius-button: 8px;
      --font-h1: clamp(2.2rem, 6vw, 2.8rem);
      --font-h2: clamp(1.8rem, 4vw, 2.2rem);
      --font-h3: clamp(1.3rem, 3vw, 1.5rem);
      --font-body: 1rem;
      --container-max: 1200px;
      --section-gap: 5rem;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      background-color: var(--bg-primary);
      color: var(--text-primary);
      font-family: system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s ease;
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
      border: none;
      background: none;
      transition: all 0.25s ease;
    }

    .container {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    /* 导航栏 */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      padding: 1rem 0;
      transition: background 0.3s ease, box-shadow 0.3s ease;
      background: transparent;
    }

    .navbar.scrolled {
      background: rgba(10, 10, 26, 0.85);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow: 0 4px 20px rgba(0,0,0,0.4);
      border-bottom: 1px solid rgba(124, 58, 237, 0.2);
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    .logo {
      display: flex;
      flex-direction: column;
      font-weight: 700;
      font-size: 1.6rem;
      background: linear-gradient(135deg, #C084FC, #7C3AED);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      letter-spacing: 1px;
    }
    .logo small {
      font-size: 0.7rem;
      font-weight: 400;
      color: var(--text-secondary);
      background: none;
      -webkit-text-fill-color: #9CA3AF;
      margin-top: -2px;
    }

    .nav-menu {
      display: flex;
      align-items: center;
      gap: 2rem;
    }
    .nav-link {
      font-weight: 500;
      color: var(--text-secondary);
      position: relative;
      padding: 0.3rem 0;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--text-primary);
    }
    .nav-link::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent-cyan);
      transition: width 0.25s;
    }
    .nav-link:hover::after { width: 100%; }

    .btn-primary {
      background: linear-gradient(135deg, #7C3AED, #6D28D9);
      color: white;
      padding: 0.7rem 1.8rem;
      border-radius: var(--radius-button);
      font-weight: 600;
      box-shadow: 0 0 15px rgba(0, 245, 212, 0.4);
      display: inline-block;
      text-align: center;
      border: none;
    }
    .btn-primary:hover {
      box-shadow: 0 0 30px rgba(0, 245, 212, 0.7);
      transform: translateY(-2px);
    }
    .btn-outline {
      border: 2px solid var(--accent-purple);
      color: var(--text-primary);
      padding: 0.6rem 1.8rem;
      border-radius: var(--radius-button);
      font-weight: 600;
      background: transparent;
    }
    .btn-outline:hover {
      background: rgba(124, 58, 237, 0.2);
      border-color: var(--accent-cyan);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
    }
    .hamburger span {
      width: 25px;
      height: 3px;
      background: var(--accent-cyan);
      transition: 0.3s;
      border-radius: 2px;
    }

    @media (max-width: 1024px) {
      .nav-menu { gap: 1.2rem; }
    }
    @media (max-width: 768px) {
      .hamburger { display: flex; }
      .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 10, 26, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 30px rgba(0,0,0,0.6);
      }
      .nav-menu.active { right: 0; }
      .nav-link { font-size: 1.2rem; }
    }

    /* Hero */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      background: radial-gradient(circle at 30% 30%, #1a1035, #0A0A1A);
      overflow: hidden;
    }
    .particles {
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      pointer-events: none;
    }
    .particle {
      position: absolute;
      background: var(--accent-cyan);
      border-radius: 50%;
      opacity: 0.3;
      animation: float 8s infinite alternate;
    }
    @keyframes float {
      0% { transform: translateY(0px) scale(1); }
      100% { transform: translateY(-40px) scale(1.3); opacity: 0.7; }
    }
    .hero-content {
      text-align: center;
      z-index: 2;
      max-width: 800px;
      padding: 0 1rem;
    }
    .hero h1 {
      font-size: var(--font-h1);
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 1.2rem;
      color: var(--text-primary);
    }
    .hero h1 span {
      background: linear-gradient(to right, #C084FC, #00F5D4);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero p {
      font-size: 1.15rem;
      color: var(--text-secondary);
      margin-bottom: 2.5rem;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }
    .hero-buttons {
      display: flex;
      gap: 1.2rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    /* 通用板块 */
    section {
      padding: var(--section-gap) 0;
    }
    .section-title {
      text-align: center;
      margin-bottom: 3rem;
    }
    .section-title h2 {
      font-size: var(--font-h2);
      font-weight: 600;
      display: inline-block;
      position: relative;
    }
    .section-title h2::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 3px;
      background: var(--accent-cyan);
      box-shadow: 0 0 10px var(--accent-cyan);
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.8rem;
    }
    .card {
      background: var(--bg-card);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-card);
      padding: 2rem;
      transition: all 0.3s;
      box-shadow: var(--shadow-card);
    }
    .card:hover {
      border-color: var(--border-hover);
      box-shadow: 0 12px 40px rgba(124, 58, 237, 0.3);
      transform: translateY(-5px);
    }
    .card-icon {
      width: 64px;
      height: 64px;
      margin-bottom: 1.2rem;
      border-radius: 16px;
      background: rgba(124,58,237,0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
    }
    .card h3 {
      font-size: var(--font-h3);
      margin-bottom: 0.8rem;
    }
    .card p {
      color: var(--text-secondary);
      font-size: 0.95rem;
    }

    .scenario-row {
      display: flex;
      align-items: center;
      gap: 3rem;
      margin-bottom: 4rem;
    }
    .scenario-img {
      flex: 1;
      border-radius: 16px;
      overflow: hidden;
      background: #1E1B2E;
    }
    .scenario-text {
      flex: 1;
    }
    .tag {
      display: inline-block;
      border: 1px solid var(--accent-purple);
      color: var(--accent-cyan);
      padding: 0.2rem 1rem;
      border-radius: 20px;
      font-size: 0.8rem;
      margin-right: 0.5rem;
      margin-bottom: 0.5rem;
    }

    .testimonial-scroll {
      display: flex;
      gap: 1.5rem;
      overflow-x: auto;
      padding-bottom: 1rem;
      scrollbar-width: thin;
    }
    .testimonial-card {
      min-width: 300px;
      background: var(--bg-card);
      border-radius: var(--radius-card);
      padding: 1.8rem;
      border: 1px solid var(--border-subtle);
    }
    .price-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      align-items: start;
    }
    .price-card {
      background: rgba(30,27,46,0.7);
      border-radius: var(--radius-card);
      padding: 2rem;
      text-align: center;
      border: 1px solid var(--border-subtle);
    }
    .price-card.featured {
      border: 2px solid var(--accent-purple);
      box-shadow: 0 0 30px rgba(124,58,237,0.4);
      transform: scale(1.03);
      background: rgba(40,35,60,0.8);
    }
    .faq-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
    }
    .faq-item {
      background: rgba(30,27,46,0.4);
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 1rem;
    }
    .faq-question {
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-secondary);
    }
    .cta-section {
      background: linear-gradient(135deg, #0F0D24, #1a1035);
      text-align: center;
      padding: 4rem 1rem;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 2rem;
      padding: 3rem 0;
    }
    @media (max-width: 768px) {
      .grid-3, .price-grid { grid-template-columns: 1fr; }
      .scenario-row { flex-direction: column; }
      .faq-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .price-card.featured { transform: none; }
    }
