/* roulang page: index */
:root {
      --primary-dark: #0B0C10;
      --primary-purple: #6C3CF0;
      --purple-hover: #5A2DD0;
      --accent-gold: #D4AF37;
      --light-bg: #F5F5F7;
      --card-dark: #1A1A1E;
      --text-light: #FFFFFF;
      --text-gray: #B0B0B8;
      --border-color: #2A2A2E;
      --radius-card: 12px;
      --radius-btn: 30px;
      --shadow-card: 0 4px 20px rgba(0,0,0,0.08);
      --shadow-hover: 0 12px 28px rgba(0,0,0,0.15);
      --spacing-section: 5rem;
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      margin: 0;
      padding: 0;
      background-color: var(--primary-dark);
      color: var(--text-light);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.3s ease;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
      transition: all 0.3s ease;
    }

    input {
      font-family: inherit;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    /* 顶部信息条 */
    .top-bar {
      background: var(--primary-dark);
      height: 36px;
      line-height: 36px;
      font-size: 0.8rem;
      color: var(--light-bg);
      border-bottom: 1px solid rgba(255,255,255,0.05);
      display: flex;
      align-items: center;
      padding: 0 1.5rem;
    }
    .top-bar .left {
      flex: 1;
      white-space: nowrap;
    }
    .top-bar .right a {
      color: var(--accent-gold);
      font-weight: 500;
    }

    /* 主导航 */
    .main-nav {
      background: var(--primary-dark);
      padding: 0 1.5rem;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      position: sticky;
      top: 0;
      z-index: 50;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 70px;
    }
    .brand {
      font-size: 1.8rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text-light);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .brand span {
      color: var(--primary-purple);
    }
    .nav-links {
      display: flex;
      gap: 2rem;
      align-items: center;
    }
    .nav-links a {
      color: var(--text-gray);
      font-weight: 500;
      font-size: 0.95rem;
      position: relative;
      padding-bottom: 4px;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary-purple);
      transition: width 0.3s ease;
    }
    .nav-links a:hover {
      color: var(--text-light);
    }
    .nav-links a:hover::after {
      width: 100%;
    }
    .nav-cta {
      background: var(--primary-purple);
      color: white !important;
      padding: 0.5rem 1.5rem;
      border-radius: var(--radius-btn);
      margin-left: 1rem;
      font-weight: 600;
    }
    .nav-cta:hover {
      background: var(--purple-hover);
      transform: scale(1.03);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: transparent;
      border: none;
      padding: 0.5rem;
    }
    .hamburger span {
      display: block;
      width: 25px;
      height: 2px;
      background: white;
      transition: 0.3s;
    }

    /* Hero */
    #hero {
      height: 100vh;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    #hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(11,12,16,0.75);
    }
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 800px;
      padding: 0 2rem;
    }
    .hero-content h1 {
      font-size: 4rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 1.5rem;
      color: white;
      animation: fadeUp 1s ease;
    }
    .hero-content p {
      font-size: 1.3rem;
      color: var(--text-gray);
      margin-bottom: 2.5rem;
      line-height: 1.6;
    }
    .btn-group {
      display: flex;
      gap: 1.5rem;
      justify-content: center;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: var(--primary-purple);
      color: white;
      padding: 0.9rem 2.5rem;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 1.1rem;
      border: none;
      box-shadow: 0 4px 15px rgba(108,60,240,0.4);
    }
    .btn-primary:hover {
      background: var(--purple-hover);
      transform: scale(1.03);
      box-shadow: 0 8px 20px rgba(108,60,240,0.6);
    }
    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary-purple);
      color: white;
      padding: 0.9rem 2.5rem;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 1.1rem;
    }
    .btn-outline:hover {
      background: rgba(108,60,240,0.15);
      transform: scale(1.03);
    }

    @keyframes fadeUp {
      0% { opacity: 0; transform: translateY(30px); }
      100% { opacity: 1; transform: translateY(0); }
    }

    /* sections */
    section {
      padding: var(--spacing-section) 0;
    }
    .section-title {
      text-align: center;
      margin-bottom: 3rem;
    }
    .section-title h2 {
      font-size: 2.5rem;
      font-weight: 600;
      color: white;
      margin-bottom: 0.5rem;
    }
    .section-title p {
      color: var(--text-gray);
      font-size: 1.15rem;
    }

    /* pain-points */
    #pain-points {
      background: var(--light-bg);
      color: var(--primary-dark);
    }
    .pain-list {
      display: flex;
      flex-direction: column;
      gap: 2rem;
      max-width: 800px;
      margin: 0 auto;
    }
    .pain-item {
      display: flex;
      gap: 1.5rem;
      align-items: flex-start;
      background: white;
      padding: 1.8rem;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
    }
    .pain-icon {
      width: 48px;
      height: 48px;
      background: var(--primary-purple);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.5rem;
      flex-shrink: 0;
    }
    .pain-text h3 {
      font-weight: 700;
      margin-bottom: 0.3rem;
    }

    /* solutions */
    #solutions {
      background: var(--primary-dark);
    }
    .card-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
    .solution-card {
      background: var(--card-dark);
      padding: 2rem;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      transition: all 0.3s ease;
      border: 1px solid transparent;
      display: flex;
      flex-direction: column;
    }
    .solution-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
      border-color: var(--primary-purple);
    }
    .card-icon {
      width: 64px;
      height: 64px;
      background: rgba(108,60,240,0.15);
      border-radius: 16px;
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .card-icon img {
      width: 40px;
      height: 40px;
      object-fit: contain;
    }
    .solution-card h3 {
      color: white;
      font-weight: 600;
      margin-bottom: 0.8rem;
    }
    .solution-card p {
      color: var(--text-gray);
      flex: 1;
    }
    .link-purple {
      color: var(--primary-purple);
      font-weight: 600;
      margin-top: 1rem;
      display: inline-block;
    }

    /* results */
    #results {
      background: var(--primary-dark);
      border-top: 1px solid rgba(255,255,255,0.08);
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
      text-align: center;
    }
    .stat-number {
      font-size: 3.5rem;
      font-weight: 700;
      color: var(--primary-purple);
      line-height: 1.2;
    }
    .stat-label {
      color: var(--text-gray);
      font-size: 1rem;
      margin-top: 0.3rem;
    }

    /* testimonials */
    #testimonials {
      background: var(--light-bg);
      color: var(--primary-dark);
    }
    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
    .testimonial-card {
      background: white;
      padding: 2rem;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      transition: 0.3s;
    }
    .testimonial-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
    .quote {
      font-style: italic;
      margin-bottom: 1.5rem;
      color: #333;
    }
    .author {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    .author-img {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: #ddd;
      overflow: hidden;
    }

    /* FAQ */
    #faq {
      background: var(--primary-dark);
    }
    .accordion {
      max-width: 800px;
      margin: 0 auto;
    }
    .accordion-item {
      border-bottom: 1px solid var(--border-color);
    }
    .accordion-title {
      background: transparent;
      color: white;
      font-weight: 600;
      font-size: 1.2rem;
      padding: 1.5rem 0;
      width: 100%;
      text-align: left;
      border: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .accordion-title .q-mark {
      color: var(--primary-purple);
      margin-right: 1rem;
    }
    .accordion-content {
      color: var(--text-gray);
      padding-bottom: 1.5rem;
      display: none;
    }
    .accordion-item.active .accordion-content {
      display: block;
    }

    /* CTA */
    #cta {
      background: var(--primary-purple);
      text-align: center;
    }
    #cta h2 {
      color: white;
      font-size: 2.8rem;
    }
    .cta-form {
      display: flex;
      gap: 1rem;
      max-width: 600px;
      margin: 2rem auto 0;
      flex-wrap: wrap;
      justify-content: center;
    }
    .cta-form input {
      flex: 1;
      min-width: 200px;
      padding: 0.9rem 1.5rem;
      border-radius: var(--radius-btn);
      border: 1px solid #ddd;
      background: white;
      font-size: 1rem;
      transition: 0.3s;
    }
    .cta-form input:focus {
      border-color: var(--primary-purple);
      outline: none;
    }

    /* footer */
    #footer {
      background: var(--primary-dark);
      padding: 4rem 0 1.5rem;
      border-top: 1px solid rgba(255,255,255,0.08);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 2rem;
      margin-bottom: 2rem;
    }
    .footer-brand h3 {
      color: white;
      font-size: 1.8rem;
    }
    .footer-links a {
      display: block;
      color: var(--text-gray);
      margin-bottom: 0.6rem;
      transition: color 0.3s;
    }
    .footer-links a:hover {
      color: var(--primary-purple);
    }
    .copyright {
      text-align: center;
      color: var(--text-gray);
      font-size: 0.9rem;
      border-top: 1px solid rgba(255,255,255,0.08);
      padding-top: 1.5rem;
    }

    @media (max-width: 1024px) {
      .card-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 768px) {
      :root { --spacing-section: 3rem; }
      .hero-content h1 { font-size: 2.5rem; }
      .section-title h2 { font-size: 2rem; }
      .card-grid, .testimonial-grid, .stats-grid { grid-template-columns: 1fr; }
      .nav-links { display: none; position: fixed; top: 70px; left: 0; width: 100%; height: calc(100vh - 70px); background: var(--primary-dark); flex-direction: column; padding: 2rem; gap: 2rem; z-index: 40; }
      .nav-links.active { display: flex; }
      .hamburger { display: flex; }
      .footer-grid { grid-template-columns: 1fr; }
    }
