/* roulang page: index */
:root {
      --primary: #4B3CFF;
      --primary-light: #7B6FFF;
      --primary-gradient: linear-gradient(135deg, #4B3CFF 0%, #7B6FFF 100%);
      --accent: #FFB84D;
      --accent-light: #FFF0D9;
      --success: #00B578;
      --warning: #FF9F0A;
      --danger: #FA5151;
      --bg: #F5F6FA;
      --surface: #FFFFFF;
      --dark-bg: #1A1B2F;
      --text-primary: #1F2329;
      --text-secondary: #86909C;
      --text-on-dark: #FFFFFF;
      --text-on-dark-secondary: #B0B3C7;
      --border-light: #E5E6EB;
      --shadow-card: 0px 2px 8px rgba(0,0,0,0.04), 0px 4px 16px rgba(0,0,0,0.04);
      --shadow-hover: 0px 6px 16px rgba(0,0,0,0.08), 0px 8px 24px rgba(0,0,0,0.06);
      --radius-lg: 12px;
      --radius-md: 8px;
      --radius-sm: 6px;
      --transition: 250ms ease-out;
      --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
      --max-width: 1200px;
      --nav-height: 64px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: var(--nav-height);
    }

    body {
      font-family: var(--font-stack);
      background-color: var(--bg);
      color: var(--text-primary);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color var(--transition);
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
      border: none;
      outline: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-weight: 600;
      transition: all var(--transition);
      border-radius: var(--radius-md);
      text-decoration: none;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
      width: 100%;
    }

    @media (max-width: 768px) {
      .container {
        padding: 0 16px;
      }
    }

    /* 导航 */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--nav-height);
      background: var(--surface);
      z-index: 1000;
      box-shadow: 0px 1px 0px var(--border-light);
      transition: box-shadow var(--transition);
    }

    .site-header.scrolled {
      box-shadow: 0px 1px 4px rgba(0,0,0,0.06);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 20px;
      color: var(--primary);
      letter-spacing: 0.5px;
    }

    .logo-icon {
      width: 32px;
      height: 32px;
      background: var(--primary-gradient);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 18px;
      box-shadow: 0 2px 8px rgba(75,60,255,0.3);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }

    .nav-links a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-primary);
      padding: 4px 0;
      border-bottom: 2px solid transparent;
      transition: color var(--transition), border-color var(--transition);
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
      border-bottom-color: var(--primary);
    }

    .btn-primary {
      background: var(--primary-gradient);
      color: white;
      padding: 12px 28px;
      font-size: 15px;
      font-weight: 600;
      border-radius: var(--radius-md);
      box-shadow: 0 4px 12px rgba(75,60,255,0.25);
    }

    .btn-primary:hover {
      transform: scale(1.02);
      box-shadow: 0 6px 18px rgba(75,60,255,0.4);
    }

    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--primary);
      color: var(--primary);
      padding: 12px 28px;
      font-weight: 600;
    }

    .btn-outline:hover {
      background: rgba(75,60,255,0.05);
    }

    .btn-ghost {
      background: transparent;
      border: 1.5px solid white;
      color: white;
      padding: 12px 28px;
      font-weight: 600;
    }

    .btn-ghost:hover {
      background: rgba(255,255,255,0.1);
    }

    .btn-accent {
      background: var(--accent);
      color: #1F2329;
      padding: 14px 32px;
      font-weight: 700;
      border-radius: var(--radius-md);
      box-shadow: 0 4px 12px rgba(255,184,77,0.4);
    }

    .btn-accent:hover {
      background: #FFA726;
      transform: scale(1.02);
    }

    .btn-text {
      color: var(--primary);
      font-weight: 500;
      border-bottom: 1.5px solid var(--primary);
      padding: 4px 0;
      background: transparent;
      border-radius: 0;
    }

    .btn-text:hover {
      border-bottom-color: transparent;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: transparent;
      border: none;
      cursor: pointer;
    }

    .hamburger span {
      width: 24px;
      height: 2px;
      background: var(--text-primary);
      border-radius: 2px;
      transition: var(--transition);
    }

    @media (max-width: 1024px) {
      .nav-links {
        gap: 20px;
      }
    }

    @media (max-width: 768px) {
      .hamburger {
        display: flex;
      }
      .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: var(--surface);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 40px 24px;
        gap: 28px;
        transform: translateX(100%);
        transition: transform var(--transition);
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        z-index: 999;
      }
      .nav-links.active {
        transform: translateX(0);
      }
      .header-inner .btn-primary {
        display: none;
      }
    }

    /* Hero */
    .hero {
      padding: calc(var(--nav-height) + 60px) 0 80px;
      background: radial-gradient(circle at 80% 20%, rgba(75,60,255,0.06) 0%, transparent 70%);
      min-height: 85vh;
      display: flex;
      align-items: center;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 48px;
      align-items: center;
    }

    .hero-content h1 {
      font-size: 48px;
      font-weight: 700;
      line-height: 1.2;
      color: var(--text-primary);
      margin-bottom: 20px;
      letter-spacing: -0.5px;
    }

    .hero-content .subtitle {
      font-size: 16px;
      color: var(--text-secondary);
      margin-bottom: 32px;
      max-width: 500px;
    }

    .hero-actions {
      display: flex;
      align-items: center;
      gap: 24px;
      flex-wrap: wrap;
    }

    .hero-image {
      background: var(--surface);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-card);
      aspect-ratio: 4/3;
      background-image: url('/assets/images/coverpic/cover-1.webp');
      background-size: cover;
      background-position: center;
      position: relative;
    }

    .hero-image::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(75,60,255,0.1) 0%, rgba(123,111,255,0.05) 100%);
    }

    @media (max-width: 768px) {
      .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .hero-content h1 {
        font-size: 36px;
      }
      .hero-actions {
        justify-content: center;
      }
      .hero-image {
        height: 250px;
      }
    }

    /* 板块通用 */
    .section {
      padding: 90px 0;
    }

    .section-title {
      font-size: 32px;
      font-weight: 600;
      margin-bottom: 16px;
      text-align: center;
      color: var(--text-primary);
    }

    .section-subtitle {
      font-size: 16px;
      color: var(--text-secondary);
      text-align: center;
      max-width: 640px;
      margin: 0 auto 48px;
    }

    /* 亮点网格 */
    .highlights-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .highlight-card {
      background: var(--surface);
      border-radius: var(--radius-lg);
      padding: 32px 24px;
      box-shadow: var(--shadow-card);
      transition: var(--transition);
      position: relative;
    }

    .highlight-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .highlight-icon {
      font-size: 36px;
      color: var(--primary);
      margin-bottom: 20px;
    }

    .highlight-card h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 12px;
    }

    .highlight-card p {
      color: var(--text-secondary);
      font-size: 14px;
      margin-bottom: 20px;
    }

    .badge {
      background: var(--accent-light);
      color: #1F2329;
      font-weight: 700;
      padding: 6px 16px;
      border-radius: 40px;
      font-size: 14px;
      display: inline-block;
    }

    @media (max-width: 1024px) {
      .highlights-grid {
        grid-template-columns: 1fr 1fr;
      }
    }
    @media (max-width: 640px) {
      .highlights-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 解决方案卡片 */
    .solutions-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .solution-card {
      background: var(--surface);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-card);
      transition: var(--transition);
    }

    .solution-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .card-img {
      height: 180px;
      background-size: cover;
      background-position: center;
      position: relative;
    }

    .card-img::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(75,60,255,0.12) 0%, rgba(123,111,255,0.05) 100%);
    }

    .card-body {
      padding: 24px;
    }

    .card-body h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .card-body p {
      font-size: 14px;
      color: var(--text-secondary);
      margin-bottom: 16px;
    }

    @media (max-width: 1024px) {
      .solutions-grid {
        grid-template-columns: 1fr 1fr;
      }
    }
    @media (max-width: 640px) {
      .solutions-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 对比表 */
    .compare-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      max-width: 900px;
      margin: 0 auto;
    }

    .compare-card {
      background: var(--surface);
      border-radius: var(--radius-lg);
      padding: 32px;
      box-shadow: var(--shadow-card);
    }

    .compare-card.recommended {
      background: rgba(75,60,255,0.04);
      border: 1px solid rgba(75,60,255,0.25);
      position: relative;
    }

    .recommend-tag {
      background: var(--accent);
      color: #1F2329;
      font-weight: 700;
      padding: 4px 16px;
      border-radius: 40px;
      font-size: 13px;
      position: absolute;
      top: -12px;
      right: 24px;
    }

    .compare-card h3 {
      font-size: 22px;
      margin-bottom: 12px;
    }

    .price {
      font-size: 28px;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 24px;
    }

    .feature-list {
      list-style: none;
      margin-bottom: 28px;
    }

    .feature-list li {
      padding: 8px 0;
      font-size: 15px;
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--text-primary);
    }

    .feature-list i {
      color: var(--success);
    }

    @media (max-width: 640px) {
      .compare-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 数据墙 */
    .dark-section {
      background: var(--dark-bg);
      color: white;
      position: relative;
      overflow: hidden;
    }

    .dark-section::before {
      content: '';
      position: absolute;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(75,60,255,0.15) 0%, transparent 70%);
      top: -50px;
      right: -50px;
    }

    .stats-grid {
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      gap: 32px;
      text-align: center;
      position: relative;
      z-index: 2;
    }

    .stat-item .number {
      font-size: 40px;
      font-weight: 700;
      color: var(--accent);
      line-height: 1.2;
    }

    .stat-item .label {
      font-size: 14px;
      color: var(--text-on-dark-secondary);
    }

    /* FAQ */
    .faq-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    .faq-item {
      background: var(--surface);
      border-radius: var(--radius-lg);
      padding: 20px 24px;
      box-shadow: var(--shadow-card);
      cursor: pointer;
      transition: var(--transition);
    }

    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 500;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      font-size: 14px;
      color: var(--text-secondary);
      margin-top: 0;
    }

    .faq-item.active .faq-answer {
      max-height: 120px;
      margin-top: 12px;
    }

    .faq-item.active .faq-question i {
      transform: rotate(180deg);
      color: var(--primary);
    }

    @media (max-width: 640px) {
      .faq-grid {
        grid-template-columns: 1fr;
      }
    }

    /* CTA 横幅 */
    .cta-banner {
      background: var(--dark-bg);
      padding: 80px 0;
      text-align: center;
    }

    .cta-banner h2 {
      color: white;
      font-size: 32px;
      margin-bottom: 16px;
    }

    .cta-banner p {
      color: var(--text-on-dark-secondary);
      margin-bottom: 32px;
    }

    /* 页脚 */
    .footer {
      background: var(--dark-bg);
      padding: 60px 0 30px;
      color: var(--text-on-dark-secondary);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 32px;
    }

    .footer h4 {
      color: white;
      margin-bottom: 20px;
      font-weight: 600;
    }

    .footer a {
      color: var(--text-on-dark-secondary);
      display: block;
      margin-bottom: 12px;
      font-size: 14px;
    }

    .footer a:hover {
      color: white;
    }

    .copyright {
      text-align: center;
      margin-top: 40px;
      font-size: 14px;
      color: #86909C;
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 24px;
    }

    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 480px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
