* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background: linear-gradient(135deg, #0f0f1b, #1c1c2b);
  color: white;
  min-height: 100vh;
  padding: 20px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.logo {
  height: 40px;
}

.nav-right button {
  margin-left: 10px;
}

/* Hero */
.hero {
  text-align: center;
  margin-bottom: 50px;
}

.hero h1 {
  font-size: 42px;
  background: linear-gradient(90deg, #7F5AF0, #2CB67D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  margin-top: 15px;
  color: #aaa;
}

/* Card */
.card {
  max-width: 600px;
  margin: auto;
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 40px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
}

label {
  margin-top: 15px;
  margin-bottom: 5px;
  font-size: 14px;
  color: #bbb;
}

input, select {
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 14px;
}

input:focus, select:focus {
  outline: 2px solid #7F5AF0;
}

/* Buttons */
.primary-btn {
  margin-top: 25px;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  background: linear-gradient(90deg, #7F5AF0, #2CB67D);
  color: white;
  transition: 0.3s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(127, 90, 240, 0.4);
}

.primary-btn.small {
  padding: 8px 14px;
  font-size: 13px;
}

.ghost-btn {
  padding: 8px 14px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid #444;
  color: #ccc;
  cursor: pointer;
}

.ghost-btn:hover {
  background: rgba(255,255,255,0.1);
}

/* Result */
.result-card {
  max-width: 800px;
  margin: 40px auto;
  padding: 25px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
}

pre {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.6;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 60px;
  color: #777;
  font-size: 12px;
}