/* roulang page: index */
:root {
      --primary: #FF6B4A;
      --primary-deep: #E55A3A;
      --primary-soft: rgba(255, 107, 74, 0.08);
      --accent: #00C9A7;
      --accent-soft: rgba(0, 201, 167, 0.1);
      --dark: #1E1E24;
      --gray-800: #2A2A32;
      --gray-600: #6B6B78;
      --gray-400: #B0B0BC;
      --gray-200: #E8E8EF;
      --light-bg: #FAFAFA;
      --white: #FFFFFF;
      --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
      --card-hover-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
      --radius-card: 20px;
      --radius-btn: 14px;
      --radius-input: 10px;
      --radius-icon: 14px;
      --font-sans: "Inter", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      --transition: 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
    }
    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    html {
      scroll-behavior: smooth;
      -webkit-font-smoothing: antialiased;
    }
    
    body {
      font-family: var(--font-sans);
      background-color: var(--light-bg);
      color: var(--dark);
      line-height: 1.6;
      font-size: 16px;
      overflow-x: hidden;
    }
    
    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 32px;
    }
    
    img {
      display: block;
      max-width: 100%;
      height: auto;
    }
    
    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }
    
    button, .btn {
      cursor: pointer;
      font-family: inherit;
      border: none;
      background: none;
    }
    
    /* ---------- 导航 ---------- */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 100;
      background: rgba(30, 30, 36, 0.7);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      transition: background 0.3s ease;
    }
    
    .header.scrolled {
      background: rgba(30, 30, 36, 0.92);
      border-bottom: 1px solid rgba(255, 107, 74, 0.2);
    }
    
    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }
    
    .logo {
      display: flex;
      align-items: baseline;
      gap: 6px;
    }
    .logo-icon {
      width: 28px;
      height: 28px;
      background: var(--primary);
      mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M3 12h4l2-8 4 16 2-8h4" stroke="white" stroke-width="2.5" fill="none" stroke-linecap="round"/></svg>') center/contain no-repeat;
      background: var(--primary);
    }
    .logo-text {
      font-weight: 700;
      font-size: 1.6rem;
      letter-spacing: -0.3px;
      color: white;
    }
    .logo-text span {
      color: var(--primary);
    }
    .logo-sub {
      font-size: 0.7rem;
      color: rgba(255,255,255,0.6);
      margin-left: 4px;
      letter-spacing: 0.5px;
    }
    
    .nav-links {
      display: flex;
      gap: 36px;
      align-items: center;
      font-weight: 500;
      color: rgba(255,255,255,0.85);
      font-size: 0.95rem;
    }
    .nav-links a {
      position: relative;
      padding: 8px 0;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width 0.25s ease;
    }
    .nav-links a:hover {
      color: white;
    }
    .nav-links a:hover::after {
      width: 100%;
    }
    
    .nav-cta {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 10px 22px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 0.9rem;
      letter-spacing: 0.3px;
      box-shadow: 0 4px 12px rgba(255, 107, 74, 0.3);
      transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    }
    .btn-primary:hover {
      background: var(--primary-deep);
      box-shadow: 0 8px 20px rgba(255, 107, 74, 0.45);
      transform: translateY(-1px);
    }
    .badge {
      background: var(--accent);
      color: var(--dark);
      font-size: 0.7rem;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 20px;
      letter-spacing: 0.4px;
    }
    
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
    }
    .hamburger span {
      width: 24px;
      height: 2.5px;
      background: white;
      border-radius: 2px;
    }
    
    /* ---------- 板块通用 ---------- */
    .section {
      padding: 100px 0;
    }
    .section-title {
      font-size: 2.5rem;
      font-weight: 600;
      letter-spacing: -0.5px;
      line-height: 1.2;
      margin-bottom: 16px;
      color: var(--dark);
    }
    .section-sub {
      font-size: 1.1rem;
      color: var(--gray-600);
      margin-bottom: 48px;
      max-width: 600px;
    }
    
    /* ---------- Hero ---------- */
    #hero {
      padding: 140px 0 80px;
      background: radial-gradient(circle at 20% 30%, rgba(255,107,74,0.08) 0%, transparent 60%);
      position: relative;
      overflow: hidden;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
    }
    .hero-content h1 {
      font-size: 3.8rem;
      font-weight: 700;
      line-height: 1.15;
      letter-spacing: -0.8px;
      margin-bottom: 24px;
      color: var(--dark);
    }
    .hero-content h1 .highlight {
      color: var(--primary);
    }
    .hero-desc {
      font-size: 1.15rem;
      color: var(--gray-600);
      margin-bottom: 36px;
      line-height: 1.7;
    }
    .hero-actions {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .btn-outline {
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 10px 22px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      background: transparent;
      transition: 0.2s;
    }
    .btn-outline:hover {
      background: var(--primary-soft);
    }
    .hero-image {
      position: relative;
      border-radius: 40px;
      overflow: hidden;
      box-shadow: 0 24px 48px rgba(0,0,0,0.08);
      background: var(--dark);
    }
    .hero-image img {
      width: 100%;
      height: auto;
      object-fit: cover;
      aspect-ratio: 1/0.9;
      filter: brightness(1.05);
    }
    
    /* 动态光点 */
    .particle {
      position: absolute;
      background: var(--primary);
      width: 6px;
      height: 6px;
      border-radius: 50%;
      opacity: 0.5;
      animation: float 6s infinite alternate;
    }
    @keyframes float {
      0% { transform: translateY(0px); opacity: 0.2; }
      100% { transform: translateY(-20px); opacity: 0.6; }
    }
    
    /* ---------- 亮点网格 ---------- */
    #features .features-grid {
      display: grid;
      grid-template-columns: 1.2fr 0.9fr 1.3fr;
      gap: 28px;
    }
    .feature-card {
      background: var(--white);
      border-radius: var(--radius-card);
      padding: 32px;
      box-shadow: var(--card-shadow);
      border-left: 4px solid var(--accent);
      transition: all 0.3s ease;
    }
    .feature-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--card-hover-shadow);
      border-left-width: 8px;
    }
    .feature-icon {
      width: 48px;
      height: 48px;
      background: var(--accent-soft);
      border-radius: var(--radius-icon);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 24px;
      color: var(--accent);
    }
    .feature-card h3 {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 12px;
    }
    
    /* ---------- 案例瀑布流 ---------- */
    .masonry {
      columns: 3;
      column-gap: 24px;
    }
    .masonry-item {
      break-inside: avoid;
      margin-bottom: 24px;
      background: white;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: var(--card-shadow);
      transition: 0.2s;
    }
    .masonry-item:hover {
      transform: translateY(-5px);
      box-shadow: var(--card-hover-shadow);
    }
    .masonry-item img {
      width: 100%;
      display: block;
      transition: 0.4s ease;
    }
    .masonry-item:hover img {
      transform: scale(1.04);
    }
    .masonry-text {
      padding: 20px;
    }
    .tag {
      background: var(--accent-soft);
      color: #0a7e6b;
      font-size: 0.75rem;
      font-weight: 600;
      padding: 3px 10px;
      border-radius: 20px;
      display: inline-block;
      margin-right: 6px;
    }
    
    /* ---------- 对比表 ---------- */
    #compare {
      background: #f0f2f5;
    }
    .compare-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .compare-card {
      background: white;
      border-radius: 24px;
      padding: 32px;
      text-align: center;
    }
    .compare-card.recommend {
      border: 2px solid var(--primary);
      position: relative;
    }
    .badge-recommend {
      position: absolute;
      top: -14px;
      right: 20px;
      background: var(--primary);
      color: white;
      padding: 4px 18px;
      border-radius: 20px;
      font-weight: 700;
      font-size: 0.8rem;
    }
    
    /* ---------- FAQ ---------- */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }
    .faq-item {
      background: white;
      border-radius: 16px;
      margin-bottom: 16px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.02);
      overflow: hidden;
    }
    .faq-question {
      padding: 22px 28px;
      font-weight: 600;
      font-size: 1.1rem;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      background: white;
      transition: 0.2s;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      background: #fafafa;
      padding: 0 28px;
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      padding: 20px 28px;
    }
    
    /* ---------- CTA ---------- */
    #contact {
      background: linear-gradient(135deg, #FF6B4A 0%, #ff8a6f 100%);
      color: white;
    }
    .contact-form {
      display: flex;
      flex-direction: column;
      gap: 18px;
      max-width: 480px;
      margin: 30px auto 0;
    }
    .contact-form input, .contact-form textarea {
      padding: 14px;
      border-radius: var(--radius-input);
      border: none;
      font-family: inherit;
    }
    
    /* ---------- 页脚 ---------- */
    .footer {
      background: var(--dark);
      color: #ddd;
      padding: 60px 0 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }
    
    @media (max-width: 1024px) {
      .hero-grid { grid-template-columns: 1fr; }
      .features-grid { grid-template-columns: 1fr 1fr; }
      .masonry { columns: 2; }
    }
    @media (max-width: 768px) {
      .nav-links, .nav-cta .badge { display: none; }
      .hamburger { display: flex; }
      .features-grid, .compare-grid { grid-template-columns: 1fr; }
      .masonry { columns: 1; }
      .footer-grid { grid-template-columns: 1fr; }
      h1 { font-size: 2.5rem; }
    }
