/* roulang page: index */
:root {
      --color-primary: #0B3D2E;   /* 竞技墨绿 */
      --color-accent: #F85C1E;    /* 爆发橙 */
      --color-bg: #F7F5F2;        /* 岩石灰白 */
      --color-dark: #1A1A1A;      /* 深夜黑 */
      --color-text: #1E1E1E;      /* 炭黑 */
      --color-gray: #5C5C5C;      /* 中灰 */
      --color-lightgray: #E8E6E1;
      --color-white: #FFFFFF;
      --color-muted: #6B6B6B;
      --border-radius-card: 12px;
      --border-radius-btn: 8px;
      --border-radius-pill: 50px;
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
      --shadow-hover: 0 8px 24px rgba(0,0,0,0.10);
      --font-heading: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
      --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
      --font-number: "JetBrains Mono", "SF Pro Display", "Inter", monospace;
      --max-width: 1280px;
      --nav-height: 72px;
    }
    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    html {
      scroll-behavior: smooth;
    }
    
    body {
      background-color: var(--color-bg);
      color: var(--color-text);
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }
    
    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 40px;
    }
    
    /* 导航栏 */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--nav-height);
      background-color: var(--color-white);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      transition: box-shadow 0.3s ease;
      border-bottom: 1px solid transparent;
    }
    
    .nav.scrolled {
      box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    }
    
    .nav-container {
      width: 100%;
      max-width: var(--max-width);
      padding: 0 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    
    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      color: var(--color-primary);
      font-weight: 700;
      font-size: 1.6rem;
    }
    
    .logo i {
      font-size: 2rem;
      color: var(--color-accent);
    }
    
    .nav-menu {
      display: flex;
      list-style: none;
      gap: 2.5rem;
    }
    
    .nav-menu a {
      text-decoration: none;
      color: var(--color-text);
      font-weight: 500;
      transition: color 0.2s;
      font-size: 0.95rem;
    }
    
    .nav-menu a:hover {
      color: var(--color-accent);
    }
    
    .nav-cta {
      background-color: var(--color-accent);
      color: white;
      padding: 10px 24px;
      border-radius: var(--border-radius-pill);
      text-decoration: none;
      font-weight: 600;
      font-size: 0.95rem;
      transition: background-color 0.3s, transform 0.2s;
      white-space: nowrap;
    }
    
    .nav-cta:hover {
      background-color: #E04A10;
      transform: translateY(-2px);
    }
    
    .mobile-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.8rem;
      color: var(--color-primary);
    }
    
    /* Hero */
    .hero {
      padding-top: calc(var(--nav-height) + 40px);
      padding-bottom: 80px;
      display: flex;
      align-items: center;
      gap: 60px;
    }
    
    .hero-left {
      flex: 1 1 50%;
    }
    
    .hero-left h1 {
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: clamp(2.8rem, 5vw, 3.5rem);
      color: #0A2A20;
      line-height: 1.2;
      margin-bottom: 20px;
    }
    
    .hero-left .subtitle {
      font-size: 1.1rem;
      color: var(--color-gray);
      margin-bottom: 32px;
      max-width: 450px;
    }
    
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    
    .btn-primary {
      background: var(--color-accent);
      color: white;
      border: none;
      padding: 14px 32px;
      border-radius: var(--border-radius-btn);
      font-weight: 600;
      text-decoration: none;
      display: inline-block;
      transition: background 0.3s, transform 0.2s;
    }
    
    .btn-primary:hover {
      background: #E04A10;
      transform: translateY(-2px);
    }
    
    .btn-outline {
      border: 2px solid var(--color-primary);
      color: var(--color-primary);
      background: transparent;
      padding: 14px 32px;
      border-radius: var(--border-radius-btn);
      font-weight: 600;
      text-decoration: none;
      transition: background-color 0.3s, transform 0.2s;
    }
    
    .btn-outline:hover {
      background-color: rgba(11, 61, 46, 0.08);
      transform: translateY(-2px);
    }
    
    .hero-right {
      flex: 1 1 50%;
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }
    
    .hero-right img {
      width: 100%;
      height: auto;
      display: block;
      animation: subtleScale 6s infinite alternate ease-in-out;
    }
    
    @keyframes subtleScale {
      0% { transform: scale(1.0); }
      100% { transform: scale(1.03); }
    }
    
    /* 区域通用 */
    .section {
      padding: 80px 0;
    }
    
    .section-title {
      font-family: var(--font-heading);
      font-weight: 600;
      font-size: 2rem;
      margin-bottom: 15px;
      color: var(--color-text);
    }
    
    .section-desc {
      color: var(--color-gray);
      margin-bottom: 48px;
      font-size: 1rem;
    }
    
    /* 亮点网格 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background-color: var(--color-lightgray);
      border-radius: var(--border-radius-card);
      overflow: hidden;
    }
    
    .feature-item {
      background: var(--color-white);
      padding: 40px 32px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
      transition: background 0.2s;
    }
    
    .feature-item i {
      font-size: 2.5rem;
      color: var(--color-accent);
      opacity: 0.9;
    }
    
    .feature-item h3 {
      font-family: var(--font-heading);
      font-weight: 600;
      font-size: 1.6rem;
    }
    
    .feature-item p {
      color: var(--color-gray);
      font-size: 0.95rem;
      line-height: 1.6;
    }
    
    /* 案例瀑布流 */
    .cases-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    
    .case-card {
      background: var(--color-white);
      border-radius: var(--border-radius-card);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s;
      display: flex;
      flex-direction: column;
    }
    
    .case-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-hover);
    }
    
    .case-card img {
      width: 100%;
      height: auto;
      aspect-ratio: 4 / 3;
      object-fit: cover;
    }
    
    .case-card:nth-child(2) img {
      aspect-ratio: 16 / 10;
    }
    
    .case-card-content {
      padding: 20px;
      flex: 1;
    }
    
    .case-card h3 {
      font-size: 1.3rem;
      font-weight: 600;
      margin-bottom: 10px;
    }
    
    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 12px;
    }
    
    .tag {
      background: #F0EFEC;
      color: #4A4A4A;
      padding: 4px 10px;
      border-radius: 4px;
      font-size: 0.8rem;
      font-weight: 500;
    }
    
    /* 对比区 */
    .comparison {
      display: grid;
      grid-template-columns: 1fr 1px 1fr;
      gap:0;
      background: white;
      border-radius: var(--border-radius-card);
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      border: 1px solid var(--color-lightgray);
    }
    
    .compare-col {
      padding: 40px;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    
    .compare-col.right {
      background-color: rgba(11, 61, 46, 0.02);
    }
    
    .divider {
      background-color: var(--color-lightgray);
      width: 1px;
    }
    
    .compare-col h3 {
      font-size: 1.5rem;
      font-weight: 600;
    }
    
    .compare-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 18px;
    }
    
    .compare-list li {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 1rem;
    }
    
    .icon-fail {
      color: #B0B0B0;
    }
    
    .icon-success {
      color: var(--color-accent);
    }
    
    /* 数据横条 */
    .stats-bar {
      background-color: var(--color-dark);
      color: white;
      padding: 56px 0;
      border-radius: 0;
    }
    
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 30px;
    }
    
    .stat-item {
      text-align: center;
    }
    
    .stat-number {
      font-family: var(--font-number);
      font-size: 3rem;
      font-weight: 500;
      color: var(--color-accent);
    }
    
    .stat-label {
      font-size: 0.9rem;
      color: #B0B0B0;
      margin-top: 8px;
    }
    
    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    
    .faq-item {
      background: var(--color-white);
      border-radius: var(--border-radius-card);
      box-shadow: var(--shadow-sm);
    }
    
    .faq-question {
      padding: 0 24px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-weight: 600;
      cursor: pointer;
      user-select: none;
    }
    
    .faq-question i {
      transition: transform 0.3s;
      color: var(--color-accent);
    }
    
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 24px;
      background-color: #F9F9F7;
      color: var(--color-gray);
      transition: max-height 0.35s ease, padding 0.35s ease;
    }
    
    .faq-item.open .faq-answer {
      max-height: 200px;
      padding: 20px 24px;
    }
    
    .faq-item.open .faq-question i {
      transform: rotate(180deg);
    }
    
    /* 底部CTA */
    .cta-section {
      background-color: #EFEDE8;
    }
    
    .cta-button-wrapper {
      margin-top: 30px;
    }
    
    .cta-button {
      background: var(--color-accent);
      overflow: hidden;
      position: relative;
      border: none;
      padding: 16px 48px;
      border-radius: var(--border-radius-btn);
      font-weight: 700;
      color: white;
      font-size: 1.1rem;
      cursor: pointer;
      display: inline-block;
      text-decoration: none;
      transition: background 0.3s;
    }
    
    .cta-button::after {
      content: "";
      position: absolute;
      top: 0;
      left: -75%;
      width: 50%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
      transform: skewX(-20deg);
      animation: shine 3s infinite;
    }
    
    @keyframes shine {
      0% { left: -75%; }
      100% { left: 125%; }
    }
    
    /* 页脚 */
    .footer {
      background: var(--color-dark);
      color: #C0C0C0;
      padding: 60px 0 20px;
    }
    
    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 40px;
    }
    
    .footer h4 {
      color: white;
      margin-bottom: 20px;
      font-weight: 600;
    }
    
    .footer a {
      color: #C0C0C0;
      text-decoration: none;
      transition: color 0.2s;
    }
    
    .footer a:hover {
      color: var(--color-accent);
    }
    
    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    
    .copyright {
      margin-top: 40px;
      padding-top: 20px;
      border-top: 1px solid #333;
      font-size: 0.8rem;
      text-align: center;
    }
    
    /* 响应式 */
    @media (max-width: 1024px) {
      .container, .nav-container {
        padding-left: 24px;
        padding-right: 24px;
      }
    }
    
    @media (max-width: 768px) {
      .nav-menu {
        display: none;
      }
      .mobile-toggle {
        display: block;
      }
      .hero {
        flex-direction: column;
        padding-top: calc(var(--nav-height) + 20px);
      }
      .features-grid {
        grid-template-columns: 1fr;
      }
      .cases-grid {
        grid-template-columns: 1fr;
      }
      .comparison {
        grid-template-columns: 1fr;
      }
      .divider {
        display: none;
      }
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
      .btn-primary, .btn-outline {
        padding: 12px 24px;
      }
    }
    
    @media (max-width: 520px) {
      .stats-grid {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
