/* roulang page: index */
:root {
      --primary: #1A1A1A;
      --soft-bg: #E8F0E8;
      --accent: #2E7D32;
      --accent-hover: #1B5E20;
      --danger: #C62828;
      --gray-bg: #F5F5F5;
      --white: #FFFFFF;
      --text-main: #333333;
      --text-muted: #666666;
      --border-light: rgba(0,0,0,0.04);
      --shadow-sm: 0 2px 12px rgba(0,0,0,0.04);
      --shadow-hover: 0 6px 24px rgba(0,0,0,0.08);
      --radius: 12px;
      --radius-btn: 8px;
      --font-mono: "SF Mono", "Menlo", "Consolas", monospace;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
    }
    * {
      box-sizing: border-box;
    }
    body {
      font-family: var(--font-sans);
      background-color: var(--gray-bg);
      color: var(--text-main);
      line-height: 1.7;
      margin: 0;
      padding: 0;
      overflow-x: hidden;
    }
    h1, h2, h3, h4 {
      font-weight: 600;
      color: var(--primary);
    }
    a {
      text-decoration: none;
      color: inherit;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }
    /* 按钮系统 */
    .btn-primary-custom {
      background: var(--accent);
      border: none;
      color: var(--white);
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      display: inline-block;
      text-align: center;
      box-shadow: 0 2px 6px rgba(46,125,50,0.2);
    }
    .btn-primary-custom:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
      box-shadow: 0 8px 18px rgba(46,125,50,0.3);
      color: white;
    }
    .btn-outline-custom {
      background: transparent;
      border: 1.5px solid var(--accent);
      color: var(--accent);
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      display: inline-block;
      text-align: center;
    }
    .btn-outline-custom:hover {
      background: var(--accent);
      color: white;
      transform: translateY(-2px);
    }
    /* 导航卡片化 */
    .navbar-card {
      background: var(--white);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      padding: 8px 24px;
      margin: 16px auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 16px;
      z-index: 1020;
      transition: box-shadow 0.3s ease;
      border: 1px solid var(--border-light);
    }
    .navbar-sticky-shadow {
      box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }
    .logo-text {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--primary);
      letter-spacing: -0.5px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .logo-icon {
      font-size: 1.8rem;
      color: var(--accent);
    }
    .nav-links {
      display: flex;
      gap: 8px;
      align-items: center;
      flex-wrap: wrap;
    }
    .nav-item-card {
      background: transparent;
      padding: 8px 14px;
      border-radius: 24px;
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--text-main);
      transition: all 0.2s;
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .nav-item-card i {
      font-size: 0.9rem;
      color: var(--accent);
    }
    .nav-item-card:hover {
      background: var(--soft-bg);
      color: var(--accent);
    }
    .mobile-bottom-nav {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: var(--white);
      border-top: 1px solid rgba(0,0,0,0.05);
      box-shadow: 0 -2px 10px rgba(0,0,0,0.02);
      z-index: 1030;
      padding: 10px 16px;
      justify-content: space-around;
    }
    .mobile-nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: 0.75rem;
      color: var(--text-muted);
      transition: 0.2s;
    }
    .mobile-nav-item i {
      font-size: 1.2rem;
      margin-bottom: 2px;
    }
    .mobile-nav-item.active {
      color: var(--accent);
      font-weight: 600;
    }
    /* Hero */
    .hero-section {
      padding: 60px 0 80px;
      background: linear-gradient(135deg, #E8F0E8 0%, #FFFFFF 100%);
    }
    .hero-data-card {
      background: var(--white);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      padding: 28px;
      display: flex;
      flex-direction: column;
      gap: 24px;
      border: 1px solid var(--border-light);
    }
    .data-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .data-label {
      font-size: 0.9rem;
      color: var(--text-muted);
    }
    .data-value {
      font-family: var(--font-mono);
      font-size: 2rem;
      font-weight: 700;
      color: var(--primary);
    }
    .pulse-dot {
      width: 10px;
      height: 10px;
      background: var(--accent);
      border-radius: 50%;
      display: inline-block;
      margin-left: 6px;
      animation: pulse 1.5s infinite;
    }
    @keyframes pulse {
      0% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(1.3); }
      100% { opacity: 1; transform: scale(1); }
    }
    /* 区块标题 */
    .section-title {
      font-size: 2rem;
      font-weight: 600;
      margin-bottom: 16px;
      text-align: center;
      position: relative;
      display: inline-block;
      left: 50%;
      transform: translateX(-50%);
    }
    .section-title::after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 20%;
      width: 60%;
      height: 3px;
      background: var(--accent);
      border-radius: 2px;
    }
    /* 卡片通用 */
    .custom-card {
      background: var(--white);
      border-radius: var(--radius);
      padding: 24px;
      border: 1px solid var(--border-light);
      box-shadow: var(--shadow-sm);
      transition: all 0.25s ease;
      height: 100%;
    }
    .custom-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
    .bg-soft {
      background: var(--soft-bg);
    }
    .tag {
      background: var(--soft-bg);
      color: var(--accent);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 500;
      display: inline-block;
      margin-right: 6px;
      margin-bottom: 6px;
    }
    .text-mono {
      font-family: var(--font-mono);
      font-weight: 600;
    }
    .compare-card {
      border-radius: var(--radius);
      padding: 28px;
      height: 100%;
    }
    .compare-bad {
      background: #fafafa;
      border: 1px solid #eee;
    }
    .compare-good {
      background: var(--white);
      border: 1px solid var(--accent);
      box-shadow: 0 4px 14px rgba(46,125,50,0.08);
    }
    .faq-accordion .accordion-button {
      background: var(--gray-bg);
      color: var(--primary);
      font-weight: 600;
      box-shadow: none;
      border-radius: 8px !important;
      padding: 18px 24px;
    }
    .faq-accordion .accordion-item {
      border: none;
      border-bottom: 1px solid #e0e0e0;
      background: transparent;
    }
    .faq-accordion .accordion-button:not(.collapsed) {
      background: var(--white);
      color: var(--accent);
    }
    .cta-dark {
      background: var(--primary);
      padding: 80px 0;
      text-align: center;
    }
    .footer-dark {
      background: var(--primary);
      color: #999;
      padding: 60px 0 30px;
    }
    .footer-dark a {
      color: #ccc;
      transition: 0.2s;
    }
    .footer-dark a:hover {
      color: white;
    }
    @media (max-width: 992px) {
      .navbar-card .nav-links {
        display: none;
      }
      .mobile-bottom-nav {
        display: flex;
      }
      .hero-section .row {
        flex-direction: column;
      }
    }
    @media (max-width: 768px) {
      .container {
        padding: 0 16px;
      }
      .section-title {
        font-size: 1.8rem;
      }
      .compare-row {
        flex-direction: column;
      }
    }
