/* roulang page: index */
:root {
      --primary-green: #0A5C36;
      --primary-green-dark: #074729;
      --accent-orange: #F85C1E;
      --accent-orange-dark: #D94A16;
      --bg-warm-gray: #F7F5F0;
      --bg-light-panel: #F0EDE8;
      --text-dark: #2C2C2C;
      --text-muted: #6B6B6B;
      --white: #FFFFFF;
      --border-light: #E8E5DF;
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 6px;
      --radius-panel: 8px;
      --shadow-card-hover: 0 12px 32px rgba(10,92,54,0.12);
      --shadow-btn-hover: 0 6px 18px rgba(248,92,30,0.3);
      --font-title: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
      --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
      --font-data: 'Inter', 'Noto Sans SC', sans-serif;
      --transition-smooth: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-body);
      background-color: var(--bg-warm-gray);
      color: var(--text-dark);
      line-height: 1.75;
      font-size: 16px;
      -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-smooth);
    }

    button {
      font-family: inherit;
      cursor: pointer;
      border: none;
      background: none;
    }

    .container {
      max-width: 1280px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }

    @media (min-width: 1024px) {
      .container {
        padding-left: 2rem;
        padding-right: 2rem;
      }
    }

    /* 杂志分栏流全局板块间距 */
    .section {
      padding-top: 5rem;
      padding-bottom: 5rem;
    }

    @media (max-width: 768px) {
      .section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
      }
    }

    /* 标题层级 */
    h1, h2, h3, h4 {
      font-family: var(--font-title);
      font-weight: 700;
      letter-spacing: -0.3px;
      color: var(--primary-green);
    }

    h1 {
      font-size: 2.25rem;
      line-height: 1.25;
      letter-spacing: -0.5px;
    }

    h2 {
      font-size: 1.75rem;
      line-height: 1.3;
    }

    h3 {
      font-size: 1.25rem;
      line-height: 1.4;
      color: var(--text-dark);
    }

    h4 {
      font-size: 1.125rem;
      line-height: 1.5;
      font-weight: 600;
    }

    @media (min-width: 1024px) {
      h1 {
        font-size: 3rem;
      }
      h2 {
        font-size: 2.25rem;
      }
    }

    /* 正文段落 */
    p, .text-body {
      color: var(--text-dark);
      font-weight: 400;
      font-size: 1rem;
      line-height: 1.75;
      max-width: 72ch;
    }

    .text-muted {
      color: var(--text-muted);
    }

    /* 按钮系统 */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.75rem 1.75rem;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 1rem;
      letter-spacing: 0.3px;
      transition: all var(--transition-smooth);
      text-align: center;
      white-space: nowrap;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .btn-primary {
      background-color: var(--accent-orange);
      color: white;
    }

    .btn-primary:hover {
      background-color: var(--accent-orange-dark);
      transform: translateY(-2px);
      box-shadow: var(--shadow-btn-hover);
    }

    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--primary-green);
      color: var(--primary-green);
    }

    .btn-outline:hover {
      background-color: rgba(10,92,54,0.08);
      transform: translateY(-2px);
    }

    .btn-white {
      background-color: white;
      color: var(--primary-green);
      font-weight: 700;
    }

    .btn-white:hover {
      background-color: #f0f0f0;
      transform: translateY(-2px);
    }

    /* 卡片样式 */
    .card {
      background: var(--white);
      border-radius: var(--radius-card);
      border: 1px solid var(--border-light);
      padding: 1.8rem;
      transition: all var(--transition-smooth);
    }

    .card:hover {
      box-shadow: var(--shadow-card-hover);
      transform: translateY(-3px);
      border-left: 3px solid var(--primary-green);
    }

    /* 装饰性标签 */
    .badge {
      display: inline-block;
      padding: 0.2rem 0.8rem;
      background-color: var(--accent-orange);
      color: white;
      border-radius: 20px;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.4px;
      text-transform: uppercase;
    }

    .badge-outline {
      background: transparent;
      color: var(--accent-orange);
      border: 1px solid var(--accent-orange);
    }

    /* 导航栏 */
    .navbar {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255,255,255,0.96);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--border-light);
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 70px;
    }

    .logo-area {
      display: flex;
      align-items: baseline;
      gap: 0.4rem;
    }

    .logo-main {
      font-family: var(--font-title);
      font-weight: 800;
      font-size: 1.5rem;
      color: var(--primary-green);
      letter-spacing: 0.5px;
    }

    .logo-sub {
      font-size: 0.75rem;
      color: var(--text-muted);
      font-weight: 500;
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      align-items: center;
    }

    .nav-links a {
      font-weight: 500;
      font-size: 0.95rem;
      color: var(--text-muted);
      padding-bottom: 4px;
      border-bottom: 2px solid transparent;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--accent-orange);
      border-bottom-color: var(--accent-orange);
    }

    .mobile-menu-toggle {
      display: none;
      font-size: 1.8rem;
      color: var(--primary-green);
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }
      .mobile-menu-toggle {
        display: block;
      }
    }

    /* 移动端抽屉菜单 */
    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      width: 75%;
      max-width: 320px;
      height: 100vh;
      background: var(--bg-warm-gray);
      box-shadow: -4px 0 20px rgba(0,0,0,0.1);
      z-index: 100;
      transform: translateX(100%);
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
      padding: 2rem 1.5rem;
    }

    .mobile-drawer.open {
      transform: translateX(0);
    }

    .drawer-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.4);
      z-index: 99;
      display: none;
    }

    .drawer-backdrop.show {
      display: block;
    }

    /* FAQ 折叠 */
    .faq-item {
      border-bottom: 1px solid var(--border-light);
    }

    .faq-question {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.2rem 0;
      font-weight: 600;
      font-size: 1.125rem;
      color: var(--primary-green);
      background: transparent;
      cursor: pointer;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      background: var(--bg-light-panel);
      border-radius: var(--radius-panel);
      padding: 0 1rem;
      margin-bottom: 0.5rem;
      transition: max-height 0.35s ease, padding 0.35s ease;
    }

    .faq-item.active .faq-answer {
      max-height: 200px;
      padding: 1rem;
    }

    .faq-icon {
      transition: transform 0.3s;
    }

    .faq-item.active .faq-icon {
      transform: rotate(45deg);
    }

    /* 瀑布流案例 */
    .masonry-grid {
      column-count: 3;
      column-gap: 1.5rem;
    }

    .masonry-item {
      break-inside: avoid;
      margin-bottom: 1.5rem;
    }

    @media (max-width: 1024px) {
      .masonry-grid {
        column-count: 2;
      }
    }

    @media (max-width: 640px) {
      .masonry-grid {
        column-count: 1;
      }
    }
