/* roulang page: index */
:root {
      --ink-black: #1A1A1A;
      --copper: #B87333;
      --copper-light: #D49A5A;
      --paper-white: #FDFDFC;
      --soft-gray: #F4F4F0;
      --text-secondary: #555555;
      --border-light: #E8E8E4;
      --footer-bg: #111111;
      --shadow-subtle: 0px 10px 30px -10px rgba(0, 0, 0, 0.08);
      --serif: 'Noto Serif SC', 'Times New Roman', serif;
      --sans: 'Noto Sans SC', 'Helvetica Neue', 'PingFang SC', sans-serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--sans);
      background-color: var(--paper-white);
      color: var(--ink-black);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: 1280px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 2rem;
      padding-right: 2rem;
    }

    /* 杂志风格排版 */
    h1, h2, h3, .serif {
      font-family: var(--serif);
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .section-padding {
      padding-top: 7.5rem;
      padding-bottom: 7.5rem;
    }

    /* 导航搜索中心 */
    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 80px;
      background: white;
      border-bottom: 1px solid var(--border-light);
    }

    .logo-text {
      font-family: var(--serif);
      font-weight: 700;
      font-size: 1.8rem;
      letter-spacing: 1px;
      color: var(--ink-black);
    }
    .logo-text .en {
      font-family: var(--sans);
      font-weight: 500;
      font-size: 1.2rem;
      margin-right: 6px;
      color: var(--copper);
    }

    .search-wrapper {
      position: relative;
      flex: 1;
      max-width: 360px;
      margin: 0 2rem;
    }
    .search-wrapper i {
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: #888;
      font-size: 1rem;
    }
    .search-wrapper input {
      width: 100%;
      height: 48px;
      padding-left: 2.8rem;
      padding-right: 1rem;
      background: var(--soft-gray);
      border: 1px solid transparent;
      border-radius: 4px;
      font-size: 0.95rem;
      outline: none;
      transition: all 0.2s;
    }
    .search-wrapper input:focus {
      border-color: var(--copper);
      background: white;
      box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.1);
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      font-weight: 500;
      font-size: 0.95rem;
    }
    .nav-links a {
      color: var(--ink-black);
      text-decoration: none;
      position: relative;
      padding: 0.25rem 0;
      transition: color 0.2s;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -2px;
      width: 0%;
      height: 2px;
      background: var(--copper);
      transition: width 0.25s ease;
    }
    .nav-links a:hover {
      color: var(--copper);
    }
    .nav-links a:hover::after {
      width: 100%;
    }

    /* 汉堡菜单 */
    .mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      font-size: 1.6rem;
      color: var(--ink-black);
      cursor: pointer;
    }

    /* 按钮 */
    .btn-primary {
      background: var(--ink-black);
      color: white;
      padding: 0.8rem 2.2rem;
      border-radius: 4px;
      font-weight: 600;
      font-size: 0.95rem;
      letter-spacing: 0.5px;
      display: inline-block;
      text-decoration: none;
      transition: background 0.2s, transform 0.1s;
      border: none;
      cursor: pointer;
    }
    .btn-primary:hover {
      background: var(--copper);
      transform: translateY(-1px);
    }
    .btn-outline {
      background: transparent;
      border: 1px solid var(--ink-black);
      color: var(--ink-black);
      padding: 0.8rem 2.2rem;
      border-radius: 4px;
      font-weight: 500;
      transition: all 0.2s;
      display: inline-block;
      text-decoration: none;
    }
    .btn-outline:hover {
      border-color: var(--copper);
      color: var(--copper);
    }

    /* Hero双栏 */
    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }
    .hero-image {
      background: #d9d9d5;
      height: 480px;
      border-radius: 0;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      position: relative;
    }
    .hero-image::after {
      content: '';
      position: absolute;
      top: 20px;
      left: 20px;
      right: -20px;
      bottom: -20px;
      border: 1px solid rgba(184, 115, 51, 0.6);
      z-index: 0;
      pointer-events: none;
    }

    /* 核心优势网格 */
    .highlight-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 3rem 2.5rem;
    }
    .highlight-card {
      display: flex;
      align-items: flex-start;
      gap: 1.5rem;
    }
    .hl-accent {
      width: 4px;
      min-height: 100%;
      background: var(--copper);
      flex-shrink: 0;
      border-radius: 2px;
    }

    /* 案例瀑布流 */
    .case-grid {
      column-count: 3;
      column-gap: 1.5rem;
    }
    .case-card {
      break-inside: avoid;
      margin-bottom: 1.5rem;
      background: white;
      border-radius: 0;
      transition: box-shadow 0.25s;
      cursor: pointer;
    }
    .case-card:hover {
      box-shadow: var(--shadow-subtle);
    }
    .case-img {
      width: 100%;
      display: block;
      object-fit: cover;
      background: #eaeaea;
      position: relative;
    }
    .case-overlay {
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(26,26,26,0.25);
      transition: opacity 0.3s;
    }
    .case-card:hover .case-overlay {
      opacity: 0;
    }

    /* 表格 */
    .compare-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.95rem;
    }
    .compare-table th {
      text-align: left;
      padding: 1rem 1.5rem;
      background: #F8F8F6;
      font-weight: 600;
    }
    .compare-table td {
      padding: 1rem 1.5rem;
      border-bottom: 1px solid var(--border-light);
    }
    .highlight-col {
      border-left: 3px solid var(--copper);
      border-right: 3px solid var(--copper);
      background: rgba(184,115,51,0.02);
    }

    /* FAQ */
    .faq-item {
      border-bottom: 1px solid var(--border-light);
      padding: 1.5rem 0;
    }
    .faq-question {
      font-weight: 600;
      font-size: 1.1rem;
      display: flex;
      align-items: center;
      gap: 1rem;
      cursor: pointer;
      color: var(--ink-black);
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, margin 0.2s;
      color: var(--text-secondary);
      line-height: 1.7;
      margin-left: 2.8rem;
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      margin-top: 0.8rem;
    }

    footer {
      background: var(--footer-bg);
      color: #ccc;
      padding: 4rem 0 2rem;
    }
    footer a {
      color: #ddd;
      text-decoration: none;
    }
    footer a:hover {
      color: var(--copper);
    }

    @media (max-width: 1024px) {
      .hero-grid { grid-template-columns: 1fr; }
      .hero-image { height: 320px; }
      .highlight-grid { grid-template-columns: repeat(2,1fr); }
      .case-grid { column-count: 2; }
    }
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .mobile-menu-btn { display: block; }
      .search-wrapper { max-width: 200px; margin: 0 1rem; }
      .highlight-grid { grid-template-columns: 1fr; }
      .case-grid { column-count: 1; }
      h1 { font-size: 2.4rem !important; }
    }
