/* HERO SECTION */
.password-hero {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

/* BOX */
.password-box {
  background: #ffffff;
  max-width: 600px;
  width: 100%;
  padding: 30px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* TITLE */
.password-box h1 {
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 10px;
}

.subtitle {
  color: #64748b;
  margin-bottom: 20px;
}

/* INPUT */
.input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.input-group input {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
}

.input-group button {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
}

.input-group button:hover {
  background: #1e40af;
}

/* STRENGTH BAR */
#strengthBar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 15px;
}

#strengthFill {
  height: 100%;
  width: 0%;
  background: red;
  transition: 0.3s;
}

/* RESULT */
.result-box {
  font-weight: 500;
  margin-bottom: 20px;
}

/* TOOL LINKS */
.tool-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tool-links a {
  background: #f1f5f9;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
}

.tool-links a:hover {
  background: #e2e8f0;
}

/* SEO CONTENT */
.seo-content {
  max-width: 900px;
  margin: 40px auto;
}

/* MOBILE */
@media (max-width: 600px) {
  .input-group {
    flex-direction: column;
  }

  .input-group button {
    width: 100%;
  }
}