/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background: #f9fafe;
  color: #111;
  line-height: 1.6;
  min-height: 100vh;
}

/* Header */
.main-header {
  background: #111827;
  color: white;
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.logo img {
  height: 28px;
  width: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.credit-badge {
  background: #10b981;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
}

.btn {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-login {
  background: #3b82f6;
  color: white;
}

.btn-login:hover {
  background: #2563eb;
}

.btn-logout {
  background: #ef4444;
  color: white;
}

.btn-logout:hover {
  background: #dc2626;
}

/* Hero */
.hero {
  background: linear-gradient(to right, #3b82f6, #06b6d4);
  color: white;
  padding: 3rem 1.5rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Form */
form {
  background: #fff;
  padding: 2rem;
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
}

textarea {
  width: 100%;
  height: 100px;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  resize: vertical;
  margin-bottom: 1rem;
}

.options {
  margin-bottom: 1rem;
}

.options label {
  display: block;
  font-weight: 600;
  margin-top: 0.75rem;
}

select,
input[type="file"] {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 0.4rem;
}

button[type="submit"] {
  background: #3b82f6;
  color: white;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background: #2563eb;
}

/* Result Area */
.result-area {
  margin-top: 2rem;
  text-align: center;
}

.result-area img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #888;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: center; /* center items horizontally */
    gap: 1rem;
    text-align: center;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .logo {
    font-size: 1.1rem;
    justify-content: center;
  }
}

