/* ===== TrexServers Public / Marketing — matches portal & admin shell ===== */

.marketing-app {
  --shell-bg: #F8FAFC;
  --shell-surface: #FFFFFF;
  --shell-surface-alt: #F8FAFC;
  --shell-border: #e2e8f0;
  --mk-text: #1E293B;
  --mk-heading: #1E293B;
  --mk-muted: #747474;
  --mk-radius: 0.75rem;
  --mk-radius-lg: 1rem;
  --mk-system-green: #22C55E;
  --mk-system-green-bright: #4ADE80;
  --mk-warning: #F59E0B;
  --mk-error: #DC2626;
  --mk-primary: #0A52C8;
  --mk-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  font-family: 'Roboto', system-ui, -apple-system, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.55;
  background-color: var(--shell-bg);
  color: var(--mk-text);
}

.marketing-app h1,
.marketing-app h2,
.marketing-app h3,
.marketing-app h4,
.marketing-app h5,
.marketing-app h6 {
  color: var(--mk-heading);
  line-height: 1.25;
}

.marketing-app main {
  min-height: 50vh;
}

/* --- Flash toast (portal-style) --- */
.marketing-flash-wrap {
  position: fixed;
  top: 5.5rem;
  right: 1rem;
  z-index: 1100;
  max-width: 24rem;
  width: calc(100% - 2rem);
  pointer-events: none;
}

.marketing-flash-wrap .marketing-flash-toast {
  pointer-events: auto;
  border: none;
  border-left: 4px solid transparent;
  border-radius: 0.5rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  font-size: 0.875rem;
}

