/* roulang page: index */
:root {
      --primary: #E8553A;
      --primary-hover: #D1482F;
      --primary-light: #FFF0EC;
      --secondary: #1C1C1E;
      --accent: #2D9CDB;
      --bg-warm: #F5F0EB;
      --bg-light: #FAFAFA;
      --white: #FFFFFF;
      --gray-text: #6B6B7B;
      --border-light: #E5E5E5;
      --shadow-sm: 0 2px 12px rgba(0,0,0,0.04);
      --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
      --radius-md: 16px;
      --radius-pill: 40px;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
      --font-number: "Inter", "SF Pro Display", system-ui, sans-serif;
      --max-width: 1280px;
      --nav-height: 72px;
      transition: all 0.2s ease;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: var(--font-sans);
      background: var(--bg-warm);
      color: var(--secondary);
      line-height: 1.75;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      padding-top: 80px;
    }
    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }
    img {
      max-width: 100%;
      display: block;
      height: auto;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s;
    }
    button, .btn {
      cursor: pointer;
      font-family: inherit;
      border: none;
      background: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-weight: 600;
      transition: all 0.3s ease;
    }
    h1, h2, h3, h4 {
      font-weight: 700;
      line-height: 1.25;
    }
    h1 { font-size: 56px; }
    h2 { font-size: 42px; font-weight: 600; }
    h3 { font-size: 24px; font-weight: 600; }
    h4 { font-size: 18px; font-weight: 500; }
    .section {
      padding: 90px 0;
      scroll-margin-top: 80px;
    }
    .btn-primary {
      background: var(--primary);
      color: white;
      border-radius: var(--radius-pill);
      padding: 14px 32px;
      font-size: 16px;
      font-weight: 600;
      box-shadow: 0 4px 12px rgba(232,85,58,0.25);
    }
    .btn-primary:hover {
      background: var(--primary-hover);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(232,85,58,0.35);
    }
    .btn-outline {
      background: transparent;
      color: var(--primary);
      border: 2px solid var(--primary);
      border-radius: var(--radius-pill);
      padding: 12px 32px;
      font-weight: 600;
    }
    .btn-outline:hover {
      background: var(--primary-light);
      border-color: var(--primary-hover);
      color: var(--primary-hover);
    }
    .btn-white {
      background: white;
      color: var(--primary);
      border-radius: var(--radius-pill);
      padding: 14px 32px;
      font-weight: 600;
    }
    .btn-white-outline {
      background: transparent;
      color: white;
      border: 2px solid white;
      border-radius: var(--radius-pill);
      padding: 12px 32px;
      font-weight: 600;
    }
    .btn-white-outline:hover {
      background: rgba(255,255,255,0.15);
    }
    .text-accent { color: var(--accent); }
    .text-gray { color: var(--gray-text); }
    .bg-dark { background: var(--secondary); color: white; }
    .bg-warm { background: var(--bg-warm); }

    /* 导航 */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--nav-height);
      z-index: 1000;
      display: flex;
      align-items: center;
      background: transparent;
      transition: background 0.3s, box-shadow 0.3s;
    }
    .navbar.scrolled {
      background: white;
      box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    }
    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }
    .logo {
      font-size: 24px;
      font-weight: 700;
      color: var(--primary);
      display: flex;
      align-items: baseline;
      gap: 4px;
      letter-spacing: 0.5px;
    }
    .logo small {
      font-size: 14px;
      font-weight: 400;
      color: var(--secondary);
      opacity: 0.8;
    }
    .nav-links {
      display: flex;
      gap: 40px;
      align-items: center;
      list-style: none;
    }
    .nav-links a {
      font-size: 15px;
      font-weight: 500;
      color: var(--secondary);
      position: relative;
      padding: 4px 0;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width 0.25s;
    }
    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }
    .menu-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
    }
    .menu-toggle span {
      width: 25px;
      height: 2px;
      background: var(--secondary);
      transition: 0.3s;
      display: block;
    }
    .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: white;
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 32px;
      z-index: 999;
      font-size: 20px;
    }
    .mobile-menu.active {
      display: flex;
    }

    /* Hero */
    .hero {
      display: flex;
      min-height: calc(100vh - 80px);
      background: var(--white);
    }
    .hero-left {
      flex: 0 0 55%;
      display: flex;
      align-items: center;
      padding: 40px 60px 40px 24px;
      background: white;
    }
    .hero-content {
      max-width: 600px;
    }
    .hero-content h1 {
      margin-bottom: 24px;
    }
    .hero-sub {
      font-size: 18px;
      color: var(--gray-text);
      margin-bottom: 32px;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .hero-right {
      flex: 0 0 45%;
      background: linear-gradient(135deg, rgba(232,85,58,0.75) 0%, rgba(232,85,58,0.45) 100%), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      position: relative;
      display: flex;
      align-items: flex-end;
      justify-content: flex-end;
      padding: 48px;
    }
    .floating-badge {
      background: rgba(0,0,0,0.5);
      backdrop-filter: blur(8px);
      color: white;
      padding: 12px 24px;
      border-radius: 60px;
      font-weight: 700;
      font-size: 18px;
      letter-spacing: 1px;
      font-family: var(--font-number);
    }
    .scroll-hint {
      position: absolute;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%);
      color: white;
      font-size: 28px;
      animation: bounce 2s infinite;
    }
    @keyframes bounce {
      0%,100%{transform:translate(-50%,0);}
      50%{transform:translate(-50%,8px);}
    }

    /* 网格亮点 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .feature-card {
      background: white;
      border-radius: var(--radius-md);
      padding: 32px;
      box-shadow: var(--shadow-sm);
      transition: 0.3s;
    }
    .feature-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-4px);
    }
    .feature-card.large {
      grid-column: span 2;
      display: flex;
      flex-direction: column;
      background: url('/assets/images/backpic/back-2.webp') center/cover no-repeat;
      color: white;
      justify-content: flex-end;
      min-height: 320px;
      position: relative;
      overflow: hidden;
    }
    .feature-card.large::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    }
    .feature-card.large h3, .feature-card.large p {
      position: relative;
    }
    .icon-placeholder {
      font-size: 36px;
      color: var(--primary);
      margin-bottom: 16px;
    }

    /* 案例瀑布 */
    .masonry {
      column-count: 3;
      column-gap: 20px;
    }
    .masonry-item {
      break-inside: avoid;
      background: white;
      border-radius: var(--radius-md);
      margin-bottom: 20px;
      box-shadow: var(--shadow-sm);
      transition: 0.3s;
      overflow: hidden;
    }
    .masonry-item:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-md);
    }
    .masonry-item img {
      width: 100%;
      transition: transform 0.4s;
    }
    .masonry-item:hover img {
      transform: scale(1.03);
    }
    .masonry-text {
      padding: 20px;
    }
    .tag {
      background: var(--primary-light);
      color: var(--primary);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 13px;
      font-weight: 600;
      display: inline-block;
      margin-bottom: 8px;
    }

    /* 对比卡 */
    .compare-row {
      display: flex;
      gap: 32px;
      align-items: stretch;
    }
    .compare-card {
      flex: 1;
      background: white;
      border-radius: var(--radius-md);
      padding: 40px;
      box-shadow: var(--shadow-sm);
    }
    .compare-card.muted {
      background: #f0f0f0;
      color: #888;
    }
    .compare-card.featured {
      border: 2px solid var(--primary);
      position: relative;
    }
    .badge-recommend {
      position: absolute;
      top: -14px;
      right: 24px;
      background: var(--primary);
      color: white;
      padding: 6px 20px;
      border-radius: 20px;
      font-weight: 700;
    }
    .compare-list {
      list-style: none;
      margin-top: 24px;
    }
    .compare-list li {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 0;
      border-bottom: 1px solid var(--border-light);
    }

    /* 数据带 */
    .stats-band {
      background: var(--secondary);
      padding: 70px 0;
    }
    .stats-grid {
      display: flex;
      justify-content: space-around;
      text-align: center;
    }
    .stat-number {
      font-size: 48px;
      font-weight: 700;
      font-family: var(--font-number);
      color: white;
    }
    .stat-label {
      color: #aaa;
      font-size: 14px;
    }

    /* FAQ */
    .faq-layout {
      display: flex;
      gap: 40px;
    }
    .faq-filter {
      flex: 0 0 200px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .filter-btn {
      text-align: left;
      padding: 12px 16px;
      border-radius: 12px;
      font-weight: 500;
      color: var(--gray-text);
      transition: 0.2s;
    }
    .filter-btn.active, .filter-btn:hover {
      background: var(--primary-light);
      color: var(--primary);
      font-weight: 600;
    }
    .accordion {
      flex: 1;
    }
    .accordion-item {
      border-bottom: 1px solid var(--border-light);
    }
    .accordion-header {
      width: 100%;
      text-align: left;
      padding: 20px 0;
      font-size: 18px;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .accordion-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--gray-text);
      line-height: 1.8;
    }
    .accordion-content.open {
      max-height: 200px;
      padding-bottom: 20px;
    }
    .icon-toggle {
      transition: transform 0.2s;
    }
    .rotate {
      transform: rotate(45deg);
    }

    /* CTA横幅 */
    .cta-band {
      background: var(--primary);
      padding: 80px 24px;
      text-align: center;
      color: white;
    }
    .cta-band h2 {
      color: white;
      margin-bottom: 16px;
    }
    .cta-buttons {
      display: flex;
      gap: 16px;
      justify-content: center;
      margin-top: 32px;
    }

    /* 页脚 */
    .footer {
      background: var(--secondary);
      color: #ccc;
      padding: 60px 0 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }
    .footer a:hover {
      color: var(--primary);
    }

    @media (max-width: 1024px) {
      h1 { font-size: 42px; }
      h2 { font-size: 34px; }
      .hero { flex-direction: column; }
      .hero-left, .hero-right { flex: auto; }
      .hero-right { min-height: 350px; }
      .features-grid { grid-template-columns: repeat(2,1fr); }
      .masonry { column-count: 2; }
      .compare-row { flex-direction: column; }
    }
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .menu-toggle { display: flex; }
      .features-grid { grid-template-columns: 1fr; }
      .feature-card.large { grid-column: span 1; }
      .masonry { column-count: 1; }
      .faq-layout { flex-direction: column; }
      .stats-grid { flex-wrap: wrap; gap: 30px; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .hero-left { padding: 32px 16px; }
    }
