/* A2TDEV homepage production redesign. Scoped to avoid affecting other app pages. */
#wxa-homepage {
  --a2t-bg: #ffffff;
  --a2t-text: #06070b;
  --a2t-muted: #58657a;
  --a2t-line: #e8ebf1;
  --a2t-soft: #f7f8fb;
  --a2t-black: #050507;
  --a2t-blue: #3567ff;
  --a2t-violet: #7657ff;
  --a2t-green: #16a34a;
  --a2t-orange: #f97316;
  --a2t-yellow: #eab308;
  --a2t-shadow: 0 18px 55px rgba(8, 12, 24, 0.07);
  --a2t-container: 1240px;
  color: var(--a2t-text);
  background: var(--a2t-bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
}

#wxa-homepage *,
#wxa-homepage *::before,
#wxa-homepage *::after { box-sizing: border-box; }

#wxa-homepage a { color: inherit; text-decoration: none; }

#wxa-homepage .a2t-container {
  width: min(var(--a2t-container), calc(100% - 64px));
  margin-inline: auto;
}

#wxa-homepage .a2t-skip {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: #000;
  color: #fff;
  border-radius: 10px;
}
#wxa-homepage .a2t-skip:focus { left: 16px; }

#wxa-homepage .a2t-hero { padding: 78px 0 54px; }

#wxa-homepage .a2t-hero-grid {
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  gap: 78px;
  align-items: center;
}

#wxa-homepage .a2t-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #f1f4f8;
  border: 1px solid var(--a2t-line);
  color: #245cff;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#wxa-homepage .a2t-hero h1 {
  max-width: 700px;
  margin: 30px 0 22px;
  color: var(--a2t-text);
  font-size: clamp(46px, 5.1vw, 68px);
  line-height: 0.99;
  letter-spacing: -0.067em;
  font-weight: 950;
}

#wxa-homepage .a2t-hero h1 span { color: var(--a2t-blue); }

#wxa-homepage .a2t-lead {
  max-width: 590px;
  margin: 0 0 32px;
  color: var(--a2t-muted);
  font-size: 21px;
  line-height: 1.55;
}

#wxa-homepage .a2t-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

#wxa-homepage .a2t-btn {
  min-width: 145px;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid var(--a2t-line);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--a2t-text);
  font-weight: 850;
  white-space: nowrap;
  box-shadow: none;
}

#wxa-homepage .a2t-btn-dark {
  background: var(--a2t-black);
  color: #fff;
  border-color: var(--a2t-black);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

#wxa-homepage .a2t-trusted {
  display: flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  padding: 7px 16px 7px 8px;
  border: 1px solid var(--a2t-line, #e8ebf1);
  border-radius: 16px;
  background: var(--a2t-soft, #f7f8fb);
  box-shadow: 0 8px 24px rgba(8, 12, 24, .035);
  color: var(--a2t-muted);
  font-weight: 650;
}

#wxa-homepage .a2t-trusted p { margin: 0; }
#wxa-homepage .a2t-avatars { display: flex; }
#wxa-homepage .a2t-avatars .a2t-client-avatar,
#wxa-homepage .a2t-avatars > .a2t-plus {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  background: linear-gradient(135deg, #cfd7e6, #8c96aa);
  overflow: hidden;
  flex: 0 0 34px;
  text-decoration: none;
}
#wxa-homepage .a2t-avatars > :first-child { margin-left: 0; }
#wxa-homepage .a2t-client-avatar img,
#wxa-homepage .a2t-client-avatar > span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0;
  object-fit: cover;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
#wxa-homepage .a2t-client-avatar > span { background: linear-gradient(135deg, #3567ff, #1236a5); }
#wxa-homepage .a2t-avatars .a2t-plus {
  background: #2764ff;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

/* Hero system map: no clipping, no central card, ergonomic fixed positions. */
#wxa-homepage .a2t-system-map {
  position: relative;
  height: 520px;
  max-width: 690px;
  width: 100%;
  margin-left: auto;
  isolation: isolate;
}

#wxa-homepage .a2t-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 520px;
  height: 390px;
  transform: translate(-50%, -50%);
  border: 1px dashed #d9e1f2;
  border-radius: 50%;
  pointer-events: none;
}
#wxa-homepage .a2t-orbit::before,
#wxa-homepage .a2t-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
#wxa-homepage .a2t-orbit::before {
  inset: 62px;
  border: 1px solid rgba(53, 103, 255, 0.15);
}
#wxa-homepage .a2t-orbit::after {
  inset: 126px;
  border: 1px dashed rgba(53, 103, 255, 0.13);
}

