/*
Theme Name: Performance Bros
Theme URI: https://performancebros.local/
Author: Performance Bros
Description: Custom WordPress theme generated from the Performance Bros Stitch page designs.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: performance-bros
*/

.performance-bros-article {
    color: #aab4b8;
    font-size: 1.125rem;
    line-height: 1.8;
}

.performance-bros-article > * + * {
    margin-top: 1.5rem;
}

.performance-bros-article h2,
.performance-bros-article h3,
.performance-bros-article h4 {
    color: #00f0ff;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.1;
    margin-top: 3rem;
}

.performance-bros-article h2 {
    font-size: 2rem;
}

.performance-bros-article h3 {
    font-size: 1.6rem;
}

.performance-bros-article p,
.performance-bros-article li {
    color: #aab4b8;
}

.performance-bros-article a {
    color: #00dbe9;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.performance-bros-article ul,
.performance-bros-article ol {
    padding-left: 1.5rem;
}

.performance-bros-article ul {
    list-style: disc;
}

.performance-bros-article ol {
    list-style: decimal;
}

.performance-bros-article blockquote {
    border-left: 4px solid #32cd32;
    color: #e4e8ea;
    font-style: italic;
    padding-left: 1.5rem;
}

.performance-bros-article img {
    border-radius: 8px;
    height: auto;
    max-width: 100%;
}

.performance-bros-article figure {
    margin-left: 0;
    margin-right: 0;
}

.performance-bros-article figcaption {
    color: #6f7b80;
    font-size: .875rem;
    margin-top: .75rem;
    text-align: center;
}

.pb-highlight-box,
.pb-forecast-card {
    background: #182023;
    border-left: 4px solid #32cd32;
    border-radius: 8px;
    color: #aab4b8;
    margin: 3rem 0;
    overflow: hidden;
    padding: 2rem;
    position: relative;
}

.pb-highlight-box h3 {
    color: #ffffff;
    font-size: 1.875rem;
    line-height: 1.15;
    margin: 0 0 1rem;
}

.pb-kicker,
.pb-metric-label {
    color: #32cd32;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .18em;
    margin: 0 0 1rem;
    text-transform: uppercase;
}

.pb-numbered-list {
    counter-reset: performance-counter;
    display: grid;
    gap: 1.75rem;
    list-style: none;
    margin: 3rem 0;
    padding-left: 0;
}

.pb-numbered-list li {
    align-items: flex-start;
    counter-increment: performance-counter;
    column-gap: 1.5rem;
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    list-style: none;
}

.pb-numbered-list li::before {
    align-items: center;
    background: #202a2e;
    border-radius: 8px;
    content: counter(performance-counter, decimal-leading-zero);
    color: #00f0ff;
    display: inline-flex;
    flex: 0 0 2rem;
    font-weight: 900;
    height: 2rem;
    justify-content: center;
    margin: 0;
}

.pb-numbered-list h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
    grid-column: 2;
    line-height: 1.2;
    margin: 0 0 .25rem;
}

.pb-numbered-list p {
    color: #c5d7dc;
    grid-column: 2;
    line-height: 1.55;
    margin: 0;
}

.pb-bullet-points {
    display: grid;
    gap: .85rem;
    list-style: none;
    margin: 2rem 0 2.5rem;
    padding-left: 0;
}

.pb-bullet-points li {
    align-items: center;
    color: inherit;
    display: flex;
    font-size: .875rem;
    font-weight: 800;
    gap: .9rem;
    letter-spacing: .14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.pb-bullet-points li::before {
    background: #00f0ff;
    border-radius: 999px;
    content: "";
    display: inline-block;
    flex: 0 0 .25rem;
    height: .25rem;
    width: .25rem;
}

.pb-checklist {
    display: grid;
    gap: 1rem;
    list-style: none;
    margin: 2rem 0;
    padding-left: 0;
}

.pb-checklist li {
    background: #141b1e;
    border-left: 3px solid #32cd32;
    border-radius: 8px;
    color: #aab4b8;
    padding: 1rem 1rem 1rem 1.25rem;
}

.pb-checklist li::marker {
    content: "";
}

.pb-metric-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 3rem 0;
}

.pb-metric-card {
    background: #141b1e;
    border-bottom: 2px solid transparent;
    border-radius: 8px;
    padding: 1.5rem;
}

.pb-metric-card:hover {
    border-bottom-color: #32cd32;
}

.pb-metric-value,
.pb-forecast-value {
    color: #00f0ff;
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1;
    margin: 0 0 .5rem;
}

.pb-forecast-body {
    align-items: end;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) 16rem;
}

.pb-bars {
    align-items: end;
    background: #101416;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    display: flex;
    gap: .75rem;
    height: 16rem;
    justify-content: space-between;
    padding: 1.5rem;
}

.pb-bars span {
    background: #00f0ff;
    border-radius: 4px 4px 0 0;
    display: block;
    opacity: .35;
    width: 18%;
}

.pb-bars span:nth-child(2) {
    opacity: .5;
}

.pb-bars span:nth-child(3) {
    opacity: .65;
}

.pb-bars span:nth-child(4) {
    opacity: .8;
}

.pb-bars span:nth-child(5) {
    box-shadow: 0 0 15px rgba(0, 240, 255, .4);
    opacity: 1;
}

.pb-caption {
    color: #6f7b80;
    font-size: .875rem;
    font-style: italic;
}

.pb-button .wp-block-button__link {
    background: #00f0ff;
    border-radius: 8px;
    color: #001214;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pb-article-cta {
    background: #263032;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
    margin: 5rem 0 0;
    overflow: hidden;
    padding: 3rem;
    position: relative;
    text-align: center;
}

.pb-article-cta-glow {
    border-radius: 999px;
    filter: blur(100px);
    height: 16rem;
    margin: 0;
    pointer-events: none;
    position: absolute;
    width: 16rem;
}

.pb-article-cta-glow-top {
    background: rgba(0, 240, 255, .1);
    right: -6rem;
    top: -6rem;
}

.pb-article-cta-glow-bottom {
    background: rgba(50, 205, 50, .05);
    bottom: -6rem;
    left: -6rem;
}

.pb-article-cta-inner {
    margin: 0 auto;
    max-width: 42rem;
    position: relative;
    z-index: 1;
}

.pb-article-cta h3 {
    color: #e4e8ea;
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0 0 1.5rem;
}

.pb-article-cta p {
    color: #c5d7dc;
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0 0 2.5rem;
}

.pb-article-cta-buttons {
    justify-content: center;
}

.pb-article-cta-button .wp-block-button__link {
    background: #00f0ff;
    border-radius: 4px;
    color: #001214;
    display: inline-flex;
    font-size: .875rem;
    font-weight: 900;
    letter-spacing: .12em;
    padding: 1.25rem 2.5rem;
    text-transform: uppercase;
    transition: box-shadow .3s ease, transform .3s ease;
}

.pb-article-cta-button .wp-block-button__link:hover {
    box-shadow: 0 0 30px rgba(0, 240, 255, .4);
}

.pb-article-cta-button .wp-block-button__link:active {
    transform: scale(.95);
}

@media (max-width: 820px) {
    .pb-metric-grid,
    .pb-forecast-body {
        grid-template-columns: 1fr;
    }

    .pb-article-cta {
        padding: 3rem 1.5rem;
    }
}
