/* Trang Phần mềm SA247 — bổ sung cho assets/site.css */
.sw-hero {
  position: relative;
  padding: 7.5rem 0 3.5rem;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(212, 167, 44, 0.18), transparent 45%),
    linear-gradient(160deg, #0b1f3a 0%, #071426 100%);
  overflow: hidden;
}
.sw-hero .kicker { color: var(--amber); }
.sw-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0.25rem 0 0.6rem;
  overflow-wrap: anywhere;
}
.sw-hero__tagline {
  margin: 0 0 1rem;
  font-size: clamp(1.1rem, 2.6vw, 1.45rem);
  font-weight: 700;
  color: var(--amber-hot);
}
.sw-hero__lead {
  margin: 0 0 1.25rem;
  max-width: 44rem;
  color: var(--dark-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}
.sw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.sw-chips li {
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.sw-chips li.sw-chip--brand {
  border-color: var(--amber);
  color: var(--deep);
  background: var(--amber);
}
.sw-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}
.sw-shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
}
.sw-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.sw-shot figcaption {
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--mist);
  border-top: 1px solid var(--line);
}
.sw-section { padding: clamp(3rem, 7vw, 4.75rem) 0; background: var(--foam); }
.sw-section--white { background: #fff; }
.sw-section--navy { background: var(--navy); color: #fff; }
.sw-section--navy .title { color: #fff; }
.sw-section--navy .lead { color: var(--dark-secondary); }
.sw-section .lead { margin-bottom: 1.75rem; }

.sw-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sw-step;
}
.sw-steps li {
  position: relative;
  padding: 1.35rem 1.25rem 1.25rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.sw-steps li::before {
  counter-increment: sw-step;
  content: counter(sw-step);
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--amber);
  font-weight: 800;
}
.sw-steps h3, .sw-card h3 { margin: 0 0 0.4rem; font-size: 1.08rem; }
.sw-steps p, .sw-card p, .sw-card li { margin: 0; color: var(--text-secondary); font-size: 0.96rem; }

.sw-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(1.25rem, 4vw, 2.75rem);
  align-items: center;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}
.sw-feature:first-of-type { border-top: 0; }
.sw-feature--text { grid-template-columns: 1fr; }
.sw-feature h3 { margin: 0 0 0.5rem; font-size: clamp(1.15rem, 2.4vw, 1.4rem); }
.sw-feature p { margin: 0 0 0.6rem; color: var(--text-secondary); }
.sw-feature ul { margin: 0; padding-left: 1.15rem; color: var(--text-secondary); }
.sw-feature li { margin: 0.25rem 0; }
.sw-tag {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: rgba(22, 163, 74, 0.1);
}
.sw-tag--dev { color: #8a5a00; background: rgba(212, 167, 44, 0.2); }

.sw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.sw-card {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.sw-card ul { margin: 0; padding-left: 1.1rem; }
.sw-card li { margin: 0.3rem 0; }
.sw-boundary {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--amber);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 600;
}

.sw-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.sw-plan {
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.25rem;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.sw-plan--accent { border: 2px solid var(--amber); }
.sw-plan h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.sw-plan__price { margin: 0 0 0.35rem; font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.sw-plan__note { margin: 0; color: var(--text-muted); font-size: 0.9rem; }
.sw-activate {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--dark-secondary);
}
.sw-activate li { margin: 0.35rem 0; }
.sw-activate code, .sw-download code {
  font-size: 0.9em;
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  background: rgba(11, 31, 58, 0.08);
}
.sw-section--navy .sw-activate code { background: rgba(255, 255, 255, 0.12); color: #fff; }
.sw-section--navy a { color: var(--amber-hot); }

.sw-faq details {
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.sw-faq summary { cursor: pointer; font-weight: 700; }
.sw-faq details p { margin: 0.6rem 0 0; color: var(--text-secondary); }

.sw-download {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.25rem;
}
.sw-download dl { margin: 0 0 1rem; }
.sw-download dt { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.sw-download dd { margin: 0.15rem 0 0.8rem; }
.sw-hash {
  display: block;
  padding: 0.6rem 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.85rem;
  word-break: break-all;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.sw-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}
.sw-contact dl { margin: 0; }
.sw-contact dt { font-weight: 700; color: var(--dark-muted); font-size: 0.85rem; }
.sw-contact dd { margin: 0 0 0.75rem; font-size: 1.15rem; font-weight: 700; }
.sw-contact img { border-radius: 10px; background: #fff; }

.sw-list-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.sw-list-card h2 { margin: 0.2rem 0 0.4rem; font-size: clamp(1.3rem, 3vw, 1.7rem); }

@media (max-width: 820px) {
  .sw-feature, .sw-download, .sw-list-card { grid-template-columns: 1fr; }
  .sw-hero { padding-top: 6rem; }
}
.sw-list-card--text { grid-template-columns: 1fr; max-width: 52rem; }
.sw-list-card + .sw-list-card { margin-top: 1.5rem; }