#wxa-homepage .a2t-center-brand {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 250px;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}
#wxa-homepage .a2t-center-brand strong {
  display: block;
  margin-bottom: 12px;
  font-size: 46px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
  background: linear-gradient(90deg, var(--a2t-blue), var(--a2t-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#wxa-homepage .a2t-center-brand p {
  margin: 0;
  color: #4e5b72;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 750;
}

#wxa-homepage .a2t-node {
  position: absolute;
  z-index: 5;
  background: #fff;
  border: 1px solid var(--a2t-line);
  border-radius: 20px;
  box-shadow: var(--a2t-shadow);
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 16px 17px;
  overflow: hidden;
}
#wxa-homepage .a2t-node h2 {
  margin: 0 0 6px;
  color: var(--a2t-text);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 900;
}
#wxa-homepage .a2t-node p {
  margin: 0;
  color: #56647a;
  font-size: 13px;
  line-height: 1.42;
}
#wxa-homepage .a2t-ico {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
}

#wxa-homepage .a2t-reporting { width: 228px; left: 50%; top: 12px; transform: translateX(-50%); border-color: #dad2ff; }
#wxa-homepage .a2t-reporting .a2t-ico { background: #f0edff; color: #7053ff; }
#wxa-homepage .a2t-crm { width: 210px; left: 0; top: 204px; border-color: #d9f1e2; }
#wxa-homepage .a2t-crm .a2t-ico { background: #eafbf1; color: var(--a2t-green); }
#wxa-homepage .a2t-payments { width: 210px; right: 0; top: 204px; border-color: #ffe0c7; }
#wxa-homepage .a2t-payments .a2t-ico { background: #fff0df; color: var(--a2t-orange); }
#wxa-homepage .a2t-automation { width: 218px; left: 88px; bottom: 28px; border-color: #dbe6ff; }
#wxa-homepage .a2t-automation .a2t-ico { background: #edf3ff; color: var(--a2t-blue); }
#wxa-homepage .a2t-portal { width: 218px; right: 88px; bottom: 28px; border-color: #fdecc2; }
#wxa-homepage .a2t-portal .a2t-ico { background: #fff7df; color: #d99a00; }

#wxa-homepage .a2t-tech {
  position: absolute;
  z-index: 6;
  height: 40px;
  padding: 0 15px;
  border: 1px solid var(--a2t-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 9px 22px rgba(8, 12, 24, 0.055);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--a2t-text);
  font-size: 13.5px;
  font-weight: 850;
  white-space: nowrap;
}
#wxa-homepage .a2t-py { left: 88px; top: 106px; }
#wxa-homepage .a2t-dj { right: 88px; top: 106px; }
#wxa-homepage .a2t-re { left: 18px; top: 346px; }
#wxa-homepage .a2t-pg { right: 18px; top: 346px; }
#wxa-homepage .a2t-do { left: 122px; bottom: 0; }
#wxa-homepage .a2t-aw { right: 122px; bottom: 0; }

#wxa-homepage .a2t-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border: 1px solid var(--a2t-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--a2t-shadow);
  overflow: hidden;
}
#wxa-homepage .a2t-metric {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 30px;
  border-right: 1px solid var(--a2t-line);
}
#wxa-homepage .a2t-metric:last-child { border-right: 0; }
#wxa-homepage .a2t-micon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 18px;
  background: #eef4ff;
  display: grid;
  place-items: center;
  font-size: 22px;
}
#wxa-homepage .a2t-metric strong {
  display: block;
  color: var(--a2t-text);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 950;
}
#wxa-homepage .a2t-metric span {
  display: block;
  margin-top: 4px;
  color: #657286;
  font-weight: 650;
  line-height: 1.25;
}

#wxa-homepage .a2t-section {
  padding: 88px 0;
  border-top: 1px solid #f0f2f6;
}
#wxa-homepage .a2t-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
#wxa-homepage .a2t-section-head h2,
#wxa-homepage .a2t-cta-band h2 {
  margin: 0;
  color: var(--a2t-text);
  font-size: clamp(32px, 3.4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.052em;
  font-weight: 950;
}
#wxa-homepage .a2t-section-head p {
  max-width: 680px;
  margin: 12px 0 0;
  color: #657286;
  font-size: 18px;
  line-height: 1.6;
}
#wxa-homepage .a2t-section-head > a {
  color: var(--a2t-text);
  font-weight: 800;
  white-space: nowrap;
}

