/* roulang page: index */
:root {
      --primary: #F04E23;
      --primary-dark: #D43D1A;
      --secondary: #8A2BE2;
      --dark: #0D0D0D;
      --card-bg: #1A1A1E;
      --text: #B0B5B9;
      --text-light: #E0E0E0;
      --border-glow: rgba(138, 43, 226, 0.15);
      --radius-card: 12px;
      --radius-btn: 8px;
      --shadow-glow: 0 0 20px rgba(240, 78, 35, 0.5);
      --font-heading: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
      --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
      --font-number: "DIN Alternate", "Oswald", "Bebas Neue", "Impact", sans-serif;
      --spacing-section: 100px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: var(--font-body);
      background-color: var(--dark);
      color: var(--text);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button {
      font-family: inherit;
      cursor: pointer;
      border: none;
      background: none;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    .nav-bar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(13, 13, 13, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-glow);
      transition: background 0.3s ease;
    }

    .nav-bar.scrolled {
      background: rgba(13, 13, 13, 0.96);
      border-bottom-color: rgba(138, 43, 226, 0.25);
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 1.7rem;
      font-weight: 700;
      color: white;
      letter-spacing: 1px;
    }

    .logo-icon {
      width: 32px;
      height: 32px;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2L2 22h20L12 2z"/></svg>') center/contain no-repeat;
      -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2L2 22h20L12 2z"/></svg>') center/contain no-repeat;
      background-size: cover;
    }

    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
      list-style: none;
    }

    .nav-links a {
      font-size: 0.95rem;
      font-weight: 500;
      color: var(--text);
      transition: color 0.2s;
    }

    .nav-links a:hover {
      color: white;
    }

    .nav-cta {
      background: var(--primary);
      color: white;
      padding: 10px 24px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 0.9rem;
      transition: background 0.2s, box-shadow 0.2s;
    }

    .nav-cta:hover {
      background: var(--primary-dark);
      box-shadow: var(--shadow-glow);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: transparent;
      border: none;
    }

    .hamburger span {
      width: 26px;
      height: 2px;
      background: white;
      border-radius: 2px;
      transition: 0.3s;
    }

    /* 移动端菜单 */
    .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: var(--dark);
      z-index: 999;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 36px;
      display: none;
    }

    .mobile-menu.active {
      display: flex;
    }

    .mobile-menu a {
      font-size: 1.4rem;
      color: white;
      font-weight: 600;
    }

    .mobile-menu .nav-cta {
      margin-top: 20px;
    }

    /* Hero */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      position: relative;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      background-blend-mode: overlay;
      background-color: rgba(13, 13, 13, 0.7);
      padding: 0 24px;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at center, transparent 20%, #0D0D0D 95%);
      z-index: 1;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 800px;
    }

    .hero h1 {
      font-family: var(--font-heading);
      font-size: clamp(2.8rem, 6vw, 4.5rem);
      font-weight: 700;
      background: linear-gradient(to right, var(--primary), var(--secondary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 24px;
      line-height: 1.2;
    }

    .hero-sub {
      font-size: 1.25rem;
      color: var(--text);
      max-width: 600px;
      margin: 0 auto 36px;
    }

    .hero-buttons {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 14px 36px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: 0.3s;
    }

    .btn-primary:hover {
      background: var(--primary-dark);
      box-shadow: var(--shadow-glow);
    }

    .btn-secondary {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 14px 36px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: 0.3s;
    }

    .btn-secondary:hover {
      background: rgba(240, 78, 35, 0.1);
    }

    /* 通用板块 */
    section {
      padding: var(--spacing-section) 0;
    }

    .section-title {
      font-size: 2.5rem;
      font-weight: 700;
      color: white;
      margin-bottom: 16px;
      text-align: center;
    }

    .section-desc {
      text-align: center;
      color: var(--text);
      max-width: 700px;
      margin: 0 auto 48px;
      font-size: 1.1rem;
    }

    /* 痛点 */
    .pain-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 28px;
    }

    .pain-card {
      background: var(--card-bg);
      border: 1px solid var(--border-glow);
      border-radius: var(--radius-card);
      padding: 32px 28px;
      transition: 0.3s;
    }

    .pain-card:hover {
      border-color: rgba(138, 43, 226, 0.4);
      transform: translateY(-4px);
    }

    .pain-icon {
      font-size: 2.5rem;
      color: var(--secondary);
      margin-bottom: 16px;
    }

    .pain-card h3 {
      color: white;
      font-size: 1.4rem;
      margin-bottom: 12px;
    }

    /* 解决方案 */
    .solution-row {
      display: flex;
      align-items: center;
      gap: 48px;
      margin-bottom: 60px;
    }

    .solution-row.reverse {
      flex-direction: row-reverse;
    }

    .solution-img {
      flex: 1;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid var(--border-glow);
    }

    .solution-img img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }

    .solution-text {
      flex: 1;
    }

    .solution-text h3 {
      font-size: 1.8rem;
      color: white;
      margin-bottom: 16px;
    }

    .text-link {
      color: var(--secondary);
      font-weight: 600;
      display: inline-block;
      margin-top: 12px;
      border-bottom: 1px solid transparent;
      transition: 0.3s;
    }

    .text-link:hover {
      border-bottom: 1px solid var(--secondary);
    }

    /* 数据看板 */
    .stats-board {
      background: var(--dark);
      padding: 60px 0;
      border-top: 1px solid rgba(138, 43, 226, 0.2);
      border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
    }

    .stat-number {
      font-family: var(--font-number);
      font-size: 3.5rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 8px;
    }

    .stat-label {
      color: var(--text);
    }

    /* 证言 */
    .testimonial-scroll {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 12px;
      scroll-snap-type: x mandatory;
    }

    .testimonial-card {
      background: var(--card-bg);
      border-left: 4px solid var(--secondary);
      border-radius: var(--radius-card);
      padding: 24px;
      min-width: 300px;
      flex: 0 0 calc(33.333% - 24px);
      scroll-snap-align: start;
      transition: 0.3s;
    }

    .testimonial-card:hover {
      border-left-width: 8px;
    }

    .testimonial-text {
      font-style: italic;
      margin-bottom: 16px;
      color: #ddd;
    }

    .testimonial-author {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .avatar-placeholder {
      width: 40px;
      height: 40px;
      background: var(--secondary);
      border-radius: 50%;
      opacity: 0.7;
    }

    /* FAQ */
    .faq-item {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      margin-bottom: 16px;
      overflow: hidden;
    }

    .faq-question {
      padding: 20px 24px;
      font-weight: 600;
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      background: transparent;
      width: 100%;
    }

    .faq-icon {
      font-size: 1.5rem;
      transition: 0.3s;
    }

    .faq-answer {
      padding: 0 24px 20px;
      color: var(--text);
      line-height: 1.8;
      display: none;
    }

    .faq-item.open .faq-answer {
      display: block;
    }

    .faq-item.open .faq-icon {
      transform: rotate(45deg);
      color: var(--primary);
    }

    /* CTA */
    .cta-section {
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      text-align: center;
      padding: 80px 24px;
      color: white;
    }

    .cta-section h2 {
      font-size: 2.8rem;
      margin-bottom: 16px;
    }

    .btn-inverse {
      background: white;
      color: var(--primary);
      padding: 16px 40px;
      border-radius: var(--radius-btn);
      font-weight: 700;
      display: inline-block;
      margin-top: 24px;
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
      70% { box-shadow: 0 0 0 16px rgba(255,255,255,0); }
      100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
    }

    /* 页脚 */
    .footer {
      background: var(--dark);
      padding: 60px 0 30px;
      border-top: 1px solid var(--border-glow);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 32px;
    }

    .footer h4 {
      color: white;
      margin-bottom: 16px;
    }

    .footer a {
      color: var(--text);
      display: block;
      margin-bottom: 8px;
    }

    .copyright {
      text-align: center;
      color: var(--text);
      margin-top: 40px;
      font-size: 0.9rem;
    }

    @media (max-width: 1024px) {
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
      .testimonial-card { flex: 0 0 calc(50% - 24px); }
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .pain-grid { grid-template-columns: 1fr; }
      .solution-row { flex-direction: column; }
      .solution-row.reverse { flex-direction: column; }
      .stats-grid { grid-template-columns: 1fr 1fr; }
      .testimonial-card { flex: 0 0 85%; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 520px) {
      .hero h1 { font-size: 2.2rem; }
      .btn-primary, .btn-secondary { width: 100%; }
      .stats-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
    }
