/* =========================
ENTITY PREMIUM SECTION
========================= */

.entity-section {
  position: relative;
  padding: 100px 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 153, 0, 0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 102, 0, 0.14), transparent 32%),
    linear-gradient(180deg, #fffaf4 0%, #f8fafc 48%, #ffffff 100%);
}

/* DECORATIVE GLOW */
.entity-bg-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}

.entity-bg-glow-1 {
  top: 60px;
  left: -120px;
  background: #ff9900;
}

.entity-bg-glow-2 {
  right: -120px;
  bottom: 100px;
  background: #ff6600;
}

/* HEADING */
.entity-heading {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto 55px;
  text-align: center;
}

.entity-label {
  background: rgba(255, 153, 0, 0.12);
  border: 1px solid rgba(255, 153, 0, 0.25);
  color: #ff6600;
}

.entity-heading h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.entity-heading h2 span {
  color: #ff9900;
  background: linear-gradient(135deg, #ff9900, #ff6600);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.entity-heading p {
  max-width: 720px;
  margin: 0 auto;
  color: #64748b;
  line-height: 1.8;
  font-size: 16px;
}

/* GRID */
.entity-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 40px;
}

/* CARD PREMIUM */
.entity-card {
  position: relative;
  overflow: hidden;
  min-height: 255px;
  padding: 34px 28px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 16px 45px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  text-align: left;
  transition: 0.35s ease;
}

.entity-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 153, 0, 0.18), transparent 38%),
    linear-gradient(135deg, rgba(255, 153, 0, 0.08), transparent 45%);
  opacity: 0;
  transition: 0.35s ease;
}

.entity-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 153, 0, 0.35);
  box-shadow:
    0 26px 70px rgba(15, 23, 42, 0.14),
    0 14px 30px rgba(255, 153, 0, 0.12);
}

.entity-card:hover::before {
  opacity: 1;
}

/* NUMBER */
.entity-card-number {
  position: absolute;
  top: 20px;
  right: 24px;
  color: rgba(15, 23, 42, 0.08);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

/* ICON */
.entity-icon {
  position: relative;
  z-index: 2;
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 30px;
  background: linear-gradient(135deg, #fff4e8, #ffffff);
  border: 1px solid rgba(255, 153, 0, 0.22);
  box-shadow: 0 12px 28px rgba(255, 153, 0, 0.12);
}

.entity-card h3 {
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
  color: #0f172a;
  font-size: 21px;
  font-weight: 850;
}

.entity-card p {
  position: relative;
  z-index: 2;
  color: #64748b;
  line-height: 1.75;
  font-size: 15px;
}

/* ABOUT BOX */
.entity-about {
  position: relative;
  z-index: 2;
  margin-top: 55px;
  padding: 38px;
  border-radius: 30px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 34px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94)),
    radial-gradient(circle at top right, rgba(255, 153, 0, 0.2), transparent 40%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

.entity-about::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  top: -120px;
  border-radius: 50%;
  background: rgba(255, 153, 0, 0.2);
  filter: blur(30px);
}

.entity-about-content,
.entity-about-side {
  position: relative;
  z-index: 2;
}

.entity-about-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 153, 0, 0.15);
  border: 1px solid rgba(255, 153, 0, 0.32);
  color: #ffcc80;
  font-size: 13px;
  font-weight: 800;
}

.entity-about h3 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 900;
}

.entity-about p {
  max-width: 720px;
  color: #cbd5e1;
  line-height: 1.85;
  font-size: 15.5px;
}

/* TAGS */
.entity-about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.entity-about-tags span {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* MINI STATS */
.entity-about-side {
  display: grid;
  gap: 14px;
}

.entity-mini-stat {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.entity-mini-stat strong {
  display: block;
  margin-bottom: 6px;
  color: #ffcc80;
  font-size: 27px;
  line-height: 1;
  font-weight: 900;
}

.entity-mini-stat span {
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 600;
}

/* =========================
RESPONSIVE TABLET
========================= */

@media (max-width: 992px) {
  .entity-section {
    padding: 85px 20px;
  }

  .entity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .entity-about {
    grid-template-columns: 1fr;
  }

  .entity-about-side {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================
RESPONSIVE MOBILE
========================= */

@media (max-width: 768px) {
  .entity-section {
    padding: 70px 15px;
  }

  .entity-heading {
    margin-bottom: 38px;
  }

  .entity-heading h2 {
    font-size: 30px;
  }

  .entity-heading p {
    font-size: 14.5px;
  }

  .entity-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .entity-card {
    min-height: auto;
    padding: 28px 22px;
    border-radius: 22px;
    text-align: center;
  }

  .entity-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .entity-card-number {
    font-size: 34px;
    top: 16px;
    right: 18px;
  }

  .entity-about {
    padding: 28px 20px;
    border-radius: 24px;
    text-align: center;
  }

  .entity-about p {
    font-size: 14.5px;
  }

  .entity-about-tags {
    justify-content: center;
  }

  .entity-about-side {
    grid-template-columns: 1fr;
  }

  .entity-mini-stat {
    text-align: center;
  }
}

@media (max-width: 420px) {
  .entity-heading h2 {
    font-size: 27px;
  }

  .entity-card h3 {
    font-size: 20px;
  }

  .entity-about h3 {
    font-size: 24px;
  }
}