
.az-p800layer-section {
  width: 100%;
  padding: 50px 20px;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.az-p800layer-section *,
.az-p800layer-section *::before,
.az-p800layer-section *::after {
  box-sizing: border-box;
}

.az-p800layer-container {
  max-width: 1180px;
  margin: 0 auto;
}

.az-p800layer-heading {
  max-width: 920px;
  margin-bottom: 50px;
}

.az-p800layer-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #7b4bc9;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.az-p800layer-heading h2 {
  margin: 0 0 16px;
  color: #171320;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 800;
}

.az-p800layer-heading p {
  margin: 0;
  color: #665f70;
  font-size: 16px;
  line-height: 1.75;
}

.az-p800layer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 28px;
  align-items: stretch;
}

.az-p800layer-stack {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(186, 126, 255, 0.30), transparent 38%),
    linear-gradient(145deg, #171320, #36274d);
  box-shadow: 0 22px 52px rgba(23, 19, 32, 0.18);
}

.az-p800layer-stack::after {
  content: "";
  position: absolute;
  right: -125px;
  bottom: -140px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  border: 44px solid rgba(196, 154, 255, 0.08);
  pointer-events: none;
}

.az-p800layer-stack-title {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 26px;
}

.az-p800layer-stack-title span {
  color: #c49aff;
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.az-p800layer-stack-title strong {
  color: #ffffff;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 850;
}

.az-p800layer-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.az-p800layer-item + .az-p800layer-item {
  margin-top: 12px;
}

.az-p800layer-item:hover {
  transform: translateX(7px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(196, 154, 255, 0.36);
}

.az-p800layer-item-1 {
  background: rgba(164, 107, 232, 0.22);
}

.az-p800layer-item-2 {
  background: rgba(255, 255, 255, 0.09);
}

.az-p800layer-item-3 {
  background: rgba(123, 75, 201, 0.18);
}

.az-p800layer-item-4 {
  background: rgba(255, 255, 255, 0.07);
}

.az-p800layer-item-5 {
  background: rgba(196, 154, 255, 0.12);
}

.az-p800layer-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.az-p800layer-item h3 {
  margin: 0 0 5px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 850;
}

.az-p800layer-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13.5px;
  line-height: 1.55;
}

.az-p800layer-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.az-p800layer-intro {
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(135deg, #faf7ff, #ffffff);
  border: 1px solid rgba(23, 19, 32, 0.08);
  box-shadow: 0 14px 28px rgba(23, 19, 32, 0.06);
}

.az-p800layer-intro span {
  display: inline-block;
  margin-bottom: 12px;
  color: #7b4bc9;
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.az-p800layer-intro h3 {
  margin: 0 0 14px;
  color: #171320;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 850;
}

.az-p800layer-intro p {
  margin: 0;
  color: #665f70;
  font-size: 15px;
  line-height: 1.75;
}

.az-p800layer-function-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.az-p800layer-function {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 23px 21px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(23, 19, 32, 0.08);
  box-shadow: 0 14px 28px rgba(23, 19, 32, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.az-p800layer-function::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -65px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 75, 201, 0.12), transparent 68%);
  pointer-events: none;
}

.az-p800layer-function:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(123, 75, 201, 0.28);
  box-shadow: 0 24px 50px rgba(23, 19, 32, 0.12);
}

.az-p800layer-function > span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 15px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #a46be8, #7040ba);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.az-p800layer-function h4 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  color: #171320;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 850;
}

.az-p800layer-function p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #665f70;
  font-size: 13.5px;
  line-height: 1.65;
}

.az-p800layer-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #faf7ff, #ffffff);
  border: 1px solid rgba(123, 75, 201, 0.14);
}

.az-p800layer-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 11px;
  border-radius: 999px;
  color: #5a3b8b;
  background: rgba(123, 75, 201, 0.08);
  border: 1px solid rgba(123, 75, 201, 0.15);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.az-p800layer-flow b {
  color: #7b4bc9;
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 900px) {
  .az-p800layer-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .az-p800layer-section {
    padding: 40px 16px;
  }

  .az-p800layer-heading {
    margin-bottom: 32px;
  }

  .az-p800layer-stack,
  .az-p800layer-intro {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .az-p800layer-stack-title strong {
    font-size: 23px;
  }

  .az-p800layer-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 13px;
    padding: 17px;
    border-radius: 16px;
  }

  .az-p800layer-number {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .az-p800layer-item h3 {
    font-size: 15px;
  }

  .az-p800layer-item p {
    font-size: 13px;
  }

  .az-p800layer-function-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .az-p800layer-function {
    min-height: auto;
    padding: 22px;
    border-radius: 20px;
  }

  .az-p800layer-function:hover {
    transform: translateY(-4px) scale(1.01);
  }

  .az-p800layer-intro h3 {
    font-size: 22px;
  }

  .az-p800layer-flow b {
    display: none;
  }
}
