/* GoClawAI - 浅色皮肤（参考 Google） */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #202124;
  --text-muted: #5f6368;
  --accent: #1a73e8;
  --accent-end: #4285f4;
  --accent-hover: #1765cc;
  --border: #dadce0;
  --radius: 24px;
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --glow: rgba(26, 115, 232, 0.2);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  padding: 16px 24px 0;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

/* Main - 居中搜索区 */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* 搜索框 */
.search-form {
  width: 100%;
  max-width: 584px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.08);
}

.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--glow);
}

.search-icon {
  color: var(--text-muted);
  font-size: 1.25rem;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
}

.search-input::placeholder {
  color: var(--text-muted);
}

/* 按钮 */
.buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: #f8f9fa;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: #f1f3f4;
  border-color: #dadce0;
}

/* Tagline */
.tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Footer */
.footer {
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text);
}

/* 版权 + 备案同一行（底部居中、12px） */
.footer-copy-beian {
  margin: 4px 0 0;
  padding: 0;
  text-align: center;
  color: #70757a;
  font-size: 12px;
  line-height: 1.5;
}

.footer-copyright {
  color: #70757a;
}

.footer-copy-beian__sep {
  color: #dadce0;
}

.footer-beian__link {
  color: #70757a;
  text-decoration: none;
}

.footer-beian__link:hover {
  color: var(--text-muted);
  text-decoration: underline;
}

/* 响应式 */
@media (max-width: 640px) {
  .buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
