
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f4f7fb;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
}

header.header {
  background: linear-gradient(to right, #7b2ff7, #f107a3);
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.logo {
  height: 50px;
  vertical-align: middle;
}

.hero-banner {
  background: linear-gradient(to right, #d5a3ff, #f7c1f7);
  padding: 60px 20px;
  text-align: center;
  color: #2c2c2c;
}

.hero-banner .hero-img {
  max-width: 250px;
  margin-top: 30px;
}

.about-section, .scanner-section, .how-it-works, .cta-section {
  background: white;
  padding: 60px 20px;
  text-align: center;
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
  margin-top: 30px;
}

.about-grid div {
  background: #fafafa;
  padding: 20px;
  border-radius: 10px;
  width: 280px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.about-grid img {
  height: 64px;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.steps div {
  background: #f8f9fd;
  border-radius: 8px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.steps img {
  height: 60px;
  margin-bottom: 10px;
}

h1, h2, h3 {
  font-weight: 700;
}

input[type="file"], button {
  margin: 10px auto;
  padding: 12px;
  font-size: 1rem;
  max-width: 300px;
  display: block;
  width: 100%;
  border: none;
  border-radius: 6px;
}

button {
  background-color: #7b2ff7;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #a541f7;
}

.output {
  color: green;
  font-weight: bold;
  margin-top: 20px;
}

.warning {
  color: red;
  font-weight: bold;
  margin-top: 10px;
}

.loading {
  display: none;
  color: #888;
  margin-top: 10px;
}

.reset {
  background-color: #555;
  color: white;
  margin-top: 20px;
}

.cta-section {
  background: linear-gradient(to right, #f107a3, #7b2ff7);
  color: white;
  padding: 60px 20px;
}

footer.footer {
  background: #2c2c2c;
  color: white;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .about-grid, .steps {
    flex-direction: column;
    align-items: center;
  }
}
