/* roulang page: index */
:root {
      --primary: #1A1A2E;
      --accent: #E94560;
      --bg: #FAFAFA;
      --card-bg: #FFFFFF;
      --text-primary: #1A1A2E;
      --text-secondary: #4A4A5A;
      --text-muted: #8A8A9A;
      --border: #E6E6EC;
      --shadow-sm: 0 2px 12px rgba(26,26,46,0.04);
      --shadow-md: 0 8px 28px rgba(26,26,46,0.10);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-pill: 6px;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
      --font-number: "Inter", "SF Pro Display", sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg);
      color: var(--text-primary);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: color 0.2s ease, border-bottom 0.2s;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    .main-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: #fff;
      box-shadow: 0 1px 0 var(--border);
    }

    .brand-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 0;
    }

    .logo {
      font-size: 1.8rem;
      font-weight: 700;
      letter-spacing: -0.5px;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .logo i {
      color: var(--accent);
      font-size: 2rem;
    }

    .brand-actions {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .search-icon {
      font-size: 1.2rem;
      color: var(--text-secondary);
      cursor: pointer;
      transition: color 0.2s;
    }
    .search-icon:hover { color: var(--accent); }

    .btn-small {
      padding: 8px 18px;
      font-size: 0.9rem;
      font-weight: 600;
      background: var(--accent);
      color: #fff;
      border-radius: var(--radius-btn);
      border: none;
      transition: background 0.2s ease, transform 0.2s;
    }
    .btn-small:hover {
      background: #C93550;
      transform: scale(1.03);
    }

    .tabs-row {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0 0 12px;
      overflow-x: auto;
      white-space: nowrap;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    .tabs-row::-webkit-scrollbar { display: none; }

    .tab-item {
      font-size: 0.95rem;
      font-weight: 500;
      color: var(--text-secondary);
      padding: 8px 14px;
      border-radius: 20px;
      transition: all 0.2s ease;
      position: relative;
    }
    .tab-item:hover, .tab-item.active {
      color: var(--accent);
      background: rgba(233,69,96,0.06);
    }

    /* Hero */
    .hero {
      background: #F5F5F8;
      min-height: 70vh;
      display: flex;
      align-items: center;
      padding: 40px 0 60px;
    }
    .hero .container {
      display: flex;
      align-items: center;
      gap: 48px;
      flex-wrap: wrap;
    }
    .hero-left {
      flex: 1 1 50%;
    }
    .hero-right {
      flex: 1 1 45%;
      position: relative;
    }

    h1 {
      font-size: 3rem;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 1.2rem;
      color: var(--primary);
    }
    .hero-sub {
      font-size: 1.1rem;
      color: var(--text-secondary);
      margin-bottom: 2rem;
      max-width: 90%;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 2.2rem;
    }
    .btn-primary {
      background: var(--accent);
      color: #fff;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      border: none;
      font-size: 1rem;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .btn-primary:hover {
      background: #C93550;
      transform: scale(1.03);
      color: #fff;
    }
    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--primary);
      color: var(--primary);
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 1rem;
      transition: all 0.2s ease;
    }
    .btn-outline:hover {
      background: var(--primary);
      color: #fff;
    }
    .hero-stats {
      display: flex;
      gap: 28px;
      flex-wrap: wrap;
    }
    .stat-item {
      display: flex;
      flex-direction: column;
    }
    .stat-number {
      font-family: var(--font-number);
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--accent);
    }
    .stat-label {
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    .hero-visual {
      background: linear-gradient(135deg, #1A1A2E 0%, #2D2D44 100%);
      border-radius: 28px;
      width: 100%;
      aspect-ratio: 1 / 0.9;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      box-shadow: 0 20px 35px rgba(0,0,0,0.15);
    }

    /* 板块通用 */
    .section {
      padding: 80px 0;
    }
    .section-title {
      font-size: 2.2rem;
      font-weight: 600;
      margin-bottom: 12px;
      color: var(--primary);
    }
    .section-sub {
      color: var(--text-secondary);
      margin-bottom: 40px;
      font-size: 1rem;
    }

    /* 亮点网格 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .feature-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-card);
      padding: 28px;
      box-shadow: var(--shadow-sm);
      transition: all 0.25s ease;
    }
    .feature-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
      border-color: var(--primary);
    }
    .feature-icon {
      font-size: 2rem;
      color: var(--accent);
      margin-bottom: 16px;
    }
    .feature-card h3 {
      font-size: 1.35rem;
      font-weight: 600;
      margin-bottom: 10px;
    }
    .feature-card p {
      color: var(--text-muted);
      font-size: 0.9rem;
      line-height: 1.5;
    }

    /* 案例瀑布流 */
    .cases-masonry {
      columns: 3;
      column-gap: 20px;
    }
    .case-card {
      break-inside: avoid;
      margin-bottom: 20px;
      background: #fff;
      border-radius: var(--radius-card);
      border: 1px solid var(--border);
      overflow: hidden;
      transition: all 0.25s ease;
    }
    .case-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }
    .case-img {
      width: 100%;
      display: block;
      transition: transform 0.3s;
    }
    .case-card:hover .case-img {
      transform: scale(1.04);
    }
    .case-body {
      padding: 18px;
    }
    .case-body h3 {
      font-size: 1.2rem;
      font-weight: 600;
    }
    .pill {
      display: inline-block;
      background: #F0F0F5;
      color: var(--text-secondary);
      font-size: 0.7rem;
      padding: 4px 10px;
      border-radius: 20px;
      margin: 8px 0;
    }
    .case-desc {
      font-size: 0.9rem;
      color: var(--text-muted);
    }

    /* 方案对比 */
    .compare-grid {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
    }
    .plan-card {
      background: #fff;
      border-radius: var(--radius-card);
      padding: 28px;
      flex: 1 1 250px;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
      position: relative;
      transition: 0.2s;
    }
    .plan-card.recommended {
      border-top: 4px solid var(--accent);
    }
    .badge-recommend {
      background: var(--accent);
      color: #fff;
      font-size: 0.7rem;
      padding: 4px 12px;
      border-radius: 20px;
      position: absolute;
      top: -12px;
      right: 20px;
    }
    .plan-name {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .plan-list {
      list-style: none;
      margin: 20px 0;
    }
    .plan-list li {
      margin-bottom: 10px;
      color: var(--text-secondary);
    }
    .plan-list i {
      color: var(--accent);
      margin-right: 8px;
    }

    /* FAQ */
    .faq-item {
      border-bottom: 1px solid var(--border);
      padding: 16px 0;
    }
    .faq-question {
      font-weight: 600;
      font-size: 1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-secondary);
      font-size: 0.95rem;
    }
    .faq-item.open .faq-answer {
      max-height: 200px;
      margin-top: 12px;
    }

    /* CTA */
    .cta-banner {
      background: #1A1A2E;
      padding: 70px 24px;
      text-align: center;
      color: #fff;
    }
    .cta-banner h2 {
      font-size: 2.4rem;
      font-weight: 600;
    }
    .cta-banner p {
      color: #ccc;
      margin: 16px 0 28px;
    }
    .btn-large {
      background: var(--accent);
      padding: 16px 40px;
      font-size: 1.1rem;
      border-radius: 40px;
      font-weight: 600;
      color: #fff;
    }

    /* 页脚 */
    .footer {
      background: #1A1A2E;
      color: #B0B0C0;
      padding: 48px 0 20px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: repeat(4,1fr);
      gap: 30px;
    }
    .footer a:hover { color: #fff; }

    @media (max-width: 1024px) {
      .features-grid { grid-template-columns: repeat(2,1fr); }
      .cases-masonry { columns: 2; }
    }
    @media (max-width: 640px) {
      h1 { font-size: 2.2rem; }
      .hero .container { flex-direction: column; }
      .features-grid { grid-template-columns: 1fr; }
      .cases-masonry { columns: 1; }
      .footer-grid { grid-template-columns: 1fr; }
    }
