

/* =========================================================
   04. Why Performance Matters
   ========================================================= */

.performance-matters-section {
    background:
        radial-gradient(circle at top left, rgba(0, 97, 255, 0.05), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.performance-matters-head {
    max-width: 970px;
}
.performance-impact-image img{
    width: 300px;
}

.performance-matters-kicker {
    color: #ff5a00;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.performance-matters-line {
    position: relative;
    width: 42px;
    height: 2px;
    background: #ff5a00;
}

.performance-matters-line::before,
.performance-matters-line::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ff5a00;
    transform: translateY(-50%);
}

.performance-matters-line::before {
    left: 0;
}

.performance-matters-line::after {
    right: 0;
}

.performance-matters-head h2 {
    color: #071333;
    font-size: 44px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.performance-matters-head p {
    color: #26345d;
    font-size: 18px;
    line-height: 1.5;
}

.performance-impact-card {
    padding: 10px;
    border: 1px solid #dbe5f2;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(17, 40, 80, 0.06);
}

.performance-impact-card-head {
    min-height: 72px;
    padding: 14px 20px;
    border-radius: 7px;
    background:
        radial-gradient(circle at right, rgba(0, 91, 255, 0.22), transparent 35%),
        linear-gradient(135deg, #071a4d, #000e3f);
}

.performance-impact-drupal-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% 50% 45% 45%;
    color: #ffffff;
    background: linear-gradient(180deg, #2387ff, #0051d9);
    font-size: 27px;
}

.performance-impact-card-head h3 {
    color: #ffffff;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
}

.performance-impact-card-body {
    padding: 24px 16px 2px;
}

.performance-impact-card-body h4 {
    color: #07135c;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 900;
}

.performance-impact-copy {
    color: #26345d;
    font-size: 16px;
    line-height: 1.55;
}

.performance-impact-gauge {
    width: 310px;
    height: 210px;
    overflow: hidden;
}

.performance-impact-gauge-ring {
    width: 310px;
    height: 310px;
    border: 22px solid transparent;
    border-top-color: #ffd726;
    border-right-color: #2dbf59;
    border-bottom-color: #159a45;
    border-left-color: #ff1e16;
    border-radius: 50%;
    transform: rotate(-45deg);
}

.performance-impact-gauge-mark {
    position: absolute;
    color: #071333;
    font-size: 15px;
    font-weight: 600;
}

.performance-impact-mark-left {
    left: 30px;
    bottom: 7px;
}

.performance-impact-mark-center {
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
}

.performance-impact-mark-right {
    right: 30px;
    bottom: 7px;
}

.performance-impact-score {
    bottom: 7px;
    white-space: nowrap;
}

.performance-impact-score strong {
    color: #ff5a00;
    font-size: 76px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.performance-impact-score span {
    color: #7b849d;
    font-size: 22px;
    font-weight: 700;
}

.performance-impact-needle {
    position: absolute;
    right: 56px;
    bottom: 47px;
    width: 76px;
    height: 13px;
    border-radius: 100% 8px 8px 100%;
    background: #071a54;
    transform: rotate(-30deg);
    transform-origin: right center;
}

.performance-impact-needle-center {
    position: absolute;
    right: 117px;
    bottom: 48px;
    width: 18px;
    height: 18px;
    border: 5px solid #ffffff;
    border-radius: 50%;
    background: #071a54;
    box-shadow: 0 3px 8px rgba(7, 19, 51, 0.2);
}

.performance-impact-status {
    min-height: 38px;
    margin-top: -6px;
    padding: 8px 18px;
    border-radius: 50px;
    color: #ff5a00;
    background: #fff1dd;
    font-size: 16px;
    font-weight: 800;
}

.performance-impact-recommendation {
    padding: 18px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f1f6ff, #f8fbff);
}

.performance-impact-recommendation-icon {
    width: 70px;
    color: #2874dc;
    font-size: 48px;
    text-align: center;
}

.performance-impact-recommendation-text {
    min-width: 0;
}

.performance-impact-recommendation-text strong {
    display: block;
    color: #1260d7;
    font-size: 16px;
    line-height: 1.3;
}

.performance-impact-recommendation-text p {
    color: #26345d;
    font-size: 15px;
    line-height: 1.45;
    overflow-wrap: break-word;
}

.performance-benefit-card {
    min-height: 102px;
    padding: 14px 28px 14px 24px;
    border: 1px solid #dbe5f2;
    border-radius: 11px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(17, 40, 80, 0.04);
}

.performance-benefit-icon {
    width: 72px;
    min-width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 34px;
}

.performance-benefit-icon-blue {
    color: #1769db;
    background: #e7f0ff;
}

.performance-benefit-icon-green {
    color: #079b48;
    background: #e3f7e9;
}

.performance-benefit-icon-orange {
    color: #ff6a00;
    background: #fff0de;
}

.performance-benefit-icon-purple {
    color: #2a2297;
    background: #ece9ff;
}

.performance-benefit-icon-teal {
    color: #158b91;
    background: #ddf5f5;
}

.performance-benefit-icon-yellow {
    color: #071333;
    background: #fff4ca;
}

.performance-benefit-content {
    flex: 1;
    min-width: 0;
}

.performance-benefit-content h3 {
    color: #071333;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
}

.performance-benefit-content p {
    max-width: 490px;
    color: #26345d;
    font-size: 16px;
    line-height: 1.4;
    overflow-wrap: break-word;
}

.performance-benefit-divider {
    width: 1px;
    min-width: 1px;
    height: 60px;
    background: #dce5f2;
}

.performance-benefit-badge {
    min-width: 170px;
    min-height: 44px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    white-space: nowrap;
}

.performance-benefit-badge-green {
    color: #079b3e;
    border-color: #c8ebd1;
    background: #eefaf1;
}

.performance-benefit-badge-orange {
    color: #ff5a00;
    border-color: #f7dcbf;
    background: #fff7ed;
}

.performance-benefit-badge-blue {
    color: #1260d7;
    border-color: #cddff9;
    background: #f1f6ff;
}

.performance-review-cta {
    padding: 16px 24px;
    border: 1px solid #bcd5fb;
    border-radius: 12px;
    background:
        radial-gradient(circle at left, rgba(13, 110, 253, 0.09), transparent 25%),
        linear-gradient(135deg, #f4f9ff, #ffffff);
    box-shadow: 0 10px 30px rgba(13, 40, 88, 0.05);
}

.performance-review-visual {
    width: 210px;
    height: 145px;
}

.performance-review-gauge {
    position: absolute;
    top: 4px;
    left: 48px;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 12px solid #ffffff;
    border-radius: 50%;
    color: #071a54;
    background: #ffffff;
    font-size: 78px;
    box-shadow:
        0 12px 28px rgba(13, 72, 173, 0.2),
        inset 0 0 0 8px #2c76dd;
}

.performance-review-drupal {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 6px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(145deg, #2685ff, #075be8);
    font-size: 38px;
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.25);
}

.performance-review-speed-lines {
    position: absolute;
    top: 60px;
    left: 0;
}

.performance-review-speed-lines span {
    display: block;
    height: 4px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: linear-gradient(90deg, transparent, #8bbcff);
}

.performance-review-speed-lines span:nth-child(1) {
    width: 68px;
}

.performance-review-speed-lines span:nth-child(2) {
    width: 50px;
}

.performance-review-speed-lines span:nth-child(3) {
    width: 36px;
}

.performance-review-content {
    min-width: 0;
}

.performance-review-content h3 {
    color: #07135c;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 900;
}

.performance-review-content>p {
    color: #26345d;
    font-size: 18px;
    line-height: 1.45;
}

.performance-review-features span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #07135c;
    font-size: 15px;
    font-weight: 700;
}

.performance-review-features i {
    color: #126af1;
    font-size: 23px;
}

.performance-review-btn {
    min-height: 58px;
    padding: 15px 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-review-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 15px 32px rgba(255, 90, 0, 0.3);
}

.performance-review-note {
    color: #071333;
    font-size: 14px;
    font-weight: 600;
}

.performance-review-note i {
    color: #10a34a;
    font-size: 24px;
}

/* =========================================================
   Why Performance Matters Responsive
   ========================================================= */

@media (max-width: 1600px) {
    .performance-matters-kicker {
        font-size: 14px;
    }

    .performance-matters-head h2 {
        font-size: 32px;
    }

    .performance-matters-head p {
        font-size: 15px;
    }

    .performance-impact-card-body h4 {
        font-size: 22px;
    }

    .performance-impact-copy,
    .performance-benefit-content p {
        font-size: 14px;
    }

    .performance-benefit-content h3 {
        font-size: 17px;
    }

    .performance-benefit-card {
        min-height: 94px;
        padding: 12px 20px;
    }

    .performance-benefit-icon {
        width: 62px;
        min-width: 62px;
        height: 62px;
        font-size: 29px;
    }

    .performance-benefit-badge {
        min-width: 150px;
        font-size: 14px;
    }

    .performance-review-content h3 {
        font-size: 22px;
    }

    .performance-review-content>p {
        font-size: 15px;
    }

    .performance-review-features span,
    .performance-review-btn,
    .performance-review-note {
        font-size: 14px;
    }
}

@media (max-width: 1199px) {
    .performance-impact-card {
        max-width: 620px;
        margin: 0 auto;
    }

    .performance-benefits-list {
        max-width: 900px;
        margin: 0 auto;
    }

    .performance-review-visual {
        transform: scale(0.9);
    }
}

@media (max-width: 991px) {
    .performance-review-cta {
        text-align: center;
    }

    .performance-review-content {
        max-width: 700px;
        margin: 0 auto;
    }

    .performance-review-features {
        justify-content: center;
    }

    .performance-review-action {
        text-align: center;
    }

    .performance-review-note {
        justify-content: center !important;
    }
    .performance-impact-image img{
        width: 300px !important;
    }
}

@media (max-width: 767px) {
    .performance-matters-kicker {
        gap: 10px !important;
        font-size: 13px;
    }
    

    .performance-matters-line {
        width: 34px;
    }

    .performance-matters-head h2 {
        font-size: 22px;
    }

    .performance-matters-head p {
        font-size: 15px;
    }

    .performance-impact-card-head {
        min-height: 64px;
    }

    .performance-impact-card-head h3 {
        font-size: 18px;
    }

    .performance-impact-card-body {
        padding-right: 10px;
        padding-left: 10px;
    }

    .performance-impact-card-body h4 {
        font-size: 18px;
    }

    .performance-impact-copy {
        font-size: 14px;
    }

    .performance-impact-gauge {
        width: 260px;
        height: 185px;
    }

    .performance-impact-gauge-ring {
        width: 260px;
        height: 260px;
        border-width: 19px;
    }

    .performance-impact-score strong {
        font-size: 62px;
    }

    .performance-impact-score span {
        font-size: 18px;
    }

    .performance-impact-needle {
        right: 49px;
        bottom: 43px;
        width: 64px;
    }

    .performance-impact-needle-center {
        right: 100px;
        bottom: 44px;
    }

    .performance-impact-recommendation {
        padding: 15px;
    }

    .performance-impact-recommendation-icon {
        width: 50px;
        font-size: 38px;
    }

    .performance-impact-recommendation-text strong,
    .performance-impact-recommendation-text p {
        font-size: 14px;
    }

    .performance-benefit-card {
        align-items: flex-start !important;
        flex-direction: column;
        gap: 12px !important;
        padding: 18px;
    }

    .performance-benefit-icon {
        width: 56px;
        min-width: 56px;
        height: 56px;
        font-size: 26px;
    }
    .performance-review-description p{
        font-size: 15px;
    }

    .performance-benefit-content h3 {
        font-size: 16px;
    }

    .performance-benefit-content p {
        font-size: 13px;
    }

    .performance-benefit-badge {
        min-width: 0;
        min-height: 38px;
        padding: 8px 13px;
        font-size: 14px;
        white-space: normal;
    }

    .performance-review-cta {
        padding: 20px 16px;
    }

    .performance-review-visual {
        transform: scale(0.85);
    }

    .performance-review-content h3 {
        font-size: 18px;
    }

    .performance-review-content>p {
        font-size: 14px;
    }

    .performance-review-features {
        flex-direction: column;
        align-items: center;
    }

    .performance-review-btn {
        width: 100%;
        min-width: 0;
        padding: 12px 16px;
        font-size: 14px;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .performance-review-note {
        flex-wrap: wrap;
        font-size: 13px;
    }
}

@media (max-width: 575.98px) {
    .performance-matters-kicker .performance-matters-line:last-child {
        display: none;
    }

    .performance-impact-gauge {
        width: 220px;
        height: 165px;
    }

    .performance-impact-gauge-ring {
        width: 220px;
        height: 220px;
        border-width: 17px;
    }

    .performance-impact-mark-left {
        left: 23px;
    }

    .performance-impact-mark-right {
        right: 23px;
    }

    .performance-impact-score strong {
        font-size: 52px;
    }

    .performance-impact-needle {
        right: 42px;
        bottom: 40px;
        width: 54px;
        height: 10px;
    }

    .performance-impact-needle-center {
        right: 84px;
        bottom: 39px;
        width: 16px;
        height: 16px;
    }

    .performance-review-visual {
        margin-top: -10px;
        margin-bottom: -10px;
        transform: scale(0.75);
    }

    .performance-review-dot {
        display: none;
    }
}

/* 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;
  }
}
