/* roulang page: index */
:root {
      --primary: #E63946;
      --primary-dark: #c62d39;
      --secondary: #1D3557;
      --accent: #00B4D8;
      --bg-warm: #F9F9F9;
      --bg-white: #FFFFFF;
      --text-main: #1A1A1A;
      --text-muted: #5A5A5A;
      --text-reverse: #FFFFFF;
      --shadow-sm: 0 2px 12px rgba(0,0,0,0.04);
      --shadow-card: 0 2px 12px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.03);
      --shadow-hover: 0 8px 24px rgba(0,0,0,0.08);
      --radius-md: 12px;
      --radius-sm: 8px;
      --radius-full: 50%;
      --transition: 0.25s ease;
      --max-width: 1280px;
      --header-height: 72px;
      --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
      --font-mono: "Inter", "Roboto", sans-serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-warm);
      color: var(--text-main);
      line-height: 1.75;
      -webkit-font-smoothing: antialiased;
      padding-top: var(--header-height);
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--header-height);
      background: var(--bg-white);
      box-shadow: 0 1px 0 rgba(0,0,0,0.05);
      z-index: 1000;
      display: flex;
      align-items: center;
    }
    .nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }
    .logo {
      font-size: 1.8rem;
      font-weight: 800;
      color: var(--primary);
      letter-spacing: -0.5px;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .logo span {
      color: var(--secondary);
      font-weight: 700;
    }
    .nav-links {
      display: flex;
      gap: 2rem;
      align-items: center;
    }
    .nav-links a {
      text-decoration: none;
      font-weight: 500;
      color: var(--text-main);
      position: relative;
      padding: 0.25rem 0;
      transition: color var(--transition);
    }
    .nav-links a:after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width var(--transition);
    }
    .nav-links a:hover {
      color: var(--primary);
    }
    .nav-links a:hover:after {
      width: 100%;
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
      color: white;
      border: none;
      padding: 12px 28px;
      border-radius: var(--radius-sm);
      font-weight: 700;
      font-size: 1rem;
      cursor: pointer;
      transition: all var(--transition);
      text-decoration: none;
      display: inline-block;
      letter-spacing: 0.3px;
      box-shadow: 0 4px 12px rgba(230,57,70,0.3);
    }
    .btn-primary:hover {
      filter: brightness(1.1);
      box-shadow: 0 0 0 4px rgba(230,57,70,0.2), 0 8px 20px rgba(0,0,0,0.2);
      transform: translateY(-1px);
    }
    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 10px 26px;
      border-radius: var(--radius-sm);
      font-weight: 700;
      cursor: pointer;
      transition: all var(--transition);
      text-decoration: none;
    }
    .btn-outline:hover {
      background: rgba(230,57,70,0.1);
    }
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
    }
    .hamburger span {
      width: 25px;
      height: 3px;
      background: var(--text-main);
      border-radius: 3px;
      transition: var(--transition);
    }
    .mobile-menu {
      display: none;
      position: fixed;
      top: var(--header-height);
      left: 0;
      width: 100%;
      background: var(--bg-white);
      flex-direction: column;
      padding: 2rem;
      gap: 1.5rem;
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
      z-index: 999;
    }
    .mobile-menu a {
      font-size: 1.2rem;
      font-weight: 600;
      color: var(--text-main);
      text-decoration: none;
    }

    /* 区块间距 */
    section {
      padding: 80px 0;
    }
    .section-title {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 1rem;
      position: relative;
      display: inline-block;
    }
    .section-title:after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 0;
      width: 40px;
      height: 4px;
      background: var(--primary);
      border-radius: 2px;
    }

    /* Hero */
    .hero-grid {
      display: flex;
      align-items: center;
      gap: 3rem;
    }
    .hero-left {
      flex: 1 1 55%;
    }
    .hero-right {
      flex: 1 1 45%;
      position: relative;
    }
    .hero-right img {
      width: 100%;
      border-radius: var(--radius-md);
      transform: rotate(-0.5deg);
      box-shadow: var(--shadow-hover);
      transition: transform 0.3s ease;
    }
    .hero-right img:hover {
      transform: rotate(0deg) scale(1.01);
    }
    h1 {
      font-size: 3rem;
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 1.5rem;
      letter-spacing: -0.5px;
    }
    .hero-sub {
      font-size: 1.2rem;
      color: var(--text-muted);
      margin-bottom: 2rem;
    }
    .hero-buttons {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      align-items: center;
    }
    .small-note {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-left: 0.5rem;
    }

    /* 亮点网格 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
    .feature-card {
      background: var(--bg-white);
      padding: 2rem;
      border-radius: var(--radius-md);
      display: flex;
      gap: 1.25rem;
      align-items: flex-start;
      box-shadow: var(--shadow-card);
      transition: all var(--transition);
    }
    .feature-card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-4px);
    }
    .feature-icon {
      font-size: 2.5rem;
      color: var(--primary);
    }
    .feature-text h4 {
      font-weight: 700;
      margin-bottom: 0.25rem;
    }
    .data-highlight {
      color: var(--accent);
      font-weight: 700;
      font-family: var(--font-mono);
    }

    /* 流程 */
    .flow-steps {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      position: relative;
      margin-top: 2rem;
    }
    .step-item {
      text-align: center;
      flex:1;
      position: relative;
    }
    .step-circle {
      width: 56px;
      height: 56px;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      border-radius: 50%;
      margin: 0 auto 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 800;
      font-size: 1.5rem;
    }
    .step-title {
      font-weight: 700;
      margin-bottom: 0.3rem;
    }
    .step-desc {
      color: var(--text-muted);
      font-size: 0.9rem;
    }
    .flow-steps:before {
      content: '';
      position: absolute;
      top: 28px;
      left: 10%;
      width: 80%;
      height: 2px;
      border-top: 2px dashed var(--primary);
      z-index: -1;
    }

    /* 瀑布流赛事 */
    .cases-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }
    .case-card {
      background: var(--bg-white);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-card);
      transition: all var(--transition);
    }
    .case-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
    .case-img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      transition: transform 0.3s;
    }
    .case-card:hover .case-img {
      transform: scale(1.05);
    }
    .case-info {
      padding: 1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid #eee;
    }
    .odds-badge {
      background: var(--accent);
      color: white;
      padding: 0.2rem 0.8rem;
      border-radius: 20px;
      font-weight: 700;
      font-family: var(--font-mono);
    }

    /* 对比表 */
    .compare-row {
      display: flex;
      gap: 2rem;
    }
    .compare-card {
      flex:1;
      background: var(--bg-white);
      padding: 2rem;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-card);
      position: relative;
    }
    .compare-card.recommended {
      border-top: 4px solid var(--primary);
    }
    .badge {
      background: var(--primary);
      color: white;
      padding: 0.2rem 1rem;
      border-radius: 20px;
      font-size: 0.8rem;
      position: absolute;
      top: -12px;
      right: 20px;
    }
    .check-list {
      list-style: none;
      margin: 1.5rem 0;
    }
    .check-list li {
      margin-bottom: 0.8rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    /* FAQ */
    .faq-item {
      background: var(--bg-white);
      margin-bottom: 1rem;
      border-radius: var(--radius-md);
      padding: 1.25rem;
      cursor: pointer;
      transition: background var(--transition);
    }
    .faq-question {
      font-weight: 700;
      display: flex;
      justify-content: space-between;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-muted);
    }
    .faq-item.active .faq-answer {
      max-height: 150px;
      margin-top: 1rem;
    }

    /* CTA 深色条 */
    .dark-cta {
      background: var(--secondary);
      color: white;
      text-align: center;
      border-radius: var(--radius-md);
      padding: 3rem;
    }
    .btn-ghost-white {
      border: 2px solid white;
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-sm);
      font-weight: 700;
      background: transparent;
      cursor: pointer;
      transition: 0.2s;
      text-decoration: none;
    }
    .btn-ghost-white:hover {
      background: white;
      color: var(--secondary);
    }

    /* 页脚 */
    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 2rem;
    }
    .tag-cloud span {
      background: #eee;
      padding: 0.2rem 0.8rem;
      border-radius: 20px;
      display: inline-block;
      margin: 0.25rem;
      font-size: 0.8rem;
    }

    @media (max-width: 1024px) {
      .hero-grid { flex-direction: column; }
      .features-grid { grid-template-columns: 1fr 1fr; }
      h1 { font-size: 2.5rem; }
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .mobile-menu.active { display: flex; }
      .features-grid { grid-template-columns: 1fr; }
      .flow-steps { flex-direction: column; gap: 2rem; }
      .flow-steps:before { display: none; }
      .cases-grid { grid-template-columns: 1fr; }
      .compare-row { flex-direction: column; }
      .footer-grid { grid-template-columns: 1fr; }
      section { padding: 60px 0; }
      h1 { font-size: 2rem; }
    }
