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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fff;
  color: #000;
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #eee;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.brand {
  font-size: 1.2rem;
  font-weight: 600;
  color: #000;
}

.nav-right .btn-nav {
  background: #f2f2f2;
  color: #000;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.nav-right .btn-nav:hover {
  background: #e5e5e5;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 1rem;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #333;
}

/* Card (Form Wrapper) */
.card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #eee;
  max-width: 600px;
  margin: 2rem auto;
}

.card label {
  display: block;
  margin: 1rem 0 0.5rem;
  font-weight: 500;
  color: #222;
}

input[type="text"],
select {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 1rem;
  background: #fff;
  margin-bottom: 1rem;
}

input[type="text"]:focus,
select:focus {
  border-color: #000;
  outline: none;
}

.btn-submit {
  width: 100%;
  padding: 0.9rem;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background: #333;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  color: #666;
  font-size: 0.85rem;
  border-top: 1px solid #eee;
  margin-top: 4rem;
}

/* Animasi fade-in/out */
#generator-form {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: none;
}

#generator-form.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