#wxa-homepage .a2t-grid-3,
#wxa-homepage .a2t-grid-4 {
  display: grid;
  gap: 22px;
}
#wxa-homepage .a2t-grid-3 { grid-template-columns: repeat(3, 1fr); }
#wxa-homepage .a2t-grid-4 { grid-template-columns: repeat(4, 1fr); }

#wxa-homepage .a2t-card {
  background: #fff;
  border: 1px solid var(--a2t-line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 35px rgba(8, 12, 24, 0.035);
  overflow: hidden;
  min-width: 0;
}
#wxa-homepage .a2t-card h3 {
  margin: 0 0 10px;
  color: var(--a2t-text);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-weight: 900;
}
#wxa-homepage .a2t-card p {
  margin: 0 0 18px;
  color: #657286;
  line-height: 1.6;
}
#wxa-homepage .a2t-card > a,
#wxa-homepage .a2t-card-foot strong {
  font-weight: 850;
}

#wxa-homepage .a2t-visual,
#wxa-homepage .a2t-product-media {
  height: 145px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f9fafc, #eef2f8);
  border: 1px solid #edf0f5;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
#wxa-homepage .a2t-visual::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid #dce2ed;
  border-radius: 12px;
}
#wxa-homepage .a2t-service-image::before,
#wxa-homepage .a2t-service-image::after {
  display: none;
}
#wxa-homepage .a2t-service-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
#wxa-homepage .a2t-flow-visual::after {
  content: "";
  position: absolute;
  left: 30%;
  top: 35%;
  width: 40%;
  height: 30%;
  border-top: 2px solid #9aa8be;
  border-left: 2px solid #9aa8be;
  border-right: 2px solid #9aa8be;
}
#wxa-homepage .a2t-product-media {
  height: 180px;
  display: grid;
  place-items: center;
}
#wxa-homepage .a2t-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#wxa-homepage .a2t-placeholder {
  color: #657286;
  font-weight: 900;
}
#wxa-homepage .a2t-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--a2t-line);
}
#wxa-homepage .a2t-card-foot span {
  font-weight: 950;
  color: var(--a2t-text);
}
#wxa-homepage .a2t-tag,
#wxa-homepage .a2t-step {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--a2t-soft);
  border: 1px solid var(--a2t-line);
  color: #4f5d72;
  font-size: 13px;
  font-weight: 800;
}

#wxa-homepage .a2t-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 42px;
  border-radius: 26px;
  background: #05070d;
  color: #fff;
}
#wxa-homepage .a2t-cta-band h2 { color: #fff; }
#wxa-homepage .a2t-cta-band p {
  margin: 10px 0 0;
  color: #cbd2df;
  font-size: 17px;
}
#wxa-homepage .a2t-cta-band .a2t-btn {
  background: #fff;
  color: #111;
  border-color: #fff;
}

@media (max-width: 1120px) {
  #wxa-homepage .a2t-hero-grid { grid-template-columns: 1fr; }
  #wxa-homepage .a2t-system-map { margin-inline: auto; }
  #wxa-homepage .a2t-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  #wxa-homepage .a2t-container { width: min(100% - 28px, var(--a2t-container)); }
  #wxa-homepage .a2t-hero { padding-top: 54px; }
  #wxa-homepage .a2t-lead { font-size: 17px; }
  #wxa-homepage .a2t-actions { flex-direction: column; }
  #wxa-homepage .a2t-btn { width: 100%; }
  #wxa-homepage .a2t-trusted { align-items: flex-start; }
  #wxa-homepage .a2t-system-map {
    height: 515px;
    transform: scale(0.72);
    transform-origin: top center;
    margin-bottom: -145px;
  }
  #wxa-homepage .a2t-metrics,
  #wxa-homepage .a2t-grid-3,
  #wxa-homepage .a2t-grid-4 { grid-template-columns: 1fr; }
  #wxa-homepage .a2t-metric {
    border-right: 0;
    border-bottom: 1px solid var(--a2t-line);
  }
  #wxa-homepage .a2t-metric:last-child { border-bottom: 0; }
  #wxa-homepage .a2t-section-head,
  #wxa-homepage .a2t-cta-band { display: block; }
  #wxa-homepage .a2t-cta-band .a2t-btn { margin-top: 24px; }
}
