/* =====================================================
   LumeShare 官网样式
   ===================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --text-main: #1f2329;
  --navbar-height: 64px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- 顶部导航栏 ---------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--navbar-height);
  background: #ffffff;
  border-bottom: 1px solid #eef0f4;
  transition: box-shadow 0.2s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.navbar-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-name {
  margin-left: 10px; /* 与 logo 之间空一格 */
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ---------- 下载按钮（胶囊形） ---------- */

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #ffffff;
  border-radius: 999px;
  padding: 9px 26px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.25);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn-download:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32);
  transform: translateY(-1px);
}

.btn-download:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.25);
}

.btn-lg {
  padding: 16px 52px;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
}

.btn-lg:hover {
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.42);
}

/* ---------- 主视觉区 ---------- */

.hero {
  height: calc(100vh - var(--navbar-height));
  min-height: 480px;
  background-image: url("https://backend.appmiaoda.com/projects/supabase316942472787832832/storage/v1/object/public/netdisk-files/uploads/1786214877910______2026-03-28_194805.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  padding: 24px;
  animation: fade-up 0.6s ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 响应式 ---------- */

@media (max-width: 640px) {
  .navbar-inner {
    padding: 0 16px;
  }

  .brand-logo {
    width: 28px;
    height: 28px;
  }

  .brand-name {
    font-size: 18px;
  }

  .btn-download {
    padding: 8px 18px;
    font-size: 14px;
  }

  .hero {
    min-height: 420px;
  }

  .btn-lg {
    padding: 14px 38px;
    font-size: 16px;
  }
}