.marketing-flash-wrap .alert-success.marketing-flash-toast { border-left-color: #22C55E; }
.marketing-flash-wrap .alert-danger.marketing-flash-toast { border-left-color: #DC2626; }
.marketing-flash-wrap .alert-info.marketing-flash-toast { border-left-color: #0A52C8; }
.marketing-flash-wrap .alert-warning.marketing-flash-toast { border-left-color: #F59E0B; }

/* --- Header --- */
.marketing-app .header {
  --background-color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  padding: 0.65rem 0;
}

.marketing-app .navmenu > ul > li > a {
  font-family: var(--mk-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.marketing-app .header .btn-getstarted,
.marketing-app .header .btn-getstarted-outline,
.marketing-app .header .btn-getstarted-admin {
  border-radius: 0.35rem;
  padding: 0.45rem 1.1rem;
  margin-left: 1rem;
  font-family: var(--mk-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --- Heroes --- */
.marketing-app .hero-bg {
  background: linear-gradient(145deg, #053484 0%, #0A52C8 42%, #1d6deb 100%);
}

.marketing-app .page-hero {
  padding-top: 2.75rem !important;
  padding-bottom: 2.75rem !important;
}

.marketing-app .page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  letter-spacing: -0.02em;
}

.marketing-app .page-hero .lead {
  font-size: 1.05rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.marketing-app .home-hero {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.marketing-app .home-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.03em;
}

.marketing-app .home-hero .lead {
  font-size: 1.125rem;
  line-height: 1.65;
}

.marketing-app .home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.15), transparent 60%);
  pointer-events: none;
}

.marketing-app .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.5;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
}

.marketing-app .home-hero .container {
  position: relative;
  z-index: 1;
}

.marketing-app .marketing-hero-gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #c5d3ed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.marketing-app .marketing-hero-dot {
  width: 8px;
  height: 8px;
}

.marketing-app .marketing-auth-section {
  padding-top: 2.5rem !important;
  padding-bottom: 3rem !important;
  background: linear-gradient(180deg, #ffffff 0%, var(--shell-bg) 100%) !important;
  min-height: calc(100vh - 4.25rem);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--shell-border);
}

.marketing-app .marketing-container-auth {
  max-width: 28rem;
}

.marketing-app .marketing-auth-card {
  background: var(--shell-surface) !important;
  box-shadow: 0 0.35rem 1.25rem rgba(15, 23, 42, 0.08) !important;
  border-radius: var(--mk-radius-lg) !important;
}

.marketing-app .marketing-auth-card .card-body {
  padding: 1.75rem 1.5rem;
}

@media (min-width: 576px) {
  .marketing-app .marketing-auth-card .card-body {
    padding: 2rem 2.25rem;
  }
}

.marketing-app .marketing-auth-card .marketing-auth-logo {
  height: 32px;
  width: auto;
}

.marketing-app .marketing-auth-card .marketing-auth-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--mk-heading);
  margin-top: 0.75rem;
  margin-bottom: 0.35rem;
}

.marketing-app .marketing-auth-card .marketing-auth-subtitle {
  font-size: 0.875rem;
}

.marketing-app .marketing-icon-gradient {
  background: linear-gradient(135deg, #0A52C8, #0846a8);
  color: #fff !important;
}

/* --- Section rhythm --- */
.marketing-app main > section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  overflow: visible;
}

.marketing-app .marketing-trust-strip {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
  background: var(--shell-surface) !important;
  border-bottom: 1px solid var(--shell-border) !important;
}

.marketing-app section.bg-light {
  background-color: var(--shell-bg) !important;
}

.marketing-app section.bg-white {
  background-color: var(--shell-surface) !important;
}

/* --- Reusable marketing components --- */
.marketing-kicker {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 0.35rem;
  font-family: var(--mk-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(10, 82, 200, 0.08);
  color: #0A52C8;
  border: 1px solid rgba(10, 82, 200, 0.12);
}

.marketing-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.75rem;
  background: rgba(10, 82, 200, 0.1);
  color: #0A52C8;
  font-size: 1.35rem;
}

.marketing-icon-lg {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.5rem;
}

.marketing-icon-circle {
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
}

.marketing-check {
  color: #0A52C8;
}

.marketing-link {
  color: #0A52C8;
  font-weight: 600;
  text-decoration: none;
}

.marketing-link:hover {
  color: #0846a8;
  text-decoration: underline;
}

/* --- Cards --- */
.marketing-app .card {
  border: 1px solid var(--shell-border);
  border-radius: var(--mk-radius);
}

.marketing-app .card.border-0.shadow-sm,
.marketing-app .card.border-0.shadow,
.marketing-app .card.border-0.shadow-lg {
  border: 1px solid var(--shell-border) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 18px rgba(15, 23, 42, 0.05) !important;
}

.marketing-app .feature-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.marketing-app .feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(10, 82, 200, 0.25) !important;
  box-shadow: 0 8px 24px rgba(10, 82, 200, 0.1) !important;
}

.marketing-app .marketing-panel-card .card-body {
  padding: 1.5rem 1.75rem;
}

/* --- Steps --- */
.marketing-app .marketing-step-num {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1rem;
  background: linear-gradient(135deg, #0A52C8, #0846a8);
  box-shadow: 0 4px 14px rgba(10, 82, 200, 0.35);
}

.marketing-app .marketing-steps-line {
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(10, 82, 200, 0.35) 20%, rgba(10, 82, 200, 0.35) 80%, transparent);
  transform: translateY(-1rem);
}

/* --- CTA --- */
.marketing-app .marketing-cta-section {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%) !important;
}

.marketing-app .marketing-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10, 82, 200, 0.22), transparent 68%);
  pointer-events: none;
}

.marketing-app .marketing-brand-bar {
  background: var(--shell-surface) !important;
  border-color: var(--shell-border) !important;
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

.marketing-app .marketing-container-narrow {
  max-width: 720px;
}

.marketing-app .marketing-container-md {
  max-width: 900px;
}

.marketing-app .marketing-container-wide {
  max-width: 1100px;
}

.marketing-app .marketing-container-kb {
  max-width: 62.5rem;
}

.marketing-app .marketing-price {
  color: #0A52C8;
}

.marketing-app .marketing-icon-sm {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.1rem;
}

.marketing-app .marketing-section-title {
  color: #0A52C8;
  border-bottom: 2px solid #0A52C8;
  padding-bottom: 0.25rem;
}

.marketing-app .marketing-callout {
  background: rgba(10, 82, 200, 0.05);
  border: 1px solid rgba(10, 82, 200, 0.12);
}

.marketing-app .marketing-feature-tile {
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: var(--mk-radius);
}

.marketing-app .marketing-trust-icon {
  font-size: 1.75rem;
  color: #0A52C8;
}

.marketing-app .domain-result {
  cursor: pointer;
  transition: background 0.15s;
}

.marketing-app .domain-result:hover {
  background: rgba(10, 82, 200, 0.06);
}

.marketing-app .domain-result.selected {
  background: rgba(10, 82, 200, 0.1);
  border-color: #0A52C8 !important;
}

.marketing-app .marketing-kb-search {
  max-width: 40rem;
}

.marketing-app .marketing-article-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.marketing-app .marketing-article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(10, 82, 200, 0.2) !important;
  box-shadow: 0 8px 22px rgba(10, 82, 200, 0.08) !important;
}

