/*----------------------------------------*/
/*  Technology page (technology.html)
/*  Standalone stylesheet — scoped to this page's own classes only,
/*  so it can't affect any other page on the site.
/*----------------------------------------*/

/* ---------- Shared section rhythm ---------- */

.mxtech-hero-section,
.mxtech-stack-section,
.mxtech-multitenant-section,
.mxtech-enterprise-section {
  background: #ffffff;
  padding: 100px 0;
  position: relative;
}

.mxtech-stack-section {
  background: #f6f9ff;
  overflow: hidden;
}

.mxtech-stack-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 420px at 8% 10%, rgba(0, 93, 224, 0.1), transparent 65%),
    radial-gradient(560px 420px at 92% 70%, rgba(84, 214, 235, 0.12), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.mxtech-stack-section > .container {
  position: relative;
  z-index: 1;
}

@media only screen and (max-width: 767px) {
  .mxtech-hero-section,
  .mxtech-stack-section,
  .mxtech-multitenant-section,
  .mxtech-enterprise-section {
    padding: 64px 0;
  }
}

.mxtech-section-desc {
  color: #5b6478;
  font-size: 16px;
  line-height: 28px;
  max-width: 560px;
  margin: 14px auto 0;
}

.section-title:not(.text-center) .mxtech-section-desc {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}

/* ---------- Hero ---------- */

.mxtech-hero-section {
  overflow: hidden;
  padding-top: 170px;
  background: radial-gradient(900px 560px at 85% -10%, rgba(84, 214, 235, 0.14), transparent 65%),
              radial-gradient(700px 500px at -10% 90%, rgba(124, 58, 237, 0.1), transparent 65%),
              #ffffff;
}

@media only screen and (max-width: 767px) {
  .mxtech-hero-section { padding-top: 110px; }
}

.mxtech-eyebrow {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(0, 93, 224, 0.06);
  border: 1px solid rgba(0, 93, 224, 0.18);
  border-radius: 999px;
  color: #005de0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  margin-bottom: 22px;
}

.mxtech-hero-title {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 46px;
  line-height: 1.18;
  color: #0d1324;
  margin-bottom: 18px;
}

@media only screen and (max-width: 991px) {
  .mxtech-hero-title { font-size: 34px; }
}

.text-gradient {
  background: linear-gradient(90deg, #005de0, #54d6eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mxtech-hero-subtitle {
  color: #5b6478;
  font-size: 17px;
  line-height: 29px;
  max-width: 520px;
  margin-bottom: 30px;
}

.mxtech-hero-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media only screen and (max-width: 767px) {
  .mxtech-hero-title { font-size: 28px; }
  .mxtech-hero-btn { gap: 12px; }
}

/* ---------- Hero code mock ---------- */

.mxtech-code-mock {
  position: relative;
}

@media only screen and (max-width: 991px) {
  .mxtech-code-mock { margin-top: 48px; }
}

.mxtech-code-window {
  background: #0b1020;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0, 10, 40, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  border: 1px solid rgba(84, 214, 235, 0.15);
}

.mxtech-code-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  background: #0f1630;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mxtech-code-titlebar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.mxtech-code-titlebar span:nth-child(1) { background: #ff5f56; }
.mxtech-code-titlebar span:nth-child(2) { background: #ffbd2e; }
.mxtech-code-titlebar span:nth-child(3) { background: #27c93f; }

.mxtech-code-filename {
  margin-left: 10px;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: none !important;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.mxtech-code-body {
  margin: 0;
  padding: 22px 20px 26px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.78);
  white-space: pre-wrap;
  word-break: break-word;
}

.tc-method { color: #54d6eb; font-weight: 700; }
.tc-path { color: #ffffff; }
.tc-comment { color: rgba(255, 255, 255, 0.35); }
.tc-key { color: #9d7bf0; }
.tc-string { color: #7ee787; }
.tc-status { color: #27c93f; font-weight: 700; }
.tc-meta { color: rgba(255, 255, 255, 0.4); }

/* ---------- Tech Stack cards ---------- */

.mxtech-stack-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.2) 55%, rgba(255, 255, 255, 0.32));
  backdrop-filter: blur(18px) saturate(110%);
  -webkit-backdrop-filter: blur(18px) saturate(110%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow:
    0 14px 34px rgba(0, 20, 60, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -12px 22px -14px rgba(255, 255, 255, 0.4);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, background 0.35s ease;
}

.mxtech-stack-section .row {
  row-gap: 30px;
  margin-top: 30px;
}

.mxtech-stack-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  background-size: 260% 260%;
  background-position: -80% -80%;
  pointer-events: none;
  transition: background-position 0.8s ease;
}

.mxtech-stack-card:hover::after {
  background-position: 100% 100%;
}

.mxtech-stack-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.3) 55%, rgba(255, 255, 255, 0.42));
  box-shadow:
    0 22px 46px rgba(0, 20, 60, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -12px 22px -14px rgba(255, 255, 255, 0.5);
}

.mxtech-stack-card .title {
  font-size: 20px;
  margin: 20px 0 16px;
  color: #171b2e;
}

.mxtech-stack-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 22px;
  color: #ffffff;
}

.mxtech-icon-blue { background: linear-gradient(135deg, #2f8dff, #005de0); }
.mxtech-icon-cyan { background: linear-gradient(135deg, #54d6eb, #0072c9); }
.mxtech-icon-purple { background: linear-gradient(135deg, #9d7bf0, #6a3fd6); }

.mxtech-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mxtech-pill {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(0, 93, 224, 0.1), rgba(255, 255, 255, 0.4));
  backdrop-filter: blur(8px) saturate(110%);
  -webkit-backdrop-filter: blur(8px) saturate(110%);
  border: 1px solid rgba(0, 93, 224, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #223;
}

/* ---------- Architecture diagram (dark, Stripe-style) ---------- */

.mxtech-architecture-section {
  background: linear-gradient(180deg, #05061a 0%, #0a0e27 100%);
  overflow: hidden;
}

.mxtech-sub-title-light { color: #54d6eb; }
.mxtech-title-light { color: #ffffff; }
.mxtech-desc-light { color: rgba(255, 255, 255, 0.62); }

.mxtech-diagram {
  max-width: 880px;
  margin: 56px auto 0;
}

.mxtech-diagram-layer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mxtech-diagram-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}

.mxtech-diagram-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.mxtech-diagram-node {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14.5px;
  font-weight: 600;
}

.mxtech-diagram-node i {
  color: #54d6eb;
}

.mxtech-node-accent {
  background: rgba(0, 93, 224, 0.14);
  border-color: rgba(84, 214, 235, 0.35);
}

.mxtech-node-ai {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.35);
}

.mxtech-node-ai i { color: #9d7bf0; }

.mxtech-diagram-connector {
  text-align: center;
  color: rgba(84, 214, 235, 0.5);
  font-size: 15px;
  margin: 14px 0;
}

.mxtech-diagram-infra {
  margin-top: 36px;
  padding: 16px 20px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 14px;
}

.mxtech-diagram-infra-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.mxtech-diagram-infra-label i {
  color: #54d6eb;
  margin-right: 8px;
}

@media only screen and (max-width: 767px) {
  .mxtech-diagram-row { flex-direction: column; align-items: stretch; }
  .mxtech-diagram-node { justify-content: center; }
}

/* ---------- Multi-tenant diagram ---------- */

.mxtech-check-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.mxtech-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #3d4256;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.mxtech-check-list li i {
  color: #22c55e;
  margin-top: 3px;
  flex-shrink: 0;
}

.mxtech-multitenant-section {
  overflow: hidden;
}

.mxtech-multitenant-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 420px at 95% 20%, rgba(0, 93, 224, 0.08), transparent 65%),
    radial-gradient(560px 420px at 5% 80%, rgba(124, 58, 237, 0.08), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.mxtech-multitenant-section > .container {
  position: relative;
  z-index: 1;
}

.mxtech-tenant-diagram {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(246, 249, 255, 0.5));
  backdrop-filter: blur(18px) saturate(110%);
  -webkit-backdrop-filter: blur(18px) saturate(110%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow:
    0 14px 34px rgba(0, 20, 60, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

@media only screen and (max-width: 991px) {
  .mxtech-tenant-diagram { margin-top: 40px; }
}

.mxtech-tenant-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.mxtech-tenant-box {
  flex: 1 1 140px;
  text-align: center;
  padding: 16px 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.4));
  backdrop-filter: blur(10px) saturate(110%);
  -webkit-backdrop-filter: blur(10px) saturate(110%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  color: #171b2e;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.mxtech-tenant-box-data {
  font-weight: 600;
  font-size: 13px;
  color: #3d4256;
}

.mxtech-tenant-box-data span {
  display: block;
  margin-top: 4px;
  font-weight: 700;
  color: #005de0;
  font-size: 12.5px;
}

.mxtech-tenant-connector {
  width: 2px;
  height: 28px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(0, 93, 224, 0.4), rgba(84, 214, 235, 0.4));
}

.mxtech-tenant-platform {
  text-align: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, #005de0, #0072c9 55%, #54d6eb);
  color: #ffffff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14.5px;
}

.mxtech-tenant-platform i {
  margin-right: 8px;
}

/* ---------- Enterprise scalability & security ---------- */

.mxtech-enterprise-section .row {
  row-gap: 30px;
  margin-top: 10px;
}

.mxtech-enterprise-section {
  overflow: hidden;
}

.mxtech-enterprise-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 420px at 10% 15%, rgba(0, 93, 224, 0.08), transparent 65%),
    radial-gradient(560px 420px at 90% 85%, rgba(84, 214, 235, 0.1), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.mxtech-enterprise-section > .container {
  position: relative;
  z-index: 1;
}

.mxtech-enterprise-card {
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.2) 55%, rgba(255, 255, 255, 0.32));
  backdrop-filter: blur(18px) saturate(110%);
  -webkit-backdrop-filter: blur(18px) saturate(110%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 36px 34px;
  box-shadow:
    0 14px 34px rgba(0, 20, 60, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.mxtech-enterprise-card h3 {
  font-size: 20px;
  color: #171b2e;
  margin-bottom: 20px;
}

.mxtech-enterprise-card h3 i {
  color: #005de0;
  margin-right: 10px;
}

.mxtech-enterprise-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mxtech-enterprise-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #5b6478;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.mxtech-enterprise-card li:last-child {
  margin-bottom: 0;
}

.mxtech-enterprise-card li i {
  color: #22c55e;
  margin-top: 3px;
  flex-shrink: 0;
}
