/* Public home (signed out): enterprise layout. Markup: Pages/Shared/_HomeEnterprise.cshtml. Loaded only on that page. */
.ent {
  --ent-radius: 0.9rem;
  --ent-border: rgba(47, 52, 58, 0.1);
  color: var(--ink);
}

.ent h1, .ent h2, .ent h3 {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
}

.ent .btn { border-radius: 0.55rem; }

.ent-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0 2.5rem;
}

.ent-kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 100%;
  margin: 0 0 1.1rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(11, 107, 203, 0.22);
  border-radius: 999px;
  background: rgba(11, 107, 203, 0.06);
  color: var(--brand-blue-deep);
  font-size: 0.82rem;
  font-weight: 600;
}

.ent-kicker-dot {
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(0, 194, 168, 0.2);
}

.ent-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0 0 1.1rem;
}

.ent-lead {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 36rem;
  margin: 0;
}

.ent-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.75rem;
}

.ent-btn-outline {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--navy-deep);
}

.ent-btn-outline:hover { border-color: var(--accent); color: var(--accent-dark); }

.ent-link-play {
  font-weight: 650;
  text-decoration: none;
  color: var(--accent-dark);
  padding: 0.5rem 0.25rem;
}

.ent-link-play span {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: rgba(11, 107, 203, 0.1);
  font-size: 0.7rem;
}

.ent-link-play:hover { text-decoration: underline; }

.ent-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.ent-trust li::before {
  content: "\2713";
  margin-right: 0.4rem;
  color: var(--brand-teal);
  font-weight: 700;
}

/* Example asset record */
.ent-record {
  margin: 0;
  border: 1px solid var(--ent-border);
  border-radius: var(--ent-radius);
  background: var(--surface);
  box-shadow: 0 30px 60px -20px rgba(31, 36, 41, 0.28);
  overflow: hidden;
}

.ent-record-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.9rem;
  background: var(--surface-muted);
  border-bottom: 1px solid var(--ent-border);
}