/* --- Forms (contact, login when on marketing layout) --- */
.marketing-app .form-control,
.marketing-app .form-select {
  border-color: var(--shell-border);
  border-radius: 0.5rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.9375rem;
}

.marketing-app .form-control:focus,
.marketing-app .form-select:focus {
  border-color: #0A52C8;
  box-shadow: 0 0 0 3px rgba(10, 82, 200, 0.12);
}

.marketing-app .form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mk-heading);
  margin-bottom: 0.35rem;
}

.marketing-app .btn {
  border-radius: 0.5rem;
  font-weight: 600;
}

.marketing-app .btn-lg {
  padding: 0.65rem 1.35rem;
  font-size: 1rem;
}

/* --- Pricing page --- */
.marketing-app .pricing .pricing-card {
  border: 1px solid var(--shell-border);
  border-radius: var(--mk-radius-lg);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 20px rgba(15, 23, 42, 0.05);
}

.marketing-app .pricing .pricing-card:hover {
  box-shadow: 0 12px 28px rgba(10, 82, 200, 0.12);
  border-color: rgba(10, 82, 200, 0.2);
}

/* --- Footer --- */
.marketing-app .footer {
  background: #0b1220;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.875rem;
}

.marketing-app .footer .footer-top {
  padding-top: 3rem !important;
  padding-bottom: 2rem !important;
}

.marketing-app .footer .footer-brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.marketing-app .footer .copyright {
  font-size: 0.8125rem;
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

/* --- Misc --- */
.marketing-app .pulse-dot {
  animation: marketing-pulse-dot 2s infinite;
}

@keyframes marketing-pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.marketing-app .display-5 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

@media (max-width: 767px) {
  .marketing-app main > section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .marketing-app .header .btn-getstarted,
  .marketing-app .header .btn-getstarted-outline,
  .marketing-app .header .btn-getstarted-admin {
    margin-left: 0.5rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.8125rem;
  }
}

/* --- Corporate heroes & homepage --- */
.marketing-app main > section.marketing-home-hero:not(.marketing-hero-has-image) {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, rgba(10, 82, 200, 0.05) 100%);
  border-bottom: 1px solid var(--shell-border);
  padding: 5rem 0 5.5rem;
  overflow: visible;
}

.marketing-app main > section.marketing-page-hero:not(.marketing-hero-has-image) {
  background: linear-gradient(180deg, #ffffff 0%, var(--shell-bg) 100%);
  border-bottom: 1px solid var(--shell-border);
  padding: 3.5rem 0 3rem;
  overflow: visible;
}

.marketing-app .marketing-hero-has-image.marketing-home-hero,
.marketing-app .marketing-hero-has-image.marketing-page-hero {
  background-color: #ffffff;
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--shell-border);
  overflow: visible;
  width: 100%;
  max-width: 100%;
}

.marketing-app main > section.marketing-hero-has-image {
  overflow: visible;
}

.marketing-app .marketing-hero-has-image .marketing-hero-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  padding-left: clamp(1.25rem, 5vw, 4.5rem);
  padding-right: clamp(1rem, 3vw, 2rem);
}

.marketing-app .marketing-hero-has-image .marketing-hero-content--image {
  max-width: min(38rem, 44vw);
}

