@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600&display=swap');

:root {
  --color-accent: #0a152d !important;
  --color-accent-hover: #17233d !important;
  --color-accent-light: #eef3f8 !important;
  --color-surface-tertiary: #f9fafb !important;
  --color-border: #e2e8f0 !important;
  --font-sans: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif !important;
}

body {
  background: #f9fafb !important;
  color: #0a1b33 !important;
  font-family: var(--font-sans) !important;
}

.top-nav {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(226, 232, 240, 0.75) !important;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.04);
}

.top-nav-inner {
  max-width: 1400px !important;
  min-height: 64px;
}

.nav-brand,
h1,
h2,
h3 {
  color: #0a1b33 !important;
}

.nav-brand {
  font-family: "Outfit", var(--font-sans) !important;
  letter-spacing: -0.02em;
}

.nav-link {
  border-radius: 999px !important;
}

.nav-link.active {
  background: #0a152d !important;
  box-shadow: 0 8px 24px rgba(10, 21, 45, 0.14) !important;
}

.card,
.bg-white,
[class*="rounded-xl"],
[class*="rounded-lg"] {
  border-color: rgba(226, 232, 240, 0.72) !important;
}

.card {
  border-radius: 28px !important;
  box-shadow: 0 24px 70px -38px rgba(15, 23, 42, 0.32) !important;
}

button,
[class*="bg-accent"] {
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease !important;
}

button:not(:disabled):hover {
  transform: translateY(-1px);
}

input,
select,
textarea,
.options-box,
.preview-container {
  border-color: #e2e8f0 !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #94a3b8 !important;
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.14) !important;
  outline: none !important;
}

.unified-tool-nav {
  position: relative;
  z-index: 100;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 24px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px);
}

.unified-tool-nav a {
  color: #0a1b33;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.unified-tool-nav__home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.unified-tool-nav__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.unified-tool-nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.unified-tool-nav__links a {
  padding: 9px 14px;
  border-radius: 999px;
  color: #64748b;
}

.unified-tool-nav__links a:hover,
.unified-tool-nav__links a[aria-current="page"] {
  background: #0a152d;
  color: white;
}

@media (max-width: 760px) {
  .unified-tool-nav { padding-inline: 14px; }
  .unified-tool-nav__home > span:last-child { display: none; }
  .unified-tool-nav__links { overflow-x: auto; }
  .unified-tool-nav__links a { white-space: nowrap; }
}
