/* roulang page: index */
:root {
      --primary: #E6391E;
      --primary-dark: #c52814;
      --dark: #1A1A2E;
      --paper: #F5F0E8;
      --gold: #FFB800;
      --white: #FFFFFF;
      --text-primary: #1A1A2E;
      --text-secondary: #4A4A5A;
      --border: #E0DCD3;
      --shadow-sm: 0 2px 12px rgba(26, 26, 46, 0.06);
      --shadow-md: 0 8px 24px rgba(26, 26, 46, 0.12);
      --radius-sm: 8px;
      --radius-pill: 24px;
      --radius-round: 12px;
      --font-title: 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
      --font-body: 'PingFang SC', 'Noto Serif SC', 'STSong', 'Georgia', serif;
      --font-mono: 'DIN Alternate', 'PingFang SC', sans-serif;
      --transition: 0.25s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: var(--font-body);
      background-color: var(--paper);
      color: var(--text-primary);
      line-height: 1.75;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 排版 */
    h1, h2, h3, h4 {
      font-family: var(--font-title);
      font-weight: 700;
      letter-spacing: -0.01em;
    }

    h1 {
      font-size: 56px;
      line-height: 1.15;
      font-weight: 800;
      letter-spacing: -0.02em;
    }

    h2 {
      font-size: 40px;
      line-height: 1.25;
      margin-bottom: 16px;
    }

    h3 {
      font-size: 22px;
      line-height: 1.35;
      font-weight: 700;
    }

    h4 {
      font-size: 18px;
      line-height: 1.4;
      font-weight: 600;
    }

    p, .text-body {
      font-size: 17px;
      line-height: 1.75;
      color: var(--text-secondary);
    }

    .text-small {
      font-size: 14px;
      line-height: 1.5;
      color: var(--text-secondary);
    }

    a {
      color: var(--primary);
      text-decoration: none;
      transition: color var(--transition);
    }

    a:hover {
      color: var(--primary-dark);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, .btn {
      cursor: pointer;
      font-family: var(--font-title);
      font-weight: 600;
      border: none;
      outline: none;
      transition: all var(--transition);
    }

    /* 导航栏 */
    .header {
      background: var(--dark);
      padding: 0 24px;
      position: sticky;
      top: 0;
      z-index: 50;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
      max-width: 1280px;
      margin: 0 auto;
      gap: 24px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font-title);
      font-weight: 800;
      font-size: 24px;
      color: var(--white);
      text-decoration: none;
      letter-spacing: -0.5px;
      white-space: nowrap;
    }

    .logo-icon {
      width: 32px;
      height: 32px;
      background: var(--primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 20px;
      position: relative;
    }

    .search-wrapper {
      flex: 1;
      max-width: 360px;
      position: relative;
    }

    .search-input {
      width: 100%;
      background: var(--white);
      border: 1px solid transparent;
      border-radius: var(--radius-pill);
      padding: 12px 20px 12px 48px;
      font-size: 15px;
      font-family: var(--font-body);
      outline: none;
      transition: all var(--transition);
      box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
    }

    .search-input:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(230,57,30,0.15);
    }

    .search-icon {
      position: absolute;
      left: 18px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--primary);
      font-size: 18px;
      pointer-events: none;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 28px;
      list-style: none;
    }

    .nav-links a {
      color: #ddd;
      font-family: var(--font-title);
      font-weight: 500;
      font-size: 15px;
      position: relative;
      padding: 4px 0;
      transition: color var(--transition);
    }

    .nav-links a:hover {
      color: white;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 3px;
      background: var(--primary);
      transition: width var(--transition);
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
    }
    .hamburger span {
      width: 24px;
      height: 2px;
      background: white;
      display: block;
    }

    /* Hero 首屏 */
    .hero {
      display: flex;
      gap: 24px;
      margin: 32px auto 48px;
      max-width: 1280px;
      padding: 0 24px;
    }

    .hero-left {
      flex: 0 0 60%;
      border-radius: var(--radius-sm);
      overflow: hidden;
      position: relative;
      background: var(--dark);
    }

    .hero-img {
      width: 100%;
      height: 100%;
      min-height: 420px;
      object-fit: cover;
      display: block;
    }

    .hero-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 40px 32px;
      background: linear-gradient(to top, rgba(26,26,46,0.9) 20%, transparent);
      color: white;
    }

    .hero-overlay h1 {
      color: white;
      font-size: 48px;
      margin-bottom: 8px;
    }

    .hero-sub {
      color: var(--gold);
      font-family: var(--font-title);
      font-weight: 600;
      font-size: 18px;
    }

    .hero-right {
      flex: 0 0 40%;
      background: var(--white);
      border-radius: var(--radius-sm);
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      border: 1px solid var(--border);
      overflow-y: auto;
    }

    .live-badge {
      color: var(--primary);
      font-weight: 700;
      font-family: var(--font-title);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .news-card {
      border-bottom: 1px solid var(--border);
      padding-bottom: 12px;
    }

    .news-time {
      color: var(--primary);
      font-size: 12px;
      font-weight: 700;
      margin-bottom: 4px;
    }

    /* 通用板块 */
    .section {
      padding: 64px 0;
      max-width: 1280px;
      margin: 0 auto;
    }

    .section-title {
      text-align: center;
      margin-bottom: 40px;
    }

    .grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .feature-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 28px 20px;
      transition: all var(--transition);
    }

    .feature-card:hover {
      border-color: var(--primary);
      background: #FFFBF5;
      box-shadow: var(--shadow-sm);
    }

    .icon-circle {
      width: 48px;
      height: 48px;
      background: rgba(230,57,30,0.08);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      font-size: 24px;
      margin-bottom: 20px;
    }

    /* 瀑布流 */
    .masonry {
      columns: 3;
      column-gap: 24px;
    }

    .masonry-item {
      break-inside: avoid;
      margin-bottom: 24px;
      background: white;
      border-radius: var(--radius-sm);
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      transition: all var(--transition);
    }

    .masonry-item:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-4px);
    }

    .cover-img {
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
    }

    .card-content {
      padding: 20px;
    }

    .tag {
      background: var(--primary);
      color: white;
      font-size: 12px;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 12px;
      display: inline-block;
      margin-bottom: 8px;
    }

    /* 对比表 */
    .compare-table {
      width: 100%;
      border-collapse: collapse;
      background: white;
      border-radius: var(--radius-sm);
      overflow: hidden;
    }

    .compare-table th {
      background: var(--dark);
      color: white;
      padding: 16px;
      font-family: var(--font-title);
      text-align: left;
    }

    .compare-table td {
      padding: 14px 16px;
      border-bottom: 1px solid var(--border);
    }

    .highlight {
      color: var(--primary);
      font-weight: 700;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-sm);
      font-weight: 700;
      display: inline-block;
    }

    .btn-primary:hover {
      background: var(--gold);
      color: var(--dark);
    }

    .faq-item {
      border-bottom: 1px solid var(--border);
      padding: 18px 0;
    }

    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      font-weight: 700;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      background: #f9f7f2;
      padding: 0 16px;
      margin-top: 8px;
      border-radius: 6px;
    }

    .faq-item.open .faq-answer {
      max-height: 200px;
      padding: 16px;
    }

    .cta-dark {
      background: var(--dark);
      color: white;
      text-align: center;
      padding: 64px 24px;
      border-radius: var(--radius-sm);
    }

    .footer {
      background: var(--dark);
      color: #ccc;
      padding: 48px 24px 24px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 32px;
      max-width: 1280px;
      margin: 0 auto;
    }

    @media (max-width: 1024px) {
      .hero {
        flex-direction: column;
      }
      .grid-4 {
        grid-template-columns: repeat(2, 1fr);
      }
      .masonry {
        columns: 2;
      }
    }

    @media (max-width: 640px) {
      h1 {
        font-size: 38px;
      }
      .nav-links {
        display: none;
      }
      .hamburger {
        display: flex;
      }
      .search-wrapper {
        max-width: 100%;
      }
      .grid-4 {
        grid-template-columns: 1fr;
      }
      .masonry {
        columns: 1;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