.marketing-app .marketing-home-hero.marketing-hero-has-image .marketing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, min(38rem, 44vw)) minmax(0, 20rem);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: center;
  justify-content: start;
  width: 100%;
}

.marketing-app .marketing-hero-has-image .container,
.marketing-app .marketing-hero-has-image .marketing-hero-shell {
  position: relative;
  z-index: 1;
}

.marketing-app .marketing-hero-content {
  position: relative;
  z-index: 1;
}

.marketing-app .marketing-hero-has-image.marketing-home-hero {
  min-height: clamp(560px, 88vh, 920px);
  padding: 5rem 0;
}

.marketing-app .marketing-hero-has-image.marketing-page-hero {
  min-height: clamp(420px, 62vh, 720px);
  padding: 3.5rem 0;
}

.marketing-app .marketing-home-hero .container,
.marketing-app .marketing-page-hero .container,
.marketing-app .marketing-home-hero .marketing-hero-shell,
.marketing-app .marketing-page-hero .marketing-hero-shell {
  padding-top: 0.25rem;
}

.marketing-app .marketing-home-hero .marketing-kicker,
.marketing-app .marketing-page-hero .marketing-kicker {
  margin-top: 0.15rem;
}

.marketing-app .marketing-home-hero .marketing-hero-actions {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.marketing-app .marketing-hero-accent {
  width: 3rem;
  height: 4px;
  background: linear-gradient(90deg, #0A52C8, #3b82f6);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.marketing-app .marketing-highlight-card {
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: var(--mk-radius-lg);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.07);
}

.marketing-app .marketing-status-panel {
  background: linear-gradient(165deg, rgba(10, 82, 200, 0.04) 0%, var(--shell-surface) 55%);
  border-color: rgba(10, 82, 200, 0.14);
}

.marketing-app .marketing-status-panel .marketing-status-label {
  font-family: var(--mk-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.marketing-app .marketing-status-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--shell-border);
  font-size: 0.875rem;
}

.marketing-app .marketing-status-line:last-child {
  border-bottom: none;
}

.marketing-app .marketing-status-line dt {
  font-family: var(--mk-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0;
}

.marketing-app .marketing-status-line dd {
  font-family: var(--mk-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mk-heading);
  margin: 0;
  text-align: right;
}

.marketing-app .marketing-status-line dd.is-online {
  color: var(--mk-system-green);
}

.marketing-app .marketing-status-line dd.is-online::before {
  content: '';
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--mk-system-green);
  margin-right: 0.4rem;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.55);
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.marketing-app .marketing-trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.15rem;
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: var(--mk-radius);
  height: 100%;
}

.marketing-app .marketing-trust-badge i {
  font-size: 1.35rem;
  color: #0A52C8;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.marketing-app .marketing-trust-badge strong {
  display: block;
  color: var(--mk-heading);
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.marketing-app .marketing-trust-badge span {
  font-size: 0.8125rem;
  color: var(--mk-text);
}

.marketing-app .marketing-capability-card {
  height: 100%;
  padding: 1.75rem;
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: var(--mk-radius-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.marketing-app .marketing-capability-card:hover {
  transform: translateY(-3px);
  border-color: rgba(10, 82, 200, 0.22);
  box-shadow: 0 10px 28px rgba(10, 82, 200, 0.1);
}

.marketing-app .marketing-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--shell-border);
}

.marketing-app .marketing-stat-row dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.15rem;
}

.marketing-app .marketing-stat-row dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--mk-heading);
}

.marketing-app .marketing-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mk-heading);
  background: var(--shell-surface-alt);
  border: 1px solid var(--shell-border);
  border-radius: 2rem;
}

.marketing-app .marketing-feature-pill i {
  color: #0A52C8;
}

.marketing-app .marketing-included-tile {
  padding: 1.15rem 1.25rem;
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: var(--mk-radius);
  height: 100%;
}

.marketing-app .marketing-included-tile h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.marketing-app .marketing-included-tile p {
  font-size: 0.8125rem;
  margin-bottom: 0;
  color: var(--mk-text);
}

.marketing-app .marketing-stack-category {
  margin-bottom: 2.25rem;
}

.marketing-app .marketing-stack-category:last-of-type {
  margin-bottom: 1.5rem;
}

