/* Inline page wrapper for the simple pricing layout */
.pricing-page-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 16px;
}

/* Page-level heading */
.pricing-page-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

/* Page-level subtitle */
.pricing-page-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-bottom: 32px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
    padding-bottom: env(safe-area-inset-bottom);
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tier-card {
    background: rgba(18, 18, 24, 0.6);
    border: 0.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 28px 24px;
}

.tier-card--highlighted {
    border: 1px solid #ff3366;
    box-shadow: 0 0 40px rgba(255, 51, 102, 0.2);
}

.tier-card--current button {
    opacity: 0.5;
    cursor: not-allowed;
}

.tier-name {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.tier-price {
    font-size: 40px;
    font-weight: 700;
    color: #ff3366;
    margin-bottom: 4px;
}

.tier-period {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

.tier-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
}

.tier-features {
    list-style: none;
    margin-bottom: 24px;
    padding: 0;
}

.tier-feature {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.tier-feature::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #ff3366;
    font-weight: 700;
}

.tier-actions {
    margin-top: auto;
}

.tier-actions .btn {
    width: 100%;
    text-align: center;
}

.current-plan-banner {
    background: linear-gradient(135deg, #ff3366, #ff6b9d);
    padding: 24px 32px;
    border-radius: 20px;
    margin-bottom: 32px;
    box-shadow: 0 12px 40px rgba(255, 51, 102, 0.3);
}

.current-plan-banner__label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 8px;
}

.current-plan-banner__name {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.current-plan-banner__desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.stripe-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: rgba(18, 18, 24, 0.6);
    border: 0.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-top: 32px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.skip-link {
    display: block;
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.skip-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-hero {
    max-width: 800px;
    margin: 100px auto 60px;
    padding: 0 24px;
    text-align: center;
}

.pricing-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.pricing-hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .pricing-hero {
        margin: 80px auto 40px;
    }
    .pricing-hero h1 {
        font-size: 32px;
    }
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 24px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

@media (max-width: 768px) {
    .pricing-grid {
        gap: 12px;
        margin-top: 32px;
    }

    .pricing-card {
        padding: 20px 12px;
    }

    .pricing-name {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .pricing-price {
        font-size: 24px;
        margin-bottom: 2px;
    }

    .pricing-period {
        font-size: 10px;
        margin-bottom: 12px;
    }

    .pricing-description {
        font-size: 11px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .pricing-features {
        margin-bottom: 16px;
    }

    .pricing-features li {
        font-size: 11px;
        margin-bottom: 8px;
        padding-left: 20px;
    }

    .pricing-cta {
        padding: 10px 12px;
        font-size: 12px;
    }

    .pricing-card.highlight::before {
        font-size: 8px;
        padding: 3px 30px;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    background: rgba(18, 18, 24, 0.6);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px 24px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.pricing-card.highlight {
    border-color: #ff3366;
    box-shadow: 0 0 40px rgba(255, 51, 102, 0.2);
}

.pricing-card.highlight::before {
    content: 'POPULAR';
    position: absolute;
    top: 16px;
    right: -32px;
    background: linear-gradient(135deg, #ff3366, #ff6b9d);
    color: white;
    padding: 4px 40px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    transform: rotate(45deg);
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 51, 102, 0.4);
}

.pricing-name {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 40px;
    font-weight: 700;
    color: #ff3366;
    margin-bottom: 4px;
}

.pricing-period {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

.pricing-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-features li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
    line-height: 1.4;
}

.pricing-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #ff3366;
    font-weight: 700;
}

.pricing-cta {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ff3366, #ff6b9d);
    color: white;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.pricing-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(255, 51, 102, 0.4);
}

.pricing-card:not(.highlight) .pricing-cta {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-card:not(.highlight) .pricing-cta:hover {
    background: rgba(255, 255, 255, 0.15);
}
