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

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0b141a;
  color: #e9edef;
  overflow: hidden;
}

/* INTRO */
#intro {
  position: fixed;
  inset: 0;
  background: #0b141a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeOut 0.8s ease forwards;
  animation-delay: 5.5s;
}

.intro-content {
  text-align: center;
  animation: fadeIn 0.8s ease forwards;
}

.intro-content h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.intro-tagline {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 16px;
}

.intro-uses span {
  display: block;
  font-size: 0.85rem;
  opacity: 0.7;
  animation: fadeCycle 3s infinite;
}

.intro-uses span:nth-child(2) { animation-delay: 1s; }
.intro-uses span:nth-child(3) { animation-delay: 2s; }

.intro-credit {
  font-size: 0.75rem;
  opacity: 0.5;
  margin-top: 12px;
}

/* APP */
.app {
  height: 100dvh;
  display: flex;
  flex-direction: column;
}

.top-bar {
  padding: 12px 16px;
  background: #1f2933;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.title {
  font-weight: 600;
}

.subtitle {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* MAIN */
.main {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.main h2 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.desc {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 16px;
}

.card {
  background: #1f2c34;
  padding: 16px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

label {
  font-size: 0.75rem;
  opacity: 0.7;
}

textarea, select {
  background: #2a3942;
  border: none;
  border-radius: 8px;
  padding: 10px;
  color: #fff;
  font-size: 0.85rem;
}

textarea {
  resize: none;
  height: 80px;
}

button {
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: #00a884;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* RESULT */
.result {
  margin-top: 20px;
  background: #1f2c34;
  padding: 16px;
  border-radius: 12px;
  animation: fadeIn 0.4s ease;
  white-space: pre-wrap;
}

.hidden {
  display: none;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}

@keyframes fadeCycle {
  0% { opacity: 0.3; }
  30% { opacity: 1; }
  100% { opacity: 0.3; }
}
