/* roulang page: index */
:root {
      --primary: #0B0E2A;
      --accent-1: #6366F1;
      --accent-2: #F59E0B;
      --bg: #FAFAFE;
      --card-bg: #FFFFFF;
      --text: #1E1F3A;
      --text-secondary: #5B5D7A;
      --border: #E4E5F0;
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-tag: 6px;
      --shadow-sm: 0 1px 3px rgba(11,14,42,0.06), 0 4px 12px rgba(11,14,42,0.04);
      --shadow-hover: 0 6px 24px rgba(99,102,241,0.12), 0 2px 6px rgba(11,14,42,0.06);
      --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
      --transition: 0.25s ease;
      --max-width: 1280px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button, input {
      font-family: inherit;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航栏 */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 72px;
      background: transparent;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      transition: background 0.3s ease, box-shadow 0.3s ease;
    }

    .nav.scrolled {
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(8px);
      box-shadow: 0 2px 12px rgba(11,14,42,0.06);
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      max-width: var(--max-width);
      padding: 0 24px;
    }

    .logo {
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--primary);
      letter-spacing: -0.02em;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .logo span {
      color: var(--accent-1);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .nav-links a {
      font-size: 0.9375rem;
      font-weight: 500;
      color: var(--text-secondary);
      padding: 6px 0;
      border-bottom: 2px solid transparent;
      transition: color var(--transition), border-color var(--transition);
      white-space: nowrap;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--accent-1);
      border-bottom-color: var(--accent-1);
    }

    .btn-primary {
      background: var(--accent-1);
      color: white;
      font-weight: 600;
      border: none;
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-size: 1rem;
      letter-spacing: 0.03em;
      cursor: pointer;
      transition: background var(--transition), box-shadow var(--transition), transform 0.15s;
      display: inline-block;
      text-align: center;
      box-shadow: 0 2px 6px rgba(99,102,241,0.25);
      white-space: nowrap;
    }

    .btn-primary:hover {
      background: #4F46E5;
      box-shadow: 0 4px 16px rgba(99,102,241,0.4);
    }

    .btn-primary:active {
      transform: scale(0.97);
    }

    .btn-secondary {
      background: transparent;
      border: 1.5px solid var(--accent-1);
      color: var(--accent-1);
      font-weight: 600;
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-size: 1rem;
      letter-spacing: 0.03em;
      cursor: pointer;
      transition: all var(--transition), transform 0.15s;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .btn-secondary:hover {
      background: rgba(99,102,241,0.08);
    }

    .btn-ghost {
      background: transparent;
      border: 1.5px solid white;
      color: white;
      font-weight: 600;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-size: 1.1rem;
      letter-spacing: 0.03em;
      transition: all var(--transition);
      cursor: pointer;
    }

    .btn-ghost:hover {
      background: white;
      color: var(--accent-1);
    }

    .btn-large {
      padding: 18px 40px;
      font-size: 1.2rem;
      background: var(--accent-2);
      color: white;
      box-shadow: 0 4px 14px rgba(245,158,11,0.3);
      border: none;
    }

    .btn-large:hover {
      background: #e08f0b;
      box-shadow: 0 0 24px rgba(245,158,11,0.5);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
    }

    .hamburger span {
      width: 24px;
      height: 2px;
      background: var(--primary);
      transition: var(--transition);
    }

    /* 区块通用 */
    section {
      padding: 100px 0;
    }

    .section-title {
      font-size: 2.25rem;
      font-weight: 700;
      line-height: 1.25;
      margin-bottom: 1rem;
      color: var(--primary);
      letter-spacing: -0.01em;
    }

    .section-subtitle {
      font-size: 1.125rem;
      color: var(--text-secondary);
      max-width: 700px;
      margin: 0 auto 3rem;
    }

    /* Hero */
    .hero {
      background: linear-gradient(135deg, #FAFAFE 0%, #EEF0FF 100%);
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding-top: 72px;
      position: relative;
      overflow: hidden;
    }

    .hero-content {
      display: flex;
      align-items: center;
      gap: 3rem;
    }

    .hero-text {
      flex: 1 1 55%;
    }

    .hero-image {
      flex: 1 1 45%;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      border-radius: 24px;
      min-height: 420px;
      box-shadow: var(--shadow-hover);
      position: relative;
    }

    .hero h1 {
      font-size: 3.25rem;
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -0.02em;
      color: var(--primary);
      margin-bottom: 1.5rem;
    }

    .hero h1 span {
      color: var(--accent-1);
    }

    .hero p {
      font-size: 1.2rem;
      color: var(--text-secondary);
      margin-bottom: 2.5rem;
      max-width: 540px;
    }

    .hero-buttons {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    /* 痛点 */
    .pain-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
    }

    .pain-card {
      background: #F4F5FC;
      border-radius: var(--radius-card);
      padding: 28px;
      border-left: 4px solid var(--accent-2);
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .pain-card h3 {
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--primary);
    }

    .pain-card p {
      color: var(--text-secondary);
    }

    /* 解决方案 */
    .solutions-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 24px;
    }

    .solution-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 32px 28px;
      box-shadow: var(--shadow-sm);
      transition: transform var(--transition), box-shadow var(--transition);
      text-align: center;
    }

    .solution-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }

    .solution-icon {
      font-size: 2.5rem;
      color: var(--accent-1);
      margin-bottom: 16px;
    }

    .solution-card h3 {
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 8px;
    }

    .solution-card p {
      color: var(--text-secondary);
      margin-bottom: 18px;
    }

    .text-link {
      color: var(--accent-1);
      font-weight: 600;
      font-size: 0.95rem;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    /* 成果数据 */
    .stats-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 2.5rem;
    }

    .stat-item {
      text-align: center;
    }

    .stat-number {
      font-size: 3rem;
      font-weight: 800;
      color: var(--accent-2);
      line-height: 1.2;
    }

    .stat-label {
      color: var(--text-secondary);
      font-size: 1rem;
      margin-top: 0.5rem;
    }

    /* 证言 */
    .testimonials-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 24px;
    }

    .testimonial-card {
      background: #F8F9FD;
      border-radius: var(--radius-card);
      padding: 28px;
      border-left: 4px solid var(--accent-2);
    }

    .testimonial-text {
      font-size: 1.05rem;
      color: var(--text);
      margin-bottom: 1.5rem;
      font-style: italic;
    }

    .testimonial-author {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .avatar-placeholder {
      width: 48px;
      height: 48px;
      background: #d1d5f0;
      border-radius: 50%;
    }

    .author-name {
      font-weight: 700;
    }

    .author-role {
      color: var(--text-secondary);
      font-size: 0.9rem;
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }

    .faq-item {
      border-bottom: 1px solid var(--border);
      padding: 1.2rem 0;
    }

    .faq-question {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-weight: 700;
      font-size: 1.15rem;
      cursor: pointer;
      color: var(--primary);
    }

    .faq-question span:first-child {
      color: var(--accent-1);
      margin-right: 12px;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-secondary);
      padding-left: 1.5rem;
      margin-top: 0;
    }

    .faq-item.open .faq-answer {
      max-height: 200px;
      margin-top: 12px;
    }

    /* CTA */
    .cta-section {
      background: var(--primary);
      text-align: center;
      padding: 80px 0;
    }

    .cta-section h2 {
      color: white;
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }

    .cta-section p {
      color: #C7C9E0;
      font-size: 1.2rem;
      margin-bottom: 2rem;
    }

    .email-input-group {
      display: flex;
      max-width: 460px;
      margin: 0 auto;
    }

    .email-input {
      flex: 1;
      padding: 14px 16px;
      border: 1px solid var(--border);
      border-radius: var(--radius-btn) 0 0 var(--radius-btn);
      font-size: 1rem;
      outline: none;
    }

    .email-input:focus {
      border-color: var(--accent-1);
    }

    .btn-submit {
      background: var(--accent-1);
      color: white;
      border: none;
      padding: 0 28px;
      border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
      font-weight: 600;
      cursor: pointer;
    }

    /* Footer */
    .footer {
      background: var(--primary);
      color: #C7C9E0;
      padding: 60px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 2rem;
      margin-bottom: 2rem;
    }

    .footer-logo {
      font-size: 1.6rem;
      font-weight: 800;
      color: white;
    }

    .footer a {
      color: #C7C9E0;
      transition: color 0.2s;
    }

    .footer a:hover {
      color: var(--accent-2);
    }

    .social-icons i {
      font-size: 1.4rem;
      margin-right: 16px;
      color: #C7C9E0;
    }

    .copyright {
      text-align: center;
      font-size: 0.85rem;
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 1.5rem;
    }

    @media (max-width: 1024px) {
      .hero-content {
        flex-direction: column;
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }
      .hamburger {
        display: flex;
      }
      .hero h1 {
        font-size: 2.5rem;
      }
      .section-title {
        font-size: 2rem;
      }
    }
