/*----------------------------------------*/
/*  Security & Compliance page (security.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 ---------- */

.mxsec-hero-section,
.mxsec-pillars-section,
.mxsec-trust-section,
.mxsec-faq-section {
  background: #ffffff;
  padding: 100px 0;
  position: relative;
}

.mxsec-pillars-section,
.mxsec-trust-section {
  background: #f6f9ff;
  overflow: hidden;
}

.mxsec-pillars-section::before,
.mxsec-trust-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;
}

.mxsec-pillars-section > .container,
.mxsec-trust-section > .container {
  position: relative;
  z-index: 1;
}

.mxsec-faq-section {
  overflow: hidden;
}

.mxsec-faq-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 420px at 95% 10%, rgba(0, 93, 224, 0.06), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.mxsec-faq-section > .container {
  position: relative;
  z-index: 1;
}

@media only screen and (max-width: 767px) {
  .mxsec-hero-section,
  .mxsec-pillars-section,
  .mxsec-trust-section,
  .mxsec-faq-section {
    padding: 64px 0;
  }
}

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

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

/* ---------- Hero (calm, Trust Center style — no motion) ---------- */

.mxsec-hero-section {
  padding-top: 170px;
  background: radial-gradient(900px 560px at 50% -10%, rgba(0, 93, 224, 0.07), transparent 65%), #ffffff;
}

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

.mxsec-hero-content {
  max-width: 760px;
  margin: 0 auto;
}

.mxsec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  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;
}

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

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

@media only screen and (max-width: 767px) {
  .mxsec-hero-title { font-size: 27px; }
}

.mxsec-hero-subtitle {
  color: #5b6478;
  font-size: 17px;
  line-height: 29px;
  margin: 0 auto 30px;
  max-width: 640px;
}

.mxsec-hero-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ---------- Security Pillars ---------- */

.mxsec-pillars-section .row {
  row-gap: 30px;
  margin-top: 30px;
}

.mxsec-pillar-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;
}

.mxsec-pillar-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;
}

.mxsec-pillar-card:hover::after {
  background-position: 100% 100%;
}

.mxsec-pillar-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);
}

.mxsec-pillar-card .title {
  font-size: 19px;
  margin: 20px 0 10px;
  color: #171b2e;
}

.mxsec-pillar-card p {
  color: #5b6478;
  font-size: 15px;
  line-height: 26px;
  margin: 0;
}

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

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

/* ---------- Security Architecture (dark diagram) ---------- */

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

@media only screen and (max-width: 767px) {
  .mxsec-architecture-section { padding: 64px 0; }
}

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

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

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

.mxsec-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;
}

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

.mxsec-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;
}

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

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

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

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

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

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

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

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

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

/* ---------- Trust Center ---------- */

.mxsec-trust-section .row {
  row-gap: 24px;
  margin-top: 10px;
}

.mxsec-trust-card {
  display: block;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.28));
  backdrop-filter: blur(16px) saturate(110%);
  -webkit-backdrop-filter: blur(16px) saturate(110%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 30px 26px;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.mxsec-trust-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38));
  box-shadow:
    0 18px 38px rgba(0, 20, 60, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 93, 224, 0.2);
}

.mxsec-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(0, 93, 224, 0.08);
  color: #005de0;
  font-size: 19px;
  margin-bottom: 18px;
}

.mxsec-trust-card h4 {
  font-size: 17px;
  color: #171b2e;
  margin-bottom: 8px;
}

.mxsec-trust-card p {
  color: #5b6478;
  font-size: 14px;
  line-height: 23px;
  margin: 0;
}

/* ---------- Security FAQs (accordion) ---------- */

.mxsec-accordion .accordion-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.32));
  backdrop-filter: blur(14px) saturate(110%);
  -webkit-backdrop-filter: blur(14px) saturate(110%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px !important;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.mxsec-accordion .accordion-item:last-child {
  margin-bottom: 0;
}

.mxsec-accordion .accordion-button {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  color: #171b2e;
  background: transparent;
  padding: 20px 24px;
  box-shadow: none;
}

.mxsec-accordion .accordion-button:not(.collapsed) {
  color: #005de0;
  background: rgba(0, 93, 224, 0.06);
}

.mxsec-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.mxsec-accordion .accordion-button::after {
  flex-shrink: 0;
}

.mxsec-accordion .accordion-body {
  color: #5b6478;
  font-size: 15px;
  line-height: 25px;
  padding: 4px 24px 22px;
}
