/* roulang page: index */
:root {
      --grass-green: #0A3D1F;
      --spotlight-gold: #D4A843;
      --passion-red: #C92A2A;
      --deep-black: #0D1114;
      --pitch-white: #F0F0E8;
      --gray-mid: #8A939B;
      --card-bg: #151A1F;
      --input-bg: #1A2024;
      --footer-bg: #0A0D10;
      --radius-card: 16px;
      --radius-btn: 9999px;
      --shadow-card: 0 4px 12px rgba(0,0,0,0.4), 0 0 0 1px rgba(212,168,67,0.15);
      --shadow-card-hover: 0 12px 24px rgba(0,0,0,0.6), 0 0 0 2px rgba(212,168,67,0.35);
      --transition-smooth: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1.2);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'PingFang SC', 'Noto Sans SC', 'Inter', sans-serif;
      background-color: var(--deep-black);
      color: var(--pitch-white);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 2rem;
    }

    /* 导航栏 */
    .nav-bar {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(13, 17, 20, 0.85);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      height: 72px;
      display: flex;
      align-items: center;
      border-bottom: 1px solid rgba(212,168,67,0.1);
    }

    .nav-container {
      display: flex;
      align-items: center;
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 2rem;
      gap: 2rem;
    }

    .logo {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--pitch-white);
      white-space: nowrap;
      letter-spacing: -0.02em;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .logo i {
      color: var(--spotlight-gold);
      font-size: 1.6rem;
    }
    .logo span {
      font-size: 0.7rem;
      color: var(--gray-mid);
      display: block;
      line-height: 1;
    }

    .search-wrapper {
      flex: 1;
      display: flex;
      justify-content: center;
      transition: flex 0.3s ease;
    }
    .search-box {
      background: var(--input-bg);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: var(--radius-btn);
      padding: 0.65rem 1.5rem;
      display: flex;
      align-items: center;
      width: 60%;
      max-width: 480px;
      transition: width 0.3s ease, border-color 0.2s;
    }
    .search-box:focus-within {
      width: 75%;
      border-color: var(--spotlight-gold);
      box-shadow: 0 0 0 2px rgba(212,168,67,0.3);
    }
    .search-box input {
      background: transparent;
      border: none;
      color: white;
      font-size: 0.95rem;
      width: 100%;
      outline: none;
    }
    .search-box input::placeholder {
      color: #6B7280;
      font-weight: 400;
    }
    .search-box button {
      background: none;
      border: none;
      color: var(--spotlight-gold);
      font-size: 1.1rem;
      cursor: pointer;
      padding: 0 0 0 0.5rem;
    }

    .nav-links {
      display: flex;
      gap: 1.8rem;
      font-weight: 600;
      font-size: 0.95rem;
      white-space: nowrap;
    }
    .nav-links a {
      color: var(--pitch-white);
      text-decoration: none;
      transition: color 0.2s;
      position: relative;
    }
    .nav-links a:hover {
      color: var(--spotlight-gold);
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--spotlight-gold);
      transition: width 0.2s;
    }
    .nav-links a:hover::after {
      width: 100%;
    }

    .hamburger {
      display: none;
      font-size: 1.4rem;
      color: white;
      cursor: pointer;
    }

    /* 移动端菜单 */
    .mobile-menu {
      display: none;
      flex-direction: column;
      background: rgba(13,17,20,0.95);
      backdrop-filter: blur(16px);
      padding: 1.5rem;
      border-bottom: 1px solid rgba(212,168,67,0.2);
    }
    .mobile-menu a {
      padding: 0.8rem 0;
      color: white;
      font-weight: 600;
      text-decoration: none;
    }

    /* Hero */
    .hero {
      min-height: 90vh;
      display: flex;
      align-items: center;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      position: relative;
      isolation: isolate;
    }
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at 50% 40%, rgba(10,61,31,0.75) 0%, rgba(13,17,20,0.97) 75%);
      z-index: 1;
    }
    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
      background-size: 40px 40px;
      z-index: 2;
      opacity: 0.4;
    }
    .hero-content {
      position: relative;
      z-index: 3;
      max-width: 800px;
    }
    .hero h1 {
      font-size: clamp(2.5rem, 5vw, 4.5rem);
      font-weight: 900;
      line-height: 1.15;
      letter-spacing: -0.02em;
      text-shadow: 0 4px 20px rgba(0,0,0,0.7);
      margin-bottom: 1.5rem;
    }
    .hero .subtitle {
      font-size: 1.25rem;
      color: rgba(240,240,232,0.85);
      max-width: 600px;
      margin-bottom: 2.5rem;
      font-weight: 400;
    }
    .btn-group {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
    }
    .btn-primary {
      background: var(--spotlight-gold);
      color: #0D1114;
      font-weight: 700;
      padding: 0.9rem 2.4rem;
      border-radius: var(--radius-btn);
      text-decoration: none;
      transition: var(--transition-smooth);
      display: inline-block;
      letter-spacing: 0.3px;
      box-shadow: 0 4px 14px rgba(212,168,67,0.3);
    }
    .btn-primary:hover {
      background: #e6b84a;
      transform: scale(1.02);
    }
    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--spotlight-gold);
      color: var(--pitch-white);
      font-weight: 600;
      padding: 0.9rem 2.4rem;
      border-radius: var(--radius-btn);
      text-decoration: none;
      transition: var(--transition-smooth);
    }
    .btn-outline:hover {
      background: rgba(212,168,67,0.1);
      border-color: #e6b84a;
    }

    /* 公用板块 */
    .section {
      padding: 100px 0;
    }
    .section-title {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
      color: white;
    }
    .section-sub {
      color: var(--gray-mid);
      font-size: 1.1rem;
      margin-bottom: 3rem;
    }

    /* 痛点卡片 */
    .pain-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
    .pain-card {
      background: rgba(21,26,31,0.7);
      backdrop-filter: blur(6px);
      border-radius: var(--radius-card);
      padding: 2rem;
      border-left: 4px solid var(--passion-red);
      box-shadow: var(--shadow-card);
      transition: var(--transition-smooth);
    }
    .pain-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-card-hover);
    }

    /* 解决方案时间线 */
    .timeline-horizontal {
      display: flex;
      overflow-x: auto;
      gap: 2rem;
      padding: 1rem 0 2rem;
      scrollbar-width: thin;
    }
    .timeline-node {
      min-width: 180px;
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 1.8rem;
      text-align: center;
      border-top: 4px solid var(--spotlight-gold);
      box-shadow: var(--shadow-card);
    }
    .timeline-node .time {
      font-family: 'Roboto Mono', monospace;
      font-weight: 700;
      color: var(--spotlight-gold);
      font-size: 1.1rem;
    }

    /* 核心功能 1大2小 */
    .feature-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr;
      gap: 1.8rem;
    }
    .feature-big {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: var(--shadow-card);
      clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
    }
    .feature-small-stack {
      display: flex;
      flex-direction: column;
      gap: 1.8rem;
    }
    .feature-small {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 1.8rem;
      box-shadow: var(--shadow-card);
      border-left: 5px solid var(--spotlight-gold);
    }
    .img-placeholder {
      height: 200px;
      background-size: cover;
      background-position: center;
      position: relative;
    }
    .img-placeholder::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 60%;
      background: linear-gradient(to top, #151A1F, transparent);
    }

    /* 证言跑马灯 */
    .testimonial-track {
      display: flex;
      gap: 1.5rem;
      overflow-x: auto;
      padding: 1rem 0;
      scroll-behavior: smooth;
    }
    .testimonial-card {
      min-width: 280px;
      background: rgba(21,26,31,0.8);
      backdrop-filter: blur(8px);
      border-radius: var(--radius-card);
      padding: 1.6rem;
      box-shadow: var(--shadow-card);
    }

    /* FAQ */
    .faq-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.2rem;
    }
    .faq-item {
      border: 1px solid rgba(212,168,67,0.25);
      border-radius: 12px;
      background: transparent;
      overflow: hidden;
    }
    .faq-question {
      padding: 1.2rem 1.5rem;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      color: white;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      background: rgba(10,61,31,0.15);
      padding: 0 1.5rem;
      color: #d0d0d0;
    }
    .faq-answer.open {
      max-height: 200px;
      padding: 1.2rem 1.5rem;
    }

    /* CTA */
    .cta-box {
      background: #0A0D10;
      border-radius: 32px;
      padding: 3.5rem 2rem;
      text-align: center;
      border: 1px solid rgba(212,168,67,0.2);
    }
    .subscribe-pill {
      display: flex;
      max-width: 480px;
      margin: 2rem auto 0;
      background: var(--input-bg);
      border-radius: var(--radius-btn);
      overflow: hidden;
    }
    .subscribe-pill input {
      flex: 1;
      background: transparent;
      border: none;
      padding: 1rem 1.5rem;
      color: white;
      outline: none;
    }
    .subscribe-pill button {
      background: var(--spotlight-gold);
      border: none;
      padding: 0 2rem;
      font-weight: 700;
      color: #0D1114;
      cursor: pointer;
    }

    footer {
      background: var(--footer-bg);
      border-top: 1px solid rgba(212,168,67,0.2);
      padding: 2.5rem 0;
    }

    @media (max-width: 1024px) {
      .pain-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: block; }
      .search-box { width: 100%; }
      .search-wrapper { flex: 1; }
      .container { padding: 0 1.5rem; }
      .hero h1 { font-size: 2.4rem; }
      .pain-grid { grid-template-columns: 1fr; }
      .feature-grid { grid-template-columns: 1fr; }
      .timeline-horizontal { flex-direction: column; }
      .faq-grid { grid-template-columns: 1fr; }
      .section { padding: 70px 0; }
    }
