/* roulang page: index */
:root {
      --primary: #1A5FDC;
      --primary-hover: #1449B0;
      --accent: #FF6B35;
      --accent-hover: #E55A2B;
      --bg: #F8FAFC;
      --card-bg: #FFFFFF;
      --text: #1E293B;
      --text-weak: #64748B;
      --border: #E2E8F0;
      --success: #10B981;
      --shadow-sm: 0 4px 24px rgba(0,0,0,0.06);
      --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
      --radius-lg: 20px;
      --radius-card: 16px;
      --radius-btn: 10px;
      --radius-input: 8px;
      --transition: 0.3s ease;
      --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', system-ui, -apple-system, sans-serif;
    }

    *, *::before, *::after {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: var(--font-sans);
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      display: block;
      height: auto;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
      border: none;
      background: none;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    .header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: #FFFFFF;
      box-shadow: 0 1px 3px rgba(0,0,0,0.05);
      height: 72px;
      display: flex;
      align-items: center;
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 20px;
      color: var(--primary);
    }

    .logo-icon {
      width: 32px;
      height: 32px;
      background: linear-gradient(135deg, var(--primary), #3B82F6);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 18px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .nav-links a {
      font-size: 16px;
      font-weight: 500;
      color: #475569;
      padding: 8px 0;
      position: relative;
      transition: color var(--transition);
    }

    .nav-links a:hover {
      color: var(--primary);
    }

    .nav-links a.active {
      color: var(--primary);
    }

    .nav-links a.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 3px;
      background: var(--primary);
      border-radius: 3px 3px 0 0;
    }

    .btn-primary-sm {
      background: var(--primary);
      color: white;
      padding: 10px 24px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 14px;
      transition: background var(--transition), box-shadow var(--transition);
      display: inline-block;
      white-space: nowrap;
    }

    .btn-primary-sm:hover {
      background: var(--primary-hover);
      box-shadow: 0 6px 14px rgba(26,95,220,0.3);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: transparent;
      border: none;
      padding: 4px;
    }

    .hamburger span {
      width: 24px;
      height: 2px;
      background: #1E293B;
      border-radius: 4px;
      transition: var(--transition);
    }

    /* Hero */
    .hero {
      padding: 64px 0 80px;
      background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
    }

    .hero-grid {
      display: flex;
      align-items: center;
      gap: 60px;
    }

    .hero-text {
      flex: 1;
    }

    .hero-text h1 {
      font-size: 42px;
      line-height: 1.2;
      font-weight: 700;
      color: #0F172A;
      margin: 0 0 20px;
      letter-spacing: -0.5px;
    }

    .hero-text .subtitle {
      font-size: 18px;
      line-height: 1.6;
      color: var(--text-weak);
      margin-bottom: 32px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 16px;
      transition: all var(--transition);
      box-shadow: 0 4px 12px rgba(26,95,220,0.2);
    }

    .btn-primary:hover {
      background: var(--primary-hover);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(26,95,220,0.35);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 16px;
      transition: all var(--transition);
    }

    .btn-outline:hover {
      background: var(--primary);
      color: white;
      transform: translateY(-2px);
    }

    .hero-image {
      flex: 1;
      display: flex;
      justify-content: center;
    }

    .hero-image img {
      max-height: 420px;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-md);
      animation: float 4s ease-in-out infinite;
    }

    @keyframes float {
      0% { transform: translateY(0); }
      50% { transform: translateY(-12px); }
      100% { transform: translateY(0); }
    }

    /* 板块通用 */
    .section {
      padding: 80px 0;
    }

    .section-title {
      text-align: center;
      font-size: 30px;
      font-weight: 700;
      color: #0F172A;
      margin-bottom: 16px;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }

    .section-title::after {
      content: '';
      width: 40px;
      height: 3px;
      background: var(--primary);
      border-radius: 4px;
    }

    .section-desc {
      text-align: center;
      color: var(--text-weak);
      max-width: 640px;
      margin: 0 auto 48px;
      font-size: 16px;
    }

    /* 卡片网格 */
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .feature-card {
      background: var(--card-bg);
      padding: 32px 24px;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-sm);
      text-align: center;
      transition: all var(--transition);
    }

    .feature-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-md);
    }

    .feature-icon {
      width: 64px;
      height: 64px;
      background: #EEF2FF;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      color: var(--primary);
      font-size: 28px;
    }

    .feature-card h4 {
      margin: 0 0 12px;
      font-size: 18px;
      font-weight: 600;
    }

    .feature-card p {
      color: var(--text-weak);
      font-size: 14px;
      margin: 0;
    }

    /* 产品卡片 */
    .product-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .product-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: all var(--transition);
      display: flex;
      flex-direction: column;
    }

    .product-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-md);
    }

    .product-cover {
      height: 180px;
      background-size: cover;
      background-position: center;
    }

    .product-info {
      padding: 20px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .product-info h3 {
      margin: 0 0 8px;
      font-size: 20px;
      font-weight: 600;
    }

    .product-tags {
      display: flex;
      gap: 8px;
      margin: 8px 0 16px;
      flex-wrap: wrap;
    }

    .tag {
      background: #FFF2EB;
      color: var(--accent);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 13px;
      font-weight: 500;
    }

    .product-desc {
      color: var(--text-weak);
      font-size: 14px;
      margin-bottom: 16px;
      flex: 1;
    }

    .link-arrow {
      color: var(--primary);
      font-weight: 600;
      font-size: 14px;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    /* 场景图文 */
    .scenario-row {
      display: flex;
      align-items: center;
      gap: 48px;
      margin-bottom: 64px;
    }

    .scenario-row.reverse {
      flex-direction: row-reverse;
    }

    .scenario-img {
      flex: 1;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }

    .scenario-img img {
      width: 100%;
      height: 280px;
      object-fit: cover;
    }

    .scenario-content {
      flex: 1;
    }

    .scenario-content h3 {
      font-size: 24px;
      font-weight: 600;
      margin-bottom: 16px;
    }

    /* 口碑 */
    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .testimonial-card {
      background: #F1F5F9;
      padding: 24px;
      border-radius: var(--radius-card);
    }

    .testimonial-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }

    .avatar {
      width: 48px;
      height: 48px;
      background: #CBD5E1;
      border-radius: 50%;
      background-image: url('/assets/images/coverpic/cover-4.webp');
      background-size: cover;
    }

    .stars {
      color: var(--accent);
      font-size: 16px;
      margin-left: auto;
    }

    .testimonial-text {
      font-style: italic;
      color: var(--text);
      font-size: 15px;
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }

    .faq-item {
      border-bottom: 1px solid var(--border);
    }

    .faq-question {
      width: 100%;
      background: transparent;
      text-align: left;
      padding: 20px 0;
      font-size: 18px;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: var(--text);
      transition: background 0.2s;
    }

    .faq-question:hover {
      background: #F8FAFC;
    }

    .faq-icon {
      font-size: 24px;
      transition: transform 0.3s;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      color: var(--text-weak);
      font-size: 15px;
      padding: 0 0;
    }

    .faq-item.open .faq-answer {
      max-height: 200px;
      padding-bottom: 20px;
    }

    .faq-item.open .faq-icon {
      transform: rotate(45deg);
    }

    /* CTA */
    .cta-band {
      background: #EEF2FF;
      text-align: center;
      padding: 80px 0;
    }

    .btn-accent {
      background: var(--accent);
      color: white;
      padding: 16px 40px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 18px;
      transition: all var(--transition);
      display: inline-block;
      margin-top: 24px;
    }

    .btn-accent:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
    }

    /* Footer */
    .footer {
      background: #0F172A;
      color: #CBD5E1;
      padding: 48px 0 24px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 32px;
    }

    .footer-logo {
      font-weight: 700;
      font-size: 20px;
      color: white;
    }

    .footer a {
      color: #CBD5E1;
      font-size: 14px;
      transition: color 0.2s;
      display: block;
      margin-bottom: 8px;
    }

    .footer a:hover {
      color: white;
    }

    .copyright {
      border-top: 1px solid #1E293B;
      margin-top: 32px;
      padding-top: 24px;
      text-align: center;
      font-size: 13px;
      color: #64748B;
    }

    @media (max-width: 1024px) {
      .grid-3, .product-grid, .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .hero-grid {
        flex-direction: column;
        text-align: center;
      }
      .hero-buttons {
        justify-content: center;
      }
    }

    @media (max-width: 768px) {
      .header {
        height: 60px;
      }
      .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        gap: 16px;
      }
      .nav-links.active {
        display: flex;
      }
      .hamburger {
        display: flex;
      }
      .grid-3, .product-grid, .testimonial-grid {
        grid-template-columns: 1fr;
      }
      .scenario-row, .scenario-row.reverse {
        flex-direction: column;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .hero-text h1 {
        font-size: 32px;
      }
      .section {
        padding: 48px 0;
      }
    }
