/* roulang page: index */
/* 设计变量与全局重置 */
    :root {
      --primary: #E94E1B;
      --primary-hover: #C43D12;
      --secondary: #1A1A2E;
      --accent: #00B4A6;
      --bg: #F5F0EB;
      --bg-white: #FFFFFF;
      --text: #2D2D2D;
      --text-muted: #6B6B6B;
      --border-light: #F0EDE9;
      --divider: #D9D9D9;
      --shadow-card: 0px 4px 20px rgba(26,26,46,0.06);
      --shadow-hover: 0px 12px 32px rgba(26,26,46,0.10);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 6px;
      --radius-capsule: 40px;
      --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
      --transition: 0.25s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.6;
      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;
    }

    button, input, textarea {
      font-family: inherit;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 40px;
    }

    /* 排版 */
    h1, h2, h3, .score-number {
      font-weight: 600;
      letter-spacing: -0.5px;
    }

    h1 {
      font-size: 48px;
      line-height: 1.2;
      font-weight: 700;
      color: var(--secondary);
    }

    h2 {
      font-size: 32px;
      line-height: 1.25;
      color: var(--secondary);
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 16px;
    }
    h2::after {
      content: '';
      display: inline-block;
      width: 40px;
      height: 4px;
      background: var(--primary);
      border-radius: 2px;
      margin-left: 8px;
    }

    h3 {
      font-size: 20px;
      line-height: 1.4;
      color: var(--text);
    }

    .text-muted {
      color: var(--text-muted);
      font-size: 13px;
      line-height: 1.5;
    }

    /* 按钮系统 */
    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: none;
      cursor: pointer;
      transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
      white-space: nowrap;
    }
    .btn-primary:hover {
      background: var(--primary-hover);
      transform: scale(1.02);
      box-shadow: 0 8px 24px rgba(233,78,27,0.25);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--secondary);
      color: var(--secondary);
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: all var(--transition);
      cursor: pointer;
    }
    .btn-outline:hover {
      background: var(--secondary);
      color: white;
    }

    .text-link {
      color: var(--accent);
      font-weight: 500;
      border-bottom: 1px solid var(--accent);
      transition: border-width 0.2s;
    }
    .text-link:hover {
      border-bottom-width: 2px;
    }

    /* 卡片基础 */
    .card {
      background: var(--bg-white);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      border: 1px solid var(--border-light);
      padding: 24px;
      transition: all var(--transition);
    }
    .card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    /* 导航胶囊 */
    .nav-capsule {
      position: fixed;
      top: 16px;
      left: 50%;
      transform: translateX(-50%);
      width: auto;
      max-width: 90%;
      background: rgba(26,26,46,0.78);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-radius: var(--radius-capsule);
      padding: 8px 28px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      z-index: 1000;
      color: white;
      box-shadow: 0 8px 28px rgba(0,0,0,0.2);
      transition: background 0.3s, box-shadow 0.3s;
      gap: 20px;
    }
    .nav-capsule.scrolled {
      background: rgba(245,240,235,0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      color: var(--secondary);
      box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    }
    .logo {
      font-weight: 700;
      font-size: 1.4rem;
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
      color: inherit;
    }
    .logo-icon {
      font-size: 1.6rem;
      line-height: 1;
    }
    .nav-links {
      display: flex;
      gap: 24px;
      align-items: center;
      font-weight: 500;
    }
    .nav-links a {
      color: inherit;
      opacity: 0.85;
      transition: opacity 0.2s;
      font-size: 0.95rem;
    }
    .nav-links a:hover {
      opacity: 1;
    }
    .nav-cta {
      background: var(--primary);
      color: white;
      padding: 8px 20px;
      border-radius: 30px;
      font-weight: 600;
      transition: background 0.2s;
    }
    .nav-cta:hover {
      background: var(--primary-hover);
    }

    .hamburger {
      display: none;
      background: none;
      border: none;
      color: inherit;
      font-size: 1.8rem;
      cursor: pointer;
    }

    /* 板块间距 */
    section {
      padding: 100px 0;
    }

    /* 网格辅助 */
    .grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    /* Hero */
    .hero-image {
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 20px 35px rgba(0,0,0,0.15);
    }

    /* 比分卡片 */
    .score-card {
      background: white;
      border-radius: var(--radius-card);
      padding: 16px 20px;
      display: flex;
      align-items: center;
      gap: 16px;
      border-left: 4px solid var(--primary);
      box-shadow: var(--shadow-card);
      min-width: 260px;
    }
    .score-number {
      font-size: 56px;
      font-weight: 700;
      color: var(--primary);
      font-feature-settings: "tnum";
      letter-spacing: 0;
    }
    .live-dot {
      width: 10px;
      height: 10px;
      background: #00B4A6;
      border-radius: 50%;
      display: inline-block;
      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); } }

    /* 案例瀑布流 */
    .masonry {
      columns: 2;
      column-gap: 24px;
    }
    .masonry .card {
      break-inside: avoid;
      margin-bottom: 24px;
      overflow: hidden;
    }

    /* 对比表 */
    .compare-table {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      background: white;
      border-radius: var(--radius-card);
      overflow: hidden;
    }
    .table-row {
      display: contents;
    }
    .table-cell {
      padding: 20px 16px;
      border-bottom: 1px solid var(--border-light);
      background: white;
    }
    .table-row:nth-child(even) .table-cell {
      background: #F5F0EB;
    }
    .highlight-col {
      border-left: 3px solid var(--primary);
      background: #FFF7F3;
    }

    /* FAQ */
    .faq-item {
      border-bottom: 1px solid var(--divider);
      padding: 16px 0;
    }
    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      cursor: pointer;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-muted);
    }
    .faq-item.open .faq-answer {
      max-height: 200px;
      padding: 12px 0 0;
    }

    /* 表单 */
    .input-line {
      border: none;
      border-bottom: 2px solid var(--divider);
      padding: 12px 4px;
      width: 100%;
      background: transparent;
      transition: border-color 0.2s;
      outline: none;
    }
    .input-line:focus {
      border-bottom-color: var(--primary);
    }

    footer {
      background: var(--secondary);
      color: #ccc;
      padding: 60px 0 30px;
    }
    footer a {
      color: #ddd;
    }

    @media (max-width: 1023px) {
      .container { padding: 0 24px; }
      h1 { font-size: 40px; }
      .grid-2, .grid-3 { grid-template-columns: 1fr; }
      .grid-4 { grid-template-columns: repeat(2,1fr); }
      .masonry { columns: 1; }
    }
    @media (max-width: 767px) {
      .nav-capsule {
        top: auto;
        bottom: 12px;
        width: 92%;
        padding: 10px 20px;
        justify-content: space-between;
      }
      .nav-links { display: none; }
      .hamburger { display: block; }
      .mobile-menu {
        display: none;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: #1A1A2E;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 999;
      }
      .mobile-menu.active { display: flex; }
      .mobile-menu a { color: white; font-size: 1.5rem; }
      h1 { font-size: 32px; }
      h2 { font-size: 24px; }
      .score-number { font-size: 40px; }
      .compare-table { grid-template-columns: 1fr; }
    }
