/* =====================================================
   HV CASE STUDY – BLIND SQLi (PRO VERSION)
   Author: HackVitraSec
===================================================== */

/* ------------------ RESET / GLOBAL ------------------ */
/** {*/
/*  box-sizing: border-box;*/
/*  transition: */
/*    background .35s ease,*/
/*    color .35s ease,*/
/*    transform .35s ease,*/
/*    box-shadow .35s ease;*/
/*}*/

html {
  scroll-behavior: smooth;
}

.main {
  overflow-x: hidden;
}

.hvcs-container {
  max-width: 1050px;
  margin: auto;
}

/* ------------------ ANIMATIONS ------------------ */
@keyframes hvFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hvGlow {
  0%,100% { box-shadow: 0 0 0 rgba(0,255,170,0); }
  50% { box-shadow: 0 0 35px rgba(0,255,170,.35); }
}

@keyframes hvFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ------------------ HERO ------------------ */
.hvcs-hero {
  position: relative;
  padding: 6rem 1rem 4.5rem;
  text-align: center;
  animation: hvFadeUp 1s ease both;
  background:
    radial-gradient(circle at top,
      rgba(0,255,170,.15),
      transparent 65%);
}

.hvcs-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0,0,0,.55)
  );
  pointer-events: none;
}

.hvcs-badge {
  color: var(--first-color);
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: .85rem;
}

.hvcs-title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin: 1rem auto;
  animation: hvFloat 6s ease-in-out infinite;
}

.hvcs-subtitle {
  max-width: 760px;
  margin: auto;
  opacity: .85;
}

.hvcs-date {
  display: block;
  margin-top: 1rem;
  opacity: .7;
}

/* ------------------ SECTIONS ------------------ */
.hvcs-section {
  position: relative;
  padding: 4rem 1rem;
  animation: hvFadeUp .9s ease both;
}

.hvcs-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--first-color),
    transparent
  );
  opacity: .15;
}

.hvcs-soft-bg {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.05),
    rgba(255,255,255,.02)
  );
}

.hvcs-dark {
  background: rgba(0,0,0,.28);
}

.hvcs-heading {
  color: var(--first-color);
  margin-bottom: 1rem;
}

.hvcs-heading-center {
  text-align: center;
  margin-bottom: 1.8rem;
  color: var(--first-color);
}

.hvcs-section p {
  line-height: 1.95;
  margin-top: 1rem;
  opacity: .93;
}

/* ------------------ SPLIT ------------------ */
.hvcs-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.2rem;
  margin-top: 2.2rem;
}

/* ------------------ PAYLOAD BLOCK ------------------ */
.hvcs-payload {
  position: relative;
  background: rgba(255,255,255,.05);
  border-left: 4px solid var(--first-color);
  padding: .95rem 1.2rem;
  margin-top: .9rem;
  border-radius: .5rem;
  font-family: monospace;
  overflow: hidden;
}

.hvcs-payload::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(0,255,170,.18),
    transparent
  );
  transform: translateX(-100%);
}

.hvcs-payload:hover::before {
  transform: translateX(100%);
  transition: transform .9s ease;
}

.hvcs-payload:hover {
  box-shadow: 0 0 0 1px rgba(0,255,170,.4);
}

/* ------------------ CHECKLIST ------------------ */
.hvcs-checklist {
  margin-top: 1.4rem;
  padding-left: 1.2rem;
}

.hvcs-checklist li {
  margin-bottom: .75rem;
  line-height: 1.6;
}

.hvcs-checklist li::marker {
  color: var(--first-color);
}

/* ------------------ FLOW ------------------ */
.hvcs-flow {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin: 2.4rem 0;
}

.hvcs-flow span {
  position: relative;
  background: rgba(255,255,255,.06);
  padding: .65rem 1rem;
  border-radius: .7rem;
  font-size: .85rem;
}

.hvcs-flow span::after {
  content: "→";
  position: absolute;
  right: 10px;
  opacity: .35;
}

.hvcs-flow span:hover {
  background: var(--first-color);
  color: #000;
  transform: translateY(-6px);
}

/* ------------------ IMAGES ------------------ */
.hvcs-image-wide {
  max-width: 950px;
  margin: 4rem auto;
  padding: 0 1rem;
  animation: hvFadeUp 1s ease both;
}

.hvcs-image-wide img {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 30px 60px rgba(0,0,0,.55);
  object-fit: cover;
}

.hvcs-image-wide:hover img {
  transform: scale(1.02) rotate(.4deg);
}

.hvcs-image-wide figcaption {
  text-align: center;
  font-size: .85rem;
  opacity: .7;
  margin-top: .6rem;
}

/* Evidence Image */
.hvcs-image-evidence {
  position: relative;
  max-width: 900px;
  margin: 4.5rem auto;
  border-radius: 1.3rem;
  overflow: hidden;
  box-shadow: 0 35px 70px rgba(0,0,0,.6);
  animation: hvFadeUp 1s ease both;
}

.hvcs-image-evidence img {
  width: 100%;
}

.hvcs-image-evidence:hover img {
  transform: scale(1.03);
}

.hvcs-image-evidence-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .75rem;
  padding: .45rem .75rem;
  border-radius: .45rem;
}

.case_img_short_det {
  margin-top: .9rem;
  text-align: center;
  font-size: .9rem;
  line-height: 1.5;
  opacity: .75;
  padding: 0 1rem;
  margin-bottom: 0.5rem;
}


/* ------------------ TABLE ------------------ */
.hvcs-table-section {
  padding: 4rem 1rem;
}

.hvcs-table {
  max-width: 900px;
  margin: auto;
  border-radius: 1.3rem;
  overflow: hidden;
  background: rgba(255,255,255,.03);
}

.hvcs-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.hvcs-row-head {
  background: rgba(255,255,255,.08);
  font-weight: 700;
}

.hvcs-row:not(.hvcs-row-head):hover {
  background: rgba(0,255,170,.14);
  transform: scale(1.01);
}

.hvcs-row span:nth-child(2) {
  font-weight: 700;
}

.hvcs-row:last-child {
  border-bottom: none;
}

/* ------------------ CTA ------------------ */
.hvcs-cta {
  padding: 5.5rem 1rem;
  text-align: center;
  background:
    radial-gradient(circle at center,
      rgba(0,255,170,.18),
      transparent 70%);
}

.hvcs-btn {
  display: inline-block;
  margin-top: 1.8rem;
  padding: 1rem 2.6rem;
  background: var(--first-color);
  color: #000;
  border-radius: .8rem;
  font-weight: 800;
  animation: hvGlow 3s infinite;
}

.hvcs-btn:hover {
  transform: translateY(-7px);
  box-shadow: 0 35px 65px rgba(0,255,170,.6);
}

/* ------------------ RESPONSIVE ------------------ */
@media (max-width: 768px) {

  .hvcs-title {
    animation: none;
  }

  .hvcs-section::before {
    display: none;
  }

  .hvcs-row {
    grid-template-columns: 1fr;
    gap: .45rem;
  }

  .hvcs-row-head {
    display: none;
  }
    .case_img_short_det {
    font-size: .85rem;
    padding: 0 .6rem;
  }
  .hvcs-image-evidence {
  margin: 1rem auto;
  padding: 0.8rem;
}
}
