/* =========================================================
   06. Performance Audit Process
   ========================================================= */

.performance-audit-process-section {
  background:
    radial-gradient(
      circle at top right,
      rgba(13, 110, 253, 0.06),
      transparent 24%
    ),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.performance-audit-process-head {
  max-width: 960px;
}

.performance-audit-process-kicker {
  color: #ff5a00;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.performance-audit-process-line {
  position: relative;
  width: 44px;
  height: 2px;
  background: #ff5a00;
}

.performance-audit-process-line::before,
.performance-audit-process-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff5a00;
  transform: translateY(-50%);
}

.performance-audit-process-line::before {
  left: 0;
}

.performance-audit-process-line::after {
  right: 0;
}

.performance-audit-process-head h2 {
  color: #071333;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.performance-audit-process-head p {
  color: #26345d;
  font-size: 18px;
  line-height: 1.5;
}

.performance-audit-process-wrap {
  padding-top: 34px;
}

.performance-audit-process-track {
  position: absolute;
  top: 32px;
  right: 1.5%;
  left: 1.5%;
  height: 2px;
  background: #2c7cf4;
}

.performance-audit-process-card {
  --audit-color: #0865f1;
  --audit-soft: #eaf1ff;
  min-height: 505px;
  padding: 58px 24px 22px;
  border: 1px solid #d8e4f4;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(17, 40, 80, 0.06);
}

.performance-audit-green {
  --audit-color: #0aa34a;
  --audit-soft: #e9f8ec;
}

.performance-audit-purple {
  --audit-color: #7a3bd4;
  --audit-soft: #f0eafe;
}

.performance-audit-orange {
  --audit-color: #ff6500;
  --audit-soft: #fff0e3;
}

.performance-audit-teal {
  --audit-color: #0895a5;
  --audit-soft: #e4f6f7;
}

.performance-audit-step-number {
  position: absolute;
  top: -34px;
  left: 50%;
  z-index: 3;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  background: var(--audit-color);
  font-size: 22px;
  font-weight: 900;
  transform: translateX(-50%);
  box-shadow: 0 8px 20px rgba(17, 40, 80, 0.16);
}

.performance-audit-arrow {
  position: absolute;
  top: -17px;
  right: -29px;
  z-index: 4;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  color: #0d6efd;
  background: #ffffff;
  font-size: 18px;
}

.performance-audit-process-icon {
  position: relative;
  width: 125px;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--audit-color);
  background: var(--audit-soft);
  font-size: 57px;
}

.performance-audit-process-icon-small {
  position: absolute;
  right: 14px;
  bottom: 15px;
  width: 39px;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #ffffff;
  border-radius: 50%;
  color: var(--audit-color);
  background: #ffffff;
  font-size: 21px;
}

.performance-audit-process-card h3 {
  min-height: 58px;
  color: #07135c;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}

.performance-audit-process-divider {
  display: block;
  width: 47px;
  height: 3px;
  background: var(--audit-color);
}

.performance-audit-process-card > p {
  min-height: 120px;
  color: #26345d;
  font-size: 16px;
  line-height: 1.5;
}

.performance-audit-process-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.performance-audit-process-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #071333;
  font-size: 15px;
  line-height: 1.35;
}

.performance-audit-process-list i {
  margin-top: 3px;
  color: var(--audit-color);
  font-size: 14px;
  flex-shrink: 0;
}

