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

body {
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Inter", "Segoe UI", sans-serif;
  color: #0b0d12;
  background: #f4f5f7;
  min-height: 100vh;
}

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at top, #ffffff 0%, #eef0f3 40%, #e7eaf0 100%);
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.6;
}

.glow-a {
  width: 420px;
  height: 420px;
  top: -140px;
  right: -120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(114, 138, 255, 0.3));
}

.glow-b {
  width: 320px;
  height: 320px;
  bottom: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 199, 160, 0.3));
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 8vw;
  position: sticky;
  top: 0;
  backdrop-filter: blur(20px);
  background: rgba(244, 245, 247, 0.7);
  border-bottom: 1px solid rgba(15, 18, 26, 0.08);
  z-index: 10;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #5c616c;
}

.login-status {
  font-weight: 600;
  color: #111827;
}

.points-balance {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 18, 26, 0.06);
  color: #2f333b;
}

.login-link {
  color: #2f3a5e;
  text-decoration: none;
  font-weight: 600;
}

.login-link:hover {
  text-decoration: underline;
}

.brand {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-sub {
  font-size: 13px;
  color: #5c616c;
}

main {
  padding: 40px 8vw 80px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: start;
}

.pill {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(15, 18, 26, 0.05);
  font-size: 13px;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  margin: 18px 0 16px;
}

.lead {
  color: #5b606b;
  line-height: 1.7;
  max-width: 520px;
}

.principles {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.principles h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.principles p {
  color: #5d626d;
  line-height: 1.6;
}

.form-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  padding: 28px;
  border: 1px solid rgba(15, 18, 26, 0.08);
  box-shadow: 0 30px 80px rgba(15, 18, 26, 0.12);
}

.form-card h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.muted {
  color: #6a707c;
  margin-bottom: 18px;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: #3d4149;
}

input,
textarea {
  border-radius: 14px;
  border: 1px solid rgba(15, 18, 26, 0.1);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.9);
  color: #0b0d12;
}

.primary-button {
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #111827, #2f3a5e);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.primary-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.status {
  margin-top: 12px;
  font-size: 13px;
  color: #5063e6;
}

.output {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.output-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(15, 18, 26, 0.08);
  box-shadow: 0 20px 60px rgba(15, 18, 26, 0.08);
  min-height: 160px;
}

.output-card h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.output-card.full {
  grid-column: 1 / -1;
}

.output-card div {
  font-size: 14px;
  color: #4a4f58;
  line-height: 1.7;
}

.output-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.output-tags span {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 18, 26, 0.06);
  color: #2f333b;
}

.output-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.output-list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 18, 26, 0.04);
  color: #343841;
}

.output-paragraph {
  margin-bottom: 16px;
}

.output-paragraph:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    gap: 10px;
  }
}
