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

body {
  font-family: Arial, sans-serif;
  background: #080b12;
  color: white;
}

.topbar {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #101521;
  border-bottom: 1px solid #252c3a;
}

.topbar h1 {
  font-size: 24px;
}

.topbar p {
  color: #8e98aa;
  margin-top: 5px;
}

.status {
  color: #62ff9a;
  font-size: 14px;
}

.status span {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: #62ff9a;
  border-radius: 50%;
  margin-right: 5px;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 25px;
}

.hero {
  text-align: center;
  padding: 35px 15px;
}

.hero h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.hero p {
  color: #9aa4b5;
  max-width: 650px;
  margin: auto;
  line-height: 1.6;
}

.topic-box {
  display: flex;
  max-width: 750px;
  margin: 25px auto;
  gap: 10px;
}

.topic-box input {
  flex: 1;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid #30394b;
  background: #111722;
  color: white;
  outline: none;
  font-size: 15px;
}

.topic-box button {
  padding: 16px 22px;
  border: none;
  border-radius: 10px;
  background: #ff304f;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.topic-box button:hover {
  opacity: .85;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.card {
  background: #101521;
  border: 1px solid #252d3c;
  border-radius: 15px;
  padding: 22px;
}

.icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: #8d97a8;
  font-size: 14px;
  line-height: 1.5;
}

.card span {
  display: inline-block;
  margin-top: 15px;
  color: #8d97a8;
  font-size: 13px;
}

.progress-section,
.output {
  margin-top: 25px;
  background: #101521;
  border: 1px solid #252d3c;
  border-radius: 15px;
  padding: 22px;
}

.progress-section h2,
.output h2 {
  margin-bottom: 18px;
}

.progress-bar {
  height: 10px;
  background: #252c38;
  border-radius: 10px;
  overflow: hidden;
}

#progress {
  height: 100%;
  width: 0%;
  background: #ff304f;
  transition: width .5s;
}

#agentMessage {
  margin-top: 12px;
  color: #9ca6b6;
}

.output textarea {
  width: 100%;
  min-height: 180px;
  resize: vertical;
  background: #080b12;
  color: #dce3ee;
  border: 1px solid #30394b;
  border-radius: 10px;
  padding: 15px;
  outline: none;
}

@media (max-width: 750px) {

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .workflow {
    grid-template-columns: 1fr;
  }

  .topic-box {
    flex-direction: column;
  }

  .hero h2 {
    font-size: 24px;
  }

  .container {
    padding: 15px;
  }
}