/* roulang page: index */
:root {
      --primary: #5B2D8E;
      --primary-light: #7B3FCE;
      --accent: #00E5A8;
      --dark-bg: #1E1B2C;
      --gray-bg: #F7F5FA;
      --card-bg: #FFFFFF;
      --panel-bg: #F0EDF5;
      --text-main: #1E1B2C;
      --text-secondary: #5C5A6B;
      --border-light: #E8E3F0;
      --input-border: #D9D2E8;
      --warning: #FF6B3D;
      --shadow-card: 0 8px 30px rgba(91, 45, 142, 0.08);
      --shadow-nav: 0 2px 20px rgba(0, 0, 0, 0.05);
      --radius-lg: 12px;
      --radius-md: 8px;
      --radius-pill: 50px;
      --transition: 0.2s ease;
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Inter', 'Segoe UI', system-ui, sans-serif;
      background-color: var(--gray-bg);
      color: var(--text-main);
      line-height: 1.6;
      margin: 0;
      padding: 0;
      overflow-x: hidden;
    }

    h1, h2, h3, h4, h5, h6 {
      font-weight: 700;
      letter-spacing: -0.3px;
    }

    h1 {
      font-size: 36px;
      line-height: 48px;
      letter-spacing: -0.5px;
    }

    h2 {
      font-size: 28px;
      line-height: 40px;
    }

    h3 {
      font-size: 22px;
      line-height: 32px;
      font-weight: 600;
    }

    p {
      font-size: 16px;
      line-height: 28px;
      font-weight: 400;
      margin-bottom: 24px;
      max-width: 680px;
    }

    .small-text {
      font-size: 13px;
      line-height: 20px;
      font-weight: 500;
    }

    .container {
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 15px;
      padding-right: 15px;
    }

    a {
      color: var(--primary);
      text-decoration: none;
      transition: var(--transition);
    }

    a:hover {
      color: var(--accent);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    /* 导航样式 */
    .navbar-custom {
      background: #FFFFFF;
      padding: 0;
      box-shadow: none;
      transition: var(--transition);
      position: sticky;
      top: 0;
      z-index: 1020;
      width: 100%;
    }

    .navbar-scrolled {
      box-shadow: var(--shadow-nav);
    }

    .nav-top-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 0;
      border-bottom: 1px solid var(--border-light);
    }

    .logo-brand {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 22px;
      color: var(--primary);
      text-decoration: none;
    }

    .logo-icon {
      width: 32px;
      height: 32px;
      background: conic-gradient(from 90deg at 50% 50%, var(--primary) 0deg, var(--accent) 180deg, var(--primary) 360deg);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 18px;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .search-icon-btn {
      background: none;
      border: none;
      color: var(--text-main);
      font-size: 18px;
      cursor: pointer;
      padding: 8px;
    }

    .btn-cta {
      background: var(--accent);
      color: #FFFFFF;
      font-weight: 600;
      border-radius: var(--radius-md);
      padding: 10px 24px;
      border: none;
      transition: var(--transition);
      font-size: 14px;
      white-space: nowrap;
    }

    .btn-cta:hover {
      background: #00cc96;
      box-shadow: 0 4px 12px rgba(0, 229, 168, 0.4);
      color: #fff;
    }

    .channel-tabs-row {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 0;
      overflow-x: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .channel-tabs-row::-webkit-scrollbar {
      display: none;
    }

    .pill-tab {
      background: transparent;
      color: var(--text-main);
      border-radius: var(--radius-pill);
      padding: 6px 16px;
      font-size: 13px;
      font-weight: 500;
      border: none;
      white-space: nowrap;
      transition: var(--transition);
      cursor: pointer;
    }

    .pill-tab.active {
      background: var(--primary);
      color: white;
    }

    .pill-tab:hover:not(.active) {
      background: rgba(91, 45, 142, 0.07);
    }

    /* 按钮通用 */
    .btn-primary-custom {
      background: var(--accent);
      border: none;
      color: #fff;
      font-weight: 600;
      padding: 12px 28px;
      border-radius: var(--radius-md);
      transition: var(--transition);
    }

    .btn-primary-custom:hover {
      background: #00cc96;
      box-shadow: 0 4px 12px rgba(0, 229, 168, 0.45);
      color: white;
    }

    .btn-outline-custom {
      background: transparent;
      border: 1.5px solid var(--primary);
      color: var(--primary);
      font-weight: 600;
      padding: 12px 28px;
      border-radius: var(--radius-md);
      transition: var(--transition);
    }

    .btn-outline-custom:hover {
      background: rgba(91, 45, 142, 0.08);
      color: var(--primary);
    }

    .btn-light-outline {
      border: 1.5px solid white;
      color: white;
      background: transparent;
      font-weight: 600;
      padding: 12px 28px;
      border-radius: var(--radius-md);
    }

    .btn-light-outline:hover {
      background: rgba(255,255,255,0.15);
      color: white;
    }

    /* Hero */
    .hero-section {
      padding: 80px 0;
      background-color: var(--gray-bg);
      position: relative;
      overflow: hidden;
    }

    .hero-bg-texture {
      position: absolute;
      right: 0;
      top: 0;
      width: 50%;
      height: 100%;
      background-image: radial-gradient(circle at 20% 30%, rgba(91,45,142,0.05) 1px, transparent 1px);
      background-size: 40px 40px;
      pointer-events: none;
    }

    .hero-title {
      color: var(--text-main);
    }

    .hero-sub {
      color: var(--text-secondary);
      font-size: 16px;
    }

    .hero-image-wrapper {
      position: relative;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(91,45,142,0.15);
    }

    .hero-image-wrapper img {
      width: 100%;
      height: auto;
      aspect-ratio: 4/3;
      object-fit: cover;
      border-radius: var(--radius-lg);
    }

    /* 数字网格 */
    .stats-grid {
      background: #FFFFFF;
      padding: 48px 0;
    }

    .stat-item {
      text-align: left;
      padding: 20px 0;
      border-right: 1px solid var(--border-light);
    }

    .stat-item:last-child {
      border-right: none;
    }

    .stat-number {
      font-size: 48px;
      font-weight: 700;
      color: var(--accent);
      line-height: 1.2;
    }

    .stat-title {
      font-size: 18px;
      font-weight: 600;
      margin: 8px 0;
    }

    .stat-desc {
      font-size: 14px;
      color: var(--text-secondary);
    }

    /* 产品瀑布流 */
    .product-grid {
      padding: 80px 0;
    }

    .product-card {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-card);
      transition: var(--transition);
      margin-bottom: 30px;
    }

    .product-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 35px rgba(91,45,142,0.12);
    }

    .product-img {
      position: relative;
      overflow: hidden;
      aspect-ratio: 16/10;
    }

    .product-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 0;
      transition: transform 0.3s ease;
    }

    .product-card:hover .product-img img {
      transform: scale(1.03);
    }

    .product-img::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(180deg, rgba(91,45,142,0.1) 0%, transparent 60%);
      opacity: 0;
      transition: 0.3s;
    }

    .product-card:hover .product-img::after {
      opacity: 1;
    }

    .product-body {
      padding: 20px;
    }

    .tag-group {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 12px 0;
    }

    .pill-tag {
      background: var(--panel-bg);
      color: var(--primary);
      border-radius: var(--radius-pill);
      padding: 4px 12px;
      font-size: 12px;
      font-weight: 500;
    }

    /* 对比卡 */
    .pricing-section {
      background: var(--gray-bg);
      padding: 80px 0;
    }

    .pricing-card {
      background: white;
      border-radius: var(--radius-lg);
      padding: 32px 24px;
      box-shadow: var(--shadow-card);
      transition: var(--transition);
      height: 100%;
      position: relative;
      border: 1px solid transparent;
    }

    .pricing-card.popular {
      border-color: var(--primary);
      transform: translateY(-8px);
      box-shadow: 0 15px 35px rgba(91,45,142,0.15);
    }

    .popular-badge {
      background: var(--primary);
      color: white;
      font-size: 12px;
      padding: 4px 14px;
      border-radius: var(--radius-pill);
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
    }

    .price-text {
      font-size: 28px;
      font-weight: 700;
      color: var(--text-main);
    }

    .feature-list {
      list-style: none;
      padding: 0;
      margin: 20px 0;
    }

    .feature-list li {
      padding: 8px 0;
      font-size: 14px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .feature-list i.fa-check {
      color: var(--accent);
    }

    /* FAQ */
    .faq-section {
      padding: 80px 0;
      background: white;
    }

    .accordion-custom .accordion-item {
      border: none;
      margin-bottom: 12px;
      border-radius: var(--radius-md);
      box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    }

    .accordion-custom .accordion-button {
      background: white;
      font-weight: 600;
      font-size: 16px;
      color: var(--text-main);
      border-radius: var(--radius-md);
      padding: 16px 20px;
      box-shadow: none;
      border-left: 4px solid var(--primary);
    }

    .accordion-custom .accordion-button:not(.collapsed) {
      background: #FAF8FD;
      color: var(--primary);
      border-left-color: var(--accent);
      border-left-width: 6px;
    }

    .accordion-custom .accordion-body {
      font-size: 15px;
      color: var(--text-secondary);
      padding: 20px;
    }

    /* 联系CTA */
    .cta-dark {
      background: var(--dark-bg);
      padding: 80px 0;
      color: white;
      position: relative;
      overflow: hidden;
    }

    .cta-dark::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
      background-size: 30px 30px;
    }

    /* Footer */
    .footer-section {
      background: #FFFFFF;
      padding: 60px 0 30px;
      border-top: 1px solid var(--border-light);
    }

    .footer-links {
      list-style: none;
      padding: 0;
    }

    .footer-links li a {
      color: var(--text-secondary);
      font-size: 14px;
      line-height: 2;
    }

    .footer-links li a:hover {
      color: var(--accent);
    }

    @media (max-width: 768px) {
      h1 { font-size: 28px; line-height: 38px; }
      h2 { font-size: 24px; }
      .hero-section { padding: 48px 0; }
      .stat-item { border-right: none; border-bottom: 1px solid var(--border-light); }
      .pricing-card.popular { transform: none; }
    }
