/* roulang page: index */
:root {
      --primary: #0F1923;
      --primary-95: rgba(15, 25, 35, 0.95);
      --accent: #00E5A0;
      --accent-hover: #00C78A;
      --emphasis: #FFB82E;
      --emphasis-hover: #E6A018;
      --bg: #F5F7FA;
      --white: #FFFFFF;
      --border: #E1E6EC;
      --text: #0F1923;
      --text-light: rgba(15, 25, 35, 0.7);
      --text-white: rgba(255, 255, 255, 0.85);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-tag: 6px;
      --shadow-card: 0 1px 3px rgba(15,25,35,0.06), 0 1px 2px rgba(15,25,35,0.04);
      --shadow-hover: 0 8px 24px rgba(15,25,35,0.1);
      --font-title: 'DM Sans', 'Inter', system-ui;
      --font-body: 'Noto Sans SC', 'Inter', system-ui;
      --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
      --max-width: 1280px;
      --header-height: 100px;
      --nav-brand-height: 56px;
      --nav-channel-height: 44px;
      --header-compact: 56px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 120px;
    }

    body {
      font-family: var(--font-body);
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: color 0.2s ease;
    }

    a:hover {
      color: var(--accent);
    }

    button, .btn {
      font-family: var(--font-body);
      cursor: pointer;
      border: none;
      background: none;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.25s ease;
      border-radius: var(--radius-btn);
    }

    .container {
      max-width: var(--max-width);
      margin-left: auto;
      margin-right: auto;
      padding-left: 24px;
      padding-right: 24px;
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(245, 247, 250, 0.85);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--border);
      transition: all 0.3s ease;
    }

    .header.scrolled {
      background: var(--primary-95);
      backdrop-filter: blur(12px);
      border-bottom: none;
    }

    .header.scrolled .brand-row,
    .header.scrolled .channel-row {
      height: 0;
      overflow: hidden;
      padding: 0;
      opacity: 0;
    }

    .header .compact-row {
      display: none;
      height: var(--header-compact);
      align-items: center;
      justify-content: space-between;
      padding: 0 24px;
    }

    .header.scrolled .compact-row {
      display: flex;
    }

    .brand-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: var(--nav-brand-height);
      padding: 0 24px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: var(--font-title);
      font-weight: 700;
      font-size: 20px;
      color: var(--primary);
      letter-spacing: -0.02em;
    }

    .header.scrolled .logo {
      color: white;
    }

    .logo-icon {
      width: 36px;
      height: 36px;
      background: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 6px;
      font-family: var(--font-mono);
      font-weight: 600;
      font-size: 14px;
      color: var(--primary);
      position: relative;
      clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    }

    .brand-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .search-trigger {
      font-size: 18px;
      color: var(--text);
      transition: color 0.2s;
    }

    .header.scrolled .search-trigger {
      color: white;
    }

    .hot-tags {
      display: flex;
      gap: 10px;
      font-size: 13px;
    }

    .hot-tag {
      background: var(--bg);
      padding: 4px 10px;
      border-radius: var(--radius-tag);
      color: var(--text-light);
      font-weight: 500;
      transition: 0.2s;
    }

    .hot-tag:hover {
      background: var(--accent);
      color: var(--primary);
    }

    .channel-row {
      display: flex;
      align-items: center;
      height: var(--nav-channel-height);
      padding: 0 24px;
      gap: 20px;
      border-top: 1px solid var(--border);
    }

    .channel-link {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-light);
      padding-bottom: 4px;
      border-bottom: 2px solid transparent;
      transition: 0.2s;
    }

    .channel-link.active,
    .channel-link:hover {
      color: var(--accent);
      border-bottom-color: var(--accent);
    }

    .compact-nav-links {
      display: flex;
      gap: 20px;
      align-items: center;
    }

    .compact-nav-links a {
      font-size: 15px;
      font-weight: 500;
      color: rgba(255,255,255,0.85);
    }

    .compact-nav-links a:hover {
      color: var(--accent);
    }

    .hamburger {
      display: none;
      font-size: 22px;
      color: var(--primary);
    }

    .header.scrolled .hamburger {
      color: white;
    }

    .mobile-drawer {
      display: none;
    }

    /* Hero */
    .hero {
      background-color: var(--primary);
      background-image: radial-gradient(circle, rgba(255,255,255,0.02) 1px, transparent 1px);
      background-size: 20px 20px;
      padding: 160px 0 120px;
      margin-top: var(--header-height);
      color: white;
      position: relative;
    }

    .hero-content {
      display: flex;
      align-items: center;
      gap: 60px;
      flex-wrap: wrap;
    }

    .hero-text {
      flex: 1 1 400px;
    }

    .hero h1 {
      font-family: var(--font-title);
      font-size: 48px;
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.2;
      margin-bottom: 20px;
    }

    .hero p {
      font-size: 18px;
      color: rgba(255,255,255,0.7);
      margin-bottom: 32px;
      max-width: 500px;
    }

    .hero-visual {
      flex: 1 1 350px;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: var(--radius-card);
      padding: 24px;
      font-family: var(--font-mono);
      backdrop-filter: blur(4px);
    }

    .hash-demo {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .hash-input {
      background: #1A2632;
      padding: 12px;
      border-radius: 6px;
      color: var(--accent);
      font-size: 14px;
      word-break: break-all;
    }

    .hash-arrow {
      text-align: center;
      font-size: 20px;
      color: var(--emphasis);
    }

    .btn-primary {
      background: var(--accent);
      color: var(--primary);
      padding: 14px 32px;
      font-weight: 600;
      border-radius: var(--radius-btn);
    }

    .btn-primary:hover {
      background: var(--accent-hover);
      box-shadow: 0 4px 12px rgba(0,229,160,0.3);
      transform: translateY(-1px);
    }

    .btn-ghost {
      border: 2px solid var(--primary);
      color: var(--primary);
      background: transparent;
      padding: 12px 28px;
    }

    .btn-ghost:hover {
      background: rgba(15,25,35,0.05);
    }

    .scroll-hint {
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      color: rgba(255,255,255,0.5);
      animation: bounce 2s infinite;
    }

    @keyframes bounce {
      0%,100%{ transform: translateX(-50%) translateY(0); }
      50%{ transform: translateX(-50%) translateY(8px); }
    }

    /* 板块通用 */
    section {
      padding: 80px 0;
    }

    .section-title {
      font-family: var(--font-title);
      font-size: 36px;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 24px;
    }

    .section-desc {
      font-size: 18px;
      color: var(--text-light);
      max-width: 700px;
      margin-bottom: 48px;
    }

    /* 痛点 */
    .pain-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .pain-card {
      background: var(--white);
      padding: 32px;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      border-bottom: 3px solid var(--accent);
      transition: all 0.25s;
    }

    .pain-card:hover {
      border-bottom-width: 6px;
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .pain-number {
      font-family: var(--font-mono);
      font-size: 48px;
      font-weight: 600;
      color: var(--accent);
    }

    /* 解决方案 */
    .solution-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }

    .feature-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }

    .feature-card {
      background: var(--white);
      padding: 24px;
      border-radius: var(--radius-card);
      border: 1px solid var(--border);
    }

    .feature-icon {
      width: 40px;
      height: 40px;
      background: var(--accent);
      clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
      margin-bottom: 16px;
    }

    /* 流程 */
    .steps {
      display: flex;
      justify-content: space-between;
      position: relative;
      gap: 20px;
    }

    .step {
      flex: 1;
      text-align: center;
      position: relative;
    }

    .step-circle {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: white;
      border: 2px solid var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
      font-weight: 700;
    }

    .step.active .step-circle {
      background: var(--accent);
      border-color: var(--accent);
      color: var(--primary);
    }

    .step-connector {
      position: absolute;
      top: 24px;
      left: 60%;
      width: 80%;
      border-top: 2px dashed var(--border);
    }

    /* 成果 */
    .stats-bg {
      background: rgba(0,229,160,0.05);
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 32px;
      text-align: center;
    }

    .stat-number {
      font-family: var(--font-mono);
      font-size: 52px;
      font-weight: 600;
      color: var(--accent);
    }

    /* 证言 */
    .testimonials {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 24px;
    }

    .testimonial-card {
      background: white;
      padding: 28px;
      border-radius: var(--radius-card);
      border-left: 4px solid var(--accent);
      font-style: italic;
    }

    /* FAQ */
    .faq-item {
      border: 1px solid var(--border);
      border-radius: var(--radius-card);
      margin-bottom: 12px;
      background: white;
    }

    .faq-question {
      padding: 20px 24px;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      font-size: 18px;
    }

    .faq-answer {
      padding: 0 24px 20px;
      display: none;
      color: var(--text-light);
    }

    .faq-item.open .faq-answer {
      display: block;
    }

    .faq-item.open {
      border-color: var(--accent);
    }

    /* CTA */
    .cta-full {
      background: var(--primary);
      color: white;
      text-align: center;
      padding: 80px 0;
    }

    .btn-cta {
      background: var(--emphasis);
      color: var(--primary);
      padding: 18px 40px;
      font-weight: 700;
      font-size: 18px;
      border-radius: var(--radius-btn);
    }

    .btn-cta:hover {
      background: var(--emphasis-hover);
      box-shadow: 0 0 20px rgba(255,184,46,0.4);
    }

    /* Footer */
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }

    .copyright {
      border-top: 1px solid var(--border);
      margin-top: 40px;
      padding-top: 20px;
      font-size: 14px;
      color: var(--text-light);
      display: flex;
      justify-content: space-between;
    }

    /* 悬浮按钮 */
    .floating-cta {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 999;
    }

    @media (max-width: 1024px) {
      .pain-grid, .testimonials { grid-template-columns: 1fr 1fr; }
      .solution-grid { grid-template-columns: 1fr; }
    }

    @media (max-width: 768px) {
      .hamburger { display: block; }
      .channel-row, .hot-tags { display: none; }
      .mobile-drawer {
        display: none;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: var(--primary-95);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 80px 32px;
        z-index: 999;
      }
      .mobile-drawer.open { display: flex; }
      .pain-grid, .testimonials, .stats-grid { grid-template-columns: 1fr; }
      .steps { flex-direction: column; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      h1 { font-size: 36px; }
    }