.performance-audit-cta {
  padding: 15px 28px;
  border: 1px solid #acd0ff;
  border-radius: 17px;
  background:
    radial-gradient(circle at left, rgba(13, 110, 253, 0.09), transparent 23%),
    linear-gradient(135deg, #f3f8ff, #ffffff);
  box-shadow: 0 12px 32px rgba(13, 40, 88, 0.05);
}

.performance-audit-cta-visual {
  width: 250px;
  height: 185px;
}

.performance-audit-main-gauge {
  position: absolute;
  top: 12px;
  left: 30px;
  width: 165px;
  height: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 13px solid #ffffff;
  border-radius: 50%;
  color: #071a54;
  background: #ffffff;
  font-size: 100px;
  box-shadow:
    0 14px 30px rgba(13, 72, 173, 0.2),
    inset 0 0 0 10px #2c76dd;
}

.performance-audit-search-icon {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 108px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #17326f;
  font-size: 82px;
  transform: rotate(-8deg);
}

.performance-audit-search-icon > span {
  position: absolute;
  top: 18px;
  left: 17px;
  width: 59px;
  height: 59px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(145deg, #2685ff, #075be8);
  font-size: 34px;
}

.performance-audit-speed-lines {
  position: absolute;
  top: 73px;
  left: 0;
}

.performance-audit-speed-lines span {
  display: block;
  height: 4px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, transparent, #8bbcff);
}

.performance-audit-speed-lines span:nth-child(1) {
  width: 72px;
}

.performance-audit-speed-lines span:nth-child(2) {
  width: 56px;
}

.performance-audit-speed-lines span:nth-child(3) {
  width: 40px;
}

.performance-audit-cta-content {
  min-width: 0;
}

.performance-audit-cta-content h3 {
  color: #07135c;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 900;
}

.performance-audit-cta-content > p {
  color: #26345d;
  font-size: 18px;
  line-height: 1.45;
}

.performance-audit-cta-btn {
  min-height: 58px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff7a00, #ff4d00);
  box-shadow: 0 12px 28px rgba(255, 90, 0, 0.25);
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.performance-audit-cta-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 15px 32px rgba(255, 90, 0, 0.3);
}

.performance-audit-cta-features {
  row-gap: 10px;
}

.performance-audit-cta-features span {
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-right: 1px solid #bfd2ef;
  color: #07135c;
  font-size: 14px;
  font-weight: 700;
}

.performance-audit-cta-features span:first-child {
  padding-left: 0;
}

.performance-audit-cta-features span:last-child {
  border-right: 0;
}

.performance-audit-cta-features i {
  color: #2878ee;
  font-size: 23px;
}

.performance-audit-report-card {
  max-width: 420px;
  padding: 20px;
  border: 1px solid #d9e4f2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 15px 34px rgba(18, 76, 167, 0.15);
  transform: rotate(4deg);
}

.performance-audit-report-head strong {
  display: block;
  color: #071333;
  font-size: 15px;
  font-style: italic;
}

.performance-audit-report-head small {
  display: block;
  margin-top: 12px;
  color: #34405c;
  font-size: 10px;
  font-weight: 700;
}

.performance-audit-overall-score {
  padding: 6px 13px;
  border-radius: 6px;
  background: #ebfaef;
}

.performance-audit-overall-score small {
  display: block;
  color: #34405c;
  font-size: 8px;
}

.performance-audit-overall-score strong {
  display: inline;
  color: #0a9f42;
  font-size: 22px;
}

.performance-audit-overall-score span {
  color: #34405c;
  font-size: 10px;
}

.performance-audit-report-score {
  min-height: 55px;
  padding: 7px 4px;
  border: 1px solid #d6eadc;
  border-radius: 5px;
  background: #f5fcf7;
  text-align: center;
}

.performance-audit-report-score small {
  display: block;
  color: #34405c;
  font-size: 7px;
}

.performance-audit-report-score strong {
  display: block;
  color: #0a9f42;
  font-size: 20px;
}

.performance-audit-report-score-orange {
  border-color: #f3ddc1;
  background: #fffaf3;
}

.performance-audit-report-score-orange strong {
  color: #ff6500;
}

.performance-audit-report-subtitle {
  display: block;
  margin-bottom: 7px;
  color: #071333;
  font-size: 9px;
}

.performance-audit-report-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.performance-audit-report-list li {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  color: #26345d;
  font-size: 7px;
  line-height: 1.3;
}

.performance-audit-report-list i {
  margin-top: 1px;
  color: #ff1e16;
  font-size: 8px;
  flex-shrink: 0;
}

.performance-audit-report-list-success i {
  color: #0aa34a;
}

/* =========================================================
   Performance Audit Process Responsive
   ========================================================= */

@media (max-width: 1600px) {
  .performance-audit-process-kicker {
    font-size: 14px;
  }
  .performance-audit-card-description p {
    font-size: 14px;
  }

  .performance-audit-process-head h2 {
    font-size: 32px;
  }

  .performance-audit-process-head p {
    font-size: 15px;
  }

  .performance-audit-process-card {
    min-height: 470px;
    padding: 54px 18px 20px;
  }

  .performance-audit-process-icon {
    width: 105px;
    height: 105px;
    font-size: 47px;
  }

  .performance-audit-process-card h3 {
    min-height: 54px;
    font-size: 17px;
  }

  .performance-audit-process-card > p {
    min-height: 105px;
    font-size: 14px;
  }

  .performance-audit-process-list li {
    font-size: 14px;
  }

  .performance-audit-cta-content h3 {
    font-size: 22px;
  }

  .performance-audit-cta-content > p {
    font-size: 15px;
  }

  .performance-audit-cta-btn,
  .performance-audit-cta-features span {
    font-size: 14px;
  }
}

@media (max-width: 1199px) {
  .performance-audit-process-wrap {
    padding-top: 0;
  }

  .performance-audit-process-card {
    min-height: 0;
    padding-top: 52px;
  }

  .performance-audit-step-number {
    top: 14px;
    left: 18px;
    width: 45px;
    height: 45px;
    border-width: 3px;
    font-size: 16px;
    transform: none;
  }

  .performance-audit-process-card > p,
  .performance-audit-process-card h3 {
    min-height: 0;
  }

  .performance-audit-cta {
    text-align: center;
  }

  .performance-audit-cta-content {
    max-width: 720px;
    margin: 0 auto;
  }

  .performance-audit-cta-features {
    justify-content: center;
  }
}

@media (max-width: 991px) {
  .performance-audit-report-card {
    margin-top: 10px;
    transform: none;
  }
}

@media (max-width: 767px) {
  .performance-audit-process-kicker {
    gap: 10px !important;
    font-size: 12px;
  }

  .performance-audit-process-line {
    width: 34px;
  }

  .performance-audit-process-head h2 {
    font-size: 22px;
  }

  .performance-audit-process-head p {
    font-size: 15px;
  }

  .performance-audit-process-card {
    padding: 58px 20px 22px;
  }

  .performance-audit-process-icon {
    width: 95px;
    height: 95px;
    font-size: 42px;
  }

  .performance-audit-process-card h3 {
    font-size: 16px;
  }
  .performance-audit-card-description p {
    font-size: 13px;
  }

  .performance-audit-process-card > p,
  .performance-audit-process-list li {
    font-size: 13px;
  }
  .performance-audit-cta-description p {
    font-size: 14px;
  }

  .performance-audit-cta {
    padding: 20px 16px;
  }

  .performance-audit-cta-visual {
    transform: scale(0.82);
  }

  .performance-audit-cta-content h3 {
    font-size: 18px;
  }

  .performance-audit-cta-content > p {
    font-size: 14px;
  }

  .performance-audit-cta-btn {
    width: 100%;
    min-width: 0;
    padding: 13px 16px;
    font-size: 14px;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .performance-audit-cta-features {
    flex-direction: column;
    align-items: center;
  }

  .performance-audit-cta-features span {
    padding: 0;
    border-right: 0;
    font-size: 14px;
  }

  .performance-audit-report-card {
    padding: 14px;
  }
}

@media (max-width: 575.98px) {
  .performance-audit-process-kicker .performance-audit-process-line:last-child {
    display: none;
  }

  .performance-audit-cta-visual {
    margin-top: -18px;
    margin-bottom: -18px;
    transform: scale(0.7);
  }

  .performance-audit-report-head {
    flex-direction: column;
  }

  .performance-audit-overall-score {
    width: 100%;
  }

  .performance-audit-report-card .row > div {
    min-width: 0;
  }
}

/* base styles */
h2 {
  font-size: 44px !important;
}

@media (max-width: 1599.98px) {
  h2 {
    font-size: 32px !important;
  }
}

@media (max-width: 1399.98px) {
  h2 {
    font-size: 30px !important;
  }
}

@media (max-width: 1199.98px) {
  h2 {
    font-size: 28px !important;
  }
}

@media (max-width: 991.98px) {
  h2 {
    font-size: 26px !important;
  }
}

@media (max-width: 767.98px) {
  h2 {
    font-size: 22px !important;
  }
}

@media (max-width: 575.98px) {
  h2 {
    font-size: 21px !important;
  }
}

@media (max-width: 374.98px) {
  h2 {
    font-size: 20px !important;
  }
}