.marketing-app .marketing-stack-category-label {
  font-family: var(--mk-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--shell-border);
}

.marketing-app .marketing-stack-ops {
  background: linear-gradient(135deg, rgba(10, 82, 200, 0.05) 0%, var(--shell-surface) 58%);
  border: 1px solid var(--shell-border) !important;
  border-left: 3px solid #0A52C8 !important;
}

.marketing-app .marketing-stack-ops-title {
  color: var(--mk-heading);
}

.marketing-app .marketing-stack-ops-copy,
.marketing-app .marketing-stack-ops-list {
  color: var(--mk-text);
}

.marketing-app .marketing-stack-ops-list i {
  margin-top: 0.1rem;
  color: #0A52C8;
}

.marketing-deploy .marketing-stack-ops {
  background: linear-gradient(180deg, #0b1220 0%, #111827 100%) !important;
  border: 1px solid rgba(10, 82, 200, 0.28) !important;
  border-left: 3px solid #0A52C8 !important;
  box-shadow: 0 12px 36px rgba(7, 17, 31, 0.35);
}

.marketing-deploy .marketing-stack-ops-tag {
  color: var(--mk-system-green-bright);
  border-color: rgba(126, 217, 87, 0.35);
  background: rgba(126, 217, 87, 0.08);
}

.marketing-deploy .marketing-stack-ops-title {
  color: #f1f5f9;
  font-family: var(--mk-mono);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.marketing-deploy .marketing-stack-ops-copy,
.marketing-deploy .marketing-stack-ops-list {
  color: #cbd5e1;
}

.marketing-deploy .marketing-stack-ops-list i {
  color: var(--mk-system-green-bright);
}

.marketing-app .marketing-auth-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 0.75rem;
  margin-bottom: 0.35rem;
}

@media (max-width: 991px) {
  .marketing-app main > section.marketing-home-hero {
    padding: 3.5rem 0 4rem;
  }

  .marketing-app main > section.marketing-page-hero {
    padding: 3rem 0 2.5rem;
  }

  .marketing-app .marketing-hero-has-image.marketing-home-hero,
  .marketing-app .marketing-hero-has-image.marketing-page-hero {
    background-position: 28% center;
    min-height: auto;
  }

  .marketing-app .marketing-hero-has-image .marketing-hero-shell {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .marketing-app .marketing-hero-has-image .marketing-hero-content--image {
    max-width: 100%;
  }

  .marketing-app .marketing-home-hero.marketing-hero-has-image .marketing-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .marketing-app .marketing-auth-section {
    min-height: auto;
    padding-top: 2rem !important;
    padding-bottom: 2.5rem !important;
  }

  .marketing-app .marketing-ops-bar {
    font-size: 0.62rem;
  }
}

/* ===== Deployment console layer (light theme + Pixar heroes) ===== */

.marketing-deploy {
  padding-bottom: 2rem;
}

.marketing-deploy .marketing-voice-log {
  font-family: var(--mk-mono);
  font-size: 0.68rem;
  line-height: 1.7;
  color: #94a3b8;
  background: linear-gradient(180deg, #0b1220 0%, #111827 100%);
  border: 1px solid rgba(10, 82, 200, 0.25);
  border-radius: 0.5rem;
  padding: 0.85rem 1rem;
  min-height: 4.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 24px rgba(15, 23, 42, 0.12);
}

.marketing-deploy .marketing-voice-log-sm {
  font-size: 0.64rem;
  padding: 0.65rem 0.85rem;
  min-height: 3.25rem;
}

.marketing-deploy .node-voice-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.marketing-deploy .node-voice-line:last-child {
  color: var(--mk-system-green-bright);
}

.marketing-deploy .marketing-ops-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1rem;
  font-family: var(--mk-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: #94a3b8;
  background: rgba(7, 17, 31, 0.94);
  border-top: 1px solid rgba(10, 82, 200, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.marketing-deploy .marketing-ops-bar__status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  color: var(--mk-system-green-bright);
  font-weight: 600;
}

.marketing-deploy .marketing-ops-pulse {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--mk-system-green-bright);
  box-shadow: 0 0 8px rgba(126, 217, 87, 0.7);
  animation: marketing-ops-pulse 2.4s ease-in-out infinite;
}

@keyframes marketing-ops-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.marketing-deploy .marketing-ops-bar__ticker {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #cbd5e1;
}

.marketing-deploy .marketing-ops-card {
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: var(--mk-radius);
  border-left: 3px solid #0A52C8;
  height: 100%;
}

.marketing-deploy .marketing-ops-card .card-body {
  padding: 1.25rem 1.35rem;
}

.marketing-deploy .marketing-ops-card h3,
.marketing-deploy .marketing-ops-card h2 {
  font-family: var(--mk-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.marketing-deploy .marketing-capability-card {
  border-left: 3px solid rgba(10, 82, 200, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.marketing-deploy .marketing-capability-card:hover {
  border-left-color: #0A52C8;
  box-shadow: 0 12px 32px rgba(10, 82, 200, 0.08);
}

.marketing-deploy .marketing-capability-card h3 {
  font-family: var(--mk-mono);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.marketing-deploy .marketing-feature-pill {
  font-family: var(--mk-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 0.35rem;
}

.marketing-deploy .marketing-stack-category-label {
  color: #94a3b8;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.marketing-deploy .marketing-trust-strip {
  background: linear-gradient(180deg, #0b1220 0%, #111827 100%) !important;
  border-bottom-color: rgba(10, 82, 200, 0.2) !important;
}

.marketing-deploy .marketing-trust-badge {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.marketing-deploy .marketing-trust-badge i {
  color: var(--mk-system-green-bright);
}

.marketing-deploy .marketing-trust-badge strong {
  color: #f1f5f9;
  font-family: var(--mk-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.marketing-deploy .marketing-trust-badge span {
  color: #94a3b8;
  font-size: 0.78rem;
}

.marketing-deploy .marketing-cta-section {
  background: linear-gradient(135deg, #04101f 0%, #0A52C8 55%, #053484 100%) !important;
  overflow: hidden;
}

.marketing-deploy .marketing-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
}

.marketing-deploy .marketing-cta-section .btn-light {
  font-family: var(--mk-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.marketing-deploy .footer .footer-desc {
  font-size: 0.85rem;
}

.marketing-deploy .footer .footer-ops-line {
  font-family: var(--mk-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.75rem;
}

.marketing-deploy .form-label {
  font-family: var(--mk-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- Facility tags, scanline, provision tracker, reveals --- */

.marketing-deploy .marketing-facility-tag {
  font-family: var(--mk-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(10, 82, 200, 0.2);
  border-radius: 0.25rem;
  background: rgba(10, 82, 200, 0.06);
}

.marketing-deploy .marketing-facility-strip {
  padding: 0.55rem 0;
  background: linear-gradient(90deg, #0b1220, #111827);
  border-bottom: 1px solid rgba(10, 82, 200, 0.25);
}

.marketing-deploy .marketing-facility-strip .marketing-facility-tag {
  color: var(--mk-system-green-bright);
  border-color: rgba(126, 217, 87, 0.35);
  background: rgba(126, 217, 87, 0.08);
}

.marketing-deploy .marketing-facility-strip__status {
  font-family: var(--mk-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: #64748b;
}

.marketing-deploy .marketing-hero-scanned {
  position: relative;
  overflow: hidden;
}

.marketing-deploy .marketing-hero-scanned::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(126, 217, 87, 0.55), transparent);
  box-shadow: 0 0 12px rgba(126, 217, 87, 0.35);
  animation: marketing-hero-scan 7s linear infinite;
  pointer-events: none;
  z-index: 2;
  opacity: 0.7;
}

@keyframes marketing-hero-scan {
  0% { top: -2px; opacity: 0; }
  8% { opacity: 0.7; }
  92% { opacity: 0.7; }
  100% { top: 100%; opacity: 0; }
}

.marketing-deploy .marketing-provision-steps li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--mk-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: #94a3b8;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--shell-border);
  transition: color 0.2s ease;
}

.marketing-deploy .marketing-provision-steps li:last-child {
  border-bottom: none;
}

.marketing-deploy .marketing-provision-steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.25rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: #64748b;
  background: var(--shell-surface-alt);
  border: 1px solid var(--shell-border);
  flex-shrink: 0;
}

.marketing-deploy .marketing-provision-steps li.is-active {
  color: var(--mk-heading);
  font-weight: 600;
}

.marketing-deploy .marketing-provision-steps li.is-active span {
  color: #0A52C8;
  border-color: rgba(10, 82, 200, 0.35);
  background: rgba(10, 82, 200, 0.08);
}

.marketing-deploy .marketing-provision-steps li.is-done {
  color: var(--mk-system-green);
}

.marketing-deploy .marketing-provision-steps li.is-done span {
  color: var(--mk-system-green);
  border-color: rgba(22, 163, 74, 0.35);
  background: rgba(126, 217, 87, 0.12);
}

.marketing-deploy .marketing-provision-progress {
  height: 4px;
  border-radius: 2px;
  background: var(--shell-border);
  overflow: hidden;
}

.marketing-deploy .marketing-provision-progress span {
  display: block;
  height: 100%;
  width: 15%;
  background: linear-gradient(90deg, #0A52C8, var(--mk-system-green-bright));
  border-radius: 2px;
  transition: width 0.45s ease;
}

.marketing-deploy .marketing-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.marketing-deploy .marketing-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .marketing-deploy .marketing-ops-pulse {
    animation: none;
  }

  .marketing-deploy .marketing-hero-scanned::after {
    animation: none;
    display: none;
  }

  .marketing-deploy .marketing-reveal {
    opacity: 1;
    transform: none;
  }
}

/* --- Custom cursor ring --- */

.marketing-cursor-active a,
.marketing-cursor-active button,
.marketing-cursor-active .btn,
.marketing-cursor-active summary,
.marketing-cursor-active .domain-result,
.marketing-cursor-active .marketing-article-card,
.marketing-cursor-active .pricing-card {
  cursor: none !important;
}

.marketing-cursor-active input,
.marketing-cursor-active textarea,
.marketing-cursor-active select,
.marketing-cursor-active .marketing-cursor-ignore,
.marketing-cursor-active .marketing-cursor-ignore * {
  cursor: auto !important;
}

.marketing-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 2.25rem;
  height: 2.25rem;
  margin: -1.125rem 0 0 -1.125rem;
  border: 2px solid rgba(10, 82, 200, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    width 0.22s ease,
    height 0.22s ease,
    margin 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
  will-change: transform;
}

.marketing-cursor-ring.is-visible {
  opacity: 1;
}

.marketing-cursor-ring.is-interactive {
  width: 3rem;
  height: 3rem;
  margin: -1.5rem 0 0 -1.5rem;
}

.marketing-cursor-ring.is-link {
  border-color: var(--mk-system-green-bright);
  background: rgba(126, 217, 87, 0.12);
  box-shadow: 0 0 0 1px rgba(126, 217, 87, 0.25), 0 0 20px rgba(126, 217, 87, 0.35);
}

.marketing-cursor-ring.is-button {
  border-color: #0A52C8;
  background: rgba(10, 82, 200, 0.14);
  box-shadow: 0 0 0 1px rgba(10, 82, 200, 0.2), 0 0 18px rgba(10, 82, 200, 0.3);
}

.marketing-cursor-ring.is-clicking {
  width: 1.75rem !important;
  height: 1.75rem !important;
  margin: -0.875rem 0 0 -0.875rem !important;
  border-width: 3px;
}

.marketing-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: #0A52C8;
  pointer-events: none;
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.05s linear;
  box-shadow: 0 0 6px rgba(10, 82, 200, 0.8);
}

.marketing-cursor-dot.is-visible {
  opacity: 1;
}

.marketing-cursor-dot.is-link {
  background: var(--mk-system-green-bright);
  box-shadow: 0 0 8px rgba(126, 217, 87, 0.85);
}

.marketing-cursor-dot.is-button {
  background: #0A52C8;
  box-shadow: 0 0 8px rgba(10, 82, 200, 0.85);
}
