/* roulang page: index */
:root {
      --primary: #E8483B;
      --primary-dark: #C9302C;
      --primary-10: rgba(232, 72, 59, 0.1);
      --secondary: #1B2A3B;
      --secondary-light: #243447;
      --accent: #F5C518;
      --accent-10: rgba(245, 197, 24, 0.1);
      --gray-bg: #F4F0EB;
      --gray-light: #EAE5DF;
      --white: #ffffff;
      --white-80: rgba(255, 255, 255, 0.8);
      --white-60: rgba(255, 255, 255, 0.6);
      --white-10: rgba(255, 255, 255, 0.1);
      --white-08: rgba(255, 255, 255, 0.08);
      --text-dark: #1B2A3B;
      --text-muted: rgba(27, 42, 59, 0.65);
      --radius-lg: 16px;
      --radius-card: 12px;
      --radius-btn: 40px;
      --radius-sm: 8px;
      --shadow-card: 0 4px 20px rgba(27, 42, 59, 0.06);
      --shadow-hover: 0 12px 32px rgba(27, 42, 59, 0.12);
      --shadow-btn: 0 8px 18px rgba(232, 72, 59, 0.25);
      --transition: 0.25s ease;
      --font-heading: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      --max-width: 1280px;
      --nav-height: 64px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 80px;
    }

    body {
      font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', 'Segoe UI', Roboto, sans-serif;
      font-size: 16px;
      line-height: 1.75;
      color: var(--text-dark);
      background-color: var(--gray-bg);
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color var(--transition);
    }

    button, input, textarea {
      font-family: inherit;
      font-size: inherit;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 40px;
    }

    /* 导航栏 —— 创作者平台风格 */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--nav-height);
      background: rgba(27, 42, 59, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(244, 240, 235, 0.2);
      z-index: 1000;
      display: flex;
      align-items: center;
      padding: 0 20px;
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
    }

    .logo-area {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .logo-icon {
      width: 32px;
      height: 32px;
      background: var(--accent);
      mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M22 12h-4l-3 9L9 3l-3 9H2"/></svg>') center/contain no-repeat;
      -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M22 12h-4l-3 9L9 3l-3 9H2"/></svg>') center/contain no-repeat;
      background-color: var(--accent);
    }

    .logo-text {
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 18px;
      letter-spacing: 0.5px;
      color: var(--white);
    }

    .nav-channels {
      display: flex;
      gap: 28px;
      list-style: none;
    }

    .nav-channels a {
      color: var(--white-80);
      font-size: 15px;
      font-weight: 500;
      position: relative;
      padding: 4px 0;
      transition: color var(--transition);
    }

    .nav-channels a::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 50%;
      width: 0;
      height: 2px;
      background: var(--primary);
      border-radius: 2px;
      transform: translateX(-50%);
      transition: width 0.25s ease;
    }

    .nav-channels a:hover {
      color: var(--white);
    }

    .nav-channels a:hover::after {
      width: 100%;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .search-icon {
      width: 20px;
      height: 20px;
      background: var(--white-80);
      mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"/><path d="M21 21l-4.35-4.35"/></svg>') center/contain no-repeat;
      -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"/><path d="M21 21l-4.35-4.35"/></svg>') center/contain no-repeat;
      cursor: pointer;
      opacity: 0.7;
      transition: opacity var(--transition);
    }

    .search-icon:hover {
      opacity: 1;
    }

    .login-btn {
      color: var(--white-80);
      font-size: 14px;
      font-weight: 500;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 6px 12px;
      border-radius: 20px;
      transition: all var(--transition);
    }

    .login-btn:hover {
      color: var(--white);
      background: rgba(255,255,255,0.1);
    }

    .cta-nav-btn {
      background: var(--primary);
      color: white;
      font-weight: 600;
      font-size: 14px;
      padding: 10px 20px;
      border-radius: var(--radius-btn);
      border: none;
      cursor: pointer;
      transition: all 0.2s ease;
      box-shadow: var(--shadow-btn);
      letter-spacing: 0.3px;
    }

    .cta-nav-btn:hover {
      background: var(--primary-dark);
      transform: scale(1.04);
    }

    /* 移动端汉堡菜单（隐藏桌面） */
    .mobile-toggle {
      display: none;
      background: none;
      border: none;
      color: white;
      font-size: 26px;
      cursor: pointer;
    }

    @media (max-width: 768px) {
      .container {
        padding: 0 20px;
      }

      .nav-channels {
        display: none;
      }

      .nav-actions .search-icon,
      .nav-actions .login-btn {
        display: none;
      }

      .mobile-toggle {
        display: block;
      }

      .header-inner {
        justify-content: space-between;
      }

      .logo-area {
        flex: 1;
      }
    }

    /* 首屏 Hero */
    #hero {
      background: var(--secondary) url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding-top: var(--nav-height);
    }

    #hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(27, 42, 59, 0.7);
      backdrop-filter: blur(2px);
    }

    .hero-grid {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      gap: 60px;
      width: 100%;
    }

    .hero-left {
      flex: 1;
    }

    .hero-left h1 {
      font-family: var(--font-heading);
      font-size: 48px;
      font-weight: 700;
      line-height: 1.2;
      color: white;
      margin-bottom: 20px;
    }

    .hero-sub {
      font-size: 18px;
      color: var(--white-80);
      max-width: 580px;
      margin-bottom: 36px;
    }

    .hero-cta-group {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      align-items: center;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      font-weight: 600;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      border: none;
      cursor: pointer;
      transition: all 0.2s;
      box-shadow: var(--shadow-btn);
      display: inline-block;
      text-align: center;
    }

    .btn-primary:hover {
      background: var(--primary-dark);
      transform: scale(1.03);
    }

    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--white-80);
      color: white;
      font-weight: 600;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      cursor: pointer;
      transition: all 0.2s;
      display: inline-block;
      text-align: center;
    }

    .btn-outline:hover {
      background: rgba(255,255,255,0.1);
      border-color: white;
    }

    .hero-right {
      flex: 0.9;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .float-card {
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(10px);
      border-radius: 16px;
      padding: 20px 24px;
      border: 1px solid rgba(255,255,255,0.1);
      color: white;
    }

    .float-card .metric-num {
      font-size: 38px;
      font-weight: 700;
      color: var(--accent);
      line-height: 1.1;
    }

    .float-card .metric-label {
      font-size: 14px;
      color: var(--white-80);
      margin-top: 4px;
    }

    .scroll-indicator {
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      color: white;
      font-size: 28px;
      animation: breathe 2s infinite;
    }

    @keyframes breathe {
      0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
      50% { opacity: 1; transform: translateX(-50%) translateY(8px); }
    }

    @media (max-width: 1024px) {
      .hero-grid {
        flex-direction: column;
        gap: 40px;
      }
      .hero-left h1 {
        font-size: 38px;
      }
    }

    @media (max-width: 768px) {
      .hero-left h1 {
        font-size: 32px;
      }
      .hero-right {
        width: 100%;
      }
    }

    /* 实时指标看板 */
    #metrics {
      background: var(--secondary);
      padding: 80px 0;
    }

    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .metric-card {
      background: var(--secondary-light);
      border-radius: var(--radius-card);
      padding: 28px 20px;
      border: 1px solid var(--white-08);
      text-align: center;
    }

    .metric-value {
      font-size: 42px;
      font-weight: 700;
      color: var(--accent);
    }

    .metric-title {
      color: var(--white-80);
      font-size: 15px;
      margin: 8px 0 14px;
    }

    .progress-bar {
      height: 6px;
      background: rgba(255,255,255,0.1);
      border-radius: 10px;
      overflow: hidden;
    }

    .progress-fill {
      height: 100%;
      background: var(--primary);
      width: 72%;
      border-radius: 10px;
    }

    @media (max-width: 1024px) {
      .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 520px) {
      .metrics-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 服务矩阵 */
    #services {
      background: var(--gray-bg);
      padding: 80px 0;
      text-align: center;
    }

    .section-title {
      font-family: var(--font-heading);
      font-size: 36px;
      font-weight: 600;
      color: var(--secondary);
      margin-bottom: 14px;
    }

    .section-sub {
      color: var(--text-muted);
      max-width: 600px;
      margin: 0 auto 48px;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
      text-align: left;
    }

    .service-card {
      background: white;
      border-radius: var(--radius-card);
      padding: 28px;
      box-shadow: var(--shadow-card);
      transition: all var(--transition);
      cursor: pointer;
    }

    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .service-icon {
      width: 48px;
      height: 48px;
      background: var(--primary-10);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      transition: background var(--transition);
    }

    .service-card:hover .service-icon {
      background: var(--primary);
      color: white;
    }

    .service-card h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .service-card p {
      color: var(--text-muted);
      font-size: 15px;
      margin-bottom: 18px;
    }

    .service-link {
      color: var(--primary);
      font-weight: 600;
      font-size: 15px;
    }

    @media (max-width: 1024px) {
      .services-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .services-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 对比 */
    #compare {
      background: white;
      padding: 80px 0;
    }

    .compare-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }

    .compare-col {
      background: var(--gray-bg);
      border-radius: var(--radius-lg);
      padding: 36px 28px;
    }

    .compare-col.highlight {
      background: white;
      border-left: 5px solid var(--primary);
      box-shadow: var(--shadow-card);
    }

    .compare-col h3 {
      font-size: 22px;
      margin-bottom: 24px;
    }

    .compare-item {
      display: flex;
      justify-content: space-between;
      padding: 12px 0;
      border-bottom: 1px solid rgba(0,0,0,0.05);
      font-size: 16px;
    }

    .strike {
      text-decoration: line-through;
      color: var(--text-muted);
    }

    .highlight-val {
      font-weight: 700;
      color: var(--accent);
    }

    @media (max-width: 768px) {
      .compare-grid {
        grid-template-columns: 1fr;
      }
    }

    /* FAQ */
    #faq {
      background: var(--gray-bg);
      padding: 80px 0;
    }

    .faq-container {
      max-width: 800px;
      margin: 0 auto;
      background: white;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-card);
      padding: 32px;
    }

    .faq-item {
      border-bottom: 1px solid rgba(0,0,0,0.05);
      padding: 12px 0;
    }

    .faq-question {
      font-weight: 600;
      font-size: 18px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      padding: 8px 0;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-muted);
    }

    .faq-item.open .faq-answer {
      max-height: 200px;
      padding: 12px 0;
    }

    /* 表单 */
    #contact {
      background: linear-gradient(135deg, var(--secondary), #2A3F54);
      padding: 80px 0;
    }

    .form-card {
      max-width: 600px;
      margin: 0 auto;
      background: white;
      border-radius: var(--radius-lg);
      padding: 40px;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 14px;
      border: 1px solid var(--gray-light);
      border-radius: var(--radius-sm);
      transition: 0.2s;
    }

    .form-group input:focus,
    .form-group textarea:focus {
      border-color: var(--accent);
      outline: none;
      box-shadow: 0 0 0 3px var(--accent-10);
    }

    .privacy-note {
      font-size: 13px;
      color: var(--text-muted);
      text-align: center;
      margin-top: 12px;
    }

    /* 页脚 */
    .site-footer {
      background: var(--secondary);
      color: white;
      padding: 48px 0 20px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 30px;
    }

    .footer-col p {
      color: var(--white-60);
    }

    .footer-links {
      list-style: none;
    }

    .footer-links a {
      color: var(--white-60);
      font-size: 14px;
      display: block;
      margin-bottom: 8px;
    }

    .footer-links a:hover {
      color: var(--accent);
    }

    .copyright {
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 20px;
      text-align: center;
      color: var(--white-60);
      font-size: 14px;
    }

    .back-to-top {
      position: fixed;
      right: 24px;
      bottom: 30px;
      width: 48px;
      height: 48px;
      background: var(--primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 22px;
      box-shadow: var(--shadow-btn);
    }

    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }
