/* roulang page: index */
:root {
      --primary: #0B1E14;
      --accent: #D4F54C;
      --bg: #F9FAF7;
      --surface: #FFFFFF;
      --border: #E7EBE4;
      --text: #2C3A30;
      --text-muted: #6B7B6F;
      --radius: 12px;
      --radius-sm: 8px;
      --shadow-sm: 0px 2px 8px rgba(11, 30, 20, 0.04);
      --shadow-hover: 0px 8px 24px rgba(11, 30, 20, 0.08);
      --transition: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
      --max-width: 1280px;
      --nav-height: 72px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }

    button, input {
      font-family: inherit;
      outline: none;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 32px;
    }

    /* 导航栏 - SaaS 命令栏风格 */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--nav-height);
      background: rgba(249, 250, 247, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      z-index: 1000;
      display: flex;
      align-items: center;
    }

    .nav .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .logo {
      font-weight: 700;
      font-size: 1.4rem;
      letter-spacing: -0.02em;
      color: var(--primary);
      white-space: nowrap;
    }

    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }

    .nav-links a {
      font-size: 0.95rem;
      font-weight: 500;
      color: var(--text);
      position: relative;
      padding: 4px 0;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.25s ease, left 0.25s ease;
    }

    .nav-links a:hover {
      color: var(--primary);
    }

    .nav-links a:hover::after {
      width: 100%;
      left: 0;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .search-box {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 24px;
      padding: 8px 16px;
      font-size: 0.9rem;
      width: 180px;
      transition: var(--transition);
      color: var(--text);
    }

    .search-box::placeholder {
      color: var(--text-muted);
    }

    .search-box:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(212, 245, 76, 0.2);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 24px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 0.9rem;
      transition: var(--transition);
      cursor: pointer;
      border: none;
      white-space: nowrap;
    }

    .btn-primary {
      background: var(--accent);
      color: var(--primary);
    }

    .btn-primary:hover {
      background: #C2E63A;
      transform: translateY(-2px);
      box-shadow: var(--shadow-hover);
    }

    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--primary);
      color: var(--primary);
    }

    .btn-outline:hover {
      background: var(--primary);
      color: #fff;
      transform: translateY(-2px);
    }

    .mobile-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.8rem;
      color: var(--primary);
      cursor: pointer;
    }

    /* Hero 首屏 */
    .hero {
      padding-top: var(--nav-height);
      min-height: 90vh;
      display: flex;
      align-items: center;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 7fr 5fr;
      gap: 80px;
      align-items: center;
    }

    .hero-content h1 {
      font-size: clamp(2.8rem, 6vw, 4.5rem);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -0.02em;
      color: var(--primary);
      margin-bottom: 24px;
    }

    .hero-content .subtitle {
      font-size: 1.25rem;
      color: var(--text-muted);
      max-width: 480px;
      margin-bottom: 40px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .hero-visual {
      position: relative;
      height: 480px;
      background: linear-gradient(135deg, var(--primary) 0%, #1a3a2a 100%);
      border-radius: 32px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      animation: floatVisual 6s infinite ease-in-out;
    }

    @keyframes floatVisual {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-12px); }
    }

    .hero-visual img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.85;
      mix-blend-mode: overlay;
    }

    .abstract-lines {
      position: absolute;
      width: 200px;
      height: 200px;
      border: 2px solid var(--accent);
      border-radius: 50%;
      opacity: 0.3;
      animation: pulse 4s infinite ease-in-out;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); opacity: 0.2; }
      50% { transform: scale(1.1); opacity: 0.4; }
    }

    /* 通用区块 */
    section {
      padding: 120px 0;
    }

    .section-title {
      font-size: 2.4rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--primary);
      margin-bottom: 16px;
    }

    .section-desc {
      font-size: 1.15rem;
      color: var(--text-muted);
      max-width: 600px;
      margin-bottom: 64px;
    }

    /* 服务区块 - 非对称栅格 */
    .services-grid {
      display: grid;
      grid-template-columns: 5fr 7fr;
      gap: 48px;
    }

    .service-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 40px;
      transition: var(--transition);
      box-shadow: var(--shadow-sm);
    }

    .service-card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-4px);
    }

    .service-icon {
      width: 48px;
      height: 48px;
      background: var(--accent);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.6rem;
      color: var(--primary);
      margin-bottom: 24px;
    }

    .service-card h3 {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .service-divider {
      width: 32px;
      height: 2px;
      background: var(--accent);
      margin-bottom: 16px;
      transition: width 0.3s ease;
    }

    .service-card:hover .service-divider {
      width: 64px;
    }

    .service-card p {
      color: var(--text-muted);
    }

    /* 数据墙 */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 48px;
      text-align: center;
    }

    .stat-item {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 48px 24px;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
    }

    .stat-item:hover {
      box-shadow: var(--shadow-hover);
    }

    .stat-number {
      font-size: 5rem;
      font-weight: 800;
      color: var(--accent);
      line-height: 1;
      margin-bottom: 8px;
      position: relative;
      display: inline-block;
    }

    .stat-arrow {
      display: inline-block;
      margin-left: 8px;
      font-size: 2rem;
      color: var(--primary);
      animation: arrowUp 2s infinite;
    }

    @keyframes arrowUp {
      0%, 100% { transform: translateY(0); opacity: 0.7; }
      50% { transform: translateY(-6px); opacity: 1; }
    }

    .stat-label {
      font-size: 1.1rem;
      color: var(--text-muted);
      font-weight: 500;
    }

    /* 案例展示 */
    .cases-scroll {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 16px;
      scrollbar-width: thin;
      scrollbar-color: var(--border) transparent;
    }

    .cases-scroll::-webkit-scrollbar {
      height: 6px;
    }

    .cases-scroll::-webkit-scrollbar-thumb {
      background: var(--border);
      border-radius: 3px;
    }

    .case-card {
      flex: 0 0 320px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
    }

    .case-card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-2px);
    }

    .case-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .case-info {
      padding: 20px;
    }

    .case-info h4 {
      font-weight: 700;
      margin-bottom: 4px;
    }

    .case-info p {
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    /* 流程时间线 */
    .timeline {
      position: relative;
      padding-left: 40px;
    }

    .timeline::before {
      content: '';
      position: absolute;
      left: 18px;
      top: 0;
      bottom: 0;
      width: 2px;
      background: var(--border);
    }

    .timeline-item {
      position: relative;
      margin-bottom: 48px;
      padding-left: 48px;
    }

    .timeline-dot {
      position: absolute;
      left: -6px;
      top: 6px;
      width: 14px;
      height: 14px;
      background: var(--accent);
      border-radius: 50%;
      border: 3px solid var(--surface);
      box-shadow: 0 0 0 2px var(--border);
      transition: var(--transition);
    }

    .timeline-item:hover .timeline-dot {
      background: var(--primary);
      transform: scale(1.2);
    }

    .timeline-item h3 {
      font-weight: 700;
      font-size: 1.3rem;
      margin-bottom: 8px;
    }

    /* FAQ */
    .faq-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    .faq-item {
      border-bottom: 1px solid var(--border);
      padding: 24px 0;
      cursor: pointer;
      transition: var(--transition);
    }

    .faq-question {
      display: flex;
      align-items: center;
      gap: 16px;
      font-weight: 600;
      font-size: 1.1rem;
    }

    .faq-indicator {
      width: 4px;
      height: 24px;
      background: var(--accent);
      border-radius: 2px;
      transition: var(--transition);
    }

    .faq-item.active .faq-indicator {
      background: var(--primary);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-muted);
      padding-left: 32px;
      margin-top: 8px;
    }

    .faq-item.active .faq-answer {
      max-height: 200px;
    }

    /* CTA 全宽 */
    .cta-banner {
      background: var(--primary);
      padding: 100px 0;
      text-align: center;
      border-radius: 32px;
      margin: 0 32px;
    }

    .cta-banner h2 {
      color: #fff;
      font-size: 2.8rem;
      margin-bottom: 24px;
    }

    .cta-banner .btn-primary {
      font-size: 1.1rem;
      padding: 14px 40px;
    }

    /* 页脚 */
    .footer {
      background: var(--primary);
      color: #F9FAF7;
      padding: 40px 0;
      margin-top: 80px;
    }

    .footer .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
    }

    .footer-links a {
      color: #F9FAF7;
      margin-left: 24px;
      opacity: 0.8;
    }

    .footer-links a:hover {
      opacity: 1;
      color: var(--accent);
    }

    /* 响应式 */
    @media (max-width: 1024px) {
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
      }
      .hero-visual {
        height: 320px;
      }
      .services-grid {
        grid-template-columns: 1fr;
      }
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .faq-grid {
        grid-template-columns: 1fr;
      }
      .nav-links {
        display: none;
      }
      .mobile-toggle {
        display: block;
      }
    }

    @media (max-width: 768px) {
      .container {
        padding: 0 20px;
      }
      section {
        padding: 80px 0;
      }
      .hero-content h1 {
        font-size: 2.4rem;
      }
      .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
      }
      .cta-banner {
        margin: 0 16px;
        padding: 60px 20px;
      }
    }
