/* roulang page: index */
:root {
      --primary: #E87A3A;
      --primary-dark: #C96A2A;
      --secondary: #D94A4A;
      --bg-dark: #1A1A1A;
      --bg-card: #2A2A2A;
      --bg-light: #F5F5F0;
      --text-primary: #FFFFFF;
      --text-secondary: #B0B0B0;
      --text-muted: #707070;
      --border-color: #3A3A3A;
      --border-light: #E0E0D8;
      --radius-lg: 12px;
      --radius-md: 8px;
      --radius-pill: 50px;
      --shadow-card: 0 4px 20px rgba(0,0,0,0.4);
      --shadow-hover: 0 8px 30px rgba(0,0,0,0.6);
      --font-mono: 'SF Mono', 'Menlo', 'Courier New', monospace;
      --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      --spacing-section: 100px;
      --max-width: 1200px;
    }
    * {
      box-sizing: border-box;
    }
    body {
      margin: 0;
      background-color: var(--bg-dark);
      color: var(--text-primary);
      font-family: var(--font-sans);
      font-size: 16px;
      line-height: 1.75;
      -webkit-font-smoothing: antialiased;
    }
    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 20px;
    }
    a {
      color: inherit;
      text-decoration: none;
      transition: color 0.25s ease;
    }
    a:hover {
      color: var(--primary);
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    button, input {
      font-family: inherit;
    }
    h1, h2, h3 {
      margin: 0;
    }
    h1 {
      font-size: 48px;
      line-height: 56px;
      font-weight: 700;
      letter-spacing: -0.5px;
    }
    h2 {
      font-size: 36px;
      line-height: 44px;
      font-weight: 300;
      letter-spacing: 2px;
    }
    h3 {
      font-size: 20px;
      line-height: 28px;
      font-weight: 600;
    }
    .btn {
      display: inline-block;
      border-radius: var(--radius-md);
      padding: 12px 28px;
      font-weight: 700;
      font-size: 14px;
      letter-spacing: 1px;
      transition: all 0.25s ease;
      cursor: pointer;
      text-align: center;
    }
    .btn-primary {
      background: var(--primary);
      color: white;
      border: none;
    }
    .btn-primary:hover {
      background: var(--primary-dark);
      color: white;
      box-shadow: 0 0 15px rgba(232,122,58,0.5);
    }
    .btn-outline {
      background: transparent;
      color: var(--primary);
      border: 1px solid var(--primary);
    }
    .btn-outline:hover {
      background: var(--primary);
      color: white;
    }
    .section {
      padding: var(--spacing-section) 0;
    }
    /* 导航胶囊 */
    #nav {
      position: fixed;
      top: 20px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 100;
      background: rgba(42,42,42,0.9);
      backdrop-filter: blur(10px);
      border-radius: var(--radius-pill);
      padding: 8px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: auto;
      max-width: 90%;
      box-shadow: 0 8px 20px rgba(0,0,0,0.5);
      transition: background 0.3s;
    }
    #nav .logo {
      font-weight: 700;
      color: var(--primary);
      font-size: 20px;
      white-space: nowrap;
      margin-right: 30px;
    }
    #nav .nav-links {
      display: flex;
      gap: 20px;
    }
    #nav .nav-links a {
      color: var(--text-secondary);
      font-size: 14px;
      font-weight: 500;
      position: relative;
      padding-bottom: 4px;
    }
    #nav .nav-links a:hover,
    #nav .nav-links a.active {
      color: var(--primary);
    }
    #nav .nav-links a.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--primary);
    }
    /* Hero网格动画 */
    .hero-grid-bg {
      position: absolute;
      inset: 0;
      background-image: linear-gradient(rgba(58,58,58,0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(58,58,58,0.15) 1px, transparent 1px);
      background-size: 40px 40px;
      animation: gridMove 20s linear infinite;
      pointer-events: none;
    }
    @keyframes gridMove {
      0% { transform: translate(0,0); }
      100% { transform: translate(40px,40px); }
    }
    .score-digit {
      font-family: var(--font-mono);
      transition: opacity 0.3s, transform 0.3s;
    }
    .score-change {
      opacity: 0.6;
      transform: translateY(-10px);
    }
    .card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-card);
      transition: all 0.25s ease;
      overflow: hidden;
      height: 100%;
    }
    .card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
      border-color: var(--primary);
    }
    .card-img {
      height: 180px;
      background-size: cover;
      background-position: center;
      position: relative;
    }
    .card-img::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(232,122,58,0.05);
    }
    .card-body {
      padding: 20px;
    }
    .comparison-left {
      color: var(--text-secondary);
    }
    .comparison-right {
      color: var(--primary);
      font-weight: 600;
    }
    .flow-step {
      text-align: center;
      flex: 1;
      position: relative;
    }
    .flow-circle {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      border: 2px solid var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 15px;
      font-weight: 700;
      font-size: 20px;
      color: white;
      background: transparent;
    }
    .flow-step.active .flow-circle {
      background: var(--primary);
    }
    .flow-line {
      position: absolute;
      top: 25px;
      left: 60%;
      width: 80%;
      height: 2px;
      background: var(--border-color);
      z-index: -1;
    }
    .faq-item {
      border-bottom: 1px solid var(--border-color);
      padding: 16px 0;
    }
    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s;
      color: var(--text-secondary);
      background: transparent;
    }
    .faq-item.open .faq-answer {
      max-height: 200px;
      padding: 10px 0;
      background: #3A3A3A;
      padding-left: 15px;
      border-radius: 4px;
      margin-top: 8px;
    }
    .faq-icon {
      transition: transform 0.25s;
    }
    .faq-item.open .faq-icon {
      transform: rotate(45deg);
    }
    footer {
      background: #111111;
      color: var(--text-muted);
    }
    footer a:hover {
      color: var(--primary);
    }
    @media (max-width: 768px) {
      :root {
        --spacing-section: 60px;
      }
      h1 { font-size: 36px; line-height: 44px; }
      h2 { font-size: 28px; line-height: 36px; }
      #nav {
        top: auto;
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        border-radius: 20px 20px 0 0;
        justify-content: space-around;
        padding: 12px 10px;
        background: rgba(26,26,26,0.98);
      }
      #nav .logo { display: none; }
      .hero-inner { flex-direction: column; }
      .hero-left, .hero-right { width: 100%; }
      .flow-steps { flex-direction: column; }
      .flow-line { display: none; }
    }

@keyframes blink{0%,100%{opacity:1;}50%{opacity:0.2;}}