.ent-dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; }
.ent-dot.r { background: #ff5f57; }
.ent-dot.y { background: #febc2e; }
.ent-dot.g { background: #28c840; }

.ent-record-url {
  margin-left: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.ent-record-body { padding: 1.2rem 1.3rem 1.1rem; }

.ent-trail {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.ent-trail span { color: var(--brand-teal); margin: 0 0.2rem; }
.ent-trail strong { color: var(--navy-deep); font-size: 1rem; }

.ent-record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.ent-record-grid > div {
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--ent-border);
  border-radius: 0.6rem;
  background: #fbfcfe;
}

.ent-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.ent-record-grid strong { display: block; font-size: 1.15rem; color: var(--navy-deep); margin-top: 0.15rem; }
.ent-record-grid small { color: var(--ink-soft); font-size: 0.78rem; }
.ent-record-grid .ent-warn { color: #b45309; }

.ent-docs {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.88rem;
}

.ent-docs li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.ent-docs small { color: var(--ink-soft); }

.ent-chip {
  display: inline-block;
  min-width: 4.4rem;
  text-align: center;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.ent-chip.ok { background: #e3f6ef; color: #0f6b4f; }
.ent-chip.due { background: #fff1d6; color: #8a5300; }

.ent-record-foot {
  margin: 0.9rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--ent-border);
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* Capability strip */
.ent-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ent-border);
  border-radius: var(--ent-radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  margin-bottom: 4rem;
}

.ent-strip > div { padding: 1.15rem 1.3rem; }
.ent-strip > div + div { border-left: 1px solid var(--ent-border); }
.ent-strip strong { display: block; font-size: 1.15rem; color: var(--navy-deep); }
.ent-strip span { font-size: 0.88rem; color: var(--ink-soft); }

/* Sections */
.ent-section { margin-bottom: 4.5rem; }

.ent-section-head { max-width: 44rem; margin-bottom: 1.75rem; }
.ent-section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.ent-sub { color: var(--ink-soft); font-size: 1.05rem; margin: 0.5rem 0 0; }

.ent-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ent-modules article {
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.4rem 1.25rem;
  border: 1px solid var(--ent-border);
  border-radius: var(--ent-radius);
  background: var(--surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.ent-modules article:hover {
  border-color: rgba(11, 107, 203, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.ent-icon {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, rgba(11, 107, 203, 0.12), rgba(0, 194, 168, 0.14));
  margin-bottom: 0.9rem;
}

.ent-icon svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: none;
  stroke: var(--brand-blue-deep);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ent-modules h3 { font-size: 1.2rem; margin: 0 0 0.4rem; }
.ent-modules p { color: var(--ink-soft); margin: 0 0 0.75rem; }

.ent-modules ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
}

.ent-modules li { padding-left: 1.2rem; position: relative; }

.ent-modules li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 2px;
  background: var(--brand-teal);
}

.ent-tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.18rem 0.55rem;
  border-radius: 0.35rem;
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  color: #7a5a06;
  font-size: 0.72rem;
  font-weight: 700;
}

.ent-more { margin: 1.25rem 0 0; font-weight: 650; }
.ent-more a { text-decoration: none; }
.ent-more a:hover { text-decoration: underline; }

/* Steps */
.ent-steps ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ent-steps li {
  padding: 1.4rem;
  border-radius: var(--ent-radius);
  background: linear-gradient(180deg, #ffffff, #f4f8fc);
  border: 1px solid var(--ent-border);
}

.ent-steps li > span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.ent-steps h3 { font-size: 1.15rem; margin: 0 0 0.35rem; }
.ent-steps p { color: var(--ink-soft); margin: 0; }

.ent .product-tour { margin-bottom: 4.5rem; }

/* Security band */
.ent-security {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  padding: 2.75rem;
  margin-bottom: 4.5rem;
  border-radius: 1.1rem;
  background: linear-gradient(140deg, #141a20 0%, #1f2b3a 55%, #0a3f6e 100%);
  color: rgba(255, 255, 255, 0.86);
}

.ent-security .eyebrow { color: #7ee0d2; }
.ent-security h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.15rem); margin: 0 0 0.75rem; }
.ent-security-intro p { margin: 0; }

.ent-security-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.ent-security-grid li {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
}

.ent-security-grid strong { display: block; color: #fff; margin-bottom: 0.2rem; }
.ent-security-grid span { font-size: 0.9rem; }

/* Industries */
.ent-industries {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ent-industries a {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid var(--ent-border);
  border-radius: 0.7rem;
  background: var(--surface);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ent-industries a:hover { border-color: rgba(11, 107, 203, 0.35); box-shadow: var(--shadow); }
.ent-industries strong { display: block; color: var(--navy-deep); }
.ent-industries span { font-size: 0.88rem; color: var(--ink-soft); }

/* Final call to action */
.ent-final {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.25rem 2.5rem;
  margin-bottom: 3rem;
  border-radius: 1.1rem;
  background: linear-gradient(120deg, var(--brand-blue-deep), var(--brand-blue) 60%, #0b8fb0);
  color: rgba(255, 255, 255, 0.9);
}

.ent-final h2 { color: #fff; margin: 0 0 0.35rem; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.ent-final p { margin: 0; max-width: 38rem; }
.ent-final a:not(.btn) { color: #fff; }
.ent-final .ent-cta { margin-top: 0; }
.ent-final .btn-accent { background: #fff; border-color: #fff; color: var(--brand-blue-deep); box-shadow: none; }
.ent-final .btn-accent:hover { background: var(--brand-mist); color: var(--brand-blue-deep); }
.ent-btn-light { background: transparent; border: 1px solid rgba(255, 255, 255, 0.55); color: #fff; }
.ent-btn-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

@media (max-width: 991px) {
  .ent-hero { grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; }
  .ent-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ent-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ent-strip > div:nth-child(3) { border-left: 0; }
  .ent-strip > div:nth-child(n + 3) { border-top: 1px solid var(--ent-border); }
  .ent-security { grid-template-columns: 1fr; padding: 2rem; }
  .ent-industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .ent-hero h1 { font-size: 2.05rem; }
  .ent-lead { font-size: 1.05rem; }
  .ent-cta .btn { flex: 1 1 100%; }
  .ent-record-body { padding: 1rem; }
  .ent-modules, .ent-steps ol, .ent-security-grid { grid-template-columns: 1fr; }
  .ent-strip { grid-template-columns: 1fr; }
  .ent-strip > div + div { border-left: 0; border-top: 1px solid var(--ent-border); }
  .ent-security { padding: 1.5rem 1.25rem; }
  .ent-final { padding: 1.75rem 1.25rem; }
  .ent-section, .ent-strip, .ent-security, .ent .product-tour { margin-bottom: 3rem; }
}

/* ===== Features page (Pages/Features.cshtml) ===== */
.ent-trailchips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
}

.ent-trailchips span,
.ent-trailchips strong {
  padding: 0.25rem 0.65rem;
  border-radius: 0.4rem;
  border: 1px solid var(--ent-border);
  background: var(--surface);
}

.ent-trailchips strong { border-color: rgba(11, 107, 203, 0.35); color: var(--brand-blue-deep); }
.ent-trailchips i { font-style: normal; color: var(--brand-teal); }

.ent-shot {
  margin: 0;
  border: 1px solid var(--ent-border);
  border-radius: var(--ent-radius);
  background: var(--surface);
  box-shadow: 0 30px 60px -20px rgba(31, 36, 41, 0.28);
  overflow: hidden;
}

.ent-shot img { display: block; width: 100%; height: auto; }

.ent-jump {
  position: sticky;
  top: 4.25rem;
  z-index: 5;
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 0 3.5rem;
  padding: 0.5rem;
  border: 1px solid var(--ent-border);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.ent-jump::-webkit-scrollbar { display: none; }

.ent-jump a {
  flex: none;
  padding: 0.4rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}

.ent-jump a:hover,
.ent-jump a:focus-visible { background: var(--brand-mist); color: var(--brand-blue-deep); }

.ent-features [id] { scroll-margin-top: 8rem; }

.ent-cap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 3.5rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--ent-border);
}

.ent-cap-flip .ent-cap-intro { order: 2; }

.ent-cap-intro h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); margin: 0 0 0.6rem; }
.ent-cap-intro > p { color: var(--ink-soft); font-size: 1.05rem; margin: 0 0 1rem; }
.ent-cap-intro .ent-tag { display: inline-block; }

.ent-cap-shot {
  margin: 0.5rem 0 0;
  border: 1px solid var(--ent-border);
  border-radius: 0.7rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.ent-cap-shot img { display: block; width: 100%; height: auto; }
.ent-cap-shot-phone { max-width: 15rem; border-radius: 1.4rem; }

.ent-feats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.ent-feats li {
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--ent-border);
  border-radius: 0.75rem;
  background: var(--surface);
}

.ent-feats strong { display: block; color: var(--navy-deep); margin-bottom: 0.25rem; }
.ent-feats span { display: block; font-size: 0.92rem; color: var(--ink-soft); }

.ent-tag-inline {
  display: inline-block;
  margin-left: 0.2rem;
  padding: 0 0.4rem;
  border-radius: 0.3rem;
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  color: #7a5a06;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.ent-security-grid li { min-width: 0; }

.ent-mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.ent-mini > div {
  padding: 1rem 1.1rem;
  border: 1px solid var(--ent-border);
  border-radius: 0.7rem;
  background: var(--surface);
}

.ent-mini strong { display: block; color: var(--navy-deep); }
.ent-mini span { font-size: 0.9rem; color: var(--ink-soft); }

.ent-videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
}

.ent-videos article {
  border: 1px solid var(--ent-border);
  border-radius: var(--ent-radius);
  background: var(--surface);
  overflow: hidden;
}

.ent-video-frame { position: relative; padding-top: 56.25%; background: #1e2633; }
.ent-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ent-videos h3 { font-size: 1.05rem; margin: 0.9rem 1rem 0.25rem; }
.ent-videos p { font-size: 0.9rem; color: var(--ink-soft); margin: 0 1rem 1rem; }

.ent-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.ent-plans article {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border: 1px solid var(--ent-border);
  border-radius: var(--ent-radius);
  background: var(--surface);
}

.ent-plans article.is-featured {
  border: 2px solid var(--accent);
  box-shadow: 0 18px 40px -18px rgba(11, 107, 203, 0.45);
}

.ent-plan-badge {
  position: absolute;
  top: -0.7rem;
  left: 1.2rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.ent-plans h3 { font-size: 1.1rem; margin: 0; }
.ent-price { font-size: 1.6rem; font-weight: 700; color: var(--navy-deep); margin: 0.35rem 0 0.6rem; }
.ent-plans p:not(.ent-price) { font-size: 0.92rem; color: var(--ink-soft); }
.ent-plans .btn { margin-top: auto; align-self: flex-start; }

.ent-compare {
  margin-top: 1.25rem;
  border: 1px solid var(--ent-border);
  border-radius: var(--ent-radius);
  background: var(--surface);
  padding: 0 1.25rem;
}

.ent-compare summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 700;
  color: var(--brand-blue-deep);
}

.ent-compare[open] { padding-bottom: 1rem; }
.ent-compare .table-wrap { overflow-x: auto; }

.ent-disclaimer { margin-bottom: 2rem; }

@media (max-width: 991px) {
  .ent-cap { grid-template-columns: 1fr; gap: 1.5rem; }
  .ent-cap-flip .ent-cap-intro { order: 0; }
  .ent-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ent-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ent-jump { top: 3.75rem; }
}

@media (max-width: 600px) {
  .ent-feats, .ent-plans, .ent-mini { grid-template-columns: 1fr; }
  .ent-cap { padding-bottom: 2.5rem; margin-bottom: 2.5rem; }
  .ent-jump { margin-bottom: 2.5rem; }
  .ent-compare { padding: 0 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ent-modules article:hover { transform: none; }
}
