/* Hero Section */
#bf-hero h1 {
    display: block;
    text-align: center;
    font-size: 2.5em;
    color: #fff;
    margin: 0 0 30px 0;
    font-weight: bold;
    font-family: SpaceGrotesk-Bold;
}

#bf-hero h1 span {
    color: #f00;
    text-shadow: 0 0 2px #000;
}

.product-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 30px auto 0;
    max-width: 1200px;
}

.product-hero-inner {
    color: #fff;
    text-align: center;
    font-size: 1.2em;
    line-height: 1.6;
}

.product-hero-lead {
    margin-top: 20px;
    font-size: 0.95em;
    line-height: 1.8;
    color: #e0e0e0;
}

.product-hero img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (min-width: 768px) {
    #bf-hero h1 {
        font-size: 3.5em;
    }

    .product-hero {
        flex-direction: row;
        gap: 50px;
    }

    .product-hero-inner {
        flex: 1;
        text-align: left;
        font-size: 1.3em;
    }

    .product-hero img {
        max-width: 300px;
    }
}

@media (min-width: 1200px) {
    #bf-hero h1 {
        font-size: 4em;
    }

    .product-hero {
        gap: 80px;
    }

    .product-hero-inner {
        font-size: 1.4em;
    }
}

/* Pricing Boxes Container */
.pricing-boxes-container {
    display: flex;
    gap: 40px 20px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Individual Pricing Box */
.pricing-box {
    background-color: #000;
    color: #fff;
    border-radius: 15px;
    padding: 20px;
    max-width: 300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-box:hover {
    transform: translateY(-5px);
}

/* Red Ribbon */
.ribbon-content {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 89px;
    height: 91px;
    overflow: hidden;
}

.ribbon {
    display: inline-block;
    position: absolute;
    padding: 7px 0;
    left: -23px;
    top: 22px;
    width: 150px;
    text-align: center;
    font-size: 14px;
    line-height: 16px;
    background: linear-gradient(to right, #e10615 0%, #a1010e 100%);
    color: #fff;
    text-shadow: 0 2px 2px rgba(0,0,0,.4);
    letter-spacing: 0.05em;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    font-weight: 800;
}

/* Pricing Title */
.pricing-title {
    font-size: 26px;
    font-weight: bold;
    color: #fff;
    margin: 0 0 8px 0;
    text-align: center;
}

/* Pricing Subtitle */
.pricing-subtitle {
    font-size: 13px;
    color: #ccc;
    text-align: center;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

/* Pricing Section */
.pricing-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 10px 0 12px 0;
}

.pricing-price sup {
    font-size: 16px;
}

.special-deal .pricing-price {
    margin-top: 33px;
}

/* Old Price (Strikethrough) */
.old-price {
    display: inline-block;
    font-size: 18px;
    color: #eee;
    margin-bottom: 3px;
    position: relative;
}

.old-price::after {
    content: '';
    position: absolute;
    left: -5%;
    right: -5%;
    top: 50%;
    height: 2px;
    background: rgba(255, 0, 0,.6);
    transform: translateY(-100%) rotate(9deg);
    border-radius: 0;
}

/* New Price */
.new-price {
    display: block;
    font-size: 34px;
    font-weight: bold;
    color: #fff;
}

.period {
    font-size: 15px;
}

/* Features List */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 8px 0;
    flex-grow: 1;
}

.pricing-features li {
    font-size: 13px;
    color: #fff;
    margin: 6px 0;
    display: flex;
    align-items: center;
}

.pricing-features .checkmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #2c3e50;
    border-radius: 50%;
    margin-right: 8px;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
}

/* Buy Now Button */
.buy-now-button {
    display: block;
    background-color: #27ae60;
    color: #fff;
    text-align: center;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    margin-top: auto;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.buy-now-button:hover {
    background-color: #2ecc71;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-boxes-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-box {
        max-width: 100%;
    }
}

#pricing-section, 
section#pricing {
    text-align: center;
}

#pricing-section h2,
section#pricing h2 {
    background: #000;
    color: #fff;
    width: auto;
    display: inline-block;
    padding: 20px 80px;
    border-radius: 35px;
    max-width: 90%;
}

#pricing-section h2 span,
section#pricing h2 span {
    color: #f00;
    font-family: SpaceGrotesk-Bold;
}

.light-bg {
    background: #fff;
    color: #000;
}

section:not(.section-nav-trigger) {
    padding: 40px 20px;
}

.section-nav-all-deals a {
    display: inline !important;
}

.section-nav-all-deals span {
    background: #000;
    color: #fff;
    padding: 2px 4px;
}

.section-nav-all-deals strong {
    color: #f00;
    font-family: SpaceGrotesk-Bold;
    font-weight: 400;
}


#analytics .section-nav:not(.is-sticky) {
    transform: translateY(0);
}

#swift-performance .section-nav:not(.is-sticky) {
    visibility: hidden;
}

#analytics .product-hero,
#bugmonitor .product-hero {
    margin-bottom: 40px;
}

#wp-shifty section {
      padding: 40px;
}

#wp-shifty #pricing-section {
    padding: 40px 20px;
}

@media (min-width: 992px){
      #wp-shifty section {
            padding: 40px 120px;
      }
}

#wp-shifty #bf-hero {
      padding: 40px 20px;
}
      