* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #1f2937;
  background: #f6f7fb;
  line-height: 1.6;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #111827;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}
.brand { font-weight: 700; font-size: 20px; }
nav a {
  color: #e5e7eb;
  text-decoration: none;
  margin-left: 18px;
  font-size: 14px;
}
nav a:hover { color: white; text-decoration: underline; }
.hero {
  padding: 70px 32px;
  background: linear-gradient(135deg, #1f2937, #374151);
  color: white;
}
.hero h1 { font-size: 44px; max-width: 780px; margin: 8px 0; }
.hero p { max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; color: #d1d5db; }
.content-section {
  max-width: 1100px;
  margin: 32px auto;
  padding: 32px;
  background: white;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.element-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.demo-card, .product-card, .employee, .attribute-panel {
  border: 1px solid #e5e7eb;
  padding: 18px;
  border-radius: 12px;
  background: #fbfdff;
}
.featured { border-color: #9ca3af; }
.primary-btn, .btn, button {
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  background: #374151;
  color: white;
}
.btn-reset { background: #6b7280; }
.message { margin-top: 16px; color: #d1fae5; font-weight: 600; }
.attribute-panel { margin-top: 18px; }
label { display: block; margin: 14px 0; font-weight: 600; }
input, select, textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}
.radio-group label, .checkbox-group label { font-weight: normal; display: inline-block; margin-right: 18px; }
.radio-group input, .checkbox-group input { display: inline-block; width: auto; }
table { width: 100%; border-collapse: collapse; margin-top: 18px; }
th, td { border: 1px solid #d1d5db; padding: 12px; text-align: left; }
th { background: #f3f4f6; }
.status { padding: 4px 10px; border-radius: 999px; font-size: 13px; }
.status.active { background: #dcfce7; }
.status.pending { background: #fef9c3; }
.status.inactive { background: #fee2e2; }
.axis-section { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
.company, .department, .team { border: 1px dashed #9ca3af; padding: 18px; margin: 14px 0; border-radius: 12px; }
.employee { margin: 12px 0; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 12px; }
.xpath-cheatsheet { background: #111827; color: white; padding: 18px; border-radius: 14px; }
.xpath-cheatsheet code {
  display: block;
  background: #1f2937;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  color: #e5e7eb;
  overflow-wrap: anywhere;
}
.practice-list li { padding: 8px 0; }
.site-footer { text-align: center; padding: 28px; color: #6b7280; }
@media (max-width: 800px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  nav a { display: inline-block; margin: 6px 12px 6px 0; }
  .hero h1 { font-size: 32px; }
  .axis-section { grid-template-columns: 1fr; }
  .employee { grid-template-columns: 1fr; }
}
