body {
  margin: 0;
  background: #111317;
  color: #e6e7ea;
  font-family: Arial, sans-serif;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: auto;
}

/* HEADER */
.site-header {
  background: #111317;
  padding: 16px 0;
  border-bottom: 1px solid #22252b;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.9;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.25em;
}

.brand-tagline {
  font-size: 11px;
  color: #8c93a5;
}

/* HERO */
.hero {
  text-align: center;
  padding: 80px 0 70px;
  background: #1a1f2e;
}

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

.hero p {
  max-width: 520px;
  margin: 0 auto 24px;
  color: #c2c6d5;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 14px;
}

.btn-primary {
  background: #4f7cff;
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid #4f7cff;
  color: #4f7cff;
}

.btn-secondary {
  background: #252a3a;
  color: #e6e7ea;
  border: 1px solid #32384a;
}

/* SECTIONS */
.section {
  padding: 60px 0;
}

.alt {
  background: #181b22;
}

.section h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.benefits {
  line-height: 1.8;
  padding-left: 18px;
}

/* FILTERS */
.spec-filters {
  margin-bottom: 18px;
}

.spec-filters h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#categoryFilter,
#searchInput {
  padding: 9px 10px;
  border-radius: 6px;
  border: 1px solid #2f3444;
  background: #151925;
  color: #e6e7ea;
  font-size: 13px;
}

#categoryFilter {
  min-width: 160px;
}

#searchInput {
  flex: 1;
}

/* SPEC BUILDER */
.spec-section {
  background: #111317;
}

.spec-intro {
  color: #c2c6d5;
  font-size: 14px;
  margin-bottom: 20px;
}

.spec-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.spec-column h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card {
  background: #1b202e;
  border-radius: 8px;
  padding: 10px 12px;
  border: 1px solid #2c3345;
  cursor: grab;
}

.product-card:active {
  cursor: grabbing;
}

.product-name {
  font-size: 14px;
  font-weight: 600;
}

.product-meta {
  font-size: 12px;
  color: #a0a6b8;
}

.hint-text {
  font-size: 12px;
  color: #8e94a5;
  margin-top: 8px;
}

.spec-dropzone {
  min-height: 160px;
  border-radius: 10px;
  border: 1px dashed #3b4257;
  padding: 10px;
  background: #181b24;
}

.spec-dropzone.hover {
  border-color: #4f7cff;
  background: #1d2232;
}

.empty-state {
  font-size: 13px;
  color: #a0a6b8;
  text-align: center;
  margin: 35px 0;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.spec-table th,
.spec-table td {
  border-bottom: 1px solid #2b3244;
  padding: 6px 8px;
  text-align: left;
}

.spec-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hidden {
  display: none;
}

/* FORM */
.form-section {
  padding: 60px 0 70px;
  background: #111317;
}

form input,
form button {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid #333;
  font-size: 14px;
}

form button {
  background: #4f7cff;
  color: white;
  border: none;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  font-size: 12px;
  color: #777;
  border-top: 1px solid #22252b;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .spec-layout {
    grid-template-columns: 1fr;
  }
}
