/* DBeaver Community 中文站 */
:root {
  --bg-deep: #0b1220;
  --bg-mid: #122033;
  --bg-soft: #1a2d45;
  --surface: rgba(255, 255, 255, 0.04);
  --line: rgba(148, 178, 210, 0.18);
  --text: #e8eef6;
  --text-muted: #9db0c7;
  --brand: #f0a35e;
  --brand-strong: #e8893a;
  --accent: #3db8a8;
  --accent-soft: rgba(61, 184, 168, 0.15);
  --danger: #ffb454;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --header-h: 72px;
  --float-h: 64px;
  --font-display: "Space Grotesk", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(61, 184, 168, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(240, 163, 94, 0.16), transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 45%, #0e1828 100%);
  background-attachment: fixed;
  line-height: 1.7;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #6fd4c6;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* Breadcrumb */
.breadcrumb {
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.12);
  font-size: 13px;
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  color: var(--text-muted);
}

.breadcrumb .crumb {
  display: inline-flex;
  align-items: center;
}

.breadcrumb .crumb:not(:last-child)::after {
  content: "/";
  margin: 0 10px;
  color: rgba(157, 176, 199, 0.45);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb .is-current {
  color: var(--text);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(11, 18, 32, 0.72);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(11, 18, 32, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--text);
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

/* Software screenshots */
.shot-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.shot-item {
  margin: 0;
}

.shot-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a1220;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.shot-item img:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.shot-item figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 900px) {
  .shot-gallery {
    grid-template-columns: 1fr;
  }
}

.logo-text span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: var(--surface);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #1a1208;
  box-shadow: 0 10px 28px rgba(232, 137, 58, 0.35);
}

.btn-primary:hover {
  color: #1a1208;
  box-shadow: 0 14px 32px rgba(232, 137, 58, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.btn-accent {
  background: linear-gradient(135deg, #36b3a3, #2a9b8d);
  color: #041512;
  box-shadow: 0 10px 28px rgba(61, 184, 168, 0.3);
}

.btn-accent:hover {
  color: #041512;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - 36px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 48px 0 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(11, 18, 32, 0.62) 0%, rgba(11, 18, 32, 0.84) 48%, rgba(11, 18, 32, 0.95) 100%),
    url("../img/shot-data-editor.png") right center / cover no-repeat;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 178, 210, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 178, 210, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 40%, black 20%, transparent 70%);
  z-index: 0;
  animation: gridDrift 28s linear infinite;
}

@keyframes gridDrift {
  from { transform: translateY(0); }
  to { transform: translateY(56px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 0 0 18px;
  background: linear-gradient(120deg, #fff 20%, #f0c49a 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brandIn 0.9s ease both;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 0 28px;
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  animation: fadeUp 0.8s 0.28s ease both;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  color: var(--text-muted);
  font-size: 13px;
  animation: fadeUp 0.8s 0.4s ease both;
}

.hero-meta b {
  color: var(--text);
  font-weight: 600;
}

@keyframes brandIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-head {
  margin-bottom: 36px;
  max-width: 640px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-item {
  padding: 8px 0 8px 18px;
  border-left: 2px solid var(--accent);
  background: transparent;
}

.feature-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-family: var(--font-display);
}

.feature-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 0;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  border: 1px solid rgba(61, 184, 168, 0.35);
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.keyword-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keyword-links a {
  color: var(--text-muted);
  border-bottom: 1px solid rgba(157, 176, 199, 0.35);
  padding: 4px 0;
  font-size: 14px;
}

.keyword-links a:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.notice {
  margin: 28px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--danger);
  background: rgba(255, 180, 84, 0.08);
  color: #ffe0b0;
  font-size: 14px;
}

.notice a {
  color: #ffd18a;
}

.content-block {
  max-width: 760px;
}

.content-block h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 36px 0 12px;
}

.content-block h3 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
}

.content-block p,
.content-block li {
  color: var(--text-muted);
}

.content-block ul {
  padding-left: 1.2em;
}

.content-block code {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  color: #f3d2b0;
}

.page-hero {
  padding: 56px 0 28px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  line-height: 1.15;
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 640px;
}

.cta-band {
  margin: 40px 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cta-band h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.cta-band p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-inview {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* Float download bar */
.float-download {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  background: rgba(10, 16, 28, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35);
}

.float-download.is-visible {
  transform: translateY(0);
}

.float-inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  min-height: var(--float-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.float-text {
  font-size: 14px;
  color: var(--text-muted);
}

.float-text strong {
  color: var(--text);
  font-family: var(--font-display);
}

.float-download .btn {
  min-height: 44px;
  white-space: nowrap;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  padding: 48px 0 100px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.footer-brand + p,
.footer-col p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text);
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: var(--brand);
}

.footer-stats {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 14px;
}

.footer-stats b {
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
}

.footer-bottom .warn {
  color: #ffd9a0;
}

/* FAQ */
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .feature-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    background: rgba(11, 18, 32, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 36px 0 60px;
  }

  .float-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  body {
    padding-bottom: 20px;
  }
}
