* {
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  margin: 0;
  background: #0b0f1a;
  color: white;
  font-weight: 500;
letter-spacing: 0.2px;
}

.app {
  max-width: 1300px;
  margin: auto;
  padding: 30px;
}

header h1 {
  font-size: 32px;
  margin: 0;
  font-weight: 700;
}

header p {
  color: #aaa;
}

.input-panel {
  margin-top: 25px;
  background: #12182a;
  padding: 20px;
  border-radius: 12px;
}

.modes {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  background: #0e1430;
  padding: 8px;
  border-radius: 10px;
}


.mode {
  background: transparent;
  border: 1px solid #2c3466;
  color: #cbd3ff;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}


.mode.active {
  background: #4f6cff;
  color: white;
  border: none;
}


textarea {
  width: 100%;
  height: 150px;
  background: #0b1020;
  border: 1px solid #222;
  color: white;
  padding: 15px;
  border-radius: 8px;
  resize: none;
  font-size: 14px;
}

.analyze-btn {
  margin-top: 12px;
  width: 100%;
  padding: 14px;
  border: none;
  background: #4f6cff;
  color: white;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
}

.results-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.card {
  background: #12182a;
  padding: 18px;
  border-radius: 12px;
}

.card.wide {
  grid-column: span 3;
}

.bar {
  background: #222;
  border-radius: 6px;
  height: 12px;
  margin-top: 8px;
}

.bar div {
  height: 100%;
  width: 0%;
  background: #4fda8a;
  border-radius: 6px;
  transition: width 0.4s;
}

ul {
  padding-left: 18px;
}

.tagline {
  color: #9aa4ff;
  font-size: 14px;
  margin-top: 4px;
}


@media (max-width: 900px) {
  .results-grid {
    grid-template-columns: 1fr;
  }

  .card.wide {
    grid-column: span 1;
  }

  .modes {
    flex-wrap: wrap;
  }
}




